/* Your Storytelling Potential: shared site styles.
   Type follows the book: Garamond for reading, a compressed sans for labels and diagrams.
   Color follows the method: cyan = A-Story (on top), gold = B-Story (underneath), white = the midpoint and every action. */
:root {
  --ink: #0B1626;
  --panel: #12233A;
  --line: #274161;
  --paper: #EEF3F8;
  --muted: #A8B8CC;
  --gold: #E8AE3F;
  --cyan: #43C6D6;
  --serif: "EB Garamond", "Adobe Garamond Pro", Garamond, Georgia, serif;
  --label: "Barlow Condensed", "Benton Sans Compressed", "Arial Narrow", sans-serif;
  --script: "Courier Prime", "Courier New", monospace;
  --gutter: clamp(18px, 5vw, 56px);
  --max: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(56px, 9vw, 112px) 0; }
.sec.band { background: var(--panel); border-block: 1px solid var(--line); }
.measure { max-width: 60ch; }

h1, h2, h3 { font-family: var(--serif); margin: 0; text-wrap: balance; font-weight: 500; }
h1 { font-size: clamp(3rem, 9.4vw, 6.4rem); line-height: 0.95; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em; }
h3 { font-size: 1.55rem; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--muted); }
.stack > * + * { margin-top: 1.1rem; }
.sec-head { margin-bottom: clamp(28px, 5vw, 48px); display: grid; gap: 1rem; }

/* Buttons and labels use the compressed sans */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font-family: var(--label); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header and site navigation (shared by every page) */
.top { padding: 16px 0; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--label); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; text-decoration: none; }
.site-nav { display: none; align-items: center; gap: 26px; font-family: var(--label); font-weight: 500; font-size: 1.2rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.site-nav .btn { min-height: 44px; padding: 0 22px; font-size: 1.15rem; color: var(--ink); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--label); font-weight: 600; font-size: 1.2rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: 48px; z-index: 5; min-width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; }
.menu-list a { padding: 10px 14px; text-decoration: none; font-family: var(--label); font-weight: 500; font-size: 1.2rem; border-radius: 8px; }
.menu-list a:hover { background: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { min-height: 44px; padding: 0 22px; font-size: 1.15rem; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--label); font-weight: 500; font-size: 1.15rem; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.facts li:nth-child(even)::before { background: var(--gold); }

.video {
  aspect-ratio: 16 / 9; width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(transparent calc(33% - 1.5px), var(--cyan) calc(33% - 1.5px) calc(33% + 1.5px), transparent calc(33% + 1.5px)),
    linear-gradient(transparent calc(67% - 1.5px), var(--gold) calc(67% - 1.5px) calc(67% + 1.5px), transparent calc(67% + 1.5px)),
    var(--panel);
  display: grid; place-items: center; text-align: center; padding: 20px;
}
.video-inner { display: grid; justify-items: center; gap: 12px; background: var(--ink); padding: 18px 22px; border-radius: 12px; border: 1px solid var(--line); }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--ink); }
.video small { font-family: var(--label); font-weight: 500; color: var(--muted); font-size: 1.1rem; }

/* Film evidence */
.cases { display: grid; gap: 16px; }
.case { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--ink); display: grid; gap: 10px; align-content: start; }
.case .slug { font-family: var(--script); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--muted); }
.case p { margin: 0; }
.case.pattern { border-color: var(--cyan); background: var(--panel); }
.case.pattern h3 { color: var(--cyan); }

