/* auroracoin.org — "exhibit-catalog" design system
   palette: aurora-glacial · type: Zilla Slab / Karla · motion: stagger-cascade */

:root {
  --ice: #f4f1fa;
  --ice-deep: #e7e1f3;
  --ink: #211c31;
  --ink-soft: #55506b;
  --violet: #5b3d8f;
  --violet-deep: #472e73;
  --green: #177d5e;
  --green-deep: #0f5c45;
  --tint-violet: #ece7f5;
  --tint-green: #e0efe9;
  --gold: #d4a437;
  --silver: #b6bac6;
  --copper: #b87346;
  --hairline: #cfc7e2;
  --tempo-1: 130ms;
  --tempo-2: 300ms;
  --tempo-3: 560ms;
  --curve-north: cubic-bezier(0.22, 0.55, 0.25, 1);
  --step: 75ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  accent-color: var(--green);
}

::selection { background: var(--tint-violet); color: var(--violet-deep); }
* { scrollbar-color: var(--violet) var(--ice-deep); }

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

h1, h2, h3, h4 {
  font-family: 'Zilla Slab', 'Rockwell', serif;
  line-height: 1.18;
  color: var(--ink);
}

.mono { font-family: ui-monospace, 'Cascadia Mono', 'Menlo', monospace; }

/* ---------- masthead ---------- */

.masthead {
  background: var(--ice);
  border-bottom: 1px solid var(--hairline);
}

.masthead-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { display: block; }

.brand-word {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.brand-word em { font-style: normal; color: var(--violet); }

.masthead-inner nav { margin-left: auto; }

.compass {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.compass a {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color var(--tempo-1) var(--curve-north);
}

.compass a:hover, .compass a[aria-current="page"] { color: var(--violet); }

.compass a svg { margin-left: 0.3rem; vertical-align: 1px; }

/* burger (mobile only) */
.menu-latch { position: absolute; opacity: 0; pointer-events: none; }
.menu-crank { display: none; }

/* reference dropdown */
.roost { position: relative; }

.subroost {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--ink);
  border-top: 3px solid var(--violet);
  padding: 0.45rem 0;
  display: none;
  z-index: 30;
}

.roost:hover .subroost, .roost:focus-within .subroost { display: block; }

.subroost::before {
  content: '';
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.compass li::marker { content: ""; }

.subroost li { margin: 0; }
.subroost li::marker { content: ''; }

.subroost a {
  display: block;
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.subroost a:hover { background: var(--tint-violet); }

@media (max-width: 880px) {
  .menu-crank {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 38px;
    padding: 0 8px;
    border: 1px solid var(--ink);
    cursor: pointer;
    background: #fff;
  }

  .menu-crank span {
    display: block;
    height: 2px;
    background: var(--ink);
    transition: transform var(--tempo-1) var(--curve-north), opacity var(--tempo-1) var(--curve-north);
  }

  .menu-latch:checked ~ .menu-crank span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-latch:checked ~ .menu-crank span:nth-child(2) { opacity: 0; }
  .menu-latch:checked ~ .menu-crank span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .compass {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--ink);
    margin-top: 0.7rem;
    padding: 0.4rem 0;
  }

  .menu-latch:checked ~ .compass { display: flex; }

  .compass > li > a { display: block; padding: 0.65rem 1.2rem; }

  .compass a svg { display: none; }

  .subroost {
    display: block;
    position: static;
    border: 0;
    border-top: 1px solid var(--hairline);
    margin-top: 0.3rem;
    padding: 0.2rem 0 0;
    min-width: 0;
  }

  .subroost a { padding: 0.55rem 2.2rem; color: var(--ink-soft); }

  .masthead-inner nav { margin-left: auto; flex-basis: auto; display: contents; }
  .menu-crank { margin-left: auto; }
}

/* the aurora seam — site signature */
.seam {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--violet), #2f6f8f, var(--green));
  background-size: 220% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .seam {
    animation: northdrift 16s linear infinite alternate;
  }
  @keyframes northdrift {
    from { background-position: 0% 0; }
    to   { background-position: 100% 0; }
  }
}

/* ---------- layout ---------- */

main { display: block; }

.hall {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.foyer { padding: 3.2rem 0 1.6rem; }

.kicker {
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.9rem;
}

.foyer h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 600;
  max-width: 30ch;
  margin-bottom: 1.2rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* rules that draw in (reveal treatment — decoration only) */
.rule {
  border: 0;
  height: 2px;
  background: var(--ink);
  margin: 0 0 1.1rem;
  width: 4.5rem;
  transform-origin: left center;
}

.rule-wide { width: 100%; height: 1px; background: var(--hairline); margin: 2.6rem 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .rule:not(.drawn) { transform: scaleX(0); }
  .js .rule { transition: transform var(--tempo-3) var(--curve-north); transition-delay: calc(var(--i, 0) * var(--step)); }
}

/* ---------- specimen plaque ---------- */

.plaque {
  border: 1px solid var(--ink);
  background: #fff;
  margin: 2rem 0 2.6rem;
}

.plaque-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 1.1rem;
  border-bottom: 1px solid var(--ink);
  background: var(--ice-deep);
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plaque-head .cat { color: var(--violet-deep); }

.plaque dl {
  display: flex;
  flex-wrap: wrap;
}

.plaque .cell {
  flex: 1 1 160px;
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
}

.plaque dt {
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.plaque dd {
  font-weight: 700;
  font-size: 1.02rem;
}

/* ---------- prose ---------- */

.wing { padding: 0.4rem 0 1rem; }

.wing h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 2.4rem 0 0.4rem;
}

.wing h2 + .rule { margin-top: 0.55rem; }

.wing p, .wing ul, .wing ol {
  margin-bottom: 1.05rem;
  color: var(--ink);
}

.wing ul, .wing ol { padding-left: 1.3rem; }

li::marker { color: var(--violet); content: '◆  '; font-size: 0.72em; }
ol li::marker { content: counter(list-item) ' ·  '; color: var(--violet); font-weight: 700; }

/* in-content links: highlight sweep */
.wing a, .colophon a, .plate-body a {
  color: var(--violet-deep);
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(0deg, var(--tint-violet), var(--tint-violet)) no-repeat left bottom / 0% 38%;
  transition: background-size var(--tempo-2) var(--curve-north);
  padding-bottom: 1px;
}

.wing a:hover, .colophon a:hover, .plate-body a:hover { background-size: 100% 38%; }

blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
  font-size: 1.08rem;
}

figure { margin: 2rem 0; }
figure img, figure svg { max-width: 100%; height: auto; display: block; }
figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
  font-family: ui-monospace, monospace;
}

