/* ═══════════════════════════════════════════════════════════════════
   CognioNews · SEAM — production homepage stylesheet
   Spec: GL-003-design-system-cognionews-seam.md (Iris, 2026-09-03)
   Law (§0): gold = repair done; seam thickness IS the story's CMR tier.
   One motion: the seam-draw (§6.2), gated on prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* §2.1 — the nine canonical slots */
  --cns-gold: #d4a017;
  --cns-bronze: #b45309;            /* fill/gradient/large-display only */
  --cns-gold-bright: #ecc75e;
  --cns-surface-0: #100e1b;
  --cns-surface-dim: #14111f;
  --cns-surface-1: #171427;
  --cns-parchment: #f2e8d5;
  --cns-gold-wash: rgba(180, 83, 9, 0.13);
  --cns-ink-on-gold: #14101e;

  /* §2.2 — gold ramp */
  --cns-gold-deep: #6b4a12;
  --cns-gold-mid: #8a6a1e;

  /* §2.2 — surfaces & structure */
  --cns-surface-2: #191531;
  --cns-surface-restored: #1b1626;
  --cns-border: #2b2140;
  --cns-border-chip: #3a3352;
  --cns-hairline-neutral: #4a4162;  /* decorative-only */
  --cns-restored-highlight: rgba(212, 160, 23, 0.35);

  /* §2.2 — parchment / text ramp */
  --cns-text-display: #f2e8d5;
  --cns-text: #e9ddc4;
  --cns-text-restored: #e2d6bd;
  --cns-text-soft: #cbbfa4;
  --cns-text-label: #b7aa8f;
  --cns-text-muted: #9c92ad;
  --cns-text-published: #a99fba;
  --cns-text-faint: #8d829e;        /* the AA floor for text */
  --cns-fill-faint: #7d7390;        /* fill-only, never text */

  /* §0.1 — canon seam-thickness scale */
  --cns-seam-gilded: 5px;
  --cns-seam-seamed: 3px;
  --cns-seam-hairline: 1.5px;
  --cns-seam-unrepaired: 1px;
  --cns-seam-spine: 2px;

  /* §4 — spacing (base 4px) */
  --cns-space-xs: 8px;
  --cns-space-sm: 12px;
  --cns-space-md: 24px;
  --cns-space-lg: 40px;
  --cns-space-xl: 56px;
  --cns-space-2xl: 72px;
  --cns-space-3xl: 84px;
}

