/* ==========================================================================
   Frontline Connect — v3 "cinematic"
   Inset film hero, oversized grotesque + serif italic, bento tiles, motion.
   ========================================================================== */

:root {
  --ink: #091321;
  --navy: #0e1c30;
  --navy-2: #172a45;
  --cream: #f5efe4;
  --paper: #fbf8f2;
  --white: #fff;
  --gold: #c9a66b;
  --gold-lt: #e6cf9f;
  --gold-dk: #8f7242;
  --text: #0e1c30;
  --text-2: #4b5669;
  --inv: #f5efe4;
  --inv-2: rgba(245, 239, 228, .7);
  --line: rgba(14, 28, 48, .13);
  --line-inv: rgba(245, 239, 228, .16);
  --r: 28px;
  --r-sm: 16px;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --inset: clamp(8px, 1.2vw, 18px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: .98; color: inherit; }
h1 { font-size: clamp(3.4rem, 9.4vw, 9.5rem); font-weight: 700; line-height: .88; }
h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold-dk); }
.dark em, .dark .it { color: var(--gold-lt); }
h1 em { font-size: 1.06em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 400; background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dark .eyebrow { color: var(--gold-lt); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }
.dark .lede { color: var(--inv-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; min-height: 56px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 600 1rem/1 var(--sans); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.btn .arr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background .35s; }
.btn .arr svg { width: 16px; height: 16px; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold .arr { background: var(--ink); color: var(--gold-lt); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ink { background: var(--navy); color: var(--inv); }
.btn-ink .arr { background: var(--gold); color: var(--ink); }
.btn-ink:hover { background: var(--navy-2); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); padding: 8px 26px; }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); padding: 8px 26px; }
.btn-line:hover { background: var(--navy); color: var(--inv); }
.btn.sm { min-height: 46px; padding: 6px 6px 6px 20px; font-size: .92rem; }
.btn.sm .arr { width: 34px; height: 34px; }

/* ---------- Crisis strip + header ---------- */
.crisis { background: var(--ink); color: var(--inv-2); font-size: .8rem; }
.crisis .wrap { display: flex; justify-content: center; align-items: center; gap: 6px 12px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.crisis strong { color: var(--inv); font-weight: 600; }
.crisis a { color: var(--gold-lt); font-weight: 600; text-decoration: none; white-space: nowrap; }
.crisis a:hover { text-decoration: underline; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #e2644a; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid #e2644a; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.site-header { position: sticky; top: 0; z-index: 200; background: rgba(251, 248, 242, .82); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: 46px; }
.brand b { font: 700 1.32rem/1 var(--display); letter-spacing: -.03em; }
.brand small { display: block; font: 600 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dk); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 16px; border-radius: 999px; transition: background .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(14, 28, 48, .07); }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: var(--inv); cursor: pointer; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; } .menu-btn span:nth-child(2) { top: 27px; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; z-index: 1; height: 100dvh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 0 var(--gutter); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .nav a:not(.btn) { color: var(--inv); font: 600 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--display); letter-spacing: -.03em; padding: 6px 0; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background: none; color: var(--gold-lt); }
  .nav .btn { margin: 28px 0 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .brand { color: var(--inv); position: relative; z-index: 2; }
  body.menu-open .menu-btn { background: var(--gold); color: var(--ink); }
  body.menu-open .menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
}

/* ---------- Film frames ---------- */
.film { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); color: var(--inv); isolation: isolate; }
.film > video, .film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.film::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 19, 33, .25) 0%, rgba(9, 19, 33, 0) 30%, rgba(9, 19, 33, .55) 68%, rgba(9, 19, 33, .92) 100%); }
.grain::after { content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }
.inset { margin: 0 var(--inset); }

