/* BuildCount: "Built on precision". Cinematic dusk renders and blueprint linework for the story (hero, pinned
   story, page headers, closing call), calm sections for the facts. Dark by default; light mode turns the calm
   sections warm ivory while the cinematic bands stay dark. Manrope throughout; a system mono only for the grid letters inside the hero drawing. */

/* Manrope (SIL Open Font License, static/fonts/OFL.txt), one variable file per script. The fallback is Arial tuned to
   Manrope's width and line metrics (measured: 2% wider, ascent 1.066, descent 0.30), so nothing shifts when it loads. */
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-latin.v23.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-latin-ext.v23.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 102%; ascent-override: 104.5%; descent-override: 29.4%; line-gap-override: 0%; }

@property --wipe { syntax: "<percentage>"; inherits: true; initial-value: 100%; }
@property --rise { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root, .cine, .nav {
  --bg: #0F181E; --bg-2: #121F27; --bg-3: #172833;
  --surface: #14212A; --surface-2: #1A2A35;
  --line: rgba(217, 232, 237, .1); --line-2: rgba(217, 232, 237, .18); --line-3: rgba(217, 232, 237, .34);
  --ink: #EEF3F4; --ink-2: #AFC0C6; --ink-3: #8EA2A9;
  --accent: #6FC2E2; --accent-ink: #0F181E;
  --blue: #7CC8EA; --brass: #CDB28A;
  --btn: #F4F2EE; --btn-ink: #0F181E; --btn-hover: #FFFFFF;
  --under: #E9BE79; --over: #7CC8EA; --bad: #FF9C86;
  --glass: rgba(15, 24, 30, .58);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
:root[data-theme="light"], :root[data-theme="light"] .nav.stuck {
  --bg: #F4F2EE; --bg-2: #ECE8E1; --bg-3: #E2DDD4;
  --surface: #FFFFFF; --surface-2: #FAF8F4;
  --line: rgba(17, 27, 34, .1); --line-2: rgba(17, 27, 34, .17); --line-3: rgba(17, 27, 34, .32);
  --ink: #111B22; --ink-2: #45535B; --ink-3: #59676E;
  --accent: #115571; --accent-ink: #FFFFFF;
  --btn: #111B22; --btn-ink: #F4F2EE; --btn-hover: #0D202B;
  --under: #7A4F0F; --over: #115571; --bad: #A3321F; --brass: #7A5A2A;
  --glass: rgba(244, 242, 238, .74);
  --shadow: 0 40px 80px -44px rgba(17, 27, 34, .4);
  color-scheme: light;
}
:root {
  --f: "Manrope", "Manrope Fallback", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Consolas, monospace;
  --out: cubic-bezier(.16, 1, .3, 1);
  --io: cubic-bezier(.65, 0, .35, 1);
  --gut: max(20px, env(safe-area-inset-left, 0px), min(4vw, 48px));
  --nav-h: 64px;
  interpolate-size: allow-keywords;
}
.cine { background: var(--bg); color: var(--ink); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; transition: background-color .5s var(--out), color .5s var(--out); }
@media (max-width: 1080px) { body:has(.menu[open]) { overflow: hidden; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.ph { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px dashed var(--line-3); border-radius: 6px; font: 600 12px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); vertical-align: middle; }
.ph::before { content: "Pending: "; margin-right: 4px; }

/* ---------- layout and type ---------- */
.wrap { width: 100%; max-width: calc(1320px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.section.alt { background: var(--bg-2); }
.head { display: grid; gap: 24px; justify-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.head-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.head-row > div { display: grid; gap: 24px; justify-items: start; }
.head-row .lede { justify-self: end; }
.head .actions { margin-top: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.split .head { position: sticky; top: 110px; margin-bottom: 0; }
.label { display: inline-flex; align-items: center; gap: 16px; font: 650 12.5px/1.2 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 { font-size: clamp(2.1rem, 1.25rem + 2.7vw, 3.75rem); line-height: 1.04; letter-spacing: -.038em; max-width: 17ch; }
.lede { font-size: clamp(17px, .95rem + .3vw, 19.5px); line-height: 1.6; color: var(--ink-2); max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .head-row, .split { grid-template-columns: minmax(0, 1fr); }
  .head-row .lede { justify-self: start; }
  .split .head { position: static; }
}

/* ---------- buttons and links ---------- */
.btn { --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--bh); padding: 0 24px; border: 1px solid transparent; border-radius: 12px; background: none; font: 650 15.5px/1 var(--f); letter-spacing: -.01em; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background-color .3s var(--out), border-color .3s var(--out), color .3s, box-shadow .4s var(--out), transform .25s var(--out); }
.btn .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--out); }
.btn:hover .ar { transform: translateX(4px); }
.btn:active { transform: scale(.965); transition-duration: .08s; }
.btn:focus-visible { outline-offset: 4px; border-radius: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); box-shadow: 0 0 0 6px color-mix(in srgb, var(--btn) 13%, transparent), 0 18px 34px -16px rgba(0, 0, 0, .55); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: color-mix(in srgb, var(--ink) 4%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--line-3); background: color-mix(in srgb, var(--ink) 9%, transparent); }
.btn-sm { --bh: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat, linear-gradient(var(--line-3), var(--line-3)) 0 100% / 100% 1px no-repeat; transition: background-size .55s var(--out); }
.link:hover { background-size: 100% 1.5px, 100% 1px; }
.link .ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--out); }
.link:hover .ar { transform: translateX(3px); }

/* ---------- nav ---------- */
/* The glass must sit on .nav itself: its view-transition-name makes it a backdrop root, so a blurred child layer
   would blur nothing. The phone menu is sized explicitly because the glass makes .nav its containing block. */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); border-bottom: 1px solid transparent; view-transition-name: nav; transition: background-color .45s var(--out), border-color .45s, color .45s, translate .55s var(--out); }
