/* SpeakerOneSheet, stage editorial design system. Light only. */

:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --ink: #191919;
  --primary: #33383F;
  --accent: #F0A93B;
  --muted: #63666B;

  --accent-100: #FEF7EB;
  --accent-200: #FBE9C8;
  --accent-300: #F7D69A;
  --accent-400: #F5C673;
  --primary-050: #F4F5F6;
  --primary-100: #E9EAEC;
  --primary-200: #D6D8DB;
  --primary-300: #BCBFC4;
  --rule: #E4E4E1;
  --rule-strong: #CFCFCA;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(25, 25, 25, 0.06);
  --shadow: 0 10px 26px rgba(25, 25, 25, 0.07);
  --shadow-lift: 0 18px 44px rgba(25, 25, 25, 0.10);

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.16rem, 1.09rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);
  --step-5: clamp(2.7rem, 1.9rem + 3.9vw, 4.9rem);

  --display: "Geologica", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: "Epilogue", "Helvetica Neue", Arial, system-ui, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* the stage floor: a faint amber wash that never darkens the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(240, 169, 59, 0.16), rgba(240, 169, 59, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 30%);
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}

h1 { font-size: var(--step-5); letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.16; }
h4 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0 0 var(--space-4); }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 var(--space-4); padding-left: 1.15rem; }
li { margin-bottom: var(--space-2); }
strong { font-weight: 700; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -60px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  font-family: var(--display); font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: var(--space-3); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ------------------------------------------------ marquee lettering */
.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.lead { font-size: var(--step-1); color: var(--primary); max-width: 62ch; }
.muted { color: var(--muted); }

/* ------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--rule-strong); }
.header-inner {
  display: flex; align-items: center; gap: var(--space-5);
  min-height: 74px;
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--display); font-weight: 700;
  font-size: 1.14rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 32px; height: 32px; flex: none; }
.brand span em { font-style: normal; color: var(--muted); font-weight: 500; }

.nav-list {
  display: flex; align-items: center; gap: var(--space-5);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  font-family: var(--display); font-weight: 500; font-size: 0.95rem;
  color: var(--primary); text-decoration: none; padding: var(--space-2) 0;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent);
  transition: right 0.22s ease;
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { right: 0; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  width: 44px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--display); font-weight: 600; font-size: 0.98rem;
  padding: 0.82rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--primary); color: var(--surface); }
.btn-primary:hover { background: var(--ink); color: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-400); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: var(--surface); color: var(--primary);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn-block { width: 100%; }

/* ------------------------------------------------ hero, spotlight sweep */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 var(--space-8); position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(240, 169, 59, 0.22) 48%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-30%);
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep {
  0% { transform: translateX(-45%); }
  50% { transform: translateX(45%); }
  100% { transform: translateX(-45%); }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  position: relative; z-index: 2;
}
.hero h1 .rise {
  display: inline-block;
  animation: rise 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.hero h1 .rise:nth-child(2) { animation-delay: 0.07s; }
.hero h1 .rise:nth-child(3) { animation-delay: 0.14s; }
.hero h1 .rise:nth-child(4) { animation-delay: 0.21s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(0.5em); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 mark {
  background: linear-gradient(180deg, rgba(240, 169, 59, 0) 58%, var(--accent-300) 58%);
  color: inherit; padding: 0 0.06em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 var(--space-6); }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
}
.trust-strip div { display: flex; align-items: center; gap: var(--space-3); font-size: 0.94rem; color: var(--primary); }
.trust-strip svg { width: 20px; height: 20px; flex: none; }

.hero-figure { position: relative; }
.hero-figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lift);
}
.hero-figure::before {
  content: "";
  position: absolute; left: -18px; top: -18px; right: 34%; bottom: 42%;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg) 0 0 0;
}
.hero-badge {
  position: absolute; right: -10px; bottom: -22px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-5);
  max-width: 250px;
}
.hero-badge b { font-family: var(--display); display: block; font-size: 1.5rem; }
.hero-badge span { font-size: 0.86rem; color: var(--muted); }

/* ------------------------------------------------ sections */
section { padding: clamp(3.5rem, 7vw, var(--space-9)) 0; }
.band-tint { background: var(--accent-100); border-block: 1px solid var(--accent-200); }
.band-white { background: var(--surface); border-block: 1px solid var(--rule); }
.section-head { max-width: 68ch; margin-bottom: var(--space-7); }

/* marquee rule: a row of amber dots like stage-front bulbs */
.bulbs {
  height: 10px;
  background-image: radial-gradient(circle, var(--accent) 0 3px, rgba(240, 169, 59, 0) 3.5px);
  background-size: 26px 10px;
  background-repeat: repeat-x;
  margin-bottom: var(--space-6);
  opacity: 0.75;
}

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.card h3 { font-size: var(--step-1); }
.card p:last-child { margin-bottom: 0; }

