/* ============================================================
   PEIRASTES · CINEMATIC TIER
   Outer-shell visual language for peirastes.com.
   Two-stage Propylaea→Atrium choreography on landing.
   Shared chrome on Rooms (about, projects, timeline, quotes).
   Lineage: Halo MCC · Destiny 2 (corner chrome).
   Locked 2026-05-07.
   ============================================================ */

/* ─── RESETS ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #0a0d10;
  color: #e8ebee;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  overflow: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { all: unset; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; }
p { margin: 0; }
img { max-width: 100%; display: block; }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  /* Stop ambient/infinite animations entirely (Ken Burns, pulse). */
  .bg__image,
  .prompt__key,
  .prompt__text {
    animation: none !important;
  }

  /* Disable transitions broadly — content snaps to final state instantly. */
  .title-wordmark,
  .prompt,
  .menu-wordmark, .chrome-wordmark,
  .menu, .menu__item,
  .profile,
  .featured,
  .hints,
  .page-hero, .page-body {
    transition: none !important;
  }

  /* Disable transforms ONLY on elements where transform is decorative entrance animation.
     Excludes .prompt (translateX(-50%) for centering) and .menu (translateY(-50%) for centering)
     because those transforms are structural, not animation. */
  .title-wordmark,
  .menu-wordmark, .chrome-wordmark,
  .menu__item,
  .profile,
  .featured,
  .page-hero, .page-body {
    transform: none !important;
  }
}

/* ─── DESIGN TOKENS ─── */
:root {
  --accent: #7dd6ff;
  --accent-dim: rgba(125, 214, 255, 0.18);
  --accent-soft: rgba(125, 214, 255, 0.06);
  --gold: #f0c060;
  --gold-dim: rgba(240, 192, 96, 0.35);
  --text-bright: rgba(255, 255, 255, 0.92);
  --text-mid: rgba(255, 255, 255, 0.65);
  --text-dim: rgba(255, 255, 255, 0.4);
  --surface: rgba(8, 16, 22, 0.55);
  --surface-strong: rgba(8, 16, 22, 0.78);
  --surface-page: rgba(6, 12, 18, 0.94);
  --font-display: 'Cinzel', Georgia, serif;
  --font-ui: 'Inter', system-ui, sans-serif;
}

/* ============================================================
   BACKGROUND LAYERS (shared by all cinematic-tier pages)
   ============================================================ */

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.bg__image {
  position: absolute;
  inset: -2%;
  background-image: url('../images/PeirastesBanner.jpg');
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  background-color: #1a2028;
  filter: saturate(0.78) brightness(0.82) contrast(1.05);
  animation: kenBurns 60s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1.04) translate(0%, 0%); }
  100% { transform: scale(1.10) translate(-1.5%, 1%); }
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 55%, transparent 30%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 25%, transparent 70%, rgba(0,0,0,0.5) 100%);
}

.bg__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ============================================================
   PROPYLAEA — STAGE 1: TITLE
   ============================================================ */

.title-wordmark {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  /* Asymmetric padding shifts the centered block down ~2rem so the
     title text (in the upper half of the block) reads closer to true
     viewport center rather than appearing too high. */
  padding: 6rem 2rem 2rem;
  z-index: 10;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 300ms,
    transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 300ms;
}

body.is-ready .title-wordmark { opacity: 1; transform: translateY(0); }

body.stage-menu .title-wordmark {
  opacity: 0;
  transform: scale(0.4) translate(-30vw, -38vh);
  pointer-events: none;
  transition: opacity 700ms ease, transform 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}

.title-wordmark__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: 0.32em;
  color: var(--gold);
  text-shadow: 0 0 40px var(--gold-dim), 0 0 80px rgba(240,192,96,0.18), 0 4px 12px rgba(0,0,0,0.7);
  /* Compensate for the trailing whitespace caused by letter-spacing so
     PEIRASTES reads truly centered. The 0.32em ghost-space sits AFTER the
     last "S" (at the right edge of the bounding box), pulling the visible
     glyphs LEFT of bbox center; padding-LEFT shifts the element right by
     the same amount, restoring visual centering. */
  padding-left: 0.32em;
}

