/* TroopBooth design system. Badge bright: meadow green, sunny gold, white sashes. */

:root {
  --bg: #F8FBF6;
  --surface: #FFFFFF;
  --ink: #1A2019;
  --primary: #2F6B3B;
  --accent: #F5C542;
  --muted: #5D6759;

  --primary-050: #F0F6F0;
  --primary-100: #E1EDE3;
  --primary-200: #C6DCCA;
  --primary-300: #A4C8AB;
  --primary-600: #2F6B3B;
  --primary-700: #24522D;
  --accent-050: #FEF9E7;
  --accent-100: #FDF1C6;
  --accent-200: #FAE49A;
  --accent-500: #F5C542;
  --line: #DDE7DB;
  --line-strong: #BFD2BE;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 32, 25, 0.06);
  --shadow-md: 0 8px 22px rgba(26, 32, 25, 0.08);
  --shadow-badge: 0 6px 0 rgba(47, 107, 59, 0.12);

  --font-display: "Eczar", "Georgia", "Times New Roman", serif;
  --font-body: "Cabin", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-base: 1.02rem;
  --t-lg: 1.16rem;
  --t-xl: 1.45rem;
  --t-2xl: 1.9rem;
  --t-3xl: 2.4rem;
  --t-4xl: 3.05rem;
  --t-5xl: 3.7rem;

  --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(--t-base);
  line-height: 1.65;
  letter-spacing: 0.005em;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: var(--t-xl); }
p { margin: 0 0 var(--sp-4); }

a { color: var(--primary-700); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-5); }

.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-4); top: -60px;
  z-index: 200;
  background: var(--surface);
  color: var(--primary-700);
  border: 2px solid var(--primary);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-5);
  font-weight: 700;
  transition: top 0.18s ease;
}
.skip-link:focus { top: var(--sp-4); }

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

/* ---------- sash stripe rule, the signature motif ---------- */
.sash {
  height: 12px;
  border-radius: var(--r-pill);
  background-image: repeating-linear-gradient(
    115deg,
    var(--primary) 0 14px,
    var(--primary-200) 14px 22px,
    var(--accent-500) 22px 34px,
    var(--surface) 34px 44px
  );
  border: 1px solid var(--line-strong);
}
.sash-thin { height: 7px; }
.site-header .sash { border-radius: 0; border: 0; }

/* ---------- badge circles ---------- */
.badge {
  --badge-size: 62px;
  width: var(--badge-size);
  height: var(--badge-size);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-050);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--primary-200);
  color: var(--primary-700);
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
}
.badge::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed var(--primary-300);
  pointer-events: none;
}
.badge svg { width: 26px; height: 26px; }
.badge-num { font-size: 1.35rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--t-base);
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: var(--shadow-badge);
}
.btn-primary:hover { background: var(--primary-700); color: var(--surface); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  color: var(--primary-700);
  border-color: var(--primary-300);
}
.btn-ghost:hover { border-color: var(--primary); background: var(--primary-050); }
.btn-accent {
  background: var(--accent-500);
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(245, 197, 66, 0.35);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: var(--t-sm); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 74px;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.015em;
}
.wordmark svg { width: 34px; height: 34px; }
.wordmark span i { font-style: normal; color: var(--primary); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--t-sm);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--accent-500); }
.header-cta { margin-left: var(--sp-4); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  border: 2px solid var(--primary-300);
  border-radius: var(--r-pill);
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--primary-700); }

