/* methodology.css — the editorial region: the score is the methodology.
 * Hero additions + sections 5–13 (Anatomy scaffold, pillars 01–05, band
 * ladder, mirror, comparison table, the ten, FAQ, institutions, close).
 * Spec: docs/superpowers/specs/2026-07-03-landing-methodology.md
 * Tokens only — dark mode ships free. One amber moment per viewport.
 *
 * 500-line rule justification: nine editorial sections, one stylesheet.
 * No build step means each file is a network request — splitting this
 * per-section would cost eight extra requests for styles that always
 * load together and share one type system.
 */

/* ══ Scroll architecture ═══════════════════════════════════════════
 * The snap funnel (.landing-snap, 100svh, y-mandatory) survives
 * verbatim. The editorial region is its SIBLING inside #landing-screen,
 * which becomes the outer scroller: reaching the funnel's last snap
 * section chains into normal scroll, and normal scroll continues
 * through the editorial region. Loaded after landing.css, so this
 * overrides its overflow: hidden.
 */
#landing-screen.active {
  overflow-y: auto;
  overflow-x: hidden;
}

.methodology-region {
  background: var(--parchment);
  border-top: 0.5px solid var(--ink-rule);
}

/* ══ Hero additions ════════════════════════════════════════════════ */

#quick-hero .hero-sub {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.hero-pillars {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-body);
  margin-top: 10px;
}

.hero-chips {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 18px;
}

.hero-chips li {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Dot separators only where the row can't wrap — a wrapped line would
   orphan the dot at the line start. Mobile separates by gap alone. */
@media (min-width: 560px) {
  .hero-chips li + li::before {
    content: '·';
    margin-right: 10px;
    color: var(--ink-rule);
  }
}

/* Quiet depth valve at the base of the first viewport */
.hero-depth {
  position: absolute;
  bottom: max(env(safe-area-inset-bottom, 16px), 20px);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-depth a {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--dur-quick) var(--ease-house);
}

.hero-depth a:hover {
  color: var(--ink-calm);
}

.hero-depth-sep {
  color: var(--ink-rule);
  font-size: 11px;
}

/* ══ Velvet rope addition ══════════════════════════════════════════ */

.upgrade-waitlist-note {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* ══ Editorial region — shared type system ═════════════════════════
 * Reading measure widens past the funnel's 480px on desktop: 820px
 * for prose sections, 940px for the comparison table. Cormorant
 * carries statements, Jost carries labels and data, hairline rules
 * divide. 11px floor everywhere.
 */

.m-section {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) var(--space-6);
}

.m-section + .m-section {
  border-top: 0.5px solid var(--ink-rule);
}

.m-eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-5);
}

.m-statement {
  font-family: var(--font-soul);
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.m-body {
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-body);
}

.m-footnote {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

.m-footnote a,
.m-fineprint a {
  color: var(--ink-calm);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-rule);
}

/* ══ 5 · The Anatomy (scaffold — module renders its own internals) ══ */

.anatomy-mount {
  width: 100%;
  max-width: 560px;
  margin: var(--space-10) auto;
  min-height: 320px;
}

.m-engine-note {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-calm);
  text-align: center;
  margin-bottom: var(--space-4);
}

.m-anatomy .m-footnote {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

/* ══ 6 · The five pillars — numbered index 01–05 ═══════════════════ */

.m-pillar {
  padding: clamp(48px, 8vh, 88px) 0;
}

.m-pillar + .m-pillar {
  border-top: 0.5px solid var(--ink-rule);
}

.m-pillar .m-eyebrow {
  margin-bottom: var(--space-4);
}

.m-pillar-statement {
  font-family: var(--font-soul);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--ink);
}

.m-pillar-num {
  font-family: var(--font-data);
  font-size: 0.5em;
  font-weight: 200;
  letter-spacing: 2px;
  color: var(--ink-soft);
  vertical-align: 0.25em;
  margin-right: 0.35em;
  font-feature-settings: 'lnum' 1;
}

.m-pillar-lines {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 56ch;
  margin-top: var(--space-5);
}

/* Dictionary-entry footer — OED register, small serif */
.m-dict {
  font-family: var(--font-soul);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-calm);
  max-width: 58ch;
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 0.5px solid var(--ink-rule);
}

.m-dict-term {
  font-weight: 500;
  color: var(--ink-body);
}

.m-dict-class {
  font-style: italic;
  color: var(--ink-soft);
}

.m-dict-syn {
  font-style: italic;
}

/* ══ 7 · The ladder — seven bands, printed boundaries ══════════════ */

.m-band-list {
  list-style: none;
  margin-top: var(--space-10);
  border-top: 0.5px solid var(--ink-rule);
}

.m-band {
  display: grid;
  grid-template-columns: 72px 110px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding: var(--space-4) 0;
  border-bottom: 0.5px solid var(--ink-rule);
}

.m-band-range {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--ink-soft);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  white-space: nowrap;
}

.m-band-name {
  font-family: var(--font-soul);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}

.m-band-line {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-calm);
}

@media (max-width: 560px) {
  .m-band {
    grid-template-columns: 64px 1fr;
  }
  .m-band-line {
    grid-column: 2;
  }
}

/* ══ 8 · The mirror — manifesto ════════════════════════════════════ */

.m-mirror {
  text-align: center;
}