.title-wordmark__tagline {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 2rem;            /* tagline sits ~32px below title */
  /* Same trailing-letter-spacing compensation pattern as the title — but
     applied as padding-LEFT (not right), since the ghost-space sits AFTER
     the last letter and pulls the visible glyphs LEFT of true center. */
  padding-left: 0.34em;
}

/* ============================================================
   PROPYLAEA — STAGE 1: PROMPT
   ============================================================ */

/* .prompt container handles fade-in ONLY (transition).
   Pulse animation runs on inner spans (separation of concerns —
   prevents the animation declaration from preempting the transition). */
.prompt {
  position: fixed;
  left: 50%; bottom: calc(8% - 20px);
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 1200ms ease 1100ms;
}

body.is-ready .prompt { opacity: 1; }
body.stage-menu .prompt { opacity: 0; pointer-events: none; transition: opacity 300ms ease; }

/* Pulse on children — composes multiplicatively with parent opacity, no conflict. */
body.is-ready .prompt__key,
body.is-ready .prompt__text {
  animation: promptPulse 2.4s ease-in-out 2500ms infinite;
}

@keyframes promptPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

.prompt__key {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold);
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold);
  background: rgba(240, 192, 96, 0.04);
}

.prompt__text {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ============================================================
   ATRIUM — STAGE 2: MENU WORDMARK / ROOMS: CHROME WORDMARK
   ============================================================ */

.menu-wordmark, .chrome-wordmark {
  position: fixed;
  top: 2.4rem; left: 3.5rem;
  z-index: 15;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.chrome-wordmark { transition-delay: 200ms; }

body.is-landing.stage-menu .menu-wordmark,
body.is-ready:not(.is-landing) .chrome-wordmark {
  opacity: 1;
  transform: translateY(0);
}

body.is-landing.stage-menu .menu-wordmark { transition-delay: 400ms; }

.menu-wordmark h1, .chrome-wordmark h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-shadow: 0 0 18px var(--gold-dim), 0 2px 6px rgba(0,0,0,0.6);
  transition: color 200ms ease;
}

.chrome-wordmark:hover h1 { color: #fff; }

/* ============================================================
   ATRIUM — STAGE 2: MENU LIST
   ============================================================ */

.menu {
  position: fixed;
  left: 3.5rem; top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(220px, 24vw, 320px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

body.stage-menu .menu { opacity: 1; pointer-events: auto; }

.menu__list { display: flex; flex-direction: column; gap: 0.1rem; }

.menu__item {
  position: relative;
  isolation: isolate;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.75rem 1.5rem 0.75rem 1.4rem;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 500ms ease, transform 500ms ease,
    color 200ms ease, padding-left 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.stage-menu .menu__item              { opacity: 1; transform: translateX(0); }
body.stage-menu .menu__item:nth-child(1) { transition-delay: 500ms; }
body.stage-menu .menu__item:nth-child(2) { transition-delay: 560ms; }
body.stage-menu .menu__item:nth-child(3) { transition-delay: 620ms; }
body.stage-menu .menu__item:nth-child(4) { transition-delay: 680ms; }
body.stage-menu .menu__item:nth-child(5) { transition-delay: 740ms; }

.menu__item::before {
  content: '';
  position: absolute;
  inset: 0;
  /* White/grey hover-glow — neutral light overlay reads as "responsive
     surface" without competing for hue with the amber active text. The
     cyan border-left stays as the chromatic anchor (mirrors the quote's
     border-right). */
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.02) 80%,
    transparent);
  border-left: 2px solid var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: -1;
}

.menu__item:hover, .menu__item.is-active {
  /* Amber to match the .atrium-quote attribution — same accent for
     active focus across both halves of the Atrium composition. */
  color: var(--gold);
  padding-left: 1.7rem;
}

.menu__item:hover::before, .menu__item.is-active::before { opacity: 1; transform: translateX(0); }

/* ============================================================
   PROFILE CHIP (Atrium + all Rooms)
   ============================================================ */

.profile {
  position: fixed;
  top: 2.4rem; right: 3rem;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

body.is-landing.stage-menu .profile { opacity: 1; transform: translateX(0); transition-delay: 600ms; }
body.is-ready:not(.is-landing) .profile { opacity: 1; transform: translateX(0); transition-delay: 400ms; }

.profile__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--gold);
  color: #1a1611;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.profile__meta { display: flex; flex-direction: column; line-height: 1.15; }
.profile__name {
  font-family: var(--font-ui); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-bright);
}
.profile__sub {
  font-family: var(--font-ui); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim);
  margin-top: 1px;
}

/* ============================================================
   FEATURED CARD (Atrium only)
   ============================================================ */

/* Quiet glass card — info panel on the banner, not a "device".
   Single soft shadow, low-contrast border, glass blur for legibility.
   The acrylic-frame chrome was reserved for instrument apps; on the
   Atrium it competed with the cinematic image rather than supporting it. */
.featured {
  position: fixed;
  right: 3rem; bottom: 4.5rem;
  width: clamp(280px, 24vw, 360px);
  z-index: 10;
  background: rgba(12, 16, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Chromatic edge — matches the profile pip's left edge and the
     quote's right edge. Ties the featured card into the cyan-edge
     family that runs through the Atrium chrome. */
  border-left: 2px solid var(--accent);
  /* Straight corners match the rest of the Atrium chrome (profile pip,
     quote, menu) — the cinematic chrome is consistently architectural.
     The instrument-tier (Artemis/Optics/etc.) uses rounded corners,
     but those are CARDS within their own apps; here on the homepage
     the chrome reads as a single continuous architectural frame. */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease 800ms, transform 700ms ease 800ms;
}

body.stage-menu .featured { opacity: 1; transform: translateY(0); }

.featured__label {
  font-family: var(--font-ui); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  padding: 0.75rem 2.2rem 0.55rem 1.1rem;  /* extra right padding so label doesn't tuck under the ✕ */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dismiss button — small ✕ in the top-right of the featured card.
   Sits OUTSIDE the .featured__link so clicking it doesn't navigate. */
.featured__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.18s ease, color 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  z-index: 2;
}
.featured__close:hover {
  opacity: 1;
  color: var(--gold);
}
.featured__close:focus-visible {
  opacity: 1;
  outline: 1px solid rgba(125, 214, 255, 0.5);
}
.featured.is-dismissed { display: none; }

.featured__link {
  display: block;
  padding: 0.85rem 1.1rem 1rem;
  color: var(--text-bright);
  transition: background 180ms ease;
}

.featured__link:hover { background: var(--accent-soft); }

.featured__title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 0.35rem;
}
.featured__desc { font-family: var(--font-ui); font-size: 0.83rem; line-height: 1.5; color: var(--text-mid); margin-bottom: 0.75rem; }
.featured__cta { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   HINTS (Atrium + Rooms)
   ============================================================ */

.hints {
  position: fixed;
  bottom: 1.6rem; left: 3.5rem;
  z-index: 15;
  display: flex; gap: 1.8rem;
  opacity: 0;
  transition: opacity 600ms ease;
}

body.is-landing.stage-menu .hints { opacity: 1; transition-delay: 1000ms; }
body.is-ready:not(.is-landing) .hints { opacity: 1; transition-delay: 600ms; }

.hint {
  font-family: var(--font-ui); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim);
  display: flex; align-items: center; gap: 0.5rem;
}

.hint kbd {
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 600;
  padding: 0.13rem 0.42rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.35);
}

