@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Caveat:wght@400;500&display=swap');

:root {
  --ink: #f5efe3;
  --muted: #b8ad9f;
  --paper: #171514;
  --charcoal: #0b0b0c;
  --smoke: #25201f;
  --brass: #c89f58;
  --red: #9f3131;
  --blue: #386d80;
  --green: #61745a;
  --border: rgba(245, 239, 227, 0.16);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 8%, rgba(60, 30, 90, 0.35), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(30, 40, 100, 0.30), transparent 26rem),
    #07070a;
  background-size: auto, auto, auto;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    radial-gradient(circle, rgba(245, 239, 227, 0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(200, 159, 88, 0.6) 1px, transparent 1px),
    radial-gradient(circle, rgba(245, 239, 227, 0.5) 1px, transparent 1px);
  background-size: 200px 150px, 350px 280px, 500px 400px;
  opacity: 0.07;
  pointer-events: none;
  animation: star-drift 60s ease-in-out infinite alternate;
}

@keyframes star-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

@keyframes zodiac-sparkle {
  0%   { opacity: 0.04; text-shadow: none; transform: scale(1); }
  50%  { opacity: 0.18; text-shadow: 0 0 12px currentColor, 0 0 28px currentColor; transform: scale(1.08); }
  100% { opacity: 0.06; text-shadow: 0 0 6px currentColor; transform: scale(1); }
}

body.lot-page .management-note {
  display: none;
}

/* ─── Lot: Location Pages ──────────────────────────────── */

.lot-location-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

.lot-location-intro h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin-bottom: 0.5rem;
}

.lot-location-intro p:not(.file-label) {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 0;
}

.lot-location-gallery {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.lot-gallery-label {
  margin-bottom: 1rem;
}

.lot-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: clamp(1rem, 3vw, 1.8rem);
}

.lot-gallery-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

.lot-gallery-grid img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 0.8rem 2rem var(--shadow);
  cursor: zoom-in;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.lot-gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.2rem 3rem var(--shadow);
}

/* ─── Lot: Interactive Map ─────────────────────────────── */

.lot-map-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.lot-intro {
  text-align: center;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.map-container {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.lot-map-image {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.7);
}

/* ─── Map Hotspots (red pins) ──────────────────────────── */

.map-hotspot {
  position: absolute;
  transform: translate(-50%, -100%);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 2;
}

.hotspot-dot {
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 35% 35%, #e85555, #9b1c1c);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(180, 30, 30, 0.3);
  transform: rotate(-45deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform-origin: center bottom;
}

.hotspot-label {
  position: absolute;
  bottom: calc(100% + 0.3rem);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: rgba(10, 8, 6, 0.88);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.map-hotspot:hover .hotspot-label,
.map-hotspot:focus-visible .hotspot-label {
  opacity: 1;
}

.map-hotspot:hover .hotspot-dot,
.map-hotspot:focus-visible .hotspot-dot {
  transform: rotate(-45deg) scale(1.25);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.7),
    0 0 0 3px rgba(220, 60, 60, 0.45);
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 0 2px rgba(180,30,30,0.3); }
  50%       { box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 0 5px rgba(180,30,30,0.15); }
}

.hotspot-dot {
  animation: pin-pulse 2.5s ease-in-out infinite;
}

body.lot-page::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(84, 92, 100, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(56, 109, 128, 0.2), transparent 24rem),
    linear-gradient(180deg, #07080a 0%, #0d1115 44%, #0b0b0c 100%);
}

body.lot-page::after {
  position: fixed;
  left: -12vw;
  right: -12vw;
  bottom: -12vh;
  z-index: -1;
  height: 52vh;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 68%, rgba(210, 222, 224, 0.13), transparent 38%),
    radial-gradient(ellipse at 50% 78%, rgba(180, 196, 202, 0.12), transparent 44%),
    radial-gradient(ellipse at 82% 64%, rgba(210, 222, 224, 0.1), transparent 36%),
    linear-gradient(to top, rgba(210, 222, 224, 0.08), transparent 72%);
  filter: blur(14px);
  opacity: 0.78;
  transform: translate3d(0, 0, 0);
  animation: mist-drift 26s ease-in-out infinite alternate;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem clamp(1rem, 4vw, 3rem) 0.6rem;
  background: rgba(11, 11, 12, 0.84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.brand-stage {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.15rem, 1vw, 0.55rem);
}

.brand img {
  display: block;
  height: auto;
}

.brand-logo {
  width: clamp(10rem, 20vw, 16rem);
  filter: drop-shadow(0 0.2rem 0.45rem rgba(200, 159, 88, 0.22));
}

.brand-chibi {
  width: clamp(2.4rem, 6vw, 4.8rem);
  align-self: end;
  filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.55));
}

.brand-chibi-left {
  transform: translateX(0.8rem) translateY(0.3rem) rotate(-4deg);
}

.brand-chibi-right {
  transform: translateX(-0.8rem) translateY(0.3rem) rotate(4deg);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Cinzel', Georgia, serif;
}

.site-nav a {
  padding: 0.3rem 0.2rem;
  border: none;
  color: var(--brass);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
  transition: opacity 200ms ease, text-shadow 200ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  text-shadow: 0 0 10px rgba(200, 159, 88, 0.6), 0 0 24px rgba(200, 159, 88, 0.3);
  background: none;
  border: none;
}

.hero {
  min-height: 65vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.hero-split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.seat-note {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  text-align: center;
  font-style: italic;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 180ms ease;
}

.seat-note:hover {
  opacity: 1;
}

.hero-aside {
  text-shadow: 0 0.16rem 1rem rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-aside h2 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 0;
}

.hero-aside p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.hero-aside img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 1.3rem 3rem var(--shadow);
  margin-top: 0.5rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.88;
}

.canvas-night {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.88), rgba(11, 11, 12, 0.54) 45%, rgba(11, 11, 12, 0.14)),
    linear-gradient(to top, rgba(11, 11, 12, 0.92), rgba(11, 11, 12, 0.1) 52%, rgba(11, 11, 12, 0.18)),
    url("images/circus-hero.png") center / cover no-repeat;
}

