/* MastermindSeats: roundtable modern design system. Light only, always. */

:root {
  --bg: #F9FAF8;
  --surface: #FFFFFF;
  --ink: #181D1A;
  --primary: #1F6149;
  --accent: #D8CFC0;
  --muted: #5F665F;

  --primary-tint-04: #F2F7F4;
  --primary-tint-08: #EAF2ED;
  --primary-tint-14: #DCEAE2;
  --primary-line: #BFD6C9;
  --primary-deep: #174937;
  --stone-04: #FBF9F6;
  --stone-08: #F5F1EA;
  --stone-line: #E7E0D4;
  --rule: #E4E7E3;

  --font-display: "Wix Madefor Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.16rem, 1.1rem + 0.3vw, 1.32rem);
  --step-2: clamp(1.4rem, 1.28rem + 0.55vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.1vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.2vw, 3.5rem);

  --sp-1: 0.35rem;
  --sp-2: 0.7rem;
  --sp-3: 1.1rem;
  --sp-4: 1.7rem;
  --sp-5: 2.6rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8.5rem;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-round: 999px;

  --shadow-1: 0 1px 2px rgba(24, 29, 26, 0.05);
  --shadow-2: 0 12px 34px rgba(24, 29, 26, 0.07);
  --shadow-3: 0 26px 60px rgba(24, 29, 26, 0.09);

  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
  --wrap: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

/* The warm stone ground: a very faint concentric ring field, like a table top. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 6%, var(--primary-tint-04), transparent 46%),
    repeating-radial-gradient(circle at 50% 0%, transparent 0 78px, var(--stone-08) 78px 79px);
  opacity: 0.75;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0 0 var(--sp-3);
  color: var(--ink);
}

h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }

p { margin: 0 0 var(--sp-3); }
a { color: var(--primary-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 var(--sp-3); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-1); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--sp-5) 0; }

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

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

.skip-link {
  position: absolute;
  left: var(--sp-3);
  top: -100px;
  z-index: 200;
  background: var(--surface);
  color: var(--primary-deep);
  border: 2px solid var(--primary);
  border-radius: var(--r-round);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--sp-3); }

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

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); box-shadow: var(--shadow-1); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 74px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.wordmark svg { width: 32px; height: 32px; flex: none; }
.wordmark span em { font-style: normal; color: var(--primary); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--primary);
  transition: right 0.3s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-round);
  cursor: pointer;
  color: var(--ink);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.92rem 1.6rem;
  border-radius: var(--r-round);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease);
}
.btn-primary { background: var(--primary); color: #FFFFFF; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--primary-deep); color: #FFFFFF; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--stone-line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); }
.btn-quiet { background: transparent; color: var(--primary-deep); padding-inline: 0.2rem; }
.btn-full { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }

section { padding-block: var(--sp-7); }
.section-head { max-width: 42rem; margin-bottom: var(--sp-5); }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: var(--sp-6); padding-bottom: var(--sp-7); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-6);
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero h1 .rule-word {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 0.86em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-left: 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.trust-strip li::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

.hero-figure { position: relative; }
.hero-figure img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1px dashed var(--primary-line);
  z-index: -1;
}

/* the seat ring: eight seats filling around a circle */
.seat-ring {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--stone-line);
  box-shadow: var(--shadow-2);
  display: grid;
  place-items: center;
}
.seat-ring .ring-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.seat-ring i {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid var(--primary-line);
  top: 50%; left: 50%;
  margin: -6.5px 0 0 -6.5px;
  transform: rotate(var(--a)) translate(50px) rotate(calc(-1 * var(--a)));
  animation: seat-fill 4.8s var(--ease) infinite;
  animation-delay: var(--d);
}
@keyframes seat-fill {
  0%, 12% { background: transparent; border-color: var(--primary-line); }
  22%, 78% { background: var(--primary); border-color: var(--primary); }
  92%, 100% { background: transparent; border-color: var(--primary-line); }
}

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  box-shadow: var(--shadow-1);
}
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* problem */
.band-stone { background: var(--stone-04); border-block: 1px solid var(--stone-line); }
.cost-card { position: relative; padding-top: calc(var(--sp-4) + 6px); }
.cost-card::before {
  content: "";
  position: absolute;
  top: -1px; left: var(--sp-4); right: var(--sp-4);
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}
.cost-figure {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--primary-deep);
  display: block;
  margin-top: var(--sp-2);
}
.cost-figure small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; font-family: var(--font-body); }

