/* PSS v11 style and motion layer (Joe, Dec 4, 2026, 3:15 PM ET: "A maybe" and "Do all 5").
   Loaded after site.css and menu.css on every site page. Style only: no copy lives here.
   Spacing scale 8 / 16 / 24 / 40 / 64 / 96. 1rem = 20px on this site.
   Buttons: primary = filled forest, secondary = 2px forest outline, tertiary = text link with a gold underline.
   Cards: paper, 1px gold hairline, 40px gold rule. Motion: off under prefers-reduced-motion. */
:root {
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --hair: rgba(133, 86, 20, 0.38);
  --forest-deep: #17382e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Type ---------- */
body { font-size: 1rem; line-height: 1.6; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
h1 { font-size: 2.05rem; line-height: 1.15; letter-spacing: -0.02em; }   /* 41px */
h2 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.015em; }   /* 31px */
main p, main li { max-width: 680px; }
.kicker, .draft-box .tag, .before-print .tag, .callout .tag, .path-card .tag, .soft-sell .tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 17px; letter-spacing: 0.08em; line-height: 1.35; font-weight: 500;
}
.kicker { color: var(--gold); text-wrap: balance; }
figure, .nums-amt, .report-card .seal { font-variant-numeric: tabular-nums; }

/* ---------- Page panel: text always on solid paper ---------- */
main {
  background-color: var(--cream);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(28, 27, 24, 0.05), 0 8px 28px rgba(31, 77, 63, 0.07);
  outline: 1px solid rgba(133, 86, 20, 0.14);
  width: min(var(--max), calc(100% - 16px));
  padding: var(--s4) var(--s2) var(--s5);
  margin: var(--s2) auto var(--s5);
}
main.wide { width: min(var(--wide), calc(100% - 16px)); }
@media (min-width: 800px) {
  main { padding: var(--s5) var(--s5) var(--s6); margin: var(--s4) auto var(--s6); }
}
main > h2, main > details.fold { margin-top: var(--s5); }
main > h1 + h2, main > .kicker + h1 { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  min-height: 52px; padding: 12px 24px; border-radius: 7px;
  background: var(--forest); color: var(--cream); border: 2px solid var(--forest);
  box-shadow: none; font-weight: 700; letter-spacing: 0.01em;
}
.btn:hover, .btn:focus-visible { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); }
.btn.secondary { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn.secondary:hover, .btn.secondary:focus-visible { background: var(--paper); color: var(--forest-deep); border-color: var(--forest-deep); }
.text-link, .print-btn {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 0; padding: 0 2px; margin: 0;
  background: none !important; border: 0; border-radius: 0; box-shadow: none;
  color: var(--forest); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover, .text-link:focus-visible, .print-btn:hover, .print-btn:focus-visible { color: var(--ink); text-decoration-color: var(--forest); }
.print-row { margin: var(--s4) 0 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Home hero (first phone screen) ---------- */
.home-hero { display: grid; gap: var(--s3); padding: 0 0 var(--hero-pad, 96px); }
.home-hero h1 { margin: 0; }
.home-hero .hero-shot {
  width: 172px; height: 172px; border-radius: 3px; object-fit: cover; object-position: center 18%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px rgba(133, 86, 20, 0.35), 0 8px 22px rgba(31, 77, 63, 0.16);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.hero-start { flex-direction: column; min-height: 60px; line-height: 1.15; padding: 8px 28px; font-size: 1.05rem; }
.hero-start .btn-sub { font-size: 15px; font-weight: 400; letter-spacing: 0.02em; margin-top: 2px; }
.hero-email { min-height: 60px; }
@media (min-width: 800px) {
  .home-hero { grid-template-columns: 220px minmax(0, 1fr); column-gap: var(--s4); align-items: center; padding-bottom: var(--s5); }
  .home-hero .hero-shot { width: 220px; height: 220px; grid-row: 1 / span 2; grid-column: 1; }
  .home-hero h1 { grid-column: 2; align-self: end; font-size: 2.6rem; }
  .hero-actions { grid-column: 2; align-self: start; }
}
.home-open { border-bottom: 1px solid var(--hair); padding-bottom: var(--s5); margin-bottom: var(--s5); }
.home-open::after { display: none; }

/* ---------- Manifesto (locked text, styled only) ---------- */
.manifesto .man-q { text-wrap: balance; }

/* ---------- Numbers box: one figure per row, static, no wraps ---------- */
.advice-nums {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 10px;
  padding: var(--s3) var(--s3) var(--s2); position: relative;
  box-shadow: 0 1px 1px rgba(28, 27, 24, 0.04), 0 8px 24px rgba(31, 77, 63, 0.07);
}
.advice-nums::before { content: ""; position: absolute; left: var(--s3); top: 0; width: 40px; height: 3px; background: var(--gold); }
.advice-nums h2 { font-size: 1.3rem; margin: var(--s1) 0 4px; }
.advice-nums .nums-sub { font-size: 17px; margin: 0 0 var(--s2); color: #3a3832; }
.advice-nums .nums-list { list-style: none; margin: 0 0 var(--s1); padding: 0; display: grid; gap: 0; }
.advice-nums .nums-list li {
  display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 12px 0; max-width: none;
  border-top: 1px solid var(--hair); overflow-wrap: normal; font-size: 1rem;
}
.advice-nums .nums-list li:first-child { border-top: 0; }
.advice-nums .nums-label {
  font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--forest); align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-color: rgba(133, 86, 20, 0.55); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.advice-nums .nums-label:hover { text-decoration-color: var(--gold); color: var(--ink); }
.advice-nums .nums-fig { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; line-height: 1.1; }
.advice-nums .nums-amt {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500;
  font-size: min(2.1rem, 11vw); letter-spacing: -0.02em; white-space: nowrap; color: var(--forest); text-decoration: none;
}
.advice-nums .nums-unit { font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.advice-nums .nums-source { font-size: 16px; color: #3a3832; margin: 0 0 var(--s2); max-width: none; }
.advice-nums .nums-foot { font-size: 0.95rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Calm cards: paper, gold hairline, 40px gold rule ---------- */
.mission {
  background: var(--paper); color: var(--ink); border: 1px solid var(--hair); border-radius: 10px;
  padding: var(--s4) var(--s3) var(--s3); position: relative; font-size: 1.25rem;
  box-shadow: 0 1px 1px rgba(28, 27, 24, 0.04), 0 8px 24px rgba(31, 77, 63, 0.06);
}
.mission::before { content: ""; position: absolute; left: var(--s3); top: var(--s3); width: 40px; height: 3px; background: var(--gold); }
.mission p { color: var(--forest); }
.mission p + p { color: var(--ink); font-size: 1.1rem; }
.door, .report-card, .print-list li, .before-print, .jump, .mod-card > a, .path-card, .callout {
  background: var(--paper); border: 1px solid var(--hair) !important; border-radius: 10px;
  box-shadow: 0 1px 1px rgba(28, 27, 24, 0.04), 0 6px 20px rgba(31, 77, 63, 0.06);
}
.before-print { border-left-width: 1px !important; }
.door { padding: var(--s3); position: relative; }
.door h2 { margin-top: 0; }
.door h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--gold); margin-top: var(--s1); }
.doors { gap: var(--s3); }

/* Book report index cards: seal, test line, PDF outline button, Amazon text link. */
.report-card { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.report-card .card-main { padding: 0; border: 0; }
.report-card .seal {
  display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-width: 0;
  padding: 4px 10px; border-radius: 999px; background: var(--paper) !important; color: var(--gold) !important;
  border: 1px solid var(--gold); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
}
.report-card .card-test { margin: 0; font-size: 0.95rem; padding-left: 12px; border-left: 3px solid var(--gold); }
.report-card .btn.card-dl {
  align-self: flex-start; background: transparent; color: var(--forest); border: 2px solid var(--forest);
  min-height: 48px; padding: 8px 20px; font-size: 0.95rem; width: auto; margin: 0;
}
.report-card .btn.card-dl:hover, .report-card .btn.card-dl:focus-visible { background: var(--paper); color: var(--forest-deep); }
.report-card .card-buy { align-self: flex-start; margin: 0; font-size: 0.95rem; }

/* Owner's Binder: second big print button is secondary, 12px apart; print links hover cream on deep forest. */
.big-btn + .big-btn { margin-top: 12px; background: transparent; color: var(--forest); }
.big-btn + .big-btn:hover, .big-btn + .big-btn:focus-visible { background: var(--forest-deep); color: var(--cream); }
.print-list .p-links { gap: 12px; }
.print-list .p-links a:hover, .print-list .p-links a:focus-visible { background: var(--forest-deep); color: var(--cream); border-color: var(--forest-deep); }

/* SI course: empty progress shows "Start Module 1" instead of 0 of 9. */
.progress-box .prog-start { display: none; margin: var(--s2) 0; }
.progress-box.is-empty .bar, .progress-box.is-empty .prog-text,
.progress-box:has(.bar[aria-valuenow="0"]) .bar, .progress-box:has(.bar[aria-valuenow="0"]) .prog-text { display: none; }
.progress-box.is-empty .prog-start, .progress-box:has(.bar[aria-valuenow="0"]) .prog-start { display: block; }

/* Headshots: square with a thin gold rule (no circles). */
.headshot { border-radius: 3px; border: 3px solid var(--gold); }

/* ---------- Motion ---------- */
@keyframes pss-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pss-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .home-hero { animation: pss-rise 350ms ease-out both; }
  .btn, .print-btn, .text-link, .door, .report-card, .print-list .p-links a, .nums-label, details > summary {
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out, text-decoration-color 200ms ease-out;
  }
  .btn:hover, .btn:focus-visible, .print-list .p-links a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31, 77, 63, 0.16); }
  .door:hover, .door:focus-visible, .report-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(28, 27, 24, 0.05), 0 12px 28px rgba(31, 77, 63, 0.1); }
  .btn:active, .door:active, .report-card:active { transform: none; }
  details[open] > .fold-body, details.jump[open] > .jump-list { animation: pss-open 220ms ease-out; }
  .pss-will-reveal { opacity: 0; transform: translateY(12px); }
  .pss-will-reveal.pss-inview { opacity: 1; transform: none; transition: opacity 300ms ease-out, transform 300ms ease-out; transition-delay: var(--pss-delay, 0ms); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pss-will-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print and high contrast ---------- */
@media print {
  main { box-shadow: none !important; outline: none !important; padding: 0 !important; width: auto !important; }
  .home-hero, .pss-will-reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
  .mission::before, .door h2::after, .advice-nums::before { display: none !important; }
  .advice-nums, .mission, .door, .report-card { box-shadow: none !important; }
  .hero-actions, .print-row { display: none !important; }
}
@media (forced-colors: active) {
  .mission::before, .door h2::after, .advice-nums::before { background: CanvasText; }
}
@media (max-width: 799px) { .draft-banner { font-size: 14px; padding: 8px 12px; letter-spacing: 0; line-height: 1.45; } }
@media (max-width: 799px) { .kicker { font-size: 16px; letter-spacing: 0.06em; } }
.why-line p { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; color: var(--forest); font-weight: 600; line-height: 1.3; }
.why-line cite { font-style: normal; font-weight: 700; }
/* v11 tune: one manifesto question on the first 844px screen at 375-390px. */
.home-hero { padding-bottom: 90px; }
@media (max-width: 380px) { .home-hero .hero-shot { width: 140px; height: 140px; } }
@media (min-width: 800px) { .home-hero { padding-bottom: var(--s5); } }
.advice-nums .nums-sub { font-size: 18px; }
/* v11 story and quote (Joe yes 3:40 PM ET). */
.story-proof { margin: var(--s5) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--hair); }
.walt-quote { margin: var(--s4) 0; padding: var(--s3); background: var(--paper); border: 1px solid var(--hair); border-radius: 10px; position: relative; }
.walt-quote::before { content: ""; position: absolute; left: var(--s3); top: 0; width: 40px; height: 3px; background: var(--gold); }
.walt-quote blockquote { margin: 0; }
.walt-quote blockquote p { font-style: italic; font-size: 1.05rem; margin: 0 0 var(--s2); }
.walt-quote figcaption { font-weight: 700; text-align: right; font-size: 0.95rem; }
@media print { .walt-quote::before { display: none; } }
.home-hero { padding-bottom: 100px; }
@media (min-width: 800px) { .home-hero { padding-bottom: var(--s5); } }

/* v11b: first phone screen still shows exactly one manifesto question when the draft banner is off. */
.home-hero { padding-bottom: 160px; }
@media (min-width: 800px) { .home-hero { padding-bottom: var(--s5); } }
