:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0b09;
  --ink: #f4f0e6;
  --muted: #b7b0a3;
  --line: #2c2823;
  --violet: #c4b2ea;
  --gold: #e4b15a;
  --gold-ink: #1c1408;
  --shadow: rgba(0, 0, 0, 0.45);
  --mast: #000;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f3efe6;
  --ink: #1c1914;
  --muted: #5e574c;
  --line: #d8d0c3;
  --violet: #5c457f;
  --gold: #8d6416;
  --gold-ink: #1c1408;
  --shadow: rgba(40, 30, 16, 0.18);
  --mast: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; --nav-h: 58px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 "Source Serif 4", Palatino, Georgia, serif;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.mast {
  background: var(--mast);
  color: #f4f0e6;
  text-align: center;
  padding: 28px 28px 64px;
}
.band {
  position: relative;
  margin: 8px auto 42px;
  max-width: 1280px;
}
.band .pattern { width: 100%; height: auto; }
.logo-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  padding: 8px 14px 10px;
  line-height: 0;
}
.band .logo {
  width: clamp(108px, 13vw, 156px);
  height: auto;
}
.poster-kicker {
  margin: 0 0 10px;
  font-family: Oswald, "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: #cbbceb;
}
.poster-title {
  margin: 0;
  font-family: Oswald, "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 8.6vw, 112px);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.poster-title .bank { color: #b59ae0; }
.poster-title .bones { color: #f0b429; }
.lead {
  max-width: 38em;
  margin: 26px auto 0;
  color: #ddd6cb;
  font-size: clamp(18px, 2vw, 22px);
}
.mast { overflow: hidden; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, #ffd36b 48%, #ff8fc4 52%, transparent 65%);
  background-size: 300% 100%;
  background-position: 120% 0;
  -webkit-mask: url("../content/header-pattern.svg") center / 100% 100% no-repeat;
  mask: url("../content/header-pattern.svg") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.motion .band::after { animation: sweep 7s ease-in-out 1.6s infinite; }
@keyframes sweep {
  0% { background-position: 120% 0; }
  45%, 100% { background-position: -20% 0; }
}
.motion .band .pattern { animation: unroll 1.4s cubic-bezier(0.6, 0, 0.2, 1) both; }
.motion .logo-plate { animation: pop 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) 0.15s both; }
.motion .poster-kicker { animation: track-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both; }
.motion .poster-title .bank,
.motion .poster-title .bones { display: inline-block; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.motion .poster-title .bank { animation-delay: 0.7s; }
.motion .poster-title .bones { animation-delay: 0.85s; }
.motion .lead { animation: fade-up 0.9s ease 1.1s both; }
@keyframes unroll {
  from { clip-path: inset(0 50% 0 50%); opacity: 0.2; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes pop {
  from { opacity: 0; scale: 0.4; rotate: -12deg; }
  to { opacity: 1; scale: 1; rotate: 0deg; }
}
@keyframes track-in {
  from { opacity: 0; letter-spacing: 1.2em; }
  to { opacity: 1; letter-spacing: 0.42em; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 0.5em; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes fade-up {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

.fan {
  display: flex;
  justify-content: center;
  margin: 46px auto 0;
  padding: 0 0 24px;
}
.fan button {
  position: relative;
  flex: 0 1 clamp(96px, 17vw, 230px);
  margin: 0 calc(clamp(96px, 17vw, 230px) * -0.12);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  rotate: var(--r);
  translate: 0 var(--y);
  transition: scale 0.35s cubic-bezier(0.3, 1.5, 0.5, 1), translate 0.35s ease;
}
.fan button:nth-child(3) { z-index: 2; }
.fan button:nth-child(2), .fan button:nth-child(4) { z-index: 1; }
.fan button:hover, .fan button:focus-visible {
  z-index: 3;
  scale: 1.12;
  translate: 0 calc(var(--y) - 14px);
}
.fan img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.6);
}
.motion .fan button { animation: deal 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.1) backwards; animation-delay: calc(1.25s + var(--i) * 0.09s); }
.motion .fan img { animation: bob 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.1s); }
@keyframes deal {
  from { opacity: 0; translate: 0 120px; rotate: 0deg; }
  to { opacity: 1; translate: 0 var(--y); rotate: var(--r); }
}
@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

.rail {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 22px;
  padding: 14px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-panel {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 22px;
  min-width: 0;
}
.nav-panel > a,
.nav-panel .switches,
.rail-mark,
.switch button { white-space: nowrap; flex-shrink: 0; }
.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: rotate 0.2s ease, top 0.2s ease, background 0.2s ease;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.rail.is-open .nav-toggle-lines { background: transparent; }
.rail.is-open .nav-toggle-lines::before { top: 0; rotate: 45deg; }
.rail.is-open .nav-toggle-lines::after { top: 0; rotate: -45deg; }
.rail-mark {
  margin: 0 8px 0 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.rail a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rail a[aria-current="true"] {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--gold);
}
.switches {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-left: auto;
}
.switch {
  display: flex;
  border: 1px solid var(--line);
}
.switch button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 7px 4px;
  cursor: pointer;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

main {
  width: min(840px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0 0;
}
section {
  padding: 64px 0 8px;
  scroll-margin-top: 72px;
}
section + section { border-top: 1px solid var(--line); margin-top: 56px; }
.kicker {
  margin: 0 0 12px;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}
h2 {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}
.prose p { margin: 0 0 14px; }
#about .prose {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4px 48px;
  align-items: start;
}
#about .prose p {
  grid-column: 2;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
#about .prose p:nth-child(2) {
  grid-column: 1;
  grid-row: 1 / span 3;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
}
.ticker {
  width: 100vw;
  margin: 44px 0 0 calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 18px 0 26px;
}
.ticker-track img {
  width: clamp(150px, 16vw, 210px);
  border-radius: 3px;
  box-shadow: 0 14px 24px var(--shadow);
}
.ticker-track img:nth-child(odd) { rotate: -2deg; }
.ticker-track img:nth-child(even) { rotate: 2deg; translate: 0 8px; }
.motion .ticker-track { animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.motion .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.motion .reveal.is-in { opacity: 1; translate: 0 0; }
.quiet {
  color: var(--muted);
  font-size: 16px;
}

#bones {
  box-sizing: border-box;
  height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  padding: 14px 0 10px;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}
#bones:has(details[open]) {
  height: auto;
  overflow: visible;
}
#bones .kicker { margin-bottom: 2px; }
#bones h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
}
.bones-note { border-top: 0; margin: 0; }
.bones-note summary { padding: 2px 0 6px; }
.bones-note .prose { padding-bottom: 8px; }
.bones-note .prose p { margin: 0 0 8px; font-size: 16px; }
.stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 6px 0 0;
}
.stage-figure {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.stage-figure.is-dragging { cursor: grabbing; }
.note-viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 calc(var(--side, 12%) * 0.8), #000 calc(100% - var(--side, 12%) * 0.8), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 calc(var(--side, 12%) * 0.8), #000 calc(100% - var(--side, 12%) * 0.8), transparent);
}
.note-track {
  position: absolute;
  inset: 0;
}
.note-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w, 60%);
  height: 100%;
  margin-left: calc(var(--card-w, 60%) / -2);
  object-fit: contain;
  filter: drop-shadow(0 22px 28px var(--shadow));
  pointer-events: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
}
.peek-arrow {
  --arrow-size: 36px;
  --arrow-inset: 10px;
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--arrow-size);
  height: var(--arrow-size);
  padding: 0;
  border: 1px solid color-mix(in srgb, #f4f0e6 70%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, #0c0b09 62%, transparent);
  color: #f4f0e6;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 6px 16px var(--shadow);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, scale 0.2s ease;
}
.peek-arrow::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.peek-arrow svg { width: 20px; height: 20px; }
.peek-arrow-prev { left: max(4px, calc(var(--side, 22%) - var(--arrow-inset) - var(--arrow-size))); }
.peek-arrow-next { right: max(4px, calc(var(--side, 22%) - var(--arrow-inset) - var(--arrow-size))); }
.peek-arrow:active { scale: 0.92; }
.stage-figure.is-dragging[data-drag="prev"] .peek-arrow-prev,
.stage-figure.is-dragging[data-drag="next"] .peek-arrow-next {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: transparent;
}
@media (hover: hover) {
  .peek-arrow:hover {
    background: var(--gold);
    color: var(--gold-ink);
    border-color: transparent;
  }
}
.swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, #0c0b09 72%, transparent);
  color: #f4f0e6;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: -50% 6px;
  transition: opacity 0.45s ease, translate 0.45s ease;
}
.stage-figure.is-hinting .swipe-hint { opacity: 1; translate: -50% 0; }
.swipe-hint svg { width: 22px; height: 13px; flex: none; }
.motion .stage-figure.is-hinting .swipe-hint svg { animation: swipe-hint 1.4s ease-in-out infinite; }
@keyframes swipe-hint {
  0%, 100% { translate: -3px 0; }
  50% { translate: 3px 0; }
}
.note-views {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
  margin: 6px 0 0;
}
.note-views button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 6px 4px;
  background: none;
  cursor: pointer;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.note-views button:hover,