/* steps */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule);
}
.step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--primary-tint-08);
  border: 1px solid var(--primary-line);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); }
.section-figure img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.section-figure figcaption {
  margin-top: var(--sp-2);
  font-size: 0.84rem;
  color: var(--muted);
  padding-left: var(--sp-3);
  border-left: 2px solid var(--accent);
}

/* features */
.feature { display: flex; flex-direction: column; gap: 0.6rem; }
.feature .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--primary-line);
  background: var(--primary-tint-04);
  color: var(--primary-deep);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* outcomes */
.outcome { padding: var(--sp-4) 0; border-top: 2px solid var(--ink); }
.outcome .figure {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.2rem;
}
.outcome h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); color: var(--primary-deep); margin-bottom: 0.5rem; }
.outcome p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* testimonials */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.testimonial::before {
  content: "";
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  border-right-color: var(--primary);
}
.testimonial p { font-size: 1.02rem; margin: 0; }
.testimonial footer { font-size: 0.86rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: var(--sp-2); }
.testimonial footer b { display: block; color: var(--ink); font-size: 0.95rem; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--primary-tint-04);
  border: 1px solid var(--primary-line);
  border-radius: var(--r-lg);
  text-align: center;
}
.metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--primary-deep);
  letter-spacing: -0.03em;
}
.metrics span { font-size: 0.86rem; color: var(--muted); }

/* pricing */
.tier { display: flex; flex-direction: column; position: relative; }
.tier.is-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-2);
}
.tier .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-round);
  white-space: nowrap;
}
.tier .price {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier .price small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: var(--sp-3) 0 var(--sp-4); flex: 1; }
.tier li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.6rem;
  font-size: 0.92rem;
  padding-block: 0.32rem;
  border-bottom: 1px dashed var(--rule);
}
.tier li::before {
  content: "";
  width: 11px; height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.billing-note {
  margin-top: var(--sp-4);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* faq */
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  background: transparent;
  border: 0;
  padding: var(--sp-3) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-q .sign {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary-line);
  display: grid; place-items: center;
  color: var(--primary-deep);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-q[aria-expanded="true"] .sign { transform: rotate(45deg); background: var(--primary-tint-14); }
.faq-a { padding: 0 0 var(--sp-3); max-width: 62ch; color: var(--muted); }
.faq-a[hidden] { display: none; }

/* contact */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-2);
}
.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-sm);
  padding: 0.72rem 0.85rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field [aria-invalid="true"] { border-color: #9B2C2C; }
.err { display: block; font-size: 0.8rem; color: #8C2222; margin-top: 0.3rem; min-height: 1em; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; font-size: 0.87rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-3); }
.form-reassure { font-size: 0.87rem; color: var(--muted); margin-top: var(--sp-3); }

/* byline */
.byline {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-4);
  border: 1px solid var(--stone-line);
  background: var(--stone-04);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  color: var(--muted);
}
.byline b { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--primary-tint-04);
  border-top: 1px solid var(--primary-line);
  padding-top: var(--sp-6);
  margin-top: var(--sp-7);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-5); }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--primary-deep); text-decoration: underline; }
.footer-positioning { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }
.social { display: flex; gap: 0.5rem; margin-top: var(--sp-3); }
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--primary-line);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--primary-deep);
}
.social a:hover { border-color: var(--primary); background: var(--primary-tint-08); }
.social svg { width: 17px; height: 17px; }
.footer-base {
  margin-top: var(--sp-5);
  border-top: 1px solid var(--primary-line);
  padding-block: var(--sp-3) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- prose pages */
.page-head { padding-block: var(--sp-6) var(--sp-4); border-bottom: 1px solid var(--rule); }
.prose { padding-block: var(--sp-5) var(--sp-6); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-5); }
.prose h3 { margin-top: var(--sp-4); }
.prose p, .prose li { color: #2C332E; }
.dl-facts { margin: 0; }
.dl-facts div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-3);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.dl-facts dt { font-weight: 600; }
.dl-facts dd { margin: 0; color: var(--muted); }
.author-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-5); align-items: start; }
.author-grid img { border-radius: var(--r-lg); border: 1px solid var(--stone-line); box-shadow: var(--shadow-2); }
.map-group { margin-bottom: var(--sp-5); }
.map-group li { margin-bottom: 0.6rem; }
.map-group li span { color: var(--muted); font-size: 0.9rem; display: block; }

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

