/* ==========================================================================
   LEAP Advertising Inc. — Design system v2
   Dark-first editorial system. Fraunces for manifesto-scale statements,
   Space Grotesk for everything else (nav, body, data, UI).
   ========================================================================== */

:root {
  /* Brand palette (fixed by brand guidelines) */
  --primary: #0B5FFF;
  --primary-bright: #3D82FF;
  --secondary: #111827;
  --accent: #00C2FF;

  /* Canvas */
  --void: #08090D;
  --ink: #111827;
  --ink-raised: #161C29;
  --paper: #FFFFFF;
  --paper-tint: #F4F5F7;

  /* Text on each canvas */
  --text-on-void: #EDEFF4;
  --text-on-void-dim: #8B93A7;
  --text-on-paper: #1F2937;
  --text-on-paper-dim: #667085;

  --line-on-void: rgba(237,239,244,0.12);
  --line-on-paper: #E4E7EC;

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;

  --step-1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step0: clamp(1rem, 0.96rem + 0.15vw, 1.1rem);
  --step1: clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem);
  --step2: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem);
  --step3: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  --step4: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  --step5: clamp(3.2rem, 2.1rem + 4.5vw, 6rem);
  --step6: clamp(4.4rem, 2.6rem + 7vw, 8.5rem);

  --container-max: 1280px;
  --gutter: clamp(1.25rem, 1rem + 1.2vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step0);
  line-height: 1.6;
  color: var(--text-on-paper);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--primary); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: 300; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: var(--step5); }
h2 { font-size: var(--step4); }
h3 { font-size: var(--step2); }
h4 { font-size: var(--step1); font-family: var(--font-body); font-weight: 600; }

p { max-width: 62ch; }
p.lead { font-size: var(--step1); max-width: 52ch; }

/* ---- Canvas modes ---- */
.on-void { background: var(--void); color: var(--text-on-void); }
.on-void h1, .on-void h2, .on-void h3 { color: var(--text-on-void); }
.on-void p { color: var(--text-on-void-dim); }
.on-ink { background: linear-gradient(180deg, var(--ink) 0%, #0D1420 100%); color: var(--text-on-void); }
.on-ink p { color: var(--text-on-void-dim); }
.on-paper { background: var(--paper); color: var(--text-on-paper); }
.on-tint { background: var(--paper-tint); color: var(--text-on-paper); }
.on-paper p, .on-tint p { color: var(--text-on-paper-dim); }

.section { padding-block: clamp(4rem, 3rem + 4vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step-1); font-weight: 500; letter-spacing: 0.01em;
  color: var(--accent); margin-bottom: 1.1rem;
}
.on-paper .eyebrow, .on-tint .eyebrow { color: var(--primary); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 1.9rem + 2.5vw, 4.5rem); }
.section-head--wide { max-width: 60rem; }
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: 0.96rem;
  border: 1px solid transparent; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-bright); }