/* ---------- Hero ---------- */
.hero { min-height: max(600px, calc(100svh - 78px - 38px - var(--inset))); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 3vw, 44px); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 500; background: rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #6fd08c; box-shadow: 0 0 0 4px rgba(111, 208, 140, .25); }
.hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.hero h1 { margin-bottom: clamp(20px, 2.6vw, 36px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease) .15s forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .3s; }
@keyframes rise { to { transform: none; } }
.hero .lede { color: rgba(245, 239, 228, .88); max-width: 31em; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.glass-card { width: 320px; padding: 18px; border-radius: 22px; background: rgba(13, 24, 40, .5); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 0, 0, .5); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.glass-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; }
.glass-head img { width: 30px; height: 30px; }
.glass-head b { display: block; font: 600 .95rem/1.1 var(--display); letter-spacing: -.01em; }
.glass-head span { color: var(--inv-2); font-size: .72rem; }
.glass-head .on { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .7rem; color: var(--inv-2); }
.glass-head .on i { width: 7px; height: 7px; border-radius: 50%; background: #6fd08c; }
.bub { font-size: .84rem; line-height: 1.4; padding: 10px 14px; border-radius: 16px; max-width: 88%; margin-bottom: 8px; }
.bub.a { background: rgba(255, 255, 255, .14); border-bottom-left-radius: 4px; }
.bub.b { background: var(--gold); color: var(--ink); border-bottom-right-radius: 4px; margin-left: auto; width: fit-content; }
@media (max-width: 900px) { .hero-bottom { grid-template-columns: 1fr; } .glass-card { display: none; } .hero { min-height: max(560px, calc(100svh - 150px)); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 36s linear infinite; }
.marquee span { font: 700 clamp(2.6rem, 6.5vw, 6rem)/1 var(--display); letter-spacing: -.04em; padding-right: .5em; display: inline-flex; align-items: center; gap: .5em; }
.marquee span::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--gold); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee span:nth-child(3n) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--gold-dk); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 170px) 0; }
.section.sm { padding: clamp(56px, 7vw, 100px) 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.head h2 { max-width: 13em; }
.head .lede { max-width: 26em; margin: 0; }

/* Scroll-lit statement */
.statement { font: 500 clamp(1.9rem, 4.3vw, 4rem)/1.1 var(--display); letter-spacing: -.035em; max-width: 21em; margin: 0; }
.statement .w { opacity: .14; transition: opacity .35s linear; }
.statement .w.on { opacity: 1; }
.statement em { font-size: 1.05em; }
.no-js .statement .w { opacity: 1; }
.statement-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); padding-top: 36px; border-top: 1px solid var(--line); align-items: start; }
.statement-foot p { color: var(--text-2); font-size: 1.1rem; max-width: 34em; }
.by { display: flex; gap: 28px; flex-wrap: wrap; }
.by a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.by small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 3px; }
.by img { width: 58px; height: 58px; flex: none; }
@media (max-width: 800px) { .statement-foot { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 36px); color: var(--inv); isolation: isolate; text-decoration: none; background: var(--ink); }
.tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile:hover > img, .tile:hover > video { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 19, 33, 0) 35%, rgba(9, 19, 33, .9) 100%); }
.tile .k { position: absolute; top: clamp(20px, 2.2vw, 32px); left: clamp(22px, 2.4vw, 36px); font: 400 1.5rem/1 var(--serif); font-style: italic; color: var(--gold-lt); }
.tile .go { position: absolute; top: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; place-items: center; transition: background .35s, transform .5s var(--ease), color .35s; }
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; max-width: 12em; }
.tile p { margin: 0; color: rgba(245, 239, 228, .82); max-width: 30em; font-size: 1rem; }
.t-a { grid-column: span 7; min-height: 560px; }
.t-b { grid-column: span 5; min-height: 560px; }
.t-c { grid-column: span 5; background: var(--navy); justify-content: space-between; }
.t-c::before { display: none; }
.t-d { grid-column: span 7; }
.t-c ol { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: n; }
.t-c li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 13px 0; border-top: 1px solid var(--line-inv); font-size: 1.02rem; align-items: baseline; }
.t-c li::before { content: counter(n, decimal-leading-zero); font: italic 400 1.05rem var(--serif); color: var(--gold-lt); }
@media (max-width: 900px) { .t-a, .t-b, .t-c, .t-d { grid-column: 1 / -1; min-height: 440px; } }