/* ── Base ─────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cns-surface-0);
  color: var(--cns-text);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--cns-gold); text-decoration: none; }
a:hover { color: var(--cns-gold-bright); }
::selection { background: var(--cns-bronze); color: var(--cns-ink-on-gold); }

/* §8.3 — focus ring: 3px gold-bright, offset 3px, outside clip-paths */
:focus-visible {
  outline: 3px solid var(--cns-gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 10px 18px;
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(90deg, var(--cns-bronze), var(--cns-gold));
  color: var(--cns-ink-on-gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: var(--cns-space-sm); top: var(--cns-space-sm); color: var(--cns-ink-on-gold); }

/* ── Masthead (§6.7) ──────────────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--cns-space-md);
  flex-wrap: wrap;
  padding: 28px var(--cns-space-xl) 22px;
  border-bottom: 1px solid var(--cns-border);
}
.masthead-brand { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.wordmark {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cns-text);
  line-height: 1;
}
.wordmark:hover { color: var(--cns-text); }
.wordmark-news { color: var(--cns-gold); }
.strapline {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  color: var(--cns-text-faint);
}
.masthead-nav { display: flex; align-items: baseline; gap: 30px; flex-wrap: wrap; }
.masthead-nav a {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cns-text-label);
}
.masthead-nav a:hover { color: var(--cns-gold-bright); }
.enter-chip {
  color: var(--cns-gold);
  border: 1px solid var(--cns-gold-deep);
  padding: 2px 14px;
}

/* ── Hero (§6.3) ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-collage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 14, 27, 0.25) 0%,
    rgba(16, 14, 27, 0.05) 40%,
    rgba(16, 14, 27, 0.88) 100%);
}
.hero-seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--cns-seam-spine);
  height: 100%;
  transform: translateX(-1px);
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(212, 160, 23, 0.55));
}
.hero-seam .seam-draw {
  stroke: var(--cns-gold); /* fallback (§2.3) */
  stroke: url(#seam-gradient-v);
  stroke-width: 2;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 var(--cns-space-md) 64px;
  max-width: 960px;
}
.hero-question {
  margin: 0;
  font-size: 54px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: var(--cns-text-display);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.hero-stats {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--cns-text-soft);
  min-height: 1.4em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.cta-lozenge {
  margin-top: 6px;
  padding: 12px 34px;
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(90deg, var(--cns-bronze), var(--cns-gold));
  color: var(--cns-ink-on-gold);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-lozenge:hover { color: var(--cns-ink-on-gold); background: linear-gradient(90deg, var(--cns-bronze), var(--cns-gold-bright)); }

/* ── Seam-spine + lens nodes (§6.2) ───────────────────────────────── */
.spine-section {
  position: relative;
  padding: 70px 0 var(--cns-space-xl);
}
.spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--cns-seam-spine);
  transform: translateX(-1px);
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(180deg, var(--cns-bronze), var(--cns-gold) 50%, var(--cns-gold-deep));
  box-shadow: 0 0 14px rgba(212, 160, 23, 0.35);
}
.spine-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cns-text-faint);
  padding: 0 var(--cns-space-md);
}
.lens-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--cns-space-sm);
  padding: 0 var(--cns-space-2xl);
}
.lens-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px;
  background: var(--cns-surface-1);
  border: 0;
  border-top: 2px solid var(--cns-gold);
  color: var(--cns-text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.lens-node:nth-child(even) { border-top-color: var(--cns-gold-mid); }
.lens-node svg { stroke: var(--cns-gold); }
.lens-node .lens-count {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cns-text-faint);
}
.lens-node[aria-pressed="true"] {
  background: var(--cns-gold-wash);
  border-top-color: var(--cns-gold-bright);
  color: var(--cns-gold-bright);
}
.lens-node:hover { border-top-color: var(--cns-gold-bright); }
.js-note { grid-column: 1 / -1; text-align: center; color: var(--cns-text-muted); }

/* ── Field section ────────────────────────────────────────────────── */
.field-section { padding: 10px var(--cns-space-2xl) var(--cns-space-3xl); }

.field-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--cns-space-lg);
  margin-bottom: 30px;
}
.field-heading {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.field-key {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cns-text-faint);
}
.field-fragment {
  margin: 0;
  flex: 0 0 180px;
  text-align: right;
}
.field-fragment img {
  width: 180px;
  height: 200px;
  object-fit: cover;
  display: block;
  clip-path: polygon(3% 0, 97% 2%, 100% 88%, 90% 100%, 4% 97%, 0 10%);
  filter: saturate(1.05);
}
.field-fragment figcaption {
  font-size: 13px;
  color: var(--cns-text-faint);
  margin-top: 6px;
}

/* CMR tier rail (§6.4) */
.tier-rail {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: var(--cns-space-md);
}
.tier-rail-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cns-text-faint);
  white-space: nowrap;
}
.tier-rail-track {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.tier-seg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 6px 4px 8px;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: var(--cns-text-soft);
}
.tier-seg .tier-bar { width: 100%; height: var(--sw, 1px); }
.tier-seg[data-tier="gilded"] .tier-bar {
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(90deg, var(--cns-bronze), var(--cns-gold-bright), var(--cns-gold));
}
.tier-seg[data-tier="seamed"] .tier-bar { background: var(--cns-gold); }
.tier-seg[data-tier="hairline"] .tier-bar { background: var(--cns-gold-mid); }
.tier-seg[data-tier="unrepaired"] .tier-bar { background: var(--cns-hairline-neutral); }
.tier-seg .tier-name { font-size: 13px; line-height: 1.4; }
.tier-seg[data-tier="gilded"] .tier-name { color: var(--cns-gold-bright); }
.tier-seg[data-tier="unrepaired"] { color: var(--cns-text-faint); cursor: not-allowed; }
.tier-seg[aria-pressed="true"] { background: var(--cns-gold-wash); }
.tier-seg[aria-pressed="true"] .tier-name { color: var(--cns-gold-bright); }

