/* Kova — black, white and colour. Nothing in between.
   Every surface is pure black (#000), pure white (#fff) or one solid colour. No greys, creams or tints,
   no translucent text: hierarchy comes from size, typeface and weight alone.
   Colour: six solid fills, used only as whole surfaces (skill cards) and voice discs, never for type.
   Type: Newsreader carries headlines; Schibsted Grotesk is the interface and the skill cards; IBM Plex Mono
   is for numerals, labels and captions; Archivo Expanded is the wordmark alone.
   Structure: every section is .sec > .sec-head (hairline, mono label, headline cols 1–7, lede cols 8–12).
   Page rhythm: black at the top (cover), white through the middle, black at the bottom (footer).
   A six-colour stripe marks both edges where black meets white: the brand's signature.
   Order on the companion: cover, What Kova is, 01 Skills, 02 Setup, 03 Kova Research, 04 The pilot, footer. */

/* ---------- Tokens ---------- */
:root {
  --white: #fff; --black: #000;
  --paper: var(--white); --ink: var(--black);
  --rule: var(--ink); --mute: var(--ink); --ink-2: var(--ink);

  /* Six solid colours, each light enough to carry black type. */
  --c-blue: #4f7ff0; --c-rose: #f28ca2; --c-yellow: #f6c431; --c-green: #3fb36b; --c-red: #f05b3d; --c-violet: #ab8df2;

  /* The black cover */
  --hero-bg: var(--black); --hero-ink: var(--white); --hero-mute: var(--white); --hero-rule: var(--white);

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wide: "Archivo", "Schibsted Grotesk", sans-serif;
  --d1: clamp(56px, 7.4vw, 120px);
  --d2: clamp(42px, 5.4vw, 84px);
  --d3: clamp(26px, 2.6vw, 40px);
  --t-body: 18px; --t-small: 15px; --t-label: 13px;

  /* Space and motion */
  --g: 16px;
  --pad: clamp(20px, 3.6vw, 52px);
  --section: clamp(88px, 10vw, 152px);
  --head-gap: clamp(36px, 4vw, 64px);
  --header-height: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 720px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; }
h1, h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-optical-sizing: auto; text-wrap: balance;
}
h1 { font-size: var(--d1); line-height: .98; }
h2 { font-size: var(--d2); line-height: 1.02; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g); padding: 0 var(--pad);
  max-width: 1480px; margin: 0 auto;
}
.label { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* ---------- Buttons: square, filled or outlined ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font: 500 17px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:not(.ghost):hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn:not(.ghost):focus-visible { outline-color: var(--ink); } /* currentColor is the paper on a filled button */

/* ---------- Header ---------- */
/* Wordmark left; nav and the one call to action right. Paper with a hairline by default;
   transparent with cream type while a [data-header-dark] section sits beneath it (site.js). */
.top {
  position: sticky; top: 0; z-index: 50;
  color: var(--ink); background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.top .row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: calc(var(--header-height) - 1px); padding: 0 var(--pad); max-width: 1480px; margin: 0 auto;
}
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-family: var(--wide); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .06em; font-size: 20px;
}
/* The mark: seven tiles cut by a K and a mirrored K. The gaps are the background colour, so the letters
   appear as negative space; the centre O is black on white and white on black. */
.wordmark { gap: 12px; }
.wm-text { white-space: nowrap; }
@media (max-width: 380px) { .wordmark { gap: 8px; } .mark { width: 22px; height: 22px; } .wordmark .wm-text { font-size: 18px; } }
.mark { display: block; width: 26px; height: 26px; flex: none; }
.mark polygon { stroke: var(--white); stroke-width: 5; stroke-linejoin: miter; transition: stroke .35s ease, fill .35s ease; }
.mark .o { fill: var(--black); }
.top.on-dark .mark polygon { stroke: var(--black); }
.top.on-dark .mark .o { fill: var(--white); }
/* The A of KOVA is the V turned over, as in the mark. With line-height 1, Archivo's box top sits .835em
   above the baseline (ascent .88, descent .21) and the capitals are .688em tall, so turning the V about
   .491em from the top keeps it exactly on the cap line and baseline. */
