/* =========================================================
   Karvy Power Tech — styles
   ========================================================= */
:root {
  --navy-950: #050b22;
  --navy-900: #070f2b;
  --navy-850: #0a1638;
  --navy-800: #0f1f4d;
  --navy-700: #16296a;
  --navy: #14215a;          /* logo navy */
  --gold-200: #fbe7ae;
  --gold-300: #f5d27c;
  --gold: #dcab40;          /* logo gold */
  --gold-600: #b8862a;
  --gold-700: #8e6419;
  --paper: #ece8e1;
  --paper-2: #e2ddd3;
  --ink: #0f1a3d;
  --ink-soft: #4a5170;
  --cream: #f6f2ea;
  --muted: #a3abc8;
  --line: rgba(246, 242, 234, .12);
  --line-dark: rgba(15, 26, 61, .14);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .29 0 0 0 0 .25 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--navy-900); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold) 40%, #fff0c4 55%, var(--gold) 70%, var(--gold-600) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShift 7s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes goldShift { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300);
  margin-bottom: 22px;
}
.eyebrow--dark { color: var(--gold-700); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(220,171,64,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(220,171,64,0); } }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 780px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--row > div { max-width: 700px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-lede { margin: 22px auto 0; }
.section-title { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 600; }
.section-title .serif { font-size: 1.08em; }
.section-lede { color: var(--muted); max-width: 420px; font-size: 1.05rem; }
.paper .section-lede { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px; border: 0;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { color: var(--navy-900); background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600)); box-shadow: 0 10px 30px -10px rgba(220,171,64,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(220,171,64,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--ghost { color: var(--cream); border: 1px solid rgba(246,242,234,.25); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-200); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn > span { position: relative; }

/* ---------- chips ---------- */
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--cream);
  padding: 9px 18px; border-radius: 100px; font-family: var(--f-display); font-size: 14px; font-weight: 500;
  transition: all .35s var(--ease);
}
.chip:hover { border-color: rgba(245,210,124,.5); }
.chip.is-active { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.chip--sm { padding: 7px 14px; font-size: 13px; }

/* ---------- paper sections ---------- */
.paper { background: var(--paper) var(--noise); color: var(--ink); position: relative; }
.paper .section-title { color: var(--navy); }
.paper .serif { color: var(--gold-700); }

/* =========================================================
   LOADER
   ========================================================= */
.loader { display: none; }
.js:not(.seen) .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--paper) var(--noise);
}
.loader__logo { width: min(460px, 76vw); }
.loader__flood {
  position: fixed; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: radial-gradient(circle, #fff3cf 0%, var(--gold-300) 30%, var(--gold) 55%, var(--navy-900) 72%);
  transform: scale(0); pointer-events: none;
}

/* logo svg parts */
/* logo artwork is 745 x 391; the sun and wordmark are separate layers so the intro can animate them */
.loader__logo { position: relative; }
.logo-stack { position: relative; width: 100%; aspect-ratio: 745 / 391; }
.logo-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-stack__sunclip { position: absolute; inset: 0; clip-path: inset(0 0 39% 0); }
.logo-stack__glow {
  position: absolute; left: 20%; top: 37.6%; width: 46%; aspect-ratio: 1; transform-origin: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,210,124,.55), rgba(220,171,64,.18) 45%, transparent 70%);
}

/* =========================================================
   CURSOR & PROGRESS
   ========================================================= */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(220,171,64,.6);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(220,171,64,.12); border-color: transparent; }
.cursor.is-drag .cursor__ring { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: rgba(245,210,124,.18); border-color: var(--gold-300); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7,15,43,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: rgba(246,242,234,.8);
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--gold-200); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 28px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--f-display); font-size: 2rem; font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% 40%, rgba(220,171,64,.14), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(22,41,106,.8), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-850));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(3.2rem, 8.4vw, 7.6rem); font-weight: 700; letter-spacing: -.045em; line-height: .96; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; }
.hero__title .serif { font-size: 1.12em; letter-spacing: -.02em; }
.hero__lede { max-width: 480px; font-size: 1.12rem; color: var(--muted); margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 52px); margin: 0; }
.hero__stats > div { border-left: 1px solid var(--line); padding-left: 18px; }
.hero__stats dt { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--cream); letter-spacing: -.02em; }
.hero__stats dd { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }

/* hero sun */
.hero__sun { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.hs__glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(245,210,124,.45) 0%, rgba(220,171,64,.18) 30%, transparent 62%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.hs__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(245,210,124,.25); stroke-width: 1; }
.hs__ring--1 { stroke-dasharray: 2 10; animation: spin 90s linear infinite; }
.hs__ring--2 { stroke-dasharray: 60 14 4 14; stroke: rgba(245,210,124,.18); animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hs__rays { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 120s linear infinite; }
.hs__rays line { stroke: url(#heroRayGrad); stroke-linecap: round; }
.hs__core {
  position: absolute; inset: 29%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, #fff5d6 0%, var(--gold-300) 22%, var(--gold) 55%, var(--gold-600) 85%, var(--gold-700));
  box-shadow: 0 0 80px 10px rgba(245,210,124,.35), 0 0 200px 40px rgba(220,171,64,.18), inset -18px -24px 60px rgba(120,70,10,.45), inset 10px 14px 40px rgba(255,255,255,.35);
}
.hs__core::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); }
.hs__surface {
  position: absolute; inset: -20%;
  background: conic-gradient(from 0deg, transparent 0 10%, rgba(255,255,255,.18) 14%, transparent 22% 40%, rgba(255,240,200,.16) 46%, transparent 55% 72%, rgba(255,255,255,.14) 78%, transparent 86%);
  animation: spin 24s linear infinite; mix-blend-mode: overlay;
}
.hs__orbit { position: absolute; inset: 6%; border-radius: 50%; animation: spin 26s linear infinite; }
.hs__orbit--2 { inset: 15%; animation-duration: 18s; animation-direction: reverse; }
.hs__planet { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 16px 4px rgba(245,210,124,.7); }
.hs__orbit--2 .hs__planet { width: 6px; height: 6px; top: -3px; margin-left: -3px; background: #fff; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(246,242,234,.3); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-850); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; color: rgba(246,242,234,.75); white-space: nowrap; }
.marquee__track i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(220,171,64,.8); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STORY (how it works)
   ========================================================= */
.story { padding: clamp(90px, 12vw, 160px) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.story__visual { position: sticky; top: 110px; }
.flow { width: 100%; max-width: 520px; overflow: visible; }
.flow__path { fill: none; stroke: var(--line-dark); stroke-width: 3; stroke-linecap: round; }
.flow__path--dash { stroke: var(--gold); stroke-dasharray: 2 12; stroke-width: 4; opacity: 0; transition: opacity .6s; animation: flowDash 1s linear infinite; }
.flow__path--dash.on { opacity: 1; }
@keyframes flowDash { to { stroke-dashoffset: -14; } }
.node__bg { fill: #fff; stroke: var(--line-dark); stroke-width: 1.5; transition: all .6s var(--ease); }
.node__icon { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.node__label, .node__label--grid { font-family: var(--f-display); font-size: 15px; font-weight: 600; fill: var(--ink-soft); transition: fill .5s; }
.node { transition: transform .6s var(--ease); }
.node.on .node__bg { fill: var(--navy); stroke: var(--gold); stroke-width: 2.5; filter: drop-shadow(0 10px 22px rgba(20,33,90,.35)); }
.node.on .node__icon { stroke: var(--gold-300); }
.node.on .node__label { fill: var(--navy); }
.node__sunrays { animation: spin 14s linear infinite; transform-origin: 0 0; }
.story__meter {
  display: inline-flex; gap: 14px; align-items: center; margin-top: 18px;
  padding: 10px 18px; border-radius: 100px; background: #fff; border: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: 14px;
}
.story__meter-label { color: var(--ink-soft); }
.story__meter-val { color: var(--navy); font-weight: 700; min-width: 128px; }
.story__meter-val.is-export { color: #1c8a4d; }

.story__steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 44px 0 44px 28px; border-left: 2px solid var(--line-dark); min-height: 42vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .6s, border-color .6s; position: relative; }
.step::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.step.on { opacity: 1; }
.step.on::before { transform: scaleY(1); }
.step__num { font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--gold-700); }
.step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin: 4px 0 12px; }
.step p { color: var(--ink-soft); max-width: 440px; }

/* =========================================================
   SOLUTIONS
   ========================================================= */
.solutions { padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(220,171,64,.18), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245,210,124,.9), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: rgba(220,171,64,.1); border: 1px solid rgba(220,171,64,.25); transition: transform .6s var(--ease), background .4s; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); background: rgba(220,171,64,.2); }
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.card__tag { display: inline-block; font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(220,171,64,.3); }

/* =========================================================
   CALCULATOR
   ========================================================= */
.calc { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(1000px 600px at 50% 0%, rgba(22,41,106,.7), transparent 70%), var(--navy-850); position: relative; }
.calc__wrap { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; }
.calc__stage { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #0b1336; display: flex; flex-direction: column; }
.calc__type { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; padding: 5px; border-radius: 100px; background: rgba(5,11,34,.55); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.calc__type .chip { border: 0; background: transparent; padding: 7px 16px; }
.calc__type .chip.is-active { background: var(--gold); }
.scene { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scene.is-dragging { cursor: grabbing; }
.scene #sun { cursor: grab; touch-action: none; }
.scene__track { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.scene__stars circle { fill: #fff; }
.scene__sunrays line { stroke: #FFD98A; stroke-width: 5; stroke-linecap: round; }
.scene__sunhalo { fill: none; stroke: rgba(255,240,200,.55); stroke-width: 1.5; stroke-dasharray: 3 6; animation: spin 20s linear infinite; transform-origin: 0 0; }
.scene__beams line { stroke: #FFE3A0; stroke-width: 2; stroke-dasharray: 3 14; stroke-linecap: round; animation: flowDash .9s linear infinite; }
.scene__win rect { fill: #3a4262; stroke: #cfc7b8; stroke-width: 3; transition: fill .6s; }
.scene__win path { stroke: #cfc7b8; stroke-width: 2; }
.scene__win.lit rect { fill: #ffd98a; filter: drop-shadow(0 0 10px rgba(255,217,138,.9)); }
.scene__panel { stroke: #9fb3e8; stroke-width: .8; transition: fill .4s; }
.scene__badge rect { fill: var(--gold); }
.scene__badge text { font-family: var(--f-display); font-weight: 700; font-size: 14px; fill: var(--navy-900); }
.scene__tag rect { fill: rgba(5,11,34,.82); stroke: rgba(245,210,124,.6); }
.scene__tag text { font-family: var(--f-display); font-weight: 700; font-size: 19px; fill: var(--gold-200); }
.scene__tag path { fill: rgba(245,210,124,.6); }
.scene__hint { pointer-events: none; }
.scene__hint-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: .7; animation: hintPulse 1.8s var(--ease) infinite; transform-origin: 0 0; }
.scene__hint text { font-family: var(--f-display); font-size: 15px; font-weight: 600; fill: #fff; }
@keyframes hintPulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

.calc__controls { margin-top: auto; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(5,11,34,.6); }
.calc__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p, 30%), rgba(255,255,255,.12) var(--p, 30%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5d6, var(--gold) 60%, var(--gold-600)); box-shadow: 0 0 0 5px rgba(220,171,64,.25), 0 0 20px rgba(245,210,124,.8); border: 0; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5d6, var(--gold) 60%, var(--gold-600)); box-shadow: 0 0 0 5px rgba(220,171,64,.25); border: 0; }
input[type=range]:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; border-radius: 6px; }

.calc__results { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.res__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.res__bill { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.res__bill span:first-child { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; position: relative; }
.res__bill span:first-child::after { content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 3px; background: var(--gold); border-radius: 3px; transform: scaleX(var(--strike, 0)); transform-origin: left; transition: transform .8s var(--ease); }
.res__per { color: var(--muted); }
.res__after { font-size: 15px; color: var(--muted); }
.res__after strong { color: var(--gold-200); font-family: var(--f-display); }
.res__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res__tile { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.res__tile--gold { background: linear-gradient(145deg, rgba(245,210,124,.2), rgba(220,171,64,.06)); border-color: rgba(245,210,124,.35); }
.res__k { font-size: 12.5px; color: var(--muted); }
.res__v { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.res__tile--gold .res__v { color: var(--gold-200); }
.res__v small { font-size: .6em; font-weight: 600; color: var(--muted); }
.res__s { font-size: 12.5px; color: var(--muted); }
.res__horizon-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.res__horizon-top strong { color: var(--cream); font-family: var(--f-display); }
.res__free strong { color: var(--gold-200); }
.horizon { position: relative; height: 14px; border-radius: 10px; background: rgba(255,255,255,.06); overflow: visible; display: flex; }
.horizon__pay { height: 100%; border-radius: 10px 0 0 10px; background: repeating-linear-gradient(135deg, rgba(163,171,200,.45) 0 6px, rgba(163,171,200,.25) 6px 12px); width: 12%; transition: width .9s var(--ease); }
.horizon__free { height: 100%; flex: 1; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); box-shadow: 0 0 22px rgba(220,171,64,.45); }
.horizon__mark { position: absolute; top: -6px; bottom: -6px; width: 3px; border-radius: 3px; background: #fff; left: 12%; transition: left .9s var(--ease); box-shadow: 0 0 10px #fff; }
.horizon__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.res__note { font-size: 12px; color: rgba(163,171,200,.75); line-height: 1.5; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: clamp(90px, 12vw, 160px) 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.timeline__line { position: absolute; top: 8px; left: 8px; right: 0; height: 2px; background: var(--line-dark); }
.timeline__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--gold)); transform: scaleX(0); transform-origin: left; }
.tl { position: relative; }
.tl__dot { position: absolute; top: -44px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-600); transition: background .5s, box-shadow .5s; }
.tl.on .tl__dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(220,171,64,.2); }
.tl__num { font-family: var(--f-serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--gold-700); display: block; margin-bottom: 14px; }
.tl h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 10px; }
.tl p { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================
   IMPACT
   ========================================================= */
.impact { padding: clamp(90px, 12vw, 150px) 0; background: var(--navy-900); position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(220,171,64,.12), transparent 60%); }
.impact__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.impact__num { display: block; font-family: var(--f-display); font-size: clamp(4.5rem, 12vw, 10rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; background: linear-gradient(180deg, var(--gold-200), var(--gold) 60%, var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact__num small { font-size: .35em; letter-spacing: 0; margin-left: 8px; }
.impact__cap { display: block; margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 380px; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 18px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .4s, transform .5s var(--ease); }
.promise li:hover { border-color: rgba(245,210,124,.4); transform: translateX(6px); }
.promise__icon { font-size: 26px; color: var(--gold); line-height: 1.2; }
.promise h3 { font-size: 1.15rem; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: 15px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(90px, 12vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; }
.qa { border-bottom: 1px solid var(--line-dark); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .4s, transform .5s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--navy); transition: transform .5s var(--ease), background .4s; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--navy); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--gold-300); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 50px 26px 0; color: var(--ink-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; background: var(--navy-900); }
.contact__sunset { position: absolute; left: 50%; bottom: -520px; width: 1100px; height: 1100px; margin-left: -550px; border-radius: 50%; background: radial-gradient(circle, rgba(245,210,124,.35) 0%, rgba(220,171,64,.14) 30%, transparent 60%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.contact__copy .section-lede { margin-top: 22px; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 18px; font-size: 16px; }
.contact__list span { width: 60px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; padding-top: 3px; }
.contact__list a { border-bottom: 1px solid rgba(245,210,124,.4); transition: color .3s; }
.contact__list a:hover { color: var(--gold-200); }

.form { position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: rgba(10,22,56,.75); border: 1px solid var(--line); backdrop-filter: blur(12px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--cream); font: inherit; font-size: 16px; outline: none; transition: border-color .3s, background .3s; }
.field input:focus { border-color: var(--gold); background: rgba(255,255,255,.07); }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; letter-spacing: .06em; color: var(--gold-300); }
.field.is-invalid input { border-color: #e58a7a; }
.form__type { grid-column: 1 / -1; border: 0; padding: 0; margin: 4px 0 6px; display: flex; gap: 8px; }
.form__type label { flex: 1; }
.form__type input { position: absolute; opacity: 0; }
.form__type span { display: block; text-align: center; padding: 11px; border-radius: 12px; border: 1px solid var(--line); font-family: var(--f-display); font-size: 14px; cursor: pointer; transition: all .3s; }
.form__type input:checked + span { background: rgba(220,171,64,.15); border-color: var(--gold); color: var(--gold-200); }
.form__type input:focus-visible + span { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; }
.form__msg { grid-column: 1 / -1; font-size: 14px; color: #f0a898; min-height: 1em; }
.form__done { position: absolute; inset: 0; border-radius: inherit; background: var(--navy-850); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px; opacity: 0; visibility: hidden; }
.form__done svg { width: 110px; fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-size: 1.5rem; }
.form__done p { color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-950); padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { display: block; width: 190px; margin-bottom: 20px; }
.footer__logo img { width: 100%; height: auto; }
.footer__addr { max-width: 260px; line-height: 1.5; }
.footer__brand p { color: var(--muted); max-width: 300px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: 15px; transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--cream); }
.footer__base { display: flex; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__top:hover { color: var(--gold-200); }

/* =========================================================
   REVEAL DEFAULTS (only when JS/GSAP is running)
   ========================================================= */
.anim .reveal, .anim .reveal-card, .anim .hero-in { opacity: 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .calc__wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sun { position: absolute; top: -40px; right: -32%; width: 90vw; max-width: 520px; opacity: .55; z-index: -1; }
  .story__grid { grid-template-columns: 1fr; }
  .story__visual { top: 70px; z-index: 2; background: var(--paper) var(--noise); padding: 10px 0 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; align-items: center; }
  .flow { max-width: 230px; }
  .story__meter { margin-top: 6px; padding: 6px 14px; font-size: 13px; }
  .step { min-height: 0; padding: 36px 0 36px 22px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .timeline__line { display: none; }
  .tl__dot { position: static; margin-bottom: 14px; }
  .timeline { padding-top: 0; }
  .impact__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .hero__stats > div { padding-left: 12px; }
  .hero__stats dd { font-size: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .timeline { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .res__grid { grid-template-columns: 1fr 1fr; }
  .res__tile { padding: 12px; }
  .res__v { font-size: 1.25rem; }
  .calc__results { padding: 20px; }
  .calc__type { top: 10px; left: 10px; }
  .qa__body p { padding-right: 0; }
  .footer__base { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   MULTIPAGE ADDITIONS
   ========================================================= */

/* failsafe: overlays never stay up if scripts fail to run */
.js .loader, .js .curtain { animation: overlayFailsafe 0s 11s forwards; }
@keyframes overlayFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- page transition curtain ---------- */
.curtain {
  display: none; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background:
    radial-gradient(700px 500px at 50% 110%, rgba(220,171,64,.35), transparent 70%),
    var(--navy-900);
}
.js.seen .curtain { display: grid; }
.curtain__logo { width: min(260px, 56vw); height: auto; }

/* ---------- nav: full logo + current page ---------- */
.nav__brand { width: 118px; flex-shrink: 0; display: block; line-height: 0; transition: width .45s var(--ease); }
.nav__brand img { width: 100%; height: auto; }
.nav.is-scrolled .nav__brand { width: 96px; }
.nav__links a[aria-current="page"] { color: var(--gold-200); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu a[aria-current="page"] { color: var(--gold-300); }
.footer__hours { color: var(--muted); font-size: 14px; }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 78vh; min-height: 78svh; display: flex; align-items: center;
  padding: 170px 0 260px;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(220,171,64,.22), transparent 65%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 70%, var(--navy-850));
}
.page-hero .hero__canvas { z-index: -1; }
.page-hero__sun {
  position: absolute; left: 50%; bottom: 0; z-index: -1;
  width: min(760px, 120vw); aspect-ratio: 1; margin-left: calc(min(760px, 120vw) / -2);
  margin-bottom: calc(min(760px, 120vw) * -0.64);
}
.page-hero__sun .hs__rays { animation-duration: 160s; }
.page-hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-title { font-size: clamp(2.9rem, 7.2vw, 6.4rem); font-weight: 700; letter-spacing: -.045em; line-height: .98; margin-bottom: 26px; }
.page-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.page-title .word { display: inline-block; }
.page-title .serif { font-size: 1.1em; letter-spacing: -.02em; }
.page-hero__lede { max-width: 580px; font-size: 1.12rem; color: var(--muted); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 26px; letter-spacing: .04em; }
.crumbs a { color: var(--cream); opacity: .8; transition: color .3s, opacity .3s; }
.crumbs a:hover { color: var(--gold-200); opacity: 1; }
.crumbs span[aria-current] { color: var(--gold-300); }

/* ---------- misc section helpers ---------- */
.section-more { display: flex; justify-content: center; margin-top: 48px; }
.calc--page { padding-top: clamp(60px, 8vw, 100px); }
.contact--page .contact__sunset { opacity: .6; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card__big { display: block; font-family: var(--f-serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold-300); margin-bottom: 26px; }

/* ---------- home: calculator teaser ---------- */
.teaser { padding: 0 0 clamp(90px, 12vw, 150px); background: var(--navy-850); }
.teaser__card {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; position: relative;
  background: radial-gradient(600px 400px at 85% 100%, rgba(220,171,64,.22), transparent 70%), linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(245,210,124,.2);
}
.teaser__copy .section-lede { margin-top: 20px; max-width: 460px; }
.teaser__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.teaser__chips .chip:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.teaser__art { width: 100%; overflow: visible; }
.teaser__arc { fill: none; stroke: rgba(245,210,124,.35); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.teaser__ground { fill: rgba(5,11,34,.6); }
.teaser__panels path { fill: #1d3572; stroke: #6f86c9; stroke-width: 1; animation: panelGlow 7s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes panelGlow {
  0%, 12%, 88%, 100% { fill: #13224d; filter: none; }
  40%, 60% { fill: #2f5bc4; filter: drop-shadow(0 0 6px rgba(245,210,124,.7)); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 170px) 0; background: var(--navy-900); text-align: center; border-top: 1px solid var(--line); }
.cta-band__glow { position: absolute; left: 50%; bottom: -600px; width: 1200px; height: 1200px; margin-left: -600px; border-radius: 50%; background: radial-gradient(circle, rgba(245,210,124,.4) 0%, rgba(220,171,64,.14) 28%, transparent 58%); animation: breathe 7s ease-in-out infinite; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-band .section-title { max-width: 900px; }
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ---------- solutions: feature rows ---------- */
.features { padding: clamp(90px, 12vw, 160px) 0; }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 7vw, 110px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line-dark); }
.feature--flip .feature__copy { order: 2; }
.feature__num { font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--gold-700); display: block; margin-bottom: 10px; }
.feature .eyebrow { margin-bottom: 12px; }
.feature h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--navy); margin-bottom: 16px; }
.feature__copy > p { color: var(--ink-soft); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23F5D27C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.feature__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature__chips span { font-family: var(--f-display); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); padding: 7px 13px; border-radius: 100px; border: 1px solid rgba(142,100,25,.3); }
.feature__art {
  position: relative; aspect-ratio: 1; border-radius: 36px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(220,171,64,.35), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 40px 80px -40px rgba(15,26,61,.6);
}
.feature__art svg { position: relative; width: 34%; fill: none; stroke: var(--gold-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(245,210,124,.55)); }
.feature__rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(245,210,124,.22); transform: translate(-50%, -50%); animation: ringPulse 5s ease-out infinite; }
.feature__rings span:nth-child(1) { width: 50%; height: 50%; }
.feature__rings span:nth-child(2) { width: 72%; height: 72%; animation-delay: 1.2s; border-style: dashed; }
.feature__rings span:nth-child(3) { width: 94%; height: 94%; animation-delay: 2.4s; }
@keyframes ringPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- calculator: assumptions ---------- */
.assume { padding: clamp(90px, 12vw, 150px) 0; }
.assume__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.assume__item { padding: 28px 24px; border-radius: 20px; background: rgba(255,255,255,.55); border: 1px solid var(--line-dark); }
.assume__k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px; }
.assume__item strong { display: block; font-family: var(--f-display); font-size: 1.7rem; color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.assume__item p { color: var(--ink-soft); font-size: 15px; }
.assume__note { margin-top: 30px; color: var(--ink-soft); font-size: 15px; }

/* ---------- about ---------- */
.statement { padding: clamp(100px, 14vw, 190px) 0; }
.statement__text { font-family: var(--f-display); font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-weight: 600; line-height: 1.18; letter-spacing: -.025em; color: var(--navy); max-width: 1100px; }
.numbers { padding: clamp(70px, 9vw, 110px) 0; background: var(--navy-900); border-bottom: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbers__item { border-left: 1px solid var(--line); padding-left: 22px; }
.numbers__v { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; background: linear-gradient(180deg, var(--gold-200), var(--gold) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers__k { color: var(--muted); font-size: 14.5px; }
.values { padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }

/* ---------- contact: next steps ---------- */
.next { padding: clamp(90px, 12vw, 150px) 0; }
.next__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.next__item { padding: 32px 28px; border-radius: 22px; background: rgba(255,255,255,.55); border: 1px solid var(--line-dark); }
.next__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-300); font-family: var(--f-display); font-weight: 700; margin-bottom: 22px; }
.next__item h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 10px; }
.next__item p { color: var(--ink-soft); font-size: 15.5px; }

/* the process timeline also sits on a dark background on the How it works page */
.process:not(.paper) { background: var(--navy-900); }
.process:not(.paper) .section-title { color: var(--cream); }
.process:not(.paper) .serif { color: var(--gold-300); }
.process:not(.paper) .eyebrow--dark { color: var(--gold-300); }
.process:not(.paper) .timeline__line { background: var(--line); }
.process:not(.paper) .tl__dot { background: var(--navy-900); }
.process:not(.paper) .tl.on .tl__dot { background: var(--gold); }
.process:not(.paper) .tl__num { color: var(--gold-300); }
.process:not(.paper) .tl h3 { color: var(--cream); }
.process:not(.paper) .tl p { color: var(--muted); }

@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .assume__grid, .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 960px) {
  .teaser__card { grid-template-columns: 1fr; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .feature__art { max-width: 420px; width: 100%; }
  .next__grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; padding: 140px 0 220px; }
  .nav__brand { width: 96px; }
  .nav.is-scrolled .nav__brand { width: 84px; }
}
@media (max-width: 640px) {
  .cards--4, .assume__grid { grid-template-columns: 1fr; }
  .cta-band__btns .btn { flex: 1 1 100%; }
}

/* ---------- about: company details ---------- */
.company { padding: 0 0 clamp(70px, 9vw, 110px); }
.company__card { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 0; border-radius: 22px; background: #fff; border: 1px solid var(--line-dark); overflow: hidden; }
.company__item { padding: 26px 28px; border-left: 1px solid var(--line-dark); }
.company__item:first-child { border-left: 0; }
.company__k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 8px; }
.company__item strong, .company__item a { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.company__item a { border-bottom: 1px solid rgba(142,100,25,.35); transition: color .3s; }
.company__item a:hover { color: var(--gold-700); }

/* ---------- contact: office map ---------- */
.visit { padding: clamp(90px, 12vw, 150px) 0; background: var(--navy-900); }
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.visit__copy .section-lede { margin: 20px 0 30px; }
.visit__map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--navy-850); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.form__done a { color: var(--gold-200); border-bottom: 1px solid rgba(245,210,124,.4); }

@media (max-width: 960px) {
  .company__card { grid-template-columns: 1fr; }
  .company__item { border-left: 0; border-top: 1px solid var(--line-dark); }
  .company__item:first-child { border-top: 0; }
  .visit__grid { grid-template-columns: 1fr; }
}