.canvas-night::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(245, 239, 227, 0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(200, 159, 88, 0.7) 1px, transparent 1px);
  background-size: 180px 120px, 260px 190px;
  opacity: 0.1;
}

.hero-content {
  max-width: 760px;
  padding: clamp(1rem, 3vh, 2rem) 0 clamp(1.8rem, 7vh, 5rem);
  text-shadow: 0 0.16rem 1rem rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
}

.file-label,
.sign {
  margin: 0 0 0.65rem;
  color: var(--brass);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.86;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1.02;
  font-weight: 500;
}

h3 {
  font-size: 1.45rem;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 1.4rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #fff7ea;
}

.recovery-note {
  max-width: 520px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button,
.archive-record a,
.person-card a {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button.primary {
  background: var(--red);
  border-color: rgba(245, 239, 227, 0.22);
}

.ticket-button {
  display: block;
  width: min(18rem, 60vw);
  margin-top: 0.3rem;
  filter: drop-shadow(0 1.15rem 1.4rem rgba(0, 0, 0, 0.45));
  transform-origin: center;
  transition: filter 180ms ease, transform 180ms ease;
}

.ticket-button:hover,
.ticket-button:focus-visible {
  filter: drop-shadow(0 1.45rem 1.8rem rgba(0, 0, 0, 0.58));
  transform: translateY(-2px) rotate(-0.7deg);
}

.ticket-button:focus-visible {
  outline: 2px solid rgba(245, 239, 227, 0.78);
  outline-offset: 0.35rem;
}

.ticket-button img {
  display: block;
  width: 100%;
  height: auto;
}

.button.secondary,
.archive-record a,
.person-card a {
  background: rgba(245, 239, 227, 0.07);
}

.section-band,
.split-section,
.page-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-band,
.split-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.lore-glossary {
  text-align: center;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.lore-entry img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

.press-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.press-copy p:not(.file-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

.press-feature img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  box-shadow: 0 1.3rem 3rem var(--shadow);
}

.registry-banner {
  display: block;
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.zodiac-bg-sign {
  opacity: 0;
}

.site-header,
.page-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 0.5rem 1.5rem var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.poster-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 1.2rem 2.5rem var(--shadow);
}

.poster-card img {
  display: block;
  width: 100%;
  height: auto;
}

.poster-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.82) 0%, transparent 50%);
  color: var(--cream);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: italic;
  opacity: 0;
  transition: opacity 220ms ease;
}

.poster-card:hover .poster-name {
  opacity: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.person-card,
.gallery-item,
.about-panel,
.archive-record {
  background: rgba(23, 21, 20, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 1rem 2.2rem var(--shadow);
}

.person-card {
  position: relative;
  padding: 0.85rem;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.person-card:hover,
.person-card:focus-within {
  border-color: rgba(200, 159, 88, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 1.3rem 2.7rem rgba(0, 0, 0, 0.56);
}

.person-card h2,
.person-card h3 {
  margin-bottom: 0.4rem;
}

.person-card p:not(.sign) {
  color: var(--muted);
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  min-height: auto;
  padding: 0;
  border: 0;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
}

.card-link:focus-visible {
  outline: 2px solid rgba(245, 239, 227, 0.78);
  outline-offset: 0.25rem;
}

.card-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin-top: 0.25rem;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: rgba(245, 239, 227, 0.07);
  border: 1px solid var(--border);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portrait,
.scene {
  min-height: 220px;
  margin-bottom: 0;
  border: none;
  background-color: #211d1b;
  background-blend-mode: screen, normal;
}

.portrait {
  aspect-ratio: 4 / 5;
}

.performer-grid .portrait {
  aspect-ratio: 2 / 3;
}

.portrait-jacques {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.16), transparent 45%),
    url("images/JACQUESPOSTER.png") center top / cover no-repeat;
}

.portrait-nova {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/novapster.png") center top / cover no-repeat;
}

.portrait-thomas {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/thomasposter.png") center top / cover no-repeat;
}

.portrait-castor {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/castorposter.png") center top / cover no-repeat;
}

.portrait-dominik {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/domposter.png") center top / cover no-repeat;
}

.portrait-caspian {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/caspianposter.png") center top / cover no-repeat;
}

.portrait-jericho {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/jerichoposter.png") center top / cover no-repeat;
}

.portrait-aster {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/asterposter.png") center top / cover no-repeat;
}

.portrait-lysander {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/lysanderposter.png") center top / cover no-repeat;
}

.portrait-yuri {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/yuriposter.png") center top / cover no-repeat;
}

.portrait-sol {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/solposter.png") center top / cover no-repeat;
}

.portrait-roan {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/roanposter.png") center top / cover no-repeat;
}

.portrait-marina {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.14), transparent 45%),
    url("images/marinaposter.png") center top / cover no-repeat;
}

.portrait-veil {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 12%, rgba(245, 239, 227, 0.75) 13% 14%, transparent 15%),
    linear-gradient(110deg, rgba(245, 239, 227, 0.06), rgba(159, 49, 49, 0.24)),
    #151515;
}