.flip { display: inline-block; line-height: 1; transform: scaleY(-1); transform-origin: 50% .491em; }
.top .right { display: flex; align-items: center; gap: 28px; }
.links { display: flex; gap: 8px; }
.links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font: 500 15px/1 var(--sans); color: var(--mute); text-decoration: none;
  transition: color .35s ease;
}
.links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.top .btn { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }

/* Solid cover-black rather than transparent: identical over the hero, and correct on mobile where the header sits above it in flow. */
.top.on-dark { background: var(--black); border-bottom-color: var(--black); color: var(--white); }
.top.on-dark .links a { color: var(--white); }
.top.on-dark .btn { background: transparent; color: var(--white); border-color: var(--white); }
.top.on-dark .btn:hover { background: var(--white); color: var(--black); }
.top.on-dark .btn:focus-visible { outline-color: var(--white); }

@media (max-width: 720px) {
  .top .row { gap: 8px; }
  .top .right { gap: 6px; }
  .links { gap: 0; }
  .links a[aria-current="page"] { display: none; }
}

/* ---------- Footer ---------- */
/* The same black as the cover, in both editions: one black bookends the page. */
.foot {
  --ink: var(--white); --ink-2: var(--white); --mute: var(--white); --rule: var(--white); --paper: var(--black);
  background: var(--black); color: var(--ink);
  padding-top: clamp(64px, 8vw, 120px); padding-bottom: 20px;
}
.foot > .stripe { margin: calc(-1 * clamp(64px, 8vw, 120px)) 0 clamp(64px, 8vw, 120px); }
.foot ::selection { background: var(--ink); color: var(--black); }
.foot-top { row-gap: 48px; padding-bottom: clamp(56px, 7vw, 104px); }
.foot-line { grid-column: 1 / span 6; }
.foot-say {
  margin: 0; font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); letter-spacing: -.015em;
  font-optical-sizing: auto; text-wrap: balance;
}
.foot-note { margin: 20px 0 0; max-width: 34em; font-size: var(--t-small); line-height: 1.5; color: var(--mute); }
.foot-note span { display: block; }
.foot-links { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--g); align-content: start; }
.foot-links .label { display: block; padding-bottom: 8px; border-bottom: 1px solid var(--rule); color: var(--mute); }
.foot-links a { display: block; padding: 10px 0; font-size: 17px; line-height: 1.4; text-decoration: none; color: var(--ink); }
.foot-links a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.giant {
  margin: 0 var(--pad); color: var(--white);
  font-family: var(--wide); font-weight: 800; font-variation-settings: "wdth" 125;
  font-size: 25vw; line-height: .74; padding-top: .06em;
  white-space: nowrap; overflow: hidden; user-select: none;
}
.giant span { display: inline-block; }
.fine {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin: 20px var(--pad) 0; padding: 14px 0 0; border-top: 1px solid var(--rule);
  font-size: var(--t-small); color: var(--mute);
}
@media (max-width: 860px) {
  .foot-line, .foot-links { grid-column: 1 / -1; }
}

/* ================= Shared section system ================= */
/* Every section opens the same way: an ink hairline carrying a numbered mono label, the headline
   on columns 1–7 and its lede on columns 8–12, then the content --head-gap below. */
