/* AudaCity Chrome Pavilion — one kinetic gallery, plum and magenta. */

:root {
  --void: #07030c;
  --ink: #f7eefb;
  --muted: #e4d0ec;
  --soft: #f3e4f6;
  --pink: #ff4dad;
  --pink-deep: #e11888;
  --metal: #f3e4f4;
  --metal-2: #d9c0de;
  --dark: #140610;
  --line: rgba(255, 226, 246, 0.2);
  --nav-h: 68px;
  --display: "Syne", "Arial Black", sans-serif;
  --body: "Outfit", "Avenir Next", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --hot-ink: #140610;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  max-width: 100%;
}
body {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 100%;
}
img, svg, video { max-width: 100%; height: auto; }
img, video { display: block; }
a { color: inherit; }
button, input, summary { font: inherit; }
::selection { background: var(--pink); color: var(--hot-ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--pink);
  color: var(--hot-ink);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.skip:focus { top: 0.7rem; }

.wrap {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
}
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #fff, var(--pink));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- pavilion shell ---------- */
.world {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.layer { position: absolute; inset: -6%; }
.glow {
  background:
    radial-gradient(ellipse 46% 36% at 72% 16%, rgba(255, 61, 154, 0.28), transparent 64%),
    radial-gradient(ellipse 36% 30% at 12% 78%, rgba(150, 80, 210, 0.16), transparent 70%),
    radial-gradient(ellipse 80% 42% at 50% 118%, rgba(255, 45, 140, 0.12), transparent 58%);
}
.ribs, .ribs svg { width: 100%; height: 100%; }
.floor {
  background-image:
    linear-gradient(rgba(255, 77, 173, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 236, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center 0;
  transform: perspective(640px) rotateX(68deg);
  transform-origin: 50% 78%;
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 28%, #000 52%, #000 100%);
  opacity: 0.85;
}

main, .nav, .foot, .risk-band { position: relative; z-index: 1; }
section, .chamber { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 3, 12, 0.82);
  backdrop-filter: blur(16px);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), var(--pink), rgba(255,255,255,0.4), transparent);
}
.nav-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  min-height: 44px;
}
.brand img { width: 36px; height: auto; }
.brand em { font-style: normal; color: var(--pink); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
.menu-panel {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.menu-panel a:not(.btn) {
  text-decoration: none;
  color: var(--soft);
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.menu-panel a:not(.btn):hover,
.menu-panel a:not(.btn):focus-visible { color: var(--pink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
}
.btn-hot,
a.btn-hot:link,
a.btn-hot:visited,
a.btn-hot:hover,
a.btn-hot:active,
a.btn-hot:focus,
a.btn-hot:focus-visible,
.menu-panel a.btn-hot,
.menu-panel a.btn-hot:link,
.menu-panel a.btn-hot:visited,
.menu-panel a.btn-hot:hover,
.menu-panel a.btn-hot:active {
  background: var(--pink);
  color: var(--hot-ink);
}
.btn-metal,
a.btn-metal:link,
a.btn-metal:visited,
a.btn-metal:hover,
a.btn-metal:active,
a.btn-metal:focus,
a.btn-metal:focus-visible {
  background: linear-gradient(180deg, #fff 0%, var(--metal) 42%, var(--metal-2) 100%);
  color: var(--hot-ink);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 220, 245, 0.38);
}
.btn-soon,
.btn:disabled,
.btn[disabled] {
  background: transparent;
  color: #e7c6df;
  border: 1px dashed rgba(255, 198, 230, 0.55);
  cursor: not-allowed;
}
@media (hover: hover) and (pointer: fine) {
  .btn-hot:hover,
  a.btn-hot:hover { background: #ff7ab8; color: var(--hot-ink); }
  .btn-metal:hover,
  a.btn-metal:hover { background: #fff; color: var(--hot-ink); }
  .btn-ghost:hover { border-color: var(--pink); color: #ffd0ea; }
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.plate:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd0ea;
}
.section-head, .about-title, .hero-title { container-type: inline-size; }
.hero-title h1,
.section-head h2,
.about-title h2,
.risk-band h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
  max-width: 100%;
}
.hero-title h1 {
  font-size: clamp(3rem, 20cqi, 7.4rem);
  line-height: 0.84;
}
.auda, .city { display: block; }
.auda {
  color: #f6edf8;
  text-shadow:
    1px 1px 0 #9a7b98,
    2px 2px 0 #6e516e,
    3px 3px 0 #463048,
    4px 4px 0 #241424;
}
.city {
  color: var(--pink);
  text-shadow:
    1px 1px 0 #c41a74,
    2px 2px 0 #8d1254,
    3px 3px 0 #5a0c36,
    4px 4px 0 #2c0618;
}
.section-head h2,
.about-title h2 {
  font-size: clamp(2.15rem, 9.5cqi, 4.5rem);
  margin-bottom: 0.75rem;
}
.ticker {
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #ffd0ea;
}
.ticker strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lede, .dek, .about-body p, .plaque-note, .qa p, .runway p {
  color: var(--muted);
}
.lede { margin: 0 0 1.15rem; font-size: 1.08rem; max-width: 46ch; }
.dek { margin: 0; max-width: 58ch; }
.pull {
  color: var(--soft);
  font-size: 1.18rem;
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.mono { font-family: var(--mono); }

/* ---------- hero ---------- */
.hero {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero .eyebrow { order: 1; }
.hero-title { order: 2; }
.hero-plate-wrap { order: 3; }
.hero-mark { order: 4; }
.hero-rest { order: 5; }
.hero-title { padding: 0 0.35rem 0.35rem 0; max-width: 100%; }
.hero-mark { display: grid; justify-items: center; gap: 0.35rem; }
.plinth { width: min(100%, 340px); perspective: 900px; }
.coin-rig { display: grid; place-items: center; }
.coin {
  --coin: clamp(168px, 52vw, 230px);
  --mx: 32%;
  --my: 24%;
  width: var(--coin);
  height: var(--coin);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-48deg);
}
.face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  background: #050308;
  box-shadow: inset 0 0 0 2px rgba(255, 230, 245, 0.35);
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.9);
}
.face.front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.42), transparent 46%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.face.back img { filter: brightness(0.72) saturate(0.85); }
.rim { position: absolute; inset: 0; transform-style: preserve-3d; }
.rim span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  backface-visibility: hidden;
}
.plinth-ring {
  width: 70%;
  height: 18px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 61, 154, 0.45), transparent 70%);
  box-shadow: 0 0 0 1.5px rgba(255, 230, 245, 0.35);
}
.mark-caption {
  margin: 0.2rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd0ea;
}

/* ---------- mounted plates ---------- */
.plate {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  text-align: left;
  width: 100%;
  min-width: 0;
}
.frame {
  position: relative;
  display: block;
  padding: 9px;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.72), rgba(255,255,255,0.16) 28%, rgba(90, 40, 80, 0.28) 62%, rgba(255,255,255,0.38));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -12px 24px rgba(40, 10, 30, 0.22);
}
.frame img,
.frame video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #12060f;
  object-fit: contain;
}
.brackets {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(#fff, #fff) left top / 16px 1.5px no-repeat,
    linear-gradient(#fff, #fff) left top / 1.5px 16px no-repeat,
    linear-gradient(#fff, #fff) right top / 16px 1.5px no-repeat,
    linear-gradient(#fff, #fff) right top / 1.5px 16px no-repeat,
    linear-gradient(var(--pink), var(--pink)) left bottom / 16px 1.5px no-repeat,
    linear-gradient(var(--pink), var(--pink)) left bottom / 1.5px 16px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 16px 1.5px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 1.5px 16px no-repeat;
}
.plate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
.idx { color: var(--pink); }
.view { margin-left: auto; color: #ffd0ea; }
.hero-plate-wrap { width: 100%; min-width: 0; display: flex; justify-content: center; }
.hero-plate { width: auto; max-width: 100%; min-width: 0; align-self: center; }
.hero-reel { cursor: default; }
.hero-plate .frame { width: max-content; max-width: 100%; }
.hero-plate .frame img,
.hero-plate .frame video {
  width: auto;
  max-width: min(980px, 100%);
  max-height: min(42vh, 400px);
  height: auto;
  object-fit: contain;
  object-position: center;
}
.reel-mute {
  margin-left: auto;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 245, 0.45);
  background: transparent;
  color: #ffd0ea;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reel-mute:hover,
.reel-mute:focus-visible {
  border-color: var(--pink);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .plate:hover .frame,
  .plate:focus-visible .frame {
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 #fff,
      0 0 0 1px rgba(255, 77, 173, 0.55);
  }
}

/* ---------- chambers ---------- */
.chamber { padding: 3.2rem 0; }
.chamber + .chamber { border-top: 0; }
.about-layout { display: flex; flex-direction: column; gap: 1.15rem; }
.about-body p { margin: 0 0 0.9rem; max-width: 62ch; }
.about-body p:last-child { margin-bottom: 0; }
.section-head { margin-bottom: 1.35rem; max-width: 100%; }

.wall {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  perspective: 1400px;
}

/* ---------- ledger plaque ---------- */
.plaque {
  position: relative;
  border-radius: 28px;
  padding: clamp(1.15rem, 3vw, 2.2rem);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 26%, rgba(10, 4, 12, 0.15) 58%, rgba(255,255,255,0.06)),
    linear-gradient(180deg, #321628 0%, #160810 46%, #21101c 100%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 226, 246, 0.28);
  container-type: inline-size;
  transform-origin: 50% 40%;
}
.plaque > .brackets { inset: 12px; }
.plaque-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.plaque-kicker, .plaque-net, .ca-label {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #ffd0ea;
  margin: 0;
}
.facts { margin: 0.4rem 0 1.2rem; }
.facts div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.8fr) minmax(0, 1.6fr);
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255, 226, 246, 0.16);
}
.facts dt {
  margin: 0;
  color: #ffd0ea;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.4cqi, 1.7rem);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.facts .is-open dd { color: #f0d4e8; font-weight: 600; }
.unit {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0;
  color: var(--muted);
}
.ca-block {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  margin-bottom: 1rem;
}
.ca-block code {
  font-family: var(--mono);
  font-size: clamp(0.82rem, 2.5cqi, 1.12rem);
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
  line-height: 1.45;
}
.link-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.plaque-note { margin: 1rem 0 0; font-size: 0.92rem; max-width: 68ch; }

/* ---------- runway ---------- */
.runway {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  position: relative;
}
.runway::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--pink), rgba(255, 77, 173, 0.05));
}
.runway li {
  position: relative;
  padding: 0.35rem 0 1.1rem 3.1rem;
  min-width: 0;
}
.node {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--hot-ink);
  background: linear-gradient(180deg, #fff, var(--pink));
  box-shadow: 0 8px 18px rgba(255, 45, 140, 0.28);
}
.runway h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.03em;
}
.runway p { margin: 0; max-width: 36ch; }