.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 97, 73, 0.35); }
  55% { box-shadow: 0 0 0 9px rgba(31, 97, 73, 0); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero-grid, .steps-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-block: 1px solid var(--rule);
    box-shadow: var(--shadow-2);
    padding: var(--sp-3) 1.2rem var(--sp-4);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--rule); }
  .nav-list a { display: block; padding: 0.8rem 0; font-size: 1rem; }
  .header-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; }
  .dl-facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 620px) {
  section { padding-block: var(--sp-6); }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
  .seat-ring { display: none; }
  .contact-panel { padding: var(--sp-4); }
}

@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-actions { display: none; }
  body { background: #FFFFFF; }
}

/* ================================================================ magazine
   The Roundtable. Same tokens, same typefaces, same light ground as the site. */

.mag-crumb { padding-block: var(--sp-4) 0; }
.mag-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.mag-crumb li + li::before { content: "/"; margin-right: 0.45rem; color: var(--primary-line); }
.mag-crumb a { color: var(--muted); text-decoration: none; }
.mag-crumb a:hover { color: var(--primary-deep); text-decoration: underline; }
.mag-crumb li:last-child span { color: var(--ink); }

.mag-measure { width: min(100% - 2.4rem, 720px); margin-inline: auto; }

/* ---- article header */
.mag-article { padding-block: var(--sp-5) var(--sp-7); }
.mag-head { margin-bottom: var(--sp-5); }
.mag-head h1 { font-size: var(--step-3); line-height: 1.12; margin-bottom: var(--sp-3); }
.mag-standfirst {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.01em;
  max-width: 34em;
}
.mag-byline {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
}
.mag-byline p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.mag-byline a { font-weight: 600; }
.mag-byline span + span::before { content: "\00b7"; margin: 0 0.5rem; color: var(--primary-line); }
.mag-byline-face {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--stone-line);
}

.mag-figure { margin: 0 0 var(--sp-5); }
.mag-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--stone-line);
  box-shadow: var(--shadow-2);
}
.mag-figure figcaption {
  margin-top: var(--sp-2);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ---- article body: 64 to 75 characters of measure */
.mag-body { font-size: 1.055rem; line-height: 1.72; color: #2C332E; }
.mag-body > * { max-width: 68ch; }
.mag-body p { margin: 0 0 var(--sp-3); }
.mag-body h2 {
  font-size: var(--step-2);
  margin: var(--sp-5) 0 var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.mag-body h3 { font-size: var(--step-1); margin: var(--sp-4) 0 var(--sp-2); }
.mag-body ul, .mag-body ol { margin: 0 0 var(--sp-3); padding-left: 1.3rem; }
.mag-body li { margin-bottom: 0.45rem; }
.mag-body blockquote {
  margin: var(--sp-4) 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--primary-tint-04);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.mag-body blockquote p:last-child { margin-bottom: 0; }
.mag-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
  font-size: 0.94rem;
  background: var(--surface);
}
.mag-body th, .mag-body td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.mag-body thead th { background: var(--stone-08); font-family: var(--font-body); font-weight: 600; }

.inline-read {
  margin: var(--sp-4) 0;
  padding: 0.85rem var(--sp-3);
  background: var(--stone-04);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-md);
  font-size: 0.94rem;
  color: var(--muted);
}
.inline-read a { font-weight: 600; }

/* ---- call to action */
.mag-cta {
  margin: var(--sp-6) 0 var(--sp-5);
  padding: var(--sp-4);
  background: var(--primary-tint-08);
  border: 1px solid var(--primary-line);
  border-radius: var(--r-lg);
}
.mag-cta h2 { font-size: var(--step-2); margin-bottom: var(--sp-2); }
.mag-cta p { color: var(--muted); margin-bottom: var(--sp-3); max-width: 46ch; }

/* ---- author box */
.mag-author {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--sp-3) var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.mag-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--stone-line); }
.mag-author p { font-size: 0.94rem; color: var(--muted); margin-bottom: var(--sp-2); }
.mag-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
}