.note-views button[aria-current="true"] { color: var(--ink); }
.note-view-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.note-views button[aria-current="true"] .note-view-dot {
  width: 18px;
  opacity: 1;
  background: color-mix(in srgb, var(--breed) 55%, var(--gold));
}
#bones:has(details[open]) .stage { flex: none; }
#bones:has(details[open]) .stage-figure { height: min(46svh, 460px); }
@property --breed {
  syntax: "<color>";
  inherits: true;
  initial-value: #b59ae0;
}
#bones { --breed: #b59ae0; transition: --breed 0.9s ease; }
.stage-figure::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--breed) 70%, transparent) 55%, transparent);
  filter: blur(36px) saturate(1.8);
  opacity: 0.75;
}
.motion .stage-figure::before { animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe {
  from { scale: 0.92; opacity: 0.55; }
  to { scale: 1.06; opacity: 0.85; }
}
.stage-meta .stage-name,
.stage-meta .denom { transition: color 0.6s ease; }
.motion .stage-meta.swap .stage-name,
.motion .stage-meta.swap .denom { animation: fade-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.motion .stage-meta.swap .denom { animation-delay: 0.06s; }
.stage-meta { margin-top: 8px; }
.stage-name {
  margin: 0;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
}
.denom {
  margin: 4px 0 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--breed) 55%, var(--gold));
}
.whisper {
  height: 2.7em;
  margin: 6px 0 0;
  max-width: 40em;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  line-height: 1.35;
  transition: opacity 0.45s ease;
}
.whisper.is-out { opacity: 0; }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 8px;
}
.text-btn, .submit {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.card {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.card summary, .bones-note summary {
  cursor: pointer;
  padding: 6px 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card p { margin: 0 0 12px; }
.facts {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 8px 16px;
  margin: 8px 0 16px;
  font-size: 16px;
}
.facts dt {
  color: var(--muted);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.facts dd { margin: 0; }

.strip {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 8px 0 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  flex: none;
}
.strip button {
  flex: 0 0 104px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0 0 8px;
  cursor: pointer;
  opacity: 0.48;
  text-align: left;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}
.strip button:hover { opacity: 0.85; }
.strip button[aria-current="true"] {
  opacity: 1;
  border-bottom-color: var(--breed);
}
.strip img {
  width: 104px;
  height: auto;
  transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.strip button:hover img { transform: translateY(-3px) rotate(-1.5deg); }
.strip button[aria-current="true"] img { transform: translateY(-2px); }
.strip span {
  display: block;
  margin-top: 6px;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.spread {
  width: min(1160px, calc(100vw - 48px));
  margin-left: calc((100% - min(1160px, calc(100vw - 48px))) / 2);
  margin-right: calc((100% - min(1160px, calc(100vw - 48px))) / 2);
}
.plates {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
}
.plates li { --accent: #f0b429; --hue: 0deg; }
.plates li:nth-child(1) { --accent: #ff6fae; --hue: 55deg; }
.plates li:nth-child(2) { --accent: #4fd1b5; --hue: -110deg; }
.plates li:nth-child(3) { --accent: #7fb2ff; --hue: -45deg; }
.plates li:nth-child(4) { --accent: #ffa24c; --hue: 140deg; }
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  text-decoration: none;
  padding: 0 18px 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 100% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    #000;
  color: #f4f0e6;
  box-shadow: inset 0 0 0 1px rgba(244, 240, 230, 0.1);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}
.plate:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 24px 40px var(--shadow);
}
.plate-band {
  height: 65px;
  margin: 0 -18px 20px;
  overflow: hidden;
}
.plate-band img {
  width: 1486px;
  max-width: none;
  height: 65px;
  filter: hue-rotate(var(--hue)) saturate(1.5) brightness(1.15);
}
.plates li:nth-child(2) .plate-band img { transform: translateX(-140px); }
.plates li:nth-child(3) .plate-band img { transform: translateX(-860px); }
.plates li:nth-child(4) .plate-band img { transform: translateX(-940px); }
.motion .plate-band img { animation: drift 14s ease-in-out infinite alternate; }
.motion .plates li:nth-child(2) .plate-band img { animation-delay: -4s; }
.motion .plates li:nth-child(3) .plate-band img { animation-delay: -8s; }
.motion .plates li:nth-child(4) .plate-band img { animation-delay: -11s; }
@keyframes drift {
  from { translate: 0 0; }
  to { translate: -90px 0; }
}
.plate-word {
  margin: 2px 0 0;
  font-family: Oswald, "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.plate-title {
  flex: 1;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 240, 230, 0.6);
}
.plate .text-btn {
  margin-top: 22px;
  align-self: flex-end;
  color: var(--accent);
}
.sleeves {
  display: grid;
  grid-template-columns: 1.65fr 0.82fr;
  gap: 28px 36px;
  align-items: start;
  margin-top: 8px;
}
.sleeve h3 {
  margin: 16px 0 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.sleeve p { margin: 4px 0 0; }
.folio-wide,
.folio-single {
  background: #fff;
  box-shadow: 0 22px 36px var(--shadow);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
}
.folio-single { background: #f7f2e8; padding: 12px 12px 14px; }
.sleeve:hover .folio-wide { transform: translateY(-6px) rotate(-0.6deg); }
.sleeve:hover .folio-single { transform: translateY(-6px) rotate(1deg); }
.sleeve img[data-sleeve-note],
.sleeve img[data-sleeve-envelope] { width: 100%; }
#offer .quiet { margin: 26px 0 0; }
.finale {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 36px 64px;
  align-items: start;
  margin-top: 56px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.finale section { padding: 0; }
.finale section + section { margin-top: 0; border-top: 0; }
.gold-btn {
  position: relative;
  display: inline-block;
  margin-top: 22px;
  border: 0;
  overflow: hidden;
  background: #e4b15a;
  color: #1c1408;
  padding: 13px 18px;
  cursor: pointer;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease;
}
.gold-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  translate: -120% 0;
}
.motion .gold-btn::after { animation: shine 3.6s ease-in-out infinite; }
.gold-btn:hover { transform: translateY(-2px); background: #f0bf66; }
@keyframes shine {
  0%, 55% { translate: -120% 0; }
  100% { translate: 120% 0; }
}
#orders > p:not(.kicker) {
  max-width: 34em;
  color: var(--muted);
  font-size: 16px;
}
.imprint {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.imprint li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.imprint a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.imprint a:hover { color: var(--gold); }
.imprint .mark { width: 15px; height: 15px; flex: none; }
.mark-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.end-band {
  position: relative;
  background: #000;
  margin-top: 80px;
  padding: 22px 0 26px;
}
.end-pattern {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.end-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  padding: 4px 10px 5px;
  line-height: 0;
}
.end-logo img { width: 78px; }

dialog {
  width: min(520px, calc(100% - 32px));
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.62); }
dialog h2 { font-size: 32px; }
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.close {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: Outfit, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
label {
  display: block;
  margin: 14px 0 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
input, textarea, select {
  width: 100%;
  margin-top: 4px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
textarea { min-height: 140px; resize: vertical; }
.form-note {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.45;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  color: var(--ink);
}
.check input { width: auto; margin: 0; }
.submit {
  margin-top: 22px;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--gold-ink);
}
.form-note, .form-error { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.form-error { color: #b5523a; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .rail:not(.is-compact) {
    gap: 4px 12px;
    padding: 10px 16px;
  }
  .rail:not(.is-compact) .rail-mark { display: none; }
  .rail:not(.is-compact) .nav-panel { gap: 4px 12px; }
  .rail:not(.is-compact) a {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .rail:not(.is-compact) .switches { gap: 6px; }
  .rail:not(.is-compact) .switch button {
    padding: 6px 5px;
    letter-spacing: 0.04em;
  }
}
.rail.is-compact {
  gap: 8px;
  padding: 8px 12px 8px 16px;
}
.rail.is-compact .nav-toggle { display: grid; }
.rail.is-compact .nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 4px 16px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.rail.is-compact.is-open .nav-panel { display: flex; }
.rail.is-compact a { padding: 12px 0; }
.rail.is-compact .switches { margin: 14px 0 0; }
.rail.is-compact .switch button { padding: 8px 10px; }

@media (max-width: 860px) {
  main { width: min(840px, calc(100% - 32px)); padding-top: 12px; }
  .mast { padding: 18px 16px 42px; }
  .band { margin-inline: min(0px, (100% - 560px) / 2); }
  .spread { width: 100%; margin-left: 0; margin-right: 0; }
  .plates { grid-template-columns: 1fr 1fr; }
  .sleeves, .finale { grid-template-columns: 1fr; }
  .poster-kicker { letter-spacing: 0.22em; text-indent: 0; }
}
@media (max-width: 560px) {
  .plates { grid-template-columns: 1fr; }
  .plate { min-height: 0; }
  .peek-arrow { --arrow-size: 32px; --arrow-inset: 4px; }
  .peek-arrow svg { width: 18px; height: 18px; }
  .note-views { gap: 2px 6px; }
  .note-views button { padding: 8px 6px; }
  .note-views button:not([aria-current="true"]) .note-view-label { display: none; }
}

@media (max-width: 720px) {
  #about .prose { grid-template-columns: 1fr; }
  #about .prose p,
  #about .prose p:nth-child(2) { grid-column: 1; grid-row: auto; }
  #about .prose p:nth-child(2) { margin-bottom: 14px; }
  .fan { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whisper, .strip button, .plate, .folio-wide, .folio-single, .fan button,
  .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after,
  .peek-arrow, .swipe-hint, .note-views button, .note-view-dot { transition: none; }
  .ticker { overflow-x: auto; }
}
