/* ============================================================
   LEOBUILT — design system
   warm graphite · drafting paper · clay (terracotta)
   type: Clash Display (display) · General Sans (body) ·
         Instrument Serif (accent) · system mono (drawing labels)
   ============================================================ */

:root {
  --ink: #171513;
  --graphite: #1c1a18;
  --graphite-2: #252220;
  --graphite-3: #322e2a;
  --chalk: #ece5d8;
  --paper: #f5f1ea;
  --paper-2: #ece6db;
  --white: #fbf9f5;
  --clay: #b84f2c;
  --clay-dark: #9c3f1f;
  --clay-ink: #a3421d;
  --clay-2: #e27d55;
  --clay-3: #f0a07c;
  --sand: #d6c7ad;

  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --pad: clamp(1rem, 3.4vw, 3.2rem);
  --sect: clamp(4rem, 10vh, 7rem);
  --radius: clamp(20px, 2.6vw, 36px);
  --maxw: 1320px;
}

[data-theme='dark'] {
  --fg: #f3eee6;
  --muted: rgba(243, 238, 230, 0.68);
  --faint: rgba(243, 238, 230, 0.42);
  --line: rgba(236, 229, 216, 0.13);
  --accent: var(--clay-2);
  --gridline: rgba(236, 229, 216, 0.04);
}
[data-theme='light'] {
  --fg: #1c1a18;
  --muted: rgba(28, 26, 24, 0.68);
  --faint: rgba(28, 26, 24, 0.44);
  --line: rgba(28, 26, 24, 0.12);
  --accent: var(--clay-ink);
  --gridline: rgba(28, 26, 24, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--clay) var(--paper-2);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  background: var(--graphite);
  color: #f3eee6;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--clay-2); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 8px; }

img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent, var(--clay-2)); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed;
  left: 1rem; top: 1rem;
  z-index: 400;
  padding: 0.7rem 1rem;
  background: var(--clay);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- sections as drawing sheets ---------- */

main > section, main > footer {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: var(--fg);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* each sheet slides over the one before it, rounded like a fresh page */
.sheet-light, .sheet-dark, .sheet-paper, .footer {
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(var(--radius) * -1);
  box-shadow: 0 -30px 60px -40px rgba(10, 9, 8, 0.45);
}
.sheet-light {
  background:
    linear-gradient(var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
}
.sheet-paper {
  background:
    linear-gradient(var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper-2);
}
.sheet-dark {
  background:
    linear-gradient(var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--graphite);
}

/* ---------- shared type ---------- */

.chapter-tag {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(0.9rem, 2vw, 1.3rem);
}
.line-l {
  display: inline-block;
  width: clamp(1.6rem, 4vw, 2.6rem);
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: clamp(0.9rem, 2.2vh, 1.3rem);
  text-wrap: balance;
}
.sec-lede { font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--muted); max-width: 52ch; }
.dot { color: var(--accent); }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent);
}

.split-chars .sc-word { display: inline-block; white-space: nowrap; }
.split-chars .sc { display: inline-block; will-change: transform; }

/* ---------- logo mark: a drafting set-square ---------- */

.tri {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background: var(--clay-2);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  /* no transform transition: GSAP owns transform (reveals, magnetic pull) */
  transition: box-shadow 0.4s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn i { font-style: normal; display: inline-block; transition: transform 0.45s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); box-shadow: 0 14px 36px -14px rgba(184, 79, 44, 0.75); }
.btn-ink { background: var(--graphite); color: var(--paper); }
.btn-ink:hover { box-shadow: 0 14px 36px -16px rgba(23, 21, 19, 0.7); }
.btn-big { padding: 1.05rem 1.8rem; font-size: 1rem; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  padding-bottom: 0.2rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease-out);
}
.text-cta i { font-style: normal; transition: transform 0.35s var(--ease-out); }
.text-cta:hover { background-size: 0% 1px; background-position: right bottom; }
.text-cta:hover i { transform: translateX(5px); }

/* ---------- grain / progress / cursor ---------- */

.noise {
  position: fixed;
  inset: -100px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-40px, 30px); }
  50% { transform: translate(30px, -50px); }
  75% { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--clay), var(--clay-2) 60%, var(--clay-3));
  transform: scaleX(0);
  transform-origin: left center;
}

