/* ==========================================================================
   BRAVE — studiobrave.ai

   This is a 1:1 structural port of the live ywistanbul.com build. Tokens,
   geometry and class names were read directly off the running site with the
   browser, not guessed:

     .wrap is FULL-BLEED — no max-width, gutters only. This is the single
     biggest thing that separates a real editorial site from a landing page,
     and the reason an earlier centred 1360px version felt wrong.

     surface   #101820 / #161F29
     text      #F4F1EC / #B3AEA4 / #A4A5A5
     rules     rgba(244,241,236,.12) and .28
     display   Instrument Serif, clamp(56px,11vw,184px), lh .92, ls -.02em
     body      Geist 15.5px
     eyebrow   JetBrains Mono 11px uppercase, ls .08em
     CTAs      pill, radius 99px, mono 12px 600 uppercase
     grids     hairline-divided, border-right + border-bottom per cell
     wrap pad  calc(section-py / 2) gutter section-py

   One substitution: the accent is BRAVE coral #EC645E, not YW #FE7474.
   Coral runs hard — pill CTAs, every italic serif emphasis, eyebrow numerals,
   one accent cell per grid, and a full coral manifesto section.

   Contrast against #101820: cream 15.88:1 · dim 8.10:1 · coral 5.58:1.
   Dark on coral fill 5.58:1. All pass WCAG AA for body text.
   ========================================================================== */

:root {
  --bg: #101820;
  --bg-2: #161F29;
  --bg-3: #1C2733;

  --fg: #F4F1EC;
  --fg-dim: #B3AEA4;
  --fg-mute: #A4A5A5;
  --fg-faint: #6B6F72;

  --line: rgba(244, 241, 236, .12);
  --line-strong: rgba(244, 241, 236, .28);
  --hover: rgba(244, 241, 236, .06);

  --accent: #EC645E;
  --accent-lift: #F1746E;
  --accent-dim: rgba(236, 100, 94, .16);
  --on-accent: #101820;

  /* live signal — green reads as "running and healthy", which is what an
     agent mid-work should feel like. Coral stays the brand accent. */
  --live: #52C77F;
  --live-dim: rgba(82, 199, 127, .22);

  --t-serif: "Instrument Serif", "Times New Roman", serif;
  --t-sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --t-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --display: clamp(56px, 11vw, 184px);
  --h1: clamp(34px, 4.6vw, 72px);
  --h2: clamp(26px, 2.6vw, 40px);
  --h3: clamp(18px, 1.5vw, 22px);
  --num: clamp(64px, 7.5vw, 140px);
  --body: 15.5px;
  --lead: clamp(17px, 1.5vw, 22px);
  --eyebrow: 11px;

  --gutter: clamp(20px, 4vw, 64px);
  --section-py: clamp(80px, 12vh, 160px);
  --stack-md: 28px;
  --stack-lg: 56px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: .32s;
  --prose: 74ch;
}

@media (max-width: 720px) {
  :root { --gutter: clamp(14px, 2.4vw, 32px); --section-py: clamp(48px, 7vh, 96px); --stack-md: 18px; --stack-lg: 36px; }
}
@media (min-width: 1600px) {
  :root { --gutter: clamp(28px, 6vw, 96px); --section-py: clamp(120px, 18vh, 240px); --stack-md: 40px; --stack-lg: 88px; }
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ol, ul { list-style: none; padding: 0; }

body {
  background: var(--bg); color: var(--fg);
  font-family: var(--t-sans); font-size: var(--body); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.is-coral :focus-visible { outline-color: var(--on-accent); }

.sr-skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 18px; border-radius: 99px; z-index: 300; }
.sr-skip:focus { left: 16px; }

/* ── SHARED TYPE ROLES ──────────────────────────────────────────────────── */
.mono {
  font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.5; color: var(--fg-mute);
}
.eyebrow {
  font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--fg-mute);
}
.serif   { font-family: var(--t-serif); font-style: italic; color: var(--accent); }
.serif-r { font-family: var(--t-serif); font-style: normal; font-weight: 400; }