/* ---------- exhibit spine ---------- */

.exhibits { padding: 1rem 0 2rem; }

.exhibit {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
}

.exhibit:nth-of-type(even) picture { order: -1; }

.exhibit:last-of-type { border-bottom: 1px solid var(--hairline); }

.exhibit-no {
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--hairline);
  line-height: 1;
  min-width: 2.4ch;
  transition: color var(--tempo-2) var(--curve-north);
}

.exhibit:hover .exhibit-no { color: var(--green); }

.exhibit-body { flex: 1; }

.exhibit-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color var(--tempo-1) var(--curve-north);
}

.exhibit:hover .exhibit-body h3 { color: var(--violet); }

.exhibit-body p { color: var(--ink-soft); font-size: 0.98rem; }

.exhibit-hint {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-block;
  margin-top: 0.45rem;
}

.exhibit picture {
  flex-shrink: 0;
  display: block;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.exhibit img {
  width: 252px;
  height: 252px;
  object-fit: contain;
  background: #fff;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .exhibit img { transition: transform var(--tempo-2) var(--curve-north); }
  .exhibit:hover img { transform: scale(1.045); }
}

@media (max-width: 620px) {
  .exhibit { flex-wrap: wrap; }
  .exhibit picture, .exhibit:nth-of-type(even) picture { order: -1; width: 100%; }
  .exhibit img { width: 100%; height: 190px; }
}

/* ---------- timeline band ---------- */

.era-band {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: #fff;
  padding: 2rem 0 2.2rem;
  margin: 2.4rem 0;
}

.era-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 1.5rem 2rem;
  padding: 0 2rem;
}

.era-list li { flex: 1 1 150px; max-width: 230px; }

/* .wing caps ul at 70ch — the chronology band must span the full box (history page) */
.wing .era-list, .era-band .era-list { max-width: none; }
.era-list li::marker { content: ''; }

.era-year {
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--violet-deep);
  display: block;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}

.era-list p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq-block details {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--violet);
  background: #fff;
  margin-bottom: 0.65rem;
}

.faq-block summary {
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-block summary::-webkit-details-marker { display: none; }

.faq-block summary::after {
  content: '+';
  font-family: ui-monospace, monospace;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform var(--tempo-2) var(--curve-north);
}

.faq-block details[open] summary::after { transform: rotate(45deg); }

.faq-block summary h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  display: inline;
}

.faq-answer { padding: 0 1.1rem 1rem; color: var(--ink-soft); }

/* ---------- colophon ---------- */

.colophon {
  margin-top: 3.5rem;
  background: var(--ink);
  color: var(--ice);
}

.colophon .seam { height: 3px; }