/* ---------- questions ---------- */
.radio { display: flex; flex-direction: column; gap: 1.5rem; }
.qa {
  border-top: 1px solid rgba(255, 226, 246, 0.18);
}
.qa:last-child { border-bottom: 1px solid rgba(255, 226, 246, 0.18); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.2cqi, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--pink);
  font-weight: 500;
  flex: none;
}
.qa[open] summary::after { content: "–"; }
.qa p { margin: 0 0 1rem; max-width: 68ch; overflow-wrap: anywhere; }
.questions { container-type: inline-size; }

/* ---------- risk + footer ---------- */
.risk-band {
  background: #ffd4ea;
  color: var(--hot-ink);
  padding: 2.4rem 0;
}
.risk-band h2 {
  font-size: clamp(1.8rem, 6cqi, 3rem);
  margin-bottom: 0.7rem;
  color: var(--hot-ink);
}
.risk-band .wrap { container-type: inline-size; }
.risk-band p {
  margin: 0;
  max-width: 78ch;
  font-size: 1.02rem;
  line-height: 1.55;
}
.foot { padding: 2.2rem 0 2.8rem; }
.foot-inner { display: grid; gap: 0.8rem; }
.wordmark { width: min(320px, 100%); height: auto; }
.foot p { margin: 0; color: var(--muted); max-width: 62ch; }
.fine { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.fine a { color: #ffd0ea; }

/* ---------- toast + lightbox ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 90;
  background: var(--pink);
  color: var(--hot-ink);
  font-weight: 800;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  max-width: calc(100% - 2rem);
  text-align: center;
  transition: transform 0.25s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 2, 10, 0.94);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  justify-items: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
  overscroll-behavior: none;
}
.lightbox[hidden] { display: none; }
.lb-close { justify-self: end; align-self: start; }
.lightbox figure {
  margin: 0;
  min-height: 0;
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 12.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #12060f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.lightbox figcaption {
  margin: 0;
  text-align: center;
  max-width: 68ch;
  color: var(--soft);
  font-size: 0.98rem;
}
.lb-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.lb-count {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: #ffd0ea;
}
.lb-help {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e7c6df;
}
body.lb-open { overflow: hidden; }

/* ---------- tablet ---------- */
@media (min-width: 760px) {
  .wrap, .hero, .nav-inner { width: min(1180px, calc(100% - 2.5rem)); }
  .wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1.15rem;
    align-items: start;
  }
  .wall > .plate:nth-child(1) { grid-column: 1 / -1; }
  .wall > .plate:nth-child(4),
  .wall > .plate:nth-child(5),
  .wall > .plate:nth-child(7) { margin-top: 1.6rem; }
  .coin { --coin: clamp(200px, 32vw, 260px); }
}

/* ---------- desktop pavilion ---------- */
@media (min-width: 1040px) and (min-height: 640px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    grid-template-areas:
      "eyebrow mark"
      "title mark"
      "rest mark"
      "plate plate";
    column-gap: 1.5rem;
    row-gap: 0.35rem;
    align-items: center;
    padding-top: 1.4rem;
  }
  .hero .eyebrow { grid-area: eyebrow; margin-bottom: 0; }
  .hero-title { grid-area: title; }
  .hero-mark { grid-area: mark; align-self: center; }
  .hero-rest { grid-area: rest; padding-bottom: 0.6rem; }
  .hero-plate-wrap { grid-area: plate; display: flex; justify-content: center; padding-top: 0.85rem; }
  .coin { --coin: clamp(220px, 24vw, 300px); }
  .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas:
      "art title"
      "art body";
    gap: 0.4rem 2.4rem;
    align-items: center;
  }
  .about-title { grid-area: title; }
  .about-plate { grid-area: art; }
  .about-body { grid-area: body; }
  .radio {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 2.5rem;
    align-items: start;
  }
  .runway {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 0.2rem;
  }
  .runway::before {
    left: 1.05rem;
    right: 1.05rem;
    top: 1.15rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .runway li { padding: 3.15rem 0.4rem 0 0; }
  .node { top: 0; }
  .runway p { max-width: none; }
}

