:root {
  --bg: #080705;
  --gold: #d4af37;
  --gold-soft: #f0e0b8;
  --ink: #f4efe4;
  --muted: #c4b8a8;
  --dim: #8a7b66;
  --line: rgba(212, 175, 55, 0.18);
  --panel: rgba(16, 12, 9, 0.78);
  --panel-2: rgba(28, 22, 16, 0.9);
  --parchment: #f3e6c8;
  --parchment-ink: #2a241c;
  --serif: "Playfair Display", "Cinzel", Georgia, serif;
  --quote: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.site {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ---------- cinematic atmosphere ---------- */
.cinematic-bg {
  background-color: #2c1c12;
  background-image:
    radial-gradient(ellipse 85% 60% at 50% -10%, rgba(232, 196, 88, 0.32), transparent 58%),
    radial-gradient(ellipse 65% 50% at 100% 100%, rgba(90, 50, 22, 0.42), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(72, 42, 24, 0.3), transparent 60%);
}
.cover {
  --bg: #2c1c12;
  --panel: rgba(28, 18, 12, 0.7);
  --panel-2: rgba(36, 24, 16, 0.88);
  --line: rgba(212, 175, 55, 0.28);
  background-color: #2c1c12;
  isolation: isolate;
}
.cover::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(58, 38, 22, 0.2) 0%, rgba(42, 28, 16, 0.28) 48%, rgba(32, 20, 12, 0.42) 100%),
    url("../assets/site/hall-bg.jpg") center top / cover no-repeat;
  filter: brightness(1.55) saturate(1.18) contrast(1.04);
}

.vignette, .grain, .glow-drift, .shafts, .motes {
  pointer-events: none;
  position: fixed;
  inset: 0;
}
.vignette {
  z-index: 30;
  background: radial-gradient(ellipse at 50% 36%, transparent 52%, rgba(16, 10, 6, 0.38) 100%);
}
.grain {
  z-index: 31;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(4) infinite;
}
.glow-drift {
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 18% 0%, rgba(232,196,88,.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 82%, rgba(80,40,16,.32), transparent 55%);
  animation: drift 22s ease-in-out infinite alternate;
}
.shafts {
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 42%, rgba(255,214,140,.12) 50%, transparent 58%),
    linear-gradient(102deg, transparent 48%, rgba(255,200,110,.09) 54%, transparent 62%);
  mix-blend-mode: screen;
  animation: shaftPulse 9s ease-in-out infinite;
}
.motes span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(255, 228, 170, .55);
  box-shadow: 0 0 6px rgba(255, 210, 120, .45);
  animation: mote 18s linear infinite;
  opacity: 0;
}
.motes span:nth-child(1) { left: 12%; animation-delay: 0s; animation-duration: 16s; }
.motes span:nth-child(2) { left: 28%; animation-delay: 3s; animation-duration: 22s; }
.motes span:nth-child(3) { left: 47%; animation-delay: 6s; animation-duration: 19s; }
.motes span:nth-child(4) { left: 63%; animation-delay: 1.5s; animation-duration: 24s; }
.motes span:nth-child(5) { left: 78%; animation-delay: 8s; animation-duration: 17s; }
.motes span:nth-child(6) { left: 91%; animation-delay: 4s; animation-duration: 21s; }
.motes span:nth-child(7) { left: 8%; animation-delay: 11s; animation-duration: 20s; }
.motes span:nth-child(8) { left: 54%; animation-delay: 13s; animation-duration: 15s; }

.unveil {
  position: fixed; inset: 0; z-index: 80;
  background: #050403;
  pointer-events: none;
  animation: unveil 0.85s ease forwards;
}

@keyframes grain {
  0% { transform: translate(0,0); }
  25% { transform: translate(-1%,1%); }
  50% { transform: translate(1%,-1%); }
  100% { transform: translate(0,1%); }
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(-3%, 2%) scale(1.05); }
}
@keyframes shaftPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes mote {
  0% { transform: translateY(110vh) scale(.6); opacity: 0; }
  8% { opacity: .7; }
  90% { opacity: .35; }
  100% { transform: translateY(-12vh) translateX(18px) scale(1); opacity: 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes unveil {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes inkReveal {
  from { opacity: 0; filter: blur(5px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes breathGlow {
  0%, 100% { box-shadow: 0 0 28px -8px rgba(212,175,55,.28); }
  50% { box-shadow: 0 0 48px -4px rgba(212,175,55,.55); }
}
@keyframes flameGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.18); }
}
.rise { animation: rise .95s cubic-bezier(.16,1,.3,1) both; }
.rise-2 { animation-delay: .14s; }
.rise-3 { animation-delay: .28s; }
.rise-4 { animation-delay: .42s; }

.shimmer {
  background: linear-gradient(100deg, #f0e0b8 0%, #f0e0b8 38%, #d4af37 48%, #fff6d4 50%, #d4af37 52%, #f0e0b8 62%, #f0e0b8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 7s linear infinite;
}

.flourish {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold); opacity: .7; margin: 14px 0 6px;
}
.flourish svg { width: 220px; height: 18px; fill: currentColor; }
.parchment .flourish { color: #8a6a22; opacity: .5; }
.corners { position: relative; }
.corners::before, .corners::after,
.corners > .c-br, .corners > .c-bl {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid rgba(212,175,55,.38);
  pointer-events: none;
}
.corners::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.corners::after { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corners .c-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.corners .c-br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0e0d0b; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b3834, #2a2620);
  border-radius: 6px;
  border: 2px solid #0e0d0b;
}
* { scrollbar-width: thin; scrollbar-color: #3b3834 #0e0d0b; }
:focus-visible {
  outline: 2px solid rgba(212,175,55,.7);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px;
  background: linear-gradient(180deg, rgba(28, 18, 12, .9), rgba(28, 18, 12, .16));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.site-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); letter-spacing: .32em; font-size: 12px;
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(212,175,55,.28);
}
.site-brand .crest {
  width: 22px; height: 22px; color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(212,175,55,.4));
}
.site-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.site-links a {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); padding: 9px 16px;
  border: 1px solid transparent;
  transition: .25s ease;
}
.site-links a:hover, .site-links a.active {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(20,16,12,.7);
  box-shadow: 0 0 20px rgba(212,175,55,.08);
}
#admin-reviews-link {
  color: var(--gold-soft);
}
.auth-slot:empty { display: none; }
.auth-cluster {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.auth-signed-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
}
.auth-name {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--gold-soft);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-btn {
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(20,16,12,.7);
  cursor: pointer;
  transition: .25s ease;
}
.auth-btn:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,.08);
}