.colophon-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 2.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.colophon h2 {
  color: var(--ice);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.colophon ul { list-style: none; }
.colophon li { margin-bottom: 0.35rem; }
.colophon li::marker { content: ''; }

.colophon a {
  color: var(--ice-deep);
  font-weight: 500;
  background-image: linear-gradient(0deg, rgba(91, 61, 143, 0.55), rgba(91, 61, 143, 0.55));
}

.colophon a:hover { color: #fff; }

.colophon-brand {
  flex-basis: 100%;
  margin-top: 0.4rem;
}

.colophon-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
}

.colophon .fine {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: #8fa2b3;
  border-top: 1px solid #33455a;
  padding-top: 1.2rem;
  font-family: ui-monospace, monospace;
}

/* ---------- article pages ---------- */

.plate-head { padding: 3rem 0 0.6rem; }

.plate-head h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 600;
  max-width: 34ch;
  margin-bottom: 0.9rem;
}

.plate-meta {
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.plate-meta time { color: var(--green-deep); }

.plate-hero { margin: 1.2rem 0 2rem; }
.plate-hero img { width: 100%; max-width: 900px; height: auto; border: 1px solid var(--ink); display: block; }

.plate-body { padding-bottom: 1.5rem; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip:focus { left: 0.5rem; top: 0.5rem; }


/* ---------- coin rain (homepage, full page — the airdrop, literally) ---------- */

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

.coinfall svg.fallcoin {
  position: absolute;
  top: -7%;
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(33, 28, 49, 0.2));
}

.coinfall svg:nth-of-type(1) { left: 7%; width: 39px; height: 39px; opacity: 0.56; --fall: 10s; --twist: 55deg; animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(1) { top: 32%; } }
.coinfall svg:nth-of-type(2) { left: 8%; width: 25px; height: 25px; opacity: 0.6; --fall: 15s; --twist: 40deg; animation-delay: -10s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(2) { top: 80%; } }
.coinfall svg:nth-of-type(3) { left: 9%; width: 21px; height: 21px; opacity: 0.73; --fall: 14s; --twist: -25deg; animation-delay: -9s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(3) { top: 29%; } }
.coinfall svg:nth-of-type(4) { left: 15%; width: 28px; height: 28px; opacity: 0.66; --fall: 12s; --twist: 55deg; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(4) { top: 44%; } }
.coinfall svg:nth-of-type(5) { left: 17%; width: 36px; height: 36px; opacity: 0.61; --fall: 14s; --twist: 25deg; animation-delay: -14s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(5) { top: 83%; } }
.coinfall svg:nth-of-type(6) { left: 19%; width: 29px; height: 29px; opacity: 0.74; --fall: 10s; --twist: -25deg; animation-delay: -13s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(6) { top: 49%; } }
.coinfall svg:nth-of-type(7) { left: 20%; width: 20px; height: 20px; opacity: 0.5; --fall: 16s; --twist: -40deg; animation-delay: -13s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(7) { top: 15%; } }
.coinfall svg:nth-of-type(8) { left: 25%; width: 22px; height: 22px; opacity: 0.68; --fall: 14s; --twist: 25deg; animation-delay: -10s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(8) { top: 82%; } }
.coinfall svg:nth-of-type(9) { left: 26%; width: 37px; height: 37px; opacity: 0.6; --fall: 16s; --twist: -40deg; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(9) { top: 40%; } }
.coinfall svg:nth-of-type(10) { left: 30%; width: 24px; height: 24px; opacity: 0.59; --fall: 10s; --twist: 25deg; animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(10) { top: 88%; } }
.coinfall svg:nth-of-type(11) { left: 39%; width: 30px; height: 30px; opacity: 0.62; --fall: 16s; --twist: 40deg; animation-delay: -9s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(11) { top: 50%; } }
.coinfall svg:nth-of-type(12) { left: 41%; width: 27px; height: 27px; opacity: 0.46; --fall: 16s; --twist: -25deg; animation-delay: -11s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(12) { top: 84%; } }
.coinfall svg:nth-of-type(13) { left: 52%; width: 35px; height: 35px; opacity: 0.49; --fall: 9s; --twist: 25deg; animation-delay: -6s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(13) { top: 22%; } }
.coinfall svg:nth-of-type(14) { left: 55%; width: 52px; height: 52px; opacity: 0.67; --fall: 15s; --twist: 40deg; animation-delay: -12s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(14) { top: 16%; } }
.coinfall svg:nth-of-type(15) { left: 71%; width: 34px; height: 34px; opacity: 0.5; --fall: 15s; --twist: -25deg; animation-delay: -8s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(15) { top: 61%; } }
.coinfall svg:nth-of-type(16) { left: 73%; width: 32px; height: 32px; opacity: 0.71; --fall: 13s; --twist: 25deg; animation-delay: -13s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(16) { top: 54%; } }
.coinfall svg:nth-of-type(17) { left: 75%; width: 43px; height: 43px; opacity: 0.74; --fall: 11s; --twist: -25deg; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(17) { top: 25%; } }
.coinfall svg:nth-of-type(18) { left: 76%; width: 26px; height: 26px; opacity: 0.52; --fall: 12s; --twist: 40deg; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(18) { top: 81%; } }
.coinfall svg:nth-of-type(19) { left: 82%; width: 45px; height: 45px; opacity: 0.5; --fall: 13s; --twist: -25deg; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(19) { top: 59%; } }
.coinfall svg:nth-of-type(20) { left: 86%; width: 48px; height: 48px; opacity: 0.61; --fall: 14s; --twist: 55deg; animation-delay: -4s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(20) { top: 85%; } }
.coinfall svg:nth-of-type(21) { left: 92%; width: 23px; height: 23px; opacity: 0.65; --fall: 9s; --twist: 55deg; animation-delay: -14s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(21) { top: 56%; } }
.coinfall svg:nth-of-type(22) { left: 94%; width: 31px; height: 31px; opacity: 0.57; --fall: 15s; --twist: 40deg; animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(22) { top: 87%; } }
.coinfall svg:nth-of-type(23) { left: 96%; width: 41px; height: 41px; opacity: 0.57; --fall: 12s; --twist: -25deg; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(23) { top: 62%; } }
.coinfall svg:nth-of-type(24) { left: 97%; width: 33px; height: 33px; opacity: 0.5; --fall: 14s; --twist: -40deg; animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .coinfall svg:nth-of-type(24) { top: 6%; } }

@media (prefers-reduced-motion: no-preference) {
  .coinfall svg.fallcoin {
    animation-name: coindrop;
    animation-duration: var(--fall, 12s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  @keyframes coindrop {
    from { transform: translateY(-50px) rotate(0deg); }
    to   { transform: translateY(calc(100vh + 70px)) rotate(var(--twist, 30deg)); }
  }
}

/* ---------- banded article header (page image shown WHOLE beside the title) ---------- */

.plate-head.banded {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--ice-deep);
  margin-top: 2.4rem;
  padding: 0;
  overflow: hidden;
}

.banded .band-content {
  flex: 1 1 55%;
  padding: 3.4rem 2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banded .band-content h1 { color: var(--ink); }
.banded .band-content .kicker { color: var(--green-deep); }
.banded .band-content .plate-meta { color: var(--ink-soft); margin-bottom: 0.4rem; }
.banded .band-content .plate-meta time { color: var(--green-deep); }

.banded .band-img {
  flex: 0 1 40%;
  max-width: 430px;
  border-left: 1px solid var(--hairline);
  background: #fff;
}

.banded .band-img picture { display: block; width: 100%; height: 100%; }

.banded .band-img img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.9rem;
}

.banded .band-veil { display: none; }

@media (max-width: 720px) {
  .plate-head.banded { flex-direction: column-reverse; }
  .banded .band-img { max-width: none; border-left: 0; border-bottom: 1px solid var(--hairline); }
  .banded .band-img img { max-height: 260px; }
  .banded .band-content { padding-top: 1.6rem; }
}

/* ---------- full-page catalog-plate background (article pages) ---------- */

.page-back {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.09;
  display: block;
}

.page-back::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 241, 250, 0) 0%, rgba(244, 241, 250, 0.65) 100%);
}