.sec { max-width: 1480px; margin: 0 auto; padding: var(--section) var(--pad) 0; scroll-margin-top: var(--header-height); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 20px; align-items: start; }
.sec-label {
  display: flex; gap: 1.6em; margin: 0;
  font: 400 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.sec-label .no { color: var(--ink); }
.sec-head .sec-label { grid-column: 1 / -1; padding-top: 14px; margin-bottom: clamp(12px, 2vw, 28px); border-top: 2px solid var(--ink); font-weight: 500; }
.sec-head h1, .sec-head h2 { grid-column: 1 / span 7; margin: 0; font: 400 var(--d2)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.sec-head h1 { font-size: var(--d1); line-height: .98; }
.sec-lede { grid-column: 8 / span 5; margin: 0; padding-top: .55em; max-width: 34em; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.sec-lede > p { margin: 0; }
.sec-lede > p + p { margin-top: 1em; }
.sec-lede > p + .btn { margin-top: 28px; }
.sec-lede .status { font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sec > .sec-head + * { margin-top: var(--head-gap); }
@media (max-width: 1080px) {
  .sec-head h1, .sec-head h2 { grid-column: 1 / span 10; }
  .sec-lede { grid-column: 1 / span 9; }
}
@media (max-width: 720px) {
  .sec-head h1, .sec-head h2, .sec-lede { grid-column: 1 / -1; }
  .sec-lede { font-size: 17px; }
}
/* The colour stripe: six equal solid blocks, full bleed, at the black/white edges. */
.stripe { display: grid; grid-template-columns: repeat(6, 1fr); height: 12px; }
.stripe span:nth-child(1) { background: var(--c-blue); }
.stripe span:nth-child(2) { background: var(--c-violet); }
.stripe span:nth-child(3) { background: var(--c-yellow); }
.stripe span:nth-child(4) { background: var(--c-red); }
.stripe span:nth-child(5) { background: var(--c-rose); }
.stripe span:nth-child(6) { background: var(--c-green); }

/* What Kova is: one plain paragraph straight after the cover. */
.intro .sec-head .sec-label { margin-bottom: 0; }
.intro-text { max-width: 30em; margin: 28px 0 0; font: 400 clamp(26px, 2.7vw, 40px)/1.25 var(--serif); letter-spacing: -.015em; text-wrap: pretty; }

/* The spectrogram, black on white. year1.webp spans 6.8 s; speech ends at 5.6 s, so the plot shows 0–5.65 s edge to edge. */
figure { margin: 0; }
.spectro-plot { height: clamp(160px, 24vh, 260px); overflow: hidden; }
.spectro-plot img { width: calc(100% * 6.8 / 5.65); max-width: none; height: 100%; filter: grayscale(1) contrast(1.6) brightness(1.08); mix-blend-mode: multiply; }
.spectro figcaption { padding-top: 12px; border-top: 2px solid var(--ink); font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 720px) { .spectro-plot { height: 130px; } }

/* Research page: the statement, then the figure, both on white. */
.r-open { padding-top: clamp(40px, 5vw, 72px); }
.r-figure { padding-bottom: var(--section); }
.r-figure .spectro-plot { height: clamp(220px, 40vh, 420px); }
@media (max-width: 720px) { .r-figure .spectro-plot { height: 170px; } }

/* Contact gating (site.js): real controls need the inbox; [data-no-inbox] is the designed fallback. */
[data-needs-inbox][hidden], [data-no-inbox][hidden], .has-inbox [data-no-inbox] { display: none !important; }

/* ================= Companion ================= */
/* A black cover with one instrument, the colour stripe, then white: what Kova is, the six skills,
   setup, research and the pilot. */

/* ---------- Cover ---------- */
/* Cover, intro and stage wrappers are flattened so everything sits on one centred column. */
.opening-sequence { isolation: isolate; }
.opening > .cover, .opening .intro, .opening > .stage { display: contents; }
.opening {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; text-align: center;
  padding: clamp(40px, 7vh, 88px) var(--pad) clamp(48px, 7vh, 72px);
  background: var(--hero-bg); color: var(--hero-ink);
}
.opening h1 { font: 400 var(--d1)/.98 var(--serif); letter-spacing: -.02em; color: var(--hero-ink); }
.opening .intro p { max-width: 46ch; margin: 22px auto 0; font: 400 19px/1.5 var(--sans); color: var(--hero-mute); text-wrap: balance; }

/* The phone: one photograph cut into a rig (receiver, cords, cradle) that phone-motion.js animates. */
.phone {
  display: grid; justify-items: center; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer;
  transition: translate .3s var(--ease);
}
.phone-art { display: block; width: 100%; height: auto; }
.phone[data-moving] .phone-rest { visibility: hidden; }
/* The art keeps headroom above the cradle for the lifted receiver; tuck most of it under the sub-line. */
.opening .phone {
  --phone-w: max(260px, min(520px, calc(100svh - 470px)));
  width: min(100%, var(--phone-w)); margin-top: calc(var(--phone-w) * -.14);
}
/* Black Bakelite on black: a 1px white rim keeps the outline. */
.opening .phone-art { filter: drop-shadow(0 0 1px #ffffffa0); }
.phone:enabled:hover, .phone:focus-visible { translate: 0 -4px; }
/* Ring the instrument, not the empty headroom above it. */
.phone { position: relative; }
.phone:focus-visible { outline: none; }
.phone:focus-visible::before { content: ""; position: absolute; inset: 20% -8px -8px; outline: 2px solid var(--hero-ink); pointer-events: none; }
/* During a call the sub-line steps back; the lifted receiver may pass in front of it. */
.opening .intro p { transition: opacity .5s ease; }
.opening:not([data-state="idle"]) .intro p { opacity: .12; }

/* The caption: an invitation at rest, Kova's words during a call. */
.call-caption { position: relative; display: grid; justify-items: center; gap: 6px; margin: clamp(4px, 1vh, 12px) auto 0; }
.line {
  max-width: 44ch; min-height: 1.25em; margin: 0;
  font: 400 clamp(24px, 2.4vw, 32px)/1.25 var(--serif); letter-spacing: -.005em; color: var(--hero-ink); text-wrap: balance;
}
.line span { opacity: 0; transition: opacity .2s; }
.line span.on { opacity: 1; }
.line.fading { opacity: 0; transition: opacity 1.4s ease; }
.opening[data-state="idle"] .line:empty::before,
.opening[data-state="ringing"] .line:empty::before {
  content: "Lift the receiver to hear Kova";
  font: italic 400 19px/1.5 var(--serif); letter-spacing: 0; color: var(--hero-mute);
}
.opening[data-state="ringing"] .line:empty::before { content: "Ringing\2026"; }
.opening[data-state="speaking"] .line::before,
.voice-buttons button[aria-pressed="true"] .v-name::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hero-ink); animation: kova-live 1.2s ease-in-out infinite alternate;
}
.opening[data-state="speaking"] .line::before { margin: 0 .45em 0 0; vertical-align: .2em; }
@keyframes kova-live { from { opacity: .4; } to { opacity: 1; } }
.hang-up {
  min-height: 44px; padding: 0 8px; border: 0; background: transparent; cursor: pointer;
  font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--hero-mute); text-decoration: underline 1px; text-underline-offset: 5px;
}
.hang-up[hidden] { display: none; }
.hang-up:hover { color: var(--hero-ink); }
.hang-up:focus-visible { outline: 2px solid var(--hero-ink); outline-offset: 2px; }

/* The voices as a cast list: four cells between hairlines; the playing one gets a hairline bar and a live dot. */
.voice-previews { margin: 28px auto 0; scroll-margin: calc(var(--header-height) + 24px) 0 24px; }
.voice-previews > p { margin: 0 0 12px; font: 400 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hero-mute); }
.voice-buttons { display: flex; justify-content: center; }
.voice-buttons button {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 5px;
  min-width: 120px; min-height: 56px; padding: 10px 20px; border: 0; border-left: 1px solid var(--hero-rule);
  background: transparent; color: var(--hero-ink); cursor: pointer;
}
.voice-buttons button:first-child { border-left: 0; }
.voice-buttons button:disabled { cursor: default; }
.voice-buttons button::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--hero-ink);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.v-name {
  position: relative; font: 400 22px/1.1 var(--serif); letter-spacing: -.005em;
  text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s;
}
.v-tone { font: 400 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hero-mute); }
.voice-buttons button:enabled:hover .v-name { text-decoration-color: currentColor; }
.voice-buttons button[aria-pressed="true"]::before { transform: none; }
.voice-buttons button[aria-pressed="true"] .v-name::before { position: absolute; right: 100%; top: .5em; margin: -3px 8px 0 0; }
.voice-buttons button:focus-visible { outline: 2px solid var(--hero-ink); outline-offset: -2px; }
.scroll-cue { display: none; }

