/* ========================================================================
   Crib Mods LLC — home renovations one-pager
   Monochrome grey · torn paper / brush / scribble · sequenced motion.
   ======================================================================== */

:root {
  --paper:      #f2efe9;
  --paper-2:    #e9e5dd;
  --paper-3:    #ded9cf;
  --ink:        #26241f;
  --ink-2:      #3a3733;
  --stone:      #6d685f;
  --stone-2:    #928c82;
  --charcoal:   #2b2926;
  --charcoal-2: #37342f;
  --white:      #faf8f4;
  --line:       rgba(38, 36, 31, 0.14);
  --line-soft:  rgba(38, 36, 31, 0.08);
  --shadow:     38, 36, 31;

  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 30px; }

/* paper grain over everything */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.3px;
  padding: 14px 26px; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn-solid { background: var(--charcoal); color: var(--paper); box-shadow: 5px 6px 0 rgba(38,36,31,0.18); }
.btn-solid:hover { transform: translate(-2px,-2px); box-shadow: 8px 10px 0 rgba(38,36,31,0.22); background: var(--charcoal-2); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 30px; font-size: 0.98rem; }
.btn-full { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0; background: rgba(242,239,233,0.9);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(38,36,31,0.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand-mark { color: var(--ink); transition: transform .5s var(--ease); flex-shrink: 0; }
.brand:hover .brand-mark { transform: rotate(-5deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; letter-spacing: 1px; }
.brand-sub { font-weight: 600; font-size: 0.6rem; letter-spacing: 3.2px; text-transform: uppercase; color: var(--stone); margin-top: 4px; }

.main-nav { display: flex; gap: 28px; margin: 0 auto; }
.main-nav a {
  color: var(--ink-2); font-weight: 600; font-size: 0.9rem; position: relative; padding: 4px 0;
  transition: color .25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px;
  background: var(--ink); transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-phone-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; font-size: 0.9rem; transition: color .25s ease; }
.header-phone:hover { color: var(--stone); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 150px 0 90px; overflow: hidden;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,0.6), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

/* faint tile grid texture bottom-right of hero */
.hero::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 46%; height: 62%;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px; transform: perspective(600px) rotateX(52deg) rotate(-8deg);
  transform-origin: bottom right; opacity: 0.9; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at bottom right, #000, transparent 72%);
          mask-image: radial-gradient(ellipse at bottom right, #000, transparent 72%);
}

.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.brush { position: absolute; fill: var(--paper-3); opacity: 0; }
.brush-1 { width: 640px; top: 30%; left: -90px; transform: rotate(-9deg); }
.brush-2 { width: 520px; bottom: 20%; right: -60px; transform: rotate(7deg); fill: var(--stone-2); opacity: 0; }
.brush-3 { width: 340px; top: 8%; right: 8%; fill: var(--paper-3); }
.grid-swatch { position: absolute; width: 180px; height: 180px; top: 20%; right: 20%; color: var(--stone-2); opacity: 0; }

/* animated-in decorations */
.brush-1 { animation: brushWipe 1.1s var(--ease) .15s forwards; }
.brush-2 { animation: brushWipe 1.1s var(--ease) .4s forwards; opacity: 0; }
.brush-2 { opacity: 0; }
.brush-3 { opacity: 0; animation: brushPop 1s var(--ease) .6s forwards; }
.grid-swatch { animation: brushPop 1s var(--ease) .8s forwards; }
@keyframes brushWipe {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 0.85; clip-path: inset(0 0 0 0); }
}
.brush-2 { --to-op: 0.5; }
@keyframes brushPop { from { opacity: 0; transform: scale(.86) rotate(-4deg); } to { opacity: .5; } }

.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.eyebrow {
  font-family: var(--font-body); color: var(--stone); font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(2.9rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.01em; margin-bottom: 26px;
}
.hero-title .line { display: block; }
.hero-title .line-accent { position: relative; display: inline-block; }
.scribble-underline {
  position: absolute; left: -1%; bottom: -0.28em; width: 102%; height: 0.4em; color: var(--stone);
  overflow: visible;
}
.scribble-underline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero .scribble-underline path { animation: draw 1s var(--ease) 1.5s forwards; }

.hero-sub { color: var(--stone); font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 620px; line-height: 1.6; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* sequenced hero entrance */
.hero-seq { opacity: 0; transform: translateY(26px); animation: rise .85s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.scroll-cue {
  position: absolute; bottom: 40px; left: 30px; z-index: 4;
  background: none; border: none; color: var(--stone);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  font-family: var(--font-body); font-weight: 700;
}
.scroll-cue svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------------------------------------------------------------------- */
/* Torn-paper section edges                                                 */
/* ---------------------------------------------------------------------- */
.torn { position: absolute; top: -1px; left: 0; width: 100%; height: 40px; z-index: 2; }
.torn path { fill: var(--paper); }
.torn.light path { fill: var(--charcoal); }

/* ---------------------------------------------------------------------- */
/* Shared section bits                                                      */
/* ---------------------------------------------------------------------- */
section { position: relative; padding: 116px 0; scroll-margin-top: 92px; }

.kicker {
  font-family: var(--font-body); color: var(--stone); font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase; font-size: 0.74rem; margin-bottom: 16px;
}
.kicker.light { color: var(--stone-2); }
.section-head { max-width: 640px; margin: 0 0 58px; }
.section-head h2, .about-copy h2, .contact-copy h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.06; letter-spacing: -0.015em; color: var(--ink);
}
.section-head.light h2 { color: var(--paper); }
.section-head.light .kicker { color: var(--stone-2); }
.section-sub { margin-top: 16px; color: var(--stone); font-size: 1rem; }
.section-head.light .section-sub { color: rgba(242,239,233,0.66); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in-view { opacity: 1; transform: none; }
/* scribbles draw when their section enters */
.scribble path, .scribble-circle path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.in-view .scribble path, .in-view .scribble-circle path { stroke-dashoffset: 0; }

/* ---------------------------------------------------------------------- */
/* About                                                                    */
/* ---------------------------------------------------------------------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 64px; align-items: center; }
.about-copy .lead { color: var(--stone); font-size: 1.1rem; line-height: 1.75; margin: 22px 0 30px; }
.about-sign { display: flex; flex-direction: column; gap: 4px; }
.scribble-sign { width: 180px; height: 52px; color: var(--ink); }
.about-sign-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; letter-spacing: 0.3px; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 30px 26px; text-align: left; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.stat-plus { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--stone-2); }
.stat p { margin-top: 8px; color: var(--stone); font-size: 0.82rem; font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Services                                                                 */
/* ---------------------------------------------------------------------- */
.services { background: var(--paper-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 32px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 10px 14px 0 -4px rgba(38,36,31,0.1); border-color: var(--ink); }
.service-index {
  position: absolute; top: 22px; right: 26px; font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem; color: var(--paper-3);
}
.service-icon { width: 62px; height: 62px; color: var(--ink); margin-bottom: 22px; }
.service-icon svg { width: 100%; height: 100%; }
.service h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.service p { color: var(--stone); font-size: 0.96rem; line-height: 1.62; }

.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; justify-content: center; }
.service-tags li {
  font-weight: 600; font-size: 0.84rem; color: var(--ink-2);
  padding: 8px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}

/* ---------------------------------------------------------------------- */
/* Our Work (dark band)                                                     */
/* ---------------------------------------------------------------------- */
.work { background: var(--charcoal); color: var(--paper); }
.work .section-head h2 { color: var(--paper); }

/* before / after slider */
.ba { max-width: 940px; margin: 0 auto 54px; }
.ba-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; user-select: none; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  border: 6px solid var(--paper); background: var(--paper-3);
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 3px solid var(--paper); }
.ba-before img { width: auto; height: 100%; max-width: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--paper); transform: translateX(-50%); cursor: ew-resize; z-index: 3; }
.ba-line { position: absolute; inset: 0; }
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -4px rgba(0,0,0,0.5);
}
.ba-tag {
  position: absolute; bottom: 16px; font-family: var(--font-body); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(38,36,31,0.72); color: var(--paper); z-index: 2;
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-tile {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; border: 5px solid var(--paper); background: var(--charcoal-2);
  box-shadow: 0 18px 30px -20px rgba(0,0,0,0.6);
  transition: transform .4s var(--ease);
}
.work-tile:nth-child(odd) { transform: rotate(-1deg); }
.work-tile:nth-child(even) { transform: rotate(1deg); }
.work-tile:hover { transform: rotate(0) translateY(-5px); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; }
.work-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 14px;
  background: linear-gradient(to top, rgba(20,18,15,0.9), transparent);
  font-weight: 700; font-size: 0.86rem; color: var(--paper);
}

/* ---------------------------------------------------------------------- */
/* Why us                                                                   */
/* ---------------------------------------------------------------------- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 30px 26px 30px; border-top: 3px solid var(--ink); background: var(--paper-2); border-radius: 0 0 var(--radius) var(--radius); transition: transform .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); }
.why-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--stone-2); }
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; margin: 10px 0 8px; }
.why-card p { color: var(--stone); font-size: 0.92rem; line-height: 1.6; }

/* ---------------------------------------------------------------------- */
/* Service area                                                             */
/* ---------------------------------------------------------------------- */
.area { background: var(--paper-2); text-align: center; }
.area-inner { max-width: 880px; margin: 0 auto; }
.area-head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.14; letter-spacing: -0.015em; margin-top: 6px; }
.area-accent { position: relative; display: inline-block; white-space: nowrap; }
.scribble-circle { position: absolute; left: -7%; top: -26%; width: 114%; height: 158%; color: var(--stone); overflow: visible; pointer-events: none; }
.area-sub { margin-top: 26px; color: var(--stone); font-size: 1.05rem; line-height: 1.7; }

/* ---------------------------------------------------------------------- */
/* Contact (dark band)                                                      */
/* ---------------------------------------------------------------------- */
.contact { background: var(--charcoal); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: var(--paper); }
.contact-text { color: rgba(242,239,233,0.72); font-size: 1.05rem; line-height: 1.65; margin: 18px 0 30px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail {
  display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--paper);
  padding: 15px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); transition: border-color .3s ease, transform .3s ease, background-color .3s ease;
}
.contact-detail:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.09); transform: translateX(4px); }