.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none; }
  .cursor-dot {
    position: absolute;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--clay-2);
  }
  .cursor-ring {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    margin: -21px 0 0 -21px;
    border: 1px solid #fff;
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s;
  }
  .cursor-ring span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.25s;
  }
  .cursor.is-label .cursor-ring {
    width: 86px; height: 86px;
    margin: -43px 0 0 -43px;
    background: var(--clay);
    border-color: var(--clay);
    mix-blend-mode: normal;
  }
  .cursor.is-label .cursor-ring span { opacity: 1; }
  .cursor.is-label .cursor-dot { opacity: 0; }
  .cursor.is-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
}

/* ---------- intro curtain (pointer-events: none — it never blocks) ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--graphite);
  color: #f3eee6;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  clip-path: inset(0 0 0% 0);
}
html.js .curtain { display: flex; }
html.no-boot .curtain { display: none; }
.curtain-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.curtain-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  overflow: hidden;
  padding: 0.1em 0;
}
.curtain-brand .tri { width: 0.6em; height: 0.6em; margin-right: 0.25em; }
.curtain-brand .cb { display: inline-block; }
.curtain-brand .cb-light { font-weight: 500; color: rgba(243, 238, 230, 0.7); }
.curtain-line { position: relative; width: clamp(140px, 22vw, 260px); height: 2px; background: rgba(236, 229, 216, 0.14); overflow: hidden; }
.curtain-line span { position: absolute; inset: 0; background: var(--clay-2); transform: scaleX(0); transform-origin: left center; }

/* ============================================================
   NAV — one clean capsule
   ============================================================ */

.nav {
  position: fixed;
  top: clamp(0.6rem, 1.6vh, 1rem);
  left: 0; right: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 0 var(--pad);
  pointer-events: none;
  transition: transform 0.55s var(--ease-out);
  color: #f3eee6;
}
.nav.is-hidden { transform: translateY(-140%); }
.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
  width: min(1180px, 100%);
  padding: 0.42rem 0.42rem 0.42rem 1.15rem;
  border-radius: 99px;
  background: rgba(28, 26, 24, 0.55);
  border: 1px solid rgba(236, 229, 216, 0.12);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 14px 44px -20px rgba(0, 0, 0, 0.55);
  transition: background-color 0.45s, border-color 0.45s, box-shadow 0.45s, color 0.45s;
}
.nav[data-theme='light'] { color: var(--ink); }
.nav[data-theme='light'] .nav-shell {
  background: rgba(250, 247, 241, 0.8);
  border-color: rgba(28, 26, 24, 0.08);
  box-shadow: 0 14px 40px -24px rgba(28, 26, 24, 0.35);
}
.nav-logo { display: flex; align-items: center; gap: 0.55rem; }
.nav-logo .tri { width: 1rem; height: 1rem; }
.logo-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.06em; }
.logo-mark b { font-weight: 500; opacity: 0.72; }
.nav[data-theme='light'] .nav-logo .tri { background: var(--clay); }

.nav-links { display: flex; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav-links a { position: relative; font-size: 0.9rem; font-weight: 500; opacity: 0.8; padding: 0.35rem 0; transition: opacity 0.3s; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--clay-2);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-out);
}
.nav[data-theme='light'] .nav-links a::after { background: var(--clay); }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left center; }
.nav-cta { flex-shrink: 0; padding: 0.72rem 1.3rem; font-size: 0.9rem; }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background:
    linear-gradient(rgba(236, 229, 216, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(236, 229, 216, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--graphite);
  color: #f3eee6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--pad) 5rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  overflow-y: auto;
}
.menu-links { display: flex; flex-direction: column; gap: 0.2rem; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 8.4vw, 3rem);
  line-height: 1.25;
  transform: translateY(40px);
  opacity: 0;
}
.menu-links a:last-child { color: var(--clay-2); }
.menu-links a em { font-family: var(--font-mono); font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--clay-2); }
.menu-foot {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: calc(1.6rem + env(safe-area-inset-bottom));
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.5);
}

.dock { display: none; }

