/* ============================================================
   Per-model pages — "memory medium" concept.
   Tablet = clay tablet, Scroll = scroll, Codex = codex/book:
   the media humankind used to hold memory. WOS-native, paper theme.
   Reuses tokens from styles.css.
   ============================================================ */

/* ---- hero ---- */
.mh { padding: 120px 0 24px; position: relative; }
.mh .wrap { width: min(900px, 92vw); margin: 0 auto; }

.med-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.med-rune { width: 30px; height: 30px; color: var(--accent); flex: none; }
.med-rune svg { width: 100%; height: 100%; }
.med-era { font-family: var(--mono, ui-monospace, monospace); font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); }
.med-era b { color: var(--text-2); font-weight: 600; }
.med-kicker .mstatus { margin: 0 0 0 auto; }

.mstatus { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 999px; }
.mstatus.soon { color: var(--muted); background: color-mix(in srgb, var(--muted) 15%, transparent); }
.mstatus.live { color: #1c7a4d; background: color-mix(in srgb, #1c7a4d 13%, transparent); }

.med-name { font-size: clamp(56px, 10vw, 116px); line-height: .92; margin: 0 0 22px; letter-spacing: -.01em; }
.med-lead { font-size: clamp(19px, 2.1vw, 26px); line-height: 1.45; color: var(--text); max-width: 26ch; margin: 0 0 26px; }

.med-quote { font-family: var(--serif, Newsreader, Georgia, serif); font-style: italic;
  font-size: clamp(16px, 1.7vw, 21px); line-height: 1.5; color: var(--text-2);
  border-left: 2px solid var(--accent); padding: 2px 0 2px 18px; margin: 0 0 30px; white-space: nowrap; }
@media (max-width: 760px) { .med-quote { white-space: normal; max-width: 44ch; } }

.mh .hero-cta { justify-content: flex-start; }

/* ---- body: fact card + editions ---- */
.med-sec { padding: 40px 0 96px; }
.med-sec .wrap { width: min(900px, 92vw); margin: 0 auto; }
.med-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 760px) { .med-grid { grid-template-columns: 1fr; gap: 32px; } }

.med-h6 { font-family: var(--mono, ui-monospace, monospace); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

/* fact card — an artifact panel */
.med-fact { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-2);
  padding: 22px 22px 8px; position: sticky; top: 96px; }
.med-fact dl { margin: 0; }
.med-fact dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--border); }
.med-fact dl > div:first-child { border-top: 0; }
.med-fact dt { font-size: 13px; color: var(--text-2); }
.med-fact dd { margin: 0; font-size: 16px; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.med-fact dd.muted { font-weight: 500; color: var(--muted); }

/* editions */
.med-edition { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.med-edition:last-child { border-bottom: 0; margin-bottom: 0; }
.med-ed-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.med-ed-head b { font-size: 20px; color: var(--text); }
.med-ed-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; padding: 2px 7px; border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); text-transform: uppercase; }
.med-ed-date { font-family: var(--mono, ui-monospace, monospace); font-size: 13px; color: var(--muted); margin-left: auto; }
.med-edition p { font-size: 16px; line-height: 1.65; color: var(--text-2); margin: 0 0 12px; max-width: 64ch; }
.med-edition p b { color: var(--text); font-weight: 600; }
.med-empty { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 64ch; margin: 0; }

.mann-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--accent); }

/* availability footer line */
.med-avail { margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--border);
  font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.med-avail b { color: var(--text); font-weight: 600; }