/* ---------- section rhythm ---------- */
main section { padding: var(--sp-9) 0; }
.band-tint { background: var(--primary-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-cream { background: var(--accent-050); border-top: 1px solid var(--accent-200); border-bottom: 1px solid var(--accent-200); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-100);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.3);
}
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head p { color: var(--muted); font-size: var(--t-lg); margin-bottom: 0; }
.lede { font-size: var(--t-lg); color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  padding: var(--sp-8) 0 var(--sp-9);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(245, 197, 66, 0.22) 0, rgba(245, 197, 66, 0) 42%),
    radial-gradient(circle at 88% 6%, rgba(47, 107, 59, 0.10) 0, rgba(47, 107, 59, 0) 46%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: normal;
  color: var(--primary-700);
  background-image: linear-gradient(transparent 66%, var(--accent-200) 66%);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-6) 0 var(--sp-6); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: var(--sp-4) 0 0;
  border-top: 1px dashed var(--line-strong);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
}
.trust-strip li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--accent-500);
}
.hero-figure { position: relative; }
.hero-figure img {
  border-radius: var(--r-lg);
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 16px;
  border-radius: var(--r-lg);
  background-image: repeating-linear-gradient(115deg, var(--primary-200) 0 10px, var(--accent-100) 10px 20px);
  z-index: -1;
}
.hero-stamp {
  position: absolute;
  left: -22px;
  bottom: -26px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 2px solid var(--primary-200);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 290px;
}
.hero-stamp strong { font-family: var(--font-display); font-size: 1.5rem; display: block; line-height: 1; }
.hero-stamp span { font-size: var(--t-xs); color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--sp-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(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-cost {
  display: inline-block;
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-700);
  background: var(--accent-100);
  border-radius: var(--r-pill);
  padding: 4px 14px;
  font-size: var(--t-sm);
}
.feature-card { position: relative; padding-top: var(--sp-6); }
.feature-card .badge { --badge-size: 54px; margin-bottom: var(--sp-4); }
.feature-card svg { color: var(--primary-700); }

/* ---------- steps ---------- */
.steps-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  display: flex;
  gap: var(--sp-5);
  padding-bottom: var(--sp-6);
  position: relative;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 66px;
  bottom: 8px;
  width: 3px;
  background-image: linear-gradient(var(--primary-200) 55%, transparent 0);
  background-size: 3px 12px;
}
.steps h3 { margin-bottom: var(--sp-2); }
.steps p { color: var(--muted); margin: 0; }
.section-figure img {
  border-radius: var(--r-lg);
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
}
.section-figure figcaption {
  margin-top: var(--sp-3);
  font-size: var(--t-sm);
  color: var(--muted);
  border-left: 3px solid var(--accent-500);
  padding-left: var(--sp-3);
}

/* ---------- shift slot meter, the fill in motif ---------- */
.slots { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.slot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-sm);
  font-weight: 600;
}
.slot-bar {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--primary-100);
  overflow: hidden;
}
.slot-bar i {
  display: block;
  height: 100%;
  width: var(--fill, 60%);
  border-radius: var(--r-pill);
  background-image: repeating-linear-gradient(115deg, var(--primary) 0 9px, var(--primary-600) 9px 18px);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .slot-bar i { transform: scaleX(1); }
.slot em { font-style: normal; color: var(--muted); font-weight: 600; }

/* ---------- outcomes ---------- */
.outcome {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent-500);
  border-radius: var(--r-md);
  padding: var(--sp-6);
}
.outcome .figure {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-700);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-2);
}
.outcome h3 { font-size: var(--t-lg); }
.outcome p { color: var(--muted); margin: 0; }