.nav.stuck { background: color-mix(in srgb, var(--bg) 72%, transparent); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
:root[data-theme="light"] .nav.stuck { background: color-mix(in srgb, var(--bg) 95%, transparent); }
/* Out of the way while reading down the page; back the moment the reader scrolls up or tabs into it. */
.nav.away:not(:focus-within):not(:has(.menu[open])) { translate: 0 -100%; }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
/* The logo as the CEO supplied it: the white BC monogram on the brand teal circle (#115571). The wordmark is
   teal on light grounds and white on dark ones, where teal would fall below a readable contrast. */
.brand { display: flex; align-items: center; gap: 12px; flex: none; border-radius: 6px; --logo: #115571; }
.brand-badge { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--logo); }
.brand-mark, .brand-word { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.brand-mark { --m: url(/brand-mark.png); width: 17px; height: 13.1px; background: #fff; }
.brand-word { --m: url(/brand-word.png); width: 112px; height: 11.1px; }
.nav .btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
:root[data-theme="light"] .nav.stuck .brand-word, :root[data-theme="light"] .foot .brand-word { background: var(--logo); }
.nav-links { margin-inline: auto; }
.nav-links ul { display: flex; gap: 2px; }
.nav-links a { position: relative; display: block; padding: 10px 14px; font: 550 14.5px/1 var(--f); opacity: .78; transition: opacity .25s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--out); }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
@media (max-width: 1080px) { .nav-links + .nav-end { margin-left: auto; } }
.theme { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; transition: border-color .3s, background-color .3s, transform .25s var(--out); }
.theme:hover { border-color: var(--line-3); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.theme:active { transform: scale(.92); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme .moon, :root[data-theme="light"] .theme .sun { display: none; }
:root[data-theme="light"] .theme .moon { display: block; }
.menu { display: none; }
.menu summary { list-style: none; display: grid; place-content: center; gap: 8px; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; z-index: 2; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--out); }
.menu[open] summary span:first-child { transform: translateY(4.8px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4.8px) rotate(-45deg); }
.menu-panel { position: fixed; top: 0; left: 0; width: 100%; height: 100svh; z-index: -1; display: flex; flex-direction: column; gap: 32px; padding: calc(var(--nav-h) + 28px) var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--bg); overflow-y: auto; animation: fade .35s var(--out) both; }
.menu-panel ul { display: grid; }
.menu-panel li { border-bottom: 1px solid var(--line); animation: up .7s var(--out) both; animation-delay: calc(.06s + var(--i) * .06s); }
.menu-panel li a { display: flex; align-items: center; min-height: 68px; font: 650 30px/1.1 var(--f); letter-spacing: -.03em; }
.menu-cta { display: grid; gap: 12px; animation: up .7s var(--out) .32s both; }
.menu-cta .btn { width: 100%; }
.menu-foot { display: grid; gap: 8px; margin-top: auto; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1080px) {
  .nav-links, .nav-call { display: none; }
  .menu { display: block; }
}
@media (max-width: 600px) {
  :root { --nav-h: 56px; }
  .nav-end .btn { display: none; }
  .nav-in { gap: 8px; }
  .theme, .menu summary { width: 44px; height: 44px; }
  .brand { gap: 12px; }
  .brand-badge { width: 34px; height: 34px; }
  .brand-mark { width: 17px; height: 13.1px; }
  .brand-word { width: 110px; height: 10.9px; }
}
@media (max-width: 380px) { .brand-word { width: 96px; height: 9.5px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; height: 100svh; min-height: 680px; max-height: 1120px; display: flex; align-items: center; overflow: clip; }
.hero-grid { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(rgba(111, 194, 226, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 194, 226, .07) 1px, transparent 1px); background-size: 64px 64px; background-position: center; -webkit-mask: radial-gradient(ellipse 70% 80% at 32% 45%, #000 10%, transparent 75%); mask: radial-gradient(ellipse 70% 80% at 32% 45%, #000 10%, transparent 75%); animation: fade 1.2s var(--out) both; translate: calc(var(--mx, 0) * 4px) calc(var(--my, 0) * 4px); }
.hero-media { position: absolute; z-index: -2; top: 0; bottom: 0; right: 0; aspect-ratio: 1671 / 941; translate: 0 calc(var(--p, 0) * 16%); }
.hm { --wipe: 31%; position: absolute; inset: 0; transform: translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -8px), 0); animation: wipe 1.7s var(--io) 2s both; }
.hm > img, .hm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-frame { opacity: .95; clip-path: inset(calc(100% - var(--rise)) 0 0 0); animation: pour-up 1.6s var(--io) .8s both, step-back 1s var(--io) 3.4s forwards; }
.hm-built { -webkit-mask: linear-gradient(90deg, transparent var(--wipe), #000 calc(var(--wipe) + 17%), #000 93%, transparent); mask: linear-gradient(90deg, transparent var(--wipe), #000 calc(var(--wipe) + 17%), #000 93%, transparent); transform-origin: 62% 70%; opacity: calc(1 - var(--p, 0) * .7); animation: drift 26s ease-in-out 4s infinite alternate; }
.hm-edge { position: absolute; top: 4%; bottom: 8%; left: calc(var(--wipe) + 8%); width: 2px; pointer-events: none; background: linear-gradient(transparent, rgba(170, 228, 248, .95) 25%, rgba(170, 228, 248, .95) 75%, transparent); box-shadow: 0 0 26px 6px rgba(111, 194, 226, .35); opacity: 0; animation: edge 1.7s linear 2s both; }
.h-tag { position: absolute; left: 70.6%; top: 50%; width: 0; height: 0; }
.h-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(111, 194, 226, .5); scale: 0; animation: pop .5s var(--out) 3.7s forwards, ping 2.6s ease-out 4.4s infinite; }
.h-lead { position: absolute; left: 0; top: 0; width: 1px; height: 58px; background: linear-gradient(var(--accent), rgba(111, 194, 226, .25)); transform-origin: top; scale: 1 0; animation: grow-y .7s var(--io) 3.85s forwards; }
.h-card { position: absolute; left: -18px; top: 64px; width: 208px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(12, 20, 26, .74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); clip-path: inset(100% 0 0 0 round 16px); animation: unmask-up .8s var(--out) 4.2s forwards; }
.h-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.h-head span:last-child { font-weight: 550; color: var(--ink-3); }
.h-pct { font-size: 13.5px; color: var(--ink-2); }
.h-pct b { font-size: 26px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.h-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.h-card dt { font-size: 12px; color: var(--ink-3); }
.h-card dd { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .js:not(.go) .hm, .js:not(.go) .hm > img, .js:not(.go) .hm-edge, .js:not(.go) .h-tag * { animation-play-state: paused; } }
.hm-lines { fill: none; stroke: var(--blue); stroke-linecap: round; overflow: visible; translate: calc(var(--mx, 0) * -7px) calc(var(--my, 0) * -5px); filter: drop-shadow(0 0 5px rgba(111, 194, 226, .45)); -webkit-mask: linear-gradient(90deg, #000 36%, rgba(0, 0, 0, .3) 56%, rgba(0, 0, 0, .16)); mask: linear-gradient(90deg, #000 36%, rgba(0, 0, 0, .3) 56%, rgba(0, 0, 0, .16)); }
.hm-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--io) var(--d, 0s) forwards; }
.hm-lines .b1 { stroke-width: 2; }
.hm-lines .b2 { stroke-width: 1.4; opacity: .85; }
.hm-lines .b3 { stroke-width: 1; opacity: .55; }
.hm-lines .ext { stroke-width: 1; stroke-dasharray: 5 7; stroke-dashoffset: 0; opacity: 0; animation: show .9s var(--out) 1.6s forwards; }
.hm-lines .bub { opacity: 0; animation: show .9s var(--out) 1.8s forwards; }
.hm-lines .bub circle { fill: rgba(15, 24, 30, .7); stroke-width: 1.3; }
.hm-lines .bub text { fill: var(--blue); stroke: none; font: 500 15px var(--f-mono); text-anchor: middle; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(15, 24, 30, .9) 0%, rgba(15, 24, 30, .66) 30%, rgba(15, 24, 30, 0) 56%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 24, 30, 0) 20%), linear-gradient(180deg, rgba(15, 24, 30, .6) 0%, rgba(15, 24, 30, 0) 16%); }
.hero-copy { display: grid; gap: 24px; justify-items: start; padding-top: calc(var(--nav-h) * .6); translate: 0 calc(var(--p, 0) * -70px); opacity: calc(1 - var(--p, 0) * 1.5); }
.hero-copy .label { animation: unmask-right 1s var(--out) .15s backwards; }
.hero h1 { font-size: clamp(3rem, 1.3rem + 4.5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.ln { display: block; overflow: hidden; padding-bottom: .34em; margin-bottom: -.34em; }
.ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.15s var(--out) both; }
.ln:nth-child(1) > span { animation-delay: .28s; }
.ln:nth-child(2) > span { animation-delay: .38s; }
.ln:nth-child(3) > span { animation-delay: .48s; }
.ln:nth-child(4) > span { animation-delay: .58s; }
.dim { position: relative; }
.dim::after { content: ""; position: absolute; left: .02em; right: .06em; bottom: -.27em; height: .16em; border-inline: 2px solid var(--accent); background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat; transform: scaleX(0); transform-origin: left; animation: grow 1.1s var(--io) 1.35s forwards; }
.hero .lede { max-width: 33em; animation: unmask-down 1.1s var(--out) .8s backwards; }
.hero .actions { animation: unmask-up .9s var(--out) 1s backwards; }
.proof { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ink-2); font-size: 14.5px; font-weight: 550; animation: unmask-right 1s var(--out) 1.2s backwards; }
.proof li { display: flex; align-items: center; gap: 12px; }
.proof li::before { content: ""; width: 11px; height: 11px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat; }
.hero-price { position: absolute; right: var(--gut); bottom: clamp(28px, 5vh, 52px); display: grid; grid-template-columns: auto auto; align-items: end; gap: 4px 16px; padding: 16px 18px 16px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); animation: up 1s var(--out) 2.5s both; transition: border-color .3s, transform .45s var(--out); }
.hero-price span { grid-column: 1; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hero-price b { grid-column: 1; font-size: 30px; line-height: 1; letter-spacing: -.035em; font-variant-numeric: proportional-nums lining-nums; }
.hero-price small { font-size: 15px; font-weight: 550; color: var(--ink-2); margin-left: 2px; letter-spacing: 0; }
.hero-price .ar { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--btn); stroke: var(--btn-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--out); }
.hero-price:hover { border-color: var(--line-3); transform: translateY(-3px); }
.hero-price:hover .ar { transform: rotate(-45deg); }
.hero-cue { position: absolute; left: 50%; bottom: 26px; width: 30px; height: 56px; margin-left: -15px; display: grid; justify-items: center; animation: fade 1s 2.8s both; }
.hero-cue i { position: relative; width: 1px; height: 100%; background: var(--line-2); overflow: hidden; }
.hero-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s var(--io) infinite; }
@media (max-height: 780px) and (min-width: 761px) { .hero h1 { font-size: clamp(2.6rem, 1rem + 3.4vw, 4.3rem); } .hero-copy { gap: 24px; } }
@media (max-width: 1200px) and (min-width: 761px) { .hero-media { right: auto; left: 66%; transform: translateX(-56.4%); } .hero-cue { display: none; } }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 100svh; max-height: none; align-items: flex-start; padding-bottom: 350px; }
  .hero-media { top: auto; bottom: 0; height: min(56svh, 470px); right: auto; left: 56%; transform: translateX(-56.4%); }
  .hm { --wipe: 30%; }
  .h-tag { display: none; }
  .hero-copy { gap: 24px; padding-top: calc(var(--nav-h) + 36px); }
  .hero-scrim { background: linear-gradient(180deg, rgba(15, 24, 30, .9) 0%, rgba(15, 24, 30, .84) 46%, rgba(15, 24, 30, .1) 68%, rgba(15, 24, 30, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 24, 30, 0) 14%); }
  .hero .actions { width: 100%; }
  .hero .actions .btn { flex: 1 1 140px; padding-inline: 16px; }
  .proof { display: none; }
  .hero-price { left: var(--gut); right: auto; bottom: 24px; }
  .hero-cue { display: none; }
}