@media (max-width: 720px) {
  .opening { padding: 40px var(--pad) 56px; }
  .opening .intro p { font-size: 17px; margin-top: 18px; }
  .opening .phone { --phone-w: min(80vw, 340px); }
  .line { font-size: 24px; }
  .voice-buttons { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .voice-buttons button:nth-child(odd) { border-left: 0; }
  .voice-buttons button:nth-child(n+3) { border-top: 1px solid var(--hero-rule); }
}


/* ---------- Opening sequence (desktop, motion allowed) ----------
   The cover pins while voices.js eases --hp (headline settles), --pp (phone) and
   --vp (voices) from 0 to 1, and --cue (scroll cue) out. Then it scrolls away.
   Without JS the properties default to 1, so the finished cover shows. Mobile and reduced motion are plain flow. */
@media (min-width: 721px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  body.companion .top { position: fixed; inset: 0 0 auto; }
  /* Anchored from the top, so a longer subtitle only ever pushes the cast list, never the phone. */
  .opening {
    position: sticky; top: 0; height: 100svh; align-content: start;
    padding: calc(var(--header-height) + 3vh + max(0px, (100svh - 900px) * .4)) var(--pad) 3vh;
  }
  /* Hang-up sits in the margin beside the words, so a call never shifts the cover. */
  .hang-up { position: absolute; left: calc(100% + 20px); top: .35em; white-space: nowrap; }
  /* The cover assembles over the first .69 screens of scroll, rests complete for about .6 more,
     then scrolls away in one piece: nothing slides over it. */
  .opening-sequence { min-height: 230svh; }
  .opening h1, .opening .intro p { transform: translateY(calc(var(--drop, 0px) * (1 - var(--hp, 1)))); }
  /* At rest the cover is the headline alone; the sub-line arrives with the phone. */
  .opening[data-state="idle"] .intro p { opacity: var(--pp, 1); }
  .opening .phone, .opening .call-caption { opacity: var(--pp, 1); transform: translateY(calc((1 - var(--pp, 1)) * 48px)); }
  .opening .voice-previews { opacity: var(--vp, 1); transform: translateY(calc((1 - var(--vp, 1)) * 20px)); }
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 0; width: 1px; height: 40px; background: var(--white); opacity: calc(1 - var(--cue, 1)); }
}
/* ---------- Skills: six solid colour cards, 3 × 2 ----------
   One colour per skill (data-skill), filling the whole card. Black type and black line art on top. */
