/* Home page sections (index.html). Shared tokens, header and footer live in styles.css. */
/* ---------- Hero ---------- */
.nm-hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 0; overflow: hidden; }
.vert { position: absolute; left: clamp(8px, 1.4vw, 20px); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; color: var(--muted); }
.vert::after { content: ""; display: block; width: 1px; height: 120px; margin: 24px auto 0; background: var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.nm-hero h1 { font: 300 clamp(2.9rem, 1.2rem + 6.4vw, 7rem)/0.92 var(--display); letter-spacing: 0.005em; text-transform: uppercase; color: var(--ink); }
.nm-hero h1 span { display: block; }
.who { margin-top: 32px; font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1.15 var(--serif); color: var(--rust); }
.sub { margin-top: 12px; max-width: 34ch; font-size: 1.1875rem; color: var(--text); }
.career { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-items: center; max-width: 520px; margin-top: 32px; padding: 18px 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); }
.career .lab { color: var(--rust); }
.career .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.career .lg { width: auto; height: 30px; }
.career .lg.pwc { height: 26px; } .career .lg.ey { height: 36px; }
.career .yl { display: inline-flex; min-height: 44px; align-items: center; }
.career .rule { grid-column: 1 / -1; height: 1px; background: var(--rule); }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.portrait { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.portrait .sun { position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; right: -14%; top: 4%; border-radius: 50%; background: radial-gradient(circle at 38% 34%, var(--rust-lit), var(--rust) 62%, #8f3412); }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 20%; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.stats div { padding: 20px 24px 28px; border-left: 1px solid var(--rule); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font: 300 clamp(2rem, 1.4rem + 2vw, 3.25rem)/1 var(--display); color: var(--rust); }
.stats span { display: block; margin-top: 8px; color: var(--muted); }

/* ---------- Tools: the programme panel + the 182-day ledger ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.prog { padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 80px) clamp(56px, 7vw, 104px) max(var(--m), calc((100vw - var(--max)) / 2 + var(--m))); }
.prog .lead { margin-top: 12px; font-size: 1.25rem; color: var(--on); }
.prog ol { margin-top: 40px; }
.prog li > * { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-top: 1px solid var(--on-rule); text-decoration: none; }
.prog li:last-child > * { border-bottom: 1px solid var(--on-rule); }
.prog .no { grid-row: span 2; color: var(--rust-lit); padding-top: 4px; }
.prog li b { font: 600 1.1875rem/1.3 var(--serif); color: var(--on); }
.prog li span:last-child { color: var(--on-muted); font-size: 1rem; }
.prog li a:hover b { color: var(--rust-lit); }
.prog .tag { display: inline-block; white-space: nowrap; margin-left: 10px; padding: 3px 8px; border: 1px solid var(--rust-lit); color: var(--rust-lit); font-size: 0.6875rem; font-style: normal; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 3px; }
.prog .link { margin-top: 32px; }
.ledger { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(40px, 6vw, 96px) max(var(--m), calc((100vw - var(--max)) / 2 + var(--m))) clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.ledger .year { display: grid; grid-template-columns: 2.6rem repeat(31, minmax(0, 1fr)); gap: clamp(3px, 0.4vw, 5px); align-items: center; max-width: 620px; }
.ledger .year b { grid-column: 1; font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.1em; color: var(--muted); }
.ledger .year i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.25px rgba(19, 58, 47, 0.35); }
.ledger .year i.in { background: var(--rust); box-shadow: none; }
.ledger .year i.line { background: var(--ink); box-shadow: none; }
.ledger .fig { font: 300 clamp(3.5rem, 2rem + 5vw, 7rem)/0.9 var(--display); color: var(--rust); }
.ledger .fig small { font: 500 0.8125rem/1 var(--mono); letter-spacing: 0.12em; color: var(--ink); margin-left: 12px; }
.ledger p { max-width: 40ch; color: var(--text); }
.ledger .verdict b { display: block; margin-bottom: 8px; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.ledger .btn { align-self: flex-start; }
.ledger.play .verdict, .ledger.play .btn { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.ledger.play.done .verdict, .ledger.play.done .btn { opacity: 1; transform: none; }
.ledger.play.done .btn { transition-delay: 150ms; }
.ledger .year i.in { transition: background-color 200ms ease; }
@media (prefers-reduced-motion: no-preference) {
}

/* ---------- Borderless: three guests, then the programme note ---------- */
.bl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ep { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: clamp(380px, 34vw, 520px); background: var(--deep); text-decoration: none; border-right: 1px solid var(--paper); }
.ep img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease); }
.ep:hover img { transform: scale(1.04); }
.ep .cap { margin-top: auto; padding: 24px 24px 28px; color: var(--on); }
.ep .cap b { display: block; font: 300 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--display); text-transform: uppercase; color: var(--rust-lit); }
.ep .cap span { display: block; margin-top: 6px; font-size: 0.9375rem; line-height: 1.4; }
.ep .cap small { display: block; margin-top: 10px; color: var(--on-muted); }
.bl-note { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(32px, 4vw, 64px); }
.bl-note .display { font-size: clamp(2rem, 1.2rem + 2.1vw, 3.25rem); }
.bl-note p { max-width: 30ch; font-size: 1.1875rem; }
.bl-note .acts { display: grid; gap: 4px; margin-top: 12px; }
.bl-note .guest { justify-self: start; margin-top: 8px; }

