/* ==========================================================================
   Watthaus Strategy — design system
   Carbon night, warm ivory, solar gold. Sans display + serif italic accents.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #19191c;
  --bg-4: #222226;
  --ink: #edebe4;
  --ink-2: #b9b7af;
  --muted: #86847d;
  --line: rgba(237, 235, 228, 0.09);
  --line-2: rgba(237, 235, 228, 0.17);

  --gold: #e2b25e;
  --gold-hi: #f2d49c;
  --gold-deep: #a8742f;
  --gold-grad: linear-gradient(105deg, #b07a35 0%, #f4dca8 42%, #e2b25e 68%, #a26e2b 100%);
  --green: #5cc47e;
  --green-hi: #b0e6c0;
  --green-grad: linear-gradient(105deg, #2f8f52 0%, #c6f0d2 42%, #5cc47e 68%, #2a7c47 100%);

  --accent: var(--gold);
  --accent-hi: var(--gold-hi);
  --accent-grad: var(--gold-grad);
  --accent-glow: rgba(226, 178, 94, 0.18);

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.6vw, 48px);
  --max: 1440px;
  --frame: clamp(8px, 0.9vw, 14px);
  --r-xl: clamp(20px, 2.2vw, 32px);
  --r-lg: clamp(16px, 1.6vw, 24px);
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --section: clamp(84px, 9.5vw, 150px);
  color-scheme: dark;
}

.t-green { --accent: var(--green); --accent-hi: var(--green-hi); --accent-grad: var(--green-grad); --accent-glow: rgba(92, 196, 126, 0.16); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; min-height: 100vh; }
img, video, svg, canvas { 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; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 900; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* subtle film grain */
body::before { content: ""; position: fixed; inset: 0; z-index: 800; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
h1, h2, h3, .h-display, .h-xl, .h-lg, .h-md { font-family: var(--sans); font-weight: 500; letter-spacing: -0.045em; line-height: .95; color: var(--ink); }
.h-display { font-size: clamp(3.3rem, 1rem + 9.6vw, 12.4rem); line-height: .88; letter-spacing: -0.062em; }
.h-xl { font-size: clamp(2.6rem, 1rem + 6.2vw, 7.6rem); line-height: .92; letter-spacing: -0.055em; }
.h-lg { font-size: clamp(2.15rem, 1.1rem + 3.9vw, 5rem); line-height: .96; letter-spacing: -0.05em; }
.h-md { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.35rem); line-height: 1.05; letter-spacing: -0.035em; }
.h-sm { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
h1 em, h2 em, h3 em, .h-display em, .h-xl em, .h-lg em, .h-md em, .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-hi); padding-right: .05em; }
/* gradient text: padded so descenders (g, y, p) are painted, never clipped */
.foil { background: var(--accent-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; padding: .06em .1em .22em 0; margin: -.06em -.1em -.22em 0; animation: foil 7s ease-in-out infinite alternate; }
@keyframes foil { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.01em; max-width: 48ch; }
.body { color: var(--ink-2); max-width: 62ch; }
.body p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.label--dot::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.label--live::before { animation: livePulse 2s infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.label--accent { color: var(--accent); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .55); }
.section--flush { padding-top: 0; }
.head { display: grid; gap: 22px; margin-bottom: clamp(36px, 4.6vw, 64px); }
.head__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .head--split { grid-template-columns: 1fr minmax(280px, .44fr); align-items: end; column-gap: 64px; }
  .head--split .head__top { grid-column: 1 / -1; }
}
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.stack > * + * { margin-top: var(--stack, 20px); }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); }
.grid-2 { display: grid; gap: clamp(10px, 1.1vw, 16px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: clamp(10px, 1.1vw, 16px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: clamp(10px, 1.1vw, 16px); grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--ink); --b-fg: #0b0b0c; --b-bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 8px 0 24px; border-radius: 999px; background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-size: .94rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hover, #fff); transform: translateY(101%); transition: transform .55s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--hover-fg, #0b0b0c); border-color: var(--hover, #fff); }
.btn__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--b-fg); color: var(--b-bg); flex: none; transition: transform .5s var(--ease-out), background .45s, color .45s; }
.btn:hover .btn__icon { transform: rotate(-45deg); background: var(--hover-fg, #0b0b0c); color: var(--hover, #fff); }
.btn__icon svg { width: 15px; height: 15px; }
.btn--plain { padding: 0 24px; }
.btn--gold { --b-bg: var(--accent); --b-bd: var(--accent); --b-fg: #0b0b0c; --hover: var(--ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); --hover: var(--ink); }
.btn--ghost .btn__icon { background: rgba(237,235,228,.08); color: var(--ink); }
.btn--glass { --b-bg: rgba(11,11,12,.38); --b-fg: var(--ink); --b-bd: rgba(237,235,228,.22); --hover: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass .btn__icon { background: rgba(237,235,228,.12); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 5px 0 18px; font-size: .86rem; gap: 10px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--sm.btn--plain { padding: 0 18px; }
.btn--block { width: 100%; justify-content: space-between; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out), gap .4s var(--ease-out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; gap: 12px; }
.link svg { width: 14px; height: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8rem; color: var(--ink-2); background: rgba(237,235,228,.02); white-space: nowrap; transition: border-color .3s, color .3s, background .3s; }
a.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill svg { width: 14px; height: 14px; }
.pill--glass { background: rgba(11,11,12,.42); border-color: rgba(237,235,228,.2); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill--accent { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent-hi); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- page veil: one transition for every page load ---------- */
.veil { position: fixed; inset: 0; z-index: 990; pointer-events: none; }
.veil__panel { position: absolute; inset: -2px 0; display: grid; place-items: center; will-change: transform;
  background: radial-gradient(40% 40% at 50% 48%, rgba(226,178,94,.09), transparent 70%), #0d0d0f;
  transform: translate3d(0, 102%, 0); border-radius: 50% 50% 0 0 / 16vh 16vh 0 0; }
html.veil-in .veil__panel, html.veil-cover .veil__panel { transform: none; border-radius: 0; }
html.veil-cover .veil__panel { pointer-events: all; transition: transform .7s var(--ease-io), border-radius .7s var(--ease-io); }
html.veil-out .veil__panel { transform: translate3d(0, -102%, 0); border-radius: 0 0 50% 50% / 0 0 16vh 16vh; transition: transform 1s var(--ease-io), border-radius 1s var(--ease-io); }
/* if scripts never run, never leave the page covered */
html.veil-in:not(.veil-out) .veil__panel { animation: veilSafety .01s 5s forwards; }
@keyframes veilSafety { to { transform: translate3d(0, -102%, 0); } }
.veil__watermark { position: absolute; left: 50%; top: 50%; width: min(118vh, 130vw); height: auto; transform: translate(-50%, -52%); color: rgba(237,235,228,.05); pointer-events: none; }
.veil__center { position: relative; display: grid; justify-items: center; text-align: center; transition: opacity .45s var(--ease-io), transform .7s var(--ease-io); }
html.veil-out .veil__center, html.veil-out .veil__foot { opacity: 0; transform: translate3d(0, -28px, 0); }
.veil__mark { width: 60px; height: 60px; color: var(--ink); overflow: visible; margin-bottom: 26px; }
.veil__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.veil__word { overflow: hidden; padding: .1em .12em .22em; margin: -.1em 0 -.22em; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.veil__word em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--gold-hi); margin-left: .14em; }
.veil__tag { overflow: hidden; padding-bottom: .2em; margin-top: 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.veil__word span, .veil__tag span { display: inline-block; transform: translate3d(0, 120%, 0); }
.veil__line { position: relative; width: 140px; height: 1px; margin-top: 22px; background: rgba(237,235,228,.14); overflow: hidden; }
.veil__line i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--vp, 0)); transition: transform .35s var(--ease-out); }
.veil__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; transition: opacity .45s var(--ease-io), transform .7s var(--ease-io); }
/* first visit: draw the mark, then the wordmark and tagline rise in */
html.veil-in:not(.veil-nav) .veil__mark path { animation: veilDraw 1s var(--ease-io) .1s forwards; }
html.veil-in:not(.veil-nav) .veil__mark path + path { animation-delay: .4s; }
html.veil-in:not(.veil-nav) .veil__word span { animation: veilRise .9s var(--ease-out) .55s forwards; }
html.veil-in:not(.veil-nav) .veil__tag span { animation: veilRise .9s var(--ease-out) .72s forwards; }
/* arriving from another page: brand already composed */
html.veil-nav .veil__mark path { stroke-dashoffset: 0; }
html.veil-nav .veil__word span, html.veil-nav .veil__tag span { transform: none; }
html.veil-nav .veil__line i { --vp: 1; }
/* leaving a page: the panel sweeps up and the brand composes on it */
html.veil-cover .veil__mark path { stroke-dashoffset: 1; animation: veilDraw .7s var(--ease-io) .12s forwards; }
html.veil-cover .veil__mark path + path { animation-delay: .28s; }
html.veil-cover .veil__word span { animation: veilRise .7s var(--ease-out) .3s forwards; }
html.veil-cover .veil__tag span { animation: veilRise .7s var(--ease-out) .42s forwards; }
html.veil-cover .veil__line i { animation: veilFill .7s var(--ease-out) .2s both; }
@keyframes veilDraw { to { stroke-dashoffset: 0; } }
@keyframes veilRise { to { transform: none; } }
@keyframes veilFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 700; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 850; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); transition: opacity .3s; }
.cursor__ring { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(237,235,228,.35); display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .4s, border-color .4s; }
.cursor__label { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 600; top: calc(var(--frame) + 6px); left: var(--frame); right: var(--frame); pointer-events: none; transition: transform .6s var(--ease-out); }
.site-header.is-hidden { transform: translateY(calc(-100% - 30px)); }
.site-header__inner { pointer-events: auto; max-width: calc(var(--max) + var(--gutter) * 2 - var(--frame) * 2); margin-inline: auto; height: 60px; padding: 0 8px 0 calc(var(--gutter) - var(--frame)); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid transparent; border-radius: 999px; transition: background .5s, border-color .5s, max-width .6s var(--ease-out), padding .6s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { background: rgba(14,14,16,.74); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); max-width: 1180px; padding-left: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.brand__name em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 3px; font-size: 1.08em; }
.nav__list { display: flex; gap: 2px; }
.nav__link { position: relative; display: inline-flex; padding: 9px 14px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__link:hover { color: var(--ink); background: rgba(237,235,228,.06); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; height: 42px; font-size: .86rem; color: var(--ink-2); transition: color .3s; }
.header-phone:hover { color: var(--ink); }
.header-phone svg { width: 15px; height: 15px; }
.menu-toggle { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11,11,12,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 500; }
.menu-toggle__bars { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); }
.menu-toggle__bars span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bg); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__bars span:first-child { top: 13px; } .menu-toggle__bars span:last-child { top: 18px; }
.menu-open .menu-toggle__bars span:first-child { top: 15.5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { top: 15.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 590; background: var(--bg); padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu-open { overflow: hidden; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(2.3rem, 10.5vw, 3.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.mobile-menu__list a[aria-current="page"] { color: var(--accent-hi); }
.mobile-menu__list small { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.menu-open .mobile-menu__list a { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) a { transition-delay: .25s; } .menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: .3s; } .menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: .35s; } .menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: .4s; } .menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: .45s; } .menu-open .mobile-menu__list li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu__foot { display: grid; gap: 16px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(10% 5% 10% 5% round var(--r-lg)); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
/* word masks: generous padding so ascenders and descenders are never cropped */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .07em .26em; margin: -.14em -.07em -.26em; }
.w > span { display: inline-block; transform: translate3d(0, 120%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.045s + var(--d, 0s)); }
.is-in .w > span { transform: none; }
.scrub { transition: opacity .3s linear; opacity: .16; }
.scrub.is-on { opacity: 1; }

/* ---------- hero (home) ---------- */
.hero { padding: var(--frame); min-height: 100svh; display: flex; }
.hero__frame { position: relative; flex: 1; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--frame) * 2); }
.hero__slides { position: absolute; inset: 0; z-index: -3; background: var(--bg-3); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active img { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(11,11,12,.6) 0%, rgba(11,11,12,.14) 24%, rgba(11,11,12,.12) 44%, rgba(11,11,12,.72) 74%, rgba(11,11,12,.94) 100%),
  linear-gradient(90deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,0) 55%); }