.contact-form { background: var(--paper); border-radius: var(--radius); padding: 38px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.contact-form label span { font-weight: 700; font-size: 0.82rem; color: var(--ink); }
.contact-form label i { color: var(--stone-2); font-style: normal; margin-left: 2px; }
.contact-form input, .contact-form textarea, .contact-form select {
  font-family: var(--font-body); font-size: 0.95rem; padding: 12px 15px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink); resize: vertical;
  transition: border-color .25s ease, background-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.contact-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236d685f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; cursor: pointer;
}
.contact-form select:invalid { color: var(--stone); }
.form-note { text-align: center; margin-top: 14px; font-size: 0.88rem; font-weight: 700; color: var(--ink); min-height: 1.2em; }
.form-note.is-error { color: #b23b2e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none !important; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(242,239,233,0.72); padding: 52px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--paper); }
.footer-title { font-family: var(--font-display); color: var(--paper); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.5px; }
.footer-sub { font-size: 0.82rem; margin-top: 3px; }
.footer-contact { display: flex; gap: 24px; }
.footer-contact a { font-weight: 700; color: var(--paper); transition: color .25s ease; }
.footer-contact a:hover { color: var(--stone-2); }
.footer-bottom { padding: 20px 0 26px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 0.78rem; color: rgba(242,239,233,0.42); }
.credit-link { transition: color .25s ease; }
.credit-link:hover { color: rgba(242,239,233,0.8); }

/* ---------------------------------------------------------------------- */
/* Back to top                                                              */
/* ---------------------------------------------------------------------- */
.to-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--charcoal); color: var(--paper); border: none;
  display: flex; align-items: center; justify-content: center; box-shadow: 4px 5px 0 rgba(38,36,31,0.22);
  cursor: pointer; z-index: 90; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translate(-2px,-2px); }

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */
@media (max-width: 940px) {
  .main-nav { display: none; }
  .header-phone span, .header-actions .btn-sm { display: none; }
  .header-phone { display: flex; }
  .nav-toggle { display: flex; }
  .main-nav.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: rgba(242,239,233,0.98); backdrop-filter: blur(12px); padding: 22px 30px 28px; gap: 2px;
    border-top: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(38,36,31,0.4);
  }
  .main-nav.mobile-open a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav.mobile-open .nav-phone-mobile { display: block; color: var(--ink); font-weight: 800; border-bottom: none; margin-top: 6px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .scroll-cue { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  section { padding: 84px 0; }
  .hero { padding-top: 128px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .brand-sub { display: none; }
}
