@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/allura-latin.woff') format('woff');
}

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Manrope', system-ui, sans-serif;
  --display: 'Allura', 'Cormorant Garamond', cursive;
  --paper: #f2eadc;
  --paper-deep: #e4d5bd;
  --oyster: #faf6ed;
  --ink: #201a16;
  --muted: #6f6358;
  --gold: #9a6a18;
  --gold-light: #cf9d3d;
  --saffron: #d49316;
  --burnt: #9f4e24;
  --silver: #c8c4bc;
  --line: rgba(55, 43, 31, 0.22);
  --line-strong: rgba(55, 43, 31, 0.35);
  --surface: rgba(250, 246, 237, 0.84);
  --shadow: 0 24px 70px rgba(49, 30, 12, 0.15);
  --header-h: 84px;
  color-scheme: light;
}

html[data-theme='dark'] {
  --paper: #171310;
  --paper-deep: #251d17;
  --oyster: #1c1815;
  --ink: #f1e8d9;
  --muted: #b8aa99;
  --gold: #d0a64f;
  --gold-light: #e3bd69;
  --saffron: #e0a72c;
  --burnt: #c36b3a;
  --silver: #716b64;
  --line: rgba(241, 232, 217, 0.18);
  --line-strong: rgba(241, 232, 217, 0.28);
  --surface: rgba(30, 25, 21, 0.87);
  --shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme='auto'] {
    --paper: #171310;
    --paper-deep: #251d17;
    --oyster: #1c1815;
    --ink: #f1e8d9;
    --muted: #b8aa99;
    --gold: #d0a64f;
    --gold-light: #e3bd69;
    --saffron: #e0a72c;
    --burnt: #c36b3a;
    --silver: #716b64;
    --line: rgba(241, 232, 217, 0.18);
    --surface: rgba(30, 25, 21, 0.87);
    --shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 280ms ease, color 280ms ease;
}
button, input { font: inherit; }
a { color: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--oyster); background: var(--burnt); }

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr minmax(180px, 300px) 1fr;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 48%, var(--line));
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  position: relative;
  justify-self: center;
  width: min(30vw, 286px);
  aspect-ratio: 4 / 1;
}
.brand-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 200ms ease;
}
.brand-mark--ink { opacity: 1; }
.brand-mark--bone { opacity: 0; }
html[data-theme='dark'] .brand-mark--ink { opacity: 0; }
html[data-theme='dark'] .brand-mark--bone { opacity: 1; }
@media (prefers-color-scheme: dark) {
  html[data-theme='auto'] .brand-mark--ink { opacity: 0; }
  html[data-theme='auto'] .brand-mark--bone { opacity: 1; }
}

.nav-trigger,
.theme-toggle,
.site-menu a,
.platform-list button,
.footer-links button,
.footer-links a {
  border: 0;
  background: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 600;
}

.nav-trigger {
  justify-self: start;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  cursor: pointer;
}

.theme-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.theme-toggle__symbol { font-size: 17px; color: var(--gold); }

.site-menu {
  position: fixed;
  inset: var(--header-h) auto auto 0;
  width: min(420px, 100vw);
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 48px 34px;
  background: var(--oyster);
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform 280ms cubic-bezier(.22,.61,.36,1);
}
.site-menu.is-open { transform: translateX(0); }
.site-menu a {
  display: flex;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}
.site-menu a:hover { color: var(--gold); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) 24px 60px;
  isolation: isolate;
}
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(242, 234, 220, 0.18), rgba(242, 234, 220, 0.45)), url('assets/evidence-wall.png');
  background-size: cover;
  background-position: center;
  filter: saturate(78%);
  transform: scale(1.01);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 30%, rgba(80, 44, 14, 0.12) 100%);
  pointer-events: none;
}
html[data-theme='dark'] .hero__texture { filter: brightness(0.27) sepia(0.22) saturate(80%); }
html[data-theme='dark'] .hero::after { background: rgba(10, 8, 6, 0.18); }
@media (prefers-color-scheme: dark) {
  html[data-theme='auto'] .hero__texture { filter: brightness(0.27) sepia(0.22) saturate(80%); }
  html[data-theme='auto'] .hero::after { background: rgba(10, 8, 6, 0.18); }
}

.hero__eyebrow,
.kicker,
.section-label,
.entry-number,
.awaiting {
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 11px;
  font-weight: 600;
}
.hero__eyebrow { margin-bottom: clamp(34px, 4.5vw, 62px); color: var(--burnt); }