/* ---------- testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin: 0;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: var(--sp-6); right: var(--sp-6);
  height: 6px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background-image: repeating-linear-gradient(115deg, var(--primary) 0 10px, var(--accent-500) 10px 20px);
}
.testimonial p { font-size: var(--t-lg); }
.testimonial footer { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--t-sm); }
.testimonial cite { font-style: normal; font-weight: 700; display: block; }
.testimonial footer span { color: var(--muted); }
.results-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.results-strip div { text-align: center; }
.results-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--primary-700);
  line-height: 1.05;
}
.results-strip span { font-size: var(--t-sm); color: var(--muted); }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: start; }
.tier {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tier-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
}
.tier-flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-500);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 5px 16px;
  border: 2px solid var(--surface);
  white-space: nowrap;
}
.tier h3 { font-size: var(--t-xl); margin-bottom: var(--sp-1); }
.tier .price {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.tier .price small { font-size: var(--t-sm); font-family: var(--font-body); color: var(--muted); font-weight: 600; }
.tier .who { color: var(--muted); font-size: var(--t-sm); margin: var(--sp-3) 0 var(--sp-4); }
.tier ul { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; font-size: var(--t-sm); align-items: flex-start; }
.tier li::before {
  content: "";
  margin-top: 5px;
  width: 12px; height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--accent-500);
}
.tier .btn { margin-top: auto; }
.billing-note {
  margin-top: var(--sp-5);
  text-align: center;
  color: var(--muted);
  font-size: var(--t-sm);
}

/* ---------- faq ---------- */
.faq-list { max-width: 840px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: 0;
  padding: var(--sp-5) var(--sp-2);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .marker {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--primary-050);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.22s ease;
}
.faq-q .marker::before, .faq-q .marker::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
}
.faq-q .marker::before { width: 12px; height: 2.5px; }
.faq-q .marker::after { width: 2.5px; height: 12px; transition: opacity 0.2s ease; }
.faq-q[aria-expanded="true"] .marker { transform: rotate(90deg); background: var(--accent-100); }
.faq-q[aria-expanded="true"] .marker::after { opacity: 0; }
.faq-a { padding: 0 var(--sp-2) var(--sp-5); max-width: 70ch; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-8); align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-weight: 700; font-size: var(--t-sm); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 11px 14px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--surface); }
.field [aria-invalid="true"] { border-color: #A32C2C; }
.field-error { display: none; color: #8E2323; font-size: var(--t-sm); font-weight: 600; margin-top: 5px; }
.field-error.is-shown { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; }
.consent label { font-weight: 500; font-size: var(--t-sm); }
.form-foot { margin-top: var(--sp-4); font-size: var(--t-sm); color: var(--muted); }
.contact-aside ul { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-4); }
.contact-aside li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--t-sm); }

/* ---------- author byline ---------- */
.byline {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--primary);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-top: var(--sp-7);
}
.byline p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.byline strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--primary-050);
  border-top: 3px solid var(--primary-200);
  padding: var(--sp-8) 0 var(--sp-5);
  margin-top: var(--sp-9);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-700);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: var(--t-sm); }
.footer-col a:hover { text-decoration: underline; color: var(--primary-700); }
.footer-brand p { font-size: var(--t-sm); color: var(--muted); max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: var(--sp-4); }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary-200);
  display: grid;
  place-items: center;
  color: var(--primary-700);
}
.social a:hover { border-color: var(--primary); background: var(--accent-050); }
.social svg { width: 18px; height: 18px; }
.footer-base {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--t-sm);
  color: var(--muted);
}

/* ---------- prose pages ---------- */
.page-head { padding: var(--sp-8) 0 var(--sp-6); border-bottom: 1px solid var(--line); background: var(--accent-050); }
.prose { max-width: 760px; padding: var(--sp-8) 0; }
.prose h2 { margin-top: var(--sp-7); font-size: var(--t-2xl); }
.prose h3 { margin-top: var(--sp-5); font-size: var(--t-lg); }
.prose ul, .prose ol { padding-left: var(--sp-5); color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose p { color: var(--muted); }
.prose .fact-list { list-style: none; padding: 0; }
.prose .fact-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--ink);
}
.author-portrait {
  border-radius: var(--r-lg);
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
  width: 220px;
}
.author-top { display: flex; gap: var(--sp-6); align-items: center; flex-wrap: wrap; }
.map-group { margin-bottom: var(--sp-6); }
.map-group ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.map-group li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); }
.map-group li span { display: block; color: var(--muted); font-size: var(--t-sm); }

/* ---------- reveal and stamp motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.stamp { opacity: 0; transform: scale(1.5) rotate(-8deg); }
.stamp.is-visible { animation: stamp-in 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) forwards; }
@keyframes stamp-in {
  0% { opacity: 0; transform: scale(1.5) rotate(-8deg); }
  70% { opacity: 1; transform: scale(0.94) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 1024px) {
  .hero-grid, .steps-layout, .contact-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-figure::before { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; font-size: var(--t-base); }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  main section { padding: var(--sp-8) 0; }
  .grid-3, .grid-4, .tiers, .grid-2, .results-strip, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-stamp { position: static; margin-top: var(--sp-4); max-width: none; }
  .form-card { padding: var(--sp-5); }
  .author-top { flex-direction: column; align-items: flex-start; }
}

@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;
    scroll-behavior: auto !important;
  }
  .reveal, .stamp { opacity: 1; transform: none; }
  .slot-bar i { transform: scaleX(1); }
}

@media print {
  .site-header, .site-footer, .hero-figure { display: none; }
}

/* ---------- prose call to action row ---------- */
.prose .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* ================================================================
   Booth Season magazine. Same badge bright world: white cards on a
   meadow tint, sash rules, gold badges. Light only.
   ================================================================ */

