/* Artist Insights — long-form article template.
   Structure, grid, type scale and motion follow the McKinsey "Century" case-study
   template (measured 12 Oct 2026 at 1440px). Palette, faces and wordmark are the
   Artist identity. Layout: 12-column grid, 1224px container, 108px margins at 1440;
   prose sits on columns 3–10; full-bleed bands carry the chapter changes. */

:root {
  color-scheme: light dark;  /* the page styles both; stops browsers force-darkening it */
  /* Artist palette (artist-tokens.css, measured) */
  --bone: #ECEBE7;
  --black: #000000;
  --red: #DD3D37;
  --near-black: #151515;
  --card-ink: #D0D0D0;
  --grey: #5A5A5A;

  /* Semantic, light */
  --ground: var(--bone);
  --ink: var(--black);
  --ink-body: rgba(0, 0, 0, 0.84);
  --ink-muted: #5A5A5A;
  --rule: rgba(0, 0, 0, 0.16);
  --rule-strong: rgba(0, 0, 0, 0.6);
  --accent: var(--red);
  --band: var(--near-black);       /* dark chapter bands, hero, footer */
  --band-ink: var(--card-ink);
  --on-dark: var(--bone);
  --panel: var(--bone);

  /* Faces: brand faces first, never embedded (licence) */
  --font-display: "Rhymes Display", "Rhymes Display Light", Didot, "Bodoni 72", "Times New Roman", Georgia, serif;
  --font-sans: "PP Neue Montreal", "PPNeueMontreal-Book", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Type scale: McKinsey sizes at 1440, clamped down to phone */
  --t-stat:    clamp(4rem, 8vw, 7.25rem);     /* 116 */
  --t-hero:    clamp(2.75rem, 6.4vw, 5.75rem); /* 92 */
  --t-chapter: clamp(2.5rem, 5.3vw, 4.75rem); /* 76 */
  --t-sub:     clamp(1.875rem, 3vw, 2.75rem); /* 44 */
  --t-dek:     clamp(1.5rem, 2.5vw, 2.25rem); /* 36 */
  --t-quote:   clamp(1.625rem, 2.5vw, 2.25rem); /* 36 */
  --t-lead:    clamp(1.375rem, 1.95vw, 1.75rem); /* 28 */
  --t-card:    clamp(1.375rem, 1.95vw, 1.75rem); /* 28 */
  --t-body:    clamp(1.125rem, 1.4vw, 1.25rem); /* 20 */
  --t-ui:      1.125rem;  /* 18 */
  --t-small:   1rem;      /* 16 */
  --t-label:   0.875rem;  /* 14 */

  /* Grid */
  --container: 1224px;
  --margin: clamp(16px, 7.5vw, 108px);
  --gutter: clamp(16px, 1.7vw, 24px);
  --bar-h: 64px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: var(--near-black);
    --ink: var(--card-ink);
    --ink-body: rgba(208, 208, 208, 0.9);
    --ink-muted: #8A8A8A;
    --rule: rgba(255, 255, 255, 0.18);
    --rule-strong: rgba(255, 255, 255, 0.55);
    --band: var(--black);
    --panel: #1D1D1D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: var(--near-black);
  --ink: var(--card-ink);
  --ink-body: rgba(208, 208, 208, 0.9);
  --ink-muted: #8A8A8A;
  --rule: rgba(255, 255, 255, 0.18);
  --rule-strong: rgba(255, 255, 255, 0.55);
  --band: var(--black);
  --panel: #1D1D1D;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--bar-h) + 24px); }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, blockquote, figure, ol { margin: 0; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
.label {
  font-size: var(--t-label);
  line-height: 1.43;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  width: min(var(--container), 100% - 2 * var(--margin));
  margin-inline: auto;
}
.grid > * { min-width: 0; }
.c-full   { grid-column: 1 / -1; }
.c-wide   { grid-column: 2 / span 10; }
.c-body   { grid-column: 3 / span 8; }
.c-main   { grid-column: 3 / span 6; }
.c-rail   { grid-column: 10 / span 3; }
.c-media  { grid-column: 1 / span 4; }
.c-beside { grid-column: 6 / span 6; }
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-full, .c-wide, .c-body, .c-main, .c-rail, .c-media, .c-beside { grid-column: 1 / -1; }
}

