/* SavePoint Gaming Fund | v2 styles */

:root {
  --night: #080E1A;
  --navy: #0B1424;
  --ink: #0B1120;
  --ink-2: #3C4354;
  --muted: #52596B;
  --subtle: #8A8F9C;
  --paper: #FBFAF7;
  --white: #ffffff;
  --sand: #F4F2ED;
  --cream: #F7F4EC;
  --amber: #F0A93B;
  --amber-deep: #C8871A;
  --amber-ink: #A96A0C;
  --gold: #D9B77A;
  --line: rgba(11, 17, 32, 0.1);
  --line-dark: rgba(244, 242, 237, 0.12);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: #F5C87A; color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--amber); color: var(--navy); font-size: 14px; font-weight: 600; transition: top 200ms ease; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1320px; }
[hidden] { display: none !important; }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--amber-ink); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.on-dark .eyebrow { color: var(--amber); }

.h-section { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.lede { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.on-dark .lede { color: rgba(244, 242, 237, 0.7); }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; max-width: none; }
.section-head--row > div { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 14.5px; font-weight: 600; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; cursor: pointer; transition: background 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms var(--ease); }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; transition: transform 250ms var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--navy); box-shadow: 0 18px 40px -18px rgba(240, 169, 59, 0.85); }
.btn--amber:hover { background: var(--white); color: var(--navy); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--amber-deep); }
.btn--ghost { border-color: rgba(11, 17, 32, 0.16); color: var(--ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--ghost-light { border-color: rgba(244, 242, 237, 0.28); color: var(--sand); font-weight: 500; }
.btn--ghost-light:hover { border-color: var(--amber); color: var(--amber); }
.btn--sm { padding: 10px 18px; font-size: 12.5px; }
.btn--sm svg { width: 13px; height: 13px; }
.btn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--amber-ink); transition: color 200ms ease; }
.text-link svg { width: 15px; height: 15px; transition: transform 250ms var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background 320ms ease, border-color 320ms ease, backdrop-filter 320ms ease; }
.nav.is-scrolled, .nav.is-open { background: rgba(8, 14, 26, 0.9); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line-dark); }
.nav.is-open { background: rgba(8, 14, 26, 0.97); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); padding-inline: clamp(16px, 4vw, 48px); }
.nav__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav__logo img { height: 30px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.nav__link { position: relative; display: inline-block; padding: 6px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 242, 237, 0.72); transition: color 200ms ease; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--sand); cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .i-close { display: none; }
.nav.is-open .nav__toggle .i-open { display: none; }
.nav.is-open .nav__toggle .i-close { display: block; }
.nav__panel { display: none; flex-direction: column; padding: 4px clamp(16px, 4vw, 48px) 22px; border-top: 1px solid var(--line-dark); }
.nav__panel a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(244, 242, 237, 0.08); font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 242, 237, 0.82); }
.nav__panel a:not(.btn):hover { color: var(--amber); }
.nav__panel .btn { margin-top: 18px; }

@media (max-width: 1060px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__panel { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); color: var(--sand); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; opacity: 0.7; filter: saturate(0.74) contrast(1.04) brightness(1.08); }
.hero__shade { position: absolute; inset: 0; }
.hero__shade--x { background: linear-gradient(100deg, var(--night) 0%, rgba(8, 14, 26, 0.86) 30%, rgba(8, 14, 26, 0.46) 62%, rgba(8, 14, 26, 0.14) 82%, rgba(8, 14, 26, 0.5) 100%); }
.hero__shade--y { background: linear-gradient(to bottom, rgba(8, 14, 26, 0.66) 0%, rgba(8, 14, 26, 0) 26%, rgba(8, 14, 26, 0) 52%, rgba(8, 14, 26, 0.92) 100%); }
.hero__grid { position: absolute; inset: 0; opacity: 0.22; background-image: linear-gradient(rgba(240, 169, 59, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 169, 59, 0.14) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 62%); mask-image: linear-gradient(120deg, #000 0%, transparent 62%); }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }

.orb { position: absolute; border-radius: 50%; filter: blur(30px); }
.orb--amber { background: radial-gradient(circle at 50% 50%, rgba(240, 169, 59, 0.16), rgba(240, 169, 59, 0) 66%); }
.orb--blue { background: radial-gradient(circle at 50% 50%, rgba(52, 96, 190, 0.2), rgba(52, 96, 190, 0) 68%); }
.hero .orb--amber { top: -14%; left: -8%; width: 52vw; height: 52vw; animation: orbA 26s ease-in-out infinite; }
.hero .orb--blue { bottom: -24%; right: -12%; width: 56vw; height: 56vw; animation: orbB 32s ease-in-out infinite; }

.hero__inner { position: relative; display: flex; flex-direction: column; gap: clamp(18px, 2.6vh, 30px); padding-top: calc(var(--nav-h) + clamp(48px, 12vh, 140px)); }
.hero__eyebrow { color: var(--amber); }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 9.4vw, 150px); line-height: 0.9; letter-spacing: -0.04em; color: var(--cream); text-shadow: 0 18px 60px rgba(8, 14, 26, 0.6); }
.hero__sub { margin: 0; max-width: 22ch; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; color: var(--amber); text-wrap: balance; }
.hero__body { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: rgba(244, 242, 237, 0.76); text-wrap: pretty; }
.hero__inner .btn-row { margin-top: 6px; }