.manifesto {
  width: 100%;
  max-width: 1220px;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
  text-shadow: 0 1px rgba(255,255,255,0.3);
}
.decree__declaration {
  max-width: 1240px;
  margin: 0 auto;
  color: #873810;
  font-size: clamp(76px, 9vw, 138px);
  font-weight: 600;
  line-height: .76;
  letter-spacing: -.052em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 8px 30px rgba(87,43,15,.08);
}
.decree__declaration span { display: block; }
.decree__declaration span:last-child { margin-top: .06em; }
html[data-theme='dark'] .decree__declaration { color: #d68b42; }
@media (prefers-color-scheme: dark) {
  html[data-theme='auto'] .decree__declaration { color: #d68b42; }
}
.decree__testimony {
  position: relative;
  max-width: 860px;
  margin: clamp(36px, 4.8vw, 64px) auto 0;
  padding-top: clamp(30px, 3.5vw, 46px);
  font-size: clamp(23px, 2.3vw, 35px);
  line-height: 1.04;
  letter-spacing: -.03em;
  opacity: .88;
}
.decree__testimony::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(380px, 46vw);
  height: 1px;
  background: color-mix(in srgb, var(--gold) 58%, transparent);
  transform: translateX(-50%);
}
.decree__testimony p { margin: .2em 0; }
.decree__seal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 3.2vw, 42px);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.decree__seal span:first-child,
.decree__seal span:last-child { font-size: 6px; }
.enter-link {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: clamp(38px, 5vw, 68px);
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
}
.enter-link:hover { color: var(--gold); }

.platforms {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  align-items: center;
  gap: 30px;
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--oyster);
}
.section-label { color: var(--muted); }
.platform-list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.platform-list button {
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.platform-list button:hover { color: var(--gold); border-color: var(--gold); }

.evidence-section { padding: clamp(88px, 12vw, 180px) 5vw; }
.section-heading { max-width: 850px; }
.latest .section-heading { max-width: none; }
#latest-title { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: 0; max-width: 1240px; margin: 0 auto; }
.kicker { margin: 0 0 22px; color: var(--gold); }
.section-heading h2,
.witness h2,
.destination-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7.2vw, 105px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section-intro {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}
.latest .section-intro {
  max-width: 700px;
  color: var(--ochre);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.media-stage { margin: clamp(62px, 8vw, 120px) 0 0; }
.media-stage__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #171310;
  color: #f2eadc;
  box-shadow: var(--shadow);
}
.media-stage__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url('assets/evidence-wall.png');
  background-size: cover;
  filter: grayscale(1) brightness(0.3) sepia(0.4);
  pointer-events: none;
}
.media-stage__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  place-items: center;
  padding: 28px;
}
.entry-number { align-self: start; justify-self: start; color: var(--gold-light); }
.play-seal {
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 124px);
  aspect-ratio: 1;
  padding-left: 0.25em;
  border: 1px solid rgba(242,234,220,.6);
  border-radius: 50%;
  color: var(--paper-deep);
  font-size: clamp(17px, 2vw, 28px);
}
.awaiting { align-self: end; color: rgba(242,234,220,.74); }
.media-stage__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.principle-room {
  min-height: min(58svh, 620px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 80px) 5vw;
  background-image: linear-gradient(rgba(51,29,12,.35), rgba(51,29,12,.44)), url('assets/evidence-wall.png');
  background-size: cover;
  background-position: center;
}
.room-plaque {
  width: min(920px, 90vw);
  padding: clamp(34px, 5vw, 72px) clamp(28px, 7vw, 104px);
  text-align: center;
  background: rgba(248, 241, 229, 0.92);
  border: 1px solid rgba(94,58,20,.3);
  box-shadow: 0 38px 90px rgba(32, 18, 8, .22);
  color: #201a16;
}
.rotating-principle {
  min-height: 2.1em;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
  transition: opacity 180ms ease, transform 180ms ease;
}
.rotating-principle.is-changing { opacity: 0; transform: translateY(8px); }
.principle-controls { display: flex; justify-content: center; gap: 13px; margin-top: 28px; }
.principle-controls button {
  width: 44px;
  height: 44px;
  padding: 19px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.principle-controls button::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c8e7f;
}
.principle-controls button.is-active::after { background: var(--burnt); transform: scale(1.5); }