/* ============================================================
   ROOMS — body layout (used by about, projects, timeline, quotes)
   ============================================================ */

body:not(.is-landing) { overflow-y: auto; }

.page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.page-hero {
  position: relative;
  height: clamp(360px, 50vh, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 900ms ease 200ms, transform 900ms ease 200ms;
}

body.is-ready .page-hero { opacity: 1; transform: translateY(0); }

.page-hero__inner { max-width: 760px; }

.page-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  letter-spacing: 0.16em;
  color: var(--gold);
  text-shadow: 0 0 40px var(--gold-dim), 0 4px 12px rgba(0,0,0,0.7);
  text-transform: uppercase;
  margin: 0;
}

.page-hero__subtitle {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 0.9rem;
  padding-left: 0.3em;
}

.page-hero__badges {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.badge--gold { color: var(--gold); border-color: var(--gold); background: rgba(240,192,96,0.06); }

.page-body {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 18, 0.88) 8%, var(--surface-page) 22%);
  padding: 5rem 2rem 8rem;
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms ease 500ms, transform 900ms ease 500ms;
}

body.is-ready .page-body { opacity: 1; transform: translateY(0); }

.page-body__inner {
  max-width: 880px;
  margin: 0 auto;
}

.page-section { margin-bottom: 4rem; }
.page-section:last-child { margin-bottom: 0; }