.display {
  font-family: var(--t-serif); font-size: var(--display); font-weight: 400;
  line-height: .92; letter-spacing: -.02em;
}
.h1 { font-family: var(--t-serif); font-size: var(--h1); font-weight: 400; line-height: 1; letter-spacing: -.015em; }
.h2 { font-family: var(--t-sans); font-size: var(--h2); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.h3 { font-family: var(--t-sans); font-size: var(--h3); font-weight: 500; }
.lead { font-size: var(--lead); line-height: 1.45; color: var(--fg); }
.link-accent { color: var(--accent); }
.link-accent:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── WRAP — full bleed, gutters only. No max-width. ─────────────────────── */
.wrap { padding: calc(var(--section-py) / 2) var(--gutter) var(--section-py); }

/* Structural containers. Declared explicitly so nothing is styled by accident. */
.page-fade {
  display: block;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.page-fade.is-ready { opacity: 1; transform: none; }
/* No JS? Never leave the page blank. */
@media (scripting: none) { .page-fade { opacity: 1; transform: none; } }
.section { display: block; }
.hero, .hero-editorial { display: block; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: var(--stack-md);
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; }
/* The mark is the full BRAVE NEW WORLD lockup from the deck cover — a coral
   square, not a round badge. It already carries the name and the descriptor,
   so the word beside it is a greeting, nothing more. */
.logo-badge { width: 64px; height: 64px; flex: none; }
.nav-welcome { color: var(--fg); letter-spacing: .12em; }

.nav-links { display: flex; gap: var(--stack-md); margin-inline: auto; }
.nav-link {
  background: none; border: 0; cursor: pointer;
  font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--fg-mute);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--fg); border-bottom-color: var(--accent); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 99px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--t-mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--accent-lift); transform: translateY(-1px); }
.nav-cta-arrow { transition: transform var(--dur) var(--ease); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

.nav-menu-btn {
  display: none; background: none; border: 1px solid var(--line-strong); cursor: pointer;
  padding: 8px 14px; border-radius: 99px;
  font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--fg);
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid transparent; border-radius: 99px;
  font-family: var(--t-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-lift); border-color: var(--accent-lift); transform: translateY(-1px); }
.btn-secondary { border-color: var(--line-strong); color: var(--fg); }
.btn-secondary:hover { border-color: var(--fg); background: var(--hover); }
.is-coral .btn-primary { background: var(--bg); border-color: var(--bg); color: var(--fg); }
.is-coral .btn-primary:hover { background: var(--bg-2); border-color: var(--bg-2); }

/* ── PAGE HEAD (inner pages) ────────────────────────────────────────────── */
.page-head-top { display: flex; align-items: center; justify-content: space-between; gap: var(--stack-md); flex-wrap: wrap; }
.pipeline-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-dim); }


.page-head { display: grid; gap: var(--stack-md); border-bottom: 1px solid var(--line); }
.display-2 {
  font-family: var(--t-serif); font-size: clamp(40px, 7vw, 120px); font-weight: 400;
  line-height: .95; letter-spacing: -.02em; max-width: 16ch;
}
.display-2 em { font-style: italic; color: var(--accent); }
.page-head .lead { max-width: var(--prose); color: var(--fg-dim); }

/* ── CLOSING CTA BAND ───────────────────────────────────────────────────── */
.cta-band { border-top: 1px solid var(--line); }
.cta-inner {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--stack-md); flex-wrap: wrap;
}
.cta-inner .h1 { max-width: 16ch; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: var(--stack-md); flex-wrap: wrap; }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--fg-dim);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 99px; background: var(--live);
  box-shadow: 0 0 0 0 var(--live-dim); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-meta b { font-weight: 500; color: var(--fg-dim); font-variant-numeric: tabular-nums; }

.hero-display { margin: var(--stack-lg) 0 0; }

