/* ==========================================================================
   AGENT CITY — cinematic build
   Dark "night city" opener → light "daylight" workspace → dark close.
   Tokens pulled from the Time Consulting scheme.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+00A3;
}

:root {
  --void:       #010D0B;
  --abyss:      #02201B;
  --field:      #043D33;
  --field-deep: #062E27;
  --paper:      #F2F7F5;
  --white:      #FFFFFF;
  --card:       #E9F1EE;
  --card-2:     #DCE8E3;
  --accent:     #00D4AA;
  --accent-ink: #00997B;
  --mint:       #BFF5E7;
  --mint-2:     #7FF6DC;
  --ink:        #0F2520;
  --ink-h:      #1B3A33;
  --ink-soft:   rgba(15, 37, 32, 0.68);
  --ink-faint:  rgba(15, 37, 32, 0.46);
  --muted:      #9DB5AD;
  --line-l:     rgba(15, 37, 32, 0.10);
  --line-d:     rgba(255, 255, 255, 0.09);
  --glass:      rgba(255, 255, 255, 0.045);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --sec: clamp(5.5rem, 11vw, 10rem);
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: var(--sans);
  background: var(--abyss);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--abyss); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.serif em, em.tone { font-style: italic; color: var(--accent-ink); }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ''; width: 22px; height: 6px; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--accent) 0 5px, var(--field) 5px 10px); }
.dark .eyebrow { color: var(--muted); }

/* grain overlay — nostalgic film feel */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.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 0.6s steps(3) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain { 0% { transform: translate(0,0);} 33% { transform: translate(-2%,1%);} 66% { transform: translate(1%,-2%);} 100% { transform: translate(0,0);} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  font-weight: 600; font-size: 0.98rem; padding: 0.9rem 1.5rem; border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-light { background: rgba(255,255,255,0.9); color: var(--abyss); box-shadow: 0 12px 40px -12px rgba(0,0,0,.6); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-mint { background: var(--accent); color: var(--abyss); box-shadow: 0 16px 40px -14px rgba(0,212,170,.7); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -14px rgba(0,212,170,.8); }
.btn-ink { background: #10201C; color: #fff; }
.btn-ink:hover { background: var(--abyss); transform: translateY(-2px); }
.btn-ghost-d { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost-d:hover { background: rgba(255,255,255,.1); }
.btn-ghost-l { color: var(--ink); border: 1px solid var(--line-l); background: #fff; }
.btn-ghost-l:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(2,32,27,.35); }
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.9rem; border-radius: 11px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .5s, border-color .5s, color .5s, backdrop-filter .5s;
  color: #fff;
}
.nav-in { max-width: 1400px; margin: 0 auto; padding: 1rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-word { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; display: flex; align-items: baseline; }
.logo-word .dot { color: var(--accent); }
.logo-tag { display: flex; align-items: center; gap: .4rem; font-size: .54rem; font-weight: 800; letter-spacing: .28em; opacity: .85; }
.hz { width: 26px; height: 7px; border-radius: 2px; flex: none; background: repeating-linear-gradient(-45deg, var(--accent) 0 5px, var(--field) 5px 10px); animation: hzdrift 2.6s linear infinite; }
@keyframes hzdrift { to { background-position: 14.142px 0; } }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a:not(.btn) { font-size: .92rem; font-weight: 600; opacity: .8; transition: opacity .2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav .btn { padding: .6rem 1.05rem; font-size: .88rem; border-radius: 11px; background: rgba(255,255,255,.92); color: var(--abyss); }
.nav.is-light { color: var(--ink); background: rgba(242,247,245,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line-l); }
.nav.is-light .btn { background: var(--abyss); color: #fff; }
.nav.is-dark { color: #fff; background: rgba(1,13,11,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-d); }
.nav.is-hidden { transform: translateY(-110%); }
.nav { transition: transform .5s var(--ease), background .5s, border-color .5s, color .5s; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid currentColor; opacity: .8; }
.nav-burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px auto; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links { display: flex; position: fixed; inset: 0; background: var(--void); color: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; font-size: 1.4rem; z-index: 90; }
  .nav.open .nav-links a:not(.btn) { font-size: 1.4rem; }
}

/* ======================================================================
   HERO — full-bleed 3D city that shrinks into a "monitor" as you scroll
   ====================================================================== */
.hero { position: relative; height: 300vh; background: var(--void); color: #fff; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--void); }

/* the wall of dispatch tickets behind the film */
.wall { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; pointer-events: none; }
.wall-in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 28px; align-items: center; width: max-content; }
.wall-col { width: 26vw; max-width: 420px; flex: none; position: relative; }
.wall-col.side { height: 130vh; overflow: hidden; }
.wall-track { position: absolute; left: 0; top: 0; width: 100%; display: flex; flex-direction: column; gap: 28px; will-change: transform; }
.wall-col.mid { width: 44vw; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.wall-col.mid .hole { width: 100%; aspect-ratio: 16 / 10; }
.wall-mark { font-weight: 800; letter-spacing: -0.03em; font-size: 1.35rem; opacity: .9; margin-bottom: 4vh; display: flex; align-items: center; gap: .5rem; }
.wall-mark .hz { width: 34px; height: 8px; }
.wall-hint { margin-top: 4vh; font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; opacity: .55; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.wall-hint i { display: block; width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.ticket {
  position: relative; border-radius: 30px; padding: 26px 28px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line-d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 40px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.ticket .t-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ticket .t-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0,212,170,.6); animation: pulse 2.4s infinite; display: inline-block; margin-right: .5rem; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,212,170,.55);} 70% { box-shadow: 0 0 0 9px rgba(0,212,170,0);} 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0);} }
.ticket h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.01em; line-height: 1.1; color: #fff; }
.ticket .t-meta { display: flex; align-items: center; gap: .6rem; font-size: .84rem; color: rgba(255,255,255,.62); }
.ticket .chip { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .6rem; border-radius: 999px; background: rgba(0,212,170,.12); color: var(--mint-2); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ticket .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.ticket .bar i { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--accent), var(--mint-2)); animation: fill 4s var(--ease) infinite alternate; }
@keyframes fill { from { width: 22%; } to { width: 88%; } }
.ticket .wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.ticket .wave b { width: 3px; border-radius: 2px; background: var(--mint-2); animation: wave 1.1s ease-in-out infinite; }
.ticket .wave b:nth-child(2n) { animation-delay: .15s; } .ticket .wave b:nth-child(3n) { animation-delay: .3s; } .ticket .wave b:nth-child(5n) { animation-delay: .45s; }
@keyframes wave { 0%,100% { height: 22%; } 50% { height: 100%; } }
.ticket .stars { color: var(--accent); letter-spacing: .12em; font-size: .9rem; }
.ticket.big { min-height: 260px; }
.ticket.tall { min-height: 320px; }

/* the film: city / video, full-bleed then shrinks */
.film {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; transform-origin: 50% 50%;
  background: var(--void); will-change: transform, border-radius;
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}
.film canvas, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { display: none; }
.film.has-video video { display: block; }
.film.has-video canvas { display: none; }
.film .veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(1,13,11,.9) 0%, rgba(1,13,11,.25) 38%, rgba(1,13,11,0) 60%), linear-gradient(to bottom, rgba(1,13,11,.55), transparent 22%); }
.film .vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%); }
.film-fallback { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 65%, rgba(0,212,170,.28), transparent 70%), var(--void); }