/* ---------- cover hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr minmax(280px, 360px);
  gap: 36px;
  align-items: center;
  padding: 28px 48px 18px;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 220px);
}
.hero-statue {
  position: relative;
  isolation: isolate;
}
.hero-statue::before {
  content: "";
  position: absolute;
  inset: 6% -14% 10%;
  background: radial-gradient(ellipse at 50% 38%, rgba(255,214,130,.38), transparent 68%);
  filter: blur(22px);
  z-index: 0;
  animation: breathGlow 5s ease-in-out infinite;
}
.hero-statue .figure {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 36px 50px rgba(0,0,0,.78));
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.hero-statue .reflection {
  position: relative;
  z-index: 0;
  width: 88%;
  margin: -6% auto 0;
  transform: scaleY(-1);
  opacity: .22;
  filter: blur(3px) brightness(.7);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 62%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 62%);
  pointer-events: none;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: .9;
  letter-spacing: .06em;
}
.hero-kicker {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero-lead {
  margin-top: 18px; max-width: 540px;
  color: var(--muted); line-height: 1.75; font-size: 17px;
  font-family: var(--quote);
}
.hero-progress {
  margin-top: 14px; max-width: 540px;
  color: var(--gold-soft); font-size: 13px; letter-spacing: .04em;
  line-height: 1.55;
}
.hero-pills {
  display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap;
  color: var(--gold-soft); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.hero-pills span {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-pills svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(212,175,55,.55);
  padding: 13px 20px; letter-spacing: .16em; text-transform: uppercase; font-size: 11px;
  color: var(--gold-soft);
  transition: .25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  background: rgba(12,9,6,.35);
}
.btn.solid { background: linear-gradient(180deg, #e0c56a, var(--gold)); color: #1a1408; border-color: var(--gold); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(212,175,55,.28); background: rgba(212,175,55,.12); }
.btn.solid:hover { background: #f0d78a; }

.verse-card, .side-card {
  background: linear-gradient(165deg, rgba(22,16,11,.9), rgba(10,8,6,.8));
  border: 1px solid var(--line);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.verse-card { animation: breathGlow 6s ease-in-out infinite; }
.verse-card h3, .side-card h3 {
  font-size: 11px; letter-spacing: .22em; color: var(--gold); margin-bottom: 14px; text-transform: uppercase;
}
.verse-card blockquote {
  font-family: var(--quote); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink);
}
.verse-card cite { display: block; margin-top: 14px; color: var(--gold); font-size: 11px; letter-spacing: .14em; font-style: normal; }
.themes { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 13px; }
.themes li { padding-left: 14px; border-left: 1px solid var(--gold); }

/* ---------- collection ---------- */
.section {
  max-width: 1360px; margin: 0 auto; padding: 8px 48px 56px;
  position: relative; z-index: 1;
}
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.artifact-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.artifact-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
  display: flex; flex-direction: column;
  color: inherit;
  transition: .35s cubic-bezier(.16,1,.3,1);
  backdrop-filter: blur(10px);
  position: relative;
}
.artifact-tile .frame {
  position: absolute; inset: 6px; border: 1px solid rgba(212,175,55,.12);
  pointer-events: none; z-index: 2; opacity: 0;
  transition: .3s ease;
}
.artifact-tile img {
  height: 168px; width: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s ease;
  filter: saturate(.92) brightness(.92);
}
.artifact-tile .pad { padding: 14px 14px 16px; position: relative; z-index: 1; }
.artifact-tile small { color: var(--gold); letter-spacing: .1em; font-size: 10px; }
.artifact-tile h3 { font-family: var(--serif); font-size: 15px; margin: 8px 0 8px; color: var(--gold-soft); line-height: 1.25; }
.artifact-tile p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.artifact-tile:hover {
  border-color: rgba(212,175,55,.55);
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0,0,0,.5), 0 0 28px rgba(212,175,55,.14);
}
.artifact-tile:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1.05); }
.artifact-tile:hover .frame { opacity: 1; }

.feature {
  display: grid; grid-template-columns: 180px 1fr 1.15fr;
  gap: 28px; margin-top: 36px;
  background: linear-gradient(165deg, rgba(18,13,9,.9), rgba(10,8,6,.84));
  border: 1px solid var(--line); padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.feature nav a, .feature nav button {
  background: none;
  border: none;
  font: inherit;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: .2s ease;
}
.feature nav a.active, .feature nav a:hover,
.feature nav button.active, .feature nav button:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}
.feature-copy h2 { font-family: var(--serif); font-size: 36px; color: var(--gold-soft); margin: 8px 0 10px; }
.feature-copy .ref { color: var(--gold); letter-spacing: .16em; font-size: 12px; margin-bottom: 14px; }
.feature-copy p { color: var(--muted); line-height: 1.7; font-family: var(--quote); font-size: 17px; }
.facts { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; color: var(--ink); }
.facts div { padding-left: 10px; border-left: 1px solid var(--line); }
.feature-art { position: relative; overflow: hidden; border: 1px solid var(--line); }
.feature-art img { width: 100%; height: 340px; object-fit: cover; filter: saturate(.95); }
.pullquote {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(8,6,4,.86); border: 1px solid var(--line); padding: 14px;
  font-family: var(--quote); font-style: italic; font-size: 15px; line-height: 1.45;
  backdrop-filter: blur(8px);
}

