/* Lintel Homes — homepage concept */
:root {
  --paper: #F2EEE6;
  --paper-2: #E9E3D8;
  --paper-3: #DCD4C5;
  --ink: #161714;
  --ink-2: #34342F;
  --muted: #6F6A60;
  --line: rgba(22, 23, 20, .12);
  --line-2: rgba(22, 23, 20, .22);
  --flag: #FF4D8D;
  --flag-ink: #D8266A;
  --river: #93B3CB;
  --night: #121310;
  --glass: rgba(246, 243, 236, .74);
  --glass-line: rgba(255, 255, 255, .55);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --g: clamp(16px, 3.2vw, 44px);
  --wrap: 1400px;
  --r: 18px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--flag); color: #fff; }
.i { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--flag); flex: none; }

/* type */
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 360;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.028em;
  margin: 0;
}
.h2 em, .hero-title em, .cta-title em { font-style: italic; font-weight: 320; }
.h2 em { color: var(--muted); }
.h2-light em { color: rgba(242, 238, 230, .62); }
.kicker {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker-light { color: rgba(242, 238, 230, .6); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; margin: 22px 0 0; }
.lede-light { color: rgba(242, 238, 230, .78); }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 24px 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 16px; letter-spacing: -.005em;
  position: relative; overflow: hidden; isolation: isolate;
  white-space: nowrap;
  transition: box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--flag);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .i { transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-ink:hover { color: #fff; }
.btn-sm { height: 42px; padding: 0 16px 0 18px; font-size: 14.5px; gap: 8px; }
.btn-sm .i { width: 15px; height: 15px; }
.btn-lg { height: 62px; padding: 0 28px 0 32px; font-size: 17px; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-paper { --bg: var(--paper); --fg: var(--ink); }
.btn-paper:hover { color: #fff; }
.btn-flag { --bg: var(--flag); --fg: #fff; }
.btn-flag::before { background: #fff; }
.btn-flag:hover { color: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1px rgba(242, 238, 230, .28); }
.btn-ghost-light::before { background: rgba(242, 238, 230, .12); }
.play-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--flag); position: relative; flex: none; }
.play-dot::after { content: ""; position: absolute; left: 8.5px; top: 6.5px; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .i { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 999px; font: 500 13px/1 var(--f-ui);
  background: var(--paper-2); color: var(--ink-2);
}
.tag-sm { height: 22px; padding: 0 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.tag-flag { background: rgba(255, 77, 141, .12); color: var(--flag-ink); }

/* ============ loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
}
.loader-mark svg { width: 64px; height: 52px; fill: var(--paper); }
.loader-mark path { transform-box: fill-box; }
.loader-count { position: absolute; left: var(--g); bottom: var(--g); font: 400 13px var(--f-mono); color: rgba(242, 238, 230, .5); }
.loader-count::after { content: "%"; }
.is-ready .loader { pointer-events: none; }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--g);
  transition: transform .6s var(--ease), color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(242, 238, 230, .78);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-over-film:not(.is-solid) { color: #fff; }
.nav.is-over-film:not(.is-solid) .btn-ink { --bg: var(--paper); --fg: var(--ink); }
.nav.is-over-film:not(.is-solid) .btn-ink:hover { color: #fff; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { width: 30px; height: 24px; fill: currentColor; align-self: center; }
.brand-word { font: 450 26px/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; }
.brand-sub { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-login { font-size: 14.5px; font-weight: 500; opacity: .75; }
.nav-login:hover { opacity: 1; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--paper); transition: transform .4s var(--ease); }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 23px; }
.menu-open .nav-burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--nav-h) var(--g) var(--g);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu a { font: 380 44px/1.15 var(--f-display); letter-spacing: -.02em; }
.menu a:last-child { color: var(--flag-ink); font-style: italic; }
.menu-open .menu { clip-path: inset(0 0 0 0); }

/* ============ hero ============ */
.hero { position: relative; }
.hero-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.hero-copy {
  position: absolute; z-index: 3; left: 0; right: 0;
  top: calc(var(--nav-h) + clamp(12px, 3vh, 40px));
  padding: 0 var(--g);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 56px;
}
.eyebrow { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 141, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 77, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0); } }
.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 340;
  font-size: clamp(46px, 7.3vw, 128px);
  line-height: .93;
  letter-spacing: -.035em;
}
.hero-title em { color: var(--ink); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: .02em; right: .08em; bottom: .02em; height: .06em;
  background: var(--flag); border-radius: 2px;
  transform: scaleX(var(--u, 0)); transform-origin: left;
}
.hero-side { max-width: 400px; padding-bottom: .6vw; }
.hero-lede { margin: 0 0 22px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ctas .btn { height: 50px; }

.film {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(var(--ct, 52%) var(--cs, 24px) var(--cb, 24px) var(--cs, 24px) round var(--cr, 20px));
  background: #8d8a7c;
}
.film-media { position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform; }
.film-poster, .film-video, .film-plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-video { opacity: 0; }
.film-video.is-live { opacity: 1; }
.film-plan { pointer-events: none; }

.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hud > * { pointer-events: none; }
.hero.hud-on .hud > * { pointer-events: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
}
.chip-glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 8px 30px rgba(20, 20, 10, .12);
}
.chip-sep { width: 1px; height: 14px; background: var(--line-2); }
.hud-top { position: absolute; left: var(--g); right: var(--g); top: calc(var(--nav-h) + 14px); display: flex; justify-content: space-between; align-items: center; opacity: 0; }
.hud-week { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }
.hud-week .odo { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }

.hud-stage {
  position: absolute; left: var(--g); bottom: calc(var(--g) + 76px);
  width: min(430px, calc(100% - 2 * var(--g)));
  padding: 22px 24px 22px;
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 60px rgba(20, 20, 10, .16);
  opacity: 0;
}
.hud-num { font: 500 12px/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.hud-num span { color: var(--flag-ink); }
.hud-title-wrap { overflow: hidden; margin: 10px 0 8px; height: 1.02em; font-size: clamp(34px, 3.2vw, 50px); }
.hud-title { margin: 0; font: 360 1em/1.02 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.03em; white-space: nowrap; }
.hud-line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); min-height: 2.9em; }

.hud-ruler {
  list-style: none; margin: 0; padding: 0 22px;
  position: absolute; left: var(--g); right: var(--g); bottom: var(--g);
  height: 56px; border-radius: 999px;
  display: grid; grid-template-columns: repeat(6, 1fr); align-items: center;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 10px 40px rgba(20, 20, 10, .14);
  font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}
.hud-ruler li { position: relative; padding-left: 16px; transition: color .4s; }
.hud-ruler li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .4s, box-shadow .4s; }
.hud-ruler li.is-past, .hud-ruler li.is-on { color: var(--ink); }
.hud-ruler li.is-past::before { background: var(--ink); }
.hud-ruler li.is-on::before { background: var(--flag); box-shadow: 0 0 0 4px rgba(255, 77, 141, .22); }
.hud-ruler-fill { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; }
.hud-ruler-fill::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--rp, 0) * 100%); background: var(--flag); border-radius: 2px; }