/* ---------- Masthead (over the hero) ---------- */
.masthead {
  position: absolute; z-index: 5; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--margin) 0;
  color: var(--on-dark);
}
.wordmark { display: block; width: 132px; color: inherit; }
.wordmark svg { display: block; width: 100%; height: auto; }
.masthead a.nav { font-size: var(--t-small); text-decoration: none; opacity: .85; }
.masthead a.nav:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero: pinned film, title, then blur, dek and stats ---------- */
.hero {
  --p: 0;
  position: relative;
  background: var(--black);
  color: var(--on-dark);
}
.hero__media {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(calc(var(--p) * 18px)) brightness(calc(0.72 - var(--p) * 0.3));   /* held back so the title reads over the HD film */
  transform: scale(calc(1 + var(--p) * 0.08));
}
.hero__content { position: relative; margin-top: -100vh; margin-top: -100svh; padding-bottom: 16vh; }  /* keeps the contents band clear of the first chapter */
.hero__title {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-content: center; text-align: center;
  padding-inline: var(--margin);
  opacity: calc(1 - var(--p) * 2.4);
  transform: translateY(calc(var(--p) * -60px));
}
.hero__kicker { font-size: var(--t-ui); line-height: 1.55; margin-bottom: 20px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  line-height: 1.12;
  letter-spacing: -0.005em;
  max-width: 20ch;
  margin-inline: auto;
}
.hero__dek {
  padding-block: 18vh 14vh;
}
.hero__dek p {
  font-size: var(--t-dek);
  line-height: 1.22;
  font-weight: 300;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding-bottom: 12vh;
}
.stat {
  text-align: center;
  padding: 0 clamp(16px, 2.6vw, 40px) 48px;
  border-left: 1px solid rgba(236, 235, 231, 0.7);
  padding-top: 72px;
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--t-stat);
  line-height: 1.13;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.3;
  font-weight: 300;
  margin-top: 8px;
}
.stat__source { display: inline-block; margin-top: 16px; font-size: var(--t-label); opacity: .7; text-decoration: none; }
.stat__source:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 960px) {
  .stats { grid-template-columns: 1fr; padding-inline: var(--margin); }
  .stat { border-left: 0; border-top: 1px solid rgba(236, 235, 231, 0.5); padding: 40px 0; }
  .stat:first-child { border-top: 0; }
}

/* On this page */
.toc {
  position: relative;
  background: var(--black);   /* the same black as the films either side of it */
  color: var(--on-dark);
  padding-block: 40px;
  border-block: 1px solid rgba(236, 235, 231, 0.18);
  text-align: center;
}
.toc .grid { justify-items: center; row-gap: 16px; }
.toc__label { grid-column: 1 / -1; font-size: var(--t-label); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--card-ink); }
.toc ol { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 48px; }
.toc a { font-size: var(--t-ui); text-decoration: none; border-bottom: 1px solid transparent; }
.toc a:hover { border-bottom-color: currentColor; }
.toc .n { opacity: .6; margin-right: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .toc ol { flex-direction: column; align-items: center; gap: 12px; }
}

/* ---------- Sticky article bar + reading progress ---------- */
.bar {
  position: fixed; z-index: 20; inset: 0 0 auto 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--ground);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
}
.bar.is-on { transform: none; }
.bar__inner {
  height: var(--bar-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--margin);
}
.bar__title {
  font-size: var(--t-ui); line-height: 1.55;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; flex: 1 1 auto;
}
.bar__nav { display: flex; gap: 28px; flex: none; }
.bar__nav a { font-size: var(--t-small); text-decoration: none; color: var(--ink-muted); padding-block: 4px; border-bottom: 1px solid transparent; }
.bar__nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.bar__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--read, 0) * 100%); background: var(--accent); }
@media (max-width: 960px) { .bar__nav { display: none; } }

/* ---------- Ask button (bar + floating) ---------- */
.ask-btn {
  font: inherit; font-size: var(--t-small);
  color: var(--ground); background: var(--ink);
  border: 0; border-radius: 0;
  padding: 10px 18px; cursor: pointer; flex: none;
}
.ask-btn:hover { background: var(--accent); color: var(--black); }
.ask-fab {
  position: fixed; z-index: 19;
  right: var(--margin); bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  font: inherit; text-align: left; cursor: pointer;
  background: var(--red); color: var(--black);
  border: 0; padding: 14px 20px 14px 18px;
  display: grid; gap: 0;
}
.ask-fab strong { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.1; }
.ask-fab span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ask-fab:hover { background: var(--black); color: var(--bone); }

