/* ============================================================
   Contemporary additions — v6
   New components: hero v2, marquee, row list, magazine grid,
   chapter explorer, portrait card, resource pills.
   ============================================================ */

/* HERO V2 — oversized type, asymmetric */
.hero-v2 { padding: 56px 0 0; }
.hero-grid-v2 { display: block; }
.hero-mega {
  font-family: var(--serif);
  font-weight: 400;
  margin: 24px 0 48px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-mega .line { display: block; padding: 0; }
.hero-mega .line:nth-child(1) { font-size: clamp(72px, 11vw, 168px); }
.hero-mega .line:nth-child(2) {
  font-size: clamp(72px, 11vw, 168px);
  display: flex; align-items: center; gap: 24px;
}
.hero-mega .line:nth-child(2) em {
  font-style: italic;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  padding-bottom: 0.1em;
  line-height: 1.05;
}
.hero-arc {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ochre);
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-15deg);
  margin-left: 12px;
  opacity: 0.85;
}
.hero-mega .line-sm {
  font-size: clamp(28px, 3.4vw, 48px);
  color: var(--ink-2);
  letter-spacing: -0.025em;
  font-style: italic;
  margin-top: 12px;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) { .hero-meta-grid { grid-template-columns: 1fr; gap: 24px; } }
.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: var(--serif); font-size: 40px;
  font-style: italic; font-weight: 400;
  letter-spacing: -0.04em; line-height: 1;
  font-variation-settings: "opsz" 144;
}
.hero-stat-num[data-i="0"] { color: var(--terra); }
.hero-stat-num[data-i="1"] { color: var(--ochre); }
.hero-stat-num[data-i="2"] { color: var(--moss); }
.hero-stat-num[data-i="3"] { color: var(--signal); }

/* MARQUEE strip */
.marquee {
  margin-top: 64px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2);
}
.marquee-num { color: var(--terra); font-weight: 500; }
.marquee-text { color: var(--ink); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ochre); }

/* ROW LIST — numbered, full-width contemporary */
.row-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.row-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 12px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left .25s ease;
}
.row-item:hover { padding-left: 24px; }
.row-num {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em; color: var(--ink-3);
}
.row-title {
  font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400; letter-spacing: -0.025em; line-height: 1.05;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.row-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0; max-width: 50ch; }
.row-marker {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
  transition: transform .25s ease;
}
.row-item:hover .row-marker { transform: scale(1.4); }
.row-terra .row-marker { background: var(--terra); }
.row-ochre .row-marker { background: var(--ochre); }
.row-moss .row-marker { background: var(--moss); }
.row-signal .row-marker { background: var(--signal); }
.row-terra .row-num { color: var(--terra); }
.row-ochre .row-num { color: var(--ochre); }
.row-moss .row-num { color: var(--moss); }
.row-signal .row-num { color: var(--signal); }
@media (max-width: 800px) {
  .row-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; }
  .row-body { grid-column: 1 / -1; padding-left: 72px; }
  .row-marker { display: none; }
}