/* Controls row */
.field-controls {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--cns-space-md);
  margin-bottom: var(--cns-space-md);
}
.field-status { margin: 0; font-size: 15px; color: var(--cns-text-muted); }
.sort-label {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cns-text-label);
}
.sort-label select {
  margin-left: var(--cns-space-xs);
  background: var(--cns-surface-1);
  color: var(--cns-text);
  border: 1px solid var(--cns-border-chip);
  font: inherit;
  font-size: 15px;
  padding: 6px 10px;
}

/* ── Torn-fragment cards (§6.1) ───────────────────────────────────── */
.frag-field {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 32px;
}
.frag { --sw: var(--cns-seam-unrepaired); }

/* Focus ring lives on the UNCLIPPED link wrapper (§6.1) */
.frag-link { display: block; color: inherit; }
.frag-link:hover { color: inherit; }

.frag-card {
  position: relative;
  height: 100%;
  background: var(--cns-surface-1);
  padding: calc(var(--cns-space-md) + var(--sw)) 22px var(--cns-space-md);
  /* tear shapes assigned per-card via .t0–.t5 */
}
.frag:nth-child(odd) .frag-card { background: var(--cns-surface-2); }

/* the seam top-edge: height bound to the SAME --sw as everything else */
.frag-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sw);
  background: var(--cns-gold); /* fallback (§2.3) */
}
/* hand-poured gradient variants — four canon golds only, bright once (§2.3) */
.frag.g0 .frag-card::before { background: linear-gradient(90deg, var(--cns-gold-deep), var(--cns-gold-bright), var(--cns-bronze)); }
.frag.g1 .frag-card::before { background: linear-gradient(90deg, var(--cns-bronze), var(--cns-gold), var(--cns-gold-deep)); }
.frag.g2 .frag-card::before { background: linear-gradient(90deg, var(--cns-gold-deep), var(--cns-gold), var(--cns-gold-bright)); }
.frag.g3 .frag-card::before { background: linear-gradient(90deg, var(--cns-gold-bright), var(--cns-gold), var(--cns-bronze)); }
.frag[data-tier="hairline"] .frag-card::before { background: var(--cns-gold-mid); }
.frag[data-tier="unrepaired"] .frag-card::before { background: var(--cns-hairline-neutral); }

/* six tear polygons — adjacent cards never share one (assigned mod 6) */
.frag.t0 .frag-card { clip-path: polygon(3% 0, 97% 2%, 100% 12%, 99% 90%, 92% 100%, 2% 98%, 0 10%, 1% 4%); }
.frag.t1 .frag-card { clip-path: polygon(0 3%, 94% 0, 100% 12%, 97% 97%, 88% 100%, 6% 99%, 1% 88%, 2% 9%); }
.frag.t2 .frag-card { clip-path: polygon(5% 1%, 98% 0, 99% 8%, 100% 93%, 88% 99%, 4% 100%, 0 90%, 1% 8%); }
.frag.t3 .frag-card { clip-path: polygon(1% 0, 96% 3%, 99% 9%, 100% 91%, 94% 100%, 3% 96%, 0 87%, 2% 12%); }
.frag.t4 .frag-card { clip-path: polygon(2% 2%, 99% 0, 100% 14%, 98% 89%, 91% 100%, 3% 97%, 1% 92%, 0 14%); }
.frag.t5 .frag-card { clip-path: polygon(4% 0, 97% 1%, 100% 9%, 98% 95%, 90% 99%, 7% 100%, 0 91%, 1% 6%); }

