/* ==========================================================
   מוסך גרניט — demo landing page
   World: deep black, one copper accent, condensed type (Karantina)
   ========================================================== */

/* ---------- fonts: self-hosted (SIL OFL 1.1), hebrew + latin subsets from Google Fonts ---------- */
/* IBM Plex Sans Hebrew 400 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 400 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Hebrew 500 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 500 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Hebrew 600 - hebrew */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-600-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* IBM Plex Sans Hebrew 600 - latin */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Karantina 400 - hebrew */
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/karantina-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* Karantina 400 - latin */
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/karantina-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Karantina 700 - hebrew */
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/karantina-700-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* Karantina 700 - latin */
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/karantina-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #0a0a0a;
  --bg-2: #111010;
  --bg-3: #181716;
  --ink: #efeae3;          /* 17.6:1 on --bg */
  --ink-2: #a8a097;        /* 7.6:1 on --bg  */
  --ink-dim: #77706a;      /* 4.1:1 on --bg — large display text only */
  --line: rgba(239, 234, 227, .14);
  --line-2: rgba(239, 234, 227, .32);
  --accent: #d98a4e;       /* copper, 7.1:1 on --bg; --bg on it 7.1:1 */
  --accent-hi: #eaa36c;
  --on-accent: #0a0a0a;
  --error: #ff9b85;

  --f-display: "Karantina", "IBM Plex Sans Hebrew", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif;

  --header-h: 76px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1400px;
  --section: clamp(96px, 12vw, 184px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scrollbar-color: #3a3632 var(--bg);
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a3632; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .2s; }
.link:hover { color: var(--accent-hi); }

/* ---------- buttons: square corners, thin outline / solid copper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-body); font-size: 1rem; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .15s;
}
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .35s var(--ease-out); }
  .btn:active, .wa-float:active { transform: scale(.96); transition-duration: .25s, .25s, .25s, .08s; }
}
/* magnetic pull (desktop pointer only, set by main.js); composes with transform */
.btn.is-magnet { translate: var(--mx, 0px) var(--my, 0px); }
/* copper light sweep across a primary button when its block arrives */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 60%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 236, 214, .55) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg); opacity: 0;
}
.is-sheen .btn--primary::after, .btn--primary.is-sheen::after { animation: sheen 1.1s var(--ease-io) .35s both; }
@keyframes sheen { 0% { opacity: 1; transform: translateX(-120%) skewX(-18deg); } 100% { opacity: 1; transform: translateX(260%) skewX(-18deg); } }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(239, 234, 227, .05); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--wide { width: 100%; }
.btn .icon--arrow { transition: transform .3s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(-4px); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- opening moment: tachometer + garage door ---------- */
.intro { display: none; }
html.intro-on .intro {
  --tw: clamp(250px, 66vw, 440px); /* gauge width; the wordmark is sized from it so the two lock together */
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  /* failsafe: if main.js never runs, the overlay still leaves (the head script also releases it at 3.2s) */
  animation: introFailsafe .4s 3s forwards;
}
.intro__door {
  position: absolute; inset: 0; background: var(--bg);
  /* faint slats: reads as a roller door once it starts to move */
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(11vh - 1px), rgba(239, 234, 227, .035) calc(11vh - 1px) 11vh);
  display: grid; place-items: center;
}
.intro__edge {
  position: absolute; inset: auto 0 0 0; height: 2px; background: var(--accent);
  transform-origin: right center;
}
.intro__tach {
  position: relative; width: var(--tw); height: auto;
  transform: translateY(calc(var(--tw) * -.2));
  overflow: visible;
}
.tach__arc { stroke: var(--line-2); }
.tach__major { stroke: var(--ink-2); }
.tach__minor { stroke: var(--ink-dim); }
.tach__red { stroke: var(--accent); opacity: .45; }
.tach__nums { fill: var(--ink-2); font-family: var(--f-body); }
.tach__needle { fill: var(--accent); transform-box: view-box; transform-origin: 120px 100px; transform: rotate(-96deg); }
.intro__tach { opacity: 0; }
html:not(.intro-r) .tach__needle { transform: rotate(-120deg); } /* engine off until main.js revs it; reduced shows idle */
html:not(.intro-r) .intro__edge { transform: scaleX(0); }
.intro__mask {
  position: relative; display: inline-block; overflow: hidden;
  padding: .04em .06em;
  transform: translateY(calc(var(--tw) * .3)); /* sits just under the gauge's open bottom, under the needle hub */
}
.intro__mark {
  display: block;
  font-family: var(--f-display); font-weight: 700;
  font-size: calc(var(--tw) * .4); line-height: 1; letter-spacing: -.01em;
  color: var(--ink);
  opacity: 0;
  transform-origin: center center;
}
html.intro-on:not(.intro-r) .brand__mark,
html.intro-on.intro-r:not(.intro-open) .brand__mark { opacity: 0; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 10, 10, .92);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__bar {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark {
  font-family: var(--f-display); font-weight: 700;
  font-size: 2.75rem; line-height: 1; letter-spacing: -.01em;
  color: var(--ink);
  transform: translateY(2px);
}
.brand__sub {
  font-size: .6875rem; line-height: 1.35; letter-spacing: .04em; color: var(--ink-2);
  padding-inline-start: 14px; border-inline-start: 1px solid var(--line-2);
}
.site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.site-nav a {
  position: relative; font-size: .9375rem; color: var(--ink-2); padding: 8px 0;
  transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; inset: auto 0 2px 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink); min-height: 44px; }