/* MAGAZINE GRID */
.section-tinted { background: var(--bg-2); }
.mag-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .mag-grid { grid-template-columns: 1fr; } }
.mag-card-hero {
  background: var(--bg-dark);
  color: oklch(0.92 0.025 60);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative; overflow: hidden;
  transition: transform .25s ease;
  text-align: left;
  min-height: 480px;
}
.mag-card-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle 400px at 100% 0%, oklch(0.55 0.13 38 / 0.4), transparent 60%),
    radial-gradient(circle 300px at 0% 100%, oklch(0.55 0.13 75 / 0.3), transparent 60%);
  pointer-events: none;
}
.mag-card-hero > * { position: relative; }
.mag-card-hero:hover { transform: translateY(-2px); }
.mag-card-cat { margin-bottom: auto; }
.mag-card-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  color: oklch(0.96 0.025 60);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.mag-card-summary { font-size: 16px; line-height: 1.55; color: oklch(0.78 0.025 60); margin: 0; max-width: 48ch; }
.mag-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid oklch(0.32 0.045 250);
  flex-wrap: wrap; gap: 12px;
}
.mag-card-meta .mono { color: oklch(0.65 0.025 60); }
.mag-card-cta { color: var(--ochre); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.mag-grid-rest {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 600px) { .mag-grid-rest { grid-template-columns: 1fr; } }

/* Force lesson cards inside mag-grid-rest to be slightly more compact */
.mag-grid-rest .lesson-card { padding: 20px; }
.mag-grid-rest .lesson-card-title { font-size: 19px; }
.mag-grid-rest .lesson-card-summary { -webkit-line-clamp: 2; }

/* CHAPTER EXPLORER */
.ch-explorer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  background: oklch(0.18 0.045 250);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid oklch(0.30 0.045 250);
}
@media (max-width: 900px) { .ch-explorer { grid-template-columns: 1fr; } }
.ch-list { display: flex; flex-direction: column; gap: 2px; }
.ch-item {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 16px; align-items: center;
  padding: 18px 16px;
  background: transparent;
  border: 0; border-radius: 8px;
  cursor: pointer;
  text-align: left;
  color: oklch(0.78 0.025 60);
  transition: background .15s ease, color .15s ease, padding-left .2s ease;
  font: inherit;
}
.ch-item:hover { background: oklch(0.24 0.045 250); color: oklch(0.95 0.025 60); padding-left: 24px; }
.ch-item.is-active { background: oklch(0.26 0.045 250); color: var(--ochre); }
.ch-item-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ochre); }
.ch-item-title { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; font-variation-settings: "opsz" 144, "SOFT" 30; }
.ch-item.is-active .ch-item-title { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 0; }
.ch-item-arrow { color: var(--ochre); opacity: 0; transition: opacity .15s ease, transform .2s ease; }
.ch-item.is-active .ch-item-arrow { opacity: 1; transform: translateX(4px); }

.ch-preview {
  background: linear-gradient(135deg, oklch(0.55 0.13 38 / 0.18), oklch(0.55 0.13 75 / 0.12));
  border: 1px solid oklch(0.30 0.045 250);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 100px; align-self: start;
}
.ch-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ch-preview-progress { display: inline-flex; align-items: center; gap: 8px; }
.ch-preview-progress .mono { color: oklch(0.7 0.025 60); }
.ch-bar { display: inline-block; width: 80px; height: 2px; background: oklch(0.32 0.045 250); border-radius: 999px; overflow: hidden; }
.ch-bar-fill { display: block; height: 100%; background: var(--ochre); transition: width .25s ease; }
.ch-preview-title {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 40px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1.0;
  margin: 8px 0 0;
  color: oklch(0.96 0.025 60);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.ch-preview-sum { color: oklch(0.78 0.025 60); font-size: 16px; line-height: 1.55; margin: 0; max-width: 50ch; }
.ch-preview-tags { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid oklch(0.32 0.045 250); }
.ch-preview-tag { display: flex; align-items: center; gap: 10px; font-size: 14px; color: oklch(0.85 0.025 60); }
.ch-preview-tag-dot { width: 6px; height: 6px; background: var(--ochre); border-radius: 50%; flex-shrink: 0; }
.btn-ochre { background: var(--ochre); color: var(--bg-dark); border-color: var(--ochre); margin-top: 8px; align-self: flex-start; font-weight: 600; }
.btn-ochre:hover { background: var(--bg); color: var(--bg-dark); border-color: var(--bg); }

/* RESOURCE CARDS — pill-based contemporary */
.resource-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .15s ease;
  position: relative; overflow: hidden;
}
.resource-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.resource-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--terra);
}
.resource-terra .resource-stripe { background: var(--terra); }
.resource-ochre .resource-stripe { background: var(--ochre); }
.resource-moss .resource-stripe { background: var(--moss); }
.resource-signal .resource-stripe { background: var(--signal); }
.resource-format-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 8px;
  background: var(--bg-2); border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
}
.resource-format-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.resource-terra .resource-format-dot { background: var(--terra); }
.resource-ochre .resource-format-dot { background: var(--ochre); }
.resource-moss .resource-format-dot { background: var(--moss); }
.resource-signal .resource-format-dot { background: var(--signal); }
/* Hide the legacy icon block now */
.resource-icon { display: none; }