/* HUD — the monitor chrome: status top-left, timecode top-right, wordmark bottom-right */
.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; padding: clamp(1.2rem, 3.2vw, 3rem); font-weight: 500; }
.hud .hud-status { position: absolute; left: clamp(1.2rem, 3.2vw, 3rem); top: clamp(4.6rem, 7vw, 6rem); font-size: clamp(1rem, 1.6vw, 1.5rem); letter-spacing: -0.01em; }
.hud .hud-status span { display: inline-block; }
.hud .hud-time { position: absolute; right: clamp(1.2rem, 3.2vw, 3rem); top: clamp(4.6rem, 7vw, 6rem); font-size: clamp(1rem, 1.6vw, 1.5rem); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hud .hud-mark { position: absolute; right: clamp(1.2rem, 3.2vw, 3rem); bottom: clamp(1.2rem, 3.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.2rem, 2vw, 1.9rem); }
.hud .rec { position: absolute; left: clamp(1.2rem, 3.2vw, 3rem); bottom: clamp(1.2rem, 3.2vw, 3rem); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; display: flex; align-items: center; gap: .5rem; }
.hud .rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF5C5C; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* hero copy sits over the film while it is full-bleed */
.hero-copy { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(3rem, 6vh, 5rem); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy .kicker { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--mint-2); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.hero-copy .kicker::before { content: ''; width: 26px; height: 7px; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--accent) 0 5px, transparent 5px 10px); }
.hero-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 9.6vw, 9.4rem); line-height: .92; letter-spacing: -0.03em; max-width: 12ch; }
.hero-copy h1 .l { display: block; overflow: hidden; }
.hero-copy h1 .l span { display: block; }
.hero-copy h1 em { font-style: italic; color: var(--mint-2); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-row p { max-width: 36rem; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(255,255,255,.82); line-height: 1.55; }
.hero-row p strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }

/* statement that appears on the shrunken film */
.film-state { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; pointer-events: none; padding: 0 8%; }
.film-state p { font-family: var(--serif); font-size: clamp(1.4rem, 3.9vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em; color: #fff; text-wrap: balance; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.film-state p em { color: var(--mint-2); }

/* fades at the edges of the stage (over the wall) */
.stage-veil-t, .stage-veil-b { position: absolute; left: 0; right: 0; height: 110px; z-index: 6; pointer-events: none; }
.stage-veil-t { top: 0; background: linear-gradient(to bottom, rgba(1,13,11,.95), transparent); }
.stage-veil-b { bottom: 0; background: linear-gradient(to top, rgba(1,13,11,.95), transparent); }

@media (max-width: 860px) {
  .hero { height: 240vh; }
  .wall-in { flex-direction: column; gap: 18px; }
  .wall-col { width: 84vw; }
  .wall-col.side { height: 30vh; }
  .wall-col.mid { width: 88vw; }
  .wall-track { flex-direction: row; width: max-content; }
  .wall-track .ticket { width: 74vw; }
  .wall-mark, .wall-hint { display: none; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hud .hud-status, .hud .hud-time { top: 5.4rem; font-size: .95rem; }
}

/* ======================================================================
   LIGHT ZONE — daylight over the city
   ====================================================================== */
.light { background: var(--paper); color: var(--ink); position: relative; }
.dawn { background: linear-gradient(180deg, var(--accent) 0%, rgba(0,212,170,.32) 18%, rgba(242,247,245,0) 46%), var(--paper); }
.sec-head { max-width: 46rem; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; color: var(--ink-h); margin-top: 1rem; text-wrap: balance; }
.sec-head p { margin-top: 1.2rem; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--ink-soft); max-width: 40rem; }
.sec-head .row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Agents: big cards ---------- */
.agents { padding: var(--sec) 0 calc(var(--sec) * .8); }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3.5rem; }
.acard {
  position: relative; border-radius: var(--r); background: var(--card); padding: 30px; min-height: 600px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform-style: preserve-3d;
}
.acard:hover { box-shadow: 0 40px 80px -40px rgba(2,32,27,.35); }
.acard .a-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
.acard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink-h); margin-top: .8rem; }
.acard p { color: var(--ink-soft); font-size: .98rem; margin-top: .9rem; max-width: 30rem; }
.acard .a-ui { margin-top: auto; padding-top: 2rem; }
.acard .a-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; font-weight: 600; font-size: .92rem; color: var(--ink-h); }
.acard .a-link .arr { transition: transform .3s var(--ease); }
.acard:hover .a-link .arr { transform: translateX(4px); }