.header-phone .icon { color: var(--accent); }
.header-phone:hover .header-phone__num { color: var(--accent-hi); }

/* ---------- hero ---------- */
.hero__stage {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 560px; max-height: 1200px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform-origin: 50% 52%;
  transform: scale(1.03);
  animation: heroPush 2.2s var(--ease-out) both; /* one push-in, then only scroll moves it (no endless drift) */
}
@keyframes heroPush { from { transform: scale(1.16); } to { transform: scale(1.03); } }
.hero__dim { position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,.82) 20%, rgba(10,10,10,0) 52%),
    linear-gradient(to bottom, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 18%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(4.6rem, 10.4vw, 10.5rem);
  line-height: .84; letter-spacing: -.012em;
  display: flex; flex-wrap: wrap; column-gap: .22em;
  text-wrap: balance;
}
.hero__line { display: block; }
/* headline words rise from a mask. Painted from the first frame (the top of each word shows through the mask),
   opacity never changes. The mask's bottom edge opens with the rise so descenders never pop. */
.hero__title .w, .hero__title .w__i { display: inline-block; }
.hero__title .w { animation: heroMask 1.25s var(--ease-out) both; animation-delay: var(--d, 0s); }
.hero__title .w__i { animation: heroWord 1.25s var(--ease-out) both; animation-delay: var(--d, 0s); }
.hero__line .w:nth-child(2) { --d: .07s; }
.hero__line .w:nth-child(3) { --d: .14s; }
.hero__line--accent .w:nth-child(1) { --d: .16s; }
.hero__line--accent .w:nth-child(2) { --d: .23s; }
.hero__line--accent .w:nth-child(3) { --d: .3s; }
@keyframes heroWord { from { transform: translateY(70%); } to { transform: none; } }
@keyframes heroMask { from { clip-path: inset(-.4em -.2em 0 -.2em); } to { clip-path: inset(-.4em -.2em -.45em -.2em); } }
.hero__line--accent { color: var(--accent); }
.hero__foot {
  margin-top: clamp(22px, 2.6vw, 36px);
  padding-top: clamp(22px, 2.6vw, 32px);
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
/* the hero rule draws across in copper, then cools to the hairline colour */
.hero__foot::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line);
  transform-origin: right center;
  animation: drawRule 1.5s var(--ease-io) .2s both;
}
@keyframes drawRule {
  0% { transform: scaleX(0); background-color: var(--accent); }
  55% { transform: scaleX(1); background-color: var(--accent); }
  100% { transform: scaleX(1); background-color: var(--line); }
}
.hero__lede { max-width: 46ch; color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.125rem); }
.hero__cta { display: flex; gap: 12px; flex: none; }

.hero__reveal { animation: rise 1.1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.hero__lede { --d: .35s; }
.hero__cta { --d: .45s; }
/* while the intro covers the page, hero motion waits; it starts as the door rolls up */
html.intro-on:not(.intro-open) :is(.hero__title .w, .hero__title .w__i, .hero__reveal),
html.intro-on:not(.intro-open) .hero__foot::before { animation-play-state: paused; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- booking ---------- */
.booking { background: var(--bg); padding-block: clamp(64px, 8vw, 120px); }
.booking__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.booking__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.6rem, 6vw, 6rem); line-height: .88; letter-spacing: -.01em;
  margin-bottom: 20px;
}
.booking__intro p { color: var(--ink-2); max-width: 36ch; }
.booking__alt { margin-top: 16px; }
.booking__alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.booking__alt a:hover { color: var(--accent-hi); }