.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(48px, 9vh, 96px) 0 0; padding: 0; border-top: 1px solid rgba(244, 242, 237, 0.16); list-style: none; }
.hero__stat { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.6vw, 28px) clamp(16px, 2.4vw, 32px) clamp(28px, 4vh, 44px); }
.hero__stat:first-child { padding-left: 0; }
.hero__stat + .hero__stat { border-left: 1px solid rgba(244, 242, 237, 0.12); }
.hero__stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.03em; color: var(--amber); }
.hero__stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244, 242, 237, 0.62); }

@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat, .hero__stat:first-child { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; }
  .hero__stat + .hero__stat { border-left: 0; border-top: 1px solid rgba(244, 242, 237, 0.1); }
  .hero__stat span { text-align: right; }
}

/* ---------- statement ---------- */
.statement__text { margin: 0; max-width: 24em; font-family: var(--serif); font-weight: 300; font-size: clamp(27px, 3.6vw, 48px); line-height: 1.26; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
.statement__text span { transition: opacity 420ms ease; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(56px, 8vw, 100px); }
.stat-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; }
.stat-card::before { content: ""; position: absolute; top: 0; left: clamp(26px, 3vw, 34px); width: 48px; height: 2px; background: var(--amber-deep); }
.stat-card__num { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 66px); line-height: 1; letter-spacing: -0.035em; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.stat-card__label { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ---------- film ---------- */
.film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; background: var(--navy); box-shadow: 0 60px 120px -70px rgba(11, 17, 32, 0.7), 0 0 0 1px rgba(11, 17, 32, 0.06); }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: transform 1200ms var(--ease), opacity 400ms ease; }
.film__poster:hover img { transform: scale(1.03); opacity: 0.95; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 26, 0.65), rgba(8, 14, 26, 0.05) 55%); }
.film__play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.play { position: relative; display: grid; place-items: center; width: clamp(68px, 7.4vw, 96px); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms var(--ease); }
.play::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; animation: ring 2.6s var(--ease) infinite; }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.film__poster:hover .play, .film__poster:focus-visible .play { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: scale(1.06); }
.film__chip { position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(244, 242, 237, 0.24); border-radius: 999px; background: rgba(8, 14, 26, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }
.film__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- four fronts ---------- */
.fronts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.front { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); overflow: hidden; transition: transform 450ms var(--ease), box-shadow 450ms ease, border-color 450ms ease; }
.front::before { content: ""; position: absolute; top: -40%; right: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240, 169, 59, 0.12), rgba(240, 169, 59, 0) 65%); opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
.front::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--amber), var(--amber-deep)); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.front:hover { transform: translateY(-4px); border-color: rgba(200, 135, 26, 0.3); box-shadow: 0 36px 70px -48px rgba(11, 17, 32, 0.4); }
.front:hover::before { opacity: 1; }
.front:hover::after { transform: scaleX(1); }
.front__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.front__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, rgba(240, 169, 59, 0.2), rgba(240, 169, 59, 0.06)); color: var(--amber-ink); }
.front__icon svg { width: 26px; height: 26px; }
.front__num { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.6vw, 50px); line-height: 0.9; letter-spacing: -0.03em; color: var(--gold); }
.front__head { display: flex; flex-direction: column; gap: 10px; }
.front__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.06; letter-spacing: -0.022em; }
.front__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-ink); }
.front__desc { margin: 0; font-size: 16px; line-height: 1.72; color: var(--muted); text-wrap: pretty; }