/* ---------- story: one building, built by the scroll ---------- */
/* home.js eases the section's scroll progress into --sp (0 to 1). --k (0 to 4) is the stage clock that every
   layer, the copy and the rail read, so nothing can drift apart and scrolling back plays the build in reverse.
   The frame and finished renders share one camera; the blueprint and the money overlays are traced from it. */
.story {
  position: relative; height: 470svh;
  --k: calc(var(--sp, 0) * 4);
  --lift: clamp(0, calc((var(--k) - .72) / .95), 1); /* not --rise: that one is registered as a percentage for the hero */
  --clad: clamp(0, calc((var(--k) - 1.78) / 1), 1);
  --four: clamp(0, calc((var(--k) - 3) / .55), 1);
}
.story-pin { position: sticky; top: 0; height: 100svh; overflow: clip; }
.st-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(111, 194, 226, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 194, 226, .07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse 75% 85% at 58% 50%, #000 15%, transparent 78%); mask: radial-gradient(ellipse 75% 85% at 58% 50%, #000 15%, transparent 78%); opacity: calc(1 - var(--clad) * .7); }
/* Framed exactly like the hero, so the blueprint draws where the hero building stood. */
.st-stage { position: absolute; top: 0; bottom: 0; right: 0; aspect-ratio: 1671 / 941; }
@media (max-width: 1200px) { .st-stage { right: auto; left: 66%; transform: translateX(-56.4%); } .st-tags { display: none; } }
/* The camera barely moves: a slow settle through the build, then a small step left to make room for the schedule. */
.st-cam { position: absolute; inset: 0; transform-origin: 62% 58%; transform: scale(calc(1.05 - clamp(0, var(--k), 3) * .0167)); will-change: transform; }
.st-cam > img, .st-art, .st-dim { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The finished building, faint and grey, under the blueprint: the traced roofline then reads as this building seen from street level. */
.st-ghost { filter: grayscale(1) brightness(.75); opacity: calc(.2 * (1 - var(--lift))); }
.st-frame { clip-path: inset(calc((1 - var(--lift)) * 100%) 0 0 0); }
.st-built { -webkit-mask: linear-gradient(90deg, transparent calc((1 - var(--clad)) * 122% - 22%), #000 calc((1 - var(--clad)) * 122%)); mask: linear-gradient(90deg, transparent calc((1 - var(--clad)) * 122% - 22%), #000 calc((1 - var(--clad)) * 122%)); }
/* The concrete is poured upward behind a warm work-light line; the glazing sweeps across behind a cool one. */
.st-pour, .st-edge { position: absolute; pointer-events: none; }
.st-pour { left: 12%; right: 6%; top: calc((1 - var(--lift)) * 100%); height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 196, 128, .95) 30%, rgba(255, 196, 128, .95) 70%, transparent); box-shadow: 0 0 22px 5px rgba(255, 170, 90, .35); opacity: calc(var(--lift) * (1 - var(--lift)) * 4); }
.st-edge { top: 3%; bottom: 7%; left: calc((1 - var(--clad)) * 122% - 11%); width: 2px; background: linear-gradient(transparent, rgba(170, 228, 248, .95) 25%, rgba(170, 228, 248, .95) 75%, transparent); box-shadow: 0 0 26px 6px rgba(111, 194, 226, .35); opacity: calc(var(--clad) * (1 - var(--clad)) * 4); }
.st-dim { background: linear-gradient(90deg, rgba(15, 24, 30, .55), rgba(15, 24, 30, .28) 45%, rgba(15, 24, 30, .5)); opacity: calc(var(--four) * .9); }
.st-art { overflow: visible; }
.st-lines { opacity: calc(1 - clamp(0, calc((var(--k) - 1.7) / .8), 1) * .8); }
.st-lines path { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc((var(--k) - var(--o) * .6) / .3), 1)); }
.st-lines .b1 { stroke-width: 2; }
.st-lines .b2 { stroke-width: 1.4; opacity: .85; }
.st-lines .b3 { stroke-width: 1; opacity: .55; }
/* Schedule of values tags: budgets in the blueprint, percent complete at the end, gathered into the WIP panel. */
.st-tags text, .val text { font-family: var(--f); paint-order: stroke; stroke: rgba(10, 16, 20, .82); stroke-width: 6px; stroke-linejoin: round; }
.st-tags g { --tv: calc(clamp(0, calc((var(--k) - .42 - var(--i) * .07) * 5), 1) * (1 - clamp(0, calc((var(--k) - 1.3) * 5), 1))); opacity: var(--tv); }
.t-lead { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--tv)); opacity: .8; }
.t-dot { fill: var(--accent); }
.t-name { font-size: 21px; font-weight: 700; fill: var(--ink); }
.t-b { font-size: 20px; font-weight: 550; fill: var(--ink-2); }
@media (max-height: 560px) { .st-tags { display: none; } }
/* Earned and billed as levels on the facade: the building fills to what is earned; the gap is the over or under. */
.v-fill { fill: rgba(111, 194, 226, .2); transform-box: view-box; transform-origin: 942px 855px; transform: scaleY(var(--four)); }
.v-gap { fill: rgba(233, 190, 121, .42); opacity: clamp(0, calc((var(--k) - 3.5) * 4), 1); }
.v-earn, .v-bill { fill: none; stroke-width: 2.6; stroke-dasharray: 1; }
.v-earn { stroke: var(--accent); stroke-dashoffset: calc(1 - clamp(0, calc((var(--k) - 3.4) / .3), 1)); }
.v-bill { stroke: var(--brass); stroke-dashoffset: calc(1 - clamp(0, calc((var(--k) - 3.5) / .3), 1)); }
.v-labels { opacity: clamp(0, calc((var(--k) - 3.6) * 4), 1); }
.v-labels text { font-size: 20px; font-weight: 750; }
.v-e { fill: var(--accent); } .v-b { fill: var(--brass); } .v-g { fill: var(--under); }