/* Method diagram: A-Story lane above B-Story lane */
.diagram-card { border: 1px solid var(--line); border-radius: 16px; background: var(--ink); overflow: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--label); font-weight: 500; font-size: 1.15rem; }
.legend span { display: flex; align-items: center; gap: 10px; }
.legend i { width: 28px; height: 4px; border-radius: 2px; display: inline-block; }
.legend .a i { background: var(--cyan); }
.legend .b i { background: var(--gold); }
.legend .w i { background: var(--paper); height: 10px; width: 10px; border-radius: 50%; }
.scroller { overflow-x: auto; }
#diagram { display: block; min-width: 820px; width: 100%; height: auto; }
#diagram .band-fill { fill: rgba(255,255,255,0.025); }
#diagram .band-label { font-family: var(--label); font-size: 19px; font-weight: 600; fill: var(--muted); }
#diagram .lane-label { font-family: var(--label); font-size: 19px; font-weight: 700; }
#diagram .lane-label.a { fill: var(--cyan); }
#diagram .lane-label.b { fill: var(--gold); }
#diagram .hinge { stroke: var(--paper); stroke-width: 3; }
#diagram .track { fill: none; stroke-width: 6; stroke-linecap: round; }
#diagram .cyan { stroke: var(--cyan); }
#diagram .gold { stroke: var(--gold); }
#diagram .node { cursor: pointer; transition: opacity .35s ease; }
#diagram .node circle.dot { stroke: var(--ink); stroke-width: 3; transition: r .15s ease; }
#diagram .node.t-a circle.dot { fill: var(--cyan); }
#diagram .node.t-b circle.dot { fill: var(--gold); }
#diagram .node.t-mid circle.dot { fill: var(--paper); }
#diagram .node circle.ring { fill: none; stroke: var(--paper); stroke-width: 2; opacity: 0; }
#diagram .node.on circle.ring { opacity: 1; }
#diagram .node text { font-family: var(--label); font-size: 18px; font-weight: 600; fill: var(--paper); pointer-events: none; }
#diagram .node.t-mid text { font-size: 20px; font-weight: 700; }
#diagram .node:hover circle.dot { r: 11; }
#diagram .node:focus-visible { outline: none; }
#diagram .node:focus-visible circle.ring { opacity: 1; stroke: var(--cyan); stroke-width: 3; }
.hint { display: block; padding: 8px 22px 0; font-family: var(--label); font-size: 1.05rem; color: var(--muted); }
.chips { display: flex; gap: 8px; padding: 14px 22px; overflow-x: auto; border-top: 1px solid var(--line); }
.chip { flex: 0 0 auto; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--paper); font-family: var(--label); font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.detail { padding: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--panel); }
.detail .wk { font-family: var(--label); font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.detail h3 { font-size: 1.8rem; }
.detail p { margin: 0; max-width: 62ch; }
.replay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
#caption { font-family: var(--label); font-weight: 500; font-size: 1.15rem; color: var(--muted); min-height: 1.5em; }

/* Curriculum */
.weeks { display: grid; border-top: 1px solid var(--line); }
.week { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.week .wnum { font-family: var(--label); font-weight: 700; font-size: 1.4rem; color: var(--cyan); }
.week:nth-child(even) .wnum { color: var(--gold); }
.week h3 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
.week ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.week li + li { margin-top: 0.4em; }
.deliver { border-left: 3px solid var(--paper); padding: 4px 0 4px 16px; }
.deliver b { font-family: var(--label); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: 4px; }

/* Who / guide */
.split { display: grid; gap: 36px; }
.who { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.who li { padding-left: 24px; position: relative; }
.who li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 3px; background: var(--cyan); }
.who li:nth-child(even)::before { background: var(--gold); }

/* Offer cards (book, courses, software) reused on other pages */
.offers { display: grid; gap: 16px; }
.offer { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--ink); }
.offer p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.offer a.more { font-family: var(--label); font-weight: 700; font-size: 1.2rem; }

/* Enroll */
.enroll { display: grid; gap: 28px; }
.price { font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 14vw, 7rem); line-height: 1; letter-spacing: -0.02em; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.includes li { padding-left: 30px; position: relative; }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 60ch; }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-family: var(--label); font-weight: 500; font-size: 1.1rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

@media (min-width: 760px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: 110px 1fr 1fr; gap: 28px; align-items: start; }
  .week .wnum { padding-top: 0.2em; }
  .week .body { display: grid; gap: 12px; }
  .hint { display: none; }
}
@media (min-width: 980px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .enroll { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #diagram .node { transition: none; }
}


/* Is that true? */
.question { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1; color: var(--gold); margin: 0; }
.tests { display: grid; gap: 16px; }
.test { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--ink); display: grid; gap: 14px; align-content: start; }
.test .slug { font-family: var(--script); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--muted); }
.test p { margin: 0; display: grid; gap: 2px; }
.test p span { font-family: var(--label); font-weight: 600; font-size: 1.05rem; }
.test .rule { color: var(--muted); }
.test .rule span { color: var(--muted); }
.test .rule::after { content: ""; }
.test .film { padding-top: 14px; border-top: 1px solid var(--line); }
.test .film span { color: var(--cyan); }
.verdict { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 12px; }