.booking__form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 34px;
  padding-top: 8px;
}
.field { position: relative; display: flex; flex-direction: column; }
.field label { font-size: .875rem; color: var(--ink-2); margin-bottom: 4px; letter-spacing: .01em; }
.field input, .field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; height: 56px; padding: 0 0 2px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: 1.1875rem; color: var(--ink); caret-color: var(--accent);
  transition: border-color .25s var(--ease-out);
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder { color: #8a837b; opacity: 1; }
.field input:hover, .field select:hover { border-bottom-color: var(--ink-2); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.field select { padding-inline-start: 0; padding-inline-end: 0; cursor: pointer; padding-left: 32px; }
.field select:invalid { color: #8a837b; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field__chev {
  position: absolute; left: 0; top: 40px; width: 20px; height: 20px;
  fill: none; stroke: var(--accent); stroke-width: 1.6; pointer-events: none;
}
.field__error { margin-top: 8px; font-size: .875rem; color: var(--error); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: var(--error); }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 100px var(--bg) inset; transition: background-color 9999s; }

.booking__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; margin-top: 6px; }
.booking__submit .btn { width: auto; min-width: 260px; min-height: 60px; font-size: 1.0625rem; }
.booking__note { font-size: .875rem; color: var(--ink-2); }

.booking__success {
  grid-column: 2; border: 1px solid var(--line-2); padding: clamp(28px, 4vw, 48px);
  outline: none;
}
.booking__success:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.booking__success-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: .95;
  color: var(--accent); margin-bottom: 14px;
}
.booking__success p:not(.booking__success-title) { color: var(--ink-2); max-width: 52ch; }
[hidden] { display: none !important; }

/* ---------- shared section heads ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem); line-height: .9; letter-spacing: -.01em;
  text-wrap: balance;
}
.section-lede { color: var(--ink-2); max-width: 40ch; justify-self: end; }

/* ---------- services: the lit list ---------- */
.services { padding-block: var(--section); border-top: 1px solid var(--line); }
.services__grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15.5rem) 28px; align-items: center; column-gap: 32px;
  padding-block: clamp(14px, 1.6vw, 22px);
  outline-offset: -2px;
}
.svc__name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 5.2vw, 5.4rem); line-height: .95; letter-spacing: -.008em;
  color: var(--ink-dim);
  transition: color .35s var(--ease-out), transform .5s var(--ease-out);
  transform-origin: right center;
}
.svc__desc { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); transition: color .35s var(--ease-out); }
.svc__arrow {
  width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: square;
  opacity: 0; transform: translateX(12px);
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out);
}
.svc__thumb { display: none; }
.svc picture { display: contents; } /* WebP wrapper: keeps the thumb a direct grid item of .svc */
.svc picture > source { display: none; }
.svc.is-active .svc__name, .svc:hover .svc__name, .svc:focus-visible .svc__name { color: var(--ink); transform: translateX(-10px); }
.svc.is-active .svc__desc, .svc:hover .svc__desc, .svc:focus-visible .svc__desc { color: var(--ink); }
.svc.is-active .svc__arrow, .svc:hover .svc__arrow, .svc:focus-visible .svc__arrow { opacity: 1; transform: none; }
.svc-list:hover .svc.is-active:not(:hover) .svc__name { color: var(--ink-dim); transform: none; }
.svc-list:hover .svc.is-active:not(:hover) .svc__desc { color: var(--ink-2); }
.svc-list:hover .svc.is-active:not(:hover) .svc__arrow { opacity: 0; transform: translateX(12px); }

.svc-preview { position: sticky; top: calc(var(--header-h) + 40px); }
.svc-preview__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2);
}
.svc-preview__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .55s var(--ease-out), transform 1.1s var(--ease-out);
}
.svc-preview__frame img.is-active { opacity: 1; transform: scale(1); }

/* mid widths with a mouse: description drops under the name so names never wrap */
@media (hover: hover) and (min-width: 900px) and (max-width: 1180px) {
  .services__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .svc { grid-template-columns: minmax(0, 1fr) 28px; row-gap: 8px; }
  .svc__name { grid-column: 1; grid-row: 1; }
  .svc__arrow { grid-column: 2; grid-row: 1; }
  .svc__desc { grid-column: 1 / -1; grid-row: 2; max-width: 46ch; }
}

/* touch / narrow: no hover preview, photo sits inside each row */
@media (hover: none), (max-width: 899px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-preview { display: none; }
  .svc { grid-template-columns: minmax(0, 1fr) 28px; row-gap: 10px; padding-block: 24px 28px; }
  .svc__name { color: var(--ink); grid-column: 1; }
  .svc__arrow { opacity: 1; transform: none; grid-column: 2; grid-row: 1; }
  .svc__desc { grid-column: 1 / -1; grid-row: 2; color: var(--ink-2); max-width: 46ch; }
  .svc__thumb {
    display: block; grid-column: 1 / -1; grid-row: 3; margin-top: 10px;
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  }
  .svc.is-active .svc__name, .svc:hover .svc__name { transform: none; }
  .svc.is-active .svc__desc { color: var(--ink-2); }
}