.m-mirror-text {
  font-family: var(--font-soul);
  font-size: clamp(1.25rem, 3.6vw, 1.7rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  max-width: 34ch;
  margin: 0 auto;
  text-align: left;
}

.m-mirror-text::first-letter {
  font-size: 2.6em;
  font-weight: 300;
  float: left;
  line-height: 0.82;
  padding-right: 0.08em;
}

.m-mirror-beat {
  font-family: var(--font-soul);
  font-size: clamp(1.25rem, 3.6vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin-top: var(--space-6);
}

.m-fineprint {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 440px;
  margin: var(--space-12) auto 0;
}

/* ══ 9 · The table — category comparison ═══════════════════════════ */

.m-compare {
  max-width: 940px;
}

.m-compare-intro {
  font-family: var(--font-soul);
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: var(--space-10);
}

/* Screen-reader-only text (table corner header) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Wide content scrolls inside its own container — the page never does */
.m-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.m-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.m-table th,
.m-table td {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: 0.5px solid var(--ink-rule);
  vertical-align: top;
}

.m-table thead th {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.m-table tbody th {
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.m-table td {
  color: var(--ink-calm);
}

/* The Clarity Score column carries the ink */
.m-table td:nth-child(2),
.m-table thead th:nth-child(2) {
  color: var(--ink);
  font-weight: 400;
}

/* ══ 10 · The ten — archetype lineup ═══════════════════════════════ */

.m-statement em {
  font-style: italic;
  font-weight: 400;
}

.m-ten-list {
  list-style: none;
  margin-top: var(--space-10);
  border-top: 0.5px solid var(--ink-rule);
}

.m-ten-item {
  padding: var(--space-4) 0;
  border-bottom: 0.5px solid var(--ink-rule);
}

.m-ten-name {
  font-family: var(--font-soul);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-right: var(--space-2);
}

.m-ten-sketch {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-calm);
}

.m-ten-cta {
  margin-top: var(--space-10);
  text-align: center;
}

/* This viewport's one amber moment — the recognition resolves to the quiz */
.m-quiz-link {
  font-family: var(--font-soul);
  font-size: 20px;
  font-style: italic;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--amber-45);
  transition: text-decoration-color var(--dur-quick) var(--ease-house);
}

.m-quiz-link:hover {
  text-decoration-color: var(--amber);
}

/* ══ 11 · The honest FAQ ═══════════════════════════════════════════ */

.m-faq-item {
  padding: var(--space-6) 0;
}

.m-faq-item + .m-faq-item {
  border-top: 0.5px solid var(--ink-rule);
}

.m-faq-q {
  font-family: var(--font-soul);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.m-faq-a {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 56ch;
}

.m-faq-a a {
  color: var(--ink-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-rule);
}

/* ══ 12 · For institutions — colophon strip ════════════════════════ */

.m-institutions {
  border-top: 0.5px solid var(--ink-rule);
}

.m-inst-headline {
  font-family: var(--font-soul);
  font-size: clamp(1.4rem, 4.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  max-width: 32ch;
}

.m-inst-body {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 58ch;
  margin-top: var(--space-5);
}

/* The strip's single amber: the live demo. Other links stay ink. */
.m-inst-body a {
  color: var(--ink-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-rule);
}

.m-inst-body a[data-b2b-demo] {
  color: var(--amber);
  text-decoration-color: var(--amber-45);
}

.m-institutions .m-footnote {
  margin-top: var(--space-8);
  max-width: 58ch;
}

/* ══ 13 · The close — amber reversed CTA ladder ════════════════════
 * The ONE full-bleed amber spend on the page. Text is --stock: warm
 * white on amber in light mode, dark stock on lightened amber in dark
 * mode — both WCAG-checked in tokens.css.
 */

.m-close-band {
  background: var(--amber);
  padding: clamp(56px, 9vh, 96px) var(--space-6);
}

.m-close-cols {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
}

.m-close-col {
  display: block;
  text-decoration: none;
  padding: var(--space-2) 0;
}

.m-close-col + .m-close-col {
  border-left: 0.5px solid var(--stock);
  padding-left: var(--space-8);
}

.m-close-action {
  display: block;
  font-family: var(--font-soul);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--stock);
}

.m-close-sub {
  display: block;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--stock);
  opacity: 0.75;
  margin-top: var(--space-2);
}

.m-close-col:hover .m-close-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .m-close-cols {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .m-close-col + .m-close-col {
    border-left: none;
    border-top: 0.5px solid var(--stock);
    padding-left: 0;
    padding-top: var(--space-6);
  }
}

/* Giant wordmark, cropped at the baseline — the sentence the page ends on */
.m-wordmark-wrap {
  overflow: hidden;
  height: clamp(64px, 19vw, 180px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.m-wordmark {
  font-family: var(--font-soul);
  font-size: clamp(110px, 32vw, 300px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  user-select: none;
}

/* Real footer */
.m-footer {
  padding: var(--space-8) var(--space-6) max(env(safe-area-inset-bottom, 16px), var(--space-10));
  text-align: center;
  border-top: 0.5px solid var(--ink-rule);
}

.m-footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.m-footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--dur-quick) var(--ease-house);
}

.m-footer-nav a:hover {
  color: var(--ink-calm);
}

.m-footer-disclaimer {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}