/* ---------- How it works ---------- */
.panel-dark { background: var(--ink); color: var(--inv); border-radius: var(--r); position: relative; overflow: hidden; }
.panel-dark::before { content: ""; position: absolute; width: 900px; height: 900px; left: -260px; top: -200px; background: radial-gradient(circle, rgba(201, 166, 107, .2), rgba(201, 166, 107, 0) 62%); pointer-events: none; }
.how { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 110px); align-items: start; position: relative; }
.how-phone { position: sticky; top: 118px; display: flex; justify-content: center; padding: 20px 0; }
.steps { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 34px 0; border-top: 1px solid var(--line-inv); opacity: .35; transition: opacity .5s var(--ease); }
.step.active, .no-js .step { opacity: 1; }
.step-num { font: italic 400 3.2rem/.9 var(--serif); color: var(--gold-lt); }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 10px; }
.step p { margin: 0; color: var(--inv-2); max-width: 30em; font-size: 1.05rem; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .how-phone { position: relative; top: 0; order: 2; } .step { opacity: 1; grid-template-columns: 64px 1fr; } }

.phone { width: min(340px, 82vw); aspect-ratio: 9 / 19; border-radius: 50px; padding: 11px; background: linear-gradient(145deg, #3a4558, #0b1320 40%, #2a3445); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 120px -20px rgba(201, 166, 107, .35); transform: rotate(-3deg); }
.phone-screen { height: 100%; border-radius: 40px; overflow: hidden; background: var(--paper); color: var(--text); display: flex; flex-direction: column; position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #05090f; z-index: 3; }
.app-top { background: var(--navy); color: var(--inv); padding: 48px 16px 13px; display: flex; align-items: center; gap: 10px; }
.app-top img { width: 34px; height: 34px; }
.app-top .t { font: 600 1rem/1.1 var(--display); }
.app-top .s { font-size: .62rem; color: var(--gold-lt); }
.app-top .status { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: .6rem; color: var(--inv-2); }
.app-top .status i { width: 7px; height: 7px; border-radius: 50%; background: #6fd08c; }
.app-safe { background: var(--navy-2); color: var(--inv-2); font-size: .62rem; padding: 8px 16px; display: flex; gap: 8px; align-items: center; }
.app-safe svg { width: 12px; height: 12px; color: var(--gold); flex: none; }
.chat { flex: 1; padding: 14px 13px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: .76rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.show, .no-js .msg { opacity: 1; transform: none; }
.msg.bot { background: var(--navy); color: var(--inv); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: #ebe2d0; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { align-self: flex-start; background: var(--navy); padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 4px; display: none; gap: 4px; }
.typing.show { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; gap: 5px; padding: 0 13px 9px; flex-wrap: wrap; }
.chips span { font-size: .6rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; background: #fff; }
.composer { margin: 0 11px 15px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 15px; display: flex; align-items: center; justify-content: space-between; font-size: .72rem; color: #8a8f99; background: #fff; }
.composer b { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.composer svg { width: 12px; height: 12px; color: var(--inv); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--navy); }
.stat { padding: 28px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .n { font: 700 clamp(3.6rem, 8.4vw, 8.4rem)/.85 var(--display); letter-spacing: -.06em; }
.stat .n sup { font: italic 400 .5em var(--serif); color: var(--gold-dk); vertical-align: top; letter-spacing: 0; }
.stat .l { margin-top: 18px; color: var(--text-2); font-size: .98rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat, .stat + .stat { padding: 24px 12px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } .stat:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* ---------- Quote film ---------- */
.quote-film { min-height: 86svh; display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 64px); }
.quote-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; width: 100%; }
.quote-film blockquote { margin: 0; font: 400 clamp(2.3rem, 5.2vw, 5rem)/1.02 var(--serif); letter-spacing: -.02em; max-width: 13em; }
.quote-film blockquote span { color: var(--gold-lt); font-style: italic; }
.quote-film cite { display: block; margin-top: 26px; font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); font-style: normal; }
.quote-film p { color: rgba(245, 239, 228, .85); margin: 0 0 1em; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Pilot split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.split-media { position: relative; }
.split-media .film { aspect-ratio: 4 / 5; }
.float-card { position: absolute; right: -28px; bottom: 44px; background: var(--paper); color: var(--text); border-radius: 22px; padding: 20px 24px; box-shadow: 0 30px 60px -20px rgba(9, 19, 33, .4); display: flex; align-items: center; gap: 16px; animation: floaty 7s ease-in-out infinite; }
.float-card .n { font: 700 3rem/.9 var(--display); letter-spacing: -.05em; }
.float-card small { font-size: .84rem; color: var(--text-2); line-height: 1.3; display: block; max-width: 9em; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 40px 0; }
.lists h3 { font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 13px; height: 7px; border-left: 2px solid var(--gold-dk); border-bottom: 2px solid var(--gold-dk); transform: rotate(-45deg); }
.dark .ticks li { border-color: var(--line-inv); }
.dark .ticks li::before { border-color: var(--gold-lt); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media .film { aspect-ratio: 4 / 4; } .float-card { right: 12px; bottom: 16px; } }
@media (max-width: 560px) { .lists { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Expanding panels ---------- */
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; list-style: none; }
.roles li { padding: 9px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; font-weight: 500; }
.xpanels { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(480px, 62vh, 640px); }
.xp { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); color: var(--inv); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.2vw, 34px); transition: flex-grow .8s var(--ease); background: var(--ink); }
.xp.is-open { flex-grow: 3.2; }
.xp > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.85) brightness(.75); transition: filter .8s var(--ease), transform 1.4s var(--ease); }
.xp.is-open > img { filter: none; transform: scale(1.03); }
.xp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 19, 33, .1) 30%, rgba(9, 19, 33, .92) 100%); }
.xp .k { position: absolute; top: clamp(18px, 2vw, 30px); left: clamp(20px, 2.2vw, 34px); font: italic 400 1.5rem/1 var(--serif); color: var(--gold-lt); }
.xp h3 { font-size: clamp(1.5rem, 2.2vw, 2.3rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.xp .more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .5s var(--ease); }
.xp .more > div { overflow: hidden; min-width: 280px; }
.xp.is-open .more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, .25s; }
.xp p { margin: 14px 0 20px; max-width: 26em; color: rgba(245, 239, 228, .85); }
.xp a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 900px) {
  .xpanels { flex-direction: column; height: auto; }
  .xp, .xp.is-open { flex: none; min-height: 380px; }
  .xp > img { filter: none; }
  .xp .more { grid-template-rows: 1fr; opacity: 1; }
  .xp .more > div { min-width: 0; }
  .xp h3 { white-space: normal; }
}

/* ---------- Vision ---------- */
.vision { padding: clamp(64px, 9vw, 140px) clamp(20px, 4vw, 64px); }
.vision.film::before { background: linear-gradient(180deg, rgba(9, 19, 33, .78), rgba(9, 19, 33, .9)); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 14px); margin: clamp(40px, 5vw, 72px) 0; }
.pillar { padding: 22px; min-height: 190px; border-radius: 20px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); display: flex; flex-direction: column; justify-content: space-between; transition: background .4s, transform .5s var(--ease); }
.pillar:hover { background: rgba(255, 255, 255, .14); transform: translateY(-6px); }
.pillar .k { font: italic 400 1.4rem var(--serif); color: var(--gold-lt); }
.pillar h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.goal { font: 500 clamp(1.8rem, 4vw, 3.6rem)/1.05 var(--display); letter-spacing: -.035em; max-width: 17em; margin: 0; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar { min-height: 140px; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 110px; } }

