/* landing.css — landing-specific composition only. Document system lives in
 * dossier.css; instruments in instruments.css. Tokens only, no raw hex.
 * Zero inline styles anywhere on the page. */

/* ---------- 01 · Hero ---------- */

.movement--hero {
  /* First movement carries less top margin — the nav rule already opened
     the document. Present, not detached. */
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.movement--hero .eyebrow {
  margin-bottom: 1.5rem;
}

.hero-sub {
  margin-top: var(--space-block);
  color: var(--gray-4);
  font-size: calc(var(--text-body) * 1.05);
}

/* ---------- 02 · Problem ---------- */

.problem-note {
  margin-top: var(--space-block);
  max-width: 34ch;
}

/* ---------- 03 · Method ---------- */

.method-cluster {
  margin-top: var(--space-block);
  max-width: 44rem;
}

/* ≥1024px the four instruments sit in a 2×2 row-pair — a desktop composition
   (spec §1 hard rule), each dimension read as meter + one line, side by side
   instead of a stacked mobile column. */
@media (min-width: 1024px) {
  .method-cluster { max-width: none; }

  .method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.method-cluster-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--rule-strong);
  margin-bottom: 0.5rem;
}

.method-item {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.method-copy {
  margin: 0.35rem 0 0;
  max-width: var(--measure);
  color: var(--gray-4);
  font-size: calc(var(--text-body) * 0.92);
}

.method-composite {
  margin-top: var(--space-block);
  max-width: 44rem;
}

/* ≥1024px the composite reads sideways too: formula + opportunity meter on
   the left, its one-line reading beside it. */
@media (min-width: 1024px) {
  .method-composite {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 34rem) minmax(0, 28rem);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }

  .method-composite .formula-line { grid-column: 1; }
  .method-composite .instrument-row--composite { grid-column: 1; }

  .method-composite .method-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
}

/* The composite formula never wraps (spec §3: mobile no-wrap treatment
   preserved). At narrow widths it scrolls inside its own line rather than
   breaking tokens or overflowing the page — same treatment the retired
   methodology page used. */
.formula-line {
  margin-bottom: 0.9rem;
  color: var(--gray-3);
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.formula {
  display: inline-block;
  letter-spacing: 0.08em;
}

/* ---------- 04 · Showcase ---------- */

.showcase-intro { color: var(--gray-4); }

.showcase {
  margin-top: var(--space-block);
  /* A quiet frame: the sample sits slightly inset on the paper — an exhibit
     pinned into the document, not a boxed section (no background fill). */
  padding-left: clamp(0rem, 2vw, 1.5rem);
  border-left: 1px solid var(--rule);
}

/* ---------- 05 · Sources ---------- */

.sources-platforms {
  margin-top: var(--space-block);
  margin-bottom: 1.25rem;
  color: var(--green);
}

.movement--sources .prose p { color: var(--gray-4); }
.movement--sources .prose p:first-child { color: var(--ink-soft); }

/* ---------- 06 · The people ---------- */

.founders {
  list-style: none;
  margin: var(--space-block) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

/* Each entry opens with its own ink rule — on mobile the three stack as
   ruled rows; on desktop each column draws its own pen stroke. */
.founder > .rule {
  margin-bottom: clamp(0.9rem, 2vw, 1.3rem);
}

.founder-name {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  line-height: 1.15;
  /* Ink at rest; warms toward amber as the pointer approaches (JS writes
     --glow on .glow-target; consumed here so serif names stay dossier-ink
     instead of the default green link color). */
  color: color-mix(in srgb, var(--amber-deep) calc(var(--glow, 0) * 55%), var(--ink));
}

.founder-name:hover,
.founder-name:focus-visible { color: var(--green); }

.founder-role {
  display: block;
  margin-top: 0.55rem;
}

/* ≥1024px the three founders read horizontally in the freed content width
   (spec §1 desktop-composition hard rule). Mobile keeps the stacked flow. */
@media (min-width: 1024px) {
  .founders {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

/* ---------- 07 · Close ---------- */

.close-statement { max-width: 16ch; }

.close-row {
  margin-top: var(--space-block);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.5rem;
}

.close-soon {
  color: var(--gray-1);
  border: 1px solid var(--rule);
  padding: 0.45rem 0.8rem;
}

.close-linkedin {
  font-family: var(--font-mono);
  font-size: var(--text-mono-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  .instrument-row {
    grid-template-columns: minmax(5.5rem, auto) 1fr 3.5ch;
    gap: 0.6rem;
  }
}