/* Proximate Cause Character */
.pcc { display: grid; gap: 16px; }
.pc { border-top: 3px solid var(--cyan); background: var(--panel); border-radius: 0 0 12px 12px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.pc:nth-child(2) { border-top-color: var(--paper); }
.pc:nth-child(3) { border-top-color: var(--gold); }
.pc p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.pc-close { margin-top: clamp(24px, 4vw, 40px); font-size: 1.5rem; line-height: 1.35; }
@media (min-width: 760px) { .tests { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tests { grid-template-columns: repeat(3, 1fr); } .pcc { grid-template-columns: repeat(3, 1fr); } }
.test { grid-template-rows: auto 1fr auto; }
.test .rule { align-content: start; }

.foot .disclaimer { margin: 0; max-width: 80ch; font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
.foot .disclaimer a { text-decoration: underline; }

/* Verdict: restate the question, then answer it loudly */
.verdict { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.requestion { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 4.6vw, 2.8rem); line-height: 1.1; color: var(--gold); margin: 0; }
.answer { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 6.6vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; margin: 0; max-width: 24ch; text-wrap: balance; color: var(--paper); }
.answer strong { font-weight: 700; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.answer-hit { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 4.6vw, 2.8rem); line-height: 1.1; margin: 0; color: var(--cyan); }
.answer-so { font-family: var(--label); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 6px 0 0; }
.verdict-body { margin-top: 18px; display: grid; gap: 12px; }
.verdict-body p { margin: 0; color: var(--muted); }

/* Why the Proximate Cause Character matters */
.pc-why { margin-top: clamp(48px, 7vw, 88px); margin-bottom: clamp(24px, 4vw, 36px); }
.reasons { display: grid; gap: 16px; }
.reason { border-left: 3px solid var(--cyan); padding: 4px 0 4px 20px; display: grid; gap: 8px; align-content: start; }
.reason:nth-child(even) { border-left-color: var(--gold); }
.reason p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.rules { margin-top: clamp(24px, 4vw, 36px); padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.rules strong { font-family: var(--label); font-weight: 700; font-size: 1.15rem; }
.pc-close { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.8vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em; max-width: 24ch; margin-top: clamp(40px, 6vw, 72px); }
.pc-wk { font-family: var(--label); font-weight: 600; font-size: 1.3rem; color: var(--gold); margin-top: 12px; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; } }

/* Freytag figure */
.freytag-left { display: grid; gap: 28px; align-content: start; }
.fig { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.fig img { display: block; width: 100%; height: auto; }
.fig figcaption { padding: 10px 16px; background: var(--panel); border-top: 1px solid var(--line); font-family: var(--label); font-weight: 500; font-size: 1.1rem; color: var(--muted); }

/* The goal-to-the-midpoint idea, accented */
.goal-callout { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 14px; background: var(--panel); display: grid; gap: 16px; }
.gc-kicker { margin: 0; font-family: var(--label); font-weight: 700; font-size: 1.35rem; color: var(--gold); }
.gc-big { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5.2vw, 3.7rem); line-height: 1.05; letter-spacing: -0.015em; max-width: 26ch; text-wrap: balance; }
.gc-small { margin: 0; color: var(--muted); font-size: clamp(1.2rem, 2.4vw, 1.45rem); max-width: 58ch; }
.goalbar { margin-top: 8px; display: grid; grid-template-columns: 1fr; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gb { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.gb b { font-family: var(--label); font-weight: 700; font-size: 1.2rem; }
.gb span { color: var(--muted); font-size: 1.1rem; line-height: 1.35; }
.gb1 { background: var(--ink); }
.gb1 b { color: var(--gold); }
.gb2 { background: var(--ink); }
.gb2 b { color: var(--cyan); }
.gb-mid { background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; font-family: var(--label); font-weight: 700; font-size: 1.15rem; }
.gb-mid i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); display: inline-block; }
.gb-mid em { font-style: normal; }
@media (min-width: 760px) {
  .goalbar { grid-template-columns: 1fr auto 1fr; }
  .gb-mid { flex-direction: column; padding: 16px 22px; }
}

/* Midpoints light up both lanes */
#diagram .hinge { transition: stroke-width .2s ease; }
#diagram .hinge.on { stroke-width: 6; }
#diagram .node.t-mid.on circle.ring { fill: rgba(238,243,248,.16); stroke-width: 3; }
.gc-alt { border-left-color: var(--cyan); margin-top: clamp(32px, 5vw, 56px); }
.gc-alt .gc-kicker { color: var(--cyan); }
.gc-mean { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.35; }
.gc-mean b { font-family: var(--label); font-weight: 700; color: var(--gold); margin-right: 6px; }

/* Audience */
.roles { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--label); font-weight: 600; font-size: 1.15rem; background: var(--ink); }
.who-head { margin: 2rem 0 0.9rem; font-size: 1.45rem; }

/* The struggle */
.struggle-turn { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.25; margin: 0; }
#struggle h2 { max-width: 20ch; }
#struggle .btn-row { margin-top: 1.6rem; }

/* Why section */
.major-q { margin: 0; font-family: var(--label); font-weight: 700; font-size: 1.4rem; color: var(--cyan); }
.golden { font-style: italic; font-weight: 500; font-size: clamp(2.1rem, 5.6vw, 3.8rem); line-height: 1.05; color: var(--gold); }
.duo { display: grid; gap: 16px; }
.why-cases { margin-top: 16px; }
.why-payoff { margin-top: clamp(40px, 6vw, 72px); }
.pc-close-sm { margin-top: clamp(24px, 4vw, 40px); font-size: 1.5rem; line-height: 1.35; }
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.4; color: var(--paper); }
.quote figcaption { font-family: var(--label); font-weight: 600; letter-spacing: .02em; color: var(--muted); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } .quote:first-child { grid-column: 1 / -1; } .quote:first-child blockquote { font-size: 1.7rem; } }

