/* Self-hosted brand fonts (SIL Open Font License; latin subset). Preloaded in <head>, so no late swap shifts the layout. */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-italic-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/outfit-normal-300-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Kognisol site styles (16 Nov 2026). Stripe/Linear-style layer on the Kognisol brand.
   Source of truth: design-system/kognisol/MASTER.md. Built into /assets/kognisol.css by scripts/site/build.py. */
:root {
  --black: #0a0a0a;
  --deep: #0e0e0e;
  --surface: #121212;
  --card: #151515;
  --card-glass: rgba(21, 21, 21, .72);   /* home cards: the 3D shapes glow faintly through */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201, 168, 76, 0.14);
  --gold-glow: rgba(201, 168, 76, 0.18);
  --white: #f5f2ec;
  --muted: #c5c2ba;
  --faint: #9a968d;
  --danger: #ef8a7b;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--muted);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { color: var(--white); margin: 0; font-family: var(--font-body); font-weight: 500; letter-spacing: -0.03em; }
h1 em, h2 em, h3 em { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--black); padding: .8rem 1.2rem; font-weight: 500; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 3D world (home) ---------- */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
#world.is-live { opacity: 1; }
main, .site-footer { position: relative; z-index: 1; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ---------- header + mega menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.72); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(12px)) { .site-header { backdrop-filter: saturate(140%) blur(14px); } }
.nav { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.nav-main { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; }
.nav-main a, .dd-toggle {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .85rem; border-radius: 999px;
  font: inherit; font-size: .92rem; font-weight: 400; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-main a:hover, .dd-toggle:hover, .nav-main a[aria-current="page"], .dd-toggle[aria-expanded="true"] { color: var(--white); background: rgba(255, 255, 255, .06); }
.dd-toggle.is-current { color: var(--white); background: rgba(255, 255, 255, .06); }
.dd-toggle svg { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: -1rem; width: 560px; padding: .9rem; display: none;
  grid-template-columns: 1fr 1fr; gap: .35rem; background: rgba(18, 18, 18, .97); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 168, 76, .06);
}
.dd-panel.is-open { display: grid; animation: ddIn .18s var(--ease); }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge over the gap */
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dd-panel a { display: block; padding: .8rem .9rem; border-radius: var(--radius-sm); min-height: 0; }
.dd-panel a:hover { background: rgba(201, 168, 76, .08); }
.dd-panel strong { display: block; color: var(--white); font-weight: 500; font-size: .95rem; margin-bottom: .15rem; }
.dd-panel span { display: block; color: var(--faint); font-size: .82rem; line-height: 1.45; }
.dd-panel .dd-feature { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: .3rem; padding-top: 1rem; }
.dd-panel .dd-feature strong { color: var(--gold-light); margin: 0; }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--white); min-height: 44px; padding: 0 1rem; border-radius: 999px; font: inherit; font-size: .85rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-gold, .btn-primary { background: var(--gold); color: #111; box-shadow: 0 0 0 1px rgba(201, 168, 76, .4), 0 8px 30px rgba(201, 168, 76, .18); }
.btn-gold:hover, .btn-primary:hover { background: var(--gold-light); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(201, 168, 76, .5); background: rgba(201, 168, 76, .06); }
.btn-primary { border: 0; width: 100%; font: inherit; font-weight: 500; }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.link { color: var(--gold-light); text-decoration: none; font-weight: 400; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- shared section heads ---------- */
.eyebrow, .hero-tag {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem .35rem .65rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .78rem; letter-spacing: .04em; color: var(--muted);
}
.eyebrow::before, .hero-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2, .h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; }
.section-head p { margin-top: 1.2rem; font-size: 1.12rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero::before { /* faint grid, Linear-style */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after { /* gold glow that follows the cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 72%) var(--my, 38%), rgba(201, 168, 76, .10), transparent 62%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-content-layer { max-width: 780px; }
.hero-tag { display: inline-flex; margin-bottom: 1.8rem; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -0.045em; }
.hero h1 em { letter-spacing: -0.02em; }
.hero-sub { max-width: 600px; margin: 1.8rem 0 2.4rem; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.pills li { font-size: .82rem; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; background: rgba(10, 10, 10, .5); }
.motion .kw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.motion .kw > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.motion .is-in .kw > span { transform: none; }
.motion .hero h1 em .kw > span, .shimmer {
  background: linear-gradient(100deg, #c9a84c 0%, #f3dc98 30%, #c9a84c 50%, #8f7430 75%, #c9a84c 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -240% 0; } }
.webgl .hero h1, .webgl .hero-sub { text-shadow: 0 2px 30px rgba(0, 0, 0, .7); }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .6rem; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--card-glass);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 2rem); min-height: 280px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tile::before { /* spotlight that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(201, 168, 76, .12), transparent 60%);
}
.tile:hover { border-color: rgba(201, 168, 76, .35); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
/* Home with the 3D world running (desktop): cards turn to frosted glass, so each section's shape glows through softly */
@media (min-width: 901px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .webgl .tile, .webgl .calc-in, .webgl .calc-out, .webgl .ask {
      --card-glass: rgba(21, 21, 21, .55);
      -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
    }
  }
}
.tile .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.12; }
.tile p { margin: 0; font-size: .98rem; color: var(--muted); max-width: 46ch; }
.tile .more { margin-top: auto; padding-top: 1rem; color: var(--gold-light); font-size: .9rem; display: inline-flex; gap: .35rem; }
.tile .viz { margin: .5rem 0 .5rem; height: 150px; display: flex; align-items: center; justify-content: center; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.tile-cta { background: radial-gradient(120% 120% at 100% 0%, rgba(201, 168, 76, .2), transparent 55%), var(--card); border-color: rgba(201, 168, 76, .3); }

/* tile visuals (abstract, no numbers) */
.viz svg { width: 100%; height: 100%; overflow: visible; }
.viz .stroke { fill: none; stroke: rgba(201, 168, 76, .55); stroke-width: 1.2; }
.viz .stroke-faint { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.viz .dot { fill: var(--gold-light); }
.viz .node { fill: var(--surface); stroke: rgba(201, 168, 76, .6); stroke-width: 1.2; }
.viz text { fill: var(--muted); font-family: var(--font-body); font-size: 11px; letter-spacing: .05em; }
.motion .drip { animation: drip 2.8s linear infinite; }
.motion .drip.d2 { animation-delay: .7s; } .motion .drip.d3 { animation-delay: 1.4s; } .motion .drip.d4 { animation-delay: 2.1s; }
.motion .drip.out { animation-name: dripOut; }
@keyframes drip { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(0, 120px); opacity: 0; } }
@keyframes dripOut { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 55% { transform: translate(0, 62px); opacity: 1; } 100% { transform: translate(46px, 110px); opacity: 0; } }
.motion .packet { animation: packet 3.2s var(--ease) infinite; offset-rotate: 0deg; }
.motion .packet.p2 { animation-delay: 1.1s; } .motion .packet.p3 { animation-delay: 2.2s; }
@keyframes packet { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.motion .twinkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.motion .bubble { animation: bubble 4.5s var(--ease) infinite; }
.motion .bubble.b2 { animation-delay: 1.5s; } .motion .bubble.b3 { animation-delay: 3s; }
@keyframes bubble { 0%, 100% { opacity: .25; } 20%, 45% { opacity: 1; } }

/* ---------- the film ---------- */
.film { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0a0a0a;
  border: 1px solid rgba(201, 168, 76, .3); box-shadow: 0 40px 120px rgba(0, 0, 0, .65), 0 0 90px rgba(201, 168, 76, .1); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; left: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1.1rem 0 .95rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 10, 10, .65); color: var(--white); font: inherit; font-size: .9rem; cursor: pointer; }
.film-toggle:hover { border-color: var(--gold); }
.film-icon { width: 0; height: 0; border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film.is-playing .film-icon { width: 11px; height: 13px; border: 0; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.film-note { text-align: center; margin: 1rem 0 0; font-size: .85rem; color: var(--faint); }
@media (max-width: 600px) { .film { border-radius: 14px; } .film-toggle { left: .55rem; bottom: .55rem; min-height: 34px; padding: 0 .75rem 0 .65rem; font-size: .78rem; } }

/* ---------- the story: three moments, pinned (device: pin) ---------- */
.act-pin .pin-stage { padding: var(--section) 0; }
.pin-stage > .wrap { width: 100%; }
.pin-copy { max-width: 600px; }
.pin-steps { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.pin-step { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.pin-step .moment { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; color: var(--gold-light); margin-bottom: 1rem; letter-spacing: -0.02em; }
.pin-step h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 1rem; }
.pin-step p { margin: 0 0 1.2rem; font-size: 1.1rem; max-width: 52ch; }
.pin-step .tag { display: inline-flex; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 168, 76, .35); border-radius: 999px; padding: .3rem .8rem; }
.pin-dots { display: none; }
.motion .act-pin { height: 340vh; position: relative; }
.motion .act-pin .pin-stage { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; align-items: center; padding: 0; }
.motion .pin-steps { position: relative; min-height: 26rem; }
.motion .pin-step { position: absolute; inset: 0 0 auto 0; border: 0; padding: 0; opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); pointer-events: none; }
.motion .pin-step.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.motion .pin-dots { display: flex; gap: .6rem; margin-top: 1.6rem; }
.pin-dots span { width: 2.4rem; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background .3s var(--ease); }
.pin-dots span.is-active { background: var(--gold); }
.webgl .pin-step h3, .webgl .pin-step p { text-shadow: 0 2px 26px rgba(0, 0, 0, .8); }

/* ---------- it adds up: the leak calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem; }
.calc-in { display: grid; gap: 1.3rem; background: var(--card-glass); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.calc-in label { display: flex; justify-content: space-between; gap: 1rem; }
.calc-in output { color: var(--gold-light); font-weight: 500; }
.calc-in input[type="range"] { padding: 0; min-height: 44px; accent-color: var(--gold); background: none; border: 0; }
.calc-out { display: flex; flex-direction: column; gap: .4rem; border: 1px solid rgba(201, 168, 76, .35); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  background: radial-gradient(110% 90% at 100% 0%, rgba(201, 168, 76, .16), transparent 60%), var(--card-glass); }
.calc-out .label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.calc-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -0.04em; color: var(--white); line-height: 1.05; margin-top: .4rem; }
.calc-big small { font-size: 1rem; font-weight: 300; letter-spacing: 0; color: var(--muted); }
.calc-year { font-size: 1.15rem; color: var(--gold-light); }
.calc-how { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.calc-note { margin: .2rem 0 1.2rem; font-size: .88rem; color: var(--faint); }
.calc-out .btn { margin-top: auto; align-self: flex-start; }

/* ---------- trust + the ask ---------- */
.trust-tile { min-height: 0; }
.trust-tile .label { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--gold-light); }
.ask { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border: 1px solid rgba(201, 168, 76, .35);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); background: radial-gradient(80% 140% at 100% 0%, rgba(201, 168, 76, .14), transparent 60%), var(--card-glass); }
.ask h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .3rem; }
.ask p { margin: 0; }

/* ---------- statements: where AI projects go wrong ---------- */
.statements { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.statement { display: flex; align-items: baseline; gap: 1.6rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; color: var(--white); }
.statement small { font-size: .78rem; font-weight: 400; letter-spacing: .1em; color: var(--gold); min-width: 2.4rem; }
.statement .strike { position: relative; color: var(--faint); }
.statement .strike::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 3px; border-radius: 2px; background: var(--gold); transform-origin: left; }
.statement .why { display: block; font-size: 1rem; font-weight: 300; letter-spacing: 0; line-height: 1.6; color: var(--muted); margin-top: .5rem; max-width: 640px; }
.motion .statement .strike { color: var(--white); transition: color .6s var(--ease) .7s; }
.motion .statement .strike::after { transform: scaleX(0); transition: transform .9s var(--ease) .35s; }
.motion .statement.is-visible .strike { color: var(--faint); }
.motion .statement.is-visible .strike::after { transform: scaleX(1); }
.answer { margin-top: 2.4rem; font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--gold-light); }