.hero-bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--stack-lg);
  align-items: end; padding-top: var(--stack-lg); margin-top: var(--stack-lg);
  border-top: 1px solid var(--line);
}
.hero-bottom .lead { max-width: var(--prose); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-strip {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: calc(var(--section-py) / 2); padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-clients { display: flex; align-items: baseline; gap: 12px 44px; flex-wrap: wrap; }
.hero-client { font-family: var(--t-serif); font-size: clamp(18px, 1.7vw, 26px); color: var(--fg-dim); white-space: nowrap; }

/* ── FULL-BLEED IMAGE BAND ──────────────────────────────────────────────── */
.band { padding-block: 0 var(--section-py); }
.band-media { margin: 0; }
.band-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.band-media figcaption { margin-top: 14px; }
/* The Television Centre shot is near-square; give it more height than the
   16:9 default and keep the building (not the sky) in frame. */
.band-media img[src="assets/studio.jpg"] { aspect-ratio: 16 / 10; object-position: center 65%; }

/* ── SECTION HEAD ───────────────────────────────────────────────────────── */
.section-head { display: grid; gap: 18px; align-items: end; margin-bottom: var(--stack-lg); }
.section-head .h1 { max-width: 22ch; }
.section-head--sub { margin-top: var(--section-py); }

/* ── HAIRLINE GRIDS (services, engines, process) ────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.services-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.service:hover { background: var(--hover); }
.service-n { color: var(--accent); }
.service-k { max-width: 18ch; }
.service-b { color: var(--fg-mute); line-height: 1.6; }
.service-link { color: var(--accent); margin-top: auto; }
.service-note { font-family: var(--t-serif); font-style: italic; font-size: var(--h3); color: var(--fg); margin-top: auto; }

/* ── PAIR GRID (§ 01) ───────────────────────────────────────────────────── */
.pair-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.pair {
  display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pair-n { color: var(--fg-faint); }
.pair-k { max-width: 18ch; }
.pair-b { color: var(--fg-mute); line-height: 1.6; }
.pair--accent { background: var(--accent); color: var(--on-accent); }
.pair--accent .pair-n { color: rgba(16, 24, 32, .7); }
.pair--accent .pair-b { color: rgba(16, 24, 32, .84); }

/* ── STATEMENT LINE ─────────────────────────────────────────────────────── */
.statement {
  margin-top: var(--stack-lg); max-width: 26ch;
  font-family: var(--t-serif); font-size: var(--h1); font-weight: 400;
  line-height: 1.05; letter-spacing: -.015em; color: var(--fg);
}
.statement em { font-style: italic; color: var(--accent); }
.is-coral .statement em { color: var(--on-accent); }

/* ── NUMBERS ────────────────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--stack-lg); align-items: end; }
.num { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.num-val { font-size: var(--num); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num-lbl { max-width: 22ch; }
.num-sub { font-size: 13px; color: var(--fg-faint); line-height: 1.55; max-width: 30ch; }

/* ── AGENTS ─────────────────────────────────────────────────────────────── */
.agents-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.agent {
  display: flex; flex-direction: column; gap: 10px; padding: 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.agent:hover { background: var(--hover); }
.agent-n { color: var(--fg-faint); }
.agent-k { font-size: var(--h2); line-height: 1; }
.agent-r { color: var(--accent); }
.agent-b { color: var(--fg-mute); line-height: 1.6; font-size: 14.5px; }
.agent--accent { grid-column: span 2; background: var(--accent); color: var(--on-accent); }
.agent--accent:hover { background: var(--accent); }
.agent--accent .agent-n { color: rgba(16, 24, 32, .68); }
.agent--accent .agent-r { color: rgba(16, 24, 32, .8); }
.agent--accent .agent-b { color: rgba(16, 24, 32, .84); }

/* ── FOUNDER (about) ────────────────────────────────────────────────────── */
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--stack-lg); align-items: center; }
.founder-media { margin: 0; }
.founder-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border: 1px solid var(--line); }
.founder-copy { display: grid; gap: 18px; align-content: center; }
.founder-copy .h1 { max-width: 12ch; }
.founder-copy .lead { max-width: 44ch; }
.founder-b { max-width: var(--prose); color: var(--fg-mute); line-height: 1.65; }
.founder-copy .link-accent { justify-self: start; }

/* ── ARTICLE PAGES ──────────────────────────────────────────────────────── */
.article-title { max-width: 24ch; }
.article-wrap > * { max-width: 74ch; }
.article-byline {
  display: flex; gap: 20px; align-items: center;
  padding-bottom: var(--stack-md); margin-bottom: var(--stack-lg);
  border-bottom: 1px solid var(--line);
}
.article-byline img { width: 72px; height: 72px; border-radius: 99px; object-fit: cover; object-position: center 20%; flex: none; border: 1px solid var(--line-strong); }
.article-byline > div { display: grid; gap: 4px; }
.article-byline strong { font-weight: 600; }
.article-byline p { font-size: 13px; color: var(--fg-mute); line-height: 1.55; }

.article-body { display: grid; gap: 18px; }
.article-body p { font-size: 16.5px; line-height: 1.7; color: var(--fg-dim); }
.article-body p strong, .article-body li strong { color: var(--fg); font-weight: 600; }
.article-body h2 {
  font-family: var(--t-serif); font-size: var(--h2); font-weight: 400;
  line-height: 1.1; letter-spacing: -.01em; color: var(--fg);
  margin-top: var(--stack-md);
}
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { display: grid; gap: 10px; padding-left: 2px; }
.article-body li { font-size: 16px; line-height: 1.65; color: var(--fg-dim); padding-left: 22px; position: relative; }
.article-body li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.article-body em { font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.article-body th, .article-body td {
  padding: 14px; text-align: left; vertical-align: top;
  border: 1px solid var(--line); color: var(--fg-dim); line-height: 1.55;
}
.article-body th { font-family: var(--t-mono); font-size: var(--eyebrow); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--fg); background: var(--bg-2); }

/* ── INSIGHTS GRID ──────────────────────────────────────────────────────── */
.insights-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.insight {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.insight:hover { background: var(--hover); }
.insight-type { color: var(--accent); }
.insight-k { max-width: 26ch; }
.insight-b { color: var(--fg-mute); line-height: 1.6; }
.insight-meta { margin-top: auto; color: var(--fg-faint); }
.insight:hover .insight-meta { color: var(--fg-dim); }

/* ── TEAM ───────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--stack-md); }
.member { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.member img { width: 100%; aspect-ratio: 557 / 808; object-fit: cover; border: 1px solid var(--line); }
.member-k { font-size: var(--h3); line-height: 1.2; }
.member-r { color: var(--accent); }
.member-b { color: var(--fg-mute); line-height: 1.7; }

/* ── AGENT AVATARS ──────────────────────────────────────────────────────── */
.agent-av {
  width: 68px; height: 68px; border-radius: 99px; object-fit: cover;
  border: 1px solid var(--line-strong); margin-bottom: 4px;
}
.agent--accent .agent-av { border-color: rgba(16, 24, 32, .3); }

/* Scout has no portrait — same footprint, coral-on-coral mark instead. */
.agent-av--mark {
  display: grid; place-items: center;
  background: rgba(16, 24, 32, .12); color: var(--on-accent);
  font-size: 30px; line-height: 1;
}

/* ── MANIFESTO (coral section) ──────────────────────────────────────────── */
.is-coral { background: var(--accent); color: var(--on-accent); }
.is-coral .eyebrow { color: rgba(16, 24, 32, .68); }
.is-coral .serif { color: var(--on-accent); }
.manifesto { max-width: var(--prose); display: grid; gap: 18px; }
.manifesto p { font-size: var(--lead); line-height: 1.55; color: rgba(16, 24, 32, .84); }
.manifesto strong { font-weight: 600; color: var(--on-accent); }
.manifesto em { font-style: italic; }
.manifesto-close { font-size: var(--h1); line-height: 1.05; letter-spacing: -.015em; color: var(--on-accent); margin-top: 14px; }
/* Trade-mark / disambiguation footnote. Needs to out-specify `.manifesto p`,
   and needs its own colour: it sits on the coral band, where the default .mono
   grey has no contrast. */
.manifesto p.manifesto-note {
  font-size: var(--eyebrow); line-height: 1.6; text-transform: none;
  letter-spacing: .02em; color: rgba(16, 24, 32, .68); margin-top: 18px; max-width: 62ch;
}
.manifesto--page p.manifesto-note { color: var(--fg-mute); }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--stack-lg); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: grid; gap: 8px; }
.form input, .form select, .form textarea {
  padding: 14px; background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--t-sans); font-size: 15px; font-weight: 400;
  text-transform: none; letter-spacing: normal;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.form-note { min-height: 1.4em; }