/* ABOUT TEASER V2 — split with portrait card */
.about-teaser-v2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-teaser-v2 { grid-template-columns: 1fr; gap: 32px; } }
.about-teaser-side { display: flex; flex-direction: column; gap: 16px; }
.portrait-card {
  background: var(--bg-dark);
  color: oklch(0.92 0.025 60);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: center;
  position: relative; overflow: hidden;
}
.portrait-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 200px at 100% 0%, oklch(0.55 0.13 38 / 0.4), transparent 60%);
}
.portrait-card > * { position: relative; }
.portrait-mark {
  width: 80px; height: 80px;
  background: var(--ochre); color: var(--bg-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 32px;
  letter-spacing: -0.03em; font-variation-settings: "opsz" 144;
}
.portrait-meta { display: flex; flex-direction: column; gap: 4px; }
.portrait-name { font-family: var(--serif); font-size: 24px; letter-spacing: -0.02em; color: oklch(0.96 0.025 60); font-variation-settings: "opsz" 144, "SOFT" 30; }
.portrait-role { font-size: 13.5px; color: oklch(0.78 0.025 60); }
.portrait-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.portrait-stat {
  background: var(--bg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.portrait-stat-num {
  font-family: var(--serif); font-size: 36px;
  font-style: italic; font-weight: 400; letter-spacing: -0.04em; line-height: 1;
  font-variation-settings: "opsz" 144;
}
.portrait-stat-num[data-i="0"] { color: var(--terra); }
.portrait-stat-num[data-i="1"] { color: var(--ochre); }
.portrait-stat-num[data-i="2"] { color: var(--moss); }
.portrait-stat-num[data-i="3"] { color: var(--signal); }

/* ============================================================
   Story-led content pack additions — v7
   Components for: opening story, six-area row grid, route grid,
   route blocks (Start Here), insight cards, lesson quote slot,
   how-to list, final CTA, about main column.
   ============================================================ */

/* Opening story — homepage editorial section */
.opening-story { max-width: 70ch; }
.opening-story-body p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.opening-story-body p:first-child { font-size: 22px; }

/* Six-area row grid (homepage "What this helps with") */
.row-list-six {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) { .row-list-six { grid-template-columns: 1fr; } }

/* Route grid — homepage compact card layout */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.route-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.route-card:hover {
  border-color: var(--ink-2);
  transform: translateY(-1px);
}
.route-card-q {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.route-card-meta { color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }

/* Route blocks — Start Here (full numbered lesson sequences) */
.route-list { display: flex; flex-direction: column; gap: 32px; margin: 32px 0 64px; }
.route-block {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 32px;
  background: var(--bg);
}
.route-block-head { margin-bottom: 24px; }
.route-block-q {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 30;
}
.route-block-body { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 0; max-width: 60ch; }
.route-block-lessons {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--rule);
}
.route-lesson-link {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: padding 0.15s ease;
}
.route-lesson-link:hover { padding-left: 8px; }
.route-lesson-num { color: var(--ink-3); font-size: 12px; }
.route-lesson-title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.route-lesson-cta { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.route-lesson-link:hover .route-lesson-cta { color: var(--terra); }

/* How-to list (Start Here) */
.howto-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--rule);
}
.howto-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.howto-num { color: var(--terra); font-size: 13px; }
.howto-step {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

/* Start Here opening copy */
.start-here-opening {
  max-width: 65ch;
  padding: 8px 0 32px;
}
.start-here-opening p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
}

/* Insight cards (Interview Insights) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.insight-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--bg);
}
.insight-card-top { display: flex; }
.insight-card-body {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.insight-quote-slot {
  position: relative;
  padding: 20px 24px;
  background: var(--bg-2);
  border-left: 3px solid var(--ochre);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  display: flex; flex-direction: column; gap: 8px;
}
.insight-quote-slot .quote-mark {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ochre);
  line-height: 1;
  font-style: italic;
  opacity: 0.5;
}
.insight-quote-placeholder {
  font-style: italic;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}
.insight-card-links {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.insight-link {
  text-decoration: none;
  color: var(--terra);
  font-size: 14px;
  font-weight: 500;
}
.insight-link-muted { color: var(--ink-3); }
.insight-link:hover { color: var(--ochre); }

/* Lesson + chapter quote slot (placeholder until verified) */
.lesson-quote-slot {
  position: relative;
  padding: 32px;
  background: var(--bg-2);
  border-left: 4px solid var(--ochre);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  display: flex; flex-direction: column; gap: 12px;
}
.lesson-quote-slot .quote-mark {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--ochre);
  line-height: 0.6;
  font-style: italic;
  opacity: 0.5;
}
.lesson-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

/* Final CTA (homepage closing band) */
.final-cta {
  text-align: center;
  padding: 64px 16px;
  max-width: 720px;
  margin: 0 auto;
}

/* About main copy column */
.about-main {
  max-width: 68ch;
  padding: 8px 0 32px;
}