.page-section__label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.page-section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: 0.08em;
  color: var(--text-bright);
  margin: 0 0 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(125, 214, 255, 0.18);
}

.page-section p {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.page-section p strong { color: var(--text-bright); font-weight: 600; }
.page-section p em { color: var(--gold); font-style: italic; }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  letter-spacing: 0.02em;
}

/* CARD GRID (research interests, modules, etc.) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: rgba(125, 214, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--accent);
  padding: 1.3rem 1.4rem 1.4rem;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.card:hover {
  background: var(--accent-soft);
  border-left-color: var(--gold);
  transform: translateX(2px);
}

.card__num {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
}

.card__desc, .card ul {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-mid);
}

.card ul { margin: 0; padding-left: 1.1rem; }
.card li { margin-bottom: 0.35rem; }
.card li::marker { color: var(--accent); }

/* CTA buttons */
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cta:hover { background: rgba(125, 214, 255, 0.18); color: #fff; }
.cta--gold { color: var(--gold); border-color: var(--gold); background: rgba(240, 192, 96, 0.06); }
.cta--gold:hover { background: rgba(240, 192, 96, 0.18); color: #fff; }
.cta--launch {
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  padding: 1.1rem 2.2rem;
}
.cta__arrow { font-size: 1.1em; }

/* META row */
.meta-row {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }

.meta-item__label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.meta-item__value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}

/* ============================================================
   HERO STATS ROW (Projects/Quotes pages — used in later phases)
   ============================================================ */

.page-hero__stats {
  display: flex;
  gap: 2.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(125, 214, 255, 0.15);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__stat { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }

.page-hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-hero__stat-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   FILTER PILLS (used by Projects Campaign Log in Phase 2)
   ============================================================ */

.filter-rail {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(125, 214, 255, 0.1);
}

.filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.filter-group__label {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 64px;
  margin-right: 0.5rem;
}

.filter-pill {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.filter-pill:hover {
  color: var(--text-bright);
  border-color: rgba(125, 214, 255, 0.4);
  background: var(--accent-soft);
}

.filter-pill.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ============================================================
   QUEST LIST — Projects Campaign Log (used in Phase 2)
   ============================================================ */

.page-body--wide .page-body__inner { max-width: 1080px; }

.quest-grid { display: flex; flex-direction: column; gap: 0.5rem; }

.quest-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.4rem;
  padding: 1rem 1.2rem 1rem 1.4rem;
  min-height: 108px;
  background: rgba(8, 16, 22, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--accent);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  color: inherit;
}

.quest-card:hover {
  background: rgba(8, 16, 22, 0.82);
  border-left-color: var(--gold);
  transform: translateX(4px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.45), 0 0 30px var(--accent-dim);
}

.quest-card.is-hidden { display: none; }

.quest-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}

.quest-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.quest-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.quest-status::before { content: ''; display: inline-block; width: 8px; height: 8px; }

.quest-status--active { color: var(--accent); }
.quest-status--active::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-dim);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.quest-status--completed { color: var(--gold); }
.quest-status--completed::before {
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-dim);
}