.btn-line { border-color: var(--line-on-paper); color: var(--text-on-paper); }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.on-void .btn-line, .on-ink .btn-line { border-color: rgba(237,239,244,0.25); color: var(--text-on-void); }
.on-void .btn-line:hover, .on-ink .btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--primary); font-weight: 500; gap: 0.4rem; padding: 0; border-radius: 0; }
.on-void .btn-ghost, .on-ink .btn-ghost { color: var(--accent); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header + mega menu
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,9,13,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  color: var(--text-on-void);
}
.site-header.is-scrolled { border-bottom-color: var(--line-on-void); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; padding-block: 1.05rem; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; font-size: 1.15rem; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); position: relative; flex-shrink: 0; }
.brand__mark::after { content: ''; position: absolute; inset: 7px 7px 7px 9px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; clip-path: polygon(0 100%, 0 55%, 45% 100%); }
.brand small { display: block; font-weight: 400; font-size: 0.66rem; color: var(--text-on-void-dim); }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1rem, 0.5rem + 1.4vw, 1.8rem); }
.primary-nav > ul > li { position: relative; }
.primary-nav a, .nav-trigger { font-size: 0.92rem; position: relative; padding-block: 0.3rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--accent); transition: right 0.3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav a[aria-current="page"] { color: var(--accent); }
.nav-trigger svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega-panel {
  position: absolute; top: calc(100% + 1.1rem); left: 50%; transform: translate(-50%, 8px);
  width: min(520px, 80vw);
  background: var(--ink-raised); border: 1px solid var(--line-on-void); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem;
}
.mega-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-panel a { display: block; padding: 0.85rem 1rem; border-radius: var(--radius-sm); }
.mega-panel a:hover { background: rgba(255,255,255,0.05); }
.mega-panel a strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.mega-panel a span { display: block; font-size: 0.82rem; color: var(--text-on-void-dim); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line-on-void); border-radius: var(--radius-sm);
}
.menu-toggle span { display: block; height: 1.5px; width: 18px; margin-inline: auto; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; top: 70px; background: var(--void); z-index: 190;
  padding: 1.25rem var(--gutter) 2.5rem; transform: translateY(-8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.5rem; border-bottom: 1px solid var(--line-on-void); }
.mobile-nav .mobile-sub { padding-left: 1rem; }
.mobile-nav .mobile-sub a { font-family: var(--font-body); font-size: 1rem; padding: 0.7rem 0; }
.mobile-nav .btn-group { margin-top: 1.75rem; }

@media (min-width: 960px) { .primary-nav { display: block; } .menu-toggle { display: none; } .mobile-nav { display: none; } }

/* ==========================================================================
   Hero / Manifesto (Section 1)
   ========================================================================== */
.manifesto {
  min-height: 92vh; display: flex; align-items: center;
  padding-block: clamp(5rem, 4rem + 4vw, 8rem);
  position: relative; overflow: hidden;
}
.manifesto__spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 30%), rgba(0,194,255,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.manifesto.has-pointer .manifesto__spotlight { opacity: 1; }
.manifesto__grain {
  position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.manifesto__content { position: relative; max-width: 62rem; }
.manifesto__statement {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: var(--step6); line-height: 1.03; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(0.3em);
}
.manifesto__statement.is-in { animation: fade-rise 1.1s var(--ease) forwards; }
.manifesto__statement em { font-style: italic; color: var(--primary-bright); }
@keyframes fade-rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .manifesto__statement { opacity: 1; transform: none; } }
.manifesto__support { margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); font-size: var(--step1); max-width: 42rem; }
.manifesto__foot { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.manifesto__scroll-cue {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--text-on-void-dim);
}
.manifesto__scroll-cue .line { width: 34px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.manifesto__scroll-cue .line::after {
  content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%);
  animation: cue-sweep 2.4s var(--ease) infinite;
}
@keyframes cue-sweep { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .manifesto__scroll-cue .line::after { animation: none; } }

/* ==========================================================================
   Growth Framework (Section 2) — tabbed interactive
   ========================================================================== */