/* ---------- the peak: pinned approach (scrub) ---------- */
.breath { height: 25vh; }
.scrub-copy { max-width: 560px; }
.scrub-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; }
.scrub-steps { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 1.3rem; }
.scrub-steps li { padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(14, 14, 14, .75); }
.scrub-steps h3 { font-size: 1.2rem; margin-bottom: .35rem; letter-spacing: -0.02em; }
.scrub-steps p { margin: 0; font-size: .97rem; }
.scrub-steps .num { color: var(--gold); font-size: .8rem; letter-spacing: .1em; display: block; margin-bottom: .3rem; }
.act-scrub .scrub-stage { padding: var(--section) 0; }
.motion .act-scrub { height: 260vh; position: relative; }
.motion .act-scrub .scrub-stage { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; align-items: center; padding: 0; }
.scrub-stage > .wrap, .close-stage > .wrap { width: 100%; }
.motion .scrub-steps li { opacity: .22; transition: opacity .5s var(--ease), border-color .5s var(--ease); }
.motion .scrub-steps li.is-on { opacity: 1; border-color: rgba(201, 168, 76, .4); }
.motion .act-scrub h2 { opacity: .3; transition: opacity .8s var(--ease); }
.motion .act-scrub.is-peak h2 { opacity: 1; }

