/* Class A site. Colours come from the logo: deep red, pearl cream and near black. */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0f0a0b;
  --bg-2: #161012;
  --bg-3: #1e1518;
  --panel: #1a1215;
  --line: rgba(244, 236, 214, 0.1);
  --line-2: rgba(244, 236, 214, 0.2);
  --pearl: #f4ecd6;
  --text: #e8dfcd;
  --muted: #b6a893;
  --faint: #8b7f70;
  --red: #b3121f;
  --red-hi: #d42433;
  --red-deep: #6b0912;
  --brass: #d2ac63;
  --paper: #efe6cf;
  --paper-2: #e6dbc0;
  --paper-ink: #201a16;
  --paper-soft: #5a4f45;
  --paper-line: rgba(32, 26, 22, 0.28);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--pearl); text-decoration-color: rgba(212, 36, 51, 0.7); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--red-hi); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--pearl); line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pearl); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 900px; }

/* Icons. Chevrons are drawn, never typed. */
.chev, .icon { width: 0.85em; height: 0.85em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 1.25em;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  font: 600 1rem/1.2 var(--sans);
  letter-spacing: 0.02em;
  color: var(--pearl);
  text-decoration: none;
  background: rgba(244, 236, 214, 0.04);
  background-origin: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease, background-position 0.35s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { color: #fff; border-color: rgba(244, 236, 214, 0.45); background-color: rgba(244, 236, 214, 0.1); }
.btn--small { padding: 0.5em 1em; font-size: 0.92rem; }
.btn--large { padding: 0.85em 1.5em; font-size: 1.05rem; }

/* Red buttons fade from the deep red into the bright one. The pearl border only shows on hover. */
.btn--primary {
  border-color: transparent;
  background-image: linear-gradient(120deg, var(--red-deep) 0%, var(--red) 45%, var(--red-hi) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 6px 22px rgba(179, 18, 31, 0.35);
}
.btn--primary:hover {
  border-color: rgba(244, 236, 214, 0.7);
  background-position: 60% 50%;
  box-shadow: 0 6px 26px rgba(212, 36, 51, 0.45), inset 0 0 0 999px rgba(244, 236, 214, 0.06);
}
.btn--ghost { background-color: rgba(15, 10, 11, 0.35); border-color: rgba(244, 236, 214, 0.35); }
.btn--ghost:hover { background-color: rgba(244, 236, 214, 0.12); border-color: rgba(244, 236, 214, 0.65); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { background: rgba(15, 10, 11, 0.86); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 20px; min-height: 64px; }
.topbar__brand { display: block; flex: none; }
.topbar__brand img { width: 62px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.topbar__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar__nav a:not(.btn) {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.topbar__nav a:not(.btn):hover { color: #fff; background: rgba(244, 236, 214, 0.08); }
.topbar__nav .btn { margin-left: 10px; }
.topbar__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; background: rgba(15, 10, 11, 0.5); color: var(--pearl); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.topbar__toggle[aria-expanded="true"] .burger { background: transparent; }
.topbar__toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .topbar__toggle { display: block; }
  .topbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: rgba(15, 10, 11, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; }
  .topbar__nav .btn { margin: 10px 0 0; justify-content: center; }
  .topbar:has(.is-open) { background: rgba(15, 10, 11, 0.97); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 10, 11, 0.92) 0%, rgba(15, 10, 11, 0.72) 38%, rgba(15, 10, 11, 0.2) 70%, rgba(15, 10, 11, 0.35) 100%),
    linear-gradient(180deg, rgba(15, 10, 11, 0.55) 0%, rgba(15, 10, 11, 0) 22%, rgba(15, 10, 11, 0) 70%, var(--bg) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 560px); gap: 8px; }
.hero__title { margin: 0 0 4px -2%; }
.hero__logo { width: clamp(220px, 34vw, 400px); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55)); }
.hero__tagline { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; color: var(--pearl); margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
.hero__tagline em { font-style: italic; color: #ff5a63; color: color-mix(in srgb, var(--red-hi) 70%, #fff); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 34em; margin-bottom: 26px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero__meta { margin-top: 18px; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--pearl);
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero__scroll:hover { background: rgba(244, 236, 214, 0.1); border-color: rgba(244, 236, 214, 0.35); }
.hero__scroll svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1.5px solid rgba(244, 236, 214, 0.25);
  border-radius: 999px;
  background: rgba(15, 10, 11, 0.55);
  color: var(--text);
  font: 600 0.85rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover { background: rgba(244, 236, 214, 0.12); border-color: rgba(244, 236, 214, 0.55); }
.hero__pause .icon { width: 12px; height: 12px; }
.hero__pause .icon--play { display: none; fill: currentColor; stroke: none; }
.hero__pause[aria-pressed="true"] .icon--play { display: block; }
.hero__pause[aria-pressed="true"] .icon--pause { display: none; }

@media (max-width: 700px) {
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(15, 10, 11, 0.55) 0%, rgba(15, 10, 11, 0.25) 30%, rgba(15, 10, 11, 0.85) 62%, var(--bg) 100%);
  }
  .hero__logo { width: min(250px, 66vw); }
  .hero__pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__pause { padding: 10px; bottom: 26px; }
  .btn-row .btn--large { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--pearl); margin-bottom: 8px; }
.stat:nth-child(2) .stat__num { color: #e3454f; }
.stat__label { display: block; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .stats__list { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 16px; }
.eyebrow { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red-hi); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--red-hi); border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--text); }
.note { margin-top: 32px; color: var(--muted); font-style: italic; max-width: 760px; }

/* ---------- The Gazette ---------- */
.section--story { background: radial-gradient(ellipse at 50% 0%, rgba(179, 18, 31, 0.14), transparent 60%), var(--bg); }
.gazette {
  max-width: 1040px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 30%),
    var(--paper);
  color: var(--paper-ink);
  padding: clamp(22px, 4vw, 48px);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3);
  transform: rotate(-0.6deg);
}
.gazette__mast { text-align: center; border-bottom: 3px double var(--paper-ink); padding-bottom: 12px; margin-bottom: 22px; }
.gazette__ears { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-soft); border-bottom: 1px solid var(--paper-line); padding-bottom: 8px; margin-bottom: 10px; }
.gazette__name { font-family: var(--serif); font-size: clamp(2.1rem, 6.4vw, 4.4rem); line-height: 1; color: var(--paper-ink); margin: 0 0 8px; }
.gazette__date { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-soft); border-top: 1px solid var(--paper-line); padding-top: 8px; margin: 0; }
.gazette__body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
.gazette__headline { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--paper-ink); line-height: 1.02; margin-bottom: 12px; }
.gazette__standfirst { font-size: 1.2rem; font-weight: 600; line-height: 1.4; color: var(--paper-ink); margin-bottom: 18px; }
.gazette__photo { margin: 0 0 18px; }
.gazette__photo img { width: 100%; filter: grayscale(1) contrast(1.08) brightness(1.04) sepia(0.12); border: 1px solid var(--paper-line); }
.gazette__photo figcaption { font-size: 0.85rem; font-style: italic; color: var(--paper-soft); margin-top: 6px; }
.gazette__cols { columns: 2 220px; column-gap: 28px; column-rule: 1px solid var(--paper-line); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.55; }
.gazette__cols p { break-inside: avoid; margin-bottom: 0.85em; }
.gazette__cols p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 3.3em; line-height: 0.85; padding: 4px 8px 0 0; color: var(--red); }
.gazette__side { border-left: 1px solid var(--paper-line); padding-left: 24px; }
.gazette__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--paper-ink); padding-bottom: 8px; margin-bottom: 4px; }
.gazette__side ul { list-style: none; margin: 0; padding: 0; }
.gazette__side li { padding: 14px 0; border-bottom: 1px solid var(--paper-line); font-family: Georgia, "Times New Roman", serif; font-size: 0.98rem; line-height: 1.45; color: var(--paper-soft); }
.gazette__side li strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; color: var(--paper-ink); margin-bottom: 4px; }
@media (max-width: 820px) {
  .gazette { transform: none; }
  .gazette__body { grid-template-columns: 1fr; }
  .gazette__side { border-left: 0; padding-left: 0; border-top: 2px solid var(--paper-ink); padding-top: 14px; }
  .gazette__ears span:last-child { text-align: right; }
}

