/* ============================================================
   Storybranch — shared stylesheet
   Palette: pine #1F3D2E · deep pine #142B20 · paper #F6F5EE
            marigold #E9A13B · fern #6D9B7C · moss-grey #5A6B5E
   Type:    Young Serif (display) · Atkinson Hyperlegible (body)
   ============================================================ */

:root {
  --pine: #1F3D2E;
  --pine-deep: #142B20;
  --paper: #F6F5EE;
  --card: #FDFCF7;
  --line: #DDDDCE;
  --marigold: #E9A13B;
  --marigold-deep: #C07E1B;
  --marigold-soft: #F7E3C2;
  --fern: #6D9B7C;
  --fern-soft: #E4EDE4;
  --moss: #5A6B5E;
  --white: #FFFFFF;

  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 2px 6px rgba(31, 61, 46, 0.07), 0 12px 32px rgba(31, 61, 46, 0.06);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--pine);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; }

a { color: var(--pine); text-decoration-color: var(--fern); text-underline-offset: 3px; }
a:hover { color: var(--marigold-deep); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--moss); max-width: 56ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold-deep);
  margin-bottom: 0.9rem;
}

/* ---------- shell ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }

.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-fern { background: var(--fern-soft); }
.band-pine { background: var(--pine-deep); color: var(--paper); }
.band-pine h2, .band-pine h3 { color: var(--paper); }
.band-pine p { color: #CBD8CC; }
.band-pine .eyebrow { color: var(--marigold); }
.band-pine a { color: var(--paper); }

/* ---------- header / nav ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--pad);
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--pine);
  margin-right: auto;
  white-space: nowrap;
}
.brand:hover { color: var(--pine); }
.brand svg { width: 30px; height: 30px; flex: none; }

.nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--moss);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--pine); }
.nav-links a[aria-current="page"] { color: var(--pine); border-bottom-color: var(--marigold); }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pine-deep);
  background: var(--marigold);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--marigold-deep);
  transition: transform 120ms ease, background 120ms ease;
}
.btn:hover { background: #F0B054; color: var(--pine-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.small { padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--pine);
  color: var(--pine);
}
.band-pine .btn.ghost { box-shadow: inset 0 0 0 2px var(--fern); color: var(--paper); }
.btn.ghost:hover { background: rgba(31, 61, 46, 0.06); transform: none; }

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .nav .brand { flex: 1 1 auto; min-width: 0; margin-right: 0; }
  .nav > .btn.small { order: 2; flex: none; white-space: nowrap; }
  .nav-links { flex-wrap: wrap; gap: 0.9rem 1.1rem; width: 100%; order: 3; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.15rem; gap: 0.45rem; }
  .brand svg { width: 26px; height: 26px; }
  .nav > .btn.small { padding: 0.5rem 0.95rem; font-size: 0.84rem; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-note { font-size: 0.9rem; color: var(--moss); margin-top: 0.9rem; }

/* ---------- photos ---------- */

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 6px 16px rgba(20, 43, 32, 0.18), 0 20px 48px rgba(20, 43, 32, 0.14);
}

/* ---------- branch motif ---------- */

.branch-figure { color: var(--fern); }
.branch-figure .gold { color: var(--marigold); }

.divider-branch {
  display: block;
  width: min(340px, 60%);
  margin: 0 auto;
  color: var(--fern);
  opacity: 0.85;
}

/* ---------- cards & grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.2rem; }
.card p:last-child { margin-bottom: 0; }

.chapter-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.card.gold .chapter-no { background: var(--marigold); color: var(--pine-deep); }

/* skill chapter blocks (skills page) */
.chapter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.chapter + .chapter { margin-top: 1.6rem; }
@media (max-width: 560px) { .chapter { grid-template-columns: 1fr; } }
.chapter .chapter-no { width: 2.6rem; height: 2.6rem; font-size: 1.2rem; margin: 0; }
.chapter h3 { margin-top: 0.15rem; }
.tagline { color: var(--moss); font-style: italic; margin-top: -0.4rem; }

.mini-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fern);
  margin: 1.1rem 0 0.35rem;
}
.chapter .mini-label:first-of-type { margin-top: 0.9rem; }

.parent-move {
  background: var(--fern-soft);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-top: 0.6rem;
}
.parent-move p { margin: 0; max-width: none; }
.parent-move .say { font-style: italic; color: var(--moss); }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--pine-deep);
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

/* ---------- comparison table ---------- */

.compare-scroll { overflow-x: auto; }
table.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.compare th, table.compare td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare tr:last-child td { border-bottom: none; }
table.compare thead th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  background: var(--fern-soft);
}
table.compare td:first-child { font-weight: 700; width: 30%; }

/* ---------- comparison cards (mobile) ---------- */