.hero__glow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }
.hero__inner { position: relative; padding: 0 calc(var(--gutter) - var(--frame)) clamp(22px, 3vw, 34px); width: 100%; max-width: calc(var(--max) + var(--gutter) * 2 - var(--frame) * 2); margin-inline: auto; }
.hero__kicker { margin-bottom: clamp(18px, 2.4vw, 28px); color: rgba(237,235,228,.8); }
.hero__title { margin-bottom: clamp(26px, 3.4vw, 44px); }
.hero__title .line { display: block; }
.rotator { position: relative; display: inline-grid; vertical-align: top; overflow: hidden; padding: .14em .1em .26em 0; margin: -.14em -.1em -.26em 0; transition: width .8s var(--ease-out); }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(120%); transition: transform 1s var(--ease-out); }
.rotator__word.is-current { transform: none; }
.rotator__word.is-out { transform: translateY(-120%); }
.rotator:not(.is-live) .rotator__word:first-child { transform: none; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: end; padding-top: 22px; border-top: 1px solid rgba(237,235,228,.16); }
.hero__foot .lede { color: rgba(237,235,228,.8); max-width: 46ch; }
.hero__count { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: rgba(237,235,228,.72); }
.hero__count i { position: relative; width: 64px; height: 1px; background: rgba(237,235,228,.25); overflow: hidden; }
.hero__count i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hero__count.is-ticking i::after { animation: tick 7s linear forwards; }
@keyframes tick { to { transform: scaleX(1); } }