/* ---------- process (a plain list by default; a pinned gauge scene under html.stage) ---------- */
.process { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.process__inner { padding-block: var(--section); }
.process__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.process__head .section-title { max-width: 13ch; }
.process__progress { display: none; }
.process__steps { display: grid; gap: clamp(64px, 8vw, 112px); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.step__num {
  font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--accent);
  margin-bottom: 18px;
}
.step__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .9; letter-spacing: -.008em;
  margin-bottom: 22px;
}
.step__body { color: var(--ink-2); max-width: 38ch; font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); }
.step__meta {
  display: inline-block; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--accent);
  font-size: .875rem; color: var(--ink); letter-spacing: .02em;
}
.step__media { overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }

.process__count { font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: .8; color: var(--accent); }
.process__of { color: var(--ink-dim); font-size: .6em; }
.process__bars { display: flex; gap: 6px; padding-bottom: 6px; }
.process__bars i { display: block; width: 44px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.process__bars i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: right; }

/* ---------- why ---------- */
.why { padding-block: var(--section); }
.why__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.why__lead { position: sticky; top: calc(var(--header-h) + 40px); }
.why__num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(9rem, 18vw, 17rem); line-height: .72; letter-spacing: -.02em;
  color: var(--accent); margin-bottom: clamp(24px, 3vw, 40px);
}
.why__lead .section-title { font-size: clamp(2.8rem, 4.6vw, 4.6rem); margin-bottom: 28px; }
.why__text { color: var(--ink-2); max-width: 46ch; }
.promises { border-top: 1px solid var(--line); }
.promises li { padding-block: clamp(26px, 3vw, 38px); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.promises h3 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 3vw, 2.9rem); line-height: 1;
}
.promises p { color: var(--ink-2); max-width: 44ch; }

/* ---------- closing ---------- */
.closing__stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 960px);
  display: flex; align-items: center;
  background: #000;
}
.closing__media { position: absolute; inset: -8% 0; z-index: -2; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.closing__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.1) 75%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(10,10,10,0) 18%, rgba(10,10,10,0) 82%, var(--bg) 100%);
}
.closing__content { padding-block: var(--section); }
.closing__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.6rem, 7.4vw, 7.6rem); line-height: .88; letter-spacing: -.01em;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.closing__line { display: block; text-wrap: balance; }
.closing__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(80px, 9vw, 140px); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; align-items: start; }
.contact .section-title { font-size: clamp(3rem, 5vw, 5rem); }
.contact__label { font-size: .875rem; font-weight: 500; color: var(--accent); margin-bottom: 14px; letter-spacing: .02em; }
.contact__col p { color: var(--ink); }
.contact__col p + p { margin-top: 8px; }
.contact__phone { font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; transition: color .2s; }
.contact__phone:hover { color: var(--accent-hi); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer { overflow: clip; border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) clamp(96px, 8vw, 72px); }
.site-footer__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer__mark { font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 11vw, 10rem); line-height: .75; color: var(--ink); }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .875rem; color: var(--ink-2); }
.site-footer__demo { color: var(--ink-2); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.7);
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.wa-float.is-tucked { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s .3s; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: var(--accent); transform: translateY(-2px); }