.card-pain { border-left: 3px solid var(--accent); }
.cost {
  display: inline-block; margin-top: var(--space-3);
  font-family: var(--display); font-weight: 600; font-size: 0.88rem;
  background: var(--accent-100);
  border: 1px solid var(--accent-200);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
}

.icon-tile {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  background: var(--accent-100);
}
.icon-tile svg { width: 24px; height: 24px; }
.ico { stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* how it works, stage risers */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step {
  display: grid; grid-template-columns: 74px 1fr; gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--rule);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  counter-increment: step;
  font-family: var(--display); font-weight: 700;
  font-size: 2.1rem; line-height: 1;
  color: var(--accent);
  border-top: 3px solid var(--ink);
  padding-top: var(--space-3);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: var(--space-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split figure { margin: 0; }
.split img { border-radius: var(--radius-lg); border: 1px solid var(--rule); box-shadow: var(--shadow); }
figcaption { font-size: 0.86rem; color: var(--muted); margin-top: var(--space-3); }

/* outcomes */
.outcome {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--space-5);
}
.outcome b {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: var(--step-4); line-height: 1; letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
}

/* testimonials */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5) var(--space-5);
  margin: 0;
  position: relative;
}
.testimonial::before {
  content: "";
  position: absolute; top: 0; left: var(--space-5); right: var(--space-5);
  height: 4px; background: var(--accent); border-radius: 0 0 4px 4px;
}
.testimonial p { font-size: 1.03rem; }
.testimonial footer { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: var(--space-3); }
.testimonial footer b { display: block; color: var(--ink); font-family: var(--display); font-size: 0.98rem; }

.results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: var(--space-6);
  overflow: hidden;
}
.results div { padding: var(--space-5); border-left: 1px solid var(--rule); text-align: center; }
.results div:first-child { border-left: 0; }
.results b { display: block; font-family: var(--display); font-size: var(--step-3); letter-spacing: -0.03em; }
.results span { font-size: 0.9rem; color: var(--muted); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: start; }
.tier {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  display: flex; flex-direction: column;
}
.tier.is-recommended {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.tier-flag {
  position: absolute; top: -15px; left: var(--space-5);
  background: var(--accent); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-pill);
}
.tier h3 { margin-bottom: var(--space-2); }
.price { font-family: var(--display); font-weight: 700; font-size: var(--step-4); letter-spacing: -0.04em; line-height: 1; }
.price small { font-family: var(--body); font-size: 0.95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: var(--space-5) 0; flex: 1; }
.tier ul li { padding-left: 1.7rem; position: relative; font-size: 0.96rem; }
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.billing-note {
  margin-top: var(--space-5); text-align: center;
  font-size: 0.94rem; color: var(--muted);
}

