:root {
  --ink: #fbf3e4;
  --muted: #d9c6ad;
  --dim: #a99fb8;
  --night: #1c1028;
  --plum: #2a1838;
  --panel: rgba(42, 24, 56, .72);
  --line: rgba(251, 243, 228, .14);
  --amber: #f2a33a;
  --amber-ink: #2a1a00;
  --red: #5b1830;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night) url("/bg.svg") center top / cover no-repeat fixed;
  color: var(--ink);
  font: 17px/1.6 "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
}

a { color: var(--amber); }
a:hover { color: #ffc46e; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { padding: 14px 0; }
.top .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800;
  font-size: 19px; letter-spacing: .01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px;
  background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 19px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(242, 163, 58, .28); transition: transform .12s, filter .12s; }
.btn:hover { color: var(--amber-ink); filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; font-size: 17px;
  padding: 12px 24px; }
.btn.ghost:hover { border-color: var(--amber); color: var(--ink); }

/* Hero */
.hero { position: relative; margin: 8px auto 0; width: min(1080px, calc(100% - 40px)); aspect-ratio: 16 / 8.2;
  min-height: 360px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 32px 20px;
  background: linear-gradient(rgba(28, 16, 40, .15), rgba(28, 16, 40, .55)), url("/img/splash.webp") center / cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 8.5vw, 5.4rem); line-height: 1.02; font-weight: 800;
  text-shadow: 0 4px 0 var(--red), 0 12px 34px rgba(0, 0, 0, .6); }
.hero p { margin: 14px 0 26px; font-size: clamp(1.05rem, 2.6vw, 1.45rem); color: #ffe2b8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7); max-width: 32em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .small { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Sections */
main { flex: 1; }
section { padding: 56px 0 8px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 14px; line-height: 1.15; }
h3 { margin: 0 0 6px; font-size: 1.15rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0 0 26px; }

.shot { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45); image-rendering: auto; }
.strip { display: block; width: 100%; height: auto; border-radius: var(--radius); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(6px); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .ic { font-size: 26px; line-height: 1; margin-bottom: 10px; display: block; }

.watch a { display: block; color: var(--ink); text-decoration: none; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .12s, border-color .12s; }
.watch a:hover, .watch a:focus-visible { transform: translateY(-2px); border-color: var(--amber); }
.watch img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.watch span { display: block; padding: 10px 14px 12px; font-weight: 700; }
.watch span::before { content: "▶ "; color: var(--amber); }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Before/after slider: the 1995 picture under the remastered one, clipped at --pos */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45); aspect-ratio: 16 / 9; background: #000; --pos: 50%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .new { clip-path: inset(0 0 0 var(--pos)); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--amber); box-shadow: 0 0 12px rgba(0, 0, 0, .6); pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--amber); color: var(--amber-ink); display: grid; place-items: center;
  font-weight: 800; font-size: 18px; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); pointer-events: none; z-index: 2; }
.ba .tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(16, 9, 24, .78);
  font-size: 14px; font-weight: 700; pointer-events: none; z-index: 1; }
.ba .tag.l { left: 12px; }
.ba .tag.r { right: 12px; color: #ffc46e; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 3px; }
.ba-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ba-picks button { font: inherit; font-size: 15px; color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.ba-picks button[aria-pressed="true"] { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px;
  margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 4px; }

/* Text pages */
.page { width: min(820px, 100%); margin: 0 auto; padding: 24px 20px 40px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 18px 0 10px; line-height: 1.1;
  text-shadow: 0 3px 0 var(--red), 0 10px 30px rgba(0, 0, 0, .5); }
.page h2 { font-size: 1.4rem; margin: 34px 0 8px; }
.page p, .page li { color: #eee3d2; }
.page .updated { color: var(--dim); font-size: 14px; }
.page ul { padding-left: 1.2em; }
.page li { margin: 4px 0; }
.page code { background: rgba(0, 0, 0, .3); padding: 1px 6px; border-radius: 6px; font-size: .92em; word-break: break-all; }
.page table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15px; }
.page th, .page td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  margin: 16px 0; }

.page h3 { margin: 24px 0 6px; }
.page .eyebrow { color: var(--dim); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin: 18px 0 0; }
.page figure { margin: 18px 0 22px; }
.page figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.page figcaption { color: var(--dim); font-size: 14px; margin-top: 6px; }
.page ol { padding-left: 1.4em; }
.more { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.more a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--panel);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.more a:hover { border-color: var(--amber); }

/* Skip link: first thing a keyboard user reaches */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--amber); color: var(--amber-ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { left: 12px; }

/* Footer */
footer { margin-top: 64px; padding: 26px 0 34px; border-top: 1px solid var(--line); background: rgba(16, 9, 24, .55);
  font-size: 14px; color: var(--dim); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
footer .links a { color: var(--muted); text-decoration: none; }
footer .links a:hover { color: var(--ink); }
footer p { margin: 6px 0; max-width: 62em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