.portrait-ember {
  background:
    radial-gradient(circle at 52% 28%, #f2dcc3 0 10%, transparent 11%),
    radial-gradient(circle at 50% 80%, rgba(200, 159, 88, 0.5), transparent 30%),
    linear-gradient(130deg, #21130f, #72322b);
}

.portrait-orion {
  background:
    radial-gradient(circle at 48% 26%, #eadfca 0 11%, transparent 12%),
    linear-gradient(90deg, rgba(97, 116, 90, 0.78), transparent),
    repeating-linear-gradient(0deg, rgba(245, 239, 227, 0.08) 0 1px, transparent 1px 18px),
    #1d211c;
}

.portrait-lumen {
  background:
    radial-gradient(circle at 52% 24%, #f1e4d2 0 10%, transparent 11%),
    conic-gradient(from 180deg at 50% 10%, transparent, rgba(200, 159, 88, 0.65), transparent),
    #171514;
}

dl {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  color: var(--muted);
}

dt {
  color: var(--brass);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

dd {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.split-section p {
  color: var(--muted);
}

.evidence-strip {
  display: grid;
  gap: 0.8rem;
}

.evidence-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  min-height: 5rem;
  background: rgba(245, 239, 227, 0.06);
  border: 1px solid var(--border);
}

.evidence-card span,
.record-code {
  color: var(--brass);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.page-shell {
  padding: clamp(2.4rem, 7vw, 5.5rem) 0;
}

.page-intro {
  max-width: 820px;
  margin: 0 auto clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.page-intro h1,
.about-panel h1 {
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 0.98;
}

.page-intro p:not(.file-label),
.about-panel p:not(.file-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

.archive-page .page-shell {
  padding-top: clamp(1rem, 3vw, 1.8rem);
}

.archive-page .page-intro .button {
  display: block;
  width: fit-content;
  margin: 1.4rem auto 0;
}

.back-character-link {
  display: block;
  width: fit-content;
  margin: 1.2rem auto 0;
  text-decoration: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.back-character {
  display: block;
  width: clamp(10rem, 22vw, 17rem);
  height: auto;
  filter: drop-shadow(0 0.5rem 1.2rem rgba(0, 0, 0, 0.6));
}

.back-character-link:hover .back-character,
.back-character-link:focus-visible .back-character {
  transform: translateY(-4px);
  filter: drop-shadow(0 0.9rem 1.8rem rgba(0, 0, 0, 0.75));
}

.archive-page .page-intro {
  max-width: 860px;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

.archive-title-banner {
  display: block;
  width: min(100%, 780px);
  margin: 0 auto 0.25rem;
}

.archive-page .page-intro h1 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  line-height: 1.05;
}

.archive-page .page-intro p:not(.file-label) {
  font-size: 0.95rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-button {
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  background: rgba(245, 239, 227, 0.06);
  border: 1px solid var(--border);
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  background: rgba(159, 49, 49, 0.52);
}

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

/* Googly eyes chibi */
.chibi-container {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.chibi-container[hidden] {
  display: none;
}

.chibi-wrapper {
  position: relative;
  display: inline-block;
  width: clamp(140px, 22vw, 220px);
}

.chibi-img {
  display: block;
  width: 100%;
  height: auto;
}

.googly-eye {
  position: absolute;
  width: 11%;
  aspect-ratio: 1;
  background: white;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.15);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

#eye-left  { left: 35%; top: 33%; }
#eye-right { left: 50%; top: 27%; }

.googly-pupil {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, #555, #111);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 40ms linear;
  pointer-events: none;
}

.performer-gallery-section {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 12rem));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1.5rem);
  align-items: start;
}

.gallery-item {
  position: relative;
  padding: 0.5rem 0.5rem 0;
  background: #f2ece0;
  box-shadow:
    0 0.6rem 1.8rem rgba(0, 0, 0, 0.55),
    0 0.15rem 0.4rem rgba(0, 0, 0, 0.3);
  transition: transform 240ms ease, box-shadow 240ms ease;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  object-position: top;
}

.gallery-item:nth-child(3n+1) { transform: rotate(-1.6deg); }
.gallery-item:nth-child(3n+2) { transform: rotate(1.1deg); }
.gallery-item:nth-child(3n)   { transform: rotate(-0.6deg); }

.gallery-item:hover {
  transform: rotate(0deg) scale(1.03) translateY(-4px);
  box-shadow:
    0 1.2rem 3rem rgba(0, 0, 0, 0.65),
    0 0.3rem 0.6rem rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.gallery-item p {
  margin: 0.55rem 0.2rem 0.1rem;
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  color: #2a1a0e;
}

.gallery-item span {
  display: block;
  font-family: 'Caveat', cursive;
  color: #6b5040;
  font-size: 0.95rem;
}

.post-comments {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(245, 239, 227, 0.1);
}

.post-comments p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.post-comments strong {
  color: var(--brass);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item.is-hidden {
  display: none;
}

.performer-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.performer-photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin: 0 0 0.85rem;
  padding: 0;
  overflow: hidden;
  background: #211d1b;
  border: 1px solid rgba(245, 239, 227, 0.12);
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.performer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.performer-photo:hover,
.performer-photo:focus-visible {
  border-color: rgba(200, 159, 88, 0.7);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.performer-photo:focus-visible {
  outline: 2px solid rgba(245, 239, 227, 0.78);
  outline-offset: 0.25rem;
}

.feed-page::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 22% 10%, rgba(159, 49, 49, 0.2), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(200, 159, 88, 0.16), transparent 24rem),
    #0b0b0c;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

body.vip-page[data-vip-performer="caspian"] {
  background: #020813;
}

body.vip-page[data-vip-performer="caspian"]::before {
  background:
    linear-gradient(rgba(120, 190, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 24% 10%, rgba(0, 82, 180, 0.28), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(0, 155, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 50% 84%, rgba(0, 37, 91, 0.42), transparent 34rem),
    #020813;
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
}

.performer-shell {
  width: min(1120px, calc(100% - 2rem));
}

.performer-profile {
  margin-bottom: clamp(1.5rem, 5vw, 2.8rem);
}

.performer-profile .button {
  display: block;
  width: fit-content;
  margin: 0 auto 1rem;
}

.performer-profile-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 31rem) 1fr;
  gap: clamp(1.25rem, 5vw, 3.4rem);
  align-items: end;
}

.performer-portrait-frame {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  background: #080808;
  border: 1px solid var(--border);
  box-shadow: 0 1.2rem 2.4rem var(--shadow);
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.performer-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.performer-portrait-frame:hover,
.performer-portrait-frame:focus-visible {
  border-color: rgba(200, 159, 88, 0.72);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.performer-profile h1 {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
}

.performer-profile p:not(.file-label) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feed-tagline {
  margin: -0.15rem 0 0.85rem;
  color: var(--brass);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-style: italic;
  line-height: 1.28;
}

.feed-audio {
  max-width: 560px;
  margin: 1rem 0 1.1rem;
  padding: 0.85rem;
  background: rgba(245, 239, 227, 0.06);
  border: 1px solid var(--border);
}

.feed-audio[hidden] {
  display: none;
}

.feed-audio .file-label {
  margin-bottom: 0.5rem;
}

.feed-audio audio {
  display: block;
  width: 100%;
  margin-bottom: 0.55rem;
  accent-color: var(--brass);
}

.feed-audio p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feed-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin-bottom: 0;
}

.performer-file-section {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.4rem, 6vw, 4.5rem);
  padding-top: clamp(1.35rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
}

.vip-bracelet-link {
  display: block;
  width: min(38rem, 94vw);
  margin-top: 0;
  margin-bottom: clamp(1rem, 3vw, 1.6rem);
  color: inherit;
  text-decoration: none;
  filter: drop-shadow(0 1.15rem 1.4rem rgba(0, 0, 0, 0.45));
  transform-origin: center;
  transition: filter 180ms ease, transform 180ms ease;
}

.vip-bracelet-link:hover,
.vip-bracelet-link:focus-visible {
  filter: drop-shadow(0 1.45rem 1.8rem rgba(0, 0, 0, 0.58));
  transform: translateY(-2px) rotate(-0.7deg);
}

.vip-bracelet-link:focus-visible {
  outline: 2px solid rgba(245, 239, 227, 0.78);
  outline-offset: 0.35rem;
}

.vip-bracelet {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: clamp(5.8rem, 13vw, 7.5rem);
  padding: 0.8rem 1.7rem;
  overflow: hidden;
  color: #241712;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 0.18rem, transparent 0.18rem 0.55rem),
    linear-gradient(135deg, #f0d58d, #c89f58 44%, #9f3131 44% 58%, #d9bd76 58%);
  border: 1px solid rgba(255, 240, 185, 0.58);
  border-radius: 999px;
  box-shadow:
    inset 0 0.14rem 0.35rem rgba(255, 255, 255, 0.28),
    inset 0 -0.2rem 0.5rem rgba(48, 22, 14, 0.34);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.vip-bracelet[hidden],
.vip-bracelet-art[hidden],
.vip-banner-art[hidden] {
  display: none;
}

.vip-banner-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0.85rem 1.2rem rgba(0, 0, 0, 0.42));
}

.vip-bracelet-art {
  display: block;
  width: 100%;
  max-width: 38rem;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.vip-bracelet-art-large {
  max-width: min(28rem, 100%);
  max-height: 14rem;
}

.vip-bracelet::before,
.vip-bracelet::after {
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  content: "";
  background: rgba(11, 11, 12, 0.72);
  border-radius: 50%;
  transform: translateY(-50%);
}

.vip-bracelet::before {
  left: 0.6rem;
}

.vip-bracelet::after {
  right: 0.6rem;
}

.vip-bracelet-stamp {
  position: relative;
  z-index: 1;
  display: inline-grid;
  min-width: 3.35rem;
  min-height: 2.35rem;
  place-items: center;
  color: #f5efe3;
  background: #6f2020;
  border: 1px solid rgba(245, 239, 227, 0.38);
  border-radius: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.vip-bracelet-name {
  position: relative;
  z-index: 1;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vip-hero {
  margin-bottom: clamp(1.5rem, 5vw, 2.8rem);
}

.vip-hero .button {
  margin-bottom: 1rem;
}

.vip-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 4vw, 2rem);
}

.vip-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
}

.vip-meta {
  max-width: 720px;
}

.vip-bracelet-large {
  width: min(26rem, 100%);
  min-height: 5rem;
  transform: rotate(-4deg);
}

.vip-empty {
  max-width: 620px;
  color: var(--muted);
}

.feed-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.feed-tab {
  min-height: 2.65rem;
  padding: 0.65rem 0.95rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.feed-tab:hover,
.feed-tab:focus-visible,
.feed-tab.active {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.feed-panel[hidden] {
  display: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.performer-page-gallery {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.photo-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: #080808;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.performer-page-gallery .photo-tile {
  aspect-ratio: 2 / 3;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background: linear-gradient(to top, rgba(5, 5, 6, 0.86), rgba(5, 5, 6, 0));
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.photo-tile:hover,
.photo-tile:focus-visible {
  border-color: rgba(200, 159, 88, 0.7);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.social-post-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border-bottom: 1px solid rgba(245, 239, 227, 0.1);
}

.social-post-header img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(245, 239, 227, 0.18);
  border-radius: 50%;
}

.social-post-header strong,
.post-caption strong {
  display: block;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-post-header span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-post-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  padding: 0;
  overflow: hidden;
  background: #080808;
  border: 0;
  border-bottom: 1px solid rgba(245, 239, 227, 0.1);
  cursor: zoom-in;
}

.social-post-image img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #080808;
}

.social-post-body {
  padding: 0.85rem;
}

.post-actions {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--brass);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-actions span {
  padding: 0.32rem 0.5rem;
  background: rgba(245, 239, 227, 0.06);
  border: 1px solid rgba(245, 239, 227, 0.12);
}

.post-likes,
.post-caption {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.management-note {
  position: relative;
  z-index: 1;
  width: min(92%, 19rem);
  margin: 0.8rem 0 0.6rem auto;
  padding: 0.75rem 0.85rem 0.8rem;
  color: #26180f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    #e0c982;
  border: 1px solid rgba(83, 54, 22, 0.38);
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.28);
  font-family: "Trebuchet MS", Arial, sans-serif;
  transform: rotate(1.2deg);
}

.management-note::before {
  position: absolute;
  top: -0.38rem;
  left: 50%;
  width: 3.4rem;
  height: 0.72rem;
  content: "";
  background: rgba(245, 239, 227, 0.48);
  border: 1px solid rgba(83, 54, 22, 0.12);
  transform: translateX(-50%) rotate(-2deg);
}

.management-note strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #6b241c;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.management-note em {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.36;
}

.castor-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    #dcb774;
  transform: rotate(-1.4deg);
}

.thomas-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    #e4d49b;
  transform: rotate(1deg);
}

.twins-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    #d8c18a;
  transform: rotate(0.4deg);
}

.scene {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 1px solid rgba(245, 239, 227, 0.12);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: zoom-in;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.scene:hover,
.scene:focus-visible {
  border-color: rgba(200, 159, 88, 0.7);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.scene:focus-visible {
  outline: 2px solid rgba(245, 239, 227, 0.78);
  outline-offset: 0.25rem;
}

.scene-midway {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.26), transparent 56%),
    url("images/midway.png") center / cover no-repeat;
}

.scene-concessions {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.24), transparent 58%),
    url("images/concession-row.png") center / cover no-repeat;
}

.scene-diner {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.18), transparent 58%),
    url("images/zodiaque-diner.png") center / cover no-repeat;
}

.scene-games {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.24), transparent 58%),
    url("images/game-row.png") center / cover no-repeat;
}

.scene-rides {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.2), transparent 58%),
    url("images/rides-row.png") center / cover no-repeat;
}

.scene-tanks {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.28), transparent 58%),
    url("images/refuge-tanks.png") center / cover no-repeat;
}