/* mini UIs inside the agent cards */
.ui { border-radius: 18px; background: #fff; border: 1px solid var(--line-l); padding: 18px; box-shadow: 0 18px 40px -26px rgba(2,32,27,.35); }
.ui-dark { background: var(--abyss); color: #fff; border-color: transparent; }
.ui .row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.ui .pill { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem; border-radius: 999px; font-weight: 700; font-size: .8rem; background: var(--mint); color: var(--abyss); }
.ui .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); animation: blink 1s steps(2) infinite; }
.ui .small { font-size: .74rem; color: rgba(255,255,255,.55); }
.ui-light .small { color: var(--ink-faint); }
.ui .wave { display: flex; align-items: center; gap: 3px; height: 44px; margin: 14px 0 10px; }
.ui .wave b { width: 4px; border-radius: 3px; background: var(--accent); animation: wave 1.2s ease-in-out infinite; }
.ui .wave b:nth-child(2n) { animation-delay: .12s; } .ui .wave b:nth-child(3n) { animation-delay: .24s; } .ui .wave b:nth-child(4n) { animation-delay: .36s; } .ui .wave b:nth-child(5n) { animation-delay: .48s; }
.ui .line { font-size: .92rem; line-height: 1.45; min-height: 3.1em; }
.ui .line .cur { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink .9s steps(2) infinite; }
.ui .mail-h { font-size: .78rem; color: var(--ink-faint); display: grid; grid-template-columns: auto 1fr; gap: .2rem .6rem; }
.ui .mail-h b { color: var(--ink-h); font-weight: 600; }
.ui .mail-b { margin-top: .8rem; font-size: .92rem; line-height: 1.5; color: var(--ink); min-height: 6.2em; }
.ui .mail-f { margin-top: .8rem; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--ink-faint); }
.ui .mail-f .sent { color: var(--accent-ink); font-weight: 700; }
.ui .inv { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; border-top: 1px solid var(--line-l); font-size: .9rem; }
.ui .inv:first-of-type { border-top: 0; }
.ui .inv .st { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 6px; background: #FFF3E0; color: #9A5B00; transition: background .4s, color .4s; }
.ui .inv.paid .st { background: var(--mint); color: var(--accent-ink); }
.ui .inv .st::before { content: 'chasing'; }
.ui .inv.paid .st::before { content: 'paid'; }
.ui .report { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: var(--paper); font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: .6rem; }
.ui .report b { color: var(--ink-h); }

@media (max-width: 960px) { .agent-grid { grid-template-columns: 1fr; } .acard { min-height: 0; } }

/* ---------- Proof strip ---------- */
.proof { padding: 1rem 0 var(--sec); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 1.6rem 0; border-top: 1px solid var(--line-l); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.03em; color: var(--ink-h); line-height: 1; display: block; }
.stat span { display: block; margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); max-width: 16rem; }
.clients { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.clients .pk { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ink-faint); }
.clients b { color: var(--ink-h); font-weight: 600; }
.clients i { font-style: normal; color: var(--ink-faint); margin-left: .3rem; }
.logos { margin-top: 2.4rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; gap: 3.2rem; width: max-content; align-items: center; animation: mq 34s linear infinite; }
.logos-track span { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; }
.logos-track img { height: 20px; width: auto; opacity: .85; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Statement (word reveal) ---------- */
.statement { padding: var(--sec) 0; min-height: 70vh; display: flex; align-items: center; }
.statement p { font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink-h); max-width: 22ch; }
.statement p .w { display: inline-block; opacity: .16; transition: opacity .3s; will-change: opacity; }
.statement p .w.on { opacity: 1; }
.statement p em { color: var(--accent-ink); }

/* ======================================================================
   THE LINE — Lead Engine as a monorail journey (pinned, scroll-scrubbed)
   ====================================================================== */