.instrument-row,
.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.instrument-row article,
.act-card,
.offer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0 0 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card-art {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: saturate(.92);
  border-bottom: 1px solid var(--line);
}
.offer-card .card-art {
  height: 220px;
  object-position: center 45%;
}
.card-copy {
  padding: 18px 22px 0;
}
.offer-card .card-copy {
  padding: 24px 32px 0;
}
.instrument-row h3,
.act-card small,
.offer-card small {
  font-size: 11px; letter-spacing: .18em; color: var(--gold);
  text-transform: uppercase; display: block; margin-bottom: 10px;
}
.instrument-row p,
.act-card p,
.offer-card p {
  color: var(--muted); font-size: 15px; line-height: 1.65;
  font-family: var(--quote);
}
.act-card h3,
.offer-card h2 {
  font-family: var(--serif); color: var(--gold-soft);
  font-size: 28px; line-height: 1.15; margin: 0 0 12px;
}
.offer-card { margin-top: 36px; padding: 0 0 28px; }
.offer-card .hero-actions { margin-top: 18px; }
.offer-card p + p { margin-top: 12px; }
.act-card .btn { margin-top: 18px; }
.act-tools {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-soft);
}
.act-tools a { border-bottom: 1px solid transparent; }
.act-tools a:hover { border-bottom-color: var(--gold); }

.trio {
  display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; margin-top: 22px;
}
.trio article {
  background: var(--panel); border: 1px solid var(--line); padding: 20px;
  transition: .3s ease;
  overflow: hidden;
}
.trio article:hover { border-color: rgba(212,175,55,.4); transform: translateY(-4px); }
.trio h3 { font-size: 11px; letter-spacing: .18em; color: var(--gold); margin-bottom: 12px; text-transform: uppercase; }
.trio p { color: var(--muted); font-size: 15px; line-height: 1.6; font-family: var(--quote); }
.trio img { height: 140px; object-fit: cover; width: 100%; margin-bottom: 14px; filter: saturate(.9); }