/* ---------- Chapter openers ---------- */
.chapter-open {
  --cp: 0;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--on-dark);
  min-height: 56vh;
  display: grid; align-items: center;   /* centred, in an opener short enough that the film never sits wordless */
  padding-block: 10vh;
  text-align: center;
}
.chapter-open video {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  object-fit: cover;
  opacity: .3;   /* the HD films are crisp enough to compete with the heading at .4 */
  transform: translateY(calc(var(--cp) * -8%));
}
.chapter-open--band {
  min-height: 0;
  background: var(--band);
  padding-block: 96px;
}
.chapter-open .grid { position: relative; }
.chapter-open .label { display: block; margin-bottom: 20px; }
.chapter-open h2 {
  font-family: var(--font-display);
  font-size: var(--t-chapter);
  line-height: 1.12;
  letter-spacing: -0.005em;
}

/* ---------- Article body ---------- */
.chapter-body { padding-block: 96px 112px; }
.chapter-body .grid { grid-auto-flow: row dense; }
.prose p, .lead { color: var(--ink-body); }
.prose p { font-size: var(--t-body); line-height: 1.6; margin-bottom: 20px; }
.lead {
  font-size: var(--t-lead);
  line-height: 1.43;
  font-weight: 300;
  margin-bottom: 40px;
}
.lead::first-letter {
  font-family: var(--font-display);
  initial-letter: 2;
  -webkit-initial-letter: 2;
  margin-right: 12px;
  color: var(--ink);
}
@supports not ((initial-letter: 2) or (-webkit-initial-letter: 2)) {
  .lead::first-letter { float: left; font-size: 3.4em; line-height: .82; padding-top: 6px; }
}
.prose a, .lead a { text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
sup.ref { font-size: .62em; line-height: 0; vertical-align: super; margin-left: 1px; }
sup.ref a { color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; }
sup.ref a:hover { text-decoration: underline; }

.rail { grid-row: span var(--rows, 2); align-self: start; border-top: 1px solid var(--rule-strong); padding-top: 24px; margin-top: 6px; }
.rail dl { margin: 0; display: grid; gap: 18px; }
.rail dt { font-size: var(--t-label); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.rail dd { margin: 4px 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); }
.rail a { color: var(--accent); text-decoration: none; }
.rail a:hover { text-decoration: underline; }
@media (max-width: 960px) { .rail { grid-row: auto; margin-block: 8px 40px; } }

.subhead {
  font-family: var(--font-display);
  font-size: var(--t-sub);
  line-height: 1.18;
  margin: 64px 0 24px;
  color: var(--ink);
}

.quote { margin-block: 72px 80px; }
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-quote);
  line-height: 1.22;
  text-indent: -0.42em;
  color: var(--ink);
}
.cite { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin-top: 28px; font-size: var(--t-ui); line-height: 1.55; }
.cite::before { content: "—"; grid-row: span 2; }
.cite b { font-weight: 400; color: var(--ink); }
.cite span { color: var(--ink-muted); font-size: var(--t-small); }

.figure-row { width: 100%; margin-block: 32px 72px; align-items: start; }
.figure-row figure { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.figure-row svg { display: block; width: 100%; height: auto; color: var(--ink); }
.figure-row figcaption { margin-top: 16px; font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); }
@media (max-width: 960px) { .figure-row figure { margin-bottom: 40px; } }
.dg-box { fill: none; stroke: currentColor; stroke-width: 1.25; }
.dg-hand { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-dasharray: 3 4; }
.dg-text { fill: currentColor; font-family: var(--font-sans); font-size: 14px; }
.dg-muted { fill: currentColor; fill-opacity: .6; font-family: var(--font-sans); font-size: 12px; }
.dg-head { fill: currentColor; font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; }
.dg-red { fill: var(--red); }
.dg-join { stroke: currentColor; stroke-width: 1.5; }
.dg-gap { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 4 5; }
.dg-on-red { fill: var(--black); font-family: var(--font-sans); font-size: 14px; }