.scene-seam {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.3), transparent 62%),
    url("images/the-seam.png") center / cover no-repeat;
}

.scene-back-lot {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.22), transparent 58%),
    url("images/back-lot.png") center / cover no-repeat;
}

.scene-coffee-wagon {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.18), transparent 58%),
    url("images/morning-coffee-wagon.png") center / cover no-repeat;
}

.scene-booth {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.24), transparent 58%),
    url("images/ticket-booth (2).png") center / cover no-repeat;
}

.scene-ring {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.28), transparent 58%),
    url("images/main-tent.png") center / cover no-repeat;
}

.scene-veil {
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.3), transparent 60%),
    url("images/restricted-area.png") center / cover no-repeat;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(5, 5, 6, 0.88);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

.image-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-viewer figure {
  width: min(1200px, 100%);
  margin: 0;
}

.image-viewer img {
  display: block;
  width: 100%;
  max-height: min(76vh, 820px);
  object-fit: contain;
  background: #080808;
  border: 1px solid rgba(245, 239, 227, 0.2);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.68);
  cursor: zoom-in;
  transform-origin: 0 0;
  transition: transform 200ms ease;
  user-select: none;
}

.image-viewer img.is-zoomed {
  cursor: grab;
  transition: none;
}

.image-viewer img.is-zoomed.is-dragging {
  cursor: grabbing;
}