.pc-root { margin-top: clamp(16px, 3vw, 32px); margin-bottom: clamp(24px, 4vw, 40px); }

/* Resolution Goal: larger centre dot with dotted reach lines to both lanes */
#diagram .node.t-center circle.dot { fill: var(--paper); }
#diagram .node.t-center:hover circle.dot { r: 18; }
#diagram .node.t-center text { font-size: 20px; font-weight: 700; }
#diagram .reach { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 9; }
#diagram .reach.cyan { stroke: var(--cyan); }
#diagram .reach.gold { stroke: var(--gold); }
#diagram .node.t-center.on circle.ring { fill: rgba(238,243,248,.16); stroke-width: 3; }

/* Inner pages */
.rough { background: #3a2a0a; color: #ffd98a; font-family: var(--label); font-weight: 600; font-size: 1rem; padding: 10px 0; border-bottom: 1px solid #6b4d12; }
.prose h2 { margin: 2em 0 .5em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose p { margin: 0 0 1em; }
.prose-list { margin: 0 0 1em; padding-left: 1.3em; line-height: 1.55; }
.prose-list li { margin-bottom: .45em; }
.pathnote { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--muted); }
.pathnote a { color: var(--gold); }
.btn + .btn { margin-left: 10px; }
.sec h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 .3em; }
.btn-ghost { background: transparent; color: var(--paper); border: 2px solid var(--line); }