.quest-status--inactive,
.quest-status--paused { color: var(--text-dim); }
.quest-status--inactive::before,
.quest-status--paused::before {
  border: 1px solid var(--text-dim);
  border-radius: 50%;
  background: transparent;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-dim); }
  50%      { opacity: 0.55; box-shadow: 0 0 3px var(--accent); }
}

.quest-type {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quest-card__date {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-left: auto;
}

.quest-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  transition: color 200ms ease;
  margin: 0;
}

.quest-card:hover .quest-card__title { color: var(--gold); }

.quest-card__desc {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.quest-card__chevron {
  flex-shrink: 0;
  align-self: center;
  font-family: var(--font-ui);
  font-size: 1.5rem;
  color: var(--accent);
  transition: color 220ms ease, transform 220ms ease;
}

.quest-card:hover .quest-card__chevron {
  color: var(--gold);
  transform: translateX(4px);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dim);
  border: 1px dashed rgba(125, 214, 255, 0.15);
}

/* ============================================================
   TIMELINE — Physics Timeline Room (Phase 5)
   Vertical list of horizontal entries: portrait + meta + title + bullet list
   ============================================================ */

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-entry {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.2rem 1.4rem;
  background: rgba(8, 16, 22, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--accent);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.timeline-entry:hover {
  background: rgba(8, 16, 22, 0.82);
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.timeline-entry.is-hidden { display: none; }

.timeline-entry__portrait {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background: rgba(8, 16, 22, 0.55);
  border: 1px solid rgba(125, 214, 255, 0.15);
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: border-color 220ms ease;
}

.timeline-entry:hover .timeline-entry__portrait {
  border-color: rgba(240, 192, 96, 0.4);
}

.timeline-entry__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.timeline-entry__body { flex: 1; min-width: 0; }

.timeline-entry__meta { margin-bottom: 0.55rem; }

.timeline-entry__era {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(125, 214, 255, 0.4);
  display: inline-block;
}

.timeline-entry__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  margin: 0 0 0.5rem;
  transition: color 200ms ease;
}

.timeline-entry:hover .timeline-entry__title { color: var(--gold); }

.timeline-entry__list {
  margin: 0;
  padding-left: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-mid);
  list-style: none;
}

.timeline-entry__list li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.2rem;
}

.timeline-entry__list li::before {
  content: '·';
  position: absolute;
  left: 0.2rem;
  top: -0.05rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1em;
}

.timeline-entry__list em { color: var(--gold); font-style: italic; }

/* ============================================================
   LORE FRAGMENTS — Quotes Room (used in Phase 4)
   ============================================================ */

.fragments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
}

.fragment {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 2rem 2.4rem;
  background: rgba(8, 16, 22, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--accent);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.fragment.is-hidden { display: none; }

.fragment:hover {
  background: rgba(8, 16, 22, 0.82);
  border-top-color: var(--gold);
  transform: translateY(-2px);
}

.fragment__num {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
}

.fragment__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-bright);
  margin: 0;
  padding-left: 1.6rem;
  border-left: 1px solid rgba(240, 192, 96, 0.3);
}

.fragment__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0;
  vertical-align: -0.42em;
  color: var(--gold);
  margin-right: 0.1em;
  margin-left: -0.7rem;
}

.fragment__cite {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-left: 1.6rem;
}

.fragment__cite em {
  color: var(--text-mid);
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   DISCOURSE PAGE CONTENT (Phase 6 discourse pages)
   Adapts legacy PROJECT_PAGE_TEMPLATE classes to Cinematic Tier
   so existing HTML inside `.content-body` renders correctly.
   ============================================================ */

.page-body__inner .content-body {
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.content-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: 0.08em;
  color: var(--text-bright);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(125, 214, 255, 0.18);
}

.content-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 1.8rem 0 0.8rem;
}