/* ---------- try it: where would AI pay for you? ---------- */
.diag { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1rem; align-items: stretch; }
.diag fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0; padding: 1.4rem; display: grid; gap: .55rem; align-content: start; }
.diag legend { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 0; margin-bottom: .8rem; float: left; width: 100%; }
.diag-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.diag-chip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .02); color: var(--white); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.diag-chip::after { content: "\2192"; color: var(--faint); transition: transform .25s var(--ease), color .25s var(--ease); }
.diag-chip:hover { border-color: rgba(201, 168, 76, .4); }
.diag-input:checked + .diag-chip { border-color: var(--gold); background: rgba(201, 168, 76, .1); }
.diag-input:checked + .diag-chip::after { color: var(--gold); transform: translateX(4px); }
.diag-input:focus-visible + .diag-chip { outline: 2px solid var(--gold); outline-offset: 3px; }
.diag-out { border: 1px solid rgba(201, 168, 76, .3); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); background: radial-gradient(100% 80% at 100% 0%, rgba(201, 168, 76, .1), transparent 60%), var(--card); }
.diag-panel { display: none; }
.diag:has(#dg-sales:checked) .diag-panel[data-for="dg-sales"],
.diag:has(#dg-ops:checked) .diag-panel[data-for="dg-ops"],
.diag:has(#dg-support:checked) .diag-panel[data-for="dg-support"],
.diag:has(#dg-reports:checked) .diag-panel[data-for="dg-reports"],
.diag:has(#dg-unsure:checked) .diag-panel[data-for="dg-unsure"] { display: block; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diag-panel dl, .detail-card dl { margin: 0; display: grid; gap: 1.3rem; }
.diag-panel dt, .detail-card dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.diag-panel dd, .detail-card dd { margin: 0; color: var(--white); font-size: 1.03rem; line-height: 1.6; }
.not-ai dd { color: var(--muted) !important; font-style: italic; }
.diag-panel .btn { margin-top: 1.8rem; }

/* ---------- pay + honest note ---------- */
.pay-tile ul, .card-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.pay-tile li, .card-list li { padding: .55rem 0 .55rem 1.3rem; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.pay-tile li::before, .card-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .55rem; height: 1px; background: var(--gold); }
.honest { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--gold-dim); border-radius: var(--radius); background: rgba(10, 10, 10, .85); padding: 1.3rem 1.5rem; margin-top: 1rem; }
.honest-mark { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); margin-top: .6rem; }
.honest p { margin: 0; }
.honest strong { color: var(--white); font-weight: 500; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; min-height: 44px; font-size: clamp(1.08rem, 1.8vw, 1.25rem); font-weight: 400; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--gold); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.5rem; max-width: 720px; }

/* ---------- close: the K forms (scrub) ---------- */
.act-close .close-stage { padding: var(--section) 0; }
.close-copy { max-width: 600px; }
.close-copy h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; }
.close-copy .hero-btns { margin-top: 2.2rem; }
.motion .act-close { height: 190vh; position: relative; }
.motion .act-close .close-stage { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; align-items: center; padding: 0; }
/* A pinned act only pins when its content fits the screen; kognisol.js adds .is-static otherwise
   (short phones, landscape phones, small laptops), so no line is ever cut off */
.motion .act-pin.is-static, .motion .act-scrub.is-static, .motion .act-close.is-static { height: auto; }
.motion .act-pin.is-static .pin-stage, .motion .act-scrub.is-static .scrub-stage, .motion .act-close.is-static .close-stage {
  position: static; height: auto; display: block; padding: var(--section) 0; }
.motion .is-static .pin-steps { min-height: 0; }
.motion .is-static .pin-step { position: static; opacity: 1; transform: none; filter: none; pointer-events: auto; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.motion .is-static .pin-dots { display: none; }
.motion .is-static .scrub-steps li, .motion .act-scrub.is-static h2 { opacity: 1; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 25%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 25%, transparent 70%); }
.page-hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -360px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(201, 168, 76, .16), transparent 62%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; max-width: 900px; }
.page-hero p.lede { max-width: 640px; margin-top: 1.6rem; font-size: 1.18rem; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.subnav a { font-size: .85rem; color: var(--muted); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem 1rem; min-height: 40px; display: inline-flex; align-items: center; }
.subnav a:hover { border-color: var(--gold); color: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.split:last-child { border-bottom: 0; }
.split .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1rem; }
.split h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.06; }
.split > div > p { margin-top: 1rem; font-size: 1.05rem; }
.detail-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: clamp(1.5rem, 3vw, 2.2rem); }
.detail-card .btn { margin-top: 1.6rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 1.5rem; }
.step .num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(201, 168, 76, .5); color: var(--gold-light); font-size: .85rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .45rem; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: .95rem; }
.deliver { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.6rem; }
.deliver li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--white); }
.deliver li span { color: var(--gold); font-size: .85rem; padding-top: .15rem; }
.measure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cta-band { border: 1px solid rgba(201, 168, 76, .3); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.6rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  background: radial-gradient(80% 140% at 100% 0%, rgba(201, 168, 76, .18), transparent 60%), var(--card); }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.06; max-width: 640px; }