.live-card { position: absolute; right: calc(var(--gutter) - var(--frame)); top: 96px; width: 290px; padding: 16px; border-radius: var(--r-lg); background: rgba(14,14,16,.52); border: 1px solid rgba(237,235,228,.16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; gap: 12px; transition: transform .6s var(--ease-out), border-color .4s; }
.live-card:hover { transform: translateY(-4px); border-color: rgba(237,235,228,.32); }
.live-card__top { display: flex; justify-content: space-between; align-items: center; }
.live-card__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.live-card__nums b { display: block; font-size: 1.85rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.live-card__nums b em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .55em; color: var(--accent-hi); margin-left: 3px; letter-spacing: 0; }
.live-card__nums span { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.live-card .spark { width: 100%; height: 44px; }
.live-card__go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(237,235,228,.22); }
.live-card__go svg { width: 13px; height: 13px; }

/* ---------- page hero ---------- */
.page-hero { padding: var(--frame); }
.page-hero__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: calc(100svh - var(--frame) * 2); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero--plain .page-hero__frame { min-height: auto; background: radial-gradient(80% 120% at 88% 0%, var(--accent-glow), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 112%; object-fit: cover; }
.page-hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.62) 0%, rgba(11,11,12,.16) 30%, rgba(11,11,12,.55) 64%, rgba(11,11,12,.93) 100%), linear-gradient(90deg, rgba(11,11,12,.55), rgba(11,11,12,0) 62%); }
.page-hero--plain .page-hero__frame::after { display: none; }
.page-hero__inner { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2 - var(--frame) * 2); margin-inline: auto; padding: 132px calc(var(--gutter) - var(--frame)) clamp(22px, 3vw, 34px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: clamp(18px, 2.4vw, 26px); }
.crumbs a:hover { color: var(--ink); }
.page-hero__title { margin-bottom: clamp(26px, 3.4vw, 42px); max-width: 15ch; font-size: clamp(3rem, 1rem + 7vw, 8.8rem); line-height: .9; letter-spacing: -0.058em; }
.page-hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: end; padding-top: 22px; border-top: 1px solid rgba(237,235,228,.16); }
.page-hero__foot .lede { color: rgba(237,235,228,.82); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(20px, 2.6vw, 30px); border-top: 1px solid rgba(237,235,228,.16); }
.facts > div { padding: 18px 18px 0 0; display: grid; gap: 4px; align-content: start; }
.facts > div + div { padding-left: 18px; border-left: 1px solid rgba(237,235,228,.16); }
.facts b { font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; }
.facts b em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-hi); letter-spacing: 0; }

/* ---------- statement with inline image pills ---------- */
.statement { font-size: clamp(1.85rem, 1rem + 3.2vw, 4.3rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; }
.statement em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-hi); letter-spacing: -0.01em; }
.ipill { display: inline-block; vertical-align: middle; width: 1.9em; height: .9em; margin: -.14em .06em 0; border-radius: 999px; overflow: hidden; background: var(--bg-3); }
.ipill img { width: 100%; height: 100%; object-fit: cover; }
.ipill--round { width: .9em; }
.statement-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(28px, 3.6vw, 44px); }