.frag-kicker {
  margin: 0 0 var(--cns-space-sm);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cns-gold);
}
.frag-headline {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cns-text);
}
.frag-deck {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cns-text-muted);
}
.frag-source {
  margin: 0;
  font-size: 13px;
  color: var(--cns-text-faint);
}

/* §2.4 — unrepaired: tonal dimming, never opacity */
.frag[data-tier="unrepaired"] .frag-card { background: var(--cns-surface-dim); }
.frag[data-tier="unrepaired"] .frag-kicker { color: var(--cns-text-faint); }
.frag[data-tier="unrepaired"] .frag-headline { color: var(--cns-text-muted); }
.frag[data-tier="unrepaired"] .frag-deck { color: var(--cns-text-faint); }

.field-foot { text-align: center; margin-top: var(--cns-space-lg); }
.load-more {
  padding: 12px 34px;
  background: transparent;
  border: 1px solid var(--cns-gold-deep);
  color: var(--cns-gold);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.load-more:hover { color: var(--cns-gold-bright); border-color: var(--cns-gold); }

/* ── Story dialog: torn halves (§6.6) ─────────────────────────────── */
.story-dialog {
  background: var(--cns-surface-0);
  color: var(--cns-text);
  border: 1px solid var(--cns-border);
  padding: var(--cns-space-md) var(--cns-space-lg) var(--cns-space-lg);
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  --sw: var(--cns-seam-seamed);
}
.story-dialog::backdrop { background: rgba(16, 14, 27, 0.82); }

.story-dialog-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--cns-space-md);
}
.story-dialog-lens {
  flex: 1;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cns-text-faint);
}
.story-cmr-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--cns-gold-deep);
  padding: 6px 16px;
  background: var(--cns-gold-wash);
}
.story-cmr-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cns-text-soft);
}
.story-cmr-score {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--cns-gold-bright);
}
.story-close {
  background: transparent;
  border: 1px solid var(--cns-border-chip);
  color: var(--cns-text-label);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.story-close:hover { color: var(--cns-gold-bright); border-color: var(--cns-gold); }

.story-title {
  margin: 0 auto 14px;
  max-width: 900px;
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}
.story-meta {
  margin: 0 0 26px;
  text-align: center;
  font-size: 15px;
  color: var(--cns-text-faint);
}

.story-halves {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: var(--cns-space-md);
}
/* central seam takes the story's own tier width (§0.1 rule 3) */
.story-seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--sw);
  transform: translateX(-50%);
  z-index: 2;
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(180deg, var(--cns-gold-deep), var(--cns-gold-bright) 30%, var(--cns-gold) 70%, var(--cns-bronze));
  box-shadow: 0 0 22px rgba(212, 160, 23, 0.5);
  transform-origin: top center;
}
.half { padding: 38px; }
.half-published {
  background: var(--cns-surface-dim);
  clip-path: polygon(0 0, 99% 1%, 97% 25%, 99.5% 50%, 97.5% 75%, 99% 100%, 0 99%);
  padding-right: 44px;
}
.half-restored {
  background: var(--cns-surface-restored);
  clip-path: polygon(1% 1%, 100% 0, 100% 99%, 1% 100%, 3% 75%, 0.5% 50%, 2.5% 25%);
  padding-left: 44px;
}
.half-label {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.half-label-published { color: var(--cns-text-faint); } /* no gold before the seam (§7) */
.half-label-restored { color: var(--cns-gold); }
.half-body { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; }
.half-body p { margin: 0; }
.half-published .half-body { color: var(--cns-text-published); }
.half-restored .half-body { color: var(--cns-text-restored); }
.half-note { font-style: italic; color: var(--cns-text-faint); }

/* §2.2 — restored-claim underlay: bottom-32% gradient, never a block */
.restored-hl {
  background: linear-gradient(180deg, transparent 68%, var(--cns-restored-highlight) 68%);
}
/* §6.6 — gold-tick restorations (stitch marks) */
.stitch {
  position: relative;
  padding-left: 18px;
}
.stitch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 3px;
  background: var(--cns-gold); /* fallback (§2.3) */
  background: linear-gradient(90deg, var(--cns-gold-deep), var(--cns-gold));
}
.thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cns-space-xs);
}
.thread-list li {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cns-text-faint);
  border: 1px solid var(--cns-border-chip);
  padding: 2px 10px;
}