.line-sec { position: relative; height: 520vh; background: linear-gradient(180deg, var(--paper) 0%, #fff 40%, var(--paper) 100%); }
.line-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.line-head { position: absolute; left: var(--pad); top: clamp(5rem, 10vh, 7rem); z-index: 4; max-width: 34rem; }
.line-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -0.025em; color: var(--ink-h); margin-top: .9rem; }
.line-head .price { margin-top: 1rem; display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .95rem; }
.line-head .price b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--ink-h); letter-spacing: -0.03em; }
.line-head p { margin-top: .9rem; color: var(--ink-soft); font-size: 1rem; max-width: 30rem; }
.line-head .row { margin-top: 1.2rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.line-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.line-svg .track-ghost { fill: none; stroke: rgba(15,37,32,.1); stroke-width: 10; stroke-linecap: round; }
.line-svg .track { fill: none; stroke: url(#trackGrad); stroke-width: 10; stroke-linecap: round; }
.line-svg .rail { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-dasharray: 2 14; stroke-linecap: round; }
.line-svg .stn { fill: #fff; stroke: var(--ink-h); stroke-width: 4; r: 9; transition: fill .4s, stroke .4s; }
.line-svg .stn.on { fill: var(--accent); stroke: var(--abyss); }
.line-svg .stn-halo { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; r: 18; transition: opacity .4s; }
.line-svg .stn-halo.on { opacity: .7; animation: halo 2s var(--ease) infinite; }
@keyframes halo { 0% { r: 12; opacity: .8; } 100% { r: 30; opacity: 0; } }
.train { position: absolute; z-index: 3; left: 0; top: 0; width: 86px; height: 22px; margin: -11px 0 0 -43px; will-change: transform; }
.train .body { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(180deg, #fff, #DCE8E3); box-shadow: 0 8px 30px -8px rgba(0,153,123,.7), 0 0 0 2px var(--abyss) inset; }
.train .body::before { content: ''; position: absolute; left: 10px; right: 10px; top: 6px; height: 5px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--abyss) 0 8px, transparent 8px 13px); opacity: .6; }
.train .lamp { position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--mint-2); box-shadow: 0 0 18px 6px rgba(0,212,170,.6); }
.train .glow { position: absolute; left: 50%; top: 50%; width: 220px; height: 60px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0,212,170,.32), transparent); pointer-events: none; }
.station { position: absolute; z-index: 2; width: min(340px, 42vw); opacity: 0; transform: translateY(24px); pointer-events: none; will-change: transform, opacity; }
.station .card { border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); padding: 22px 24px; box-shadow: 0 30px 60px -36px rgba(2,32,27,.45); }
.station .n { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
.station h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.05; margin-top: .4rem; color: var(--ink-h); }
.station p { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }
.station ul { list-style: none; margin-top: .8rem; display: grid; gap: .3rem; font-size: .86rem; color: var(--ink); }
.station li { padding-left: 1.1rem; position: relative; }
.station li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.station.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.line-progress { position: absolute; left: var(--pad); bottom: clamp(1.4rem, 4vh, 2.6rem); z-index: 4; display: flex; gap: 1.2rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.line-progress span { transition: color .3s; }
.line-progress span.on { color: var(--ink-h); }
.line-progress span.done { color: var(--accent-ink); }
.line-mobile { display: none; }
@media (max-width: 860px) {
  .line-sec { height: auto; background: var(--paper); padding: var(--sec) 0; }
  .line-stage { position: static; height: auto; overflow: visible; padding: 0 var(--pad); }
  .line-head { position: static; max-width: none; }
  .line-svg, .train, .station, .line-progress { display: none; }
  .line-mobile { display: grid; gap: 14px; margin-top: 2.4rem; position: relative; padding-left: 1.6rem; }
  .line-mobile::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--field)); }
  .line-mobile .card { border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); padding: 20px; position: relative; }
  .line-mobile .card::before { content: ''; position: absolute; left: -1.6rem; top: 24px; width: 12px; height: 12px; margin-left: 2px; border-radius: 50%; background: #fff; border: 3px solid var(--ink-h); }
  .line-mobile .n { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
  .line-mobile h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-top: .3rem; color: var(--ink-h); }
  .line-mobile ul { list-style: none; margin-top: .6rem; font-size: .88rem; color: var(--ink-soft); display: grid; gap: .25rem; }
}

/* ======================================================================
   THE MACHINE — dark, rotating industries, skyline
   ====================================================================== */
.dark { background: var(--void); color: #fff; position: relative; }
.machine { padding: var(--sec) 0 0; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; }
.machine .sec-head h2 { color: #fff; }
.machine .sec-head p { color: rgba(255,255,255,.7); }
.machine-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; position: relative; z-index: 2; }
.rotor { display: inline-grid; vertical-align: bottom; height: 1.05em; overflow: hidden; }
.rotor span { grid-area: 1 / 1; display: block; color: var(--mint-2); font-style: italic; opacity: 0; transform: translateY(110%); }
.rotor span.on { opacity: 1; transform: translateY(0); transition: transform .7s var(--ease), opacity .4s; }
.rotor span.out { opacity: 0; transform: translateY(-110%); transition: transform .7s var(--ease), opacity .4s; }
.mstack { display: grid; gap: 14px; }
.mcard { border-radius: 22px; padding: 22px 24px; background: var(--glass); border: 1px solid var(--line-d); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.mcard .n { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--mint-2); }
.mcard h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; margin-top: .4rem; letter-spacing: -0.015em; }
.mcard p { margin-top: .4rem; font-size: .92rem; color: rgba(255,255,255,.66); }
.skyline { position: relative; margin-top: 4rem; height: clamp(160px, 26vw, 320px); z-index: 1; }
.skyline svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.skyline .bld { fill: #041A16; }
.skyline .win { fill: var(--mint-2); opacity: .0; animation: win 6s infinite; }
@keyframes win { 0%, 100% { opacity: 0; } 8% { opacity: .9; } 60% { opacity: .9; } 70% { opacity: .15; } 80% { opacity: .9; } 92% { opacity: 0; } }
.skyline .glow { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(0,212,170,.16), transparent); }
@media (max-width: 960px) { .machine-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   THE ARCHITECT
   ====================================================================== */
.architect { padding: var(--sec) 0; }
.arch-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.arch-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--abyss); box-shadow: 0 50px 100px -50px rgba(2,32,27,.55); }
.arch-media img, .arch-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-media video { opacity: 0; transition: opacity .6s; }
.arch-media.playing video { opacity: 1; }
.arch-media .tag { position: absolute; left: 18px; bottom: 18px; padding: .5rem .8rem; border-radius: 10px; background: rgba(1,13,11,.7); color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; backdrop-filter: blur(8px); display: flex; align-items: center; gap: .5rem; }
.arch-copy blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink-h); }
.arch-copy blockquote em { color: var(--accent-ink); }
.arch-copy .who { margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.arch-copy .who b { color: var(--ink-h); font-weight: 700; }
.arch-copy p.body { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 34rem; }
.facts { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { padding: 1rem 1.1rem; border-radius: 14px; background: var(--card); }
.fact b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ink-h); letter-spacing: -0.02em; display: block; }
.fact span { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .2rem; }
@media (max-width: 900px) { .arch-grid { grid-template-columns: 1fr; } .arch-media { aspect-ratio: 4 / 3; } }