@media (min-width: 1100px) {
  .wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem 1.15rem;
  }
  .wall > .plate { margin-top: 0; }
  .wall > .plate:nth-child(1) { grid-column: 1 / 5; }
  .wall > .plate:nth-child(2) { grid-column: 5 / 7; margin-top: 3.4rem; }
  .wall > .plate:nth-child(3) { grid-column: 1 / 3; }
  .wall > .plate:nth-child(4) { grid-column: 3 / 5; margin-top: 2.1rem; }
  .wall > .plate:nth-child(5) { grid-column: 5 / 7; margin-top: 0; }
  .wall > .plate:nth-child(6) { grid-column: 1 / 4; }
  .wall > .plate:nth-child(7) { grid-column: 4 / 7; margin-top: 2rem; }
  .wall > .plate:nth-child(8) { grid-column: 2 / 6; }
}

@media (max-height: 860px) and (min-width: 1040px) {
  .hero-title h1 { font-size: clamp(2.8rem, 15cqi, 6rem); }
  .coin { --coin: 220px; }
  .lede { font-size: 1rem; margin-bottom: 0.8rem; }
  .hero { padding-bottom: 1.1rem; }
  .hero-plate .frame img,
  .hero-plate .frame video { max-height: min(28vh, 260px); max-width: min(820px, 100%); }
}