.story-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(15, 24, 30, .93) 0%, rgba(15, 24, 30, .7) 32%, rgba(15, 24, 30, 0) 58%), linear-gradient(0deg, rgba(15, 24, 30, .85) 0%, rgba(15, 24, 30, 0) 26%), linear-gradient(180deg, var(--bg) 0%, rgba(15, 24, 30, 0) 16%); }
.story-ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 500px) 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding-top: calc(var(--nav-h) + 2.5vh); padding-bottom: clamp(20px, 3.5vh, 36px); }
.story-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.story-head .h2 { font-size: clamp(15px, .8rem + .3vw, 17px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); max-width: none; }
/* The copy for each stage reads the same clock: it rises in through a mask, holds, then leaves upward. */
.story-steps { grid-column: 1; grid-row: 2; align-self: center; display: grid; }
.story-steps > li { grid-area: 1 / 1; display: grid; gap: 16px; align-content: start; --in: clamp(0, calc((var(--k) - var(--i) + .1) / .16), 1); --leave: clamp(0, calc((var(--k) - var(--i) - .8) / .16), 1); opacity: calc(var(--in) * (1 - var(--leave))); translate: 0 calc((1 - var(--in)) * 34px - var(--leave) * 34px); pointer-events: none; }
.story-steps > li.cur { pointer-events: auto; }
.story-steps > li:nth-child(1) { --i: 0; --in: 1; }
.story-steps > li:nth-child(2) { --i: 1; } .story-steps > li:nth-child(3) { --i: 2; }
.story-steps > li:nth-child(4) { --i: 3; --leave: 0; } /* not --out: that name is the easing token */
.story-steps h3 { clip-path: inset(0 0 calc((1 - var(--in)) * 100%) 0); }
.sn { display: flex; align-items: center; gap: 12px; font: 700 13px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.sn span { color: var(--ink-2); }
.story-steps h3 { font-size: clamp(1.9rem, 1.1rem + 2vw, 2.8rem); line-height: 1.04; letter-spacing: -.04em; padding-bottom: .06em; }
.story-steps li > p:not(.sn) { color: var(--ink-2); font-size: clamp(16px, .9rem + .25vw, 18px); max-width: 40ch; }
.art { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(12, 20, 26, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); max-width: 400px; }
.art header { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.art-sub { font-size: 14px; color: var(--ink-2); }
.art .meta { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.mix { display: grid; gap: 8px; }
.mix li { display: grid; grid-template-columns: 112px 1fr 40px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.mix i { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.mix i::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(calc(var(--w) * clamp(0, calc((var(--k) - 1.05) * 3), 1) / .34)); }
.mix b, .rows dd, .sums dd { font-variant-numeric: tabular-nums; }
.mix b { text-align: right; color: var(--ink); font-weight: 650; }
.rows { display: grid; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rows div:first-child { border-top: 0; }
.rows dt { color: var(--ink-2); }
.rows dd { font-weight: 700; }
.sums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.sums dt { font-size: 12.5px; color: var(--ink-2); }
.sums dd { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sums .ou dd { color: var(--under); }
.rail { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.rail span { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.rail b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rail i { grid-column: 1 / -1; position: relative; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rail i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(clamp(0, calc(var(--k) - var(--i)), 1)); }
html:not(.js) .story { height: auto; --sp: 1; }
html:not(.js) .story-pin { position: relative; height: auto; }
html:not(.js) .story-ui { height: auto; padding-block: 120px 64px; }
html:not(.js) .story-steps { gap: 40px; }
html:not(.js) .story-steps > li { grid-area: auto; opacity: 1; translate: none; }
html:not(.js) .story-steps h3 { clip-path: none; }
@media (max-height: 760px) and (min-width: 901px) {
  .story-ui { padding-top: calc(var(--nav-h) + 6px); gap: 12px; }
  .story-steps > li { gap: 12px; }
  .story-steps h3 { font-size: clamp(1.6rem, 1rem + 1.5vw, 2.2rem); }
  .story-steps li > p:not(.sn) { font-size: 15.5px; line-height: 1.5; }
  .art { padding: 12px 14px; gap: 8px; }
  .sums dd { font-size: 17px; }
  .rows div { padding: 5px 0; }
  .mix { gap: 8px; }
}
@media (max-height: 640px) and (min-width: 901px) {
  .story-ui { padding-top: calc(var(--nav-h) + 4px); gap: 12px; padding-bottom: 16px; }
  .story-steps > li { gap: 8px; }
  .story-steps h3 { font-size: clamp(1.45rem, .9rem + 1.2vw, 1.9rem); }
  .story-steps li > p:not(.sn) { font-size: 15px; line-height: 1.45; }
  .art { padding: 10px 12px; gap: 8px; }
  .art-sub, .mix li, .rows div { font-size: 13px; }
  .sums { gap: 8px 16px; }
  .sums dd { font-size: 15.5px; }
}
@media (max-width: 900px) {
  .st-stage { left: 56%; }
  .v-labels { display: none; }
  .story-shade { background: linear-gradient(0deg, rgba(15, 24, 30, .96) 0%, rgba(15, 24, 30, .84) 44%, rgba(15, 24, 30, .1) 66%), linear-gradient(180deg, var(--bg) 0%, rgba(15, 24, 30, .5) 20%, rgba(15, 24, 30, 0) 36%); }
  .story-ui { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .story-steps { align-self: end; }
  .story-steps h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.2rem); }
  .story-steps li > p:not(.sn) { font-size: 15.5px; line-height: 1.5; }
  .art { padding: 12px 14px; gap: 8px; }
  .rail span { font-size: 0; gap: 8px; }
  .rail b { font-size: 12.5px; }
}
@media (max-width: 900px) and (max-height: 720px) { .story-steps .art { display: none; } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(48px, 8vw, 128px); align-items: start; }
.svc-side { position: sticky; top: 110px; }
.svc-side .head { margin-bottom: 0; }
.stack { position: relative; height: clamp(320px, 30vw, 430px); margin-top: 52px; }
.stack > div { position: absolute; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2); }
.stack img { width: 100%; height: 100%; object-fit: cover; }
.stack-back { inset: 0 24% 22% 0; translate: 0 calc((var(--p, .5) - .5) * 40px); }
.stack-back img { opacity: .9; }
.stack-photo { inset: 24% 0 0 32%; box-shadow: var(--shadow); translate: 0 calc((var(--p, .5) - .5) * -40px); }
.stack-card { left: 5%; bottom: 7%; width: min(260px, 64%); padding: 18px 20px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow); translate: 0 calc((var(--p, .5) - .5) * -110px); }
.stack-t { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.stack-card li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14.5px; font-weight: 600; border-top: 1px solid var(--line); }
.stack-card li:first-child { border-top: 0; }
.stack-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); flex: none; }
.svc-list { counter-reset: svc; }
.svc-list li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--out); }
.svc-list li:hover::before { transform: scaleX(1); }
.svc-n { font-size: 14px; font-weight: 700; color: var(--accent); padding-top: 7px; font-variant-numeric: tabular-nums; }
.svc-list h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 10px; transition: translate .6s var(--out); }
.svc-list li:hover h3 { translate: 6px 0; }
.svc-list p { color: var(--ink-2); max-width: 46ch; }
.svc-list li:nth-child(2) { --k: 1; } .svc-list li:nth-child(3) { --k: 2; } .svc-list li:nth-child(4) { --k: 3; } .svc-list li:nth-child(5) { --k: 4; } .svc-list li:nth-child(6) { --k: 5; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-side { position: static; }
  .svc-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 26px 0; }
}