/* film grain, very light */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* a fixed full-screen layer over scrolling content costs frames on phones: grain is for desktop only */
@media (hover: none), (max-width: 899px) { body::after { content: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .contact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact .section-title { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
  .booking__success { grid-column: 1; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__lead { position: static; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-lede { justify-self: start; }
}
@media (max-width: 899px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step__media { order: -1; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 24px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand__mark { font-size: 2.3rem; }
  .brand__sub { display: none; }
  .header-phone__num { display: none; }
  .header-phone { width: 44px; justify-content: center; border: 1px solid var(--line-2); }
  .site-header__actions { gap: 10px; }
  .hero__media { inset: 0 0 auto 0; height: min(100%, 178vw); }
  .hero__title { font-size: clamp(4rem, 19vw, 6rem); line-height: .86; }
  .hero__shade { background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,.85) 32%, rgba(10,10,10,0) 62%), linear-gradient(to bottom, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 16%); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .booking__form { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .booking__submit { flex-direction: column; align-items: stretch; gap: 14px; }
  .booking__submit .btn { width: 100%; min-width: 0; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .closing__stage { min-height: 0; align-items: flex-end; }
  .closing__media { inset: 0; }
  .closing__shade { background: linear-gradient(to top, rgba(10,10,10,.96) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.25) 100%), linear-gradient(to bottom, var(--bg) 0%, rgba(10,10,10,0) 20%); }
  .closing__content { padding-top: clamp(260px, 46vh, 420px); padding-bottom: 72px; }
  .closing__cta .btn { width: 100%; }
  .closing__title { font-size: clamp(2.9rem, 12.4vw, 3.6rem); line-height: .92; }
  .site-footer__grid { flex-direction: column; align-items: flex-start; }
  .site-footer__meta { flex-direction: column; }
}

/* ==========================================================
   Scroll stage. The page "stays in place": every section from the hero to the closing CTA is a
   full-screen scene that sticks (CSS sticky inside a tall wrapper) while the scroll drives what
   happens inside it. Each wrapper after the first starts 2 screens early, so the next scene arrives
   ON TOP of the stuck one (it rises hidden, then wipes in place) instead of pushing it up.
   Everything here lives under html.stage, which main.js adds only with full motion, GSAP running
   and a tall enough screen. Without it (no JS, CDN down, reduced motion) the page is the normal one.
   ========================================================== */
.svc-meter, .gauge, .scene__edge, .why__rule, .closing__door { display: none; }

:root { --S: 100vh; }
@supports (height: 100svh) { :root { --S: 100svh; } }

html.stage .scene {
  position: relative; display: block;
  height: calc(var(--S) * var(--len));
  padding: 0; border: 0; background: none; overflow: visible;
}
html.stage .scene + .scene { margin-top: calc(var(--S) * -2); }
/* wrappers overlap the scene before them, so only a stage that has arrived takes taps (main.js sets .is-live) */
html.stage .scene, html.stage .scene__stage { pointer-events: none; }
html.stage .scene__stage.is-live { pointer-events: auto; }
/* lengths in screens; main.js builds each timeline to the same numbers */
html.stage .scene--hero { --len: 3; z-index: 1; }
html.stage .scene--services { --len: 7; z-index: 2; }
html.stage .scene--process { --len: 5.7; z-index: 3; --stage-bg: var(--bg-2); }
html.stage .scene--why { --len: 6.1; z-index: 4; }
html.stage .scene--closing { --len: 4.25; z-index: 5; --stage-bg: #000; }
html.stage .booking, html.stage .contact, html.stage .site-footer { position: relative; z-index: 6; background: var(--bg); }

html.stage .scene__stage {
  position: sticky; top: 0;
  height: var(--S); min-height: 0; max-height: none;
  overflow: hidden;
  background: var(--stage-bg, var(--bg));
  /* fills the strip under a 100svh stage while a phone's address bar is hidden */
  box-shadow: 0 30vh 0 0 var(--stage-bg, var(--bg));
}
/* copper edge that rides a door wipe (moved by main.js) */
html.stage .scene__edge {
  display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border-top: 2px solid var(--accent);
}
html.stage .scene--why .scene__edge { border-top: 0; border-bottom: 2px solid var(--accent); }

/* shared: section heads inside a scene */
html.stage .scene .section-head { margin-bottom: clamp(10px, 2svh, 24px); gap: 12px 40px; }
html.stage .scene [data-split] .w { clip-path: inset(-.3em -.15em -.32em -.15em); }

/* ---------- scene 1: hero ---------- */
html.stage .hero__media { inset: 0; transform-origin: 50% 56%; will-change: transform; }
html.stage .hero__content { transform-origin: 50% 100%; }

/* ---------- scene 2: services, one at a time ---------- */
html.stage .services__inner {
  height: 100%; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(14px, 3svh, 36px));
  padding-bottom: clamp(16px, 3svh, 36px);
}
html.stage .services .section-title { font-size: clamp(2.6rem, min(5vw, 8svh), 5rem); }
html.stage .svc-meter { display: flex; align-items: center; gap: 14px; }
.svc-meter__count { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.svc-meter__of { color: var(--ink-dim); }
.svc-meter__ticks { display: flex; gap: 5px; flex: 1; max-width: 260px; }
.svc-meter__ticks i { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.svc-meter__ticks i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: right; }
html.stage .svc-preview__frame img,
html.stage .svc-preview__frame img.is-active { opacity: 1; transform: none; transition: none; }
/* hover a row on desktop: its photo wipes in over the scroll-driven one (!important beats GSAP's inline clip) */
html.stage .svc-preview__frame img.is-peek { clip-path: inset(0 0 0 0) !important; z-index: 2; transition: clip-path .7s var(--ease-io); }

@media (max-width: 899px) {
  html.stage .services .section-lede { font-size: .9375rem; line-height: 1.5; }
  html.stage .svc-meter { margin-bottom: clamp(10px, 1.8svh, 18px); }
  html.stage .services__grid { flex: 1; min-height: 0; display: block; }
  html.stage .svc-list { height: 100%; display: grid; border: 0; }
  html.stage .svc-list li { grid-area: 1 / 1; min-height: 0; border: 0; }
  html.stage .svc-list li:not(.is-on) { pointer-events: none; }
  html.stage .svc {
    height: 100%; padding: 0;
    grid-template-columns: minmax(0, 1fr) 28px; grid-template-rows: minmax(0, 1fr) auto auto;
    row-gap: 0; column-gap: 12px; align-items: end;
  }
  html.stage .svc__thumb { grid-row: 1; grid-column: 1 / -1; width: 100%; height: 100%; aspect-ratio: auto; margin: 0 0 clamp(12px, 2svh, 20px); object-fit: cover; }
  html.stage .svc__name { grid-row: 2; grid-column: 1; font-size: clamp(2.6rem, min(12vw, 7svh), 3.6rem); color: var(--ink); transform: none; }
  html.stage .svc__arrow { grid-row: 2; grid-column: 2; align-self: center; opacity: 1; transform: none; }
  html.stage .svc__desc { grid-row: 3; grid-column: 1 / -1; margin-top: 6px; min-height: 4.5em; font-size: .9375rem; color: var(--ink-2); }
}
@media (max-width: 899px) and (max-height: 700px) {
  html.stage .services .section-lede { display: none; }
}
@media (max-width: 899px) {
  html.stage .services__inner, html.stage .process__inner, html.stage .why__grid { padding-bottom: 92px; }
}
@media (min-width: 900px) {
  html.stage .services__inner {
    position: relative; display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 72px);
  }
  html.stage .services .section-head { grid-column: 1 / -1; }
  html.stage .services__grid { display: contents; }
  html.stage .svc-list { grid-column: 1; grid-row: 2 / 4; align-self: center; }
  html.stage .svc-meter { grid-column: 2; grid-row: 2; margin-bottom: 14px; }
  html.stage .svc-preview { display: block; grid-column: 2; grid-row: 3; position: relative; top: auto; min-height: 0; padding-bottom: 5.6em; }
  html.stage .svc-preview__frame { aspect-ratio: auto; height: 100%; }
  html.stage .svc-list li { position: static; }
  html.stage .svc { position: static; grid-template-columns: minmax(0, 1fr) 28px; padding-block: clamp(8px, 1.5svh, 16px); }
  html.stage .svc__name { grid-column: 1; grid-row: 1; font-size: clamp(2.6rem, min(4.4vw, 7.2svh), 4.6rem); transition: color .35s var(--ease-out), translate .5s var(--ease-out); }
  /* GSAP owns the names' transform here, so the "lit" nudge uses the separate translate property */
  html.stage .svc.is-active .svc__name, html.stage .svc:hover .svc__name, html.stage .svc:focus-visible .svc__name { transform: none; translate: -10px 0; }
  html.stage .svc-list:hover .svc.is-active:not(:hover) .svc__name { translate: none; }
  html.stage .svc__arrow { grid-column: 2; grid-row: 1; }
  html.stage .svc__thumb { display: none; }
  /* the active service's line sits under the photo as its caption */
  html.stage .svc__desc {
    position: absolute; left: var(--gutter); bottom: clamp(16px, 3svh, 36px);
    width: calc((100% - 2 * var(--gutter) - clamp(32px, 4vw, 72px)) * 5 / 12);
    max-width: none; min-height: 4.65em; color: var(--ink);
    padding-left: max(0px, calc(96px - var(--gutter))); /* clear of the floating WhatsApp button */
    opacity: 0; transition: opacity .25s ease;
  }
  html.stage .svc.is-active .svc__desc, html.stage .svc:hover .svc__desc { opacity: 1; transition: opacity .5s var(--ease-out) .12s; }
  html.stage .svc-list:hover .svc.is-active:not(:hover) .svc__desc { opacity: 0; transition: opacity .2s ease; }
}

/* ---------- scene 3: process, a gauge whose needle advances 1 to 4 ---------- */
html.stage .process__inner {
  height: 100%;
  padding-top: calc(var(--header-h) + clamp(14px, 3svh, 40px));
  padding-bottom: clamp(16px, 3svh, 40px);
}
html.stage .gauge { display: block; height: auto; overflow: visible; }
.gauge__arc { stroke: var(--line-2); }
.gauge__fill { stroke: var(--accent); stroke-dasharray: 100 100; stroke-dashoffset: 100; } /* pathLength 100: GSAP rounds px values */
.gauge__major { stroke: var(--ink-2); }
.gauge__minor { stroke: var(--ink-dim); }
.gauge__nums { fill: var(--ink-2); font-family: var(--f-body); }
.gauge__nums .is-on { fill: var(--accent); }
.gauge__needle { fill: var(--accent); }
html.stage .process__steps { min-height: 0; display: grid; gap: 0; }
html.stage .step { grid-area: 1 / 1; min-height: 0; pointer-events: none; }
html.stage .step__num { display: none; }
/* text: the outgoing step leaves fast, the incoming one waits a beat, so they never overlap */
html.stage .step__text > * { opacity: 0; transform: translateY(-14px); transition: opacity .18s ease-in, transform .3s ease-in; }
html.stage .step.is-active .step__text > * { opacity: 1; transform: none; transition: opacity .5s var(--ease-out) .2s, transform .8s var(--ease-out) .2s; }
html.stage .step.is-active .step__text > :nth-child(3) { transition-delay: .27s; }
html.stage .step.is-active .step__text > :nth-child(4) { transition-delay: .34s; }

@media (max-width: 899px) {
  html.stage .process__inner { display: flex; flex-direction: column; }
  html.stage .process__head { margin-bottom: 0; align-items: flex-end; gap: 16px; }
  html.stage .process__head .section-title { font-size: clamp(2.4rem, min(10.5vw, 6svh), 3rem); max-width: 12ch; }
  html.stage .process__progress { display: flex; flex: none; }
  html.stage .process__bars { display: none; }
  html.stage .process__count { font-size: clamp(2.4rem, 6svh, 3.2rem); }
  html.stage .gauge { width: min(88%, 46svh); margin: auto auto 0; }
  html.stage .process__steps { flex: none; margin-top: clamp(14px, 3svh, 32px); margin-bottom: auto; }
  html.stage .step { display: block; }
  html.stage .step__media { display: none; }
  html.stage .step__title { font-size: clamp(2.9rem, min(14vw, 8svh), 4rem); margin-bottom: 10px; }
  html.stage .step__body { font-size: 1.0625rem; }
  html.stage .step__meta { margin-top: clamp(10px, 2svh, 18px); }
}
@media (min-width: 900px) {
  html.stage .process__inner {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 96px);
  }
  html.stage .process__head { grid-column: 1; grid-row: 1; display: block; margin-bottom: clamp(12px, 2.4svh, 28px); }
  html.stage .process__head .section-title { font-size: clamp(2.6rem, min(4.2vw, 7svh), 4.4rem); max-width: none; }
  html.stage .gauge { grid-column: 1; grid-row: 2; width: min(100%, 380px, 40svh); }
  html.stage .process__steps { grid-column: 1 / -1; grid-row: 1 / -1; }
  html.stage .step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 96px); align-items: end; }
  html.stage .step__text { grid-column: 1; grid-row: 1; }
  html.stage .step__media { grid-column: 2; grid-row: 1; height: 100%; aspect-ratio: auto; }
  html.stage .step__title { font-size: clamp(3rem, min(5.6vw, 9svh), 5.6rem); line-height: .86; margin-bottom: clamp(10px, 2svh, 22px); }
  html.stage .step__body { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
  html.stage .step__meta { margin-top: clamp(12px, 2.4svh, 28px); }
  /* photos: the incoming one rolls up over the old one (forward), or the old one rolls down off it (back) */
  html.stage .step__media { clip-path: inset(100% 0 0 0); transition: clip-path 0s linear .95s; }
  html.stage .process[data-dir="back"] .step__media { transition: clip-path .9s var(--ease-io); }
  html.stage .step.is-active .step__media { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-io); }
  html.stage .process[data-dir="back"] .step.is-active .step__media { transition: none; }
  html.stage .step__media img { transform: scale(1.1); transition: transform 1.4s var(--ease-out); }
  html.stage .step.is-active .step__media img { transform: none; }
}

/* ---------- scene 4: 25 years ---------- */
html.stage .why__grid {
  height: 100%; align-items: center;
  padding-top: calc(var(--header-h) + clamp(14px, 3svh, 40px));
  padding-bottom: clamp(16px, 3svh, 40px);
}
html.stage .why__lead { position: static; }
html.stage .why__num { margin-bottom: 0; font-variant-numeric: tabular-nums; }
html.stage .why__rule {
  display: block; height: 2px; width: min(100%, 440px); background: var(--accent);
  transform-origin: right center; margin: clamp(14px, 2.4svh, 26px) 0 clamp(16px, 3svh, 32px);
}
html.stage .promises { border-top: 0; }
html.stage .promises li { position: relative; border-bottom: 0; }
html.stage .promises li::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--accent);
  transform: scaleX(var(--r, 1)); transform-origin: right center; opacity: var(--ro, .4);
}
@media (max-width: 899px) {
  html.stage .why__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
  html.stage .why__lead, html.stage .promises { grid-area: 1 / 1; }
  html.stage .why__num { font-size: clamp(7rem, min(34vw, 19svh), 9.5rem); }
  html.stage .why__lead .section-title { font-size: clamp(2.4rem, min(11vw, 6svh), 3.2rem); margin-bottom: 14px; }
  html.stage .promises li { padding-block: clamp(10px, 1.9svh, 20px); gap: 4px; }
  html.stage .promises h3 { font-size: clamp(1.8rem, min(8.4vw, 4.6svh), 2.3rem); }
  html.stage .promises p { font-size: .9375rem; line-height: 1.5; }
}
@media (min-width: 900px) {
  html.stage .why__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  html.stage .why__num { font-size: clamp(8rem, min(15vw, 25svh), 15rem); }
  html.stage .why__lead .section-title { font-size: clamp(2.6rem, min(4vw, 6.4svh), 4.2rem); margin-bottom: clamp(14px, 2.6svh, 28px); }
  html.stage .promises li { padding-block: clamp(12px, 2.2svh, 26px); }
  html.stage .promises h3 { font-size: clamp(1.9rem, min(2.6vw, 4.4svh), 2.7rem); }
}