/* ---------- related exhibits strip (article pages) ---------- */

.related { padding: 1.4rem 0 0.6rem; }

.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.related-row a {
  flex: 1 1 210px;
  max-width: 330px;
  border: 1px solid var(--ink);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.related-row picture, .related-row img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 0.4rem;
  border-bottom: 1px solid var(--hairline);
}

.related-row strong {
  display: block;
  font-family: 'Zilla Slab', serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.7rem 0.9rem 0.15rem;
  transition: color var(--tempo-1) var(--curve-north);
}

.related-row a:hover strong { color: var(--violet); }

.related-row span {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 0 0.9rem 0.8rem;
}


/* ---------- ledger tables ---------- */

.table-scroll { overflow-x: auto; margin: 1.6rem 0; }

table.ledger {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  background: #fff;
  border: 1px solid var(--ink);
  font-size: 0.96rem;
}

table.ledger caption {
  text-align: left;
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-deep);
  background: var(--ice-deep);
  border: 1px solid var(--ink);
  border-bottom: 0;
  padding: 0.55rem 1rem;
}

table.ledger th {
  font-family: ui-monospace, 'Cascadia Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-soft);
  background: var(--tint-violet);
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 1rem;
}

table.ledger td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

table.ledger tbody tr:last-child td { border-bottom: 0; }
table.ledger tbody tr:nth-child(even) td { background: rgba(231, 225, 243, 0.35); }
table.ledger td:first-child { font-weight: 700; white-space: nowrap; }
