/* Agent Kelly v2 | navy-first, bold display, spy-poster motifs */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.2rem, 1.2rem + 3.6vw, 4.5rem);
  --text-3xl: clamp(2.8rem, 0.8rem + 7vw, 8.5rem);
  --text-mega: clamp(4rem, 1rem + 15vw, 18rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 4px; --radius-md: 10px; --radius-lg: 18px; --radius-full: 999px;
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Clash Display', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', monospace;
  --font-stencil: 'Saira Stencil One', 'Impact', sans-serif;

  --navy: #0e1f3c;
  --navy-deep: #0b1528;
  --navy-2: #1a2d50;
  --gold: #c39443;
  --gold-hi: #e2b462;
  --cream: #f4eee2;
  --ink-muted: #a9b3c8;
  --line-dark: rgb(244 238 226 / 0.13);

  --content: 80rem;
  --content-narrow: 48rem;
}

/* Dark is the brand default; light swaps body sections to cream */
:root, [data-theme='dark'] {
  --color-bg: #0b1528;
  --color-surface: #13233f;
  --color-surface-2: #1a2d50;
  --color-text: #f4eee2;
  --color-text-muted: #a9b3c8;
  --color-accent: #e2b462;
  --color-border: rgb(244 238 226 / 0.13);
  --color-primary: #e2b462;
}
[data-theme='light'] {
  --color-bg: #f4eee2;
  --color-surface: #fbf7ef;
  --color-surface-2: #ebe2d0;
  --color-text: #13233f;
  --color-text-muted: #4b5671;
  --color-accent: #8a5f1c;
  --color-border: rgb(19 35 63 / 0.14);
  --color-primary: #13233f;
}

html { background: var(--color-bg); }
body { overflow-x: hidden; }
.wrap { width: min(100% - 2 * clamp(var(--space-5), 4vw, var(--space-12)), var(--content)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--space-6), var(--content-narrow)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); position: relative; }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--surface { background: var(--color-surface); }
.navy { background: var(--navy); color: var(--cream); --color-text: var(--cream); --color-text-muted: var(--ink-muted); --color-accent: var(--gold-hi); --color-border: var(--line-dark); --color-surface: var(--navy-2); }
.deep { background: var(--navy-deep); color: var(--cream); --color-text: var(--cream); --color-text-muted: var(--ink-muted); --color-accent: var(--gold-hi); --color-border: var(--line-dark); --color-surface: var(--navy); }
.gold-bg { background: var(--gold); color: var(--navy); --color-text: var(--navy); --color-text-muted: #3a3220; --color-accent: var(--navy); --color-border: rgb(19 35 63 / 0.2); }

.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 200; background: var(--gold); color: var(--navy); padding: var(--space-2) var(--space-4); }
.skip:focus { top: var(--space-4); }

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--color-text); }
h1 { line-height: 0.92; }
h2 { font-size: var(--text-2xl); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.015em; }
h3 { font-size: var(--text-lg); line-height: 1.15; letter-spacing: -0.01em; }
p { color: var(--color-text-muted); }
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--color-text-muted); max-width: 56ch; }
.label {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); display: inline-flex; align-items: center; gap: var(--space-2);
}
.label::before { content: ''; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--color-bg, transparent); flex: none; }
.navy .label::before, .deep .label::before { box-shadow: none; background: radial-gradient(circle, currentColor 0 1.5px, transparent 2px); }
.gold-text { color: var(--gold-hi); }
.stencil { font-family: var(--font-stencil); font-weight: 400; letter-spacing: 0.01em; }
.prose p + p { margin-top: var(--space-4); }
.prose p { max-width: 64ch; }
.text-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 52px;
  padding: var(--space-3) var(--space-6); font-size: var(--text-sm); font-weight: 700;
  text-decoration: none; border-radius: var(--radius-full); border: 1.5px solid transparent;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform 300ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: currentColor; color: var(--color-text); }
.btn--line:hover { background: rgb(226 180 98 / 0.12); }
.btn--ink { background: var(--color-text); color: var(--color-bg); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background 300ms var(--ease), border-color 300ms var(--ease), transform 400ms var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgb(11 21 40 / 0.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 76px; color: var(--cream); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--cream); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 0.95; }
.brand-word small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.4em; color: var(--gold-hi); }
.brand-word span { font-family: var(--font-stencil); font-size: 1.55rem; letter-spacing: 0.05em; }
.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-links { display: flex; gap: var(--space-1); list-style: none; padding: var(--space-1); border: 1px solid var(--line-dark); border-radius: var(--radius-full); background: rgb(19 35 63 / 0.5); }
.nav-links li { max-width: none; }
.nav-links a { display: block; text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); color: var(--cream); }
.nav-links a:hover { background: rgb(244 238 226 / 0.08); }
.nav-links a[aria-current='page'] { background: var(--cream); color: var(--navy); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); border: 1px solid var(--line-dark); }
.icon-btn:hover { background: rgb(244 238 226 / 0.08); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-btn { display: none; }
.nav .btn { min-height: 44px; padding-inline: var(--space-5); }
@media (max-width: 1040px) {
  .menu-btn { display: grid; }
  .nav-links, .nav .btn--header { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: fixed; top: 84px; left: var(--space-4); right: var(--space-4);
    background: var(--navy); padding: var(--space-4); border-radius: var(--radius-lg); gap: var(--space-1);
  }
  .nav.open .nav-links a { font-size: var(--text-lg); font-family: var(--font-display); padding: var(--space-3) var(--space-4); }
}

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--navy-deep); color: var(--cream); overflow: hidden; padding-top: 76px; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 72% 45%, rgb(195 148 67 / 0.16), transparent 70%);
  pointer-events: none; }