/* faq */
.faq-item { border-bottom: 1px solid var(--rule-strong); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: var(--step-1);
  color: var(--ink);
  padding: var(--space-5) 3rem var(--space-5) 0;
  position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { padding: 0 var(--space-6) var(--space-5) 0; max-width: 76ch; color: var(--primary); }
.faq-a p:last-child { margin-bottom: 0; }

/* form */
.form-shell {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, var(--space-7));
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.92rem; margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body); font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface); }
.field [aria-invalid="true"] { border-color: #B3341C; }
.error { display: none; color: #8E2A16; font-size: 0.86rem; margin-top: var(--space-2); }
.error.is-shown { display: block; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 0.93rem; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
.form-alt { margin-top: var(--space-4); font-size: 0.92rem; color: var(--muted); }

/* footer */
.site-footer {
  background: var(--primary-050);
  border-top: 3px solid var(--accent);
  padding: var(--space-8) 0 var(--space-5);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.footer-grid h2 {
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--space-4);
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid a { color: var(--primary); text-decoration: none; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--primary);
}
.social a:hover { border-color: var(--accent); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-base {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  justify-content: space-between; font-size: 0.88rem; color: var(--muted);
}
.byline {
  margin-top: var(--space-7);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
  font-size: 0.94rem; color: var(--muted);
}

/* prose pages */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-6); }
.page-head { padding: var(--space-8) 0 var(--space-6); border-bottom: 1px solid var(--rule); }
.author-portrait {
  border-radius: var(--radius-lg); border: 1px solid var(--rule);
  box-shadow: var(--shadow); max-width: 280px;
}
.panel {
  background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-5);
}
.map-list { list-style: none; padding: 0; }
.map-list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.map-list a { font-family: var(--display); font-weight: 600; }
.map-list span { display: block; color: var(--muted); font-size: 0.92rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { position: static; margin-top: var(--space-4); max-width: none; }
  .hero-figure::before { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--rule-strong);
    padding: var(--space-4) 1.25rem var(--space-5);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .header-cta { display: none; }
  .grid-2, .grid-3, .grid-4, .tiers, .form-cols { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
  .results div { border-left: 0; border-top: 1px solid var(--rule); }
  .results div:first-child { border-top: 0; }
  .step { grid-template-columns: 1fr; gap: var(--space-3); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .wrap, .wrap-narrow { width: min(100% - 1.5rem, var(--maxw)); }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero::after { display: none; }
  body { background: #FFFFFF; }
}

/* ================================================ The Booking Room, the magazine */

/* breadcrumb */
.mag-crumb { padding: var(--space-5) 0 0; }
.mag-crumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  font-family: var(--display); font-size: 0.84rem; color: var(--muted);
}
.mag-crumb li { margin: 0; display: flex; align-items: center; gap: var(--space-3); }
.mag-crumb li + li::before {
  content: ""; width: 5px; height: 5px; flex: none;
  border-top: 1.5px solid var(--rule-strong);
  border-right: 1.5px solid var(--rule-strong);
  transform: rotate(45deg);
}
.mag-crumb a { color: var(--primary); text-decoration: none; }
.mag-crumb a:hover { color: var(--ink); text-decoration: underline; }
.mag-crumb li[aria-current="page"] {
  color: var(--muted);
  max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* masthead of the magazine index */
.mag-masthead { padding: var(--space-7) 0 var(--space-6); max-width: 72ch; }
.mag-masthead h1 { font-size: var(--step-5); margin-bottom: var(--space-5); }
.mag-masthead-note { color: var(--primary); max-width: 64ch; margin-bottom: 0; }
.mag-standfirst {
  font-family: var(--body);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--primary);
  max-width: 64ch;
}

/* index grid */
.mag-grid-wrap { padding-bottom: var(--space-8); }
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-5); }

.mag-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.mag-card-media { display: block; border-bottom: 1px solid var(--rule); }
.mag-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mag-card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.mag-kicker {
  font-family: var(--display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-100);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-pill);
  padding: 0.24rem 0.7rem;
  align-self: flex-start;
  margin-bottom: var(--space-4);
}
.mag-card-title { font-size: var(--step-1); line-height: 1.2; margin-bottom: var(--space-3); }
.mag-card-title a { color: var(--ink); text-decoration: none; }
.mag-card-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.mag-card-dek { color: var(--primary); font-size: 0.96rem; margin-bottom: var(--space-4); }
.mag-card-meta {
  margin: auto 0 0;
  font-family: var(--display); font-size: 0.82rem; color: var(--muted);
  border-top: 1px solid var(--rule); padding-top: var(--space-3);
}

/* the lead report runs across the grid, image beside the text */
.mag-card.lead {
  grid-column: 1 / -1;
  flex-direction: row; align-items: stretch;
  border-top: 3px solid var(--accent);
}
.mag-card.lead .mag-card-media { flex: 0 0 52%; border-bottom: 0; border-right: 1px solid var(--rule); }
.mag-card.lead .mag-card-media img { height: 100%; aspect-ratio: auto; min-height: 340px; }
.mag-card.lead .mag-card-body { padding: clamp(1.5rem, 3vw, var(--space-7)); justify-content: center; }
.mag-card.lead .mag-card-title { font-size: var(--step-3); }
.mag-card.lead .mag-card-dek { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }

.mag-index-cta { border-block: 1px solid var(--accent-200); }
.mag-index-cta h2 { font-size: var(--step-3); max-width: 24ch; }
.mag-index-cta .lead { margin-bottom: var(--space-5); }

/* article header */
.mag-article { padding-bottom: var(--space-8); }
.mag-article-head { max-width: 68ch; padding: var(--space-6) 0 var(--space-6); }
.mag-article-head h1 {
  font-size: var(--step-4);
  line-height: 1.08;
  margin-bottom: var(--space-5);
}
.mag-byline {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-6);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
}
.mag-byline-face {
  width: 52px; height: 52px; flex: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule-strong);
  object-fit: cover;
}
.mag-byline-text { margin: 0; font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.mag-byline-text a { color: var(--ink); }
.mag-byline-meta { display: block; font-weight: 400; font-size: 0.84rem; color: var(--muted); margin-top: 2px; }

.mag-figure { margin: 0 0 var(--space-7); }
.mag-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.mag-figure figcaption {
  font-size: 0.85rem; color: var(--muted);
  padding-top: var(--space-3);
  border-bottom: 1px solid var(--rule); padding-bottom: var(--space-4);
  max-width: 64ch;
}

/* article body typography, a 68 character measure */
.mag-body { max-width: 68ch; font-size: 1.06rem; line-height: 1.72; color: var(--ink); }
.mag-body > p { margin: 0 0 var(--space-5); }
.mag-body h2 {
  font-size: var(--step-2);
  line-height: 1.14;
  margin: var(--space-8) 0 var(--space-4);
  padding-top: var(--space-4);
  border-top: 2px solid var(--accent-200);
}
.mag-body h3 { font-size: var(--step-1); margin: var(--space-6) 0 var(--space-3); }
.mag-body ul, .mag-body ol { margin: 0 0 var(--space-5); padding-left: 1.35rem; }
.mag-body li { margin-bottom: var(--space-3); }
.mag-body strong { color: var(--ink); }
.mag-body a { color: var(--primary); text-decoration-color: var(--accent); }
.mag-body a:hover { color: var(--ink); }
.mag-body blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  background: var(--accent-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step-1); line-height: 1.5;
}
.mag-body blockquote p:last-child { margin-bottom: 0; }
.mag-body table {
  width: 100%; border-collapse: collapse;
  margin: 0 0 var(--space-6); font-size: 0.95rem;
  display: block; overflow-x: auto;
}
.mag-body th, .mag-body td {
  text-align: left; padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.mag-body thead th {
  font-family: var(--display); font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-050);
  border-bottom: 2px solid var(--rule-strong);
}