/* Cards band: full-bleed red ground, black cards that turn over */
.cards-band {
  background: var(--red);
  color: var(--black);
  padding-block: 64px 80px;
  margin-block: 40px 0;
}
.cards-band .label { grid-column: 1 / -1; text-align: center; font-weight: 500; margin-bottom: 40px; }
.cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); list-style: none; margin: 0; padding: 0; }
.card { perspective: 1200px; }
.card button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: block; position: relative; width: 100%; aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.card button:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.card.is-flipped button { transform: rotateY(180deg); }
.card__face {
  position: absolute; inset: 0;
  background: var(--near-black); color: var(--card-ink);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center; text-align: center;
  padding: 28px 22px;
}
.card__face--back { transform: rotateY(180deg); background: var(--black); }
.card__title { font-size: var(--t-card); line-height: 1.3; font-weight: 300; color: var(--bone); }
.card__body { font-size: var(--t-small); line-height: 1.5; }
.card__icon { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); color: var(--black); display: grid; place-items: center; }
.card__icon svg { width: 12px; height: 12px; }
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .card button { aspect-ratio: auto; min-height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .card button { transition: none; }
  .card.is-flipped button { transform: none; }
  .card .card__face--back { transform: none; opacity: 0; }
  .card.is-flipped .card__face--back { opacity: 1; }
}

/* Promo */
.promo {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  border-block: 1px solid var(--rule);
  padding-block: 32px;
  margin-block: 48px 0;
  text-decoration: none;
}
.promo .label { color: var(--ink-muted); }
.promo h3 { font-family: var(--font-display); font-size: var(--t-card); line-height: 1.3; color: var(--ink); }
.promo p { font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); max-width: 40em; }
.promo .cta { font-size: var(--t-small); font-weight: 500; color: var(--ink); }
.promo .cta i { font-style: normal; color: var(--accent); display: inline-block; transition: transform .25s var(--ease); margin-left: 6px; }
.promo:hover .cta i { transform: translateX(4px); }

/* Big quote: full-bleed red band */
.bigquote-band { background: var(--red); color: var(--black); padding-block: 96px; margin-block: 56px; }
.bigquote-band blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-sub);
  line-height: 1.18;
  text-indent: -0.42em;
}
.bigquote-band .cite b, .bigquote-band .cite span { color: var(--black); }

/* ---------- Back matter ---------- */
.back { padding-block: 0 112px; }
.back h2 { font-size: var(--t-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; }
.back section { border-top: 1px solid var(--rule-strong); padding-top: 24px; margin-top: 72px; }
.author { display: grid; gap: 4px; }
.author b { font-family: var(--font-display); font-weight: 300; font-size: var(--t-card); line-height: 1.3; }
.author span { font-size: var(--t-label); font-weight: 500; }
.author p { font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); margin-top: 8px; max-width: 36em; }
.sources ol { padding-left: 1.4em; display: grid; gap: 12px; }
.sources li { font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); padding-left: 6px; }
.sources li::marker { color: var(--accent); font-variant-numeric: tabular-nums; }
.sources li:target { color: var(--ink); }
.sources a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; word-break: break-word; }

.related { border-top: 1px solid var(--rule); padding-block: 72px 96px; }
.related h2 { grid-column: 1 / -1; text-align: center; font-size: var(--t-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 40px; }
.related ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); list-style: none; margin: 0; padding: 0; }
.related a { display: grid; gap: 12px; text-decoration: none; border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.related .k { font-size: var(--t-label); color: var(--ink-muted); }
.related .t { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; }
.related a:hover .t { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 960px) { .related ul { grid-template-columns: 1fr; gap: 32px; } }

.footer { background: var(--band); color: var(--on-dark); padding-block: 72px calc(env(safe-area-inset-bottom, 0px) + 32px); }
.footer .wordmark { width: 100%; grid-column: 1 / -1; }
.footer .rail-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 40px; font-size: 0.8125rem; color: var(--band-ink); }