.site-footer {
  text-align: center; padding: 44px 20px 56px; color: var(--muted);
  font-family: var(--quote); font-style: italic; font-size: 18px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.site-footer span { display: block; margin-top: 10px; font-style: normal; letter-spacing: .16em; font-size: 11px; color: var(--gold); font-family: var(--sans); }

.witnesses {
  max-width: 1360px;
  margin: 0 auto 8px;
  padding: 8px 48px 48px;
  position: relative;
  z-index: 1;
}
.witnesses .section-head {
  margin-bottom: 28px;
}
.witness-head-lead,
.witness-form-lead {
  margin: 8px 0 0;
  font-family: var(--quote);
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
}
.witness-marquee {
  overflow: hidden;
  margin-bottom: 28px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.witness-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: witness-roll 48s linear infinite;
}
@keyframes witness-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.witness-card {
  flex: 0 0 340px;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.92), rgba(12, 10, 8, 0.88));
  border: 1px solid var(--line);
  padding: 20px 22px 18px;
  box-shadow: var(--shadow);
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.witness-card-stars {
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 8px;
}
.witness-card blockquote {
  font-family: var(--quote);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.witness-card blockquote::before {
  content: "“";
  color: var(--gold);
  font-size: 1.15em;
  margin-right: 4px;
}
.witness-card cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.witness-card cite strong {
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}
.witness-card cite span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.witness-empty {
  font-family: var(--quote);
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}
.witness-form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow);
}
.witness-form-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--gold-soft);
}
.witness-form-card p {
  color: var(--muted);
  font-family: var(--quote);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.witness-stars-field {
  margin-bottom: 14px;
}
.witness-stars-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.witness-stars-input {
  display: flex;
  gap: 2px;
}
.witness-star-btn {
  background: none;
  border: none;
  color: rgba(212, 175, 55, 0.28);
  font-size: 24px;
  line-height: 1;
  padding: 2px 5px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.witness-star-btn.is-on {
  color: var(--gold);
}
.witness-star-btn:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}
.witness-own-review {
  margin-bottom: 18px;
}
.witness-own-status {
  color: var(--muted);
  font-family: var(--quote);
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 14px;
}
#witness-edit-status[data-kind="error"] { color: #e8b4a0; }
#witness-edit-status[data-kind="ok"] { color: var(--gold-soft); }
.witness-queue-stars {
  letter-spacing: 0.1em;
  color: var(--gold);
  font-size: 12px;
  margin: 0 0 6px;
}
.witness-queue-edit textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  background: rgba(8, 7, 5, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-family: var(--quote);
  font-size: 16px;
  line-height: 1.45;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.witness-form-card textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  background: rgba(8, 7, 5, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-family: var(--quote);
  font-size: 18px;
  line-height: 1.45;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.witness-form-card textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
.witness-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
#witness-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
#witness-status[data-kind="error"] { color: #e8b4a0; }
#witness-status[data-kind="ok"] { color: var(--gold-soft); }
.witness-queue {
  margin: 0 0 28px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(16, 12, 9, 0.86);
  padding: 22px 24px;
}
.witness-marquee[hidden],
.witness-queue[hidden],
#admin-reviews-link[hidden] {
  display: none !important;
}
.witness-queue h3 {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}
.witness-queue-item {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.witness-queue-item blockquote {
  font-family: var(--quote);
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 8px;
}
.witness-queue-meta {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.witness-queue-actions {
  display: flex;
  gap: 10px;
}
.witness-queue-empty { color: var(--muted); font-family: var(--quote); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- study desk ---------- */
.study-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 310px;
  gap: 18px;
  padding: 18px 26px 48px;
  max-width: 1460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.desk-col {
  background: linear-gradient(180deg, rgba(18,14,10,.92), rgba(12,10,8,.88));
  border: 1px solid var(--line);
  min-height: calc(100vh - 110px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.desk-col h2 {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  padding: 18px 16px 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.lamp {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ffd978;
  box-shadow: 0 0 12px #ffd978, 0 0 28px rgba(255,180,60,.55);
  animation: flameGlow 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.chapter-list { list-style: none; padding: 10px; }
.chapter-list button {
  width: 100%; text-align: left; background: none; border: 1px solid transparent;
  color: var(--muted); padding: 12px 12px 12px 16px; cursor: pointer;
  transition: .2s ease;
  position: relative;
}
.chapter-list button::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(#d4af37, #8a6a22);
  opacity: .35;
}
.chapter-list button[data-id="chest"]::before { background: linear-gradient(#cfd6de, #8a96a4); }
.chapter-list button[data-id="thighs"]::before { background: linear-gradient(#c08a4a, #7a4e24); }
.chapter-list button[data-id="legs"]::before { background: linear-gradient(#9aa3ad, #4a5058); }
.chapter-list button[data-id="feet"]::before { background: linear-gradient(#9aa3ad, #8a5a38); }
.chapter-list button[data-id="stone"]::before { background: linear-gradient(#d8d0c4, #6e675c); }
.chapter-list button[data-id="bear"]::before { background: linear-gradient(#b06a3a, #4a2814); }
.chapter-list button[data-id="lion"]::before { background: linear-gradient(#d4af37, #8a5a18); }
.chapter-list button[data-id="leopard"]::before { background: linear-gradient(#c08a4a, #5a3a14); }
.chapter-list button[data-id="beast"]::before { background: linear-gradient(#4a3a48, #1a1018); }
.chapter-list button.active, .chapter-list button:hover {
  border-color: var(--line); color: var(--gold-soft); background: var(--panel-2);
}
.chapter-list button.active::before { opacity: 1; box-shadow: 0 0 10px rgba(212,175,55,.45); }
.chapter-list small { display: block; color: var(--dim); font-size: 11px; margin-top: 4px; }

.parchment {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.38), transparent 42%),
    radial-gradient(circle at 18% 12%, rgba(180,150,90,.1), transparent 40%),
    radial-gradient(circle at 86% 92%, rgba(160,120,60,.1), transparent 45%),
    var(--parchment);
  color: var(--parchment-ink);
  padding: 44px 48px 56px;
  min-height: calc(100vh - 110px);
  box-shadow: var(--shadow), inset 0 0 80px rgba(90,50,10,.08);
  overflow: hidden;
}
.parchment::before {
  content: "";
  position: absolute;
  top: -50px; left: 18%; right: 18%; height: 140px;
  background: radial-gradient(ellipse, rgba(255,220,140,.32), transparent 70%);
  pointer-events: none;
}
.parchment.swap .ink { animation: inkReveal .5s ease both; }
.parchment .crumb { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7a6a52; margin-bottom: 12px; }
.parchment h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); line-height: 1.12; margin-bottom: 12px; }
.parchment .meta { display: flex; gap: 16px; flex-wrap: wrap; color: #6d614e; font-size: 13px; margin-bottom: 18px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid #d8cbb0; margin-bottom: 26px; }
.tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0;
  letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: #7a6a52; cursor: pointer;
}
.tabs button.active { color: #2a241c; border-color: #2a241c; }
.big-idea {
  border: 1px solid #d8cbb0; padding: 26px; margin-bottom: 28px; background: rgba(250,244,230,.8);
  position: relative;
}
.big-idea::before, .big-idea::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid rgba(138,106,34,.35);
}
.big-idea::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.big-idea::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.big-idea h3 { font-size: 11px; letter-spacing: .2em; color: #8a6a22; margin-bottom: 10px; }
.big-idea p { font-family: var(--serif); font-size: 24px; line-height: 1.45; }
.parchment h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin: 26px 0 12px; color: #6d5a32; }
.parchment p, .parchment li { line-height: 1.8; font-size: 16px; font-family: var(--quote); }
#historical::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.2em;
  line-height: .82;
  padding: 6px 10px 0 0;
  color: #8a6a22;
}
.cta-row { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.cta-row .btn { color: #2a241c; border-color: #2a241c; box-shadow: none; background: transparent; }
.cta-row .btn.solid { background: #2a241c; color: var(--parchment); }
.cta-row .btn:hover { background: rgba(42,36,28,.08); }

.research .block { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.research h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.verse-row { margin-bottom: 12px; padding-left: 10px; border-left: 1px solid var(--line); }
.verse-row b { display: block; font-size: 12px; color: var(--gold-soft); letter-spacing: .06em; }
.verse-row span { color: var(--muted); font-family: var(--quote); font-style: italic; font-size: 15px; line-height: 1.45; }
.chip {
  display: inline-block; border: 1px solid var(--line); padding: 5px 9px; margin: 0 6px 6px 0;
  font-size: 11px; color: var(--muted); letter-spacing: .06em;
  background: rgba(20,16,12,.4);
}
.q { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  .grain, .glow-drift, .shafts, .motes span, .rise, .parchment, .parchment.swap .ink,
  .artifact-tile, .artifact-tile img, .unveil, .shimmer, .verse-card, .lamp, .hero-statue::before {
    animation: none !important;
    transition: none !important;
  }
  .unveil { display: none; }
  .shimmer { color: var(--gold-soft); -webkit-text-fill-color: var(--gold-soft); background: none; }
}
@media (max-width: 1100px) {
  .hero, .feature, .trio, .study-shell, .instrument-row, .act-grid { grid-template-columns: 1fr; }
  .witness-card { flex-basis: 280px; min-height: 156px; }
  .artifact-grid { grid-template-columns: repeat(3, 1fr); }
  .artifact-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 24px 18px; min-height: auto; }
  .section, .witnesses { padding: 12px 18px 36px; }
  .desk-col { min-height: auto; }
  .parchment { padding: 28px 22px 36px; }
  .site-nav { padding: 14px 16px; }
  .hero-statue .reflection { display: none; }
  .desk-col h2 { white-space: normal; }
}
@media (max-width: 700px) {
  .artifact-grid { grid-template-columns: 1fr 1fr; }
  .site-brand { letter-spacing: .18em; font-size: 11px; }
  .site-links a { padding: 8px 10px; letter-spacing: .12em; }
}

/* ---------- home dashboard ---------- */
body.dash {
  --dash-radius: 12px;
  --dash-radius-sm: 8px;
  --dash-surface: rgba(18, 14, 10, 0.72);
  --dash-surface-strong: rgba(22, 17, 12, 0.88);
  --dash-border: rgba(212, 175, 55, 0.14);
  --dash-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --dash-glow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 8px 24px rgba(0, 0, 0, 0.22);
  --dash-ease: cubic-bezier(.16, 1, .3, 1);
}
@keyframes dashFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes dashCascadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 48px, 0) scale(.97);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes dashIconUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes titleGlisten {
  0%, 18% { background-position: -90% 0; }
  82%, 100% { background-position: 190% 0; }
}
@keyframes verseHalo {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes verseSheen {
  0%, 58% { transform: translateX(-130%); opacity: 0; }
  68% { opacity: .45; }
  86% { transform: translateX(130%); opacity: .18; }
  100% { transform: translateX(150%); opacity: 0; }
}
@keyframes verseGlow {
  0%, 100% { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
  50% { text-shadow: 0 2px 24px rgba(212, 175, 55, 0.28), 0 0 36px rgba(255, 236, 190, 0.14); }
}
@keyframes dashFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dashHeroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes dashHeroGlow {
  0%, 100% { opacity: .88; }
  50% { opacity: 1; }
}
@keyframes dashFocusPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { box-shadow: 0 0 28px rgba(212, 175, 55, 0.14); }
}
@keyframes dashShimmer {
  0% { background-position: -120% center; }
  100% { background-position: 220% center; }
}
body.dash.dash-loaded .dash-hero,
body.dash.dash-loaded .witnesses {
  animation: dashFadeUp .75s var(--dash-ease) both;
}
body.dash.dash-loaded .witnesses { animation-delay: .3s; }
body.dash.dash-loaded .dash-side {
  animation: dashFadeUp .65s var(--dash-ease) .06s both;
}
body.dash.dash-loaded .dash-hero-reel img.is-active {
  animation: dashHeroZoom 1.35s ease-out both;
}
body.dash.dash-loaded .dash-hero-shade {
  animation: dashHeroGlow 6s ease-in-out infinite;
}
body.dash.dash-loaded .dash-hero-copy small,
body.dash.dash-loaded .dash-hero-copy h1,
body.dash.dash-loaded .dash-hero-hook,
body.dash.dash-loaded .dash-empire-ticker,
body.dash.dash-loaded .dash-hero-cta,
body.dash.dash-loaded .dash-hero-reel-caption,
body.dash.dash-loaded .dash-hero-verse {
  animation: dashFadeUp .7s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-hero-copy small { animation-delay: .22s; }
body.dash.dash-loaded .dash-hero-copy h1 { animation-delay: .34s; }
body.dash.dash-loaded .dash-hero-hook { animation-delay: .5s; }
body.dash.dash-loaded .dash-empire-ticker { animation-delay: .58s; }
body.dash.dash-loaded .dash-hero-cta { animation-delay: .66s; }
body.dash.dash-loaded .dash-hero-reel-caption { animation-delay: .54s; }
body.dash.dash-loaded .dash-hero-verse { animation-delay: .48s; }
body.dash:not(.dash-loaded) .dash-side > a,
body.dash:not(.dash-loaded) .dash-card,
body.dash:not(.dash-loaded) .dash-tile,
body.dash:not(.dash-loaded) .dash-panel,
body.dash:not(.dash-loaded) .dash-verse-glass {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
}
body.dash.dash-loaded .dash-side > a {
  animation: dashCascadeUp .85s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-side > a:nth-child(1) { animation-delay: .12s; }
body.dash.dash-loaded .dash-side > a:nth-child(2) { animation-delay: .22s; }
body.dash.dash-loaded .dash-side > a:nth-child(3) { animation-delay: .32s; }
body.dash.dash-loaded .dash-side > a:nth-child(4) { animation-delay: .42s; }
body.dash.dash-loaded .dash-side > a:nth-child(5) { animation-delay: .52s; }
body.dash.dash-loaded .dash-side > a svg {
  animation: dashIconUp .7s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-side > a:nth-child(1) svg { animation-delay: .18s; }
body.dash.dash-loaded .dash-side > a:nth-child(2) svg { animation-delay: .28s; }
body.dash.dash-loaded .dash-side > a:nth-child(3) svg { animation-delay: .38s; }
body.dash.dash-loaded .dash-side > a:nth-child(4) svg { animation-delay: .48s; }
body.dash.dash-loaded .dash-side > a:nth-child(5) svg { animation-delay: .58s; }
body.dash.dash-loaded .dash-account {
  animation: dashCascadeUp .8s var(--dash-ease) .52s both;
}
body.dash.dash-loaded .dash-card {
  animation: dashCascadeUp .9s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-card:nth-child(1) { animation-delay: .28s; }
body.dash.dash-loaded .dash-card:nth-child(2) { animation-delay: .36s; }
body.dash.dash-loaded .dash-card:nth-child(3) { animation-delay: .44s; }
body.dash.dash-loaded .dash-card:nth-child(4) { animation-delay: .52s; }
body.dash.dash-loaded .dash-card:nth-child(5) { animation-delay: .6s; }
body.dash.dash-loaded .dash-card:nth-child(6) { animation-delay: .68s; }
body.dash.dash-loaded .dash-card:nth-child(7) { animation-delay: .76s; }
body.dash.dash-loaded .dash-tile {
  animation: dashCascadeUp .85s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-tile:nth-child(1) { animation-delay: .5s; }
body.dash.dash-loaded .dash-tile:nth-child(2) { animation-delay: .58s; }
body.dash.dash-loaded .dash-tile:nth-child(3) { animation-delay: .66s; }
body.dash.dash-loaded .dash-tile:nth-child(4) { animation-delay: .74s; }
body.dash.dash-loaded .dash-panel {
  animation: dashCascadeUp .85s var(--dash-ease) both;
}
body.dash.dash-loaded .dash-panel:nth-child(1) { animation-delay: .4s; }
body.dash.dash-loaded .dash-panel:nth-child(2) { animation-delay: .52s; }
body.dash.dash-loaded .dash-verse-glass {
  animation: dashCascadeUp .9s var(--dash-ease) .7s both;
}
body.dash .vignette,
body.dash .grain,
body.dash .glow-drift,
body.dash .shafts,
body.dash .unveil {
  display: none;
}
body.dash.cover::before {
  opacity: 0.42;
  filter: brightness(1.65) saturate(1.08);
}
body.dash .site-nav { display: none; }
.dash-shell {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 auto;
  padding: 16px 18px 0;
}
.dash-hero {
  position: relative;
  height: min(42vh, 400px);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
}
.dash-hero-reel {
  position: absolute;
  inset: 0;
  background: #0a0806;
}
.dash-hero-reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.35s ease, transform 5.5s ease;
  will-change: opacity, transform;
}
.dash-hero-reel img.is-active {
  opacity: 1;
  transform: scale(1.08);
}
.dash-hero-reel img.reel-babylon {
  object-position: 18% 42%;
}
.dash-hero-reel img.reel-colossus {
  object-fit: contain;
  object-position: center 8%;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.1), #0a0806 62%);
}
.dash-hero-reel img.reel-now {
  object-position: center 42%;
}
.dash-hero-reel img.reel-divided {
  object-position: center 52%;
}
.dash-hero-reel img.reel-now.is-active,
body.dash.dash-loaded .dash-hero-reel img.reel-now.is-active {
  animation: none;
  transform: scale(1);
}
.dash-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,4,.42) 0%, transparent 38%, transparent 70%, rgba(8,6,4,.32) 100%),
    linear-gradient(180deg, rgba(8,6,4,.06) 40%, rgba(8,6,4,.55) 100%);
  pointer-events: none;
}
.dash-hero-copy {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 2;
  max-width: 38rem;
}
.dash-hero-hook {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gold-soft);
  max-width: 28rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.dash-empire-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 12px 0 14px;
}
.dash-empire-ticker [data-era] {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(196, 184, 168, 0.72);
  cursor: pointer;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.dash-empire-ticker [data-era].is-active {
  color: var(--gold-soft);
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.14);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.16);
  animation: empirePulse 2.8s ease-in-out infinite;
}
.dash-empire-sep {
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  flex-shrink: 0;
}
@keyframes empirePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.1); }
  50% { box-shadow: 0 0 24px rgba(212, 175, 55, 0.24); }
}
.dash-hero-cta {
  position: relative;
  display: inline-flex;
  padding: 2.5px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  color: var(--gold-soft);
  background: #7a5c1c;
  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.4),
    0 0 22px rgba(212, 175, 55, 0.18);
  transition: transform .24s var(--dash-ease), box-shadow .24s ease;
  max-width: 100%;
}
.dash-hero-cta-spin {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 280%;
  aspect-ratio: 1;
  background: conic-gradient(
    from 0deg,
    #6b5016 0deg 180deg,
    #c9972a 230deg,
    #ffe7a0 290deg,
    #ffffff 328deg,
    #ffe7a0 348deg,
    #c9972a 356deg,
    #6b5016 360deg
  );
  animation: ctaSpin 2.2s linear infinite;
  pointer-events: none;
}
@keyframes ctaSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.dash-hero-cta-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 20px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 232, 170, 0.08), transparent 32%),
    linear-gradient(180deg, #1c140c, #100c08);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, 0.12);
}
.dash-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 14px rgba(212, 175, 55, 0.5),
    0 0 28px rgba(212, 175, 55, 0.24);
}
#hero-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
}
#hero-cta-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(244, 239, 228, 0.82);
  line-height: 1.35;
}
.dash-hero-reel-caption {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  max-width: 16rem;
  text-align: right;
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}
.dash-hero-copy small {
  display: block;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.5;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.dash-hero-copy h1 {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 10px;
  isolation: isolate;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  color: var(--gold-soft);
  font-weight: 600;
}
.dash-hero-copy h1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.dash-title-kicker,
.dash-title-main {
  position: relative;
  display: block;
  -webkit-text-fill-color: currentColor;
}
.dash-title-kicker {
  font-size: 0.58em;
  letter-spacing: .08em;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--gold);
}
.dash-title-main {
  color: var(--gold-soft);
}
.dash-title-kicker::after,
.dash-title-main::after {
  content: attr(data-glisten);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 248, 220, 0.25) 46%,
    #ffffff 50%,
    rgba(255, 232, 170, 0.45) 54%,
    transparent 62%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 55% 100%;
  background-position: -90% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleGlisten 8s linear infinite;
}
.dash-hero-verse {
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 1;
  max-width: 22rem;
  text-align: right;
  font-family: var(--quote);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.dash-hero-verse cite {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px 16px;
  background: var(--dash-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-glow);
}
.dash-side a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--muted);
  border-radius: var(--dash-radius-sm);
  border: 1px solid transparent;
  transition: background .22s var(--dash-ease), color .22s ease, border-color .22s ease, transform .22s var(--dash-ease);
}
.dash-side a svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
  opacity: .85;
  transition: transform .22s var(--dash-ease), opacity .22s ease;
}
.dash-side a:hover {
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.07);
  border-color: rgba(212, 175, 55, 0.12);
  transform: translateX(3px);
}
.dash-side a:hover svg {
  transform: scale(1.08);
  opacity: 1;
}
.dash-side a.active {
  color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.04));
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 228, 170, 0.08);
}
.dash-side a#admin-reviews-link {
  color: var(--gold-soft);
}
.dash-account {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--dash-border);
}
.dash-account.is-signed-in .dash-signin { display: none; }
.dash-account:not(.is-signed-in) .auth-slot { display: none; }
.dash-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--dash-radius-sm);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dash-signin svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.dash-signin:hover {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.dash-auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
}
.dash-auth-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #2a1f12;
  background: linear-gradient(145deg, #f0e0b8, #d4af37);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}
.dash-auth-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-auth-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-auth-out {
  align-self: flex-start;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dim) !important;
  box-shadow: none !important;
}
.dash-auth-out:hover {
  color: var(--gold-soft) !important;
}
.dash-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.dash-chapters {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
}
.dash-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--dash-border);
  background: #120e0a;
  border-radius: var(--dash-radius-sm);
  box-shadow: var(--dash-glow);
  transition: transform .28s var(--dash-ease), border-color .28s ease, box-shadow .28s ease;
}
.dash-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.1);
}
.dash-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform .45s var(--dash-ease), filter .45s ease;
}
.dash-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.12) brightness(1.04);
}
.dash-card-colossus-wrap { background: radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.08), #0a0806 58%); }
.dash-card-colossus {
  object-fit: contain;
  object-position: center top;
  padding: 4px 10px 62px;
  transform: scale(1.02);
}
.dash-card-colossus-wrap:hover .dash-card-colossus { transform: none; }
.dash-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(10,7,5,.92) 100%);
  pointer-events: none;
}
.dash-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  min-height: 68px;
  padding: 28px 12px 14px;
  transition: transform .28s var(--dash-ease);
}
.dash-card:hover .dash-card-copy { transform: translateY(-3px); }
.dash-card-copy small {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.dash-card-copy h3 {
  font-family: var(--serif);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.45;
  text-wrap: balance;
  hyphens: none;
  overflow: visible;
  white-space: normal;
  color: var(--gold-soft);
}
.dash-card.is-locked,
.dash-tile.is-locked {
  cursor: default;
  pointer-events: none;
}
.dash-card.is-locked:hover,
.dash-tile.is-locked:hover {
  transform: none;
  border-color: var(--dash-border);
  box-shadow: var(--dash-glow);
}
.dash-card.is-locked img,
.dash-tile.is-locked img {
  filter: brightness(0.38) saturate(0.55);
  transform: none;
}
.dash-card.is-locked .dash-card-copy small::after,
.dash-tile.is-locked span::after {
  content: " · Locked";
}
.dash-card.is-locked::before,
.dash-tile.is-locked::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  z-index: 3;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 22px 22px no-repeat,
    rgba(8, 6, 4, 0.62);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.dash-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.dash-aside .dash-panel:last-child {
  flex: 1 1 auto;
}
.dash-panel {
  background: var(--dash-surface-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius-sm);
  box-shadow: var(--dash-glow);
  padding: 18px 18px 20px;
}
.dash-panel h2 {
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.dash-facts {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.dash-facts dt { color: var(--gold-soft); }
.dash-why {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.dash-why li {
  padding-left: 18px;
  position: relative;
}
.dash-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.dash-why-art {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.dash-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  flex: 0 0 auto;
}
.dash-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius-sm);
  box-shadow: var(--dash-glow);
  display: flex;
  align-items: flex-end;
  transition: transform .28s var(--dash-ease), border-color .28s ease, box-shadow .28s ease;
}
.dash-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.26);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.dash-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--dash-ease), filter .55s ease;
}
.dash-tile:hover img {
  transform: scale(1.07);
  filter: brightness(1.06);
}
.dash-tile span,
.dash-tile strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 14px;
}
.dash-tile strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.28;
  text-wrap: balance;
  color: var(--gold-soft);
  padding-bottom: 18px;
}
.dash-tile span {
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 18px;
  margin-bottom: 6px;
}
.dash-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,6,4,.15), rgba(8,6,4,.82));
}
.dash-verse-glass {
  position: relative;
  flex: 1 1 auto;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 28px 32px;
  text-align: center;
  border-radius: var(--dash-radius);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 236, 190, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(22, 16, 11, 0.46), rgba(10, 8, 6, 0.58));
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow:
    var(--dash-glow),
    inset 0 1px 0 rgba(255, 236, 190, 0.16);
}
.dash-verse-glass::before {
  content: "";
  position: absolute;
  inset: -30% 10% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.22), transparent 68%);
  pointer-events: none;
  animation: verseHalo 10s ease-in-out infinite;
}
.dash-verse-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.28), transparent 18%, transparent 82%, rgba(8, 6, 4, 0.28)),
    linear-gradient(180deg, transparent 70%, rgba(8, 6, 4, 0.22));
  pointer-events: none;
}
.dash-verse-sheen {
  position: absolute;
  inset: -10% -20%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 248, 220, 0.08) 46%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 228, 170, 0.1) 54%,
    transparent 64%
  );
  mix-blend-mode: screen;
  animation: verseSheen 12s ease-in-out 1.2s infinite;
}
.dash-verse-kicker {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
}
.dash-verse-glass blockquote {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.dash-verse-glass blockquote p {
  font-family: var(--quote);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.45;
  color: var(--gold-soft);
  text-wrap: pretty;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: verseGlow 10s ease-in-out infinite;
}
.dash-verse-glass cite {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
}
body.dash .witnesses {
  margin-top: 12px;
  padding-top: 28px;
}
#hero-progress {
  margin: 8px 0 0;
  color: var(--gold-soft);
  font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
  body.dash.dash-loaded .dash-hero,
  body.dash.dash-loaded .dash-side,
  body.dash.dash-loaded .witnesses,
  body.dash.dash-loaded .dash-hero-reel img.is-active,
  body.dash.dash-loaded .dash-hero-shade,
  body.dash.dash-loaded .dash-hero-copy small,
  body.dash.dash-loaded .dash-hero-copy h1,
  body.dash.dash-loaded .dash-hero-hook,
  body.dash.dash-loaded .dash-empire-ticker,
  body.dash.dash-loaded .dash-hero-cta,
  body.dash.dash-loaded .dash-hero-reel-caption,
  body.dash.dash-loaded .dash-hero-verse,
  body.dash.dash-loaded .dash-side > a,
  body.dash.dash-loaded .dash-account,
  body.dash.dash-loaded .dash-card,
  body.dash.dash-loaded .dash-tile,
  body.dash.dash-loaded .dash-panel,
  body.dash.dash-loaded .dash-verse-glass,
  body.dash.dash-loaded .dash-verse-glass::before,
  body.dash.dash-loaded .dash-verse-glass blockquote p,
  body.dash .dash-verse-sheen,
  body.dash.dash-loaded .dash-side > a svg {
    animation: none !important;
  }
  body.dash .dash-title-kicker::after,
  body.dash .dash-title-main::after {
    animation: none !important;
    content: none;
  }
  body.dash:not(.dash-loaded) .dash-side > a,
  body.dash:not(.dash-loaded) .dash-card,
  body.dash:not(.dash-loaded) .dash-tile,
  body.dash:not(.dash-loaded) .dash-panel,
  body.dash:not(.dash-loaded) .dash-verse-glass {
    opacity: 1;
    transform: none;
  }
  body.dash .dash-card,
  body.dash .dash-tile,
  body.dash .dash-side a,
  body.dash .dash-signin,
  body.dash .dash-hero-cta {
    transition: none !important;
  }
  body.dash .dash-empire-ticker [data-era].is-active,
  body.dash .dash-hero-cta-spin,
  body.dash .witness-track {
    animation: none !important;
  }
  body.dash .dash-hero-cta-spin {
    background: #d4af37;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 1200px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-aside { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .dash-chapters { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .dash-tiles { grid-template-columns: 1fr 1fr; }
  .dash-tile { min-height: 180px; }
  .dash-verse-glass { flex: 0 0 auto; }
}
@media (max-width: 800px) {
  .dash-hero { height: min(48vh, 420px); min-height: 320px; }
  .dash-hero-verse,
  .dash-hero-reel-caption { display: none; }
  .dash-hero-copy { right: 16px; max-width: none; }
  .dash-empire-ticker [data-era] { padding: 4px 8px; font-size: 9px; }
  .dash-empire-sep { width: 10px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dash-account { width: 100%; margin-top: 8px; padding-top: 10px; }
  .dash-chapters, .dash-tiles, .dash-aside { grid-template-columns: 1fr 1fr; }
  .dash-verse-glass { padding: 22px 18px; min-height: 0; }
  .dash-verse-glass blockquote p { font-size: 16px; }
}

/* --- SID Classroom Print Styles --- */
@media print {
  .site-header,
  .study-topbar,
  .cinematic-atmosphere,
  #weather-canvas,
  #pomo-dock,
  #toc-drawer,
  #toc-overlay,
  .study-instruments,
  .horizon-panel,
  #lesson-connect,
  .museum-links,
  #sitting-spine,
  #sitting-guide,
  #capstone-modal,
  #placement-modal,
  #competency-record-modal,
  #dossier-modal,
  .pomo-wrap,
  .unveil,
  .glow-drift,
  .shafts,
  .vignette,
  footer,
  button,
  .auth-slot,
  .instrument-tabs,
  #btn-atmosphere-toggle,
  #theme-btn {
    display: none !important;
  }

  body, html {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }

  .sitting-shell, .sitting-layout, .sitting-main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #sheet-article {
    display: block !important;
    color: #111 !important;
  }

  #facilitator-strip:not(:empty):not([hidden]) {
    display: block !important;
    border: 2px solid #333 !important;
    background: #f9f9f9 !important;
    color: #111 !important;
    padding: 12pt !important;
    margin-bottom: 16pt !important;
    page-break-inside: avoid;
  }
  #facilitator-strip:empty,
  #facilitator-strip[hidden] {
    display: none !important;
  }

  #workbench-section, .workbench-card, .task-box {
    display: block !important;
    border: 1px solid #666 !important;
    background: #fafafa !important;
    color: #111 !important;
    page-break-inside: avoid;
    margin-bottom: 16pt !important;
  }

  #revision-section {
    display: block !important;
    border-top: 1px solid #333 !important;
    page-break-inside: avoid;
  }
}

