:root {
  --night: #0B1210;
  --night-2: #111B18;
  --night-3: #18241F;
  --ink: #121A17;
  --ink-soft: #46524E;
  --muted: #6E7874;
  --forest: #1D3B32;
  --jade: #5FB89A;
  --brass: #C9974F;
  --brass-2: #E8C88E;
  --paper: #F6F2EA;
  --paper-2: #EFE9DE;
  --card: #FFFFFF;
  --line: #E2DACC;
  --line-dark: rgba(255, 255, 255, 0.10);
  --on-dark: #E9EEEB;
  --on-dark-soft: #9FADA7;
  --radius: 18px;
  --max: 1180px;
  --display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gold: linear-gradient(135deg, #F0D7A4 0%, #C9974F 55%, #9E6F2E 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 74px); }
h2 { font-size: clamp(32px, 4.2vw, 54px); max-width: 20ch; }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 600;
  color: var(--brass); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }

/* Draft bar + nav */
.draft-bar { background: #241B0E; color: var(--brass-2); font-size: 12.5px; letter-spacing: .02em; text-align: center; padding: 7px 16px; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 16, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.brand em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; padding-right: 2px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--on-dark-soft); transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1B1408; box-shadow: 0 8px 30px -10px rgba(201, 151, 79, .7); }
.btn-gold:hover { box-shadow: 0 12px 36px -10px rgba(201, 151, 79, .9); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--forest); }
.btn-line { border-color: rgba(255,255,255,.22); color: #fff; }
.btn-line:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.btn-line-ink { border-color: var(--line); color: var(--ink); background: #fff; }
.nav .btn { padding: 9px 17px; font-size: 13.5px; }
.nav-links a.btn-gold, .nav-links a.btn-gold:hover { color: #1B1408; }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Dark surfaces */
.dark { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--on-dark-soft); }
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0;
}
.glow::before { width: 620px; height: 620px; background: rgba(95, 184, 154, .16); top: -220px; left: -160px; }
.glow::after { width: 520px; height: 520px; background: rgba(201, 151, 79, .14); bottom: -240px; right: -120px; }
.gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  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;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.dark > .wrap { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 104px 0 112px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.04);
  font-size: 13px; color: var(--on-dark); margin-bottom: 28px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(95,184,154,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,184,154,.55); } 70% { box-shadow: 0 0 0 10px rgba(95,184,154,0); } 100% { box-shadow: 0 0 0 0 rgba(95,184,154,0); } }