.framework { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 960px) { .framework { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.framework-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-on-void); }
.framework-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0.25rem; border-bottom: 1px solid var(--line-on-void); text-align: left; width: 100%;
  color: var(--text-on-void-dim); transition: color 0.25s var(--ease);
}
.framework-tab:hover { color: var(--text-on-void); }
.framework-tab[aria-selected="true"] { color: var(--text-on-void); }
.framework-tab__label { display: flex; align-items: baseline; gap: 0.9rem; font-family: var(--font-body); font-size: var(--step1); font-weight: 600; }
.framework-tab__num { font-size: 0.85rem; font-weight: 500; color: var(--accent); }
.framework-tab__short { display: none; font-size: 0.88rem; color: var(--text-on-void-dim); margin-top: 0.3rem; max-width: 30ch; }
@media (min-width: 640px) { .framework-tab__short { display: block; } }
.framework-tab__arrow { width: 18px; height: 18px; flex-shrink: 0; opacity: 0; transform: translateX(-4px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.framework-tab[aria-selected="true"] .framework-tab__arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

.framework-panels { position: relative; min-height: 320px; }
.framework-panel {
  display: none; background: var(--ink-raised); border: 1px solid var(--line-on-void); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
}
.framework-panel.is-active { display: block; animation: panel-fade 0.45s var(--ease); }
@keyframes panel-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.framework-panel__eyebrow { font-size: 0.85rem; color: var(--accent); margin-bottom: 0.6rem; }
.framework-panel h3 { font-family: var(--font-body); }
.framework-panel p { margin-top: 1rem; }
.framework-outputs { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.framework-outputs li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-on-void-dim); }
.framework-outputs li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Capability Matrix — bento of <details> cells
   ========================================================================== */
.matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-paper); border: 1px solid var(--line-on-paper); border-radius: var(--radius-lg); overflow: hidden; }
.on-void .matrix, .on-ink .matrix { background: var(--line-on-void); border-color: var(--line-on-void); }
@media (max-width: 780px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
.matrix-cell { background: var(--paper); grid-column: span 2; }
.on-void .matrix-cell, .on-ink .matrix-cell { background: var(--ink-raised); }
.matrix-cell[data-size="sm"] { grid-column: span 1; }
.matrix-cell[data-size="lg"] { grid-column: span 2; }
@media (max-width: 780px) { .matrix-cell, .matrix-cell[data-size="sm"], .matrix-cell[data-size="lg"] { grid-column: span 1; } }
.matrix-cell > summary {
  list-style: none; cursor: pointer; padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  display: flex; flex-direction: column; gap: 0.75rem; min-height: 200px;
}
.matrix-cell > summary::-webkit-details-marker { display: none; }
.matrix-cell__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.matrix-cell__plus {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-on-paper); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.on-void .matrix-cell__plus, .on-ink .matrix-cell__plus { border-color: var(--line-on-void); }
.matrix-cell__plus::before, .matrix-cell__plus::after { content: ''; position: absolute; background: currentColor; transition: transform 0.3s var(--ease); }
.matrix-cell__plus::before { width: 10px; height: 1px; }
.matrix-cell__plus::after { width: 1px; height: 10px; }
.matrix-cell[open] .matrix-cell__plus { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.matrix-cell h4 { font-size: var(--step1); }
.matrix-cell__summary-text { flex-grow: 1; font-size: 0.94rem; color: var(--text-on-paper-dim); }
.on-void .matrix-cell__summary-text, .on-ink .matrix-cell__summary-text { color: var(--text-on-void-dim); }
.matrix-cell__body { padding: 0 clamp(1.5rem, 1.2rem + 1vw, 2.1rem) clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.matrix-cell__body ul { display: grid; gap: 0.6rem; border-top: 1px solid var(--line-on-paper); padding-top: 1.1rem; }
.on-void .matrix-cell__body ul, .on-ink .matrix-cell__body ul { border-color: var(--line-on-void); }
.matrix-cell__body li { font-size: 0.9rem; display: flex; gap: 0.6rem; }
.matrix-cell__body li::before { content: '—'; color: var(--accent); flex-shrink: 0; }
.matrix-cell__link { display: inline-flex; margin-top: 1.1rem; font-size: 0.88rem; color: var(--primary); font-weight: 500; }
.on-void .matrix-cell__link, .on-ink .matrix-cell__link { color: var(--accent); }

/* ==========================================================================
   Selected Engagements — case-study-first
   ========================================================================== */
.engagement {
  display: grid; gap: 0; border-top: 1px solid var(--line-on-paper);
  padding-block: clamp(2rem, 1.6rem + 2vw, 3.5rem);
}
.on-void .engagement, .on-ink .engagement { border-color: var(--line-on-void); }
.engagement:last-child { border-bottom: 1px solid var(--line-on-paper); }
.on-void .engagement:last-child, .on-ink .engagement:last-child { border-color: var(--line-on-void); }
@media (min-width: 900px) { .engagement { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.5rem + 2vw, 4rem); align-items: center; } }
.engagement:nth-child(even) .engagement__media { order: 2; }
.engagement__media {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--ink);
}
.engagement__media .field-lines { position: absolute; inset: 0; opacity: 0.5; }
.engagement__media .tag { position: absolute; top: 1.25rem; left: 1.25rem; background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); color: #fff; font-size: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 999px; }
.engagement__body { padding-block: clamp(1.5rem, 1.2rem + 1vw, 0); }
.engagement__body h3 { margin-top: 0.9rem; }
.engagement-meta { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 560px) { .engagement-meta { grid-template-columns: repeat(2, 1fr); } }
.engagement-meta dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); font-weight: 600; margin-bottom: 0.3rem; }
.on-void .engagement-meta dt, .on-ink .engagement-meta dt { color: var(--accent); }
.engagement-meta dd { margin: 0; font-size: 0.94rem; }
.engagement-caps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.engagement-caps li { font-size: 0.8rem; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-on-paper); }
.on-void .engagement-caps li, .on-ink .engagement-caps li { border-color: var(--line-on-void); color: var(--text-on-void-dim); }