.hero-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-lines::before, .hero-lines::after { content: ''; position: absolute; background: var(--line-dark); }
.hero-lines::before { left: 0; right: 0; top: 50%; height: 1px; }
.hero-lines::after { top: 0; bottom: 0; left: 72%; width: 1px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-8); align-items: center; width: 100%; padding-block: var(--space-16); }
.hero h1 { font-size: var(--text-3xl); text-transform: uppercase; letter-spacing: -0.03em; margin-block: var(--space-6); color: var(--cream); }
.hero h1 .stencil { color: var(--gold-hi); display: block; letter-spacing: 0; font-size: 1.04em; line-height: 0.9; }
.hero .lede { color: #c9cfdb; margin-bottom: var(--space-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.typed { min-height: 1.4em; }
.typed::after { content: '_'; animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.scope { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.scope img { position: absolute; inset: 10%; width: 80%; height: 80%; border-radius: 50%; object-fit: cover; }
.scope svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scope .ring-spin { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.scope .ring-spin-rev { transform-origin: 50% 50%; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.scope-tag { position: absolute; z-index: 3; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.scope-tag.t1 { top: 6%; right: -2%; }
.scope-tag.t2 { bottom: 8%; left: -4%; }
.scope-tag.t3 { top: 48%; right: -10%; color: var(--ink-muted); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: var(--space-6); }
.hero-foot .wrap { display: flex; justify-content: space-between; gap: var(--space-4); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

/* reticle cursor in hero */
.reticle { position: fixed; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; z-index: 90; opacity: 0; transition: opacity 250ms var(--ease), width 300ms var(--ease), height 300ms var(--ease), margin 300ms var(--ease); color: var(--gold-hi); }
.reticle.on { opacity: 1; }
.reticle.lock { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.reticle svg { width: 100%; height: 100%; }
@media (hover: none), (prefers-reduced-motion: reduce) { .reticle { display: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: var(--space-10) var(--space-20); }
  .scope { width: min(78vw, 360px); order: -1; }
  .scope-tag.t3 { display: none; }
  .hero-lines::after { left: 50%; }
  .hero-foot .wrap span:nth-child(n+2) { display: none; }
}

/* Ticker */
.ticker { background: var(--gold); color: var(--navy); overflow: hidden; border-block: 1px solid rgb(19 35 63 / 0.2); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: var(--space-8); padding-right: var(--space-8); padding-block: var(--space-4); }
.ticker-group span { font-family: var(--font-stencil); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); line-height: 1; white-space: nowrap; }
.ticker-group svg { width: 22px; height: 22px; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Big statement with scroll-fill words */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; text-transform: uppercase; max-width: 18ch; color: var(--color-text); }
.statement .w { opacity: 0.18; transition: opacity 500ms var(--ease); }
.statement .w.lit { opacity: 1; }
.statement .w.gold { color: var(--gold-hi); }
[data-theme='light'] .statement .w.gold { color: var(--color-accent); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.principle { padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.principle b { font-family: var(--font-stencil); font-weight: 400; font-size: var(--text-xl); color: var(--color-accent); display: block; line-height: 1; margin-bottom: var(--space-4); }
.principle h3 { margin-bottom: var(--space-2); }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }

/* Section heading row */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); flex-wrap: wrap; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.head-row h2 { margin-top: var(--space-4); max-width: 14ch; }
.head-row p { max-width: 44ch; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: var(--space-4); }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-6); border-radius: var(--radius-lg); background: var(--navy); color: var(--cream);
  text-decoration: none; overflow: hidden; border: 1px solid var(--line-dark);
  transition: transform 400ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgb(226 180 98 / 0.6); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); position: relative; z-index: 2; }
.card-art { position: absolute; right: -8%; top: 12%; width: 62%; aspect-ratio: 1; transition: transform 600ms var(--ease); }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-art { transform: scale(1.06) rotate(-3deg); }
.card-body { position: relative; z-index: 2; max-width: 70%; }
.card h3 { font-size: var(--text-xl); text-transform: uppercase; line-height: 0.95; color: var(--cream); margin-bottom: var(--space-3); }
.card p { font-size: var(--text-sm); color: var(--ink-muted); }
.card .open { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--gold-hi); margin-top: var(--space-4); }
.card .open svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.card:hover .open svg { transform: translateX(4px); }
.card--feature { grid-column: span 2; grid-row: span 2; background: var(--gold); color: var(--navy); border-color: transparent; }
.card--feature .card-top, .card--feature .open { color: var(--navy); }
.card--feature h3 { color: var(--navy); font-size: var(--text-2xl); }
.card--feature p { color: #3a3220; font-size: var(--text-base); max-width: 40ch; }
.card--feature .card-art { width: 70%; right: -6%; top: 8%; }
.card--feature .card-art { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--navy); }
.card--feature:hover { border-color: var(--navy); }
.card--wide { grid-column: span 2; }
.card--wide .card-art { width: 46%; top: 50%; transform: translateY(-50%); right: -4%; }
.card--wide:hover .card-art { transform: translateY(-50%) scale(1.06) rotate(-3deg); }
.card--wide .card-body { max-width: 58%; }
@media (max-width: 1040px) { .bento { grid-template-columns: repeat(2, 1fr); } .card--feature { grid-row: span 1; min-height: 420px; } }
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .card--feature, .card--wide { grid-column: auto; }
  .card { min-height: 280px; }
}

/* Split feature with illustration */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split--rev > :first-child { order: 2; }
.split h2 { margin-block: var(--space-4) var(--space-6); }
.art-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.art-frame img { width: 100%; height: auto; display: block; transition: transform 1200ms var(--ease); }
.art-frame:hover img { transform: scale(1.03); }
.art-frame .corner { position: absolute; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); padding: var(--space-2) var(--space-3); background: rgb(11 21 40 / 0.7); border-radius: var(--radius-sm); }
.art-frame .corner.tl { top: var(--space-4); left: var(--space-4); }
.art-frame .corner.br { bottom: var(--space-4); right: var(--space-4); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.pillars { list-style: none; display: grid; gap: 0; margin-top: var(--space-8); }
.pillars li { max-width: none; display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--color-border); }
.pillars li b { font-family: var(--font-stencil); font-weight: 400; font-size: var(--text-lg); color: var(--color-accent); }
.pillars h3 { font-size: var(--text-base); margin-bottom: var(--space-1); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.pillars p { font-size: var(--text-sm); }

/* Missions (engagement tabs) */
.missions { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); align-items: stretch; }
.mission-tabs { display: grid; gap: var(--space-2); align-content: start; }
.mission-tab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-5) var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); text-transform: uppercase; letter-spacing: -0.01em; }
.mission-tab span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; color: var(--color-text-muted); font-weight: 400; }
.mission-tab:hover { border-color: var(--color-accent); }
.mission-tab[aria-selected='true'] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.mission-tab[aria-selected='true'] span { color: var(--navy); }
.mission-panel { border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); padding: clamp(var(--space-8), 4vw, var(--space-12)); position: relative; overflow: hidden; min-height: 420px; }
.mission-panel[hidden] { display: none; }
.mission-panel h3 { font-size: var(--text-2xl); text-transform: uppercase; color: var(--cream); margin-block: var(--space-4); line-height: 0.95; }
.mission-panel p { color: #c9cfdb; max-width: 52ch; }
.mission-panel ul { list-style: none; margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.mission-panel li { max-width: none; font-size: var(--text-sm); padding: var(--space-2) var(--space-4); border: 1px solid var(--line-dark); border-radius: var(--radius-full); color: var(--cream); }
.mission-panel .label { color: var(--gold-hi); }
.mission-panel .big-num { position: absolute; right: -0.05em; bottom: -0.2em; font-family: var(--font-stencil); font-size: clamp(8rem, 18vw, 16rem); line-height: 1; color: rgb(226 180 98 / 0.12); pointer-events: none; }
.mission-panel.enter { animation: panel-in 500ms var(--ease); }
@keyframes panel-in { from { opacity: 0; clip-path: inset(0 0 12% 0); } to { opacity: 1; clip-path: inset(0); } }
@media (max-width: 900px) { .missions { grid-template-columns: 1fr; } .mission-panel { min-height: 0; } }

/* Cities / about teaser */
.cities { position: relative; }
.cities-title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 1rem + 6vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--color-text); }
.cities-title span { display: block; }
.cities-title .arrow { color: var(--color-accent); }