/* ---------- media tiles & bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(18px, 2vw, 28px); min-height: 230px; isolation: isolate; }
.tile--media { padding: 0; border: 0; min-height: clamp(440px, 44vw, 640px); justify-content: flex-end; color: var(--ink); }
.tile__img { position: absolute; inset: 0; z-index: -2; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.tile--media:hover .tile__img img { transform: scale(1.045); }
.tile--media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.4) 0%, rgba(11,11,12,0) 28%, rgba(11,11,12,.28) 54%, rgba(11,11,12,.92) 100%); }
.tile__top { position: absolute; left: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px); top: clamp(16px, 1.8vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__body { padding: clamp(18px, 2.2vw, 30px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile__body p { color: rgba(237,235,228,.8); max-width: 42ch; margin-top: 12px; font-size: .95rem; }
.tile__go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(237,235,228,.3); background: rgba(11,11,12,.3); backdrop-filter: blur(8px); transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease-out); }
.tile__go svg { width: 16px; height: 16px; }
.tile:hover .tile__go { background: var(--accent); color: var(--bg); border-color: var(--accent); transform: rotate(-45deg); }
.tile__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.num { font-size: clamp(3rem, 1.5rem + 3.4vw, 5.4rem); font-weight: 500; letter-spacing: -0.065em; line-height: .9; color: var(--accent-hi); }
.num em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .42em; letter-spacing: 0; margin-left: 4px; color: inherit; vertical-align: top; position: relative; top: .2em; }
.tile p.small { color: var(--ink-2); max-width: 36ch; }
.tile__pic { margin: calc(clamp(18px, 2vw, 28px) * -1) calc(clamp(18px, 2vw, 28px) * -1) 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tile__pic img { width: 100%; height: 100%; object-fit: cover; }
.tile--gold { background: var(--accent); border-color: var(--accent); color: #141210; }
.tile--gold .label, .tile--gold p.small { color: rgba(20,18,16,.74); }
.tile--gold .label--dot::before { background: #141210; box-shadow: 0 0 0 4px rgba(20,18,16,.12); }
.tile--gold .num { color: #141210; }
.tile--gold .tile__go { border-color: rgba(20,18,16,.3); background: transparent; color: #141210; }
.tile--gold:hover .tile__go { background: #141210; color: var(--accent); border-color: #141210; }
.tile--quote blockquote p { font-size: clamp(1.12rem, 1rem + .45vw, 1.42rem); line-height: 1.42; letter-spacing: -0.02em; }
.qmark { font-family: var(--serif); font-size: 4.2rem; line-height: .6; color: var(--accent); height: 26px; }
.s-12 { grid-column: span 12; } .s-8 { grid-column: span 8; } .s-7 { grid-column: span 7; } .s-6 { grid-column: span 6; } .s-5 { grid-column: span 5; } .s-4 { grid-column: span 4; } .s-3 { grid-column: span 3; }

/* ---------- horizontal services ---------- */
.hs { position: relative; }
.hs__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; }
.hs__track { display: flex; gap: clamp(12px, 1.2vw, 18px); padding-inline: var(--gutter); will-change: transform; }
.hcard { flex: none; width: clamp(290px, 29vw, 430px); display: grid; gap: 14px; align-content: start; }
.hcard__img { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hcard__img .pill { position: absolute; left: 14px; top: 14px; }
.hcard__n { position: absolute; right: 18px; bottom: 4px; font-size: clamp(4rem, 6.6vw, 6.4rem); font-weight: 500; letter-spacing: -0.07em; line-height: 1; color: rgba(237,235,228,.94); text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hcard__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hcard__cap h3 { font-size: clamp(1.4rem, 1.1rem + .6vw, 1.75rem); letter-spacing: -0.045em; }
.hcard p { color: var(--ink-2); font-size: .94rem; max-width: 40ch; }
.hcard--end .hcard__img { display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; background: radial-gradient(70% 60% at 50% 40%, var(--accent-glow), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.circle-btn { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.circle-btn svg { width: 22px; height: 22px; }
.hcard--end:hover .circle-btn { transform: scale(1.08) rotate(-45deg); }
.hs__progress { margin: clamp(22px, 3vw, 40px) var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.hs__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--hp, 0)); }

/* ---------- toggle ---------- */
.toggle { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(237,235,228,.03); }
.toggle button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: color .4s; white-space: nowrap; }
.toggle button[aria-pressed="true"] { color: var(--bg); }
.toggle__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease-out), width .6s var(--ease-out); }