/* ventures / about / contact */
.list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.portrait { position: relative; max-width: 440px; margin: 0; }
.portrait-media { position: relative; }
.portrait-frame { position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 1px solid var(--gold); border-radius: var(--radius); opacity: .5; pointer-events: none; }
.portrait img { position: relative; width: 100%; aspect-ratio: 640 / 820; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); }
.portrait figcaption { margin-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--faint); }
.portrait figcaption strong { color: var(--white); font-weight: 500; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.story p { font-size: 1.1rem; max-width: 640px; }
.story p.big { font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--white); line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-details { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-details li { padding: .95rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; font-size: .97rem; }
.contact-details li > span:first-child { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: .2rem; }
.contact-details a { color: var(--white); text-decoration: none; }
.contact-details a:hover { color: var(--gold); }
.next-steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; color: var(--muted); }
.next-steps li span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(201, 168, 76, .5); color: var(--gold-light); font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- form ---------- */
.contact-form { display: grid; gap: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.5rem); position: relative; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .82rem; color: var(--muted); font-weight: 400; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-strong); color: var(--white); border-radius: var(--radius-sm);
  min-height: 48px; padding: .75rem .95rem; font: inherit; font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form-group select option { background: var(--surface); color: var(--white); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--faint); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, .18); }
.contact-form [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(239, 138, 123, .2); }
.form-warning { margin: 0; font-size: .85rem; color: var(--faint); border-left: 2px solid var(--gold-dim); padding-left: 1rem; }
.form-warning strong { color: var(--white); font-weight: 500; }
.form-consent { display: flex; gap: .85rem; align-items: flex-start; }
.form-consent input[type="checkbox"] { width: 24px; height: 24px; min-width: 24px; margin: .15rem 0 0; accent-color: var(--gold); cursor: pointer; }
.form-consent label { font-size: .88rem; line-height: 1.6; cursor: pointer; }
.form-consent a { color: var(--gold-light); }
#formStatus { margin: 0; font-size: .92rem; border-left: 2px solid currentColor; padding: .3rem 0 .3rem 1rem; text-align: left !important; }
.form-sla { margin: 0; font-size: .82rem; color: var(--faint); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(10, 10, 10, .3); border-top-color: #111; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
.btn-success-check { font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
#successPopup { position: fixed; right: 1.5rem; bottom: -5rem; z-index: 70; display: none; align-items: center; gap: .8rem; background: var(--card); border: 1px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.4rem; color: var(--white); transition: bottom .35s var(--ease), opacity .35s var(--ease); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--black); padding: 4.5rem 0 2rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid p { font-size: .92rem; color: var(--faint); max-width: 320px; margin-top: 1rem; }
.footer-title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 34px; align-items: center; text-decoration: none; color: var(--faint); font-size: .92rem; }
.footer-links a:hover { color: var(--gold-light); }
.wordmark { margin: 4rem 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; letter-spacing: -0.04em; text-align: center;
  background: linear-gradient(180deg, rgba(201, 168, 76, .28), rgba(201, 168, 76, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--faint); }

/* ---------- cursor ring ---------- */
.cursor-ring { position: fixed; left: 0; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1px solid rgba(201, 168, 76, .75); border-radius: 50%; pointer-events: none; z-index: 80; opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s var(--ease), background-color .25s var(--ease); }
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(201, 168, 76, .08); }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
  .btn-spinner, .shimmer { animation: none; }
}