.archive { background: var(--oyster); }
.archive__top {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 7vw;
}
.date-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.date-index span,
.date-index a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.date-index span { color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.date-index a { text-decoration: none; }
.date-index a:hover { color: var(--gold); }
.empty-ledger {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 100px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
}
.ledger-rule { height: 1px; background: var(--line); }

.witness {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10vw;
  padding: clamp(88px, 12vw, 170px) 5vw;
  background: var(--ink);
  color: var(--paper);
}
.witness h2 { font-size: clamp(48px, 6vw, 86px); }
.witness > div > p:last-child { max-width: 580px; color: var(--paper-deep); }
.witness-form { align-self: center; }
.witness-form label {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}
.witness-form__row { display: grid; grid-template-columns: 1fr auto; }
.witness-form input,
.witness-form button {
  min-height: 58px;
  border: 1px solid rgba(242,234,220,.4);
}
.witness-form input {
  min-width: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--paper);
  border-right: 0;
}
.witness-form button {
  padding: 0 22px;
  background: var(--gold-light);
  color: #171310;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.form-note { font-size: 12px; color: var(--paper-deep); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px 5vw;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
}
.footer-brand { font-family: var(--font-display); font-size: 24px; letter-spacing: .1em; text-decoration: none; }
.site-footer p { color: var(--muted); text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 22px; }
.footer-links button, .footer-links a { padding: 10px 0; cursor: pointer; text-decoration: none; }
.footer-links button:hover, .footer-links a:hover { color: var(--gold); }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(380px, calc(100vw - 48px));
  padding: 15px 18px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  opacity: 0;
  transition: 220ms ease;
  font-size: 13px;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* Studio */