/* ============================================================
   HERO — a house drawn in lines becomes a wood frame
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  background: var(--graphite);
  color: var(--fg);
  padding-bottom: var(--radius);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(236, 229, 216, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(236, 229, 216, 0.05) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(60% 60% at 25% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 25% 45%, #000 0%, transparent 75%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28, 26, 24, 0.94) 0%, rgba(28, 26, 24, 0.7) 34%, rgba(28, 26, 24, 0) 60%),
    linear-gradient(180deg, rgba(28, 26, 24, 0.45) 0%, rgba(28, 26, 24, 0) 24%, rgba(28, 26, 24, 0) 76%, rgba(28, 26, 24, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(6rem, 12vh, 8rem) var(--pad) 0;
  max-width: min(50rem, 56vw);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-2);
  margin-bottom: clamp(1rem, 2.4vh, 1.5rem);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.ht-line { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; }
.ht-in { display: inline-block; white-space: nowrap; }
.hero-title em { color: var(--clay-2); font-size: 1.1em; letter-spacing: -0.01em; padding-right: 0.04em; }
.hero-title .sc { display: inline-block; will-change: transform; }
.hero-title .sc-word { display: inline-block; white-space: nowrap; }
.hero-pitch { margin-top: clamp(1.3rem, 3.4vh, 2rem); max-width: 34rem; }
.hero-statement { font-size: clamp(1.04rem, 1.3vw, 1.2rem); color: rgba(243, 238, 230, 0.76); line-height: 1.55; }
.hero-statement b { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: clamp(1.4rem, 3.2vh, 2rem); }
.link-down {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(243, 238, 230, 0.8);
  transition: color 0.3s;
}
.link-down i { font-style: normal; display: inline-block; animation: nudge 2.2s var(--ease-out) infinite; }
.link-down:hover { color: #fff; }
@keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }

.hero-stage {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: var(--pad);
  bottom: 12%;
  width: 46%;
  pointer-events: none;
}

.hud {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 210px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(236, 229, 216, 0.14);
  border-radius: 16px;
  background: rgba(28, 26, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(243, 238, 230, 0.75);
}
.hud-top { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hud-top b { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hud-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 0.7rem; }
.hud-days i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.32rem 0;
  border-radius: 6px;
  background: rgba(236, 229, 216, 0.07);
  color: rgba(243, 238, 230, 0.5);
  transition: background-color 0.35s, color 0.35s;
}
.hud-days i.on { background: var(--clay); color: #fff; }
.hud-status { margin-top: 0.65rem; font-size: 0.82rem; font-weight: 500; color: rgba(243, 238, 230, 0.8); }
.hud-status.is-done { color: var(--clay-3); }

/* ============================================================
   01 · BETTER DESIGN — the fourplex plan
   ============================================================ */

.design { overflow: clip; }
.design-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  min-height: 100vh;
  min-height: 100svh;
  max-width: calc(var(--maxw) + 12rem);
  margin: 0 auto;
}
.design-rail { padding: calc(var(--sect) + var(--radius) * 0.3) var(--pad) var(--sect); align-self: center; }
.points { list-style: none; margin: clamp(1.4rem, 3.4vh, 2rem) 0 clamp(1.6rem, 3.6vh, 2.2rem); display: flex; flex-direction: column; gap: 0.35rem; }
.points li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  opacity: 0.5;
  transition: opacity 0.45s, background-color 0.45s;
}
.points li i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  transition: background-color 0.45s, color 0.45s, border-color 0.45s;
}
.points li b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.points li span { display: block; font-size: 0.92rem; color: var(--muted); }
.points li.is-on { opacity: 1; background: rgba(255, 255, 255, 0.65); box-shadow: 0 12px 30px -24px rgba(28, 26, 24, 0.35); }
.points li.is-on i { background: var(--clay); border-color: var(--clay); color: #fff; }
.points li.is-past { opacity: 0.85; }
.points li.is-past i { border-color: var(--clay); color: var(--clay-ink); }

.design-stage { position: relative; min-height: 70vh; }
.plan-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.4s var(--ease-out);
}
.callout.is-on { opacity: 1; }
.callout::before {
  content: '';
  position: absolute;
  left: -7px; top: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(184, 79, 44, 0.22);
}
.callout.is-on::before { animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(184, 79, 44, 0.45); }
  100% { box-shadow: 0 0 0 16px rgba(184, 79, 44, 0); }
}
.callout::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 1.5px;
  background: var(--graphite);
  transform-origin: left center;
  transform: rotate(-40deg) scaleX(0);
  transition: transform 0.5s var(--ease-out) 0.05s;
}
.callout.is-on::after { transform: rotate(-40deg) scaleX(1); }
.callout span {
  position: absolute;
  left: 24px; bottom: 20px;
  padding: 0.5rem 0.85rem;
  border-radius: 99px;
  background: var(--graphite);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(28, 26, 24, 0.6);
  transform: translateY(8px);
  transition: transform 0.5s var(--ease-out);
}
.callout.is-on span { transform: none; }
.callout.flip::after { transform: rotate(-140deg) scaleX(0); }
.callout.flip.is-on::after { transform: rotate(-140deg) scaleX(1); }
.callout.flip span { left: auto; right: 24px; }