/* ---------- The loop ---------- */
.section--loop { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.loop__step { position: relative; padding: 26px 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.loop__step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--red-hi);
  border-right: 2px solid var(--red-hi);
  transform: rotate(45deg);
  z-index: 1;
}
.loop__step:last-child::after { display: none; }
.loop__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--pearl); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px; box-shadow: 0 0 0 4px rgba(179, 18, 31, 0.2); }
.loop__step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.loop__step p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 1080px) {
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop__step::after { display: none; }
  .loop__step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .loop { grid-template-columns: 1fr; }
}

/* ---------- Split (the pub) ---------- */
.section--pub { background: radial-gradient(ellipse at 85% 40%, rgba(210, 172, 99, 0.1), transparent 55%), var(--bg); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__text h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.split__text p:not(.lead):not(.eyebrow) { color: var(--muted); }
.split__media { position: relative; padding-bottom: 60px; }
.split__media .shot--tall { width: 100%; }
.split__media .shot--inset { position: absolute; right: -14px; bottom: 0; width: 46%; border: 3px solid var(--bg); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media .shot--inset { right: 10px; }
}

/* ---------- Shots (any clickable screenshot) ---------- */
.shot {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease, filter 0.3s ease; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244, 236, 214, 0.1); transition: box-shadow 0.2s ease; pointer-events: none; }
.shot:hover img { transform: scale(1.04); filter: brightness(1.08); }
.shot:hover::after { box-shadow: inset 0 0 0 2px rgba(244, 236, 214, 0.55); }
@media (prefers-reduced-motion: reduce) { .shot:hover img { transform: none; } }