.mag-crumbs { padding: var(--sp-5) 0 0; }
.mag-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--t-xs);
  color: var(--muted);
}
.mag-crumbs li { display: flex; align-items: center; gap: var(--sp-3); }
.mag-crumbs li + li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 2px var(--primary-200);
}
.mag-crumbs a { color: var(--primary-700); text-decoration: none; font-weight: 600; }
.mag-crumbs a:hover { text-decoration: underline; }
.mag-crumbs li[aria-current] { color: var(--muted); max-width: 100%; }

/* ---------- magazine masthead ---------- */
.mag-masthead { padding: var(--sp-6) 0 var(--sp-7); }
.mag-masthead h1 { max-width: 16ch; }
.mag-masthead .sash { margin-top: var(--sp-6); }
.mag-masthead-meta { font-size: var(--t-sm); color: var(--muted); margin-bottom: 0; }
.mag-standfirst {
  font-family: var(--font-body);
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- index grid ---------- */
.mag-index { padding: var(--sp-7) 0 var(--sp-9); background: var(--primary-050); border-top: 1px solid var(--line); }
.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.mag-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.mag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.mag-card-media { display: block; border-bottom: 4px solid var(--accent-500); }
.mag-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mag-card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.mag-card-angle {
  margin: 0;
  align-self: flex-start;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--accent-100);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.mag-card-title { font-size: var(--t-lg); margin: 0; line-height: 1.22; }
.mag-card-title a { color: var(--ink); text-decoration: none; }
.mag-card-title a:hover { color: var(--primary-700); text-decoration: underline; }
.mag-card-dek { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.mag-card-meta {
  margin: auto 0 0;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--t-xs);
  color: var(--muted);
  font-weight: 600;
}
.mag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-300); }

.mag-card.lead { grid-column: 1 / -1; flex-direction: row; align-items: stretch; border-color: var(--primary-200); }
.mag-card.lead .mag-card-media { flex: 0 0 56%; border-bottom: 0; border-right: 4px solid var(--accent-500); }
.mag-card.lead .mag-card-media img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.mag-card.lead .mag-card-body { justify-content: center; padding: var(--sp-7); gap: var(--sp-3); }
.mag-card.lead .mag-card-title { font-size: var(--t-2xl); }
.mag-card.lead .mag-card-dek { font-size: var(--t-base); }
.mag-index-foot { margin: var(--sp-7) 0 0; font-weight: 600; }

/* ---------- article page ---------- */
.mag-article { padding: var(--sp-5) 0 var(--sp-9); }
.mag-article > .wrap { max-width: 900px; }
.mag-article-head { padding: var(--sp-4) 0 var(--sp-6); }
.mag-article-head h1 { font-size: clamp(1.95rem, 4vw, 3.05rem); max-width: 22ch; }
.mag-byline {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.mag-byline p { margin: 0; font-size: var(--t-sm); font-weight: 600; }
.mag-byline span { font-weight: 400; color: var(--muted); }
.mag-byline-badge {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-050);
  border: 3px solid var(--primary);
  color: var(--primary-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-base);
}
.mag-figure { margin: 0 0 var(--sp-7); }
.mag-figure img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.mag-figure figcaption {
  margin-top: var(--sp-3);
  font-size: var(--t-xs);
  color: var(--muted);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--accent-500);
}