.lede { font-size: clamp(18px, 1.5vw, 20px); max-width: 52ch; margin: 28px 0 38px; }
.dark .lede { color: #B8C4BF; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; font-size: 14px; }
.dark .hero-note { color: #7F8C87; }

/* Product mock */
.mock { position: relative; }
.window {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); font-size: 12.5px; color: var(--on-dark-soft); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-block; }
.window-bar span { margin-left: 8px; }
.window-body { padding: 22px; display: grid; gap: 14px; }
.brief-head { display: flex; justify-content: space-between; align-items: baseline; }
.brief-head b { color: #fff; font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
.brief-head small { color: var(--on-dark-soft); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px; background: rgba(255,255,255,.025); }
.kpi small { display: block; color: var(--on-dark-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.kpi b { display: block; color: #fff; font-family: var(--display); font-size: 22px; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .up { color: var(--jade); font-size: 11.5px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding: 0 2px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(95,184,154,.85), rgba(95,184,154,.25)); }
.bars span:last-child { background: var(--gold); }
.decisions { display: grid; gap: 8px; }
.decision { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #D5DDD9; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.decision i { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.3); }
.decision em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--brass-2); }
.ai-card {
  position: absolute; left: -36px; bottom: -40px; width: 300px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 1px solid #fff;
  animation: float 7s ease-in-out infinite;
}
.ai-card .who { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.ai-card .who b { width: 22px; height: 22px; border-radius: 7px; background: var(--gold); display: grid; place-items: center; color: #1B1408; font-size: 12px; }
.ai-card p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.ai-card .acts { display: flex; gap: 8px; }
.ai-card .acts span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.ai-card .acts span:first-child { background: var(--night); color: #fff; border-color: var(--night); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Ticker */
.ticker { border-top: 1px solid var(--line-dark); background: var(--night-2); color: var(--on-dark-soft); overflow: hidden; }
.ticker-track { display: flex; gap: 56px; padding: 18px 0; width: max-content; animation: scroll 38s linear infinite; font-size: 14px; letter-spacing: .02em; }
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; color: var(--brass); font-size: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 60px; }
.section-head p { color: var(--ink-soft); max-width: 58ch; margin: 20px 0 0; font-size: 18.5px; }
.dark .section-head p { color: var(--on-dark-soft); }
.center { text-align: center; }
.center h2, .center p { margin-left: auto; margin-right: auto; }
.white { background: #fff; }

/* Converge visual (problem) */
.converge { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stack { display: grid; gap: 10px; }
.stack div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-radius: 12px; background: var(--paper); border: 1px dashed #D3C9B7;
  color: var(--muted); font-size: 15px;
}
.stack div s { text-decoration-color: rgba(190, 80, 60, .6); }
.stack div small { font-size: 12px; color: #A0806A; }
.symptoms { display: grid; gap: 28px; }
.symptom { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.symptom .ix { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--brass); line-height: 1; }
.symptom h3 { margin-bottom: 6px; }
.symptom p { margin: 0; color: var(--ink-soft); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(18, 26, 23, .35); border-color: #D8CBB4; }
.white .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--night); margin-bottom: 22px; }
.icon svg { width: 22px; height: 22px; stroke: var(--brass-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card .num { display: block; font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 18px; margin-bottom: 14px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, var(--brass), rgba(95,184,154,.6), rgba(255,255,255,.08)); }
.t-step { position: relative; }
.t-node { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); border: 1px solid rgba(201,151,79,.6); color: var(--brass-2); font-family: var(--display); font-weight: 600; margin-bottom: 26px; position: relative; z-index: 1; }
.t-step .tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--jade); margin-bottom: 10px; }
.t-step h3 { font-size: 26px; margin-bottom: 12px; }
.t-step p { margin: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; overflow: hidden; position: relative; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(18,26,23,.35); }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.feature { background: var(--night); color: var(--on-dark); border-color: var(--night); }
.tile.feature h3 { color: #fff; }
.tile.feature p { color: var(--on-dark-soft); }
.tile .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.chat { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }
.bubble { font-size: 13.5px; line-height: 1.5; padding: 11px 14px; border-radius: 14px; max-width: 92%; }
.bubble.in { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: #D5DDD9; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--gold); color: #1B1408; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.mini-pipe { margin-top: auto; padding-top: 20px; display: grid; gap: 7px; }
.mini-pipe div { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.mini-pipe div span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--forest), var(--jade)); }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-item {
  position: relative; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px 30px 32px;
  transition: transform .3s, border-color .3s;
  overflow: hidden;
}
.work-item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold); opacity: .8; }
.work-item:hover { transform: translateY(-3px); border-color: rgba(201,151,79,.4); }
.work-item.featured { grid-column: span 2; background: linear-gradient(135deg, #142621, #0F1A17 60%); }
.work-item.featured h3 { font-size: 30px; }
.work-item .kind { display: inline-block; font-size: 12px; color: var(--brass-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.work-item h3 { margin-bottom: 12px; }
.work-item p { margin: 0; color: var(--on-dark-soft); max-width: 70ch; }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.about p { color: var(--ink-soft); margin: 0 0 18px; font-size: 18px; }
.about p.quote, .quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; color: var(--ink); margin: 0 0 28px; padding-left: 22px; border-left: 2px solid var(--brass); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.facts li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.facts li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1px; background: var(--brass); }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise div { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.promise strong { display: block; font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; font-size: 19px; margin-bottom: 8px; }
.promise span { color: var(--ink-soft); font-size: 15.5px; }

/* Advisors teaser + CTA */
.teaser { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: end; }
.teaser p { margin: 18px 0 0; max-width: 54ch; font-size: 18px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 80px 40px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,151,79,.22), transparent 60%), var(--night);
  color: var(--on-dark);
}
.cta-card h2 { color: #fff; margin: 0 auto; }
.cta-card p { color: var(--on-dark-soft); max-width: 52ch; margin: 22px auto 36px; font-size: 18px; }
.cta-card .eyebrow { justify-content: center; }

/* Builds list (advisors page) */
.builds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.build { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.build .dot { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--night); color: var(--brass-2); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 14px; }
.build h3 { font-size: 18px; margin-bottom: 4px; }
.build p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Footer */
footer { background: var(--night); color: #7F8C87; padding: 40px 0 48px; font-size: 14px; border-top: 1px solid var(--line-dark); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--on-dark-soft); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .converge, .about, .teaser { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .ai-card { left: auto; right: 12px; bottom: -48px; width: 270px; }
  .grid-3, .promise, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.tall { grid-row: auto; }
  .work, .builds { grid-template-columns: 1fr; }
  .work-item.featured { grid-column: auto; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 84px 0; }
  .hero { padding: 72px 0 104px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .card, .tile, .work-item, .promise div { padding: 24px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .kpi { padding: 9px; } .kpi b { font-size: 18px; }
  .ai-card { position: relative; left: 0; right: 0; bottom: 0; width: auto; margin: -28px 12px 0; }
  .cta-card { padding: 56px 22px; border-radius: 22px; }
}

/* Film */
.film-section { padding-top: 112px; }
.film-frame {
  position: relative; max-width: 1040px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(201,151,79,.08);
  background: #0B1210; aspect-ratio: 16 / 9;
}
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; inset: auto auto 22px 22px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #1B1408; border: 0; border-radius: 999px; padding: 12px 20px; font: 600 15px var(--sans); cursor: pointer;
}
.film-play span { font-size: 12px; }
.film-play[hidden] { display: none; }
.film-frame { cursor: pointer; }
.film-play { z-index: 2; }
.cta-card p.cta-fine { font-size: 14px; color: #7F8C87; margin: 22px auto 0; }

/* Footer links */
.foot-links { display: inline-flex; gap: 22px; }

/* Legal pages */
.legal { padding: 88px 0 120px; }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 12px; max-width: none; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 17px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); }
.mock-note { position: absolute; right: 4px; bottom: -34px; margin: 0; font-size: 12px; color: #6F7C77; letter-spacing: .02em; }
@media (max-width: 560px) { .mock-note { position: static; margin-top: 14px; text-align: right; } }