/* ---- read also */
.mag-related { padding-block: var(--sp-6); background: var(--stone-04); border-top: 1px solid var(--stone-line); }
.mag-related > .wrap > h2 { font-size: var(--step-2); margin-bottom: var(--sp-4); }
.mag-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.mag-rel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.mag-rel:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.mag-rel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mag-rel h3 { font-size: 1.02rem; line-height: 1.25; margin: var(--sp-3) var(--sp-3) 0.5rem; }
.mag-rel h3 a { text-decoration: none; color: var(--ink); }
.mag-rel h3 a:hover { color: var(--primary-deep); text-decoration: underline; }
.mag-rel p { margin: 0 var(--sp-3) var(--sp-3); font-size: 0.88rem; color: var(--muted); }
.mag-rel .mag-meta { margin-top: auto; }
.mag-related-all { margin: var(--sp-4) 0 0; font-weight: 600; }

.mag-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.79rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mag-meta span::before { content: "\00b7"; margin-right: 0.5rem; color: var(--primary-line); }

/* ---- magazine index */
.mag-masthead { padding-block: var(--sp-5) var(--sp-4); border-bottom: 1px solid var(--rule); }
.mag-masthead h1 { font-size: var(--step-4); margin-bottom: var(--sp-3); }
.mag-masthead .mag-standfirst { max-width: 46ch; }
.mag-masthead-meta { margin-top: var(--sp-3); font-size: 0.92rem; color: var(--muted); max-width: 52ch; }

.mag-index { padding-block: var(--sp-5) var(--sp-7); }
.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
.mag-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.mag-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: var(--primary-line); }
.mag-card-img { display: block; }
.mag-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mag-card-body { padding: var(--sp-3) var(--sp-3) var(--sp-4); display: flex; flex-direction: column; flex: 1; }
.mag-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
}
.mag-card h2 { font-size: 1.08rem; line-height: 1.28; margin-bottom: 0.55rem; }
.mag-card h2 a { color: var(--ink); text-decoration: none; }
.mag-card h2 a:hover { color: var(--primary-deep); text-decoration: underline; }
.mag-card-dek { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--sp-3); }
.mag-card .mag-meta { margin-top: auto; }

/* the lead card: article one takes the full width of the grid */
.mag-card.lead { grid-column: 1 / -1; flex-direction: row; align-items: stretch; border-radius: var(--r-lg); }
.mag-card.lead .mag-card-img { flex: 1 1 56%; min-width: 0; }
.mag-card.lead img { height: 100%; aspect-ratio: auto; min-height: 340px; }
.mag-card.lead .mag-card-body { flex: 1 1 44%; justify-content: center; padding: var(--sp-5); }
.mag-card.lead h2 { font-size: var(--step-2); line-height: 1.14; }
.mag-card.lead .mag-card-dek { font-size: 1rem; }
.mag-card.lead .mag-meta { margin-top: var(--sp-3); }

.mag-index-cta {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

/* ---- home page teaser */
.mag-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.mag-teaser-head .section-head { margin-bottom: 0; }
.mag-teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }

@media (max-width: 1020px) {
  .mag-grid, .mag-related-grid, .mag-teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-card.lead { flex-direction: column; }
  .mag-card.lead img { min-height: 0; aspect-ratio: 16 / 9; }
  .mag-card.lead .mag-card-body { padding: var(--sp-4); }
}
@media (max-width: 700px) {
  .mag-grid, .mag-related-grid, .mag-teaser-grid { grid-template-columns: 1fr; }
  .mag-teaser-head { flex-direction: column; align-items: flex-start; }
  .mag-head h1 { font-size: var(--step-2); }
  .mag-byline { flex-wrap: wrap; }
  .mag-author { grid-template-columns: 1fr; }
  .mag-figure img { border-radius: var(--r-md); }
  .mag-body { font-size: 1rem; }
  .mag-body table { display: block; overflow-x: auto; }
}


/* 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; }