.stage-label {
  position: absolute;
  left: 1rem; right: var(--pad);
  bottom: calc(var(--radius) + 1rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
}
.stage-label span:last-child { color: var(--clay-ink); }

/* ============================================================
   02 · FASTER REVISIONS — the timeline
   ============================================================ */

.speed { padding: calc(var(--sect) + var(--radius) * 0.4) 0 calc(var(--sect) + var(--radius)); overflow: clip; }
.speed-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: end;
}
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vs-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(236, 229, 216, 0.03);
}
.vs-card span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.vs-card b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.vs-card b small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; }
.vs-card em { font-family: var(--font-body); font-style: normal; font-size: 0.85rem; color: var(--faint); }
.vs-us { border-color: rgba(226, 125, 85, 0.55); background: rgba(226, 125, 85, 0.08); }
.vs-us b { color: var(--clay-2); }
.vs-them b { color: rgba(243, 238, 230, 0.5); }

.tl {
  margin-top: clamp(1.8rem, 4.5vh, 2.8rem);
  padding: clamp(1.1rem, 2.4vw, 2rem);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--graphite-2);
  --name: 8.5rem;
}
.tl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.tl-clock { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tl-clock b { display: inline-block; min-width: 2ch; margin-left: 0.3rem; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; }
.tl-replay { font-size: 0.82rem; color: var(--muted); padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; transition: color 0.3s, border-color 0.3s; }
.tl-replay:hover { color: var(--clay-2); border-color: var(--clay-2); }
.tl-axis { position: relative; height: 1.2rem; margin-left: calc(var(--name) + 1rem); border-bottom: 1px dashed var(--line); }
.tl-axis span {
  position: absolute;
  left: calc(var(--x) * 1%);
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
}
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.tl-lane { display: grid; grid-template-columns: var(--name) 1fr; gap: 1rem; align-items: center; margin-top: 0.8rem; }
.tl-name { font-weight: 600; font-size: 0.95rem; }
.tl-us .tl-name { color: var(--clay-2); }
.tl-them .tl-name { color: var(--muted); font-weight: 500; }
.tl-track { position: relative; height: clamp(2.6rem, 4vw, 3.2rem); border-radius: 12px; }
.tl-us .tl-track { display: flex; gap: 4px; }
.seg {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(236, 229, 216, 0.06);
}
.seg span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clay), var(--clay-2));
  transform: scaleX(0);
  transform-origin: left center;
}
.seg em {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(243, 238, 230, 0.35);
  transition: color 0.3s;
}
.seg.is-done em { color: #fff; }
.tl-head {
  position: absolute;
  top: -6px; bottom: -6px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  border-radius: 2px;
  opacity: 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.tl-them .tl-track { background: rgba(236, 229, 216, 0.05); }
.tl-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 12px 0 0 12px; background: rgba(236, 229, 216, 0.16); }
.tl-range {
  position: absolute;
  top: 0; bottom: 0;
  left: 66.666%;
  width: 0;
  border-radius: 0 12px 12px 0;
  background: repeating-linear-gradient(135deg, rgba(236, 229, 216, 0.16) 0 6px, transparent 6px 12px);
}
.tl-wait {
  position: absolute;
  top: 50%; left: 0.9rem;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0;
}
.tl-tag {
  position: absolute;
  top: 50%;
  left: 83.33%;
  transform: translate(-50%, -50%) scale(0.6);
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
}
.tl-cap { margin-top: 1.1rem; margin-left: calc(var(--name) + 1rem); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--fg); }

/* ============================================================
   03 · WHAT WE DESIGN
   ============================================================ */