/* ---------- scene 5: closing CTA, then the garage door comes down ---------- */
html.stage .closing__stage { display: flex; align-items: center; }
html.stage .closing__media { inset: 0; }
html.stage .closing__content { padding-top: calc(var(--header-h) + 20px); padding-bottom: clamp(28px, 6svh, 72px); }
html.stage .closing__door {
  display: block; position: absolute; inset: 0; z-index: 3;
  /* roller-door slats over a faint top-to-bottom sheen; GSAP owns its transform (starts rolled up) */
  background:
    repeating-linear-gradient(to bottom, rgba(239, 234, 227, .02) 0 calc(9svh - 2px), rgba(0, 0, 0, .55) calc(9svh - 2px) calc(9svh - 1px), rgba(239, 234, 227, .09) calc(9svh - 1px) 9svh),
    linear-gradient(to bottom, #121110, #1a1917);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .7);
}
@media (max-width: 720px) {
  html.stage .closing__stage { align-items: flex-end; }
  html.stage .closing__content { padding-bottom: 92px; }
}

/* ---------- scroll reveals ----------
   Hidden states exist only under html.mo (full motion) or html.mo-r (reduced: opacity only).
   main.js adds those classes after GSAP + ScrollTrigger are running, so with no JS or no CDN everything is visible.
   After each reveal main.js removes data-rv, handing the element back to its normal styles. */
.w, .w__i { display: inline-block; }
html.mo [data-rv="up"] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s); }
html.mo [data-rv="up"].is-in { opacity: 1; transform: none; }