/* Seam annotations row (§6.6) */
.seam-annotations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.annotation { border-top: 2px solid var(--cns-gold-mid); padding-top: 14px; }
.annotation-primary { border-top-color: var(--cns-gold); }
.annotation-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cns-gold);
}
.annotation p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cns-text-muted); }
.annotation button.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--cns-gold);
  cursor: pointer;
}
.annotation button.link-btn:hover { color: var(--cns-gold-bright); }

/* ── Footer (§6.7) ────────────────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--cns-space-md);
  flex-wrap: wrap;
  padding: 26px var(--cns-space-xl);
  border-top: 1px solid var(--cns-border);
  font-size: 14px;
  color: var(--cns-text-faint);
}
.footer p { margin: 0; }
.footer nav { display: flex; gap: 26px; }

/* ── The one motion: seam-draw (§6.2), gated (§8.2) ───────────────── */
.seam-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-seam .seam-draw {
    stroke-dashoffset: 100;
    animation: seam-draw 1.6s cubic-bezier(0.6, 0, 0.3, 1) 0.2s forwards;
  }
  .story-dialog[open] .story-seam {
    animation: seam-open 0.7s cubic-bezier(0.6, 0, 0.3, 1) forwards;
  }
}
@keyframes seam-draw { to { stroke-dashoffset: 0; } }
@keyframes seam-open { from { transform: translateX(-50%) scaleY(0); } to { transform: translateX(-50%) scaleY(1); } }

/* ── Responsive stacking (GL mobile discipline) ───────────────────── */
@media (max-width: 1100px) {
  .lens-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 var(--cns-space-lg); }
  .field-section { padding: 10px var(--cns-space-lg) var(--cns-space-2xl); }
}

@media (max-width: 760px) {
  .masthead { padding: 20px var(--cns-space-md) 16px; }
  .wordmark { font-size: 26px; }
  .hero { min-height: 520px; }
  .hero-question { font-size: 36px; }
  .lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 var(--cns-space-md); }
  .field-section { padding: 10px var(--cns-space-md) var(--cns-space-xl); }
  .field-head { flex-direction: column; align-items: flex-start; gap: var(--cns-space-md); }
  .field-fragment { text-align: left; flex-basis: auto; }
  .field-fragment img { width: 140px; height: 150px; }
  .tier-rail { flex-direction: column; align-items: stretch; gap: 10px; }
  .tier-rail-track { flex-wrap: wrap; }
  .tier-seg { flex: 1 1 40%; }
  .field-controls { flex-direction: column; align-items: flex-start; gap: var(--cns-space-sm); }

  /* story halves stack; the seam turns horizontal between them */
  .story-dialog { padding: var(--cns-space-md) var(--cns-space-md) var(--cns-space-lg); }
  .story-title { font-size: 26px; }
  .story-halves { grid-template-columns: 1fr; }
  .half-published, .half-restored { clip-path: none; padding: 26px 22px; }
  .story-seam {
    position: static;
    width: 100%;
    height: var(--sw);
    transform: none;
    order: 2;
    background: linear-gradient(90deg, var(--cns-gold-deep), var(--cns-gold-bright) 30%, var(--cns-gold) 70%, var(--cns-bronze));
  }
  .half-published { order: 1; }
  .half-restored { order: 3; }
  .seam-annotations { grid-template-columns: 1fr; }
  @media (prefers-reduced-motion: no-preference) {
    .story-dialog[open] .story-seam { animation: none; }
  }
}

@media (max-width: 480px) {
  .lens-grid { grid-template-columns: 1fr 1fr; }
  .frag-field { grid-template-columns: 1fr; }
}