.content-body h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 1.4rem 0 0.6rem;
}

.content-body p {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
  text-align: justify;
}

.content-body p strong { color: var(--text-bright); font-weight: 600; }
.content-body p em { color: var(--gold); font-style: italic; }

.content-body ul, .content-body ol {
  margin: 0 0 1rem 1.4rem;
  font-family: var(--font-ui);
  color: var(--text-mid);
  line-height: 1.75;
}

.content-body li { margin-bottom: 0.4rem; }
.content-body li::marker { color: var(--accent); }

.content-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(125, 214, 255, 0.35);
  transition: color 200ms ease, border-color 200ms ease;
}
.content-body a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Legacy meta-label class */
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem 1.4rem;
  margin: 0 0 3rem;
  background: rgba(125, 214, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--accent);
}

.page-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-mid);
}

.page-meta .meta-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Driving question callout */
.driving-question {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding: 0.8rem 0 0.8rem 1.5rem;
  margin: 2rem 0;
  letter-spacing: 0.02em;
  background: transparent;
  border-radius: 0;
}

/* Discourse blockquote */
.content-body blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  background: transparent;
  padding: 0.6rem 0 0.6rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0;
}
.content-body blockquote p { color: inherit; margin-bottom: 0; text-align: left; }

/* Specs grid (2-column structured info) */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.spec-card {
  background: rgba(125, 214, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: 0;
}

.spec-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.spec-card ul {
  margin: 0;
  padding-left: 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-mid);
}

.spec-card li { margin-bottom: 0.3rem; }

/* Media embeds (PDFs, posters) */
.media-embed {
  margin: 2rem 0;
  background: rgba(8, 16, 22, 0.4);
  border: 1px solid rgba(125, 214, 255, 0.15);
  padding: 4px;
  border-radius: 4px;
}

.media-embed iframe {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
  background: #fff;
}

.media-embed .media-caption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.6rem;
  padding-bottom: 0.4rem;
  font-style: italic;
}

/* Meta download button */
.meta-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  background: var(--accent);
  color: #0a0d10 !important;
  text-decoration: none;
  border-radius: 0;
  border-bottom: none !important;
  font-size: 1rem;
  transition: background 180ms ease;
}
.meta-download:hover {
  background: var(--gold);
}

/* Figures with captions */
.content-body figure {
  margin: 2rem 0;
  text-align: center;
}
.content-body figure img {
  max-width: 100%;
  border: 1px solid rgba(125, 214, 255, 0.15);
  background: #0a0d10;
}
.content-body figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .content-body h2 { font-size: 1.4rem; }
  .content-body h3 { font-size: 1.1rem; }
  .page-meta { gap: 1.2rem; padding: 0.8rem 1rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .media-embed iframe { height: 50vh; }
}

/* ============================================================
   ATRIUM RANDOM QUOTE — atmospheric flourish at bottom-center
   ============================================================ */

/* Mirrors the .menu's hover/active treatment — same cyan gradient
   fade + chromatic edge — but on the right side and always visible.
   Reads as a "permanently-active companion" to the menu rather than
   a separate UI block. No glass surface, no drop shadow — just the
   gradient + edge, like the menu items. */
.atrium-quote {
  position: fixed;
  /* right: 3rem aligns the quote's right edge with the profile pip
     (top-right) and the featured card (bottom-right) — all three
     right-side panels share the same outer edge. */
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 28vw, 380px);
  z-index: 10;

  padding: 1rem 1.4rem 1rem 1.6rem;
  /* Gradient uses the same neutral dark surface as the profile pip
     (no cyan tint) — keeps the amber cite from clashing against a
     competing hue. */
  background: linear-gradient(270deg,
    var(--surface),
    rgba(8, 16, 22, 0.08) 80%,
    transparent);
  border-right: 2px solid var(--accent);

  text-align: right;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease 1300ms;
}
body.is-landing.stage-menu .atrium-quote.is-loaded {
  opacity: 1;
}