/* Brands marquee */
.brands-row { overflow: hidden; border-block: 1px solid var(--color-border); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands-track { display: flex; width: max-content; animation: tick 55s linear infinite; }
.brands-group { display: flex; gap: var(--space-12); padding-right: var(--space-12); padding-block: var(--space-6); }
.brands-group span { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); color: var(--color-text-muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.02em; }

/* FAQ */
.faq { border-top: 1px solid var(--color-border); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { list-style: none; cursor: pointer; padding-block: var(--space-6); display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); color: var(--color-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--color-border); background:
  linear-gradient(var(--color-accent), var(--color-accent)) center / 12px 1.5px no-repeat,
  linear-gradient(var(--color-accent), var(--color-accent)) center / 1.5px 12px no-repeat; transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-6); max-width: 70ch; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.faq-grid h2 { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid h2 { position: static; } }

/* CTA */
.cta { background: var(--gold); color: var(--navy); overflow: hidden; position: relative; }
.cta .wrap { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); position: relative; z-index: 1; }
.cta .label { color: var(--navy); }
.cta h2 { font-size: clamp(3rem, 1rem + 8vw, 9rem); line-height: 0.88; color: var(--navy); margin-block: var(--space-6); max-width: 12ch; }
.cta p { color: #3a3220; max-width: 48ch; font-size: var(--text-lg); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.cta .btn--ink { background: var(--navy); color: var(--cream); }
.cta .btn--ink:hover { background: var(--navy-2); }
.cta .btn--line { color: var(--navy); }
.cta .btn--line:hover { background: rgb(19 35 63 / 0.08); }
.cta-scope { position: absolute; right: -6vw; top: 50%; width: min(56vw, 640px); aspect-ratio: 1; transform: translateY(-50%); color: var(--navy); opacity: 0.16; pointer-events: none; }
.cta-scope svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--ink-muted); padding-top: var(--space-20); font-size: var(--text-sm); overflow: hidden; }
.site-footer a { text-decoration: none; color: #c9cfdb; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer-grid h2 { font-family: var(--font-mono); font-weight: 400; font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; display: grid; gap: var(--space-2); }
.footer-grid li { max-width: none; }
.footer-grid p { color: var(--ink-muted); max-width: 34ch; }
.footer-mega { font-family: var(--font-stencil); font-size: clamp(4rem, 1rem + 17vw, 20rem); line-height: 0.8; color: var(--navy-2); white-space: nowrap; margin-top: var(--space-16); text-align: center; letter-spacing: 0.01em; user-select: none; }
.footer-mega span { color: rgb(195 148 67 / 0.35); }
.footer-base { padding-block: var(--space-6); border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #7f8aa3; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* PAGE HERO (interior) */
.page-hero { position: relative; background: var(--navy-deep); color: var(--cream); overflow: hidden; padding-top: 76px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 80% 40%, rgb(195 148 67 / 0.14), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--space-10); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 1rem + 5vw, 6rem); text-transform: uppercase; letter-spacing: -0.03em; color: var(--cream); margin-block: var(--space-5) var(--space-6); max-width: 16ch; }
.page-hero .lede { color: #c9cfdb; }
.page-hero .label { color: var(--gold-hi); }
.page-hero .scope { width: min(100%, 420px); }
.page-hero .scope img { inset: 12%; width: 76%; height: 76%; }
.crumbs { font-size: var(--text-xs); color: var(--ink-muted); display: flex; gap: var(--space-2); flex-wrap: wrap; list-style: none; margin-bottom: var(--space-8); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.crumbs li { max-width: none; }
.crumbs a { color: #c9cfdb; text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs li + li::before { content: '/'; margin-right: var(--space-2); opacity: 0.5; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); list-style: none; }
.chips li { max-width: none; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; padding: var(--space-2) var(--space-4); border: 1px solid var(--line-dark); border-radius: var(--radius-full); color: #c9cfdb; }
.chips li b { color: var(--gold-hi); font-weight: 400; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .scope { width: min(70vw, 300px); order: -1; margin: 0; } }

/* Service page */
.svc-layout { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.toc { position: sticky; top: 108px; font-size: var(--text-sm); }
.toc ol { list-style: none; display: grid; gap: var(--space-1); }
.toc li { max-width: none; }
.toc a { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); text-decoration: none; color: var(--color-text-muted); border-radius: var(--radius-sm); }
.toc a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.toc a:hover, .toc a.active { color: var(--color-text); background: var(--color-surface); }
.toc a.active::before { background: var(--color-accent); border-color: var(--color-accent); }
.toc .btn { margin-top: var(--space-6); width: 100%; justify-content: center; }
.svc-body > section { padding-block: var(--space-12); }
.svc-body > section:first-child { padding-top: 0; }
.svc-body h2 { font-size: var(--text-xl); margin-block: var(--space-4) var(--space-8); max-width: 20ch; }
@media (max-width: 1040px) { .svc-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.deliverables { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); counter-reset: d; }
.deliverables li { max-width: none; padding: var(--space-6); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); counter-increment: d; transition: border-color 300ms var(--ease); }
.deliverables li:hover { border-color: var(--color-accent); }
.deliverables li::before { content: counter(d, decimal-leading-zero); font-family: var(--font-stencil); font-size: var(--text-lg); color: var(--color-accent); display: block; margin-bottom: var(--space-3); line-height: 1; }
.deliverables h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); letter-spacing: 0; margin-bottom: var(--space-2); }
.deliverables p { font-size: var(--text-sm); }
@media (max-width: 700px) { .deliverables { grid-template-columns: 1fr; } }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--color-accent) 0 6px, transparent 6px 12px); opacity: 0.6; }
.steps li { max-width: none; position: relative; padding-top: var(--space-16); }
.steps li::before { content: ''; position: absolute; top: 10px; left: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--color-accent); background: var(--color-bg); box-shadow: inset 0 0 0 5px var(--color-bg), inset 0 0 0 12px var(--color-accent); }
.steps b { font-family: var(--font-mono); font-weight: 400; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); display: block; margin-bottom: var(--space-2); }
.steps h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); text-transform: uppercase; }
.steps p { font-size: var(--text-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: var(--space-8); } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.duo article { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); }
.duo article:nth-child(2) { background: var(--gold); color: var(--navy); }
.duo h3 { font-size: var(--text-lg); text-transform: uppercase; margin-block: var(--space-4) var(--space-3); color: inherit; }
.duo p { color: #c9cfdb; font-size: var(--text-base); }
.duo article:nth-child(2) p { color: #3a3220; }
.duo article:nth-child(2) .label { color: var(--navy); }
.duo .label { color: var(--gold-hi); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.proof-list { list-style: none; display: grid; gap: var(--space-3); }
.proof-list li { max-width: none; padding: var(--space-5) var(--space-6) var(--space-5) var(--space-12); position: relative; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); }
.proof-list li::before { content: ''; position: absolute; left: var(--space-5); top: calc(var(--space-5) + 0.35em); width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--color-accent); background: radial-gradient(circle, var(--color-accent) 0 2px, transparent 2.5px); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* Engagements page blocks */
.model { display: grid; grid-template-columns: 6rem 1fr 1fr; gap: var(--space-8); padding-block: var(--space-10); border-top: 1px solid var(--color-border); align-items: start; }
.model .num { font-family: var(--font-stencil); font-size: var(--text-2xl); color: var(--color-accent); line-height: 1; }
.model h2 { font-size: var(--text-xl); margin-block: var(--space-3) var(--space-4); }
.model ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding-top: var(--space-8); }
.model li { max-width: none; font-size: var(--text-sm); padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-text); }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; gap: var(--space-3); } .model ul { padding-top: 0; } }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.sector { padding: var(--space-8); border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); }
.sector:first-child { grid-column: 1 / -1; background: var(--gold); color: var(--navy); border-color: transparent; }
.sector:first-child h3 { color: var(--navy); font-size: var(--text-2xl); }
.sector:first-child p { color: #3a3220; font-size: var(--text-lg); max-width: 60ch; }
.sector:first-child .label { color: var(--navy); }
.sector h3 { text-transform: uppercase; margin-block: var(--space-3); font-size: var(--text-xl); }
@media (max-width: 760px) { .sector-grid { grid-template-columns: 1fr; } }

/* About */
.timeline { list-style: none; }
.timeline li { max-width: none; display: grid; grid-template-columns: 12rem 1fr; gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--color-border); }
.timeline .when { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; color: var(--color-accent); text-transform: uppercase; padding-top: 0.5em; }
.timeline h3 { margin-bottom: var(--space-3); text-transform: uppercase; font-size: var(--text-xl); }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: var(--space-2); } }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.agents article { padding: var(--space-8); border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); }
.agents article:nth-child(2) { background: var(--gold); color: var(--navy); border-color: transparent; }
.agents article:nth-child(2) h3, .agents article:nth-child(2) .label { color: var(--navy); }
.agents article:nth-child(2) p { color: #3a3220; }
.agents h3 { font-size: var(--text-xl); text-transform: uppercase; margin-block: var(--space-4) var(--space-3); }
@media (max-width: 900px) { .agents { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.contact-methods { list-style: none; margin-top: var(--space-8); }
.contact-methods li { max-width: none; padding-block: var(--space-5); border-top: 1px solid var(--color-border); }
.contact-methods span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); display: block; margin-bottom: var(--space-2); }
.contact-methods a { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; text-decoration: none; color: var(--color-text); }
.contact-methods a:hover { color: var(--color-accent); }
form.brief { background: var(--color-surface); border: 1px solid var(--color-border); padding: clamp(var(--space-6), 4vw, var(--space-10)); border-radius: var(--radius-lg); display: grid; gap: var(--space-6); }
.field { display: grid; gap: var(--space-2); }
.field label, fieldset legend { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: var(--space-3) 0; background: transparent; color: var(--color-text);
  border: 0; border-bottom: 1.5px solid var(--color-border); border-radius: 0; font-size: var(--text-lg);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); }