/* ---------- packages ---------- */
.pkgs { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.pkgs.is-active { display: grid; animation: setIn .8s var(--ease-out); }
@keyframes setIn { from { opacity: 0; transform: translateY(20px); } }
.pkg { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .6s var(--ease-out); }
.pkg:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pkg__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pkg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.pkg:hover .pkg__img img { transform: scale(1.04); }
.pkg__img .row { position: absolute; left: 14px; top: 14px; right: 14px; justify-content: space-between; }
.pkg__body { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 20px; flex: 1; }
.pkg__name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.pkg__specs > div { padding: 14px 12px 14px 0; display: grid; gap: 2px; }
.pkg__specs > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.pkg__specs b { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 500; letter-spacing: -0.055em; line-height: 1; }
.pkg__specs b em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .62em; color: var(--accent-hi); letter-spacing: 0; margin-left: 2px; }
.pkg__specs > div > span { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d49c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.t-green .ticks li::before { background-color: color-mix(in srgb, var(--green) 18%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0e6c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.pkg__cta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(14px, 1.6vw, 20px); }
.strip .link { margin-left: auto; }

/* ---------- live dashboard ---------- */
.panel { position: relative; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(18px, 2.2vw, 30px); overflow: hidden; }
.panel--glow::before { content: ""; position: absolute; right: -15%; top: -45%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 62%); pointer-events: none; }
.dash__nums { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 56px); margin: 22px 0 4px; }
.dash__nums > div { display: grid; gap: 6px; }
.dash__nums b { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4.2rem); font-weight: 500; letter-spacing: -0.06em; line-height: .95; }
.dash__nums b em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .42em; color: var(--accent-hi); margin-left: 4px; letter-spacing: 0; }
.sunchart { width: 100%; height: auto; overflow: visible; margin-top: 10px; }
.sunchart .axis { stroke: var(--line-2); }
.sunchart .grid { stroke: var(--line); stroke-dasharray: 2 6; }
.sunchart .curve { fill: none; stroke: url(#gGold); stroke-width: 2.5; stroke-linecap: round; }
.sunchart .ghost { fill: none; stroke: rgba(237,235,228,.16); stroke-width: 1.5; stroke-dasharray: 3 5; }
.sunchart .area { fill: url(#gArea); }
.sunchart .tick { fill: var(--muted); font-family: var(--mono); font-size: 10px; }
.sunchart .sun { fill: var(--gold-hi); filter: drop-shadow(0 0 10px var(--gold)); }
.sunchart .halo { fill: rgba(242,212,156,.18); animation: halo 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 50% { transform: scale(1.5); opacity: .35; } }

/* ---------- stacking step cards ---------- */
.stack-cards { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.scard { position: sticky; top: calc(96px + var(--i, 0) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 2vw, 28px); padding: clamp(14px, 1.6vw, 22px); border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); height: clamp(380px, 33vw, 460px); transform-origin: center top; box-shadow: 0 -24px 60px -24px rgba(0,0,0,.7); }
.scard__text { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(10px, 1.4vw, 18px); }
.scard__text p { color: var(--ink-2); max-width: 44ch; margin-top: 14px; }
.scard__img { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); min-height: 0; }
.scard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- marquee ---------- */
.marquee { --gap: clamp(28px, 4vw, 64px); display: flex; overflow: hidden; gap: var(--gap); user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { flex: none; display: flex; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.words { border-block: 1px solid var(--line); padding-block: clamp(16px, 2.2vw, 28px); }
.words .marquee__track { animation-duration: 34s; }
.words span { display: inline-flex; align-items: center; gap: var(--gap); font-size: clamp(2rem, 1rem + 3.3vw, 4.3rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.15; white-space: nowrap; padding-bottom: .06em; }
.words span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-hi); }
.words span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.logos .marquee__track { animation-duration: 46s; }
.logos img { height: clamp(26px, 2.6vw, 38px); width: auto; opacity: .6; transition: opacity .4s; }
.logos img:hover { opacity: 1; }
.logo-type { font-family: var(--mono); font-size: .74rem; letter-spacing: .26em; line-height: 1.5; color: var(--ink); opacity: .6; white-space: nowrap; text-transform: uppercase; }

/* ---------- feature (case study) ---------- */
.feature { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(540px, 52vw, 760px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.feature__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.feature__img img { width: 100%; height: 115%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.35) 0%, rgba(11,11,12,0) 28%, rgba(11,11,12,.6) 62%, rgba(11,11,12,.95) 100%); }
.feature__inner { padding: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.feature__top { position: absolute; top: clamp(16px, 2vw, 28px); left: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.feature .facts { grid-column: 1 / -1; margin-top: 4px; }

/* ---------- split / media ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.split--top { align-items: start; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--sq { aspect-ratio: 1; }
.media--land { aspect-ratio: 5 / 4; }
.media > .pill { position: absolute; left: 14px; bottom: 14px; }

/* ---------- cards ---------- */
.card { position: relative; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 12px; min-height: 270px; transition: border-color .4s, transform .6s var(--ease-out); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: auto; padding-bottom: 28px; }
.card__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-hi); }
.card__ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1.1; }
.card p { color: var(--ink-2); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.step { position: relative; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 10px; min-height: 290px; overflow: hidden; }
.step__n { font-size: clamp(3rem, 2rem + 2vw, 4.4rem); font-weight: 500; letter-spacing: -0.07em; line-height: .9; color: var(--accent-hi); margin-bottom: auto; padding-bottom: 28px; }
.step h3 { font-size: 1.35rem; letter-spacing: -0.035em; line-height: 1.1; }
.step p { color: var(--ink-2); font-size: .92rem; min-height: 4.4em; }
.step__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .step__bar { transform: scaleX(1); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(10px, 1.1vw, 16px); }
.calc__in { display: flex; flex-direction: column; gap: 30px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.field-head output { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4rem); font-weight: 500; letter-spacing: -0.06em; line-height: .9; }
.range { --p: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--bg-4) var(--p)); outline: none; margin: 12px 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 7px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-glow); cursor: grab; transition: transform .3s var(--ease-out); }
.range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 7px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-glow); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg button { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); text-align: left; display: grid; gap: 3px; transition: border-color .3s, background .3s; }
.seg b { font-weight: 500; font-size: .96rem; }
.seg span { font-size: .8rem; color: var(--muted); }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.fine { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.calc__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.calc__out .tile { min-height: 0; gap: 12px; }
.calc__out .num { font-size: clamp(2.4rem, 1.4rem + 2.3vw, 3.7rem); color: var(--ink); }
.calc__out .tile--gold .num { color: #141210; }
.calc__rec { grid-column: 1 / -1; flex-direction: row !important; align-items: center !important; flex-wrap: wrap; background: radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--bg-2) !important; }
.meter { height: 6px; border-radius: 6px; background: var(--bg-4); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--accent-grad); transition: width 1s var(--ease-out); }