/* ---------- Quotes ---------- */
.section--quotes { padding: clamp(56px, 7vw, 84px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--quotes .eyebrow { margin-bottom: 28px; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quotes li { position: relative; padding: 22px 22px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; }
.quotes blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; color: var(--pearl); }
.quotes blockquote p::before { content: "\201C"; color: var(--red-hi); margin-right: 2px; }
.quotes blockquote p::after { content: "\201D"; color: var(--red-hi); margin-left: 1px; }
.quotes span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 24px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s ease, transform 0.25s ease; }
.feature:hover { border-color: rgba(212, 36, 51, 0.45); transform: translateY(-3px); }
.feature__icon { width: 36px; height: 36px; fill: none; stroke: var(--red-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature h3 { font-size: 1.42rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 1080px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .feature:hover { transform: none; } }

/* ---------- Village ---------- */
.section--village { background: var(--bg-2); border-top: 1px solid var(--line); }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.place h3 { font-size: 1.5rem; margin: 16px 0 6px; }
.place p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .places { grid-template-columns: 1fr; } }

/* ---------- Film ---------- */
.section--film { background: radial-gradient(ellipse at 50% 100%, rgba(179, 18, 31, 0.16), transparent 60%), var(--bg); }
.section--film .section__head { margin-left: auto; margin-right: auto; text-align: center; }
.section--film .eyebrow { justify-content: center; }
.section--film .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--red-hi); border-radius: 2px; }
.film { max-width: 1040px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(244, 236, 214, 0.03); background: #000; }
.film__video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Gallery ---------- */
.section--screens { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .shot { height: 100%; box-shadow: none; }
.gallery .shot img { height: 100%; }
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { gap: 10px; }
  .gallery li:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Eras ---------- */
.eras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.era { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.era--now { border-color: rgba(212, 36, 51, 0.6); background: linear-gradient(180deg, rgba(179, 18, 31, 0.16), var(--bg-2) 60%); }
.era__tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.era--now .era__tag { color: var(--pearl); background: var(--red); border-color: var(--red); }
.era h3 { font-size: 1.7rem; }
.era__years { color: var(--brass); font-weight: 600; margin: 4px 0 16px; }
.era dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.96rem; }
.era dt { color: var(--faint); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.era dd { margin: 0; color: var(--text); line-height: 1.45; }
@media (max-width: 1080px) { .eras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eras { grid-template-columns: 1fr; } }

/* ---------- Difficulty ---------- */
.section--difficulty { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.difficulty { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.98rem; }
.difficulty th, .difficulty td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.difficulty tr:last-child th, .difficulty tr:last-child td { border-bottom: 0; }
.difficulty thead th { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--pearl); background: var(--bg-3); }
.difficulty thead th:last-child { color: #ec5560; }
.difficulty tbody th { color: var(--brass); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; width: 150px; }
.difficulty td { color: var(--muted); }

/* ---------- Progress ---------- */
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.progress__col { padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.progress__col h3 { font-size: 1.6rem; margin-bottom: 14px; }
.progress__col ul { list-style: none; margin: 0; padding: 0; }
.progress__col li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); color: var(--text); }
.progress__col li:first-child { border-top: 0; }
.progress__col li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: rotate(-45deg); }
.progress__col--next li::before { width: 10px; height: 10px; top: 16px; left: 3px; border: 2px solid var(--faint); border-radius: 50%; transform: none; }
.progress__col--next li { color: var(--muted); }
@media (max-width: 820px) { .progress { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--pearl);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq__chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--red-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 46em; }

/* ---------- Call to action ---------- */
.cta { position: relative; padding: clamp(90px, 13vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 10, 11, 0.7) 35%, rgba(15, 10, 11, 0.75) 70%, var(--bg) 100%); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.cta .lead { max-width: 34em; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 44px 0 52px; }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.studio-badge { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid transparent; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.studio-badge:hover { color: var(--pearl); background: rgba(244, 236, 214, 0.06); border-color: rgba(244, 236, 214, 0.2); }
.studio-badge img { width: 48px; height: auto; }
.footer__note { max-width: 44em; color: var(--muted); font-size: 0.95rem; margin: 0; }
.footer__legal { color: var(--faint); font-size: 0.86rem; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 5, 6, 0.95);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(8, 5, 6, 0.8); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; padding: 60px 76px 20px; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(1600px, calc(100vw - 152px)); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 6px; box-shadow: var(--shadow); }
.lightbox__caption { max-width: 60em; text-align: center; color: var(--text); font-size: 1.02rem; }
.lightbox__count { position: absolute; top: 20px; left: 24px; margin: 0; color: var(--faint); font-size: 0.9rem; letter-spacing: 0.1em; }
.lightbox__btn, .lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 236, 214, 0.25);
  background: rgba(15, 10, 11, 0.6);
  color: var(--pearl);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(244, 236, 214, 0.14); border-color: rgba(244, 236, 214, 0.6); }
.lightbox__btn svg, .lightbox__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__close { top: 12px; right: 16px; }
@media (max-width: 700px) {
  .lightbox__figure { padding: 70px 12px 90px; }
  .lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 220px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Reveal on scroll. Only when the script is running. ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .gazette[data-reveal] { transform: translateY(18px) rotate(-0.6deg); }
.js .gazette[data-reveal].is-in { transform: rotate(-0.6deg); }
@media (max-width: 820px) { .js .gazette[data-reveal].is-in { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .gazette[data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .gazette[data-reveal] { transform: rotate(-0.6deg); }
}

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: radial-gradient(ellipse at 50% 30%, rgba(179, 18, 31, 0.2), transparent 60%), var(--bg); }
.lost img { width: 220px; margin: 0 auto 18px; }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 10px; }
.lost .lead { color: var(--muted); margin-bottom: 26px; }