fieldset { border: 0; display: grid; gap: var(--space-3); }
.pick { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text); transition: background var(--transition-interactive), border-color var(--transition-interactive), color var(--transition-interactive); }
.pick label:hover span { border-color: var(--color-accent); }
.pick input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pick input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.form-note { font-size: var(--text-xs); }
.form-status { font-size: var(--text-sm); color: var(--color-accent); min-height: 1.4em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Reveal: opacity and clip only, no layout shift */
.reveal { opacity: 0; clip-path: inset(0 0 8% 0); transition: opacity 900ms var(--ease), clip-path 900ms var(--ease); }
.reveal.in { opacity: 1; clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; clip-path: none; }
  .ticker-track, .brands-track, .scope .ring-spin, .scope .ring-spin-rev, .cta-scope svg { animation: none; }
  .statement .w { opacity: 1; }
}

/* ===== Depth: layered blue gradients ===== */
:root, [data-theme='dark'] {
  --grad-page: linear-gradient(180deg, #0a1426 0%, #0e1f3c 40%, #0b1730 100%);
  --grad-hero:
    radial-gradient(55% 65% at 75% 40%, rgb(60 110 190 / 0.45), transparent 70%),
    radial-gradient(40% 50% at 70% 45%, rgb(195 148 67 / 0.22), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, rgb(30 70 140 / 0.55), transparent 70%),
    linear-gradient(160deg, #081226 0%, #0f2347 45%, #163566 100%);
  --grad-navy:
    radial-gradient(60% 80% at 100% 0%, rgb(56 104 180 / 0.35), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgb(20 50 110 / 0.6), transparent 70%),
    linear-gradient(135deg, #0c1c38 0%, #13305c 55%, #0d2146 100%);
  --grad-card: linear-gradient(160deg, #183a6c 0%, #0f2448 55%, #0b1a35 100%);
  --grad-card-hover: linear-gradient(160deg, #1f4a88 0%, #12305c 55%, #0c1d3c 100%);
}
body { background: var(--grad-page); background-attachment: fixed; }
[data-theme='light'] body { background: linear-gradient(180deg, #f6f1e7, #efe6d6); }
.hero { background: var(--grad-hero); }
.hero::before { background: radial-gradient(circle at 75% 42%, rgb(226 180 98 / 0.18) 0, transparent 28%); }
.page-hero { background: var(--grad-hero); }
.navy, .mission-panel, .duo article:first-child { background: var(--grad-navy); }
.deep, .site-footer { background: linear-gradient(180deg, #0c1a33 0%, #060d1c 100%); }
.section--surface { background: linear-gradient(180deg, rgb(24 54 100 / 0.35), rgb(14 31 60 / 0.15)); }
[data-theme='light'] .section--surface { background: linear-gradient(180deg, #fbf7ef, #f1e8d8); }

/* Cards: glassy blue gradient, inner glow, gold edge light */
.card { background: var(--grad-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 40px -20px rgb(0 0 0 / 0.6); }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 30%, rgb(90 140 220 / 0.25), transparent 70%); opacity: 0.8; transition: opacity 400ms var(--ease); pointer-events: none; }
.card:hover { background: var(--grad-card-hover); }
.card:hover::before { opacity: 1; }
.card-art img { mix-blend-mode: screen; }
.card--feature { background: linear-gradient(150deg, #e9bd6c 0%, #c39443 50%, #a77a30 100%); }
.card--feature::before { background: radial-gradient(60% 60% at 75% 25%, rgb(255 240 210 / 0.35), transparent 70%); }
.card--feature .card-art img { mix-blend-mode: normal; }

/* Gold surfaces get a warm gradient too */
.ticker { background: linear-gradient(90deg, #b8893a, #e2b462 50%, #b8893a); }
.cta { background: linear-gradient(135deg, #e6b968 0%, #c39443 55%, #9f7430 100%); }
.btn--gold { background: linear-gradient(180deg, #e8bc6a, #c39443); box-shadow: 0 8px 24px -10px rgb(226 180 98 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.btn--gold:hover { background: linear-gradient(180deg, #f0c878, #d1a14e); }
.mission-tab[aria-selected='true'] { background: linear-gradient(150deg, #e9bd6c, #c39443); }
.sector:first-child, .agents article:nth-child(2), .duo article:nth-child(2) { background: linear-gradient(150deg, #e9bd6c 0%, #c39443 60%, #a77a30 100%); }

/* Surfaces in dark mode pick up blue depth */
.deliverables li, .sector, .agents article, form.brief, .proof-list li {
  background: linear-gradient(160deg, rgb(30 66 120 / 0.45), rgb(14 31 60 / 0.35));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}
[data-theme='light'] .deliverables li, [data-theme='light'] .sector, [data-theme='light'] .agents article, [data-theme='light'] form.brief, [data-theme='light'] .proof-list li { background: #fbf7ef; box-shadow: none; }

/* Illustration frames: blend flat art into a blue glow */
.art-frame { background: var(--grad-card); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(244 238 226 / 0.08); }
.art-frame img { mix-blend-mode: screen; }
.scope img { box-shadow: 0 0 80px 10px rgb(60 110 190 / 0.35); }
.footer-mega { background: linear-gradient(180deg, #2a5390, #13284c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-mega span { background: linear-gradient(180deg, #e2b462, #8a6224); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header.scrolled { background: linear-gradient(180deg, rgb(10 22 44 / 0.92), rgb(14 32 62 / 0.82)); }
.hero-grid.wrap { width: min(100% - 2 * clamp(var(--space-5), 4vw, var(--space-12)), var(--content)); }
.footer-mega { font-size: clamp(3rem, 12.5vw, 15rem); overflow: hidden; }
.card--feature .card-art { box-shadow: 0 0 0 8px rgb(14 31 60 / 0.9), 0 30px 60px -20px rgb(0 0 0 / 0.5); }
.mission-panel .big-num { color: rgb(226 180 98 / 0.08); }
.mission-panel > *:not(.big-num) { position: relative; z-index: 1; }
.card-art img, .art-frame img { mix-blend-mode: normal; filter: drop-shadow(0 20px 40px rgb(0 0 0 / 0.35)); }
.card--feature .card-art { border-radius: 0; overflow: visible; box-shadow: none; }
.card--feature .card-art img { filter: drop-shadow(0 24px 30px rgb(80 50 10 / 0.35)); }
/* small cards: art sits in its own top-right slot, text below */
.card:not(.card--feature):not(.card--wide) .card-art { position: relative; top: auto; right: auto; width: 112px; align-self: flex-end; margin: calc(var(--space-2) * -1) calc(var(--space-2) * -1) calc(var(--space-6) * -1) 0; }
.card:not(.card--feature):not(.card--wide) .card-body { max-width: none; }
.related .card .card-art { width: 112px; }
@media (max-width: 620px) {
  .card--wide .card-art { width: 40%; top: 18%; transform: none; }
  .card--wide:hover .card-art { transform: scale(1.06); }
  .card--feature .card-art { width: 62%; }
}
.hero .btn--line, .page-hero .btn--line, .navy .btn--line { color: var(--cream); border-color: rgb(244 238 226 / 0.45); }
.hero .btn--line:hover, .page-hero .btn--line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.toc a.btn, .toc a.btn:hover { color: #0e1f3c; padding: var(--space-3) var(--space-5); justify-content: center; }
.card--wide .card-art { top: 56%; }
.card--wide .card-top { position: relative; z-index: 3; }
.toc a.btn::before { display: none; }
.toc a.btn:hover { background: linear-gradient(180deg, #f0c878, #d1a14e); }
/* VOOM spotlight */
.voom { background:
  radial-gradient(45% 70% at 15% 50%, rgb(226 180 98 / 0.22), transparent 70%),
  radial-gradient(60% 80% at 100% 0%, rgb(56 104 180 / 0.35), transparent 65%),
  linear-gradient(135deg, #0c1c38 0%, #13305c 55%, #0d2146 100%); color: var(--cream); border-block: 1px solid rgb(226 180 98 / 0.35); }
.voom-grid { display: grid; grid-template-columns: minmax(180px, 0.6fr) 1.4fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.voom-seal { position: relative; color: var(--gold-hi); max-width: 320px; justify-self: center; width: 100%; }
.voom-seal svg { width: 100%; height: auto; animation: spin 40s linear infinite; filter: drop-shadow(0 0 30px rgb(226 180 98 / 0.35)); }
.voom-seal span { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font-family: var(--font-stencil); font-size: var(--text-lg); letter-spacing: 0.12em; text-transform: uppercase; background: linear-gradient(180deg, #e8bc6a, #c39443); color: #0e1f3c; padding: var(--space-1) var(--space-4); border-radius: var(--radius-sm); }
.voom h2 { font-size: clamp(2rem, 1rem + 3.4vw, 4.2rem); text-transform: uppercase; line-height: 0.95; margin-block: var(--space-4) var(--space-6); color: var(--cream); }
.voom .lede { color: var(--cream); }
.voom p:not(.lede) { color: rgb(244 238 226 / 0.75); margin-top: var(--space-4); max-width: 60ch; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .voom-seal svg { animation: none; } }
@media (max-width: 760px) { .voom-grid { grid-template-columns: 1fr; } .voom-seal { max-width: 180px; } }
.cities-title .arrow { display: inline-block; margin-right: 0.15em; }
/* Press */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.press-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); min-height: 150px; padding: var(--space-6); border-radius: var(--radius-lg); text-decoration: none; color: var(--color-text);
  background: linear-gradient(160deg, rgb(30 66 120 / 0.5), rgb(14 31 60 / 0.35)); border: 1px solid var(--line-dark); transition: border-color 300ms var(--ease), background 300ms var(--ease); }
.press-grid a:hover { border-color: rgb(226 180 98 / 0.7); background: linear-gradient(160deg, rgb(40 84 150 / 0.6), rgb(14 31 60 / 0.4)); }
.press-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.press-note { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi); }
.press-note svg { width: 14px; height: 14px; flex: none; transition: transform 300ms var(--ease); }
.press-grid a:hover .press-note svg { transform: translateX(4px); }
[data-theme='light'] .press-grid a { background: #fbf7ef; border-color: rgb(14 31 60 / 0.12); }
[data-theme='light'] .press-note { color: #8a6224; }
@media (max-width: 900px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .press-grid { grid-template-columns: 1fr; } .press-grid a { min-height: 0; } }
.voom-seal svg { animation: none; }
.seal-spin { transform-origin: 100px 100px; animation: spin 30s linear infinite; }
@media (prefers-reduced-motion: reduce) { .seal-spin { animation: none; } }
.cities-title { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); }
.cities-title > span { white-space: nowrap; }
/* Animated agent */
.hero-grid > div:first-child { position: relative; z-index: 2; }
.hero .scope { z-index: 1; }
.agent-stage { position: absolute; inset: 10%; }
.agent-stage .agent-plate { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.agent-fig { position: absolute; inset: 0; will-change: transform; }
.agent-fig .pose { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: contain; opacity: 0; transition: opacity 260ms ease; }
.agent-fig .pose.on { opacity: 1; }
.agent-fig.running .pose { transition: none; }
.agent-fig.ring .pose.on { animation: ring 0.5s ease-in-out 2; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1.5deg); } 75% { transform: rotate(1.5deg); } }
.agent-fig .pose { transform-origin: 52% 82%; }
.agent-fig .pose { box-shadow: none !important; filter: none; }
.agent-fig.running .pose { opacity: 0; }
.agent-fig.running .pose.on { opacity: 1; }
.agent-stage .agent-plate { box-shadow: 0 0 80px 10px rgb(60 110 190 / 0.35); }

/* ===== Poster cards (cinematic service art) ===== */
.bento { grid-auto-rows: minmax(400px, auto); }
.card { justify-content: flex-end; isolation: isolate; background: #0b1730; }
.card::before { display: none; }
.card-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 900ms var(--ease), filter 600ms var(--ease); filter: saturate(1.05); }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.2) brightness(1.08); }
.card-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(8 18 38 / 0.97) 0%, rgb(8 18 38 / 0.86) 32%, rgb(8 18 38 / 0.25) 62%, rgb(8 18 38 / 0.05) 100%); }
.card-top { position: absolute; top: var(--space-6); left: var(--space-6); right: var(--space-6); }
.card-top span { background: rgb(8 18 38 / 0.6); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); backdrop-filter: blur(6px); }
.card-body, .card:not(.card--feature):not(.card--wide) .card-body { max-width: none; }
.card h3 { text-shadow: 0 2px 20px rgb(0 0 0 / 0.5); }
.card p { color: rgb(244 238 226 / 0.82); }
.card--feature { background: #0b1730; border: 1px solid rgb(226 180 98 / 0.55); }
.card--feature::before { display: none; }
.card--feature .card-top, .card--feature .open { color: var(--gold-hi); }
.card--feature h3 { color: var(--cream); font-size: var(--text-2xl); }
.card--feature p { color: rgb(244 238 226 / 0.85); }
.card--feature .card-media img { object-position: 50% 30%; }
.card--wide .card-media img { object-position: 50% 45%; }
.card--wide .card-media::after { background: linear-gradient(to right, rgb(8 18 38 / 0.96) 0%, rgb(8 18 38 / 0.8) 38%, rgb(8 18 38 / 0.1) 75%), linear-gradient(to top, rgb(8 18 38 / 0.6), transparent 50%); }
.card--wide .card-body { max-width: 52%; }
.card:hover { border-color: rgb(226 180 98 / 0.8); box-shadow: 0 30px 60px -25px rgb(226 180 98 / 0.25); }
[data-theme='light'] .card, [data-theme='light'] .card--feature { background: #0b1730; }
.related .card { min-height: 400px; }
@media (max-width: 620px) {
  .bento { grid-auto-rows: minmax(360px, auto); }
  .card--wide .card-body { max-width: none; }
  .card--wide .card-media::after { background: linear-gradient(to top, rgb(8 18 38 / 0.97) 0%, rgb(8 18 38 / 0.85) 35%, rgb(8 18 38 / 0.1) 70%); }
}
.agent-fig .case-layer { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none !important; object-fit: contain; opacity: 0; transition: opacity 200ms ease; }
.agent-fig .case-layer.on { opacity: 1; }
.card--wide .card-top, .card .card-top { position: absolute; top: var(--space-6); left: var(--space-6); right: var(--space-6); z-index: 3; }
.card:not(.card--wide):not(.card--feature) .card-media::after { background: linear-gradient(to top, rgb(8 18 38 / 0.98) 0%, rgb(8 18 38 / 0.9) 42%, rgb(8 18 38 / 0.35) 70%, rgb(8 18 38 / 0.05) 100%); }
.agent-bob { position: absolute; inset: 0; will-change: transform; transform-origin: 52% 82%; }
.agent-fig .pose { transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1); }
.agent-fig.gait .pose { transition: none; }
.agent-fig .case-layer { transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1); }
.cities-title { white-space: nowrap; font-size: clamp(2.2rem, 1rem + 4.2vw, 5.2rem); }
.cities-title > span { display: inline; }
.cities-title .arrow { margin: 0 0.18em; }
.cities-title { font-size: clamp(2.4rem, 1rem + 4.2vw, 5.2rem); }

/* Hero video agent (green keyed in WebGL) */
.agent-canvas { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.agent-canvas.on { opacity: 1; }
.agent-stage.is-video .agent-fig { opacity: 0; transition: opacity 300ms ease; }
/* Agent seen through the scope: spotlight, then agent, then reticle */
.agent-lens { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 1; pointer-events: none; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.agent-lens .agent-canvas { -webkit-mask-image: none; mask-image: none; max-width: none; }
.agent-stage .agent-plate-overlay { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; z-index: 2; pointer-events: none; box-shadow: none !important; }
.agent-stage .agent-fig { z-index: 1; }
.agent-lens .agent-anim { position: absolute; left: 0; width: 100%; height: auto; top: 20.833%; max-width: none; border-radius: 0; box-shadow: none; background: none; opacity: 0; transition: opacity 200ms ease; }
.agent-lens .agent-anim.on { opacity: 1; }

.voom-seal img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(226 180 98 / 0.25); }
.voom-seal span { z-index: 2; bottom: -4%; }

/* Hero scene: one real video (background, agent and the AGENT KELLY words baked in), played once inline */
.agent-lens .agent-video, .agent-lens .agent-final { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; box-shadow: none; background: none; opacity: 0; transition: opacity 160ms linear; pointer-events: none; }
.agent-lens .agent-video.on, .agent-lens .agent-final.on { opacity: 1; }
.agent-lens .agent-video::-webkit-media-controls, .agent-lens .agent-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.agent-plate-overlay { transition: opacity 900ms ease; }
.agent-stage.words-in .agent-plate-overlay { opacity: 0; }
.scope .agent-stage { z-index: 1; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.post-grid--all { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); text-decoration: none; color: inherit; transition: transform 300ms var(--ease), border-color 300ms var(--ease); }
.post-card:hover { transform: translateY(-4px); border-color: rgb(226 180 98 / 0.6); }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post-body h3 { font-size: var(--text-lg); color: var(--color-text); line-height: 1.15; }
.post-body p { font-size: var(--text-sm); }
.post-body .open { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.post-body .open svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.post-card:hover .open svg { transform: translateX(4px); }
@media (max-width: 1040px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .post-grid, .post-grid--all { grid-template-columns: 1fr; } }

.post-hero { padding-bottom: var(--space-10); }
.post-hero h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); max-width: 22ch; margin-block: var(--space-5) var(--space-6); text-transform: none; line-height: 1.02; }
.post-meta { font-size: var(--text-sm); color: var(--color-text-muted); }
.post-meta a { color: var(--color-accent); }
.post-figure { margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.post-body-wrap { padding-bottom: clamp(var(--space-16), 8vw, var(--space-24)); }
.answer { padding: var(--space-8); border-radius: var(--radius-lg); background: linear-gradient(150deg, #e9bd6c 0%, #c39443 60%, #a77a30 100%); color: var(--navy); }
.answer .label { color: var(--navy); }
.answer p { color: var(--navy); font-size: var(--text-lg); line-height: 1.5; margin-top: var(--space-4); max-width: none; }
.takeaways { margin-top: var(--space-8); padding: var(--space-8); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.takeaways h2, .post-prose h2, .post-faq h2, .post-sources h2 { font-size: var(--text-xl); text-transform: none; line-height: 1.1; }
.takeaways ul { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.takeaways li { position: relative; padding-left: var(--space-8); color: var(--color-text); max-width: none; }
.takeaways li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--color-accent); background: radial-gradient(circle, var(--color-accent) 0 2px, transparent 3px); }
.post-prose h2 { margin-block: var(--space-12) var(--space-5); max-width: none; }
.takeaways h2, .post-faq h2, .post-sources h2 { max-width: none; }
.post-prose p, .post-prose li { font-size: var(--text-base); line-height: 1.7; color: var(--color-text-muted); max-width: 68ch; }
.post-prose p + p { margin-top: var(--space-4); }
.post-prose ul { margin-top: var(--space-4); padding-left: var(--space-6); display: grid; gap: var(--space-3); }
.post-prose ul + p { margin-top: var(--space-5); }
.post-prose strong { color: var(--color-text); }
.post-prose a, .read-more a, .post-sources a, .source-list a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.post-prose a:hover, .source-list a:hover { text-decoration-thickness: 2px; }
.small-print { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-8); }
.post-faq, .post-sources { margin-top: var(--space-16); }
.post-faq .faq { margin-top: var(--space-6); }
.source-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); counter-reset: src; }
.source-list li { max-width: none; display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-4) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.source-list li span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.read-more-title { margin-top: var(--space-10); font-size: var(--text-lg); }
.read-more { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.read-more li { max-width: none; }
.author-box { margin-top: var(--space-16); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); }
.author-box h2 { font-size: var(--text-xl); text-transform: none; margin-block: var(--space-4) var(--space-3); color: var(--cream); }
.author-box h2 a { color: inherit; text-decoration: none; }
.author-box p { color: #c9cfdb; }
.author-box p + p { margin-top: var(--space-4); }
.author-box .label, .author-box .text-link { color: var(--gold-hi); }
[data-theme='light'] .post-card { background: #fbf7ef; }

/* Wordmark logo: matches the footer AGENT KELLY lockup */
.brand-mega { font-family: var(--font-stencil); font-size: 1.85rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; background: linear-gradient(180deg, #4b7cc6, #24497f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mega span { background: linear-gradient(180deg, #ecc274, #a3752c); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 480px) { .brand-mega { font-size: 1.6rem; } }

.mission-tag { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.14em; color: var(--gold-hi); margin-right: 0.35em; }
[data-theme="light"] .mission-tag { color: var(--gold-hi); }

/* Blog hero scene: video over the poster, inside the scope circle */
.scope .scene-media { position: absolute; inset: 12%; width: 76%; height: 76%; border-radius: 50%; object-fit: cover; max-width: none; opacity: 0; transition: opacity 200ms linear; pointer-events: none; box-shadow: none; }
.scope .scene-media.on { opacity: 1; }
.scope .scene-media::-webkit-media-controls, .scope .scene-media::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
@media (max-width: 900px) { .page-hero .scope .scene-media { inset: 12%; width: 76%; height: 76%; } }

/* In-article call to action */
.post-cta { margin-block: var(--space-12); padding: clamp(var(--space-6), 4vw, var(--space-10)); border: 1px solid var(--gold); border-radius: var(--radius-lg, 16px); background: linear-gradient(135deg, rgb(201 154 74 / 0.14), rgb(201 154 74 / 0.03)); }
.post-cta h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); line-height: 1.05; margin-block: var(--space-3) var(--space-4); max-width: 22ch; }
.post-cta p { color: var(--ink-muted); max-width: 56ch; }
.post-cta .cta-actions { margin-top: var(--space-6); }
/* Footer cross-sell */
.footer-xsell { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-10); padding-bottom: var(--space-12); margin-bottom: var(--space-12); border-bottom: 1px solid rgb(236 194 116 / 0.22); }
.footer-xsell h2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); line-height: 1.02; margin-top: var(--space-3); max-width: 14ch; color: var(--cream); }
.footer-xsell p { color: var(--ink-muted); max-width: 64ch; font-size: var(--text-base); }
.footer-xsell p a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgb(236 194 116 / 0.4); text-underline-offset: 3px; }
.footer-xsell p a:hover { text-decoration-color: currentColor; }
.footer-xsell .cta-actions { margin-top: var(--space-6); }
@media (max-width: 900px) { .footer-xsell { grid-template-columns: 1fr; gap: var(--space-4); } }
.footer-xsell .btn--gold, .post-cta .btn--gold { color: var(--navy); }
.footer-xsell .btn--gold:hover, .post-cta .btn--gold:hover { color: var(--navy); }
.footer-xsell .btn--line { color: var(--cream); }

.lede-sm { max-width: 64ch; margin-bottom: var(--space-6); }
.channel-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.channel-grid li { max-width: none; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); }
.channel-grid h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); letter-spacing: 0; text-transform: none; margin-bottom: var(--space-1); }
.channel-grid p { font-size: var(--text-sm); }
@media (max-width: 900px) { .channel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .channel-grid { grid-template-columns: 1fr; } }
/* Mixed-case display headings: open up word gaps so the tight display font reads clearly */
.post-hero h1, .takeaways h2, .post-prose h2, .post-prose h3, .post-faq h2, .post-sources h2, .author-box h2, .post-card h3, .faq summary { letter-spacing: -0.005em; word-spacing: 0.12em; }