/* ==========================================================================
   Strategic Process — vertical timeline with scroll progress
   ========================================================================== */
.timeline { position: relative; padding-left: clamp(2rem, 1.5rem + 1.5vw, 3.5rem); }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--line-on-void);
}
.timeline__progress {
  position: absolute; left: 5px; top: 0.5rem; width: 1px; background: linear-gradient(180deg, var(--accent), var(--primary-bright));
  height: 0%; transition: height 0.1s linear;
}
.timeline-item { position: relative; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__dot {
  position: absolute; left: calc(-1 * clamp(2rem, 1.5rem + 1.5vw, 3.5rem)); top: 0.35rem;
  width: 11px; height: 11px; border-radius: 50%; background: var(--void); border: 1px solid var(--line-on-void);
  transform: translateX(1px);
}
.timeline-item.is-visible .timeline-item__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,194,255,0.15); }
.timeline-item__label { font-size: 0.82rem; color: var(--accent); margin-bottom: 0.5rem; }
.timeline-item h3 { font-family: var(--font-body); font-size: var(--step2); }
.timeline-item p { margin-top: 0.85rem; }

/* ==========================================================================
   Culture band
   ========================================================================== */
.culture-grid { display: grid; gap: 1px; background: var(--line-on-void); border: 1px solid var(--line-on-void); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 780px) { .culture-grid { grid-template-columns: repeat(3, 1fr); } }
.culture-cell { background: var(--ink-raised); padding: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.culture-cell h4 { font-size: var(--step1); }
.culture-cell p { margin-top: 0.75rem; font-size: 0.94rem; }

/* ==========================================================================
   Generic cards / grids (industries, insights, resources, etc.)
   ========================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 780px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line-on-paper); border-radius: var(--radius-md);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--primary); transform: translateY(-3px); }
.on-void .card, .on-ink .card { background: var(--ink-raised); border-color: var(--line-on-void); }
.on-void .card:hover, .on-ink .card:hover { border-color: var(--accent); }
.card h3, .card h4 { margin-bottom: 0.6rem; }
.card p { margin: 0; }
.card__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--text-on-paper-dim); margin-bottom: 0.9rem; }
.card__meta .tag { color: var(--primary); font-weight: 500; }
.on-void .card__meta .tag, .on-ink .card__meta .tag { color: var(--accent); }
.card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; color: var(--primary); font-weight: 500; font-size: 0.9rem; }
.on-void .card__link, .on-ink .card__link { color: var(--accent); }

.industry-row { display: grid; gap: 1.5rem; padding-block: 2.25rem; border-bottom: 1px solid var(--line-on-paper); }
.industry-row:first-child { border-top: 1px solid var(--line-on-paper); }
@media (min-width: 820px) { .industry-row { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); align-items: start; gap: 3rem; } }
.industry-row h3 { font-family: var(--font-body); margin-bottom: 0.6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.chip-row li { font-size: 0.85rem; background: var(--paper-tint); border-radius: 999px; padding: 0.4rem 0.9rem; }

.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-chip { border: 1px solid var(--line-on-paper); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.88rem; background: var(--paper); }
.filter-chip[aria-current="true"] { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.job-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-on-paper); }
.job-item:first-child { border-top: 1px solid var(--line-on-paper); }
.job-item__meta { font-size: 0.85rem; color: var(--text-on-paper-dim); max-width: none; }

.list-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line-on-paper); }
.list-row:first-child { border-top: 1px solid var(--line-on-paper); }
.list-row__meta { font-size: 0.82rem; color: var(--text-on-paper-dim); margin-bottom: 0.4rem; }
.list-row__title { font-size: var(--step1); font-weight: 600; }
.list-row__desc { margin-top: 0.5rem; max-width: 52ch; }

/* ==========================================================================
   Split-screen sections (about / leadership / culture intros)
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 1.6rem + 2vw, 4rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 5/4; border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--ink); }

/* Abstract compositional panels used in place of photography */
.art-panel { position: absolute; inset: 0; }
.art-panel::before, .art-panel::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px);
}
.art-panel::before { width: 60%; height: 60%; top: -10%; right: -10%; background: radial-gradient(circle, rgba(0,194,255,0.4), transparent 70%); }
.art-panel::after { width: 55%; height: 55%; bottom: -15%; left: -10%; background: radial-gradient(circle, rgba(11,95,255,0.5), transparent 70%); }
.art-panel .art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 28px 28px; }
.art-panel .art-lines { position: absolute; inset: 0; }