/* ---------- finance ---------- */
.loans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.loan { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease-out); }
.loan:hover { border-color: var(--line-2); transform: translateY(-4px); }
.loan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.loan__top img { height: 28px; width: auto; max-width: 130px; object-fit: contain; object-position: left; opacity: .85; }
.loan__top .logo-type { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; font-size: 1.35rem; text-transform: none; opacity: .85; }
.loan h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.loan .tile__go { width: 38px; height: 38px; }
.loan:hover .tile__go { background: var(--accent); color: var(--bg); border-color: var(--accent); transform: rotate(-45deg); }
.loan__terms { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.loan__terms span { font-size: .86rem; color: var(--ink-2); }
.loan__terms b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: clamp(18px, 2vw, 26px) 0; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); letter-spacing: -0.04em; line-height: 1.15; transition: color .3s; }
.acc summary:hover h3 { color: var(--accent-hi); }
.acc__plus { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: background .4s, border-color .4s, transform .6s var(--ease-out); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
details[open] .acc__plus { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(180deg); }
details[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { overflow: hidden; }
.acc__inner { padding: 0 0 clamp(20px, 2.4vw, 30px) 60px; color: var(--ink-2); display: grid; gap: 14px; max-width: 920px; }
.acc__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.acc__cols h4 { color: var(--ink); font-weight: 500; margin-bottom: 6px; }

/* ---------- tabs ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.tabs__list { position: sticky; top: 100px; display: grid; gap: 6px; }
.tabs__btn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid transparent; text-align: left; transition: background .4s, border-color .4s; }
.tabs__btn b { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.04em; color: var(--muted); transition: color .3s; }
.tabs__btn svg { width: 15px; height: 15px; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease-out); color: var(--accent); }
.tabs__btn:hover b { color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--bg-2); border-color: var(--line); }
.tabs__btn[aria-selected="true"] b { color: var(--ink); }
.tabs__btn[aria-selected="true"] svg { opacity: 1; transform: none; }
.tabs__btn[aria-selected="true"] .label { color: var(--accent); }
.tabpanel { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: setIn .8s var(--ease-out); }
.tabpanel__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; }
.outcome { border-radius: var(--r-md); padding: 20px 22px; background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); display: grid; gap: 6px; }

/* ---------- team ---------- */
.member { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); isolation: isolate; aspect-ratio: 4 / 4.4; }
.member img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.05); transition: transform 1.4s var(--ease-out), filter 1s; }
.member:hover img { transform: scale(1.035); filter: grayscale(.15); }
.member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(11,11,12,.92)); }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.2vw, 28px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.member__info p { font-size: .88rem; color: var(--ink-2); margin-top: 8px; }
.member__links { display: flex; gap: 6px; flex: none; }
.member__links a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(237,235,228,.1); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.member__links a:hover { background: var(--accent); color: var(--bg); }
.member__links svg { width: 16px; height: 16px; }

/* ---------- case study bits ---------- */
.bigstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.bigstats .tile { min-height: 210px; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.gallery .media:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 11; }
.gallery .media:nth-child(2) { grid-column: span 5; }
.gallery .media:nth-child(3) { grid-column: span 12; aspect-ratio: 21 / 9; }
.donut { position: relative; width: min(380px, 80%); aspect-ratio: 1; margin-inline: auto; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 12; }
.donut .bg { stroke: var(--line-2); }
.donut .fg { stroke: url(#gGreen); stroke-linecap: round; stroke-dasharray: 0 1000; transition: stroke-dasharray 2s var(--ease-out); }
.donut__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; }
.donut__c b { font-size: clamp(4rem, 2rem + 5vw, 6.4rem); font-weight: 500; letter-spacing: -0.07em; line-height: .9; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(10px, 1.1vw, 16px); align-items: stretch; }
.contact-grid .form { display: flex; flex-direction: column; }
.input--grow { flex: 1; }
.input--grow textarea { height: 100%; }
.clist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.clist a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg-2); transition: background .3s; }
.clist a:hover { background: var(--bg-3); }
.clist .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-hi); }
.clist .ic svg { width: 19px; height: 19px; }
.clist small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.clist span { font-weight: 500; overflow-wrap: anywhere; }
.clist .arr { width: 15px; height: 15px; color: var(--muted); }
.clist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form { display: grid; gap: 12px; padding: clamp(20px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.input { position: relative; display: grid; }
.input input, .input textarea, .input select { width: 100%; padding: 24px 16px 9px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(237,235,228,.02); outline: none; font-size: 1rem; appearance: none; transition: border-color .3s, background .3s; }
.input select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input select option { background: var(--bg-2); }
.input textarea { min-height: 120px; resize: vertical; }
.input label { position: absolute; left: 17px; top: 17px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: top .3s var(--ease-out), font-size .3s, color .3s; }
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 4%, transparent); }
.input input:focus + label, .input input:not(:placeholder-shown) + label, .input textarea:focus + label, .input textarea:not(:placeholder-shown) + label, .input select + label { top: 8px; font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.input.is-invalid input, .input.is-invalid textarea { border-color: #e0664a; }
.form__ok { display: none; padding: 16px; border-radius: var(--r-md); background: rgba(92,196,126,.1); border: 1px solid rgba(92,196,126,.4); color: var(--green-hi); }
.form.is-sent .form__ok { display: block; }
.mapcard { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 230px; display: flex; align-items: flex-end; padding: 20px; isolation: isolate; border: 1px solid var(--line); }
.mapcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 62% 42%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 24%), repeating-linear-gradient(28deg, rgba(237,235,228,.05) 0 1px, transparent 1px 34px), repeating-linear-gradient(-62deg, rgba(237,235,228,.05) 0 1px, transparent 1px 46px), var(--bg-3); }
.mapcard__pin { position: absolute; left: 62%; top: 42%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-glow), 0 0 0 20px color-mix(in srgb, var(--accent) 8%, transparent); }