@media (max-width: 780px) { .fronts { grid-template-columns: 1fr; } }

/* ---------- portfolio ---------- */
.portfolio { background: var(--navy); color: var(--sand); overflow: hidden; isolation: isolate; }
.portfolio .orb--amber { top: -20%; left: -8%; width: 52vw; height: 52vw; z-index: -1; opacity: 0.9; animation: orbA 34s ease-in-out infinite; }
.portfolio .orb--blue { bottom: -30%; right: -10%; width: 56vw; height: 56vw; z-index: -1; animation: orbB 40s ease-in-out infinite; }
.pgroup { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); padding-block: clamp(28px, 3.6vw, 44px); border-top: 1px solid rgba(244, 242, 237, 0.14); }
.pgroup:last-child { border-bottom: 1px solid rgba(244, 242, 237, 0.14); }
.pgroup__label { display: flex; align-items: baseline; gap: 14px; }
.pgroup__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--amber); }
.pgroup__label div { display: flex; flex-direction: column; gap: 8px; }
.pgroup__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.015em; color: var(--sand); }
.pgroup__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244, 242, 237, 0.55); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logo-tile { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; min-height: 96px; padding: 14px 18px; border: 1px solid rgba(244, 242, 237, 0.09); border-radius: 16px; background: rgba(244, 242, 237, 0.035); overflow: hidden; transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
.logo-tile > [class^="lg-"] { width: var(--w, auto); max-width: 100%; height: auto; max-height: var(--h, 52px); object-fit: contain; opacity: 0.84; transition: opacity 300ms ease; }
.logo-tile--text { font-family: var(--serif); font-size: 19px; line-height: 1.2; text-align: center; color: rgba(244, 242, 237, 0.88); }
a.logo-tile:hover { background: rgba(244, 242, 237, 0.07); border-color: rgba(240, 169, 59, 0.5); transform: translateY(-2px); }
a.logo-tile:hover > [class^="lg-"] { opacity: 1; }
.logo-tile > .logo-tile__ext { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; color: var(--amber); opacity: 0; transform: translate(-3px, 3px); transition: opacity 250ms ease, transform 250ms var(--ease); }
a.logo-tile:hover > .logo-tile__ext, a.logo-tile:focus-visible > .logo-tile__ext { opacity: 1; transform: none; }

/* per-logo tuning (filters turn each mark light on navy) */
.lg-deliverfund { --w: 66px; --h: 58px; filter: invert(1) brightness(5.5); }
.lg-safetonet { --w: 128px; filter: grayscale(1) brightness(4.5); }
.lg-riseandredemption { --w: 70px; --h: 62px; filter: brightness(7.5); }
.lg-notonourwatch { --w: 70px; --h: 70px; filter: invert(1) brightness(8.5); }
.lg-roseshield { --w: 130px; filter: grayscale(1); }
.lg-groundwire { --w: 140px; filter: brightness(7.5); }
.lg-7admirals { --w: 84px; --h: 84px; filter: grayscale(1) brightness(8.5); }
.logo-tile > .lg-reachconf { width: 150px; height: 58px; max-height: none; object-fit: cover; object-position: 50% 36%; filter: grayscale(1) brightness(1.5); }
.lg-satellite { --w: 150px; filter: grayscale(1) brightness(1.5); }
.lg-hellobible { --w: 140px; filter: invert(1) brightness(7.5); }
.lg-jesusnet { --w: 140px; }
.lg-remedylive { --w: 105px; filter: grayscale(1) brightness(1.5); }
.lg-thehopeline { --w: 150px; filter: grayscale(1) brightness(2.5); }
.lg-haiven { --w: 105px; filter: grayscale(1) brightness(1.5); }
.lg-outpostalpha { --w: 150px; }
.lg-landofpromise { --w: 170px; filter: grayscale(1) brightness(1.5); }
.lg-rainhope { --w: 90px; filter: grayscale(1); }
.lg-kingdom { --w: 120px; --h: 70px; filter: grayscale(1) brightness(6); }
.lg-likemother { --w: 150px; filter: invert(1) brightness(6.5); }
.lg-waycool { --w: 96px; --h: 76px; filter: grayscale(1) brightness(21); }

@media (max-width: 900px) { .pgroup { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- founding ---------- */
.founding__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.founding__copy { display: flex; flex-direction: column; gap: 18px; }
.founding__copy .btn-row { margin-top: 14px; }
.fstats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fstat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.fstat__num { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 66px); line-height: 1; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fstat__label { max-width: 170px; font-family: var(--mono); font-size: 10.5px; line-height: 1.6; letter-spacing: 0.2em; text-transform: uppercase; text-align: right; color: var(--subtle); }
.fstat--accent { position: relative; border-color: transparent; background: var(--navy); overflow: hidden; }
.fstat--accent::before { content: ""; position: absolute; top: -140%; left: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240, 169, 59, 0.22), rgba(240, 169, 59, 0) 66%); }
.fstat--accent .fstat__num { position: relative; color: var(--amber); }
.fstat--accent .fstat__label { position: relative; color: rgba(244, 242, 237, 0.7); }

@media (max-width: 900px) { .founding__grid { grid-template-columns: 1fr; } }

/* ---------- governance ---------- */
.gov-group { display: flex; flex-direction: column; gap: 18px; }
.gov-group + .gov-group { margin-top: clamp(36px, 5vw, 56px); }
.gov-group__label { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--subtle); }
.gov-group__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.people--chairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.people--committee { grid-template-columns: repeat(auto-fill, minmax(min(100%, 196px), 1fr)); }
.people--committee .person { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; }
.people--committee .person__mono { width: 46px; height: 46px; font-size: 16px; }
.people--committee .person__name { font-size: 20px; text-wrap: balance; }
.person { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
.person:hover { border-color: rgba(200, 135, 26, 0.35); background: var(--white); transform: translateY(-2px); }
.person__mono { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; color: var(--sand); }
.person__name { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.15; color: var(--ink); }
.person__role { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.people--chairs .person { gap: 20px; padding: clamp(22px, 2.6vw, 30px); border-color: transparent; background: var(--navy); }
.people--chairs .person:hover { background: #111D33; }
.people--chairs .person__mono { width: 66px; height: 66px; background: linear-gradient(135deg, var(--amber), var(--amber-deep)); font-size: 23px; color: var(--navy); }
.people--chairs .person__name { font-size: clamp(24px, 2.4vw, 28px); color: var(--sand); }
.people--chairs .person__role { color: rgba(244, 242, 237, 0.66); }

/* ---------- band ---------- */
.band { position: relative; height: clamp(320px, 56vh, 640px); overflow: hidden; background: var(--navy); }
.band__video { position: absolute; top: -14%; left: 0; width: 100%; height: 128%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 20, 36, 0.55), rgba(11, 20, 36, 0.2) 42%, rgba(11, 20, 36, 0.75)); }

/* ---------- closing cta ---------- */
.cta { overflow: hidden; isolation: isolate; text-align: center; }
.cta .orb--amber { top: -40%; left: 50%; width: 76vw; height: 76vw; margin-left: -38vw; z-index: -1; background: radial-gradient(circle, rgba(240, 169, 59, 0.18), rgba(240, 169, 59, 0) 64%); animation: orbC 28s ease-in-out infinite; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 900px; margin-inline: auto; }
.cta__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.cta__title em { font-style: italic; color: var(--amber-deep); }
.cta .lede { max-width: 48ch; }
.cta .btn-row { justify-content: center; margin-top: 4px; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--night); color: rgba(244, 242, 237, 0.72); isolation: isolate; }
.footer__media { position: absolute; top: 0; left: 0; right: 0; height: min(62%, 520px); z-index: -1; pointer-events: none; }
.footer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: saturate(0.35) contrast(1.1) brightness(0.85); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.35) 74%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.35) 74%, transparent 100%); }
.footer__video--lit { opacity: 0; filter: saturate(0.8) contrast(1.05) brightness(1.15); transition: opacity 500ms ease; -webkit-mask-image: radial-gradient(220px 220px at -999px -999px, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 72%); mask-image: radial-gradient(220px 220px at -999px -999px, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 72%); }
.footer__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(8, 14, 26, 0.45), rgba(8, 14, 26, 0.1) 40%, rgba(8, 14, 26, 0.92)); }
.footer__media::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0.25; background-image: linear-gradient(rgba(240, 169, 59, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 169, 59, 0.14) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%); mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.footer__inner { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 84px); padding-block: clamp(70px, 9vw, 130px) clamp(28px, 4vw, 44px); }
.footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: end; }
.footer__pitch { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.footer__pitch h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.028em; color: var(--sand); text-wrap: balance; }
.footer__pitch p:not(.eyebrow) { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.7; color: rgba(244, 242, 237, 0.62); }
.newsletter { display: flex; flex-direction: column; gap: 12px; }
.newsletter__form { display: flex; align-items: stretch; gap: 6px; padding: 6px; border: 1px solid rgba(244, 242, 237, 0.2); border-radius: 999px; background: rgba(244, 242, 237, 0.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color 250ms ease; }
.newsletter__form:focus-within { border-color: rgba(240, 169, 59, 0.6); }
.newsletter__form input { flex: 1 1 auto; min-width: 0; padding: 10px 16px; border: 0; background: transparent; color: var(--sand); font-size: 15px; outline: none; }
.newsletter__form input::placeholder { color: rgba(244, 242, 237, 0.4); }
.newsletter__form .btn { padding: 13px 22px; }
.newsletter__done { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border: 1px solid rgba(240, 169, 59, 0.5); border-radius: 999px; color: var(--amber); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.newsletter__note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.footer__brand p { margin: 0; max-width: 26ch; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: rgba(244, 242, 237, 0.58); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h3 { margin: 0 0 4px; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); }
.footer__col a { align-self: flex-start; font-size: 14.5px; line-height: 1.5; color: rgba(244, 242, 237, 0.74); transition: color 200ms ease; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: clamp(20px, 2.6vw, 28px); border-top: 1px solid rgba(244, 242, 237, 0.1); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); }
.footer__top-link { display: inline-flex; align-items: center; gap: 9px; color: rgba(244, 242, 237, 0.62); transition: color 200ms ease; }
.footer__top-link svg { width: 13px; height: 13px; }
.footer__top-link:hover { color: var(--amber); }

@media (max-width: 900px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) {
  .newsletter__form { flex-direction: column; border-radius: 22px; }
  .newsletter__form .btn { width: 100%; }
}

/* ---------- manifesto ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 2px; background: var(--amber-deep); transform: scaleX(0); transform-origin: left; }

.m-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 10vw, 140px)) 0 clamp(68px, 9vw, 124px); background: var(--navy); color: var(--sand); overflow: hidden; isolation: isolate; }
.m-hero .orb { z-index: -1; filter: blur(28px); }
.m-hero .orb--amber { top: -30%; left: -12%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(240, 169, 59, 0.26), rgba(240, 169, 59, 0) 64%); animation: mOrbA 28s ease-in-out infinite; }
.m-hero .orb--blue { bottom: -40%; right: -14%; width: 58vw; height: 58vw; background: radial-gradient(circle, rgba(52, 96, 190, 0.24), rgba(52, 96, 190, 0) 66%); animation: mOrbB 34s ease-in-out infinite; }
.m-hero__cursor { position: absolute; top: 0; left: 0; z-index: -1; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; margin: -23vw 0 0 -23vw; border-radius: 50%; background: radial-gradient(circle, rgba(245, 200, 122, 0.34), rgba(240, 169, 59, 0.12) 42%, rgba(240, 169, 59, 0) 70%); filter: blur(18px); opacity: 0; transition: opacity 700ms ease; pointer-events: none; will-change: transform; }
.m-hero__inner { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 30px); }
.m-hero__title { margin: 0; max-width: 13ch; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.4vw, 112px); line-height: 0.95; letter-spacing: -0.036em; color: var(--sand); text-wrap: balance; }
.m-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 242, 237, 0.62); }
.m-hero__meta i { width: 18px; height: 1px; background: rgba(244, 242, 237, 0.3); }

.m-intro { max-width: 900px; padding-block: clamp(60px, 8vw, 110px) clamp(36px, 5vw, 64px); }
.m-lead { margin: 0 0 24px; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.7vw, 33px); line-height: 1.38; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.m-lead::first-letter { float: left; padding: 0.06em 0.12em 0 0; font-weight: 400; font-size: 3.3em; line-height: 0.8; color: var(--amber-deep); }
.m-text { margin: 0; max-width: 66ch; font-size: 17px; line-height: 1.8; color: var(--ink-2); text-wrap: pretty; }

.m-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.m-toc { position: sticky; top: calc(var(--nav-h) + 28px); max-height: calc(100vh - var(--nav-h) - 56px); overflow-y: auto; padding: 4px 6px 24px 0; scrollbar-width: thin; }
.m-toc__label { display: block; margin: 0 0 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--subtle); }
.m-toc ol { display: flex; flex-direction: column; margin: 0 0 22px; padding: 0; border-left: 1px solid var(--line); list-style: none; }
.m-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--subtle); transition: color 200ms ease, border-color 200ms ease; }
.m-toc a > span:first-child { padding-top: 1px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--gold); }
.m-toc a > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-toc a:hover { color: var(--ink); }
.m-toc a.is-active { border-left-color: var(--amber-deep); color: var(--ink); }
.m-toc__extra { border-left: 1px solid var(--line); }
.m-toc__extra a { grid-template-columns: 1fr; }

.m-body { max-width: 780px; min-width: 0; }
.m-h2 { margin: 0; padding-bottom: clamp(16px, 2vw, 26px); font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -0.03em; }
.conviction { display: grid; grid-template-columns: clamp(58px, 7vw, 96px) minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); padding-block: clamp(34px, 4.6vw, 58px); border-top: 1px solid var(--line); }
.conviction__num { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.2vw, 56px); line-height: 0.9; letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.conviction h3 { margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.1vw, 40px); line-height: 1.1; letter-spacing: -0.024em; color: var(--ink); text-wrap: balance; }
.conviction p { margin: 0 0 16px; font-size: 17px; line-height: 1.8; color: var(--ink-2); text-wrap: pretty; }
.conviction p:last-child { margin-bottom: 0; }
.conviction p.kicker { margin-top: 24px; padding-left: 20px; border-left: 2px solid rgba(200, 135, 26, 0.5); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.4; color: var(--amber-ink); }

.never-panel { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(32px, 5vw, 60px); border-radius: 28px; background: var(--navy); color: var(--sand); overflow: hidden; isolation: isolate; }
.never-panel .orb--amber { top: -50%; right: -30%; width: 80%; aspect-ratio: 1; height: auto; z-index: -1; background: radial-gradient(circle, rgba(240, 169, 59, 0.2), rgba(240, 169, 59, 0) 64%); }
.never-panel .m-h2 { color: var(--sand); }
.never { display: flex; flex-direction: column; margin: 18px 0 0; padding: 0; list-style: none; }
.never li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid rgba(244, 242, 237, 0.12); font-size: 17px; line-height: 1.72; color: rgba(244, 242, 237, 0.84); text-wrap: pretty; }
.never li svg { width: 22px; height: 22px; margin-top: 3px; color: var(--amber); }

.m-closing { display: flex; flex-direction: column; gap: 18px; padding-top: clamp(48px, 7vw, 84px); }
.m-closing p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.m-closing .m-closing__lead { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.32; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.m-sign { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.m-sign::before { content: ""; width: 28px; height: 1px; background: var(--amber-deep); }

.finale { padding-block: clamp(70px, 11vw, 150px) clamp(80px, 11vw, 150px); }
.finale__title { margin: 0 0 clamp(40px, 5vw, 64px); font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 11.5vw, 170px); line-height: 0.9; letter-spacing: -0.045em; color: var(--ink); }
.finale__line { display: block; }
.finale__line:nth-child(2) { color: var(--amber-deep); font-style: italic; font-weight: 400; }
.js .finale__line { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1100ms var(--ease), transform 1100ms var(--ease); }
.js .finale__line:nth-child(2) { transition-delay: 150ms; }
.js .finale__line:nth-child(3) { transition-delay: 300ms; }
.js .is-in .finale__line { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .m-layout { grid-template-columns: minmax(0, 1fr); }
  .m-toc { display: none; }
  .m-body { margin-inline: auto; }
}
@media (max-width: 600px) {
  .conviction { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .conviction__num { font-size: 34px; }
}

/* ---------- motion ---------- */
@keyframes orbA { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, -4vh, 0) scale(1.14); } }
@keyframes orbB { 0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); } 50% { transform: translate3d(-7vw, 5vh, 0) scale(0.92); } }
@keyframes orbC { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(3vw, 6vh, 0); } }
@keyframes mOrbA { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(5vw, -5vh, 0) scale(1.12); } }
@keyframes mOrbB { 0%, 100% { transform: translate3d(0, 0, 0) scale(1.06); } 50% { transform: translate3d(-6vw, 4vh, 0) scale(0.94); } }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }

/* reveal on scroll (only once JS is running) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 760ms var(--ease), transform 760ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-stagger] > *, .js .finale__line { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