/* Hero: copy, then full-width video, then actions */
.hero-stack { display: grid; gap: clamp(24px, 4vw, 40px); }
.pitch { width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.hero-actions { display: grid; gap: 1.2rem; }
.hero-stack .hero-copy { max-width: 64rem; }
.hero-stack .hero-copy .lede { max-width: 44rem; }

/* Header: show the full nav only when it fits on one line */
.site-nav a { white-space: nowrap; }
@media (min-width: 1100px) {
  .site-nav { display: flex; }
  .menu, .nav-right .btn { display: none; }
  .nav-right { display: none; }
}

.more-proof { margin-top: 24px; font-family: var(--label); font-weight: 600; font-size: 1.2rem; }
.more-proof a { color: var(--gold); }

/* Mini course page */
.learn-grid { gap: 18px 48px; }
@media (min-width: 760px) { .learn-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-quote { margin: 0 0 clamp(28px, 5vw, 48px); }
.feature-quote .fq-kicker { margin: 0 0 .5em; font-style: italic; color: var(--gold); font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.feature-quote blockquote { margin: 0 0 14px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.45; }
.feature-quote figcaption { font-family: var(--label); font-weight: 600; font-size: 1.2rem; color: var(--muted); }
.sessions { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 46rem; }
.sessions li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 1.3rem; }
.sessions li::before { content: counter(s); font-family: var(--label); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.fine { margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.fine a { color: var(--gold); }

/* Mini Course: free session 1 */
.vid-cap { margin: 14px 0 0; color: var(--muted); font-size: 1.15rem; max-width: 48rem; }
.vid-cap b { color: var(--paper); font-weight: 600; }
.mid-cta { margin: clamp(32px, 5vw, 56px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-family: var(--serif); font-size: 1.5rem; }
.sessions li > span { grid-column: 2; }
.sessions .free { margin-left: .6em; padding: 2px 12px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-family: var(--label); font-weight: 600; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.sessions .free:hover { background: var(--gold); color: var(--ink); }

/* Quote beside its video */
.fq-split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.fq-split .feature-quote { margin: 0; }
.fq-video .vid-cap { margin-top: 10px; }
@media (min-width: 980px) { .fq-split { grid-template-columns: 1fr 1fr; } }

/* Online Course */
.reasons.one { grid-template-columns: 1fr; max-width: 52rem; gap: 36px; }
.mistakes .reason h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.mistakes .reason p { font-size: 1.25rem; color: var(--paper); opacity: .88; }
.price.pending { font-size: 1.8rem; color: var(--muted); letter-spacing: 0; padding: 14px 0; }
.letter .sig { margin-top: 1.6em; color: var(--muted); font-size: 1.1rem; }
.letter .sig b { color: var(--paper); }
.includes.learn-grid b { font-weight: 600; }
.stack .per { margin-top: .2rem; color: var(--muted); font-size: 1.25rem; }

/* Book page */
.book-hero { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.book-hero .subtitle { margin: .2rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; color: var(--gold); }
.book-hero .byline { margin: .6rem 0 1.2rem; font-family: var(--label); font-weight: 600; font-size: 1.3rem; color: var(--muted); }
.book-hero .lede { max-width: 38rem; }
.book-hero .fine { margin-top: 18px; }
.book-cover { position: relative; display: block; padding: 0; }
.book-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(67,198,214,.28), rgba(67,198,214,0) 100%); }
.book-cover img { position: relative; display: block; width: 100%; max-width: 480px; margin: 0 auto; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)); }
@media (min-width: 900px) { .book-hero { grid-template-columns: 1.15fr .85fr; } }
.ph-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .ph-grid { grid-template-columns: repeat(3, 1fr); } .ph-grid.four { grid-template-columns: repeat(4, 1fr); } }
.ph { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 12px; border: 2px dashed var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 1.05rem; line-height: 1.4; }
.ph b { color: var(--paper); font-weight: 600; }
.ph-grid.four .ph { aspect-ratio: 3 / 4; }

/* Testimonials page */
.t-sub { margin: 0 0 clamp(20px, 3vw, 32px); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.v-grid { display: grid; gap: 28px 20px; }
.v { margin: 0; }
.v figcaption { margin-top: 10px; font-family: var(--label); font-weight: 600; font-size: 1.2rem; color: var(--muted); }
@media (min-width: 760px) { .v-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .v-grid { grid-template-columns: repeat(3, 1fr); } }
.t-wall { columns: 1; column-gap: 20px; }
@media (min-width: 760px) { .t-wall { columns: 2; } }
@media (min-width: 1100px) { .t-wall { columns: 3; } }
.t-card { break-inside: avoid; margin: 0 0 20px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; display: grid; gap: 14px; }
.t-card:nth-child(even) { border-top-color: var(--cyan); }
.t-card blockquote { margin: 0; font-size: 1.2rem; line-height: 1.45; }
.t-card figcaption { font-family: var(--label); font-weight: 600; font-size: 1.15rem; color: var(--muted); }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-family: var(--label); font-weight: 600; font-size: 1.3rem; background: var(--ink); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.t-card .cred { display: block; margin-top: 2px; font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
@media (min-width: 1100px) { .t-wall.two { columns: 2; } }
.t-feature { margin: 0 0 clamp(28px, 4vw, 44px); padding: clamp(22px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 12px; display: grid; gap: 18px; max-width: 62rem; }
.t-feature blockquote { margin: 0; display: grid; gap: 1em; font-size: 1.3rem; line-height: 1.5; }
.t-feature blockquote p { margin: 0; }
.t-feature .lead-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; color: var(--gold); }
.t-feature figcaption { font-family: var(--label); font-weight: 600; font-size: 1.25rem; color: var(--muted); }
.t-feature .cred { display: block; font-weight: 500; font-size: 1.05rem; }
.t-card blockquote p { margin: 0 0 .85em; }
.t-card blockquote p:last-child { margin-bottom: 0; }
.avatar.photo { border: 2px solid var(--line); background: var(--ink); }
.t-card u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.t-more { margin: clamp(24px, 4vw, 48px) 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.1; color: var(--gold); }
.ph.portrait { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; margin: 0 auto; }

/* Header: keep seven nav items on one line */
@media (min-width: 1100px) {
  .site-nav { gap: 18px; font-size: 1.08rem; }
  .site-nav .btn { padding: 0 18px; font-size: 1.05rem; }
  .top .brand { flex: 0 0 auto; max-width: 11.5rem; line-height: 1.15; }
}
.book-hero .btn-row .btn { margin: 0; }