.atrium-quote__text {
  display: block;
  font-family: var(--font-ui);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: var(--text-bright);
  margin: 0 0 0.55rem;
  /* Cap at ~3 lines so a long quote doesn't blow up the panel */
  max-height: 4.65em;
  overflow: hidden;
}

.atrium-quote__cite {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-dim);
}

@media (max-width: 720px) {
  /* On mobile the quote sits in its own slot between the profile pip
     (top-right at top:2.4rem) and the menu (vertically centered).
     Spans full width with side margins matching the menu/featured.
     Right-anchored gradient + cyan border-right preserved so the
     visual vocabulary stays consistent with desktop. */
  .atrium-quote {
    display: block;
    top: 7rem;
    bottom: auto;
    left: 1.5rem;
    right: 1.5rem;
    width: auto;
    transform: none;
  }
}

/* ============================================================
   CARTOGRAPHIC CORNER CHROME — Destiny 2 lineage
   L-bracket marks at viewport corners. Universal.
   ============================================================ */

.cartographic-chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 14;
}

.chrome-tick {
  position: absolute;
  width: 16px;
  height: 16px;
}

.chrome-tick--tl { top: 0.9rem; left: 0.9rem;
  border-top: 1px solid rgba(125, 214, 255, 0.4);
  border-left: 1px solid rgba(125, 214, 255, 0.4); }

.chrome-tick--tr { top: 0.9rem; right: 0.9rem;
  border-top: 1px solid rgba(125, 214, 255, 0.4);
  border-right: 1px solid rgba(125, 214, 255, 0.4); }

.chrome-tick--bl { bottom: 0.9rem; left: 0.9rem;
  border-bottom: 1px solid rgba(125, 214, 255, 0.4);
  border-left: 1px solid rgba(125, 214, 255, 0.4); }

.chrome-tick--br { bottom: 0.9rem; right: 0.9rem;
  border-bottom: 1px solid rgba(125, 214, 255, 0.4);
  border-right: 1px solid rgba(125, 214, 255, 0.4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  /* Propylaea on small screens — the title's letter-spacing was
     overflowing the viewport (PEIRASTES + 0.32em spacing ≈ 354px
     against a phone viewport of 320–414px). Tighten font-size +
     letter-spacing so it fits, and update the padding-left
     compensation to match the new letter-spacing exactly. */
  .title-wordmark__name {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
    letter-spacing: 0.18em;
    padding-left: 0.18em;
  }
  .title-wordmark__tagline {
    font-size: clamp(0.6rem, 2.4vw, 0.78rem);
    letter-spacing: 0.20em;
    padding-left: 0.20em;
  }

  /* Morph values for mobile are computed by JS at runtime via the
     same --morph-* CSS vars used on desktop — no @media override
     needed here. */

  .menu-wordmark, .chrome-wordmark, .hints { left: 1.5rem; }
  /* Menu vertically centered on mobile (matches desktop composition).
     Was anchored at bottom: 14rem which forced the menu low on the
     viewport and made the featured card overlap its bottom items. */
  .menu {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 3rem);
  }
  .profile { right: 1.5rem; }
  .featured { left: 1.5rem; right: 1.5rem; bottom: 4rem; width: auto; }

  .page-body { padding: 3rem 1.25rem 5rem; }
  .meta-row { gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }

  .quest-card { gap: 0.9rem; padding: 0.85rem 1rem; min-height: 88px; }
  .quest-card__date { margin-left: 0; }
  .quest-card__chevron { display: none; }
  .quest-card__meta { gap: 0.7rem; }

  .fragments-grid { grid-template-columns: 1fr; }
  .filter-group { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .filter-group__label { min-width: 0; margin-bottom: 0.2rem; margin-right: 0; }
  .page-hero__stats { gap: 1.2rem; padding-top: 1rem; }

  .timeline-entry { gap: 0.9rem; padding: 0.95rem 1rem; }
  .timeline-entry__portrait { width: 64px; height: 64px; }
  .timeline-entry__title { font-size: 1rem; }
}