/* ---------- Closing ---------- */
.closing { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: clamp(64px, 9vw, 140px) clamp(20px, 4vw, 64px); }
.closing.film::before { background: radial-gradient(ellipse at center, rgba(9, 19, 33, .45), rgba(9, 19, 33, .86)); }
.closing h2 { font-size: clamp(2.8rem, 7.6vw, 7.6rem); line-height: .9; max-width: 10em; margin: 0 auto 30px; }
.closing p { max-width: 30em; margin: 0 auto 34px; color: rgba(245, 239, 228, .85); font-size: 1.12rem; }
.closing .actions { justify-content: center; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid rgba(14, 28, 48, .22); border-radius: 14px; padding: 15px 18px; appearance: none; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 170px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%230e1c30' stroke-width='2'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(201, 166, 107, .45); }
.form-success { display: none; margin-top: 18px; padding: 16px 20px; border-radius: 14px; background: rgba(201, 166, 107, .2); font-weight: 500; }
.form-success.show { display: block; }
.form-note { font-size: .88rem; color: var(--text-2); margin-top: 14px; }
.card { background: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 52px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(9, 19, 33, .35); }
fieldset { border: 0; padding: 0; margin: 0 0 38px; min-width: 0; }
legend { font: 600 1.6rem/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 18px; padding: 0; display: flex; align-items: baseline; gap: 12px; }
legend i { font: italic 400 1.2rem var(--serif); color: var(--gold-dk); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; margin: 0; font-weight: 500; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span { display: inline-block; padding: 12px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(14, 28, 48, .22); font-size: .96rem; background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.choice input:checked + span { background: var(--navy); color: var(--inv); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 400; font-size: .95rem; line-height: 1.55; margin: 0; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a { font-weight: 600; color: var(--navy); }
.side { display: grid; gap: 16px; position: sticky; top: 110px; }
.crisis-card { background: var(--ink); color: var(--inv); border-radius: var(--r); padding: 28px; }
.crisis-card h3 { font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.crisis-card .big { font: 600 1.7rem/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 10px; }
.crisis-card a { color: inherit; }
.crisis-card p { margin: 0; color: var(--inv-2); font-size: .95rem; }
.soft-card { background: var(--cream); border-radius: var(--r); padding: 28px; }
.soft-card h3 { margin-bottom: 14px; }
.layout-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .layout-form { grid-template-columns: 1fr; } .side { position: static; } }

/* ---------- Inner page hero ---------- */
.page-hero { min-height: clamp(420px, 62svh, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 64px); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 7.6rem); max-width: 9em; margin-bottom: 22px; }
.page-hero .lede { color: rgba(245, 239, 228, .88); margin: 0; }
.crumbs { font-size: .84rem; margin-bottom: 22px; color: var(--inv-2); }
.crumbs a { color: var(--inv); text-underline-offset: 4px; }
.crumbs span { margin: 0 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.big-card { border-radius: var(--r); padding: clamp(28px, 4vw, 56px); background: var(--cream); }
.big-card.navy { background: var(--navy); color: var(--inv); }
.big-card h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 22px; }
.big-card p { color: var(--text-2); }
.big-card.navy p { color: var(--inv-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--inv-2); border-radius: var(--r) var(--r) 0 0; margin: var(--inset) var(--inset) 0; padding: clamp(48px, 6vw, 96px) 0 0; overflow: hidden; font-size: .95rem; }
.f-news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-inv); }
.f-news h2 { color: var(--inv); font-size: clamp(2rem, 4vw, 3.6rem); }
.f-form { display: flex; gap: 10px; flex-wrap: wrap; }
.f-form input { flex: 1 1 170px; background: rgba(255, 255, 255, .07); border-color: var(--line-inv); color: var(--inv); border-radius: 999px; padding: 16px 22px; }
.f-form input::placeholder { color: rgba(245, 239, 228, .5); }
.f-form input:focus { border-color: var(--gold); }
.f-form .form-success { flex-basis: 100%; color: var(--inv); }
.f-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1.2fr; gap: 40px; padding: clamp(40px, 5vw, 72px) 0; }
.site-footer h4 { font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--inv-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--inv); }
.f-mission { font: 400 1.6rem/1.2 var(--serif); color: var(--inv); max-width: 16em; margin: 0; }
.partner { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; line-height: 1.3; }
.partner img { width: 52px; height: 52px; flex: none; }
.partner small { display: block; font-size: .72rem; color: rgba(245, 239, 228, .5); }
.partner a { color: var(--inv); }
.vcl { border-radius: 20px; padding: 22px; background: rgba(201, 166, 107, .1); box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .4); }
.vcl .big { font: 600 1.45rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.vcl .big a, .vcl b a { color: var(--inv); }
.f-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line-inv); font-size: .82rem; }
.f-base ul { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.f-base li { margin: 0; }
.wordmark { font: 700 13.2vw/.78 var(--display); letter-spacing: -.06em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(230, 207, 159, .35); margin: clamp(16px, 3vw, 40px) 0 -0.12em; user-select: none; }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span { animation: none; transform: none; }
  .marquee-track, .glass-card, .float-card, .grain::after, .pulse::after { animation: none; }
  .statement .w { opacity: 1; }
  .xp, .xp > img, .xp .more { transition: none; }
}

