/* ============================================================
   They Are Not Choking — site stylesheet
   Aesthetic: editorial restraint, Apple-inspired, typography-led.
   No gradients, no glows, no creator-economy energy.
   Inherits color tokens and spacing philosophy from tizanae.com.
   ============================================================ */

:root {
  color-scheme: light dark;

  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-recessed: #FAFAFC;
  --border: #D2D2D7;
  --border-soft: #E8E8ED;
  --text-primary: #1D1D1F;
  --text-secondary: #424245;
  --text-muted: #86868B;
  --text-faint: #B0B0B5;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --rule: rgba(29, 29, 31, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #1C1C1E;
    --bg-recessed: #0F0F11;
    --border: #38383A;
    --border-soft: #2A2A2D;
    --text-primary: #F5F5F7;
    --text-secondary: #C7C7CC;
    --text-muted: #8E8E93;
    --text-faint: #5E5E63;
    --accent: #0A84FF;
    --accent-hover: #2A95FF;
    --rule: rgba(245, 245, 247, 0.10);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 20px; line-height: 1.64; }
}

img, video, iframe {
  max-width: 100%;
  display: block;
}

a { color: var(--accent); text-decoration: none; transition: opacity 200ms ease; }
a:hover { opacity: 0.7; }

/* ---------- Container ---------- */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container, .container-wide { padding: 0 40px; }
}

/* ---------- Header / Nav ---------- */

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .site-header { padding: 28px 0; }
}

.site-nav {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .site-nav { padding: 0 40px; }
}

.site-nav .brand {
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.site-nav .brand:hover { opacity: 1; }
.site-nav .brand:hover .brand-name { color: var(--text-primary); }
.site-nav .brand:hover .brand-tagline { color: var(--text-secondary); }

.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  flex-wrap: wrap;
  padding-top: 4px;
}

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 540px) {
  .site-nav { gap: 12px; }
  .nav-links { gap: 16px; font-size: 13px; padding-top: 0; }
  .brand-tagline { display: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 96px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .site-footer { margin-top: 144px; padding: 56px 0 72px; }
}

.site-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .site-footer-inner { padding: 0 40px; }
}

.site-footer-inner a {
  color: var(--text-secondary);
}

.site-footer-inner a:hover { color: var(--text-primary); opacity: 1; }

.site-footer-aside {
  max-width: 880px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .site-footer-aside { padding: 24px 40px 0; }
}

.academy-stub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.academy-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.academy-line {
  color: var(--text-muted);
}

.academy-status {
  color: var(--text-faint);
  font-style: italic;
}

.contact-stub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.contact-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.contact-email {
  color: var(--text-muted);
}

.contact-email:hover {
  color: var(--text-primary);
  opacity: 1;
}

/* ---------- Section primitives ---------- */

section { padding: 64px 0; }
section.section-alt { background: var(--bg-alt); }
section.tight { padding: 40px 0; }