.image-viewer-zoom-hint {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.3rem 0.6rem;
  background: rgba(23, 21, 20, 0.85);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.image-viewer-zoom-hint.is-hidden {
  opacity: 0;
}

/* Veil gallery */
.veil-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 520px));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.veil-gallery-item {
  border: 1px solid var(--border);
}

.flip-card {
  perspective: 1000px;
  border: 1px solid var(--border);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 600ms ease;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  animation: flip-with-glitch 600ms ease forwards;
}

@keyframes flip-with-glitch {
  0%   { transform: rotateY(0deg);   filter: none; }
  44%  { transform: rotateY(88deg);  filter: none; }
  48%  { transform: rotateY(90deg);  filter: hue-rotate(180deg) saturate(3) brightness(1.8); }
  52%  { transform: rotateY(92deg);  filter: hue-rotate(90deg) saturate(2) brightness(1.4); }
  56%  { transform: rotateY(96deg);  filter: none; }
  100% { transform: rotateY(180deg); filter: none; }
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100%;
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

.flip-card-front img,
.flip-card-back img {
  display: block;
  width: 100%;
  height: auto;
}


/* Bracelet gate */
.bracelet-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--page-bg, #0e0c0b);
  transition: opacity 400ms ease;
}

.bracelet-gate[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.bracelet-gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 28rem;
}

.bracelet-gate-heading {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0;
}

.bracelet-gate-sub {
  color: var(--muted);
  margin: 0;
}

.bracelet-gate-scan {
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 200ms ease, filter 200ms ease;
}

.bracelet-gate-scan:hover,
.bracelet-gate-scan:focus-visible {
  transform: scale(1.05);
  filter: brightness(1.15);
  outline: none;
}

.bracelet-gate-scan:active {
  transform: scale(0.97);
}

.bracelet-gate-hint {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
  animation: gate-hint-pulse 2s ease-in-out infinite;
}

@keyframes gate-hint-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.image-viewer figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding-top: 0.8rem;
  color: var(--muted);
}

.image-viewer figcaption strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.image-viewer-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: rgba(23, 21, 20, 0.9);
  border: 1px solid var(--border);
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  background: rgba(159, 49, 49, 0.72);
}

.archive-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1rem, 3vw, 1.8rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.archive-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(245, 239, 227, 0.04);
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.archive-category-card:hover,
.archive-category-card:focus-visible {
  background: rgba(245, 239, 227, 0.08);
  border-color: rgba(200, 159, 88, 0.5);
  transform: translateY(-2px);
}

.archive-category-card .record-code {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.archive-category-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.15;
}

.archive-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.archive-list {
  display: grid;
  gap: 0.85rem;
}

.archive-collage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0.75rem 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: 0;
  border: none;
}

.archive-collage img {
  display: block;
  width: clamp(14rem, 36vw, 28rem);
  max-height: 32rem;
  object-fit: contain;
  border: 1px solid var(--border);
  background: rgba(18, 17, 16, 0.62);
  box-shadow: 0 1rem 2rem var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.archive-collage img:nth-child(odd) {
  transform: rotate(-1.4deg);
}

.archive-collage img:nth-child(even) {
  transform: rotate(1.2deg);
}

.archive-collage img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 1.6rem 3rem var(--shadow);
  z-index: 1;
}