.toasts { opacity: 0; position: absolute; right: var(--g); top: calc(var(--nav-h) + 64px); width: 330px; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 14px 40px rgba(20, 20, 10, .16);
}
.toast-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.toast-ico svg { width: 18px; height: 18px; }
.toast-ico.flag { background: var(--flag); color: #fff; }
.toast b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.005em; line-height: 1.25; }
.toast span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.toast-app { font: 500 10.5px/1 var(--f-mono) !important; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 4px !important; color: var(--muted); display: flex !important; justify-content: space-between; }

.hud-end { height: 0; overflow: hidden; opacity: 0; }
.hud-end .btn { margin-top: 16px; }
.scroll-cue {
  position: absolute; right: calc(var(--cs, 24px) + 18px); bottom: calc(var(--cb, 24px) + 18px); z-index: 2;
  display: flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase;
}
.scroll-cue i { width: 1.5px; height: 14px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -100%; height: 100%; background: var(--flag); animation: cue 1.6s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ============ proof ============ */
.proof { padding: clamp(56px, 7vw, 100px) 0 0; }
.proof-row {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof-item { padding: 6px 28px 6px 0; border-left: 1px solid var(--line); padding-left: 24px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { display: block; font: 330 clamp(40px, 4.4vw, 66px)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.proof-item > span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); max-width: 22ch; line-height: 1.4; }

/* ============ start ============ */
.start { padding: clamp(90px, 11vw, 170px) 0; }
.start-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.toggles { margin-top: 40px; display: grid; gap: 14px; }
.toggle { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; }
.toggle-label { font: 500 12px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.seg {
  position: relative; display: inline-flex; justify-self: start;
  padding: 5px; border-radius: 999px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.seg button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .35s; white-space: nowrap; }
.seg button[aria-checked="true"] { color: var(--paper); }
.seg-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); }
.answer {
  margin-top: 28px; padding: 28px 30px; border-radius: 24px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(40, 30, 10, .25);
  position: relative; overflow: hidden; max-width: 560px;
}
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--flag); }
.answer-kicker { margin: 0 0 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--flag-ink); }
.answer-title { margin: 0 0 8px; font: 380 30px/1.1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; }
.answer-body { margin: 0; color: var(--ink-2); max-width: 46ch; }
.answer-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.fit-card { border-radius: 28px; background: var(--paper-2); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.fit-head { display: flex; justify-content: space-between; align-items: baseline; }
.fit-head .kicker { margin: 0; }
.fit-list { margin: 22px 0 26px; }
.fit-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.fit-list dt { color: var(--muted); font-size: 15px; }
.fit-list dd { margin: 0; font-weight: 500; font-size: 16px; text-align: right; }
.map { border-radius: 18px; background: var(--paper); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.map-svg { width: 100%; height: auto; }
.map-towns circle { fill: var(--ink); }
.map-towns text { font: 500 10.5px var(--f-ui); fill: var(--ink-2); }
.map-towns .home circle { fill: var(--flag); }
.map-towns .home text { font-weight: 600; fill: var(--ink); font-size: 12px; }
.map-radius { transform-origin: 214px 128px; }
.map-cap { margin: 0; padding: 12px 16px 14px; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; border-top: 1px solid var(--line); }
.map-cap .mono { color: var(--muted); font-size: 11px; }

/* ============ section heads ============ */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-lede { margin: 0; max-width: 38ch; }

/* ============ services ============ */
.services { padding: clamp(80px, 9vw, 140px) 0; background: var(--paper-2); }
.phases { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 18px; }
.phase { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.phase::before, .svc-n::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; }
[data-phase="during"].phase::before, .svc[data-phase="during"] .svc-n::before { background: var(--flag); }
[data-phase="after"].phase::before, .svc[data-phase="after"] .svc-n::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc-n { display: inline-flex; align-items: center; gap: 8px; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc {
  position: relative; padding: 24px 24px 28px; border-radius: 22px;
  background: var(--paper); min-height: 290px;
  display: flex; flex-direction: column;
  transition: background .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover { background: #fff; translate: 0 -4px; box-shadow: 0 30px 50px -30px rgba(40, 30, 10, .3); }
.svc-top { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.svc-n { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.svc-ico { width: 58px; height: 58px; margin: 34px 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-ico .acc { stroke: var(--flag); }
.svc-ico .fill { fill: var(--flag); stroke: none; }
.svc h3 { margin: 30px 0 8px; font: 400 23px/1.12 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.015em; }
.svc p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* ============ process ============ */
.process { position: relative; }
.process-pin { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 10px) 0 40px; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.process-left .h2 { font-size: clamp(38px, 4.4vw, 66px); }
.stages { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stage { border-bottom: 1px solid var(--line); }
.stage-head { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 16px 0; text-align: left; }
.stage-n { font: 500 12px/1 var(--f-mono); color: var(--muted); transition: color .4s; }
.stage-name { font: 380 24px/1.1 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.015em; color: var(--muted); transition: color .4s; }
.stage-time { font: 500 11.5px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stage.is-on .stage-name { color: var(--ink); }
.stage.is-on .stage-n { color: var(--flag-ink); }
.stage-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.stage-body > div { overflow: hidden; padding-left: 54px; }
.stage-body p { margin: 0 0 8px; font-size: 15.5px; color: var(--ink-2); max-width: 44ch; }
.stage-body p:last-child { margin-bottom: 18px; }
.stage-body b { font-weight: 600; color: var(--ink); }
.stage.is-on .stage-body { grid-template-rows: 1fr; }
.process-progress { position: absolute; left: var(--g); right: var(--g); bottom: 18px; height: 2px; background: var(--line); }
.process-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--flag); transform: scaleX(var(--pp, 0)); transform-origin: left; }

.process-right { display: flex; justify-content: center; }
.phone { position: relative; }
.phone-frame {
  position: relative; width: 340px; height: 690px;
  border-radius: 52px; padding: 12px;
  background: var(--ink);
  box-shadow: 0 0 0 1.5px #3b3b35, 0 60px 90px -40px rgba(30, 25, 10, .45), 0 20px 40px -20px rgba(30, 25, 10, .3);
  display: flex; flex-direction: column;
  isolation: isolate;
}
.phone-frame::before { content: ""; position: absolute; inset: 12px; border-radius: 40px; background: var(--paper); z-index: -1; }
.phone-notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: var(--ink); z-index: 5; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px 8px; font-size: 13px; font-weight: 600; }
.app-brand { display: none; }
.app-dots { width: 42px; height: 12px; background: radial-gradient(circle, var(--ink) 2px, transparent 2.5px) 0 0 / 12px 12px repeat-x; opacity: .7; }
.screens { position: relative; flex: 1; overflow: hidden; }
.screen { position: absolute; inset: 0; padding: 26px 22px 10px; opacity: 0; visibility: hidden; }
.screen.is-on { opacity: 1; visibility: visible; }
.scr-kicker { margin: 0 0 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.scr-h { margin: 0 0 16px; font: 400 25px/1.08 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.scr-big { font-size: 36px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.scr-sub { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); }
.scr-card { border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 24px -14px rgba(0, 0, 0, .25); overflow: hidden; }
.scr-map { position: relative; height: 130px; }
.scr-map img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 70%; }
.pin { position: absolute; left: 62%; top: 58%; width: 16px; height: 16px; border-radius: 50%; background: var(--flag); box-shadow: 0 0 0 5px rgba(255, 77, 141, .3), 0 0 0 12px rgba(255, 77, 141, .15); }
.scr-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.scr-row b { display: block; font-size: 14px; }
.scr-row span { font-size: 12px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper) !important; font: 600 11.5px var(--f-ui); }
.scr-label { margin: 18px 0 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.scr-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scr-checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.scr-checks li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; }
.scr-checks li.done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }
.scr-plan { border-radius: 16px; background: #fff; padding: 12px; color: var(--ink); }
.scr-plan svg { width: 100%; height: auto; }
.scr-notes { list-style: none; margin: 14px 0 0; padding: 0; }
.scr-notes li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.scr-notes b { font-weight: 600; font-variant-numeric: tabular-nums; }
.scr-notes .down { color: #2f7d4f; }
.scr-btns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 16px; }
.scr-btn { height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 600; }
.scr-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.scr-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scr-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; }
.scr-bars li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.scr-bars li::after { content: ""; grid-column: 1 / -1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) calc(var(--w) * 400% * var(--k, 1)), var(--paper-3) 0); }
.scr-bars li.flag::after { background: linear-gradient(90deg, var(--flag) calc(var(--w) * 400% * var(--k, 1)), var(--paper-3) 0); }
.scr-sel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scr-sel li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; }
.scr-sel li.due { box-shadow: inset 0 0 0 1.5px var(--flag); }
.sw { width: 36px; height: 36px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.scr-sel b { display: block; font-size: 13.5px; }
.scr-sel span { font-size: 11.5px; color: var(--muted); }
.scr-sel em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--flag-ink); }
.scr-sel .ok { width: 18px; height: 18px; color: #2f7d4f; }
.scr-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.scr-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 70px 70px; gap: 6px; border-radius: 16px; overflow: hidden; position: relative; }
.scr-photos img { width: 100%; height: 100%; object-fit: cover; }
.scr-photos img:first-child { grid-row: span 2; object-position: 75% 45%; }
.scr-photos img:nth-child(2) { object-position: 80% 40%; }
.scr-more { position: absolute; right: 0; bottom: 0; width: calc((100% - 6px) / 2.4); height: 70px; display: grid; place-items: center; background: rgba(22, 23, 20, .55); color: #fff; font-weight: 600; }
.scr-gantt { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.scr-gantt li { position: relative; height: 28px; font-size: 11.5px; font-weight: 600; }
.scr-gantt li span { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * 100%); border-radius: 8px; background: var(--paper-3); display: flex; align-items: center; padding: 0 9px; white-space: nowrap; }
.scr-gantt li.done span { background: var(--ink); color: var(--paper); }
.scr-gantt li.now span { background: var(--flag); color: #fff; }
.scr-req { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; }
.scr-req-img { height: 72px; border-radius: 12px; overflow: hidden; }
.scr-req-img img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.scr-req b { display: block; font-size: 14px; }
.scr-req span { font-size: 12px; color: var(--muted); }
.scr-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.st { position: relative; padding-top: 14px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.st::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 5px; background: var(--paper-3); }
.st.done { color: var(--ink); }
.st.done::before { background: var(--ink); }
.app-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 14px 18px; font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.app-tabs .on { color: var(--ink); }
.phone-cap { margin: 22px auto 0; max-width: 300px; text-align: center; font-size: 14px; color: var(--muted); }
.phone-cap .mono { display: block; margin-bottom: 4px; color: var(--ink); }

/* ============ pricing ============ */
.pricing { background: var(--night); color: var(--paper); padding: clamp(90px, 10vw, 160px) 0; position: relative; overflow: hidden; }
.pricing .h2 em { color: rgba(242, 238, 230, .55); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; }
.rule { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 30px 0; border-top: 1px solid rgba(242, 238, 230, .14); }
.rule:last-child { border-bottom: 1px solid rgba(242, 238, 230, .14); }
.rule-n { font: 500 13px/1.6 var(--f-mono); color: var(--flag); }
.rule h3 { margin: 0 0 10px; font: 380 clamp(26px, 2.3vw, 34px)/1.1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; }
.rule p { margin: 0; color: rgba(242, 238, 230, .72); max-width: 44ch; }

.ledger {
  position: relative; border-radius: 30px; padding: 28px;
  background: linear-gradient(180deg, #1D1E1A, #171814);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 230, .09), 0 60px 100px -50px rgba(0, 0, 0, .8);
}
.ledger-head { display: flex; justify-content: space-between; align-items: center; color: rgba(242, 238, 230, .6); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper); }
.live .dot { animation: pulse 2.2s infinite; }
.ledger-total { margin: 26px 0 18px; }
.ledger-label { display: block; font-size: 14px; color: rgba(242, 238, 230, .6); margin-bottom: 6px; }
.ledger-num { font: 330 clamp(46px, 5vw, 72px)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ledger-bar { position: relative; height: 12px; border-radius: 12px; background: rgba(242, 238, 230, .08); overflow: hidden; display: flex; }
.ledger-bar .base { width: 94%; background: var(--paper); border-radius: 12px 0 0 12px; }
.ledger-bar .base { width: 91%; }
.ledger-bar .chg { width: calc(var(--chg, 3) * 1%); background: var(--flag); }
.ledger-legend { display: flex; gap: 18px; margin: 12px 0 22px; font-size: 12.5px; color: rgba(242, 238, 230, .6); }
.ledger-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ledger-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--paper); }
.ledger-legend i.chg { background: var(--flag); }
.co { position: relative; border-radius: 22px; padding: 22px; background: var(--paper); color: var(--ink); overflow: hidden; }
.co-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.co-state { font: 500 11.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--flag-ink); display: inline-flex; align-items: center; gap: 7px; }
.co-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co h4 { margin: 14px 0 4px; font: 400 26px/1.1 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.co-sub { margin: 0; font-size: 14px; color: var(--muted); }
.co-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-facts span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.co-facts b { font-size: 15px; font-weight: 600; }
.co-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.co-btns .btn { justify-content: center; height: 50px; }
.co .btn-ghost-light { --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.co .btn-ghost-light::before { background: var(--paper-2); }
.co-stamp {
  position: absolute; right: 22px; top: 64px;
  padding: 10px 16px 9px; border: 2.5px solid var(--flag); border-radius: 10px;
  color: var(--flag); text-transform: uppercase; text-align: center;
  font: 600 22px/1 var(--f-mono); letter-spacing: .12em;
  transform: rotate(-9deg) scale(1.6); opacity: 0; pointer-events: none;
  background: rgba(255, 255, 255, .7);
}
.co-stamp small { display: block; margin-top: 5px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .04em; }
.co.is-approved .co-state { color: #2f7d4f; }
.co.is-declined .co-state { color: var(--muted); }
.log { list-style: none; margin: 18px 0 0; padding: 0; }
.log li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 2px; border-top: 1px solid rgba(242, 238, 230, .1); font-size: 14px; color: rgba(242, 238, 230, .82); }
.log b { font-weight: 500; font-variant-numeric: tabular-nums; }
.log em { font-style: normal; font: 500 10.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(242, 238, 230, .45); }
.log li.new em { color: var(--flag); }
.ledger-reset { margin-top: 14px; font: 500 11.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(242, 238, 230, .45); opacity: 0; transition: opacity .3s; }
.ledger-reset.is-on { opacity: 1; }
.ledger-reset:hover { color: var(--paper); }

/* ============ homes ============ */
.homes { padding: clamp(90px, 10vw, 160px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .35s, color .35s, box-shadow .35s; }
.filters button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters button.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.filters sup { font: 500 10px var(--f-mono); opacity: .6; vertical-align: 4px; margin-left: 2px; }
.home-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px 20px; }
.home { position: relative; cursor: pointer; grid-column: span 4; outline: none; }
.home-lg { grid-column: span 8; }
.home-media { position: relative; height: clamp(320px, 31vw, 470px); border-radius: 20px; overflow: hidden; background: var(--paper-3); }
.home-lg .home-media, .home-lg + .home .home-media { height: clamp(380px, 40vw, 580px); }
.home[data-home="meadow"] .ext { object-position: 72% 60%; }
.home-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home-media .int { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease), transform 1.2s var(--ease); transform: scale(1.08); }
.home:hover .home-media .int, .home:focus-visible .home-media .int { clip-path: inset(0 0 0 0); transform: scale(1); }
.home:hover .home-media .ext { transform: scale(1.06); }
.home:focus-visible .home-media { box-shadow: 0 0 0 3px var(--flag); }
.home-meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 16px 4px 0; }
.home-meta h3 { margin: 0; font: 400 24px/1.1 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.home-meta p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.home-meta ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.home:not(.home-lg) .home-meta { flex-direction: column; gap: 6px; }
.home.is-hidden, .home-cta.is-hidden { display: none; }
.home-cta {
  grid-column: 1 / -1; border-radius: 22px; background: var(--ink); color: var(--paper);
  padding: clamp(28px, 4vw, 48px); min-height: 250px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.home-cta canvas { position: absolute; left: 33%; top: 0; width: 38%; height: 100%; opacity: .55; }
.home-cta > * { position: relative; }
.home-cta h3 { margin: 0; max-width: 11ch; font: 360 clamp(38px, 4.4vw, 64px)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.03em; }
.home-cta h3 em { color: var(--flag); }
.home-cta-side { max-width: 340px; }
.home-cta p { margin: 0 0 18px; color: rgba(242, 238, 230, .72); font-size: 15.5px; }

/* story drawer */
.story { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.story.is-open { visibility: visible; }
.story-scrim { position: absolute; inset: 0; background: rgba(18, 19, 16, .45); opacity: 0; transition: opacity .6s var(--ease); }
.story.is-open .story-scrim { opacity: 1; }
.story-panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(760px, calc(100vw - 20px));
  border-radius: 26px; background: var(--paper); overflow: auto; overscroll-behavior: contain;
  transform: translateX(calc(100% + 20px)); transition: transform .8s var(--ease);
}
.story.is-open .story-panel { transform: none; }
.story-x { position: absolute; top: 18px; right: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.story-x span { position: absolute; left: 14px; right: 14px; top: 22px; height: 1.8px; background: var(--ink); transform: rotate(45deg); }
.story-x span + span { transform: rotate(-45deg); }
.story-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: clip-path .8s var(--ease), transform 1.2s var(--ease); }
.story-media [data-s-int] { clip-path: inset(0 0 0 100%); }
.story-media.show-int [data-s-int] { clip-path: inset(0 0 0 0); }
.story-dots { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.story-dots button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.story-dots button.is-on { background: var(--ink); color: var(--paper); }
.story-body { padding: 34px clamp(22px, 4vw, 44px) 44px; }
.story-title { margin: 0; font: 360 clamp(40px, 5vw, 60px)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.03em; }
.story-stats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-stats li { padding: 14px 12px 14px 0; }
.story-stats span { display: block; font-size: 12px; color: var(--muted); }
.story-stats b { font-weight: 600; font-size: 16px; }
.story-stats li.flag b { color: var(--flag-ink); }
.story-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0; }
.story-blocks h4 { margin: 0 0 8px; font: 500 11.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.story-blocks p { margin: 0; font-size: 15px; color: var(--ink-2); }
.story-quote { margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.story-quote p { margin: 0; font: 360 italic 26px/1.25 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.015em; }
.story-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); }

/* ============ craft ============ */
.craft { padding: 0 0 clamp(90px, 10vw, 150px); }
.craft-head { padding-top: clamp(80px, 9vw, 130px); }
.xray {
  position: relative; margin: 0 var(--g); border-radius: 26px; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 92vh; width: calc(100% - 2 * var(--g));
  background: #8d8a7c; cursor: none; touch-action: pan-y;
}
.xray-base, .xray-in { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xray-lens { position: absolute; inset: 0; clip-path: circle(var(--lr, 0px) at var(--lx, 50%) var(--ly, 50%)); }
.xray-plan { background: rgba(18, 26, 34, .72); opacity: 0; transition: opacity .4s; }
.xray.mode-plan .xray-plan { opacity: 1; }
.xray-ring {
  position: absolute; left: 0; top: 0; width: calc(var(--lr, 0px) * 2 + 56px); height: calc(var(--lr, 0px) * 2 + 56px);
  transform: translate(calc(var(--lx, 50%) - 50%), calc(var(--ly, 50%) - 50%));
  pointer-events: none; overflow: visible;
}
.xray-circle text { font: 500 10.6px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; fill: #fff; paint-order: stroke; stroke: rgba(20, 20, 16, .35); stroke-width: 1.6px; }
.xray-ringwrap { position: absolute; inset: 0; pointer-events: none; }
.xray-circle { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.xray-circle::before { content: ""; position: absolute; left: calc(var(--lr) * -1); top: calc(var(--lr) * -1); width: calc(var(--lr) * 2); height: calc(var(--lr) * 2); border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 20px 50px rgba(0, 0, 0, .25); }
.xray-circle svg { max-width: none; position: absolute; left: calc(var(--lr) * -1 - 28px); top: calc(var(--lr) * -1 - 28px); width: calc(var(--lr) * 2 + 56px); height: calc(var(--lr) * 2 + 56px); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.xray-ui { position: absolute; left: 20px; right: 20px; top: 20px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.xray-ui > * { pointer-events: auto; }
.xray-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--glass-line); }
.xray-modes button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.xray-modes button.is-on { background: var(--ink); color: var(--paper); }
.xray-hint { font: 500 11.5px var(--f-mono); letter-spacing: .07em; text-transform: uppercase; }
.xray-caption { position: absolute; left: 20px; bottom: 20px; max-width: 360px; padding: 14px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.xray-caption b { display: block; font-size: 15px; margin-bottom: 2px; }

.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.detail { margin: 0; }
.detail-img { aspect-ratio: 5 / 6; border-radius: 18px; overflow: hidden; background: var(--paper-3); }
.detail-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.detail figcaption { padding: 14px 2px 0; }
.detail b { display: block; font: 400 20px/1.15 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.015em; }
.detail .mono { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }

/* ============ team ============ */
.team { padding: clamp(90px, 10vw, 150px) 0; background: var(--paper-2); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-img { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--paper-3); }
.person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .8s var(--ease); filter: saturate(.85); }
.person:hover .person-img img { transform: scale(1.05); filter: saturate(1.05); }
.person h3 { margin: 16px 0 2px; font: 400 23px/1.1 var(--f-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.role { margin: 0; font-size: 14px; color: var(--muted); }
.about { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.about .mono { display: block; font-size: 10.5px; color: var(--flag-ink); margin-bottom: 4px; }

.quotes { margin-top: clamp(70px, 8vw, 120px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.quotes-track { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.quote.is-on { opacity: 1; visibility: visible; }
.quote p { margin: 0; font: 330 clamp(32px, 4.2vw, 62px)/1.06 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.03em; max-width: 20ch; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 15px; color: var(--muted); }
.quote cite b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.quotes-nav { display: flex; align-items: center; gap: 14px; font: 500 12px var(--f-mono); color: var(--muted); padding-bottom: 6px; }
.quotes-nav b { color: var(--ink); font-weight: 500; }
.q-bar { width: 120px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.q-bar i { position: absolute; inset: 0; background: var(--flag); transform-origin: left; transform: scaleX(0); }

/* ============ cta ============ */
.cta { padding: clamp(90px, 10vw, 150px) 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.cta-title { font-size: clamp(46px, 6.4vw, 100px); }
.cta-title em { color: var(--ink); }
.form { margin-top: 44px; display: grid; gap: 26px; }
.q-label { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 600; font-size: 16px; }
.q-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 11.5px var(--f-mono); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, box-shadow .3s; }
.q.is-done .q-n { background: var(--ink); color: var(--paper); box-shadow: none; }
.form input {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; outline: none;
  transition: box-shadow .3s;
}
.form input:focus { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 5px rgba(255, 77, 141, .14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips button.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chips button:active { transform: scale(.96); }
.q-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .btn { justify-self: start; }
.form-note { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.form-note a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

.cta-right { position: sticky; top: calc(var(--nav-h) + 20px); }
.sheet {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: #F7F4ED; box-shadow: inset 0 0 0 1px var(--line), 0 50px 80px -50px rgba(40, 30, 10, .35);
  display: flex; flex-direction: column;
}
.sheet-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .45; }
.sheet-plan { position: relative; flex: 1; }
.sheet-plan canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tb { position: relative; margin: 0 18px 18px; border: 1.5px solid var(--ink); background: #F7F4ED; font-family: var(--f-mono); }
.tb-row { display: flex; }
.tb-brand { justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1.5px solid var(--ink); }
.tb-logo { display: inline-flex; align-items: center; gap: 8px; font: 450 17px/1 var(--f-display); letter-spacing: -.01em; }
.tb-logo svg { width: 22px; height: 18px; fill: var(--ink); }
.tb-brand .mono { font-size: 10.5px; }
.tb-cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.tb-cell { padding: 8px 12px 9px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-width: 0; }
.tb-cell:nth-child(3n + 1) { border-right: 1px solid var(--line-2); }
.tb-wide { grid-column: span 3; }
.tb-cell span { display: block; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tb-cell b { display: block; margin-top: 3px; font: 500 13.5px/1.25 var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-cell b.is-set { color: var(--ink); }
.tb-cell b.flash { animation: flash .8s var(--ease); }
@keyframes flash { 0% { background: rgba(255, 77, 141, .28); } 100% { background: transparent; } }
.tb-foot { align-items: center; gap: 12px; padding: 8px 12px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tb-progress { flex: 1; height: 3px; background: var(--line); position: relative; }
.tb-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--tp, 0) * 100%); background: var(--flag); transition: width .6s var(--ease); }
.sheet-stamp {
  position: absolute; left: 50%; top: 40%; z-index: 3; width: 290px; margin-left: -145px;
  padding: 16px 20px 14px; border: 3px solid var(--flag); border-radius: 14px; text-align: center;
  color: var(--flag); background: rgba(247, 244, 237, .88);
  transform: rotate(-7deg) scale(1.8); opacity: 0; pointer-events: none;
}
.sheet-stamp b { display: block; font: 600 34px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.sheet-stamp span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.sheet-stamp em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ============ footer ============ */
.foot { background: var(--night); color: var(--paper); padding: 80px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foot-h { margin: 0 0 12px; font: 500 11.5px var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(242, 238, 230, .5); }
.foot-col p { margin: 0; line-height: 1.7; font-size: 15.5px; }
.foot-col a { transition: color .3s; }
.foot-col a:hover { color: var(--flag); }
.foot-word { margin-top: 40px; line-height: .78; font: 330 clamp(120px, 27vw, 420px)/.8 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.055em; text-align: center; white-space: nowrap; color: var(--paper); }
.foot-word span { display: inline-block; transform: translateY(12%); }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: rgba(242, 238, 230, .5); border-top: 1px solid rgba(242, 238, 230, .12); position: relative; background: var(--night); }

/* ============ cursor ============ */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0);
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--flag); color: #fff; font: 600 13px/1.1 var(--f-ui); text-align: center;
  transition: transform .45s var(--ease);
}
.cursor.is-on .cursor-label { transform: translate(-50%, -50%) scale(1); }

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .phases { display: none; }
  .home { grid-column: span 6; }
  .home-lg { grid-column: 1 / -1; }
  .details, .people { grid-template-columns: repeat(2, 1fr); }
  .proof-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .toasts { width: 290px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav-login { display: none; }
  .nav-right .btn { display: none; }
  .nav-burger { display: block; }
  .hero-copy { grid-template-columns: 1fr; gap: 16px; }
  .hero-side { max-width: none; }
  .hero-lede { margin-bottom: 16px; }
  .start-grid, .process-grid, .pricing-grid, .cta-grid { grid-template-columns: 1fr; }
  .cta-right { position: relative; top: 0; }
  .process-pin { min-height: 0; display: block; padding: 90px 0 70px; }
  .process-progress { display: none; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .story-blocks { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .xray { aspect-ratio: 4 / 3; }
  .xray-base, .xray-in { object-position: 80% 50%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .home, .home-lg { grid-column: 1 / -1; }
  .home-media, .home-lg .home-media, .home-lg + .home .home-media { height: auto; aspect-ratio: 4 / 4.4; }
  .home-lg .home-meta { flex-direction: column; }
  .home-cta canvas { width: 100%; opacity: .3; }
  .svc { min-height: 0; }
  .svc-ico { margin: 20px 0 0; width: 48px; height: 48px; }
  .svc h3 { margin-top: 20px; }
  .toggle { grid-template-columns: 1fr; gap: 8px; }
  .seg { display: flex; flex-wrap: wrap; border-radius: 22px; }
  .seg button { height: 40px; padding: 0 14px; font-size: 14px; }
  .answer { padding: 24px 22px; }
  .fit-card { padding: 22px; }
  .rule { grid-template-columns: 44px 1fr; }
  .co-facts { grid-template-columns: 1fr 1fr; }
  .q-contact { grid-template-columns: 1fr; }
  .details { gap: 12px; }
  .detail b { font-size: 17px; }
  .people { gap: 14px; }
  .person h3 { font-size: 19px; }
  .about { font-size: 13.5px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phone-frame { width: 300px; height: 610px; border-radius: 46px; }
  .phone-frame::before { border-radius: 34px; }
  .xray-modes button { height: 32px; padding: 0 12px; font-size: 13px; }
}

/* mobile hero: the film is a framed card, the HUD sits on paper around it */
.hero.is-card .film { clip-path: inset(var(--ct) var(--cs) var(--cb) var(--cs) round var(--cr)); }
.hero.is-card .hud-top { top: calc(var(--card-b) - 50px); left: 12px; right: auto; }
.hero.is-card .hud-top .chip:first-child { display: none; }
.hero.is-card .hud-stage { left: var(--g); right: var(--g); width: auto; top: calc(var(--card-t) - 118px); bottom: auto; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0; }
.hero.is-card .hud-title-wrap { font-size: 40px; }
.hero.is-card .hud-ruler { top: calc(var(--card-b) + 14px); bottom: auto; left: var(--g); right: var(--g); height: auto; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; font-size: 8.4px; letter-spacing: 0; grid-template-columns: repeat(6, 1fr); }
.hero.is-card .hud-ruler li { padding: 14px 0 0; text-align: left; }
.hero.is-card .hud-ruler li::before { top: 0; margin: 0; }
.hero.is-card .hud-ruler-fill { top: 3px; bottom: auto; left: 0; right: 0; }
.hero.is-card .toasts { top: calc(var(--card-b) + 62px); left: var(--g); right: var(--g); width: auto; }
.hero.is-card .hud-end { position: absolute; left: 0; top: calc(var(--card-b) - var(--card-t) + 284px); }
.hero.is-card .hud-end .btn { margin-top: 0; }
.hero.is-card .toast:nth-child(n + 2) { display: none; }
.hero.is-card .scroll-cue { right: calc(var(--cs) + 10px); bottom: calc(var(--cb) + 10px); }

@media (prefers-reduced-motion: reduce) {
  /* none, not .01ms: a transitioning pin spacer is mis-measured by ScrollTrigger */
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 620px) { .xray-caption { display: none; } .xray-hint { display: none; } }

.co-btns { transition: opacity .5s var(--ease); }
.co.is-approved .co-btns, .co.is-declined .co-btns { opacity: .3; pointer-events: none; }

/* short laptop screens: keep the pinned process list inside the viewport */
@media (max-height: 860px) and (min-width: 861px) {
  .process-pin { padding-top: calc(var(--nav-h) - 4px); padding-bottom: 24px; }
  .process-left .h2 { font-size: clamp(34px, 3.6vw, 50px); }
  .process-left .kicker { margin-bottom: 14px; }
  .stages { margin-top: 22px; }
  .stage-head { padding: 11px 0; }
  .stage-name { font-size: 21px; }
  .stage-body p { font-size: 14.5px; margin-bottom: 5px; }
  .stage-body p:last-child { margin-bottom: 12px; }
  .phone-cap { display: none; }
}

.hero:not([data-intro="done"]) .hud > * { opacity: 0 !important; }