/* ---------- phone nav ---------- */
@media (max-width: 780px) {
  .menu-btn { display: flex; }
  .menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.55rem 0.85rem 0.9rem;
    background: #10060f;
    border-bottom: 1px solid rgba(255, 226, 246, 0.2);
  }
  .nav.open .menu-panel { display: flex; }
  .menu-panel a.btn { width: 100%; }
}

/* ---------- short landscape: art beside the name ---------- */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --nav-h: 52px; }
  .nav-inner { min-height: var(--nav-h); }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-areas:
      "plate eyebrow"
      "plate title"
      "plate actions"
      "plate mark"
      "lede lede";
    align-items: start;
    gap: 0.2rem 0.8rem;
    padding: 0.25rem 0 0.2rem;
  }
  .hero-rest { display: contents; }
  .hero-actions { grid-area: actions; }
  .hero-mark {
    display: grid;
    grid-area: mark;
    justify-items: start;
    align-self: end;
    gap: 0;
    margin-bottom: 0.15rem;
  }
  .hero-mark .plinth { width: 64px; }
  .hero-mark .coin { --coin: 56px; }
  .hero-mark .mark-caption,
  .hero-mark .plinth-ring { display: none; }
  .hero .eyebrow { grid-area: eyebrow; margin: 0; }
  .hero-title { grid-area: title; }
  .hero-title h1 { font-size: clamp(1.7rem, 11cqi, 2.45rem); }
  .menu-btn { display: flex; }
  .menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.55rem 0.85rem 0.9rem;
    background: #10060f;
    border-bottom: 1px solid rgba(255, 226, 246, 0.2);
  }
  .nav.open .menu-panel { display: flex; }
  .menu-panel a.btn { width: 100%; }
  .ticker { margin-top: 0.15rem; }
  .lede {
    grid-area: lede;
    font-size: 0.88rem;
    line-height: 1.35;
    margin: 0;
    max-width: none;
  }
  .hero-plate-wrap { grid-area: plate; align-self: center; }
  .hero-plate, .hero-plate .frame { width: auto; max-width: 100%; }
  .hero-plate .frame img,
  .hero-plate .frame video {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - var(--nav-h) - 3.4rem);
    height: auto;
  }
  .reel-mute { min-height: 32px; padding: 0.3rem 0.65rem; }
  .btn { min-height: 40px; padding: 0.45rem 0.85rem; }
  .wall { display: flex; flex-direction: column; }
  .plate { margin-top: 0; }
  .chamber { padding: 2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
  .floor { transform: none; opacity: 0.35; mask-image: none; }
  .plate .frame, .plaque { transform: none !important; }
  .hero-video { pointer-events: auto; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: #10060f; backdrop-filter: none; }
  .lightbox { background: #10060f; }
}