/* ---------- article body typography ---------- */
.mag-body { max-width: 68ch; font-size: 1.08rem; line-height: 1.72; }
.mag-body p { margin: 0 0 var(--sp-5); }
.mag-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: var(--sp-8) 0 var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--primary-200);
}
.mag-body h3 { font-size: var(--t-lg); margin: var(--sp-6) 0 var(--sp-3); color: var(--primary-700); }
.mag-body ul, .mag-body ol { margin: 0 0 var(--sp-5); padding-left: var(--sp-6); }
.mag-body li { margin-bottom: var(--sp-2); }
.mag-body ul { list-style: none; padding-left: var(--sp-5); }
.mag-body ul li { position: relative; padding-left: var(--sp-5); }
.mag-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-500);
  border: 2px solid var(--primary);
}
.mag-body blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--accent-050);
  border: 1px solid var(--accent-200);
  border-left: 6px solid var(--accent-500);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: var(--t-lg);
  line-height: 1.45;
}
.mag-body blockquote p:last-child { margin-bottom: 0; }
.mag-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--t-sm);
  background: var(--surface);
}
.mag-body th, .mag-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.mag-body th { background: var(--primary-050); font-family: var(--font-display); color: var(--primary-700); }
.mag-body tbody tr:nth-child(even) td { background: var(--bg); }

.inline-read {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--primary-050);
  border: 1px dashed var(--primary-300);
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
}
.inline-read a { color: var(--primary-700); }

/* ---------- call to action after the body ---------- */
.mag-cta {
  margin: var(--sp-8) 0 0;
  padding: var(--sp-7);
  background: var(--accent-050);
  border: 2px solid var(--accent-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.mag-cta .sash { margin-bottom: var(--sp-5); max-width: 180px; }
.mag-cta h2 { font-size: var(--t-2xl); margin-bottom: var(--sp-3); }
.mag-cta p { color: var(--muted); max-width: 62ch; }
.mag-cta p:last-child { margin-bottom: 0; }

/* ---------- author box ---------- */
.mag-author {
  margin-top: var(--sp-7);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
}
.mag-author img {
  width: 120px; height: 120px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 3px var(--primary-200);
}
.mag-author p { font-size: var(--t-sm); color: var(--muted); margin-bottom: var(--sp-3); }
.mag-author p:last-child { margin-bottom: 0; }
.mag-author-name {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: var(--sp-2) !important;
}

/* ---------- read also ---------- */
.mag-related { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 2px solid var(--primary-200); }
.mag-related > h2 { font-size: var(--t-2xl); }
.mag-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.mag-rel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.mag-rel:hover { box-shadow: var(--shadow-md); }
.mag-rel-media { display: block; border-bottom: 3px solid var(--accent-500); }
.mag-rel-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mag-rel h3 { font-size: var(--t-base); line-height: 1.28; margin: var(--sp-4) var(--sp-4) var(--sp-2); }
.mag-rel h3 a { color: var(--ink); text-decoration: none; }
.mag-rel h3 a:hover { color: var(--primary-700); text-decoration: underline; }
.mag-rel p { margin: 0 var(--sp-4) var(--sp-3); font-size: var(--t-xs); color: var(--muted); }
.mag-rel-date { margin-top: auto !important; padding-top: var(--sp-2); font-weight: 600; }
.mag-related-all { margin: var(--sp-5) 0 0; font-weight: 600; }

/* ---------- home page magazine teaser ---------- */
.mag-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.mag-teaser-foot { margin: var(--sp-6) 0 0; }

@media (max-width: 1024px) {
  .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 { border-right: 0; border-bottom: 4px solid var(--accent-500); }
  .mag-card.lead .mag-card-media img { aspect-ratio: 3 / 2; min-height: 0; }
  .mag-card.lead .mag-card-body { padding: var(--sp-6); }
}

@media (max-width: 640px) {
  .mag-grid, .mag-related-grid, .mag-teaser-grid { grid-template-columns: 1fr; }
  .mag-article > .wrap { padding: 0 var(--sp-4); }
  .mag-body { font-size: 1.04rem; }
  .mag-cta { padding: var(--sp-5); }
  .mag-author { flex-direction: column; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5); }
  .mag-author img { width: 88px; height: 88px; }
  .mag-figure img { border-width: 4px; }
  .mag-byline { flex-wrap: wrap; }
  .mag-card.lead .mag-card-title { font-size: var(--t-xl); }
  .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; }