/* ---------- Most watched: framed like exhibits ---------- */
.watch { padding: clamp(72px, 9vw, 128px) 0; }
.watch .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: end; }
.watch .display, .tix .display { font-size: clamp(2rem, 1.2rem + 2vw, 3.25rem); }
.watch .intro p { margin-top: 12px; font-size: 1.1875rem; }
.watch .intro .link { margin-top: 24px; }
.ex { display: block; text-decoration: none; }
.ex figure { padding: 10px; background: var(--paper); box-shadow: 0 0 0 1px var(--rule), 0 18px 36px -24px rgba(14, 44, 36, 0.45); transition: transform 400ms var(--ease); }
.ex:hover figure { transform: translateY(-4px); }
.ex img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ex .v { margin-top: 18px; color: var(--rust); }
.ex h3 { margin-top: 6px; font: 600 1.0625rem/1.35 var(--serif); color: var(--ink); }

/* ---------- Manifesto: rust panel + drawn horizon ---------- */
.mani { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 420px; }
.mani .say { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 96px) max(var(--m), calc((100vw - var(--max)) / 2 + var(--m))); background: var(--rust); color: var(--on); background-image: linear-gradient(rgba(244, 241, 232, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 241, 232, 0.1) 1px, transparent 1px); background-size: 56px 56px; }
.mani blockquote { margin: 0; font: 400 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.1 var(--serif); letter-spacing: -0.01em; }
.mani .link { color: var(--on); }
.horizon { position: relative; overflow: hidden; background: var(--green); }
.horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Consult: four topics as tickets + the stamp ---------- */
.tix { padding: clamp(72px, 9vw, 128px) 0; }
.tix .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.2fr) minmax(200px, 0.8fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.tix .intro p { margin-top: 12px; font-size: 1.1875rem; }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topics li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 16px; text-align: center; border-left: 1px solid var(--rule); }
.topics li:first-child { border-left: 0; }
.topics .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rust); }
.topics b { color: var(--ink); }
.topics span:last-child { font-size: 0.9375rem; color: var(--muted); }
.stamp-box { display: grid; gap: 16px; justify-items: center; }
.stamp { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--rust); text-decoration: none; transition: background-color 200ms ease; }
.stamp:hover { background: var(--rust-hi); }
.stamp span { display: grid; place-items: center; width: 72%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--on); color: var(--on); text-align: center; font: 500 0.875rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; transition: transform 500ms var(--ease); }
.stamp:hover span { transform: rotate(-8deg) scale(1.03); }

/* ---------- Read ---------- */
.reads { padding: 0 0 clamp(72px, 9vw, 128px); }
.reads .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 48px); }
.reads ul { border-top: 1px solid var(--ink); }
.reads li a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 16px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.reads li small { color: var(--muted); }
.reads li b { font: 600 1.125rem/1.35 var(--serif); color: var(--ink); }
.reads li a:hover b { color: var(--rust); }

/* ---------- Reveal (content is visible unless the observer runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
  .rv [data-rv].on { opacity: 1; transform: none; }
  .rv .nm-hero h1 span { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--d) * 110ms); }
  .rv .portrait .sun { animation: sunrise 1600ms var(--ease) 200ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
@keyframes sunrise { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1000px) {
  .vert { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 520px; }
  .split, .mani { grid-template-columns: minmax(0, 1fr); }
  .prog, .ledger, .mani .say { padding-left: var(--m); padding-right: var(--m); }
  .horizon { min-height: 280px; }
  .bl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bl-note { grid-column: 1 / -1; }
  .watch .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .watch .intro { grid-column: 1 / -1; }
  .tix .wrap { grid-template-columns: minmax(0, 1fr); }
  .stamp-box { justify-items: start; }
  .stamp { width: 220px; }
  .reads .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stats div { padding: 16px 12px 20px; }
  .prog li > * { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 4px 12px; }
  .stats span { font-size: 0.6875rem; }
  .bl { grid-template-columns: minmax(0, 1fr); }
  .bl .ep { min-height: 0; border-right: 0; border-bottom: 1px solid var(--paper); }
  .watch .wrap { grid-template-columns: minmax(0, 1fr); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .topics li:nth-child(3) { border-left: 0; }
  .reads li a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .reads li .link { display: none; }
}