/* the contextual keep reading line inside the body */
.inline-read {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  background: var(--accent-100);
  border: 1px solid var(--accent-200);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--display); font-weight: 500; font-size: 0.95rem;
  color: var(--muted);
}
.inline-read a { font-weight: 600; color: var(--ink); text-decoration-color: var(--accent); }

/* end of article call to action */
.mag-cta {
  max-width: 68ch;
  margin-top: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, var(--space-7));
  box-shadow: var(--shadow-sm);
}
.mag-cta h2 { font-size: var(--step-2); margin-bottom: var(--space-4); }
.mag-cta p { color: var(--primary); margin-bottom: var(--space-5); }

/* author box */
.mag-author {
  max-width: 68ch;
  margin-top: var(--space-6);
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-5);
  background: var(--primary-050);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.mag-author img {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
}
.mag-author p { font-size: 0.95rem; color: var(--primary); margin-bottom: var(--space-3); }
.mag-author p:last-child { margin-bottom: 0; }
.mag-author-name {
  font-family: var(--display); font-weight: 700; font-size: var(--step-1);
  color: var(--ink) !important;
}

/* read also */
.mag-related h2 { font-size: var(--step-3); margin-bottom: var(--space-6); }
.mag-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.mag-rel {
  background: var(--surface);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mag-rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mag-rel-media { display: block; }
.mag-rel-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mag-rel-title { font-size: 1.02rem; line-height: 1.25; margin: var(--space-5) var(--space-5) var(--space-3); }
.mag-rel-title a { color: var(--ink); text-decoration: none; }
.mag-rel-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.mag-rel-dek {
  margin: 0 var(--space-5) var(--space-4);
  font-size: 0.9rem; color: var(--primary);
}
.mag-rel-meta {
  margin: auto var(--space-5) var(--space-5);
  font-family: var(--display); font-size: 0.8rem; color: var(--muted);
}
.mag-related-more { margin: var(--space-6) 0 0; font-family: var(--display); font-weight: 600; }

/* home page magazine teaser */
.mag-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.mag-teaser-more { margin-top: var(--space-6); font-family: var(--display); font-weight: 600; }

@media (max-width: 980px) {
  .mag-grid, .mag-related-grid, .mag-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .mag-card.lead { flex-direction: column; }
  .mag-card.lead .mag-card-media { flex: none; border-right: 0; border-bottom: 1px solid var(--rule); }
  .mag-card.lead .mag-card-media img { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .mag-grid, .mag-related-grid, .mag-teaser-grid { grid-template-columns: 1fr; }
  .mag-article-head h1 { font-size: var(--step-3); }
  .mag-author { grid-template-columns: 1fr; }
  .mag-author img { width: 96px; height: 96px; }
  .mag-body { font-size: 1.02rem; }
  .mag-byline { align-items: flex-start; }
  .mag-crumb li[aria-current="page"] { max-width: 22ch; }
}
@media (max-width: 380px) {
  .mag-card-body { padding: var(--space-4); }
  .mag-cta, .mag-author { padding: var(--space-4); }
  .mag-rel-title, .mag-rel-dek, .mag-rel-meta { margin-inline: var(--space-4); }
}


/* Network column: five sibling products, rotated so every site is linked the same
   number of times. Sits in the footer link grid and inherits its type and colour. */
.site-network ul { list-style: none; margin: 0; padding: 0; }
.site-network li + li { margin-top: 0.4rem; }
.site-network a { text-decoration: none; border-bottom: 1px solid transparent; }
.site-network a:hover, .site-network a:focus-visible { border-bottom-color: currentColor; }