.studio-body { min-height: 100vh; background: var(--oyster); }
.studio-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--oyster) 94%, transparent);
  backdrop-filter: blur(16px);
}
.studio-header__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.studio-header__brand img { width: 150px; }
html[data-theme='dark'] .studio-header__brand img { filter: invert(1) sepia(.12) brightness(1.15); }
@media (prefers-color-scheme: dark) {
  html[data-theme='auto'] .studio-header__brand img { filter: invert(1) sepia(.12) brightness(1.15); }
}
.studio-header__brand span { padding-left: 14px; border-left: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.preview-badge { padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.studio-header .theme-toggle { justify-self: end; }
.studio-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.studio-nav {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  padding: 44px 24px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.studio-nav__label { margin: 0 0 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.studio-nav a { padding: 13px 12px; color: var(--muted); text-decoration: none; font-size: 13px; }
.studio-nav a.is-active { background: var(--oyster); color: var(--ink); }
.studio-nav a:hover { color: var(--gold); }
.studio-nav .back-public { margin-top: auto; }
.studio-workspace { padding: clamp(48px, 6vw, 90px); }
.studio-title-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.studio-title-row h1 { margin: 0; font-family: var(--font-display); font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: -.04em; font-weight: 500; }
.draft-state { color: var(--muted); font-size: 12px; }
.creation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 62px; background: var(--line); border: 1px solid var(--line); }
.creation-grid button {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 0;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}
.creation-grid button:hover { background: var(--paper-deep); }
.creation-grid span { color: var(--gold); font-size: 11px; letter-spacing: .14em; }
.creation-grid strong { margin-top: auto; font-family: var(--font-display); font-size: 34px; font-weight: 500; }
.creation-grid small { color: var(--muted); }
.destination-panel { margin-top: 100px; }
.destination-panel__heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8vw; align-items: end; }
.destination-panel h2 { font-size: clamp(40px, 5vw, 68px); }
.destination-panel__heading > p { color: var(--muted); font-size: 13px; }
.destination-list { margin-top: 50px; border-top: 1px solid var(--line); }
.destination-list label { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 16px; min-height: 80px; border-bottom: 1px solid var(--line); }
.destination-list input { width: 17px; height: 17px; accent-color: var(--gold); }
.destination-list span { display: flex; align-items: baseline; gap: 16px; }
.destination-list small { color: var(--muted); }
.status { font-style: normal; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.status--home { color: var(--gold); }
.studio-boundary { margin-top: 70px; padding: 24px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.studio-boundary p { margin: 0; }

/* Published evidence */
.published-entries { display: grid; margin-top: 72px; border-top: 1px solid var(--line-strong); }
.published-entry { position: relative; display: grid; grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr); column-gap: clamp(36px, 7vw, 110px); padding: clamp(42px, 7vw, 96px) 0; border-bottom: 1px solid var(--line-strong); }
.published-entry__meta { grid-column: 1; grid-row: 1 / span 5; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.published-entry h3 { grid-column: 2; margin: 0; max-width: 900px; font-family: var(--display); font-size: clamp(52px, 6vw, 94px); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.published-entry__excerpt { grid-column: 2; max-width: 700px; margin: 22px 0 0; color: var(--ochre); font-family: var(--display); font-size: clamp(24px, 3vw, 38px); line-height: 1.08; }
.published-entry__media { grid-column: 2; display: block; max-width: 100%; width: auto; height: auto; max-height: 720px; margin: 34px 0 0; object-fit: contain; background: #18130f; }
.published-entry__media-link { display: inline-flex; width: auto; justify-self: start; padding: 16px 0; color: var(--gold-deep); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.published-entry__body { grid-column: 2; max-width: 760px; margin-top: 34px; color: var(--ink); font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; white-space: pre-wrap; }
.published-entry__number { position: absolute; right: 0; top: clamp(42px, 7vw, 96px); color: var(--gold-deep); font-size: 9px; letter-spacing: .14em; }
.media-stage__published-media { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 440px; object-fit: contain; background: #171310; }
.media-stage__published-record { min-height: 440px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 34px; background: radial-gradient(circle at center, rgba(167,109,13,.16), transparent 45%), #17120f; color: #f4ead9; text-align: left; }
.media-stage__published-record strong { max-width: 900px; font-family: var(--display); font-size: clamp(48px, 7vw, 106px); font-weight: 400; line-height: 1.05; letter-spacing: 0; }

/* Entry page (permalink) */
.entry-page { max-width: 900px; margin: 0 auto; padding: calc(var(--header-h) + 80px) 24px 100px; }
.entry-page__header { text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.entry-page__meta { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.entry-page__type { color: var(--gold); }
.entry-page__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 94px); line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
.entry-page__excerpt { max-width: 700px; margin: 22px auto 0; color: var(--ochre); font-family: var(--display); font-size: clamp(24px, 3vw, 38px); line-height: 1.08; }
.entry-page__media { margin: clamp(48px, 7vw, 90px) 0 0; max-width: 100%; }
.entry-page__media-image { max-width: 100%; height: auto; max-height: 720px; object-fit: contain; background: #18130f; box-shadow: var(--shadow); }
.entry-page__media-video { max-width: 100%; max-height: 720px; background: #171310; box-shadow: var(--shadow); }
.entry-page__media-link { display: inline-flex; padding: 16px 0; color: var(--gold-deep); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.entry-page__body { max-width: 760px; margin: clamp(48px, 7vw, 90px) auto 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; white-space: pre-wrap; }
.entry-page__footer { margin-top: clamp(60px, 9vw, 120px); padding-top: 30px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13px; }
.entry-page__footer a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.entry-page__footer a:hover { border-color: var(--gold); }

/* Broadcast Matrix */
.broadcast-workspace { max-width: 1500px; width: 100%; }
.prototype-warning {
  margin-bottom: 48px;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line));
  background: color-mix(in srgb, var(--paper-deep) 44%, transparent);
  color: var(--muted);
  font-size: 12px;
}
.prototype-warning strong { color: var(--ink); }
.matrix-title-row { align-items: end; }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.workflow-steps button {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.workflow-steps button:last-child { border-right: 0; }
.workflow-steps button span { color: var(--gold); font-size: 10px; }
.workflow-steps button.is-active { background: var(--paper); color: var(--ink); }
.workflow-panel { padding: clamp(58px, 7vw, 104px) 0 20px; }
.workflow-panel[hidden] { display: none; }
.panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 8vw;
  align-items: end;
}
.panel-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .93;
  text-wrap: balance;
}
.panel-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.matrix-creation-grid button.is-selected {
  position: relative;
  background: var(--paper-deep);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.matrix-creation-grid button.is-selected::after {
  content: 'Selected';
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.entry-fields {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1.1fr;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.entry-fields label,
.source-media-placeholder {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
}
.entry-fields label > span,
.source-media-placeholder > span,
.adapt-fields label > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.entry-fields input,
.adapt-fields textarea,
.adapt-fields select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.entry-fields input { min-height: 48px; font-family: var(--font-display); font-size: 24px; }
.source-media-placeholder strong { margin-top: auto; font-family: var(--font-display); font-size: 25px; font-weight: 500; }
.source-media-placeholder small { color: var(--muted); }
.workflow-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.workflow-actions--end { justify-content: flex-end; }
.matrix-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.matrix-button:hover { border-color: var(--gold); color: var(--gold); }
.matrix-button--primary { border-color: var(--gold); background: var(--gold); color: var(--oyster); }
.matrix-button--primary:hover { background: var(--burnt); color: var(--oyster); }
.matrix-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 52px; color: var(--muted); font-size: 11px; }
.matrix-legend span { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.legend-dot--home { background: var(--gold); }
.legend-dot--assisted { background: var(--saffron); }
.legend-dot--approval { background: var(--burnt); }
.legend-dot--limited { background: var(--silver); }
.matrix-destinations label { cursor: pointer; }
.matrix-destinations label:hover { background: color-mix(in srgb, var(--paper-deep) 38%, transparent); }
.matrix-destinations label.is-incompatible { opacity: .38; cursor: not-allowed; }
.matrix-destinations label.is-selected { background: color-mix(in srgb, var(--paper-deep) 52%, transparent); }
.matrix-destinations input { accent-color: var(--gold); }
.status--assisted { color: var(--saffron); }
.status--approval { color: var(--burnt); }
.status--limited { color: var(--muted); }
.adapt-preview {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 7vw;
  margin-top: 74px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.adapt-preview h3,
.preflight-card h3,
.ledger-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}
.adapt-fields { display: grid; gap: 24px; }
.adapt-fields label { display: grid; gap: 10px; }
.adapt-fields textarea { resize: vertical; padding: 10px 0; line-height: 1.5; }
.adapt-fields select { min-height: 44px; }
.canonical-summary {
  margin-top: 52px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line));
  background: var(--paper);
}
.canonical-summary span { color: var(--gold); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.canonical-summary h3 { margin: 10px 0 6px; font-family: var(--font-display); font-size: clamp(34px, 4vw, 58px); font-weight: 500; line-height: 1; }
.canonical-summary p { margin: 0; color: var(--muted); font-size: 12px; }
.destination-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.destination-preview {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
}
.destination-preview__top { display: flex; justify-content: space-between; gap: 16px; }
.destination-preview__top strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.destination-preview__mode { color: var(--gold); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.destination-preview p { color: var(--muted); font-size: 13px; }
.destination-preview footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.destination-preview:last-child:nth-child(odd) { grid-column: 1 / -1; }
.preflight-card { margin-top: 52px; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); background: var(--paper); }
.preflight-card dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 38px 0; background: var(--line); border: 1px solid var(--line); }
.preflight-card dl div { min-height: 106px; padding: 18px; background: var(--oyster); }
.preflight-card dt { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.preflight-card dd { margin: 14px 0 0; font-family: var(--font-display); font-size: 22px; }
.publication-ledger { margin-top: 72px; }
.ledger-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.ledger-heading > span { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.ledger-table { margin-top: 28px; border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); }
.ledger-row strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.ledger-row span { color: var(--muted); font-size: 11px; }
.ledger-result { justify-self: end; text-align: right; }
.ledger-result em { display: block; color: var(--gold); font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.ledger-result small { color: var(--muted); }
.matrix-boundary { margin-top: 100px; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 4px; }

@media (max-width: 900px) {
  .archive__top, .witness, .destination-panel__heading { grid-template-columns: 1fr; }
  .date-index { margin-top: 50px; }
  .creation-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-shell { grid-template-columns: 1fr; }
  .studio-nav { position: static; height: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 18px; }
  .studio-nav__label, .studio-nav .back-public { display: none; }
  .panel-heading, .adapt-preview { grid-template-columns: 1fr; }
  .panel-heading > p { max-width: 620px; margin-top: 22px; }
  .entry-fields { grid-template-columns: 1fr 1fr; }
  .source-media-placeholder { grid-column: 1 / -1; }
  .preflight-card dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .site-header { grid-template-columns: 1fr 150px 1fr; padding: 0 18px; }
  .theme-toggle__label { display: none; }
  .brand { width: 150px; }
  .hero { padding: calc(var(--header-h) + 46px) 18px 46px; }
  .hero__eyebrow { margin-bottom: 38px; }
  .manifesto {
    width: 100%;
    max-width: calc(100vw - 36px);
  }
  .manifesto p { overflow-wrap: anywhere; }
  .decree__declaration {
    max-width: 360px;
    font-size: clamp(44px, 12vw, 50px);
    line-height: .82;
    letter-spacing: -.045em;
  }
  .decree__testimony {
    max-width: 350px;
    margin-top: 32px;
    padding-top: 28px;
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1.1;
    letter-spacing: -.02em;
  }
  .decree__testimony p { margin: .35em 0; }
  .decree__seal {
    max-width: 340px;
    margin: 26px auto 0;
    gap: 9px;
    font-size: 8px;
    letter-spacing: .14em;
  }
  .enter-link { margin-top: 34px; }
  .platforms { grid-template-columns: 1fr; }
  .platform-list { justify-content: flex-start; gap: 6px 20px; }
  .platform-list button { min-height: 38px; }
  .media-stage__caption { flex-direction: column; gap: 2px; }
  .archive__top { display: block; }
  .empty-ledger { grid-template-columns: 1fr; }
  .ledger-rule { width: 100%; }
  .witness-form__row { grid-template-columns: 1fr; gap: 10px; }
  .witness-form input { border-right: 1px solid rgba(242,234,220,.4); }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer p { text-align: left; }
  .footer-links { justify-self: start; }
  .studio-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .studio-header__brand img { width: 120px; }
  .preview-badge { display: none; }
  .studio-workspace { padding: 48px 20px; }
  .studio-title-row { display: block; }
  .draft-state { display: block; margin-top: 20px; }
  .creation-grid { grid-template-columns: 1fr; }
  .creation-grid button { min-height: 170px; }
  .destination-list label { grid-template-columns: 28px 1fr; padding: 16px 0; }
  .destination-list span { display: block; }
  .destination-list small { display: block; }
  .destination-list .status { grid-column: 2; }
  .workflow-steps { margin-top: 42px; }
  .workflow-steps button { min-height: 62px; flex-direction: column; justify-content: center; gap: 2px; padding: 6px; font-size: 9px; }
  .workflow-panel { padding-top: 54px; }
  .panel-heading h2 { font-size: clamp(42px, 13vw, 58px); }
  .entry-fields { grid-template-columns: 1fr; }
  .source-media-placeholder { grid-column: auto; }
  .adapt-preview { padding: 24px 18px; }
  .destination-previews { grid-template-columns: 1fr; }
  .preflight-card dl { grid-template-columns: 1fr; }
  .ledger-heading { display: block; }
  .ledger-heading > span { display: block; margin-top: 14px; }
  .ledger-row { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; }
  .ledger-row > span { display: none; }
  .published-entry { grid-template-columns: 1fr; padding: 48px 0; }
  .published-entry__meta { grid-column: 1; grid-row: auto; flex-direction: row; justify-content: space-between; padding-right: 76px; }
  .published-entry h3, .published-entry__excerpt, .published-entry__media, .published-entry__body { grid-column: 1; }
  .published-entry h3 { margin-top: 26px; font-size: 52px; }
  .published-entry__body { font-size: 22px; }
  .media-stage__published-media, .media-stage__published-record { min-height: 300px; }
  .media-stage__published-record strong { font-size: 52px; }
  .workflow-actions { flex-direction: column-reverse; }
  .workflow-actions--end { flex-direction: column; }
  .matrix-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Latest-evidence reader: the journal body inside the stage */
.media-stage__screen--reader { aspect-ratio: auto; }
.media-stage__reader {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  max-height: 76svh;
  overflow-y: auto;
  padding: clamp(26px, 4.5vw, 56px);
  background: #17120f;
  color: #f4ead9;
  text-align: left;
}
.media-stage__reader-body {
  max-width: 72ch;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.65;
  white-space: pre-wrap;
}

/* Live broadcast section */
.live-broadcast { padding: clamp(64px, 9vw, 130px) 5vw; background: #17120f; color: #f2eadc; }
.live-broadcast .kicker { color: #d1a35c; }
.live-broadcast .section-heading h2 { color: #f2eadc; }
.live-broadcast__frame { margin-top: 34px; aspect-ratio: 16 / 9; background: #0d0a08; }
.live-broadcast__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Archive card titles link to the permanent entry page. The link stays quiet
   inside the editorial layout: inherited ink, underline only on intent. */
.published-entry__link {
  color: inherit;
  text-decoration: none;
}

.published-entry__link:hover,
.published-entry__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