.skill-card[data-skill="scam"]      { --tone: var(--c-blue); }
.skill-card[data-skill="search"]    { --tone: var(--c-violet); }
.skill-card[data-skill="bookings"]  { --tone: var(--c-yellow); }
.skill-card[data-skill="reminders"] { --tone: var(--c-red); }
.skill-card[data-skill="messages"]  { --tone: var(--c-rose); }
.skill-card[data-skill="letters"]   { --tone: var(--c-green); }
.skill-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.skill-card {
  --in: clamp(22px, 2.2vw, 32px);
  position: relative; display: flex; flex-direction: column; min-height: clamp(210px, 17vw, 250px);
  padding: var(--in); border-radius: 20px; background: var(--tone); color: var(--black);
}
.skill-art { position: absolute; top: var(--in); right: var(--in); width: clamp(44px, 3.8vw, 56px); height: auto; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.skill-no { margin: 0 0 auto; font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.skill-card h3 { margin: 28px 0 0; font: 500 clamp(28px, 2.5vw, 38px)/1 var(--sans); letter-spacing: -.04em; }
.skill-line { margin: 10px 0 0; max-width: 30ch; font-size: 16px; line-height: 1.4; text-wrap: pretty; }
@media (max-width: 1000px) { .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .skill-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .skill-card { min-height: 0; border-radius: 16px; }
  .skill-card h3 { margin-top: 40px; font-size: 32px; }
}

/* ---------- How it works: three black finger holes, a line each ---------- */
.dial { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); }
.hole {
  display: grid; place-items: center; width: clamp(72px, 7vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--tone, var(--ink)); color: var(--black); font: 400 clamp(30px, 3vw, 44px)/1 var(--serif);
}
.dial h3 { margin: 28px 0 0; max-width: 12ch; font: 400 var(--d3)/1.15 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 720px) {
  .dial { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .dial li { display: flex; align-items: center; gap: 20px; }
  .dial h3 { margin: 0; max-width: none; }
  .hole { width: 60px; font-size: 26px; flex: none; }
}

/* ---------- Pilot ---------- */
.pilot { padding-bottom: var(--section); }
.pilot .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.pilot-wait { flex-basis: 100%; margin: 0 0 4px; font-size: var(--t-small); }

/* ---------- Voices: each cast member gets one coloured disc ---------- */
.v-dot { width: 12px; height: 12px; border-radius: 50%; }
[data-tone="blue"] .v-dot { background: var(--c-blue); }
[data-tone="rose"] .v-dot { background: var(--c-rose); }
[data-tone="topaz"] .v-dot { background: var(--c-yellow); }
[data-tone="green"] .v-dot { background: var(--c-green); }
.voice-buttons button { gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .grid > * { grid-column: 1 / -1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