/* ======================================================================
   THREE WAYS IN
   ====================================================================== */
.ways { padding: 0 0 var(--sec); }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 3rem; }
.way { border-radius: 25px; background: var(--card-2); padding: 28px; min-height: 300px; display: flex; flex-direction: column; transition: transform .5s var(--ease), background .4s; }
.way:hover { transform: translateY(-6px); background: #fff; }
.way .n { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); }
.way h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.02em; line-height: 1.05; margin-top: .5rem; color: var(--ink-h); }
.way p { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }
.way .btn { margin-top: auto; align-self: flex-start; margin-top: 1.6rem; }
.way.feature { background: var(--abyss); color: #fff; }
.way.feature h3 { color: #fff; } .way.feature p { color: rgba(255,255,255,.7); } .way.feature .n { color: var(--mint-2); }
@media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr; } .way { min-height: 0; } }

/* ======================================================================
   FAQ — dark
   ====================================================================== */
.faq { padding: var(--sec) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.025em; }
.faq .lead { margin-top: 1rem; color: rgba(255,255,255,.66); max-width: 26rem; }
.q { border-top: 1px solid var(--line-d); }
.q:last-child { border-bottom: 1px solid var(--line-d); }
.q button { width: 100%; text-align: left; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: 1.12rem; font-weight: 500; }
.q button i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; flex: none; position: relative; transition: transform .4s var(--ease), background .3s; }
.q button i::before, .q button i::after { content: ''; position: absolute; background: #fff; width: 12px; height: 1.5px; }
.q button i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.q.open button i { background: var(--accent); border-color: var(--accent); }
.q.open button i::before, .q.open button i::after { background: var(--abyss); }
.q.open button i::after { transform: rotate(0); }
.q .a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.q .a p { padding: 0 3.5rem 1.4rem 0; color: rgba(255,255,255,.7); font-size: 1rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   BOOK
   ====================================================================== */
.book { padding: var(--sec) 0; }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.book h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.025em; color: var(--ink-h); }
.book .lead { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 28rem; }
.book ul { list-style: none; margin-top: 1.6rem; display: grid; gap: .6rem; color: var(--ink); font-size: .95rem; }
.book li { display: flex; gap: .7rem; align-items: flex-start; }
.book li::before { content: ''; flex: none; margin-top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cal { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-l); padding: 10px; box-shadow: 0 40px 90px -50px rgba(2,32,27,.4); min-height: 640px; }
.cal iframe { width: 100%; min-height: 640px; border: 0; border-radius: 20px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   FOOTER
   ====================================================================== */
footer { background: var(--void); color: #fff; padding: 5rem 0 2rem; overflow: hidden; position: relative; }
.foot-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }
.foot-links { display: flex; gap: 2rem; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.7); }
.foot-links a:hover { color: #fff; }
.foot-mark { margin-top: 3rem; font-weight: 800; letter-spacing: -0.05em; font-size: clamp(4rem, 17vw, 17rem); line-height: .85; color: #fff; opacity: .95; white-space: nowrap; }
.foot-mark .dot { color: var(--accent); }
.foot-bottom { margin-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.5); align-items: center; }
.foot-bottom .strap { display: flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: .26em; font-size: .68rem; color: rgba(255,255,255,.8); }

/* ---------- reveal utilities ---------- */
[data-rv] { opacity: 0; transform: translateY(28px); }
.no-js [data-rv] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-rv] { opacity: 1; transform: none; }
}