.form-note.is-ok { color: var(--fg); }
.form-note.is-err { color: var(--accent); }

.contact-aside { display: grid; gap: var(--stack-md); }
.col { display: flex; flex-direction: column; }
.gap-sm { gap: 10px; }
.contact-aside .footer-link { font-size: var(--body); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer { padding-block: var(--stack-lg) var(--stack-md); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-link { color: var(--fg-dim); transition: color var(--dur) var(--ease); }
.footer-link:hover { color: var(--accent); }
.footer-langs-lbl { margin-top: 10px; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding-top: 18px; margin-top: var(--stack-lg); border-top: 1px solid var(--line);
}
.footer-base a:hover { color: var(--accent); }
.footer-legal { text-transform: none; letter-spacing: .02em; color: var(--fg-mute); margin-top: 14px; max-width: 72ch; }

/* ── REVEAL ─────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .agents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .founder { grid-template-columns: 1fr; gap: var(--stack-md); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 0; position: absolute;
    inset: 100% 0 auto; padding: 8px var(--gutter) 20px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .nav-menu-btn { display: block; margin-inline: auto 0; }
  .nav-cta { display: none; }
  .nav { position: sticky; }

  .services-grid, .pair-grid, .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bottom { grid-template-columns: 1fr; gap: var(--stack-md); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .logo-badge { width: 52px; height: 52px; }
  .services-grid, .pair-grid, .agents-grid, .insights-grid, .footer-cols { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: 1fr; gap: var(--stack-md); }
  .agent--accent { grid-column: span 1; }
  .hero-meta { gap: 14px; }
  .band-media img { aspect-ratio: 4 / 3; }
}

@media print {
  .nav, .form, .band { display: none; }
  body, .is-coral { background: #fff !important; color: #000 !important; }
}

/* ── MANIFESTO on a normal dark page (privacy, terms) ───────────────────── */
.manifesto--page p { color: var(--fg-dim); }
.manifesto--page strong { color: var(--fg); }

/* ── STUDIO: coral "ask for the reel" block ─────────────────────────────── */
.is-coral .cta-inner { align-items: center; }
.is-coral .cta-inner > div { display: grid; gap: 18px; max-width: 62ch; }
.manifesto-lead { font-size: var(--lead); line-height: 1.55; color: rgba(16, 24, 32, .84); }