/* ---------- responsive: a separate mobile composition ---------- */
@media (max-width: 1024px) {
  .steps, .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 3; } .span-4 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-cta { display: none; }
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.2rem; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-main.is-open { display: flex; }
  .nav-main a, .dd-toggle { width: 100%; justify-content: space-between; min-height: 52px; border-radius: var(--radius-sm); }
  .dd-panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; margin: .2rem 0 .6rem; }
  .bento, .diag, .split, .about-grid, .contact, .measure-grid, .list-2, .deliver, .calc { grid-template-columns: 1fr; }
  .motion .act-pin { height: 300vh; }
  .motion .act-pin .pin-stage { align-items: flex-end; padding-bottom: 6vh; }
  .motion .pin-steps { min-height: 24rem; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: auto; }
  .steps, .steps-3, .steps-5 { grid-template-columns: 1fr; }
  .motion .act-scrub .scrub-stage, .motion .act-close .close-stage { align-items: flex-end; padding-bottom: 6vh; }
  .motion .act-scrub { height: 220vh; }
  .portrait { max-width: 340px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) and (max-height: 760px) {
  .motion .act-scrub { height: auto; }
  .motion .act-scrub .scrub-stage { position: static; height: auto; padding: var(--section) 0; }
  .motion .scrub-steps li, .motion .act-scrub h2 { opacity: 1; }
}
/* short laptop screens (1280x720, 1366x768): tighten "Problem first" so it still pins */
@media (min-width: 901px) and (max-height: 860px) {
  .scrub-copy { max-width: 640px; }
  .scrub-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
  .scrub-steps { margin-top: 1.4rem; gap: .7rem; }
  .scrub-steps li { padding: .75rem 1.1rem; }
  .scrub-steps p { font-size: .93rem; line-height: 1.5; }
}
@media (max-width: 600px) {
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .contact-details li { grid-template-columns: 1fr; gap: .2rem; }
}