/* ---------- construction types: editorial photo grid ---------- */
.tgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tcard { grid-column: span 4; height: 380px; }
.tcard:nth-child(-n+2), .tcard:nth-last-child(-n+2) { grid-column: span 6; height: 440px; }
.tcard a { position: relative; display: block; height: 100%; overflow: hidden; isolation: isolate; border-radius: 20px; color: #fff; background: #0F181E; transition: filter .7s var(--out), transform .6s var(--out); }
.tcard a:focus-visible { outline-offset: 4px; border-radius: 20px; }
.tc-img { position: absolute; inset: 0; z-index: -1; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.6s var(--out); }
.tc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 20, .08) 22%, rgba(10, 16, 20, .66) 56%, rgba(10, 16, 20, .93) 100%); }
.tc-body { position: absolute; inset: auto 0 0; padding: 26px 28px; display: grid; gap: 8px; translate: 0 64px; transition: translate .8s var(--out); }
.tc-n { font-size: 13px; font-weight: 700; color: #D2EDF8; font-variant-numeric: tabular-nums; }
.tcard h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.95rem); line-height: 1.1; letter-spacing: -.03em; }
.tc-blurb { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.tc-spec { display: grid; gap: 2px; height: 56px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 16px; font-weight: 650; opacity: 0; transition: opacity .5s var(--out); }
.tc-spec span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FD6EC; }
.tc-go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 24, 30, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .4s, border-color .4s; }
.tc-go .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--out); }
.tcard a:hover .tc-img img, .tcard a:focus-visible .tc-img img { transform: scale(1.09); }
.tcard a:hover .tc-body, .tcard a:focus-visible .tc-body { translate: 0 0; }
.tcard a:hover .tc-spec, .tcard a:focus-visible .tc-spec { opacity: 1; transition-delay: .12s; }
.tcard a:hover .tc-go { background: #F4F2EE; border-color: #F4F2EE; color: #0F181E; }
.tcard a:hover .tc-go .ar { transform: rotate(-45deg); }
.tcard a:active { transform: scale(.985); }
@media (hover: hover) { .tgrid:has(a:hover) .tcard a:not(:hover) { filter: brightness(.62) saturate(.75); } }
@media (hover: none) { .tc-body { translate: 0 0; } .tc-spec { display: none; } }
@media (max-width: 1100px) {
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard, .tcard:nth-child(n) { grid-column: span 1; height: 360px; }
}
@media (max-width: 760px) {
  .tgrid { gap: 12px; }
  .tcard, .tcard:nth-child(n) { height: 250px; }
  .tcard a { border-radius: 16px; }
  .tc-body { padding: 16px; gap: 4px; translate: 0 0; }
  .tc-blurb { display: none; }
  .tcard h3 { font-size: 17px; letter-spacing: -.02em; }
  .tc-go { top: 12px; right: 12px; width: 36px; height: 36px; }
  .tc-go .ar { width: 15px; height: 15px; }
}

/* ---------- process ---------- */
.proc { --fill: clamp(0, calc((var(--p, 1) - .28) * 2.6), 1); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 52px; }
.proc::before, .proc::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
.proc::after { background: var(--accent); height: 2px; top: 5.5px; transform-origin: left; transform: scaleX(var(--fill)); }
.proc li { --on: clamp(0, calc((var(--fill) - var(--i) / 4) * 14), 1); position: relative; display: grid; gap: 12px; align-content: start; }
.node { position: absolute; top: -52px; left: 0; z-index: 1; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line-3); background: var(--bg); }
.node::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); opacity: var(--on); scale: calc(.4 + var(--on) * .6); }
.proc-n { font-size: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); font-weight: 750; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-3); }
.proc li .proc-n { color: color-mix(in srgb, var(--ink) calc(var(--on) * 100%), transparent); -webkit-text-stroke-color: color-mix(in srgb, var(--line-3) calc(100% - var(--on) * 100%), transparent); }
.proc h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.proc p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) {
  .proc { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0 0 0 40px; }
  .proc::before, .proc::after { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .proc::after { width: 2px; left: 5.5px; transform-origin: top; transform: scaleY(var(--fill)); }
  .node { top: 4px; left: -40px; }
}

/* ---------- over and under billing tool ---------- */
.wip { background: var(--bg-2); }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.tool-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: clamp(24px, 4vw, 44px); align-content: start; }
.money { display: grid; gap: 8px; align-content: start; }
.money label { font-size: 14.5px; font-weight: 650; }
.money small { display: block; font-size: 13px; font-weight: 450; color: var(--ink-3); }
.money > div { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-3); font-weight: 600; }
.money input { width: 100%; height: 58px; padding: 0 16px 0 32px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 20px; font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: border-color .25s, box-shadow .3s var(--out); }
.money input:hover { border-color: var(--line-3); }
.money input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.tool-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.tool-tag { grid-column: 1 / -1; margin-bottom: -10px; }
.tool-tag[hidden] { display: none; }
.tool-out { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 24px 24px; align-content: start; padding: clamp(24px, 4vw, 44px); border-left: 1px solid var(--line); background: var(--bg-3); }
.gauge { width: 112px; height: 112px; }
.gauge svg { width: 100%; height: 100%; rotate: -90deg; }
.gauge circle { fill: none; stroke-width: 9; }
.g-track { stroke: var(--line); }
.g-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--v, 0)); transition: stroke-dashoffset 1s var(--out); }
.out-pct { align-self: center; display: grid; }
.out-pct b { font-size: clamp(3rem, 2.2rem + 2vw, 4.4rem); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.out-pct span { color: var(--ink-2); font-weight: 600; }
.out-bars { grid-column: 1 / -1; display: grid; gap: 12px; }
.out-bar { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.out-bar i { position: relative; height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.out-bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform .9s var(--out); }
.out-bar.billed i::after { background: var(--brass); }
.out-dl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.out-dl div { padding: 14px 16px; background: var(--bg-3); }
.out-dl dt { font-size: 13px; color: var(--ink-2); }
.out-dl dd { font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.out-dl .ou.under dd { color: var(--under); }
.out-dl .ou.over dd { color: var(--over); }
.out-say { grid-column: 1 / -1; color: var(--ink-2); font-size: 15.5px; }
.out-say.err { color: var(--bad); }
@media (max-width: 900px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .tool-out { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .tool-in { grid-template-columns: minmax(0, 1fr); }
  .gauge { width: 84px; height: 84px; }
  .out-dl dd { font-size: 16.5px; }
}

/* ---------- price ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(48px, 7vw, 112px); align-items: center; }
.price-grid .head { margin-bottom: 0; }
.six { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: six; margin: 6px 0 10px; }
.six li { counter-increment: six; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; }
.six li::before { content: counter(six); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-size: 12px; font-weight: 700; }
.calc { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line-2); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.calc-rev { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-rev label { font-weight: 650; color: var(--ink-2); }
.calc-rev output { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.range { --v: .5; width: 100%; height: 36px; margin: 14px 0 22px; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), var(--line-2) 0); }
.range::-moz-range-track { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), var(--line-2) 0); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--btn); border: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 24%, transparent), 0 6px 14px rgba(0, 0, 0, .35); transition: scale .25s var(--out), box-shadow .3s; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--btn); border: 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 24%, transparent); }
.range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 24%, transparent), 0 6px 14px rgba(0, 0, 0, .35); }
.range:active::-webkit-slider-thumb { scale: 1.12; }
.range:focus-visible { outline-offset: 6px; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pack { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .3s, transform .5s var(--out); }
.pack:hover { border-color: var(--line-3); transform: translateY(-3px); }
.pack.pop { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.pack h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; letter-spacing: -.02em; }
.pack h3 em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pack-p { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pack-p small { font-size: 14px; font-weight: 550; color: var(--ink-2); letter-spacing: 0; margin-left: 2px; }
.pack p:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.calc-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .packs { grid-template-columns: minmax(0, 1fr); } .pack { grid-template-columns: 1fr auto; align-items: baseline; } .pack p:last-child { grid-column: 1 / -1; } }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(48px, 7vw, 112px); align-items: start; }
.faq-grid .head { position: sticky; top: 110px; margin-bottom: 0; }
.qa details { border-top: 1px solid var(--line-2); }
.qa details:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 0; font-size: clamp(17px, 1rem + .35vw, 20px); font-weight: 650; letter-spacing: -.02em; cursor: pointer; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .5s var(--out), background-color .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 1px; transition: transform .5s var(--out); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i { transform: rotate(180deg); background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: transparent; }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa details::details-content { height: 0; overflow: clip; transition: height .5s var(--out), content-visibility .5s allow-discrete; }
.qa details[open]::details-content { height: auto; }
.qa details > div { padding: 0 56px 26px 0; color: var(--ink-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-grid .head { position: static; } .qa details > div { padding-right: 0; } }

/* ---------- closing call ---------- */
.close { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(120px, 15vw, 210px); text-align: center; }
.close-media { position: absolute; inset: -10% 0; z-index: -2; }
.close-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .5; translate: 0 calc((var(--p, .5) - .5) * -12%); scale: 1.08; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(15, 24, 30, .55), rgba(15, 24, 30, .92)), linear-gradient(180deg, var(--bg) 0%, rgba(15, 24, 30, 0) 22%, rgba(15, 24, 30, 0) 78%, var(--bg) 100%); }
.close-in { display: grid; justify-items: center; gap: 24px; }
.close .h2 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.8rem); max-width: 14ch; }
.close .lede { max-width: 44ch; }
.close .actions { justify-content: center; }
.close .label::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(72px, 8vw, 104px) 0 32px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-about { display: grid; gap: 24px; align-content: start; }
.foot-about p { color: var(--ink-2); font-size: 15.5px; max-width: 40ch; }
.foot-col h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 4px; }
.foot-col a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--ink-2); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat; transition: color .25s, background-size .5s var(--out); }
.foot-col a:hover { color: var(--ink); background-size: 100% 1px; }
/* Footer, every page: the wordmark is assembled by a miniature construction site as you scroll (static/assembly.js).
   The section is tall so the scroll has room; its inner frame holds still while the ten letters are set in place. The
   letters are enormous; the machinery is drawn small and line-thin beside them. */