/* ---------- footer card ---------- */
.site-footer { padding: var(--frame); padding-top: clamp(24px, 3vw, 48px); }
.footer-card { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: radial-gradient(80% 70% at 88% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); padding: clamp(28px, 4vw, 64px) calc(var(--gutter) - var(--frame) + 8px) 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); max-width: var(--max); margin-inline: auto; }
.footer-cta .lede { margin-top: 18px; }
.footer-cta__btn { flex: none; width: clamp(130px, 12.5vw, 172px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #141210; display: grid; place-items: center; text-align: center; font-weight: 500; font-size: clamp(.9rem, .8rem + .3vw, 1.04rem); line-height: 1.2; letter-spacing: -0.02em; transition: transform .6s var(--ease-out); }
.footer-cta__btn span { display: grid; justify-items: center; gap: 8px; }
.footer-cta__btn svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.footer-cta__btn:hover svg { transform: rotate(45deg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(32px, 4vw, 56px); max-width: var(--max); margin-inline: auto; }
.footer-col h3 { font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a, .footer-col li { color: var(--ink-2); transition: color .3s; }
.footer-col a:hover { color: var(--ink); }
.footer-col--intro p { color: var(--ink-2); max-width: 34ch; margin-top: 18px; }
.footer-social { display: flex; gap: 6px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.footer-social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }
.footer-wordmark { display: block; text-align: center; font-size: clamp(4.4rem, 1rem + 17vw, 18.5rem); font-weight: 500; letter-spacing: -0.075em; line-height: .8; padding-bottom: .04em;
  background: linear-gradient(180deg, rgba(237,235,228,.92) 0%, rgba(237,235,228,.5) 55%, rgba(237,235,228,.06) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 18px 0 20px; border-top: 1px solid var(--line); max-width: var(--max); margin-inline: auto; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 560; display: none; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(18,18,20,.84); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(150%); transition: transform .6s var(--ease-out); }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 46px; padding: 0 16px; justify-content: center; font-size: .88rem; }
.sticky-cta .btn--call { flex: 0 0 46px; padding: 0; }
.sticky-cta svg { width: 17px; height: 17px; }

/* ---------- planner ---------- */
.q-body .site-footer, .q-body .sticky-cta, .q-body .header-actions > .btn { display: none; }
.q-wrap { padding: var(--frame); }
.q { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.45fr); gap: var(--frame); min-height: calc(100svh - var(--frame) * 2); }
.q__side { position: sticky; top: var(--frame); height: calc(100svh - var(--frame) * 2); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 104px clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 32px); }
.q__side-img { position: absolute; inset: 0; z-index: -2; }
.q__side-img img { width: 100%; height: 100%; object-fit: cover; }
.q__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.6), rgba(11,11,12,.45) 30%, rgba(11,11,12,.93) 74%); }
.q__side h1 { margin: 16px 0 12px; font-size: clamp(2.1rem, 1rem + 2.5vw, 3.6rem); }
.q__side { overflow-y: auto; scrollbar-width: none; }
.q__side::-webkit-scrollbar { display: none; }
@media (max-height: 820px) { .q__side .q__desk { display: none; } }
.q__summary { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); }
.q__summary div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; background: rgba(18,18,20,.84); backdrop-filter: blur(10px); font-size: .86rem; }
.q__summary dt { color: var(--muted); }
.q__summary dd { text-align: right; font-weight: 500; }
.q__summary .empty { justify-content: center; color: var(--muted); font-style: italic; }
.q__trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.q__main { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); min-height: calc(100svh - var(--frame) * 2); }
.q__progress { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 92px clamp(20px, 4vw, 56px) 18px; background: linear-gradient(180deg, var(--bg-2) 82%, transparent); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.q__bar { flex: 1; height: 2px; background: var(--bg-4); overflow: hidden; border-radius: 2px; }
.q__bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .8s var(--ease-out); }
.q__count { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.q__saved { font-family: var(--mono); font-size: .68rem; color: var(--green-hi); opacity: 0; transition: opacity .4s; white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.q__saved.is-on { opacity: 1; }
.q__stage { flex: 1; padding: clamp(14px, 2.6vw, 36px) clamp(20px, 4vw, 56px) 28px; }
.q-step { display: none; max-width: 800px; }
.q-step.is-active { display: block; animation: qIn .7s var(--ease-out); }
.q-step.is-back { animation-name: qBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(36px); } }
@keyframes qBack { from { opacity: 0; transform: translateX(-36px); } }
.q-step h2 { margin: 16px 0 14px; font-size: clamp(2.2rem, 1.2rem + 2.8vw, 3.9rem); line-height: .98; letter-spacing: -0.05em; }
.q-step__k { display: flex; }
.q-step h2:focus { outline: none; }
.q-step__sub { color: var(--ink-2); max-width: 54ch; margin-bottom: clamp(22px, 3vw, 34px); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(237,235,228,.015); text-align: left; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.opt:hover { border-color: rgba(237,235,228,.36); transform: translateY(-2px); }
.opt[aria-checked="true"], .opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.opt__ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(237,235,228,.06); transition: background .3s, color .3s; }
.opt[aria-checked="true"] .opt__ic, .opt[aria-pressed="true"] .opt__ic { background: var(--accent); color: var(--bg); }
.opt__ic svg { width: 20px; height: 20px; }
.opt b { font-weight: 500; font-size: 1rem; line-height: 1.25; }
.opt span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.opt__key { position: absolute; right: 12px; top: 10px; font-family: var(--mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 6px; }
.opt--big { grid-template-columns: 1fr; gap: 6px; padding: 22px; align-content: start; min-height: 220px; }
.opt--big .opt__ic { grid-row: auto; width: 52px; height: 52px; margin-bottom: auto; }
.opt--big b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.04em; margin-top: 34px; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; }
.regions button { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .94rem; transition: border-color .3s, background .3s, color .3s; }
.regions button:hover { border-color: rgba(237,235,228,.4); }
.regions button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.billbox { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.billbox .field-head output { font-size: clamp(3.2rem, 2rem + 4vw, 5.4rem); }
.q-live { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.q-live b { color: var(--ink); font-weight: 600; }
.q__nav { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(20px, 4vw, 56px) calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg-2) 34%); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.q__back { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; background: var(--bg-2); transition: opacity .3s, border-color .3s; }
.q__back:hover { border-color: rgba(237,235,228,.4); }
.q__back[disabled] { opacity: 0; pointer-events: none; }
.q__back svg { width: 15px; height: 15px; transform: rotate(180deg); }
.q__hint { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.q__next[disabled] { opacity: .35; pointer-events: none; }
.q__next[hidden], .q__hint[hidden] { display: none; }
.resume { display: none; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px 14px 20px; border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); margin-bottom: 26px; }
.resume.is-on { display: flex; }
.resume div { display: flex; gap: 6px; }
.resume button { padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; }
.resume .yes { background: var(--accent); color: var(--bg); }
.resume .no { border: 1px solid var(--line-2); }
.result { display: grid; gap: 10px; }
.result__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.result__hero img { width: 100%; height: 100%; object-fit: cover; min-height: 250px; }
.result__hero > div { padding: clamp(18px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.result__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.result__grid .tile { min-height: 0; gap: 10px; background: var(--bg); }
.result__grid .num { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); color: var(--ink); }
.result__grid .tile--gold { background: var(--accent); }
.result__grid .tile--gold .num { color: #141210; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent-hi); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { padding: 12px 8px; border-radius: var(--r-md); border: 1px solid var(--line-2); text-align: center; display: grid; gap: 1px; transition: border-color .3s, background .3s; }
.slot b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; }
.slot > span { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.slot[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ampm { display: inline-grid; grid-auto-flow: column; gap: 6px; margin-top: 12px; }
.ampm button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; }
.ampm button[aria-checked="true"] { border-color: var(--accent); color: var(--accent-hi); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.q-form { display: grid; gap: 12px; }
.done__check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--bg); margin-bottom: 22px; box-shadow: 0 0 0 12px var(--accent-glow); }
.done__check svg { width: 34px; height: 34px; }
.done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .8s var(--ease-out) .3s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.next-steps { display: grid; gap: 8px; margin: 26px 0; }
.next-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.next-steps li > span { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.06em; line-height: 1; color: var(--accent-hi); }
.next-steps b { display: block; font-weight: 500; }
.next-steps p { font-size: .9rem; color: var(--ink-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 9px 10px; }
  .header-phone span { display: none; }
  .steps, .bigstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-col--intro { grid-column: 1 / -1; }
  .live-card { width: 260px; }
}

@media (max-width: 980px) {
  .nav, .header-phone, .header-actions > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { padding-left: 16px; padding-right: 6px; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: calc(var(--frame) + 70px); }
  .live-card { display: none; }
  .hero__foot, .page-hero__foot { grid-template-columns: 1fr; }
  .split, .calc, .tabs, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-8, .s-7, .s-6, .s-5, .s-4 { grid-column: span 12; }
  .s-3 { grid-column: span 6; }
  .tile--media { min-height: 460px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { padding-top: 14px; }
  .tabs__list { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__btn { border-color: var(--line); }
  .tabs__btn svg { display: none; }
  .tabpanel__head { grid-template-columns: 1fr; }
  .hs { height: auto !important; }
  .hs__sticky { position: relative; height: auto; padding-top: 0; overflow: visible; }
  .hs__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; scroll-padding-inline: var(--gutter); }
  .hs__track::-webkit-scrollbar { display: none; }
  .hcard { width: min(78vw, 380px); scroll-snap-align: start; }
  .hcard__img img { transform: none !important; }
  .hs__progress { display: none; }
  .scard { grid-template-columns: 1fr; height: auto; top: calc(84px + var(--i, 0) * 10px); }
  .scard__img { aspect-ratio: 16 / 10; order: -1; }
  .feature__inner { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .q { grid-template-columns: 1fr; }
  .q__side { position: relative; top: 0; height: auto; min-height: 300px; padding-top: 96px; }
  .q__side .q__desk, .q__side > div:last-child { display: none; }
  .q__progress { padding-top: 18px; }
  .result__hero { grid-template-columns: 1fr; }
  .result__hero img { min-height: 0; aspect-ratio: 16 / 9; }
  .gallery .media { grid-column: span 12 !important; aspect-ratio: 16 / 10 !important; }
  .acc__cols { grid-template-columns: 1fr; }
  .clist--3 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .pkgs.is-active, .loans, .steps, .ticks--cols { grid-template-columns: 1fr; }
  .s-3 { grid-column: span 12; }
  .bigstats, .calc__out, .result__grid { grid-template-columns: 1fr 1fr; }
  .result__grid .tile:last-child { grid-column: 1 / -1; }
  .step { min-height: 0; }
  .card { min-height: 0; }
  .hero__count { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .opts, .opts--3 { grid-template-columns: 1fr; }
  .opt--big { grid-template-columns: auto 1fr; min-height: 0; padding: 16px 18px; gap: 3px 14px; }
  .opt--big .opt__ic { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .opt--big b { font-size: 1.25rem; margin-top: 0; }
  .opt__key, .q__hint, .q__saved { display: none; }
  .acc summary { grid-template-columns: 34px 1fr auto; }
  .acc__inner { padding-left: 0; }
  .member__info { flex-direction: column; align-items: flex-start; }
  .pkg__specs b { font-size: 1.45rem; }
  .head__top .label + .label { display: none; }
  .brand__name em { display: none; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .calc__out, .bigstats { grid-template-columns: 1fr; }
  .toggle button { padding: 10px 14px; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .scrub { opacity: 1; }
}