/* ==========================================================================
   Contact experience
   ========================================================================== */
.contact-shell { display: grid; gap: clamp(2.5rem, 1.8rem + 3vw, 5rem); }
@media (min-width: 980px) { .contact-shell { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.contact-steps { display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact-step { display: flex; gap: 1.1rem; }
.contact-step__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); flex-shrink: 0; width: 2.2rem; }
.contact-step h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.contact-step p { font-size: 0.92rem; }
.contact-direct { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-on-void); }
.contact-direct dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 0.3rem; font-weight: 500; }
.contact-direct dd { margin: 0 0 1.25rem; }
.contact-direct a { color: var(--text-on-void); border-bottom: 1px solid var(--line-on-void); }

.form-panel { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); color: var(--text-on-paper); }
.form-grid { display: grid; gap: 1.25rem; }
.form-row-2 { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.86rem; font-weight: 500; }
.field select, .field input, .field textarea {
  border: 1px solid var(--line-on-paper); border-radius: var(--radius-sm); padding: 0.85rem 1rem; font: inherit;
  color: var(--text-on-paper); background: #fff; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,255,0.14); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { font-size: 0.8rem; color: #C0362C; min-height: 1.1em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C0362C; }
.form-note { font-size: 0.84rem; color: var(--text-on-paper-dim); margin-top: 0.5rem; }
.form-success { display: none; border: 1px solid #1c8a4d; background: #EAF7EF; color: #16653B; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-top: 1.25rem; font-size: 0.92rem; }
.form-success.is-visible { display: block; }

.map-embed { margin-top: 1.5rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-on-void); aspect-ratio: 16/9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.92) contrast(0.9); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 1.8rem + 2vw, 3.75rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(135deg, var(--ink), #0A0E19); position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,194,255,0.22), transparent 70%); right: -140px; top: -160px; }
.cta-band__text { position: relative; max-width: 34rem; }
.cta-band .btn-group { position: relative; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--void); color: var(--text-on-void-dim); padding-block: clamp(3rem, 2.5rem + 2vw, 5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-col h4 { color: var(--text-on-void); font-size: 0.88rem; font-family: var(--font-body); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line-on-void); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-content { max-width: 72ch; }
.legal-content h2 { font-size: var(--step2); font-family: var(--font-body); margin-top: 2.5rem; margin-bottom: 0.9rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-on-paper-dim); max-width: none; margin-bottom: 0.9rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; }
.legal-updated { color: var(--primary); font-size: 0.9rem; margin-bottom: 2.5rem; display: inline-block; }
.divider { height: 1px; background: var(--line-on-paper); border: 0; margin-block: 2.5rem; }

/* ---- Page hero (inner pages, on dark) ---- */
.page-hero { padding-block: clamp(3.5rem, 2.8rem + 3vw, 6.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-hero h1 { font-family: var(--font-display); font-size: var(--step5); max-width: 20ch; font-weight: 400; }
.page-hero p.lead { margin-top: 1.5rem; }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Utilities ---- */
.text-dim { color: var(--text-on-paper-dim); }
.on-void .text-dim, .on-ink .text-dim { color: var(--text-on-void-dim); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