/* ---------- Review fixes ---------- */
@media (min-width: 901px) {
  .hero > video { width: 136%; max-width: none; right: auto; }
  .hero::before { background: linear-gradient(90deg, rgba(9, 19, 33, .78) 0%, rgba(9, 19, 33, .35) 38%, rgba(9, 19, 33, 0) 60%), linear-gradient(180deg, rgba(9, 19, 33, .2) 0%, rgba(9, 19, 33, 0) 30%, rgba(9, 19, 33, .7) 100%); }
  .xp:not(.is-open) h3 { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
}
@media (max-width: 900px) { .hero > video { object-position: 42% 50%; } }
.tile::before { background: linear-gradient(180deg, rgba(9, 19, 33, .45) 0%, rgba(9, 19, 33, 0) 28%, rgba(9, 19, 33, 0) 40%, rgba(9, 19, 33, .9) 100%); }
.vision.film::before { background: linear-gradient(180deg, rgba(9, 19, 33, .6), rgba(9, 19, 33, .86)); }
.wordmark { margin-bottom: -.04em; line-height: .8; }
.page-hero::before { background: linear-gradient(90deg, rgba(9, 19, 33, .82) 0%, rgba(9, 19, 33, .45) 45%, rgba(9, 19, 33, .1) 75%), linear-gradient(180deg, rgba(9, 19, 33, .15) 0%, rgba(9, 19, 33, 0) 35%, rgba(9, 19, 33, .7) 100%); }
.page-hero > video, .page-hero > img { object-position: 50% 22%; }
@media (min-width: 901px) { .page-hero.shift > video { width: 150%; max-width: none; right: auto; } }

/* ---------- How it works: fits one screen, no scroll dependency ---------- */
#how.section { padding: clamp(40px, 6vh, 76px) 0; }
.how { grid-template-columns: auto 1fr; align-items: center; gap: clamp(32px, 6vw, 100px); }
.how-phone { position: static; padding: 0; }
.phone { height: clamp(440px, 62svh, 600px); width: auto; }
.steps { margin-top: clamp(24px, 3.4vh, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step, .step.active { display: block; opacity: 1; padding: clamp(16px, 2.2vh, 24px); border: 0; border-radius: 20px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line-inv); transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.step.active { background: rgba(201, 166, 107, .14); box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-3px); }
.step-num { display: block; font-size: 2.2rem; margin-bottom: clamp(10px, 1.6vh, 18px); }
.step h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); margin-bottom: 8px; }
.step p { font-size: .95rem; line-height: 1.5; }
#how h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-phone { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .phone { height: auto; width: min(300px, 78vw); }
}
@media (min-width: 901px) {
  .phone { height: auto; width: 290px; }
  .how-phone { padding: 0 clamp(0px, 2vw, 40px); }
}
@media (min-width: 901px) and (max-height: 840px) { .phone { zoom: .8; } }
@media (min-width: 901px) and (max-height: 700px) { .phone { zoom: .68; } }