html.mo [data-rv="words"] .w { clip-path: inset(-.35em -.15em -.35em -.15em); }
html.mo [data-rv="words"] .w__i { transform: translateY(165%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--rd, 0s) + var(--wi, 0) * 60ms); }
html.mo [data-rv="words"].is-in .w__i { transform: none; }

html.mo [data-rv="wipe"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s var(--ease-io) var(--rd, 0s); }
html.mo [data-rv="wipe"].is-in { clip-path: inset(0 0 0 0); }
html.mo [data-rv="wipe"] img { transform: scale(1.2); transition: transform 1.6s var(--ease-out) var(--rd, 0s); }
html.mo [data-rv="wipe"].is-in img { transform: none; }

/* hairlines draw across from the right (RTL start) in copper, then cool to the normal hairline */
html.mo [data-rv="rule"] { position: relative; border-bottom-color: transparent; }
html.mo [data-rv="rule"]::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 1s var(--ease-io) var(--rd, 0s), background-color 1.1s ease calc(var(--rd, 0s) + .85s);
}
html.mo [data-rv="rule"].is-in::after { transform: scaleX(1); background-color: var(--line); }

html.mo-r [data-rv] { opacity: 0; transition: opacity .5s ease var(--rd, 0s) !important; }
html.mo-r [data-rv].is-in { opacity: 1; }

/* ---------- reduced motion: no movement; only the fade-only intro and short fades (opacity) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__img { transform: scale(1.03); }
}