.archive-record {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.archive-record h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.archive-record p {
  margin-bottom: 0;
  color: var(--muted);
}

.archive-record button {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: rgba(245, 239, 227, 0.07);
  border: 1px solid var(--border);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.archive-record button:hover,
.archive-record button:focus-visible,
.archive-record button.active {
  background: rgba(159, 49, 49, 0.52);
}

.article-reader {
  margin-top: clamp(2rem, 6vw, 4rem);
  scroll-margin-top: 8rem;
}

.archive-artifact {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  color: #271d15;
  background:
    linear-gradient(90deg, rgba(75, 46, 23, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(75, 46, 23, 0.08) 1px, transparent 1px),
    #d9c49a;
  background-size: 32px 32px;
  border: 1px solid rgba(83, 54, 22, 0.42);
  box-shadow: 0 1.5rem 3.2rem rgba(0, 0, 0, 0.48);
}

.archive-artifact::before,
.archive-artifact::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.archive-artifact .file-label {
  color: #7b2e24;
}

.archive-artifact h2 {
  max-width: 880px;
  margin-bottom: 0.45rem;
  color: #20140e;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 0.92;
}

.newspaper-sheet {
  background:
    linear-gradient(90deg, rgba(75, 46, 23, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(75, 46, 23, 0.08) 1px, transparent 1px),
    #d9c49a;
  background-size: 32px 32px;
}

.missing-poster {
  color: #20140e;
  text-align: center;
  background:
    linear-gradient(rgba(75, 46, 23, 0.1) 1px, transparent 1px),
    #d7c397;
  background-size: 100% 2.2rem;
}

.missing-poster h2 {
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 11vw, 7rem);
  text-transform: uppercase;
}

.missing-poster .article-meta {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.missing-poster .article-body {
  max-width: 680px;
  margin: 0 auto;
  column-count: 1;
  text-align: left;
}

.hospital-record {
  background: #f4f1eb;
  color: #1a1a1a;
  border: 1px solid #c8bfae;
  font-family: "Courier New", Courier, monospace;
}

.hospital-record .file-label {
  color: #5a3e2b;
  border-color: rgba(90, 62, 43, 0.3);
}

.hospital-record h2 {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.04em;
}

.hospital-record .article-meta {
  color: #555;
  font-size: 0.88rem;
}

.hospital-record .article-body {
  column-count: 1;
}

.hospital-record .article-body p {
  color: #222;
  line-height: 1.8;
}

.torn-artifact {
  clip-path: polygon(0 0, 100% 0, 99% 93%, 95% 96%, 90% 94%, 83% 98%, 75% 95%, 68% 99%, 60% 96%, 52% 98%, 45% 95%, 37% 99%, 29% 95%, 21% 98%, 13% 94%, 6% 97%, 0 94%);
}

.burned-edge-artifact::after,
.burned-bottom-artifact::after {
  inset: auto -3% -8% -3%;
  height: 22%;
  background:
    radial-gradient(circle at 12% 12%, rgba(19, 10, 6, 0.92), transparent 18%),
    radial-gradient(circle at 28% 28%, rgba(109, 45, 25, 0.6), transparent 20%),
    radial-gradient(circle at 52% 18%, rgba(22, 11, 7, 0.9), transparent 22%),
    radial-gradient(circle at 76% 30%, rgba(114, 43, 23, 0.58), transparent 18%),
    linear-gradient(to top, rgba(12, 8, 6, 0.94), rgba(77, 34, 20, 0.46), transparent);
  mix-blend-mode: multiply;
}

.burned-edge-artifact::before {
  inset: -8% -4% auto auto;
  width: 32%;
  height: 26%;
  background:
    radial-gradient(circle at 70% 20%, rgba(22, 11, 7, 0.72), transparent 34%),
    radial-gradient(circle at 40% 50%, rgba(126, 55, 26, 0.36), transparent 34%);
  mix-blend-mode: multiply;
}

.article-meta {
  margin-bottom: 1.2rem;
  color: #6d5945;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-photo {
  width: min(760px, 100%);
  margin: 0 auto 1.35rem;
  text-align: center;
}

.article-photo[hidden] {
  display: none;
}

.article-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.55rem solid rgba(246, 237, 213, 0.72);
  box-shadow: 0 0.8rem 1.4rem rgba(45, 28, 16, 0.28);
  filter: sepia(0.18) contrast(0.96);
}

.article-photo figcaption {
  margin-top: 0.55rem;
  color: #6d5945;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Seam Records */
.seam-records-panel {
  background: none;
  border: none;
  box-shadow: none;
}

.seam-records-panel h1 {
  margin-bottom: 1rem;
}

.restricted-gif {
  display: block;
  margin: 0 auto 1rem;
  max-width: 600px;
  width: 100%;
}

.seam-records-intro {
  max-width: 680px;
  color: var(--muted);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.seam-records-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}

.seam-record-entry {
  background: none;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.seam-record-entry:hover,
.seam-record-entry:focus-visible {
  border-color: var(--brass);
  box-shadow: 0 0.5rem 2rem var(--shadow);
  outline: none;
}

.seam-record-entry img {
  display: block;
  width: 100%;
  height: auto;
}

.seam-record-label {
  display: block;
  padding: 0.6rem 0.8rem;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

.seam-folders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.seam-year-block {
  margin-bottom: 0;
}

.seam-folder-btn {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition: transform 200ms ease, filter 200ms ease;
}

.seam-folder-btn:hover,
.seam-folder-btn:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.1);
  outline: none;
}

.seam-folder-btn img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.seam-folder-hint {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(10, 8, 7, 0.75);
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
  animation: gate-hint-pulse 2s ease-in-out infinite;
}

.seam-folder-btn[aria-expanded="true"] .seam-folder-hint {
  display: none;
}

.seam-folder-contents {
  margin-top: 1.5rem;
  animation: folder-open 300ms ease;
}

.seam-folder-contents[hidden] {
  display: none;
}

@keyframes folder-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.seam-folder-btn--locked {
  cursor: default;
  opacity: 0.5;
}

.seam-folder-btn--locked:hover {
  transform: none;
  filter: none;
}

.seam-folder-placeholder {
  width: min(360px, 100%);
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.seam-folder-placeholder-year {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.6rem;
  color: var(--muted);
  opacity: 0.5;
}

.seam-folder-placeholder-label {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.4;
}

.seam-year-pending {
  color: var(--muted);
  font-style: italic;
}

.seam-records-footer-note {
  margin-top: clamp(2rem, 5vw, 3rem);
  max-width: 620px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.article-body {
  column-count: 2;
  column-gap: clamp(1.4rem, 4vw, 2.8rem);
  max-width: 980px;
}

.article-body p {
  break-inside: avoid;
  margin-bottom: 1rem;
  color: #302217;
  font-size: 1.04rem;
  line-height: 1.62;
}

.article-body p:first-child::first-letter {
  float: left;
  padding: 0.08rem 0.35rem 0 0;
  color: #7b2e24;
  font-size: 4.4rem;
  line-height: 0.82;
}

.about-panel {
  max-width: 880px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.about-signature {
  display: block;
  max-width: 300px;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  margin-left: auto;
}

.about-banner {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 4px;
}

.site-footer {
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@keyframes slow-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translateY(-1.2rem);
  }
}

@keyframes mist-drift {
  from {
    transform: translate3d(-2vw, 0, 0);
  }
  to {
    transform: translate3d(2vw, -1.2vh, 0);
  }
}

/* ─── Archive: Press & Articles (warm newsprint) ─────────── */

body.archive-press-page {
  background: #0a0804;
}

body.archive-press-page::before {
  background:
    radial-gradient(circle at 18% 8%,  rgba(90, 60, 18, 0.45), transparent 30rem),
    radial-gradient(circle at 82% 25%, rgba(65, 42, 12, 0.35), transparent 26rem),
    radial-gradient(circle at 45% 75%, rgba(70, 48, 14, 0.3),  transparent 28rem),
    #0a0804;
}

body.archive-press-page::after {
  background-image:
    repeating-linear-gradient(90deg, rgba(200, 159, 88, 0.025) 0px, rgba(200, 159, 88, 0.025) 1px, transparent 1px, transparent 110px),
    repeating-linear-gradient(0deg,  rgba(200, 159, 88, 0.015) 0px, rgba(200, 159, 88, 0.015) 1px, transparent 1px, transparent 110px);
  opacity: 1;
  animation: none;
}

body.archive-press-page .site-header {
  background: rgba(10, 8, 4, 0.9);
  border-bottom-color: rgba(200, 159, 88, 0.2);
}

body.archive-press-page .archive-record button:hover,
body.archive-press-page .archive-record button:focus-visible,
body.archive-press-page .archive-record button.active {
  background: rgba(160, 110, 30, 0.4);
}

/* ─── Archive: Posters & Notices (weathered kraft) ─────────── */

body.archive-posters-page {
  background: #0c0906;
}

body.archive-posters-page::before {
  background:
    radial-gradient(circle at 22% 12%, rgba(100, 60, 18, 0.5),  transparent 32rem),
    radial-gradient(circle at 78% 55%, rgba(80,  48, 14, 0.4),  transparent 28rem),
    radial-gradient(circle at 50% 85%, rgba(90,  55, 16, 0.35), transparent 24rem),
    #0c0906;
}

body.archive-posters-page::after {
  background-image:
    radial-gradient(circle, rgba(220, 190, 140, 0.85) 1px, transparent 1px),
    radial-gradient(circle, rgba(180, 140, 88,  0.65) 1px, transparent 1px),
    radial-gradient(circle, rgba(210, 175, 125, 0.5)  1px, transparent 1px);
}

body.archive-posters-page .site-header {
  background: rgba(12, 9, 6, 0.9);
  border-bottom-color: rgba(180, 130, 60, 0.2);
}

body.archive-posters-page .site-nav a {
  color: #c4924a;
}

body.archive-posters-page .site-nav a:hover,
body.archive-posters-page .site-nav a.active {
  color: #e0b870;
  text-shadow: 0 0 10px rgba(200, 148, 60, 0.8), 0 0 26px rgba(200, 148, 60, 0.45);
}

body.archive-posters-page .file-label {
  color: #a07840;
  border-color: rgba(180, 130, 60, 0.3);
}

body.archive-posters-page .record-code {
  color: #c4924a;
}

body.archive-posters-page .button.secondary {
  border-color: rgba(180, 130, 60, 0.35);
  color: #c4924a;
}

body.archive-posters-page .button.secondary:hover,
body.archive-posters-page .button.secondary:focus-visible {
  background: rgba(180, 130, 60, 0.12);
  border-color: rgba(180, 130, 60, 0.7);
  color: #e0b870;
}

body.archive-posters-page .archive-record button:hover,
body.archive-posters-page .archive-record button:focus-visible,
body.archive-posters-page .archive-record button.active {
  background: rgba(160, 100, 25, 0.45);
}

/* ─── Archive: Medical Records (cold clinical) ──────────────── */

body.archive-medical-page {
  background: #050d14;
}

body.archive-medical-page::before {
  background:
    radial-gradient(circle at 18% 8%,  rgba(8, 35, 60,  0.6), transparent 30rem),
    radial-gradient(circle at 82% 28%, rgba(5, 25, 50,  0.5), transparent 28rem),
    radial-gradient(circle at 45% 80%, rgba(6, 30, 55,  0.4), transparent 26rem),
    #050d14;
}

body.archive-medical-page::after {
  background-image:
    radial-gradient(circle, rgba(180, 220, 245, 0.9) 1px, transparent 1px),
    radial-gradient(circle, rgba(120, 180, 215, 0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(160, 210, 235, 0.5) 1px, transparent 1px);
}

body.archive-medical-page .site-header {
  background: rgba(5, 13, 20, 0.92);
  border-bottom-color: rgba(100, 170, 210, 0.15);
}

body.archive-medical-page .site-nav a {
  color: #7aaec8;
}

body.archive-medical-page .site-nav a:hover,
body.archive-medical-page .site-nav a.active {
  color: #b0d8f0;
  text-shadow: 0 0 10px rgba(100, 170, 220, 0.8), 0 0 26px rgba(100, 170, 220, 0.45);
}

body.archive-medical-page .file-label {
  color: #5a9ab8;
  border-color: rgba(100, 170, 210, 0.3);
}

body.archive-medical-page .record-code {
  color: #7aaec8;
}

body.archive-medical-page .button.secondary {
  border-color: rgba(100, 170, 210, 0.35);
  color: #7aaec8;
}

body.archive-medical-page .button.secondary:hover,
body.archive-medical-page .button.secondary:focus-visible {
  background: rgba(100, 170, 210, 0.1);
  border-color: rgba(100, 170, 210, 0.7);
  color: #b0d8f0;
}

body.archive-medical-page .archive-record button:hover,
body.archive-medical-page .archive-record button:focus-visible,
body.archive-medical-page .archive-record button.active {
  background: rgba(60, 130, 180, 0.35);
}

/* ─── Portrait Placeholder Frame ─────────────────────────── */

.portrait-frame-wrapper {
  width: 100%;
}

.portrait-frame-wrapper [data-feed-avatar] {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 1.2rem 2.4rem var(--shadow);
}

.portrait-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  box-shadow: 0 1.2rem 2.4rem var(--shadow);
  overflow: hidden;
}

.portrait-placeholder::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid currentColor;
  opacity: 0.12;
  pointer-events: none;
}

.portrait-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.portrait-placeholder-label {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* ─── Performer Theme: Thomas (Stormy Navy / Silver) ─────── */

body[data-theme="thomas"] {
  background: #060c18;
}

body[data-theme="thomas"]::before {
  background:
    radial-gradient(circle at 18% 8%,  rgba(10, 25, 65, 0.6), transparent 30rem),
    radial-gradient(circle at 82% 22%, rgba(8, 18, 55, 0.5),  transparent 28rem),
    radial-gradient(circle at 45% 80%, rgba(5, 15, 48, 0.4),  transparent 32rem),
    #060c18;
}

body[data-theme="thomas"]::after {
  background-image:
    radial-gradient(circle, rgba(200, 220, 240, 0.9) 1px, transparent 1px),
    radial-gradient(circle, rgba(158, 181, 196, 0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(200, 220, 240, 0.5) 1px, transparent 1px);
}

body[data-theme="thomas"] .site-header {
  background: rgba(6, 12, 24, 0.88);
  border-bottom-color: rgba(158, 181, 196, 0.12);
}

body[data-theme="thomas"] .site-nav a {
  color: #9eb5c4;
}

body[data-theme="thomas"] .site-nav a:hover,
body[data-theme="thomas"] .site-nav a.active {
  color: #ccdde8;
  text-shadow:
    0 0 10px rgba(158, 181, 196, 0.8),
    0 0 26px rgba(158, 181, 196, 0.45);
}

body[data-theme="thomas"] .file-label {
  color: #7a9bae;
  border-color: rgba(158, 181, 196, 0.3);
}

body[data-theme="thomas"] .feed-tagline {
  color: #9eb5c4;
}

body[data-theme="thomas"] .performer-profile h1 {
  text-shadow: 0 0 60px rgba(158, 181, 196, 0.18);
}

body[data-theme="thomas"] .button.secondary {
  border-color: rgba(158, 181, 196, 0.35);
  color: #9eb5c4;
}

body[data-theme="thomas"] .button.secondary:hover,
body[data-theme="thomas"] .button.secondary:focus-visible {
  background: rgba(158, 181, 196, 0.1);
  border-color: rgba(158, 181, 196, 0.72);
  color: #ccdde8;
  box-shadow: 0 0 14px rgba(158, 181, 196, 0.22);
}

body[data-theme="thomas"] .portrait-placeholder {
  border-color: rgba(158, 181, 196, 0.22);
  color: #9eb5c4;
}

body[data-theme="thomas"] .portrait-placeholder-label {
  color: #7a9bae;
}

body[data-theme="thomas"] .performer-profile p:not(.file-label) {
  color: #8aa5b5;
}

body[data-theme="thomas"] .feed-stats dt {
  color: #7a9bae;
}

body[data-theme="thomas"] .feed-stats dd {
  color: #ccdde8;
}

body[data-theme="thomas"] .feed-audio {
  border-color: rgba(158, 181, 196, 0.2);
  background: rgba(6, 18, 38, 0.5);
}

body[data-theme="thomas"] .feed-audio audio {
  accent-color: #9eb5c4;
}

body[data-theme="thomas"] .performer-file-section {
  border-top-color: rgba(158, 181, 196, 0.15);
}

body[data-theme="thomas"] .section-heading .file-label,
body[data-theme="thomas"] .section-heading h2 {
  color: var(--ink);
}

body[data-theme="thomas"] .vip-bracelet {
  background: rgba(6, 12, 24, 0.82);
  border-color: rgba(158, 181, 196, 0.28);
}

body[data-theme="thomas"] .vip-bracelet-stamp {
  background: #9eb5c4;
  color: #060c18;
}

body[data-theme="thomas"] .vip-bracelet-name {
  color: #ccdde8;
}

@media (prefers-reduced-motion: reduce) {
  .canvas-night,
  body.lot-page::after {
    animation: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .card-grid,
  .press-feature,
  .gallery-grid,
  .split-section,
  .archive-record {
    grid-template-columns: 1fr;
  }

  .archive-record a {
    width: max-content;
  }

  .archive-record button {
    width: max-content;
  }

  .article-body {
    column-count: 1;
  }

  .performer-profile-grid,
  .vip-hero-grid,
  .vip-bracelet-link {
    grid-template-columns: 1fr;
  }

  .performer-portrait-frame {
    width: min(12rem, 72vw);
  }

  .feed-stats {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performer-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 82vh;
  }

  .portrait,
  .scene {
    min-height: 170px;
  }

  .performer-photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}