/* --- Classroom Projection Mode (?project=1) --- */
body.projection-mode {
  font-size: 18px;
}
body.projection-mode .article-body {
  font-size: 22px;
  line-height: 1.85;
  max-width: 960px;
}
body.projection-mode .article-body h2,
body.projection-mode .article-body h3 {
  font-size: 32px;
}
body.projection-mode #weather-canvas,
body.projection-mode .cinematic-atmosphere,
body.projection-mode .shafts,
body.projection-mode .glow-drift,
body.projection-mode .vignette,
body.projection-mode #btn-atmosphere-toggle {
  display: none !important;
}

/* --- Stronger Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .guide-spot-pulse {
    animation: none !important;
  }
  #weather-canvas {
    display: none !important;
  }
}

/* --- Mobile Study Desk Optimization (~390px) --- */
@media (max-width: 480px) {
  .study-topbar {
    position: relative !important;
  }
  .study-topbar-inner {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
  }
  .study-tools {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }
  .header-competency-pill {
    display: none !important;
  }
  .sitting-main {
    padding-top: 12px !important;
  }
  .workbench-card {
    padding: 12px !important;
  }
  .workbench-card .grid {
    grid-template-columns: 1fr !important;
  }
  .workbench-card input,
  .workbench-card select {
    width: 100% !important;
  }
  .task-box {
    padding: 12px !important;
  }
}