.services { padding: calc(var(--sect) + var(--radius) * 0.3) 0 calc(var(--sect) + var(--radius) * 0.6); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 2vw, 1.5rem); margin-top: clamp(1.4rem, 3.4vh, 2.2rem); }
.card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: translate 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s;
}
.card:hover { translate: 0 -6px; border-color: rgba(184, 79, 44, 0.35); box-shadow: 0 34px 70px -44px rgba(28, 26, 24, 0.45); }
.card-art {
  position: relative;
  padding: clamp(1rem, 2.2vw, 1.8rem) clamp(1rem, 2.6vw, 2.4rem) 0.6rem;
  background:
    linear-gradient(rgba(28, 26, 24, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(28, 26, 24, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.draw { width: 100%; height: auto; display: block; overflow: visible; }
.draw * { fill: none; stroke: var(--graphite); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.draw .dash { stroke-dasharray: 5 5; stroke-opacity: 0.5; }
.draw .ground { stroke-opacity: 0.6; }
.draw .dim * { stroke: var(--clay); stroke-width: 1.2; }
.draw .win { transition: fill 0.5s var(--ease-out), fill-opacity 0.5s; fill: var(--clay-2); fill-opacity: 0; }
.card:hover .draw .win { fill-opacity: 0.45; }
.card:hover .draw .win:nth-of-type(2n) { transition-delay: 0.06s; }
.card:hover .draw .win:nth-of-type(3n) { transition-delay: 0.12s; }
.card-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-ink);
}
.card-body { padding: clamp(1.2rem, 2.4vw, 2rem); }
.card-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.015em; line-height: 1.1; }
.card-body p { margin-top: 0.5rem; color: var(--muted); max-width: 42ch; }
.chips-s { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 1.2rem; }
.chips-s li { font-size: 0.8rem; font-weight: 500; padding: 0.35rem 0.75rem; border-radius: 99px; background: var(--paper-2); color: var(--muted); }

.permit-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: clamp(0.9rem, 2vw, 1.4rem);
  padding: 1.1rem clamp(1.1rem, 2.4vw, 1.8rem);
  border-radius: 20px;
  border: 1px dashed rgba(184, 79, 44, 0.45);
  background: rgba(251, 249, 245, 0.6);
}
.ps-icon { width: 40px; height: 40px; flex-shrink: 0; }
.ps-icon * { fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.permit-strip p { flex: 1; min-width: 16rem; color: var(--muted); }
.permit-strip p b { color: var(--fg); font-weight: 600; }

/* ============================================================
   04 · HOW IT WORKS
   ============================================================ */

.process { padding: calc(var(--sect) + var(--radius) * 0.3) 0 calc(var(--sect) + var(--radius) * 0.6); overflow: clip; }
.steps-wrap { position: relative; margin-top: clamp(1.4rem, 3.4vh, 2.2rem); }
.steps-line {
  position: absolute;
  top: 22px;
  left: 22px; right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--clay), var(--clay-2));
  transform: scaleX(0);
  transform-origin: left center;
}
html.no-boot .steps-line { transform: none; }
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.step { display: flex; flex-direction: column; gap: 0.35rem; }
.step-ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--clay);
}
.step-ic svg { width: 22px; height: 22px; }
.step-ic svg * { fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--faint); }
.step b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.15; }
.step p { font-size: 0.95rem; color: var(--muted); max-width: 26ch; }
.step-hot .step-ic { background: var(--clay); }
.step-hot .step-ic svg * { stroke: #fff; }
.step-hot b { color: var(--clay-ink); }

/* ============================================================
   05 · FAQ
   ============================================================ */

.faq { padding: calc(var(--sect) + var(--radius) * 0.3) 0 calc(var(--sect) + var(--radius) * 0.6); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-head .btn { margin-top: 0.6rem; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--clay-ink); }
.qa summary i {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out), color 0.35s;
}
.qa summary i::before, .qa summary i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--clay); border-color: var(--clay); color: #fff; transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 3.5rem 1.2rem 0; color: var(--muted); max-width: 60ch; }

/* ============================================================
   06 · START — the form, with the excavator working beside it
   ============================================================ */

.contact { padding: calc(var(--sect) + var(--radius) * 0.4) 0 calc(var(--sect) + var(--radius)); overflow: clip; }
.contact-main { max-width: 640px; position: static; }
.contact-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: -0.03em; }
.contact-lede { margin-top: 0.9rem; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }

.contact-stage {
  position: absolute;
  z-index: -1;
  top: 8%; right: 0; bottom: 0;
  width: 52%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
}
.dig-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.qform {
  position: relative;
  margin-top: clamp(1.4rem, 3.4vh, 2rem);
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(37, 34, 32, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.q-chips { border: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.q-chips legend { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.8rem; }
.q-chips label { cursor: pointer; }
.q-chips input { position: absolute; opacity: 0; pointer-events: none; }
.q-chips span {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.62rem 1.05rem;
  border: 1px solid rgba(236, 229, 216, 0.2);
  border-radius: 99px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.q-chips label:hover span { border-color: var(--clay-2); }
.q-chips input:checked + span { background: var(--clay); border-color: var(--clay); color: #fff; }
.q-chips input:focus-visible + span { outline: 2px solid var(--clay-2); outline-offset: 2px; }

.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
.q-field { display: flex; flex-direction: column; gap: 0.38rem; margin-bottom: 0.95rem; }
.q-field > span { font-size: 0.84rem; font-weight: 600; color: var(--fg); }
.q-field > span small { font-weight: 400; color: var(--faint); font-size: 0.8rem; }
.q-field input, .q-field textarea {
  width: 100%;
  background: rgba(23, 21, 19, 0.6);
  border: 1px solid rgba(236, 229, 216, 0.16);
  border-radius: 12px;
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.q-field input::placeholder, .q-field textarea::placeholder { color: rgba(243, 238, 230, 0.3); }
.q-field input:focus, .q-field textarea:focus { border-color: var(--clay-2); box-shadow: 0 0 0 3px rgba(226, 125, 85, 0.18); }
.q-field.is-bad input { border-color: #ff8a6b; }
.q-submit { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.q-trust { font-size: 0.82rem; color: var(--faint); }
.q-note { margin-top: 0.7rem; font-size: 0.9rem; color: #ffb59c; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit .btn-busy { display: none; }
.qform.is-busy .btn-submit .btn-label { display: none; }
.qform.is-busy .btn-submit .btn-busy { display: inline; }
.qform.is-busy .btn-submit { pointer-events: none; opacity: 0.8; }

.q-done { display: none; padding: 0.6rem 0 0.4rem; outline: none; }
.qform.is-done > :not(.q-done) { display: none; }
.qform.is-done .q-done { display: block; }
.q-stamp {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 3px solid var(--clay-2);
  border-radius: 8px;
  color: var(--clay-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  margin-bottom: 1.2rem;
}
.q-done h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.q-done p { color: var(--muted); max-width: 44ch; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { background: var(--ink); padding-top: calc(var(--radius) * 0.4); padding-bottom: env(safe-area-inset-bottom); }
.footer-marquee { overflow: clip; padding: clamp(0.6rem, 2vh, 1.2rem) 0; }
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 5.8rem);
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 229, 216, 0.28);
  will-change: transform;
}
.marquee-track i {
  display: inline-block;
  width: 0.48em;
  height: 0.48em;
  margin: 0 0.5em;
  background: var(--clay-2);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.titleblock {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin: 0 var(--pad);
  border: 1px solid rgba(236, 229, 216, 0.16);
  border-radius: 12px;
  overflow: hidden;
}
.tb-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid rgba(236, 229, 216, 0.16);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(243, 238, 230, 0.82);
}
.tb-cell:last-child { border-right: 0; }
.tb-cell small { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 238, 230, 0.42); }
.tb-brand { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.6rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; color: #fff; }
.tb-brand b { font-weight: 500; opacity: 0.72; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: clamp(1.6rem, 4vh, 2.4rem) var(--pad); }
.f-col { display: flex; flex-direction: column; gap: 0.45rem; }
.f-col b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; color: #fff; }
.f-col a, .f-col span { font-size: 0.9rem; color: rgba(243, 238, 230, 0.6); }
.f-col a { transition: color 0.3s; width: fit-content; }
.f-col a:hover { color: var(--clay-2); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  flex-wrap: wrap;
  padding: 1.1rem var(--pad) 1.6rem;
  border-top: 1px solid rgba(236, 229, 216, 0.1);
  font-size: 0.78rem;
  color: rgba(243, 238, 230, 0.42);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
  .speed-head { grid-template-columns: 1fr; align-items: start; }
  .vs { max-width: 560px; }
}

@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-shell { padding-right: 0.4rem; }
  .burger { display: block; }

  .hero { justify-content: flex-start; }
  .hero-content { max-width: none; padding-top: clamp(6.4rem, 15vh, 8rem); }
  .hero-stage { position: relative; top: auto; right: auto; bottom: auto; width: auto; height: clamp(250px, 40svh, 440px); margin: 0.8rem var(--pad) 0; }
  /* phones: the HUD becomes a slim bar under the house */
  .hud { left: 0; right: 0; bottom: 0; width: auto; display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.7rem; border-radius: 14px; }
  .hud-top { gap: 0.5rem; }
  .hud-top b { font-size: 1.35rem; }
  .hud-days { flex: 1; margin-top: 0; }
  .hud-status { margin-top: 0; min-width: 6.6em; text-align: right; font-size: 0.76rem; }
  .hero-vignette {
    background: linear-gradient(180deg, rgba(28, 26, 24, 0.9) 0%, rgba(28, 26, 24, 0.72) 42%, rgba(28, 26, 24, 0) 62%, rgba(28, 26, 24, 0.1) 80%, rgba(28, 26, 24, 0.85) 100%);
  }
  .hero-grid { -webkit-mask-image: radial-gradient(90% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(90% 60% at 50% 30%, #000 0%, transparent 75%); }

  .design-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .design-rail { min-width: 0; padding-bottom: 0.6rem; }
  .design-rail > .btn { display: none; }
  .points { flex-direction: row; overflow-x: auto; gap: 0.5rem; margin: 1.2rem calc(var(--pad) * -1) 0; padding: 0 var(--pad) 0.4rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .points::-webkit-scrollbar { display: none; }
  .points li { flex: 0 0 78%; scroll-snap-align: start; background: rgba(255, 255, 255, 0.4); }
  .design-stage { min-height: 0; height: clamp(380px, 72svh, 640px); }
  .callout span { font-size: 0.8rem; padding: 0.42rem 0.7rem; }

  .faq-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .cards { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .steps-line { display: none; }

  .contact-main { max-width: none; }
  .contact-stage {
    position: relative;
    z-index: 0;
    top: auto; right: auto; bottom: auto;
    width: auto;
    height: clamp(240px, 38svh, 380px);
    margin: 0.4rem calc(var(--pad) * -1) -2.4rem;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  }
  .qform { margin-top: 0; }

  .dock {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 65;
    padding: 0.7rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom));
    transform: translateY(130%);
    transition: transform 0.55s var(--ease-out);
    pointer-events: none;
  }
  .dock.is-on { transform: none; }
  .dock-btn { width: 100%; pointer-events: auto; box-shadow: 0 18px 40px -12px rgba(10, 9, 8, 0.55); padding: 1.05rem 1.4rem; font-size: 1rem; }
  .footer-legal { padding-bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  .hero-title { font-size: clamp(2.5rem, 11.6vw, 4.2rem); }
  .ht-in { white-space: normal; }
  .hero-eyebrow { font-size: 0.66rem; }
  .hero-ctas { gap: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .link-down { margin: 0 auto; }
  .sec-title { font-size: clamp(2rem, 9.4vw, 3rem); }

  .vs-card b { font-size: 2.2rem; }
  .tl { --name: 100%; padding: 1rem; }
  .tl-axis { margin-left: 0; }
  .tl-lane { grid-template-columns: 1fr; gap: 0.4rem; margin-top: 0.9rem; }
  .tl-name { font-size: 0.85rem; }
  .tl-us .tl-track { gap: 3px; }
  .seg em { font-size: 0.62rem; }
  .tl-cap { margin-left: 0; }

  .q-row { grid-template-columns: 1fr; }
  .q-submit .btn { width: 100%; }
  .qa-a p { padding-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; }
  .step-ic { grid-row: span 3; margin-bottom: 0; }
  .step p { max-width: none; }

  .titleblock { grid-template-columns: 1fr 1fr; }
  .tb-brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(236, 229, 216, 0.16); }
  .titleblock .tb-cell:nth-child(4) { display: none; }
  .titleblock .tb-cell:nth-child(2) { border-right: 1px solid rgba(236, 229, 216, 0.16); }
  .titleblock .tb-cell:nth-child(3) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .f-col:first-child { grid-column: 1 / -1; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .noise { animation: none; }
  .steps-line { transform: none !important; }
}