/* ---------- Ask panel ---------- */
.ask {
  position: fixed; z-index: 30;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--panel); color: var(--ink);
  border-left: 1px solid var(--rule);
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(105%);
  transition: transform .4s var(--ease);
}
.ask.is-open { transform: none; }
.ask__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 24px 16px; border-bottom: 1px solid var(--rule); }
.ask__head strong { font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; line-height: 1.1; display: block; }
.ask__head span { font-size: var(--t-label); color: var(--ink-muted); }
.ask__close { all: unset; cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 4px 6px; }
.ask__close:focus-visible { outline: 2px solid var(--accent); }
.ask__log { overflow-y: auto; padding: 20px 24px; display: grid; align-content: start; gap: 20px; }
.ask__hint { font-size: var(--t-small); line-height: 1.5; color: var(--ink-muted); }
.ask__chips { display: grid; gap: 8px; }
.ask__chips button { font: inherit; font-size: var(--t-small); text-align: left; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); padding: 10px 14px; }
.ask__chips button:hover { border-color: var(--accent); }
.msg { font-size: var(--t-small); line-height: 1.55; white-space: pre-wrap; }
.msg--q { justify-self: end; max-width: 85%; background: var(--ink); color: var(--ground); padding: 10px 14px; }
.msg--a { color: var(--ink-body); border-left: 2px solid var(--accent); padding-left: 14px; }
.msg--note { color: var(--ink-muted); font-size: var(--t-label); }
.ask__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 16px 24px 24px; border-top: 1px solid var(--rule); }
.ask__form textarea { font: inherit; font-size: var(--t-small); resize: none; min-height: 48px; padding: 12px; background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.ask__form button { font: inherit; font-size: var(--t-small); cursor: pointer; background: var(--ink); color: var(--ground); border: 0; padding: 0 18px; }
.ask__form button[disabled] { opacity: .5; cursor: default; }

/* ---------- Reveal on scroll (only when JS runs and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media video, .hero__media img { transform: none; }
}

/* ---------- Event band ----------
   Black ground with red display ink and card-grey running copy (sanctioned pairings).
   The sign-up button is red ground, black ink. */
.event-band { background: var(--black); color: var(--card-ink); padding-block: 112px; margin-top: 56px; scroll-margin-top: var(--bar-h); }
.event-band .grid { align-items: end; row-gap: 48px; }
.event__intro { grid-column: 2 / span 6; }
.event__intro .label { display: block; color: var(--card-ink); margin-bottom: 20px; }
.event__intro h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-chapter);
  line-height: 1.05;
  color: var(--red);
  margin-bottom: 32px;
  text-wrap: balance;
}
.event__intro p { font-size: var(--t-body); line-height: 1.6; max-width: 34em; text-wrap: pretty; }
.event__intro p + p { margin-top: 1em; }
.event__form { grid-column: 8 / span 4; display: grid; gap: 16px; }
.event__form label { font-size: var(--t-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.event__row { display: flex; border-bottom: 1px solid var(--bone); }
.event__row input {
  flex: 1; min-width: 0;
  font: inherit; font-size: var(--t-ui);
  color: var(--bone); background: transparent;
  border: 0; padding: 12px 0; border-radius: 0;
}
.event__row input:focus { outline: none; }
.event__row:focus-within { border-bottom-color: var(--red); }
.event__row input[aria-invalid="true"] { color: var(--red); }
.event__row button {
  font: inherit; font-size: var(--t-small); font-weight: 500;
  background: var(--red); color: var(--black);
  border: 0; border-radius: 0; padding: 0 20px; margin-bottom: 8px; cursor: pointer;
}
.event__row button:hover { background: var(--bone); }
.event__row button:disabled { opacity: .5; cursor: progress; }
.event__status { font-size: var(--t-small); line-height: 1.5; color: var(--bone); min-height: 1.5em; }
.event__status.is-error { color: var(--red); }
.event__notice, .event__count { font-size: 0.8125rem; line-height: 1.5; color: rgba(208, 208, 208, 0.72); }
.event__notice a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.event__form.is-off .event__row, .event__form.is-off label { display: none; }
@media (max-width: 960px) {
  .event-band { padding-block: 72px; }
  .event__intro, .event__form { grid-column: 1 / -1; }
}
.event__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Optional closing image, its layers labelled. The image is 2:1 and the SVG shares
   its coordinates (viewBox and preserveAspectRatio slice match object-fit cover), so
   each dot stays on its layer at every width. Plate text is in those coordinates too,
   so it is sized in ems of a 16px base rather than steps of the page's type scale. */
.event__image { position: relative; margin: 96px 0 -112px; }
.event__image img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.plate { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 2 / 1; pointer-events: none; font-size: 16px; }
.pl-lead { fill: none; stroke: var(--bone); stroke-width: 2; }
.pl-dot { fill: var(--bone); }
.pl-n { font-family: var(--font-sans); font-size: 2.5em; fill: var(--bone); }
.stack-key { display: none; }
@media (min-width: 961px) and (max-width: 1279px) {
  .pl-n { font-size: 3.25em; }
}
@media (max-width: 960px) {
  .event__image { margin: 56px 0 0; }
  .event__image img { aspect-ratio: 1 / 1; }
  .plate { display: none; }
  .stack-key { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; list-style: none; margin: 0; padding: 32px var(--margin) 0; font-size: 14px; color: var(--bone); }
  .stack-key span { color: rgba(208, 208, 208, 0.66); }
}