.compare-cards { display: none; }

@media (max-width: 700px) {
  .compare-scroll.has-cards { display: none; }
  .compare-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .compare-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.3rem 1.3rem 1.1rem;
  }
  .compare-card.highlight {
    background: var(--marigold-soft);
    border-color: var(--marigold);
  }
  .compare-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.9rem;
  }
  .compare-card dl { margin: 0; }
  .compare-card dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fern);
    margin-top: 0.75rem;
  }
  .compare-card.highlight dt { color: var(--marigold-deep); }
  .compare-card dt:first-child { margin-top: 0; }
  .compare-card dd {
    margin: 0.15rem 0 0;
    font-size: 0.98rem;
  }
}

/* ---------- pull quote / callout ---------- */

.callout {
  border-left: 4px solid var(--marigold);
  background: var(--marigold-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0;
  max-width: 62ch;
}
.callout p { margin: 0; }

blockquote.pull {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  margin: 0;
  max-width: 26ch;
  text-wrap: balance;
}

/* ---------- FAQ ---------- */

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--marigold-deep);
}
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 1.4rem 1.2rem; }
details.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- board-the-night-train CTA ---------- */

.cta-box {
  background: var(--pine-deep);
  color: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta-box h2 { color: var(--paper); }
.cta-box p { color: #CBD8CC; margin-left: auto; margin-right: auto; }
.cta-cover {
  display: block;
  width: min(200px, 52vw);
  height: auto;
  margin: 1.4rem auto 0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.cta-teaser {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-top: 1.1rem;
  text-wrap: balance;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.cta-alt {
  color: #CBD8CC;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-alt:hover { color: var(--marigold); }
.cta-fineprint { font-size: 0.85rem; color: #9DB3A0; margin-top: 1.1rem; margin-bottom: 0; }

/* per-book store link on the books page */
.book-buy { margin-top: 0.9rem; }
.book-buy a {
  font-weight: 700;
  color: var(--marigold-deep);
  text-decoration: none;
}
.book-buy a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- research page ---------- */

sup.cite { font-size: 0.72em; line-height: 0; }
sup.cite a { text-decoration: none; color: var(--marigold-deep); font-weight: 700; }
sup.cite a:hover { text-decoration: underline; }

.construct {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.construct + .construct { margin-top: 1.6rem; }
.construct-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.construct-head .chapter-no { flex: none; align-self: center; margin-bottom: 0; }
.construct h3 { margin-bottom: 0; }
.construct .construct-alias { font-size: 0.9rem; color: var(--moss); font-style: italic; width: 100%; margin: 0.15rem 0 0.8rem; }

.evidence-note {
  background: var(--fern-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  max-width: 72ch;
}
.evidence-note p { margin: 0 0 0.8em; }
.evidence-note p:last-child { margin-bottom: 0; }

ol.references {
  list-style: none;
  counter-reset: ref;
  margin: 1.6rem 0 0;
  padding: 0;
  max-width: 78ch;
}
ol.references li {
  counter-increment: ref;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.95rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--moss);
}
ol.references li::before {
  content: counter(ref);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fern-soft);
  color: var(--pine);
  font-weight: 700;
  font-size: 0.8rem;
}
ol.references li em { color: var(--pine); font-style: italic; }
ol.references li a { word-break: break-word; }

/* ---------- book catalog ---------- */

.book-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--line);
}
.book-row:last-of-type { border-bottom: none; }
.book-row:nth-of-type(even) .book-cover { order: 2; }
.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 6px 16px rgba(20, 43, 32, 0.16), 0 20px 44px rgba(20, 43, 32, 0.12);
}
.book-info h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  margin-bottom: 0.5rem;
}
.book-info .eyebrow { margin-bottom: 0.5rem; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0; }
.skill-chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pine);
  background: var(--fern-soft);
  border: 1px solid rgba(109, 155, 124, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.skill-chip:hover { background: var(--marigold-soft); border-color: var(--marigold); color: var(--pine); }
.book-love {
  background: var(--marigold-soft);
  border-radius: 10px;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
}
.book-love p { margin: 0; max-width: none; }
@media (max-width: 700px) {
  .book-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .book-row:nth-of-type(even) .book-cover { order: 0; }
  .book-cover { max-width: 380px; margin: 0 auto; }
}

/* ---------- legal pages ---------- */

.legal { max-width: 74ch; }
.legal h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-top: 2.4rem;
}
.legal h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.legal p, .legal li { max-width: none; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.55rem; }
.legal .effective {
  font-size: 0.9rem;
  color: var(--moss);
  margin-bottom: 2rem;
}

/* ---------- footer ---------- */

footer.site {
  background: var(--pine-deep);
  color: #CBD8CC;
  padding: 2.5rem 0 2rem;
  margin-top: 0;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer.site .brand { color: var(--paper); font-size: 1.15rem; }
footer.site nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer.site a { color: #CBD8CC; text-decoration: none; font-size: 0.92rem; }
footer.site a:hover { color: var(--marigold); }
footer.site .fine { font-size: 0.82rem; color: #7E947F; width: 100%; margin: 0.6rem 0 0; }
footer.site .legal-links {
  width: 100%;
  display: flex;
  gap: 0.5rem 1.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(109, 155, 124, 0.25);
}
footer.site .legal-links a {
  font-size: 0.82rem;
  color: #9DB3A0;
  text-decoration: none;
}
footer.site .legal-links a:hover { color: var(--marigold); text-decoration: underline; }

/* ---- Books page: year dividers ---- */
.year-divider {
  text-align: center;
  margin: 4rem auto 2.6rem;
  max-width: 60ch;
}
.year-divider::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--marigold);
  margin: 0 auto 1.1rem;
}
.year-divider h2 {
  font-family: var(--display);
  color: var(--pine);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  margin: 0.35rem 0 0;
}
.band-white .wrap > .year-divider:first-child { margin-top: 0.5rem; }

/* sequencing note under the Year One divider */
.year-note {
  margin: 0.9rem auto 0;
  max-width: 52ch;
  font-size: 0.98rem;
  color: var(--ink-soft, #5A6B5D);
  text-wrap: balance;
}
.year-note a { color: var(--marigold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Learn articles (2026-10-03) ---------- */
.wrap.article > * { max-width: 760px; }
.article-hero h1 { max-width: 22ch; }
.crumbs { font-size: .9rem; color: var(--moss); margin-bottom: .75rem; }
.crumbs a { color: var(--moss); }
.byline { font-size: .95rem; color: var(--moss); margin-top: .5rem; }
.answer-box { background: var(--fern-soft); border-left: 4px solid var(--fern); border-radius: 12px; padding: 1.1rem 1.25rem; margin: 0 0 2rem; }
.answer-box p { margin: 0; font-size: 1.12rem; max-width: none; }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 1.2em; max-width: 62ch; }
.article li { margin-bottom: .45em; }
.table-scroll { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
.article table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.article th { background: var(--fern-soft); }
.article blockquote { border-left: 4px solid var(--marigold); margin: 1.2rem 0; padding: .2rem 0 .2rem 1rem; color: var(--moss); }
.article-meta { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.article-meta h2 { font-size: 1.25rem; margin-top: 1.2rem; }
ul.related, ul.skill-links { list-style: none; padding: 0; }
ul.related li { margin: 0 0 1rem; }
ul.related li a { font-weight: 700; display: block; }
ul.related li span { color: var(--moss); font-size: .95rem; }

/* ===== Free sample page (free-sample.html) ===== */
.sample-book { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); padding-top: .5rem; padding-bottom: 1rem; }
.sp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(.9rem, 2.5vw, 1.5rem); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.sp-art { margin: 0; }
.sp-art img { width: 100%; height: auto; border-radius: 10px; display: block; }
.sp-art figcaption, .sp-num { font-size: .82rem; color: var(--moss); letter-spacing: .04em; text-transform: uppercase; margin: .5rem 0 0; }
.sp-num { margin: 0 0 .6rem; }
.sp-text p { font-size: 1.05rem; line-height: 1.6; margin: 0 0 .85em; }
.sp-deadend { font-family: var(--display); color: #A3402E; font-size: 1.15rem; margin: 0 0 .4rem; }
.sp-choice { background: var(--marigold-soft); border-radius: 12px; padding: 1rem 1.1rem; margin-top: 1rem; }
.sp-prompt { font-weight: 700; margin: 0 0 .5rem !important; }
.sp-choice ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.sp-choice li a { display: block; color: var(--pine); text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.sp-choice li a:hover { border-color: var(--marigold); }
.sp-choice li span { display: block; font-size: .92rem; color: var(--moss); margin: .35rem .2rem 0; }
.sp-full { font-weight: 400; color: var(--moss); }
.sp-next { font-style: italic; text-align: right; }
.sp-next a { color: var(--pine); }
.sp-cast { margin: 0 0 1rem; }
.sp-cast img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; display: block; }
.sample-end { background: var(--pine); color: var(--paper); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); margin: 1.5rem 0 1rem; text-align: center; }
.sample-end h2 { color: var(--paper); margin-top: .3rem; }
.sample-end p { color: #CBD8CC; margin-left: auto; margin-right: auto; }
.sample-end .eyebrow { color: var(--marigold); }
.sample-end-pdf a { color: var(--marigold); font-weight: 700; }
@media (max-width: 760px) { .sp { grid-template-columns: 1fr; } }