@media (min-width: 768px) {
  section { padding: 96px 0; }
  section.tight { padding: 56px 0; }
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.eyebrow.accent { color: var(--accent); }

.section-heading {
  font-weight: 700;
  font-size: clamp(30px, 4.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-heading em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.section-intro {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 56px;
  max-width: 620px;
}

hr.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 56px 0;
}

@media (min-width: 768px) {
  hr.rule { margin: 72px 0; }
}

/* ---------- Buttons / quiet CTAs ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #FFFFFF;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  border-radius: 980px;
  transition: background 220ms ease, transform 120ms ease;
  border: none;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
}

.button:hover { background: var(--accent-hover); opacity: 1; }
.button:active { transform: scale(0.98); }

.button .arrow {
  display: inline-block;
  transition: transform 220ms ease;
}

.button:hover .arrow { transform: translateX(3px); }

.button.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button.secondary:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
}

.link-arrow:hover { opacity: 1; }
.link-arrow .arrow { transition: transform 220ms ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- Home: hero ---------- */

.home-hero {
  padding: 56px 0 32px;
}

@media (min-width: 768px) {
  .home-hero { padding: 88px 0 48px; }
}

.home-hero h1 {
  font-weight: 700;
  font-size: clamp(36px, 6.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 28px;
  max-width: 18ch;
}

.home-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.home-hero .lede {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 56ch;
}

.home-hero .meta {
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.home-hero .meta a { color: var(--text-secondary); }
.home-hero .meta a:hover { color: var(--text-primary); opacity: 1; }

/* ---------- Home: field image (quiet, integrated) ---------- */

.home-field {
  margin: 8px 0 40px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .home-field { padding: 0 40px; margin-bottom: 64px; }
}

.home-field figure {
  margin: 0;
}

.home-field img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.home-field figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  line-height: 1.5;
}

/* ---------- Home: featured observation ---------- */

.featured-obs {
  padding: 16px 0 0;
}

.featured-obs .obs-date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.featured-obs h2 {
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 28ch;
}

.featured-obs h2 a {
  color: inherit;
}

.featured-obs h2 a:hover {
  color: var(--accent);
  opacity: 1;
}

.featured-obs p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------- Home: lists of quiet links ---------- */

.home-grid {
  margin-top: 64px;
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .home-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.home-col h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.home-col ul {
  list-style: none;
}

.home-col li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.home-col li:last-child { border-bottom: 0; }

.home-col li a {
  color: var(--text-primary);
  display: block;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.008em;
  font-weight: 500;
}

.home-col li a:hover { color: var(--accent); opacity: 1; }

.home-col li .li-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Observations index ---------- */

.list-page-header {
  padding: 56px 0 32px;
}

@media (min-width: 768px) {
  .list-page-header { padding: 88px 0 48px; }
}

.list-page-header h1 {
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.list-page-header h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.list-page-header .lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 56ch;
}

.observations-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.observations-list > li {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}

@media (min-width: 768px) {
  .observations-list > li { padding: 40px 0; }
}

.obs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .obs-row {
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: baseline;
  }
}

.obs-row .date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.obs-row .body h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.28;
  letter-spacing: -0.016em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.obs-row .body h2 a { color: inherit; }
.obs-row .body h2 a:hover { color: var(--accent); opacity: 1; }

.obs-row .body p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.obs-row .body .tags {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.obs-row .body .tags a {
  color: var(--text-muted);
  margin-right: 12px;
}

.obs-row .body .tags a:hover { color: var(--accent); opacity: 1; }

/* ---------- Observation detail ---------- */

.observation {
  padding: 56px 0 32px;
}

@media (min-width: 768px) {
  .observation { padding: 88px 0 56px; }
}

.observation .back {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.observation .back:hover { color: var(--text-primary); opacity: 1; }

.observation .date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.observation h1 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.observation h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin-bottom: 22px;
}

.prose p {
  color: var(--text-primary);
  line-height: 1.65;
}

.prose em { font-style: italic; }
.prose strong { font-weight: 600; }

.prose blockquote {
  border-left: 2px solid var(--border);
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 32px 0;
}

.prose .pull {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.016em;
  font-weight: 500;
  color: var(--text-primary);
  margin: 40px 0;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-top: 32px;
  padding-bottom: 32px;
}

.prose figure {
  margin: 32px 0;
}

.prose figure img,
.prose figure video {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.prose figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.prose .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 32px 0;
  background: var(--bg-recessed);
  border-radius: 4px;
  overflow: hidden;
}

.prose .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prose hr {
  border: 0;
  text-align: center;
  margin: 40px 0;
  color: var(--text-faint);
}

.prose hr::before {
  content: "* * *";
  letter-spacing: 0.5em;
  font-size: 14px;
}

/* ---------- Related links at the end of an observation ---------- */

.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--text-muted);
}

.related .related-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  font-weight: 600;
}

.related ul { list-style: none; }
.related li {
  padding: 6px 0;
}

.related li a {
  color: var(--text-secondary);
  font-size: 15px;
}

.related li a:hover { color: var(--accent); opacity: 1; }

/* ---------- Ideas index & detail ---------- */

.ideas-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.ideas-list > li {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}

.ideas-list h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ideas-list h2 a { color: inherit; }
.ideas-list h2 a:hover { color: var(--accent); opacity: 1; }

.ideas-list .gloss {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.idea {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .idea { padding: 88px 0 56px; }
}

.idea h1 {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  margin-bottom: 28px;
}

.idea h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.idea .definition {
  font-size: clamp(19px, 2.3vw, 22px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.idea-section {
  margin-top: 40px;
}

.idea-section h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.idea-section ul {
  list-style: none;
}

.idea-section li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.idea-section li:first-child { padding-top: 0; }
.idea-section li:last-child { border-bottom: 0; }

.idea-section li a {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.idea-section li a:hover { color: var(--accent); opacity: 1; }

.idea-section li .li-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------- Journey / book pages preserve narrow column ---------- */

.simple-page {
  padding: 56px 0 24px;
}

@media (min-width: 768px) {
  .simple-page { padding: 88px 0 32px; }
}

.simple-page h1 {
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  margin-bottom: 20px;
}

.simple-page h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.simple-page .lede {
  font-size: clamp(19px, 2.2vw, 22px);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 56ch;
}

/* ---------- Journey rail ---------- */

.journey-list {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}

.journey-list > li {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}

@media (min-width: 768px) {
  .journey-list > li { padding: 40px 0; }
}

.chapter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 720px) {
  .chapter-row {
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: baseline;
  }
}

.chapter-num {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chapter-row h2 {
  font-size: clamp(22px, 2.8vw, 26px);
  line-height: 1.24;
  letter-spacing: -0.016em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.chapter-row h2 a { color: inherit; }
.chapter-row h2 a:hover { color: var(--accent); opacity: 1; }

.chapter-row .dek {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}

.chapter-row .chapter-meta {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 719px) {
  .chapter-row .chapter-meta { margin-top: 6px; }
}

/* ---------- Media archive ---------- */

.media-section {
  margin-top: 56px;
}

.media-section h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.media-section .section-note {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 56ch;
}

.media-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.media-list > li {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.media-list h3 {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.008em;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.media-list h3 a { color: inherit; }
.media-list h3 a:hover { color: var(--accent); opacity: 1; }

.media-list .media-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.playlist-embed {
  margin: 24px 0 40px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-recessed);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.playlist-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Book page ---------- */

.book-page {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .book-page { padding: 88px 0; }
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 720px) {
  .book-layout {
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }
}

.book-cover-wrap img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
}

@media (prefers-color-scheme: dark) {
  .book-cover-wrap img {
    box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.5);
  }
}

.book-info h1 {
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.book-info .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.4;
}

.book-info .prose {
  margin-bottom: 32px;
}

.retailers {
  margin-top: 24px;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.retailers li {
  border-bottom: 1px solid var(--rule);
}

.retailers a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.retailers a:hover {
  color: var(--accent);
  opacity: 1;
}

.retailers a .ret-arrow {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 200ms ease;
}

.retailers a:hover .ret-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---------- Article (Journey essay) page ---------- */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 100;
  transition: width 60ms linear;
}

.article {
  padding: 48px 0 24px;
}

@media (min-width: 768px) {
  .article { padding: 72px 0 32px; }
}

.article-back {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.article-back:hover { color: var(--text-primary); opacity: 1; }

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.article-step-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.article-step-tag .num {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.article-meta-sep { color: var(--text-faint); }
.article-meta-item { color: var(--text-muted); }

.article-title {
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.article-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.article-dek {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 56px;
  max-width: 56ch;
}

.article-body p.opening {
  font-size: clamp(20px, 2.3vw, 23px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.012em;
  margin-bottom: 28px;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 22px;
  color: var(--text-primary);
  line-height: 1.68;
}

.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; }

.article-body hr.section-break {
  border: 0;
  text-align: center;
  margin: 40px 0;
  color: var(--text-faint);
}

.article-body hr.section-break::before {
  content: "* * *";
  letter-spacing: 0.5em;
  font-size: 14px;
}

/* ---------- Article end transition ---------- */

.transition {
  margin-top: 72px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.transition-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.transition-prompt {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.016em;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 36ch;
}

.transition-prompt em {
  font-style: italic;
  color: var(--text-secondary);
}

.transition-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.transition-progress-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.transition-progress-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.transition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 200ms ease;
}

.transition-dot.is-completed {
  background: var(--text-secondary);
}

.transition-dot.is-current {
  width: 22px;
  border-radius: 4px;
  background: var(--accent);
}

/* ---------- Apply (PDF) page ---------- */

.apply {
  padding: 56px 0 24px;
}

@media (min-width: 768px) {
  .apply { padding: 88px 0 32px; }
}

.apply-headline {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}

.apply-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.apply-prose {
  color: var(--text-primary);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.62;
  margin-bottom: 22px;
}

.apply-progress { margin: 32px 0 28px; }

.apply-back {
  display: inline-block;
  margin-left: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.apply-back:hover { color: var(--text-primary); opacity: 1; }

/* ---------- Accessibility & motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reading-progress { transition: none; }
}

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

/* ---------- Subtle scroll fade-in ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- Mobile: full-width buttons ---------- */

@media (max-width: 480px) {
  .button {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Side Doors (FAQ-style expandable block at end of journey articles) ---------- */

.side-doors {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.side-doors-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.side-doors-heading {
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.28;
  letter-spacing: -0.016em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.side-doors-list {
  border-top: 1px solid var(--rule);
}

.side-door {
  border-bottom: 1px solid var(--rule);
}

.side-door summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.008em;
  transition: color 200ms ease;
}

.side-door summary::-webkit-details-marker { display: none; }
.side-door summary::marker { display: none; }

.side-door summary:hover { color: var(--accent); }

.side-door-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 200ms ease;
}

.side-door[open] .side-door-icon { transform: rotate(180deg); }

.side-door-answer {
  padding: 0 0 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.62;
}