.asm { position: relative; height: 380vh;
  --m: #C99A3E; --m-2: #9C7630; --m-3: #1B2A33; --cable: #B8C9CF; --hook: #D9E4E8; --lamp: #FFC56B;
  --ghost: rgba(124, 200, 234, .2); --edge: #9FDCF2; --drop: rgba(0, 0, 0, .45); }
:root[data-theme="light"] .asm { --m: #B8862C; --m-2: #8C6824; --m-3: #2B3B45; --cable: #6F8189; --hook: #55666E; --lamp: #E09A30;
  --ghost: rgba(17, 85, 113, .24); --edge: #115571; --drop: rgba(17, 27, 34, .2); }
.asm-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: flex-end; padding-bottom: 12svh; overflow: clip; }
.asm-stage { position: relative; --fs: clamp(44px, 13.6vw, 196px); padding-top: calc(var(--fs) * 1.5); padding-bottom: calc(var(--fs) * .16); }
.asm-word { display: flex; justify-content: space-between; margin: 0; font-size: var(--fs); font-weight: 800; line-height: .86; letter-spacing: -.01em; user-select: none; }
.asm-word span { display: block; }
.asm-ghost span { color: transparent; -webkit-text-stroke: 1px var(--ghost); }
.asm-real { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--fs) * .16); }
.asm-real span { position: relative; color: transparent; opacity: var(--on, 0); will-change: transform;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--edge) calc(40% + 60% * var(--flash, 0)), var(--line-3));
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--ink) 6%, transparent)); -webkit-background-clip: text; background-clip: text; }
/* Once a letter is set down it takes its settled fill. */
.asm-real span::after { content: attr(data-l); position: absolute; inset: 0; color: transparent; opacity: var(--land, 0);
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--ink) 12%, transparent)); -webkit-background-clip: text; background-clip: text; }
.asm-rig { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.asm-rig stop { stop-color: var(--lamp); }
.m-body { fill: var(--m); }
.m-shade { fill: var(--m-2); }
.m-dark { fill: var(--m-3); }
.m-glass { fill: color-mix(in srgb, var(--edge) 40%, transparent); }
.m-line, .m-thin { fill: none; stroke: var(--m); vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.m-line { stroke-width: 1.3; }
.m-thin { stroke-width: .8; opacity: .8; }
.m-cable { stroke: var(--cable); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-hook { fill: var(--hook); }
.m-light, .a-lamp { fill: var(--lamp); }
.m-glow, .a-lampglow { fill: url(#asm-glow); }
.a-ground { stroke: var(--line-2); stroke-width: 1; }
.a-shadow { fill: var(--drop); filter: blur(6px); }
.a-mark { fill: none; stroke: var(--edge); stroke-width: 1.2; }
@media (max-width: 760px) { .asm { height: 280vh; } .asm-pin { align-items: center; padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .asm { height: auto; } .asm-pin { position: relative; height: auto; padding-block: 56px 32px; } .asm-stage { padding-top: calc(var(--fs) * .2); } .asm-rig .mach { display: none; } }
/* Reduced motion: the pinned story becomes a still page (finished building, all four stages in reading order) and the
   process line is drawn in full, so nothing on the site moves with the scroll. */
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; --sp: 1 !important; }
  .story-pin { position: relative; height: auto; }
  .story-ui { height: auto; padding-block: calc(var(--nav-h) + 48px) 64px; }
  .story-steps { gap: 40px; }
  .story-steps > li { grid-area: auto; opacity: 1; translate: none; pointer-events: auto; }
  .story-steps h3 { clip-path: none; }
  .proc { --fill: 1; }
  .story .v-labels { display: none; } /* at this tall size they would sit behind the copy; the card carries the figures */
}
.foot-base { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot { padding-bottom: 104px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- phone dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 104px; } /* keeps focused controls clear of the dock */
  .dock { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line-2); border-radius: 20px; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); translate: 0 calc(100% + 40px); transition: translate .6s var(--out); }
  .dock .btn { width: 100%; }
  body.past .dock { translate: 0 0; }
  body:has(.menu[open]) .dock, body.pinned .dock { translate: 0 calc(100% + 40px); }
  body .dock:focus-within { translate: 0 0; }
  body[data-page="get-started"] .dock { display: none; }
}

/* ---------- page headers ---------- */
.phero { position: relative; isolation: isolate; overflow: clip; min-height: min(88svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 64px) 0 clamp(56px, 7vw, 88px); }
.phero-sm { min-height: 0; padding-top: calc(var(--nav-h) + clamp(64px, 9vw, 120px)); padding-bottom: clamp(120px, 12vw, 160px); }
.phero-full { min-height: 100svh; justify-content: center; padding-bottom: 64px; }
.ph-media { position: absolute; inset: 0; z-index: -2; }
.ph-img { position: absolute; inset: 0; translate: 0 calc(var(--p, 0) * 22%); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--out) both; }
.phero-sm .ph-img img { object-position: 82% 50%; opacity: .7; }
.ph-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 24, 30, .92) 0%, rgba(15, 24, 30, .7) 42%, rgba(15, 24, 30, .25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 24, 30, .6) 22%, rgba(15, 24, 30, 0) 55%), linear-gradient(180deg, rgba(15, 24, 30, .7) 0%, rgba(15, 24, 30, 0) 24%); }
.ph-in { display: grid; gap: 24px; justify-items: start; }
.ph-in > * { animation: up 1s var(--out) both; }
.ph-in > :nth-child(2) { animation-delay: .1s; } .ph-in > :nth-child(3) { animation-delay: .22s; } .ph-in > :nth-child(4) { animation-delay: .34s; } .ph-in > :nth-child(5) { animation-delay: .46s; }
.phero h1 { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.045em; max-width: 15ch; font-weight: 750; }
.phero-sm h1 { max-width: 18ch; }
.phero .lede { max-width: 44ch; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.crumb a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--out); }
.crumb a:hover { background-size: 100% 1px; }
.glance { position: absolute; right: var(--gut); bottom: clamp(56px, 7vw, 88px); width: min(400px, 34vw); padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); animation: up 1.1s var(--out) .55s both; }
.glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.glance dl > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; } /* label rows and value rows line up across columns */
.glance dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.glance dd { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.glance small { font-size: 13px; color: var(--ink-2); font-weight: 550; }
@media (max-width: 1100px) {
  .glance { position: relative; right: auto; bottom: auto; width: auto; margin: 36px var(--gut) 0; max-width: 520px; }
}
@media (max-width: 760px) { .phero { min-height: 0; padding-top: calc(var(--nav-h) + 120px); } .phero-sm { padding-top: calc(var(--nav-h) + 56px); } }

/* ---------- construction type pages ---------- */
/* Balanced rows whatever the count: five cards sit two wide over three, four sit two by two, six sit three by three. */
.specs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1001px) {
  .specs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .spec { grid-column: span 2; }
  .spec:first-child:nth-last-child(5), .spec:first-child:nth-last-child(5) + .spec, .spec:first-child:nth-last-child(4), .spec:first-child:nth-last-child(4) ~ .spec { grid-column: span 3; }
}
.spec { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color .4s, transform .7s var(--out), box-shadow .7s var(--out); transition-delay: calc(var(--k, 0) * 60ms); }
.spec:hover { border-color: var(--line-3); transform: translateY(-4px); box-shadow: var(--shadow); transition-delay: 0s; }
.spec-n { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.spec-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.spec h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.025em; }
.spec p:last-child { color: var(--ink-2); font-size: 16px; }
@media (min-width: 641px) and (max-width: 1000px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }
.sched table { width: 100%; border-collapse: collapse; }
.sched th, .sched td { text-align: left; vertical-align: top; padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line-2); }
.sched thead th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 0; }
.sched tbody td:first-child { width: 44px; color: var(--accent); font-weight: 700; font-size: 14px; padding-top: 23px; font-variant-numeric: tabular-nums; }
.sched tbody th { font-size: 18px; font-weight: 700; letter-spacing: -.02em; width: 38%; }
.sched tbody td:last-child { color: var(--ink-2); }
.sched tbody tr { transition: background-color .3s; }
.sched tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
@media (max-width: 560px) { .sched thead { display: none; } .sched tbody tr { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-2); } .sched th, .sched td { border: 0; padding: 0; width: auto !important; } .sched tbody td:first-child { padding-top: 3px; grid-row: span 2; } }
.taxrows { display: grid; }
.taxrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.taxrow:last-child { border-bottom: 1px solid var(--line-2); }
.taxfig { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 750; letter-spacing: -.045em; line-height: 1; font-variant-numeric: proportional-nums lining-nums; }
.taxlabel { margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.taxrow h3 { font-size: 1.35rem; letter-spacing: -.025em; margin-bottom: 10px; }
.taxrow p:last-child { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 760px) { .taxrow { grid-template-columns: minmax(0, 1fr); padding: 32px 0; } }
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.others a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 16px; font-weight: 650; transition: border-color .3s, background-color .3s; }
.others a:hover { border-color: var(--line-3); background: var(--surface); }
.om-img { display: block; width: 72px; height: 56px; border-radius: 10px; overflow: hidden; }
.om-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out); }
.others a:hover .om-img img { transform: scale(1.12); }
.others .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); transition: transform .45s var(--out), color .3s; }
.others a:hover .ar { transform: translateX(4px); color: var(--ink); }
@media (max-width: 1000px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .others { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pricing flow ---------- */
.pf-section, .form-section { padding-top: 0; }
.pf { position: relative; z-index: 2; margin-top: -88px; padding: clamp(22px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.pf-count { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pf-count span:last-child { color: var(--accent); }
.pf-bar { height: 3px; margin: 14px 0 18px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transition: transform .8s var(--out); }
.pf-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.pf-steps li, .pf-steps button { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pf-steps button { padding: 0; border: 0; background: none; text-align: left; color: var(--ink-2); }
.pf-steps button:hover .t { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pf-steps .n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; transition: background-color .4s, border-color .4s, color .4s; }
.pf-steps .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-steps .done .n { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: transparent; color: var(--accent); }
.pf-steps .cur { color: var(--ink); }
.pf-steps .cur .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
@media (max-width: 860px) { .pf-steps .t { display: none; } .pf-steps .cur .t { display: block; } .pf-steps { grid-template-columns: repeat(var(--n), auto); justify-content: start; gap: 8px; } }
.pf-stage.fwd > * { animation: pf-fwd .6s var(--out) both; }
.pf-stage.back > * { animation: pf-back .6s var(--out) both; }
.pf-stage > :nth-child(2) { animation-delay: .04s; } .pf-stage > :nth-child(3) { animation-delay: .08s; } .pf-stage > :nth-child(4) { animation-delay: .12s; } .pf-stage > :nth-child(5) { animation-delay: .16s; }
.pf-stage h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.pf-stage h2:focus { outline: none; }
.pf-sub { margin: 10px 0 28px; color: var(--ink-2); }
.pf-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pf-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-opts.pills { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pf-opt { position: relative; display: grid; gap: 8px; align-content: start; min-height: 64px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); text-align: left; transition: border-color .3s, background-color .3s, transform .4s var(--out), box-shadow .4s var(--out); }
.pf-opt b { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.pf-opt span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.pf-opt.big { padding: 26px; min-height: 150px; }
.pf-opt.big b { font-size: 21px; }
.pf-opt:hover { border-color: var(--line-3); transform: translateY(-2px); }
.pf-opt:active { transform: scale(.985); }
.pf-opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); box-shadow: 0 0 0 1px var(--accent); }
.pf-opt[aria-pressed="true"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F181E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
:root[data-theme="light"] .pf-opt[aria-pressed="true"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pf-q { margin: 8px 0 12px; font-weight: 700; }
.pf-q ~ .pf-q { margin-top: 26px; }
.pf-label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 650; }
.pf-select, .field input, .field select, .field textarea { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 16.5px; transition: border-color .25s, box-shadow .3s var(--out); }
.pf-select, .field select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%238EA2A9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.pf-select { max-width: 420px; }
.pf-select:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.pf-select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.pf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pf-link { padding: 6px 0; border: 0; background: none; font-weight: 650; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.pf-link:hover { color: var(--ink); }
.pf-recap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 24px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14.5px; color: var(--ink-2); }
.pf-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-pack { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg); transition: border-color .3s, transform .5s var(--out), box-shadow .5s var(--out); }
.pf-pack:hover { border-color: var(--line-3); transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-pack.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.pf-badge { position: absolute; top: -12px; left: 24px; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pf-pack h3 { font-size: 22px; letter-spacing: -.025em; }
.pf-blurb { color: var(--ink-2); font-size: 14.5px; min-height: 3.2em; }
.pf-price { font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); font-weight: 750; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.pf-price span { font-size: 15px; font-weight: 550; color: var(--ink-2); letter-spacing: 0; margin-left: 2px; }
.pf-ob { font-size: 14.5px; color: var(--ink-2); }
.pf-ob b { color: var(--ink); }
.pf-note { font-size: 13px; color: var(--ink-3); }
.pf-pack ul { display: grid; gap: 8px; margin: 10px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.pf-pack li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; }
.pf-pack li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }
.pf-pack .btn { margin-top: auto; width: 100%; }
.pf-quote { display: grid; gap: 16px; justify-items: start; max-width: 640px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--accent); border-radius: 20px; background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.pf-quote h3 { font-size: 22px; }
.pf-price.big { font-size: clamp(2.8rem, 2rem + 2.4vw, 4rem); }
.pf-rows { display: grid; width: 100%; border-top: 1px solid var(--line); }
.pf-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pf-rows dt { flex: none; }
.pf-rows dd { min-width: 0; }
.pf-rows dt { color: var(--ink-2); }
.pf-rows dd { font-weight: 650; text-align: right; }
.pf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pf-fine { max-width: 80ch; margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }
.pf-ask { padding: 0 0 2px; border: 0; background: none; font-size: inherit; cursor: pointer; }
@media (max-width: 960px) { .pf-packs { grid-template-columns: minmax(0, 1fr); } .pf-blurb { min-height: 0; } }
@media (max-width: 640px) { .pf-opts.two { grid-template-columns: minmax(0, 1fr); } .pf { margin-top: -64px; border-radius: 20px; } .pf-nav .btn { flex: 1; } }

/* ---------- enquiry form ---------- */
.lead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.form { position: relative; z-index: 2; margin-top: -88px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line-2); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 650; }
.field small { font-weight: 450; color: var(--ink-3); }
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: var(--ink-3); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 18%, transparent); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.form-note a, .consent a, .ask-note a, .legal a, .foot-legal a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-3); transition: text-decoration-color .25s; }
.form-note a:hover, .consent a:hover, .ask-note a:hover, .legal a:hover, .foot-legal a:hover { text-decoration-color: currentColor; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a { color: var(--ink-2); }
/* Policy pages: one comfortable reading column. */
.legal-section { padding-top: clamp(56px, 7vw, 96px); }
.legal { max-width: 72ch; }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; margin: 48px 0 12px; scroll-margin-top: 96px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal b { color: var(--ink); font-weight: 650; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-status.ok { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
.form-status.err { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--ink); }
.next-side { display: grid; gap: 24px; padding-top: 20px; }
.next { counter-reset: nx; display: grid; gap: 24px; }
.next li { counter-increment: nx; display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; }
.next li::before { content: counter(nx, decimal-leading-zero); grid-row: span 2; font-weight: 750; color: var(--accent); font-variant-numeric: tabular-nums; }
.next b { font-size: 17px; letter-spacing: -.015em; }
.next span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); margin-top: -64px; } }

/* ---------- Ask BuildCount: the AI assistant ---------- */
/* The launcher waits until the first screen has scrolled away (it would sit on the hero price card or a header
   card), steps aside for the pinned story, and on phones rides above the button bar. The panel unfolds from the
   launcher's corner behind a clip, then its parts arrive in order; closing reverses it. */
.ask { position: relative; z-index: 60; }
.ask-launch { position: fixed; right: var(--gut); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--ink); visibility: hidden; opacity: 0; transform: translateY(12px) scale(.94); transform-origin: right bottom; transition: opacity .35s var(--out), transform .55s var(--out), visibility 0s linear .55s, translate .6s var(--out); }
body.scrolled:not(.pinned) .ask-launch { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.end .ask-launch:not(:focus-visible) { opacity: 0; pointer-events: none; }
/* The two task pages (pricing flow, enquiry form) keep their full width; the panel opens from an inline link there. */
body[data-page="pricing"] .ask-launch, body[data-page="get-started"] .ask-launch { display: none; }
.ask-open .ask-launch { visibility: hidden; opacity: 0; transform: scale(.85); transition-delay: 0s, 0s, .55s, 0s; }
.ask-launch > svg, .ask-launch::before { flex: none; }
.ask-launch::before { content: ""; position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; border-radius: 16px; border: 1px solid rgba(124, 200, 234, .42); background: radial-gradient(circle at 40% 25%, #1E4D63, #0E2633 75%); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6), inset 0 0 18px rgba(124, 200, 234, .1); transition: border-color .3s, transform .45s var(--out); }
.ask-cube { order: 2; position: relative; width: 56px; height: 56px; padding: 11px; animation: ask-float 7s ease-in-out infinite; }
.ask-cube path { fill: none; stroke: #BFE8F4; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ask-cube .c2 { stroke: #6FB4CD; stroke-width: 1.1; opacity: .85; }
.ask-cube circle { fill: #DDF6FF; }
.ask-label { order: 1; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(13, 26, 34, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #EEF3F4; font-size: 14px; font-weight: 650; white-space: nowrap; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); transition: border-color .3s, translate .45s var(--out); }
.ask-launch:hover::before { border-color: #9FD6EC; transform: translateY(-3px); }
.ask-launch:hover .ask-label { border-color: var(--line-3); translate: -3px 0; }
.ask-launch:active::before { transform: scale(.95); }
.ask-launch:focus-visible { outline: none; }
.ask-launch:focus-visible::before { outline: 2px solid var(--accent); outline-offset: 3px; }

.ask-panel { position: fixed; right: var(--gut); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(124, 200, 234, .3); border-radius: 20px; background: linear-gradient(165deg, #12303E 0%, #0F2430 30%, #0C1C25 100%); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), inset 0 1px rgba(220, 248, 253, .1); opacity: 0; clip-path: inset(calc(100% - 56px) 0 0 calc(100% - 56px) round 16px); transform: translateY(8px); pointer-events: none; transition: clip-path .6s var(--out), transform .6s var(--out), opacity .25s var(--out); }
.ask-open .ask-panel { opacity: 1; clip-path: inset(0 round 20px); transform: none; pointer-events: auto; }
.ask-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, #7CC8EA 50%, transparent); opacity: .8; }
.ask-corners::before, .ask-corners::after { content: ""; position: absolute; top: 10px; width: 10px; height: 10px; border-top: 1px solid rgba(159, 214, 236, .6); }
.ask-corners::before { left: 10px; border-left: 1px solid rgba(159, 214, 236, .6); }
.ask-corners::after { right: 10px; border-right: 1px solid rgba(159, 214, 236, .6); }
.ask-head, .ask-scroll, .ask-form, .ask-note { opacity: 0; translate: 0 10px; transition: opacity .3s var(--out), translate .5s var(--out); }
.ask-open .ask-head, .ask-open .ask-scroll, .ask-open .ask-form, .ask-open .ask-note { opacity: 1; translate: 0 0; }
.ask-open .ask-head { transition-delay: .12s; } .ask-open .ask-scroll { transition-delay: .18s; } .ask-open .ask-form, .ask-open .ask-note { transition-delay: .24s; }
.ask-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px 20px; border-bottom: 1px solid var(--line); }
.ask-head .brand-badge { width: 38px; height: 38px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.ask-head .brand-mark { width: 19px; height: 14.6px; }
.ask-head > div { flex: 1; min-width: 0; }
.ask-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.ask-sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.ask-dot { width: 6px; height: 6px; border-radius: 50%; background: #74D4C7; box-shadow: 0 0 8px #74D4C7; }
.ask-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: none; transition: background-color .25s, border-color .25s; }
.ask-close:hover { background: rgba(255, 255, 255, .06); border-color: var(--line-3); }
.ask-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ask-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px 16px; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.ask-intro { display: grid; gap: 12px; margin-bottom: 8px; }
.ask-intro[hidden] { display: none; }
.ask-hello { font-size: 26px; font-weight: 750; line-height: 1.12; letter-spacing: -.035em; }
.ask-hello span { color: var(--accent); }
.ask-help { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ask-chips { display: grid; gap: 8px; margin-top: 8px; }
.ask-chips button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .03); text-align: left; font-size: 14px; font-weight: 600; transition: border-color .25s, background-color .25s, translate .4s var(--out); }
.ask-chips button:hover { border-color: rgba(124, 200, 234, .55); background: rgba(124, 200, 234, .07); translate: 3px 0; }
.ask-chips svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask-log { display: grid; gap: 12px; }
.ask-msg { display: grid; gap: 8px; max-width: 92%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; animation: ask-in .32s var(--out) both; }
.ask-msg.still { animation: none; }
.ask-msg.bot { justify-self: start; border: 1px solid var(--line); border-top-left-radius: 4px; background: rgba(255, 255, 255, .04); }
.ask-msg.me { justify-self: end; border-top-right-radius: 4px; background: #DCEFF5; color: #0F181E; font-weight: 550; }
.ask-who { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ask-msg.me .ask-who { color: #3B6A7E; }
.ask-msg ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.ask-msg ul li::marker { color: var(--accent); }
.ask-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ask-acts .btn { --bh: 38px; padding: 0 14px; font-size: 13.5px; }
.ask-wait p { color: var(--ink-2); }
.ask-wait i { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), rgba(124, 200, 234, .1)); transform-origin: left; animation: ask-line 6s var(--out) both; }
.ask-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 16px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .04); transition: border-color .25s, box-shadow .3s; }
.ask-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(111, 194, 226, .16); }
.ask-form textarea { flex: 1; min-width: 0; min-height: 40px; max-height: 132px; padding: 9px 0; border: 0; background: none; resize: none; outline: none; font-size: 16px; line-height: 1.4; }
.ask-form textarea::placeholder { color: var(--ink-3); opacity: 1; }
.ask-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--btn); color: var(--btn-ink); transition: transform .25s var(--out), background-color .25s; }
.ask-send:hover { background: #fff; }
.ask-send:active { transform: scale(.94); }
.ask-send .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.busy .ask-send { opacity: .5; pointer-events: none; }
.ask-note { padding: 10px 20px 16px; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
@keyframes ask-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes ask-line { from { transform: scaleX(0); } to { transform: scaleX(.92); } }
@keyframes ask-float { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@media (max-width: 760px) {
  .ask-label { display: none; }
  .ask-launch { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  /* Above the phone button bar whenever the bar is showing. */
  body.past:not(.pinned):not([data-page="get-started"]) .ask-launch { translate: 0 -72px; }
  .ask-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(var(--vvh, 100dvh) - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .ask-open body { overflow: hidden; }
}

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; translate: 0 32px; transition: opacity 1s var(--out), translate 1.2s var(--out); transition-delay: calc(var(--k, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.js .spec[data-reveal] { transition: opacity 1s var(--out), translate 1.2s var(--out), border-color .4s, transform .7s var(--out), box-shadow .7s var(--out); transition-delay: calc(var(--k, 0) * 80ms); }

/* ---------- keyframes ---------- */
@keyframes up { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes show { to { opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wipe { from { --wipe: 100%; } }
@keyframes pour-up { to { --rise: 100%; } }
@keyframes step-back { to { opacity: 0; } }
@keyframes edge { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: .85; } 100% { opacity: 0; } }
@keyframes pop { to { scale: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111, 194, 226, .5); } 100% { box-shadow: 0 0 0 14px rgba(111, 194, 226, 0); } }
@keyframes grow-y { to { scale: 1 1; } }
@keyframes unmask-up { from { clip-path: inset(100% 0 0 0 round 16px); transform: translateY(14px); } to { clip-path: inset(0 0 0 0 round 16px); transform: none; } }
@keyframes unmask-down { from { clip-path: inset(0 0 100% 0); transform: translateY(-8px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes unmask-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes cue { to { top: 110%; } }
@keyframes pf-fwd { from { opacity: 0; transform: translateX(34px); } }
@keyframes pf-back { from { opacity: 0; transform: translateX(-34px); } }

/* ---------- page transitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .3s var(--io) both; }
  ::view-transition-new(root) { animation: vt-in .6s var(--out) both; }
  .phero:not(.phero-sm) .ph-img img { view-transition-name: type-photo; }
  .vt-card .phero:not(.phero-sm) .ph-img img { view-transition-name: none; }
  ::view-transition-group(type-photo) { animation-duration: .75s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  ::view-transition-old(type-photo), ::view-transition-new(type-photo) { width: 100%; height: 100%; object-fit: cover; }
  ::view-transition-group(nav) { animation-duration: .3s; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }

/* ---------- reduced motion: finished states, no drift ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .hm, .hm-lines, .hero-grid, .hero-copy, .st-cam, .stack > div, .close-media img, .ph-img { translate: none !important; transform: none !important; }
  .hero-media { translate: none !important; }
  .hero-copy { opacity: 1 !important; }
}
