/* Shadows of Eldara landing page. Gold on dark, like the game's own UI; the game's title face
   (Palatino / Book Antiqua) from the visitor's system, so nothing is fetched from elsewhere. */
:root {
  --bg: #0d0a07;
  --bg-2: #15100b;
  --panel: #1b140d;
  --panel-2: #231a11;
  --line: #4a3a22;
  --gold: #e3bd6a;
  --gold-hi: #f7dfa0;
  --gold-lo: #a9853f;
  --text: #ece2cc;
  --muted: #b9ab90;
  --green: #9be38f;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", "P052", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 var(--serif);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 3px; }
code { font: 0.86em/1 Consolas, "SFMono-Regular", Menlo, monospace; background: #2a2016; padding: 2px 5px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1208; padding: 8px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: linear-gradient(rgba(8, 6, 4, 0.82), rgba(8, 6, 4, 0));
  transition: background 0.3s;
}
.topbar.solid { background: rgba(10, 8, 5, 0.94); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; letter-spacing: 0.08em; font-variant: small-caps; font-size: 20px; }
.brand img { border-radius: 5px; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: var(--text); text-decoration: none; font-size: 16px; letter-spacing: 0.06em; opacity: 0.85; }
.topbar nav a:hover { color: var(--gold-hi); opacity: 1; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate;
  background: #0b0906 url("../media/hero_poster.webp") center / cover no-repeat;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(8, 6, 4, 0.28), rgba(8, 6, 4, 0.62) 70%, rgba(8, 6, 4, 0.85)),
    linear-gradient(rgba(8, 6, 4, 0.55), rgba(8, 6, 4, 0.15) 35%, rgba(8, 6, 4, 0.25) 65%, var(--bg));
}
.hero-inner { padding: 110px 24px 120px; max-width: 900px; }
.kicker { margin: 0 0 6px; color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase; font-size: 14px; text-shadow: 0 1px 6px #000; }
.title {
  margin: 0; line-height: 0.95;
  font-weight: 400; font-size: clamp(56px, 11vw, 132px); letter-spacing: 0.04em; font-variant: small-caps;
  background: linear-gradient(180deg, #fff3cc 0%, var(--gold-hi) 30%, var(--gold) 58%, #9a7432 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(30, 18, 6, 0.9)) drop-shadow(0 0 26px rgba(0, 0, 0, 0.75));
}
.title-small { display: block; font-size: 0.34em; letter-spacing: 0.42em; margin-bottom: 0.18em; }
.pitch { margin: 26px auto 0; max-width: 680px; font-size: clamp(18px, 2.3vw, 22px); font-style: italic; color: #f3ead6; text-shadow: 0 1px 3px #000, 0 0 18px rgba(0, 0, 0, 0.8); }
.cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }
.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 16px; text-shadow: 0 1px 3px #000; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; min-height: 52px;
  font: 600 18px/1 var(--serif); letter-spacing: 0.05em; text-decoration: none;
  border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-gold {
  color: #241708;
  background: linear-gradient(#f6d98f, #d9ab52 55%, #b98a37);
  border: 1px solid #7a5a22;
  box-shadow: inset 0 1px 0 rgba(255, 250, 220, 0.7), inset 0 -2px 0 rgba(90, 60, 20, 0.45), 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(227, 189, 106, 0.16);
}
.btn-gold:hover { color: #1a1005; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 250, 220, 0.8), inset 0 -2px 0 rgba(90, 60, 20, 0.45), 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(227, 189, 106, 0.28); }
.btn-ghost { color: var(--gold-hi); background: rgba(15, 11, 7, 0.55); border: 1px solid rgba(227, 189, 106, 0.6); backdrop-filter: blur(3px); }
.btn-ghost:hover { color: #fff3cc; background: rgba(40, 28, 14, 0.75); border-color: var(--gold-hi); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(227, 189, 106, 0.6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: drip 2s infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint span { animation: none; } }

/* ---------------------------------------------------------------- music toggle */
.music {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; min-height: 46px;
  font: 16px/1 var(--serif); letter-spacing: 0.04em; color: var(--gold-hi);
  background: rgba(14, 10, 6, 0.82); border: 1px solid rgba(227, 189, 106, 0.55); border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.music:hover { background: rgba(36, 26, 13, 0.92); border-color: var(--gold-hi); }
.music svg { width: 22px; height: 22px; }
.music .ico-on { display: none; }
.music[aria-pressed="true"] .ico-on { display: block; }
.music[aria-pressed="true"] .ico-off { display: none; }
.music[aria-pressed="true"] { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(227, 189, 106, 0.18); }
.music[aria-pressed="true"] .ico-on path:nth-child(2) { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .music[aria-pressed="true"] .ico-on path:nth-child(2) { animation: none; } }

/* the hint while the music waits for the visitor's first click (main.js) */
.music-hint {
  position: fixed; right: 18px; bottom: 74px; z-index: 40; max-width: 250px; margin: 0;
  padding: 8px 12px; font-size: 14px; line-height: 1.35; color: var(--text);
  background: rgba(14, 10, 6, 0.9); border: 1px solid rgba(227, 189, 106, 0.4); border-radius: 8px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; pointer-events: none;
}
.music-hint::after { content: ""; position: absolute; right: 26px; bottom: -6px; width: 10px; height: 10px; background: #0e0a06; border: solid rgba(227, 189, 106, 0.4); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.music-hint.show { opacity: 1; transform: none; }
@media (max-width: 640px) { .music-hint { right: 12px; bottom: 66px; max-width: 210px; } }
@media (prefers-reduced-motion: reduce) { .music-hint { transition: none; } }

/* ---------------------------------------------------------------- sections */
main { position: relative; }
section { scroll-margin-top: 70px; }
.ornament { height: 22px; margin: 0 auto 26px; max-width: 420px; position: relative; }
.ornament::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); }
.ornament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo); }
.intro { padding: 70px 24px 30px; text-align: center; }
.lead { margin: 0 auto; max-width: 820px; font-size: clamp(18px, 2.1vw, 21px); color: #e4d8bd; }
.lead em { color: var(--gold-hi); font-style: normal; }
.section-title { margin: 0 0 8px; text-align: center; font-weight: 400; font-variant: small-caps; letter-spacing: 0.1em; font-size: clamp(32px, 4.6vw, 46px); color: var(--gold); }
.section-title::after { content: ""; display: block; width: 90px; height: 2px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-sub { text-align: center; color: var(--muted); margin: 6px 0 30px; }

.features { padding: 50px 24px 40px; }
.features .section-title { margin-bottom: 44px; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; margin: 0 0 64px; }
.feature.flip .feature-shot { order: 2; }
.feature-shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 4px #120d08, 0 0 0 5px rgba(169, 133, 63, 0.4); cursor: zoom-in; }
.feature-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s; }
.feature-shot:hover img { transform: scale(1.03); }
.feature-text h3 { margin: 0 0 12px; font-weight: 400; font-size: 28px; color: var(--gold-hi); letter-spacing: 0.02em; }
.feature-text p { margin: 0; color: #ddd1b7; }

.gallery-sec { padding: 70px 0 60px; background: linear-gradient(var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #000; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.92; transition: opacity 0.2s, transform 0.4s; }
.gallery button:hover img, .gallery button:focus-visible img { opacity: 1; transform: scale(1.04); }

/* ---------------------------------------------------------------- download */
.download { padding: 70px 24px 40px; }
.play-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 30px 0 46px; padding: 26px 30px; background: linear-gradient(135deg, #2a1f12, #17110b); border: 1px solid var(--line); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.08); }
.play-card h3 { margin: 0 0 4px; font-weight: 400; font-size: 26px; color: var(--gold-hi); }
.play-card p { margin: 0; color: var(--muted); }
.dl-title, .req-title { font-weight: 400; font-size: 24px; color: var(--gold-hi); margin: 0 0 16px; }
.dl-version { font-size: 16px; color: var(--muted); margin-left: 8px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl {
  position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto; column-gap: 12px;
  padding: 18px 18px 16px; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.dl svg { grid-row: 1 / 4; width: 36px; height: 36px; color: var(--gold); align-self: center; }
.dl-os { font-size: 21px; color: var(--gold-hi); }
.dl-meta { font-size: 14px; color: var(--muted); }
.dl-size { font-size: 14px; color: var(--muted); }
.dl:hover { border-color: var(--gold-lo); background: var(--panel-2); color: var(--text); }
.dl.yours { border-color: var(--gold); background: linear-gradient(160deg, #3a2a14, #1e160d); box-shadow: 0 0 0 3px rgba(227, 189, 106, 0.18), 0 10px 26px rgba(0, 0, 0, 0.45); }
.dl.yours::after { content: "Your system"; position: absolute; top: -11px; right: 14px; padding: 2px 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #241708; background: var(--gold); border-radius: 10px; }
.dl[aria-disabled="true"] { cursor: default; }
.dl[aria-disabled="true"]:hover { transform: none; }
.dl-status { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.dl-more { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.dl-more a { color: var(--gold); }
.dl-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 26px 0 50px; }
.dl-notes h4 { margin: 0 0 4px; font-weight: 400; color: var(--gold); font-size: 18px; letter-spacing: 0.04em; }
.dl-notes p { margin: 0; font-size: 16px; color: #cfc2a6; }

.req { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.req table { width: 100%; border-collapse: collapse; font-size: 16px; }
.req th, .req td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #2c2216; }
.req tbody tr:last-child th, .req tbody tr:last-child td { border-bottom: 0; }
.req thead th { color: var(--gold); font-weight: 400; letter-spacing: 0.06em; background: #20180f; }
.req tbody th { color: var(--gold-hi); font-weight: 400; white-space: nowrap; width: 1%; }
.req td { color: #d6caaf; }

/* ---------------------------------------------------------------- faq */
.faq { padding: 60px 24px 70px; max-width: 860px; }
.faq .section-title { margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 2px; position: relative; font-size: 20px; color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 18px; color: #d9cdb2; }

/* ---------------------------------------------------------------- footer */
.footer { padding: 40px 0 90px; text-align: center; background: #080604; border-top: 1px solid #22190f; font-size: 15px; color: var(--muted); }
.footer-title { margin: 0 0 4px; font-size: 24px; font-variant: small-caps; letter-spacing: 0.1em; color: var(--gold); }
.credits { max-width: 860px; margin: 18px auto; }
.credits p { margin: 4px 0; }
.credits strong { color: var(--gold); font-weight: 400; letter-spacing: 0.05em; margin-right: 4px; }
.footer .small { font-size: 13px; opacity: 0.8; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(4, 3, 2, 0.95); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; gap: 10px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); max-height: calc(100svh - 90px); width: auto; border: 1px solid var(--line); box-shadow: 0 20px 60px #000; }
.lightbox img.crisp { image-rendering: pixelated; }  /* (shown at or above its own size: keep the pixels square) */
.lightbox figcaption { color: var(--text); font-style: italic; text-align: center; padding: 0 10px; }
.lightbox button { background: none; border: 0; color: var(--gold-hi); font: 48px/1 var(--serif); cursor: pointer; height: 64px; width: 64px; border-radius: 50%; }
.lightbox button:hover { background: rgba(227, 189, 106, 0.12); }
.lb-close { position: absolute; top: 10px; right: 12px; font-size: 40px !important; }

/* ---------------------------------------------------------------- the story trailer (js/story.js) */
.story { position: fixed; inset: 0; z-index: 90; background: #000; overflow: hidden; opacity: 1; transition: opacity 0.9s ease; }
html.story .story { display: block; }
html.story .story[hidden] { display: block; }
html.story body { overflow: hidden; }
.story [hidden] { display: none !important; }
.story.closing { opacity: 0; pointer-events: none; }
.story-video, .story-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.story-still { object-fit: contain; transition: opacity 0.4s; }
.story-still.gone { opacity: 0; }
.story-caption {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); width: min(92vw, 1000px); margin: 0;
  text-align: center; font-weight: 400; font-size: clamp(20px, 3.1vw, 40px); line-height: 1.35; letter-spacing: 0.02em;
  color: #f4efe4; text-shadow: 0 2px 4px #000, 0 0 24px rgba(0, 0, 0, 0.9);
}
.story-caption span { display: inline; opacity: 0; filter: blur(4px); animation: word 0.9s ease forwards; }
@keyframes word { to { opacity: 1; filter: none; } }
.story-title {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 16px;
  opacity: 0; transition: opacity 1.4s ease;
}
.story-title.on { opacity: 1; }
.story-name {
  margin: 0; line-height: 0.95; font-size: clamp(54px, 11vw, 140px); letter-spacing: 0.05em; font-variant: small-caps;
  background: linear-gradient(180deg, #fff3cc 0%, var(--gold-hi) 30%, var(--gold) 58%, #9a7432 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(30, 18, 6, 0.9)) drop-shadow(0 0 30px rgba(227, 189, 106, 0.25));
  transform: scale(1.08); transition: transform 2.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.story-title.on .story-name { transform: none; }
.story-tag { margin: 6px 0 18px; color: #e9dfc8; font-size: clamp(17px, 2vw, 22px); letter-spacing: 0.12em; text-transform: uppercase; }
.story-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* the start screen: when the browser wants a click before it plays sound, the story waits for one */
.story-start {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 16px; text-align: center; background: radial-gradient(ellipse at 50% 42%, #1a130c 0%, #000 62%);
  opacity: 0; transition: opacity 1.2s ease;
}
.story-start.on { opacity: 1; }
.story-start:not([hidden]) ~ .story-controls { display: none; }
.story-crest { width: 88px; height: 88px; border-radius: 18px; opacity: 0.85;
  filter: drop-shadow(0 0 18px rgba(255, 179, 71, 0.35)); animation: crest 4s ease-in-out infinite; }
@keyframes crest { 50% { opacity: 1; filter: drop-shadow(0 0 30px rgba(255, 179, 71, 0.55)); } }
.story-start-name {
  margin: 0 0 10px; line-height: 0.95; font-size: clamp(40px, 7vw, 84px); letter-spacing: 0.05em; font-variant: small-caps;
  background: linear-gradient(180deg, #fff3cc 0%, var(--gold-hi) 30%, var(--gold) 58%, #9a7432 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(30, 18, 6, 0.9));
}
.story-begin svg { width: 18px; height: 18px; }
.story-skipto { margin-top: 4px; padding: 8px; cursor: pointer; background: none; border: 0; color: #bfae88;
  font: 15px/1 var(--serif); letter-spacing: 0.05em; text-decoration: underline; text-underline-offset: 4px; }
.story-skipto:hover, .story-skipto:focus-visible { color: #fff3cc; }
.story-controls { position: absolute; top: 16px; right: 16px; display: flex; gap: 10px; align-items: center; z-index: 3; }
.story-controls button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; cursor: pointer;
  font: 16px/1 var(--serif); letter-spacing: 0.05em; color: #f1e6cc;
  background: rgba(10, 8, 5, 0.55); border: 1px solid rgba(227, 189, 106, 0.5); border-radius: 22px;
}
.story-controls button:hover { border-color: var(--gold-hi); background: rgba(40, 28, 14, 0.8); }
.story-controls svg { width: 20px; height: 20px; }
.story-sound[aria-pressed="false"] svg path:nth-child(2) { opacity: 0.2; }
.story-hint { margin: 0; color: #e9dfc8; font-size: 14px; text-shadow: 0 1px 3px #000; }
.watch-story {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 4px; cursor: pointer;
  background: none; border: 0; color: var(--gold-hi); font: 17px/1 var(--serif); letter-spacing: 0.06em; text-shadow: 0 1px 4px #000;
}
.watch-story svg { width: 22px; height: 22px; }
.watch-story:hover { color: #fff3cc; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .story-caption { bottom: 9%; }
  .story-controls { top: 10px; right: 10px; }
  .story-sound span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .story, .story-title, .story-still, .story-start { transition: none; }
  .story-crest { animation: none; }
  .story-caption span { animation: none; opacity: 1; filter: none; }
  .story-name { transform: none; transition: none; }
}

/* ---------------------------------------------------------------- 404 */
.lost-main { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 40px 16px; text-align: center; }
.lost-shot { width: min(480px, 100%); border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); margin-bottom: 18px; }
.lost-title { margin: 0; font-weight: 400; font-variant: small-caps; letter-spacing: 0.06em; font-size: clamp(34px, 6vw, 54px); color: var(--gold); }
.lost-text { margin: 0 0 18px; color: var(--muted); max-width: 520px; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }
  .feature.flip .feature-shot { order: 0; }
  .dl-grid, .dl-notes { grid-template-columns: 1fr; }
  .play-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap, .intro, .features, .download, .faq { padding-left: 16px; padding-right: 16px; }
  .topbar { padding: 10px 16px; }
  .topbar nav { display: none; }
  .brand span { font-size: 18px; }
  .hero-inner { padding: 90px 16px 110px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .music { right: 12px; bottom: 12px; }
  .music-label { display: none; }
  .music { padding: 11px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 12px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .req th, .req td { padding: 9px 10px; }
}

/* at a glance */
.glance { padding: 0 24px 10px; }
.glance-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; margin: 0; }
.glance-list div { border-top: 1px solid var(--line); padding-top: 8px; }
.glance-list dt { color: var(--gold); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.glance-list dd { margin: 2px 0 0; font-size: 17px; }
@media (max-width: 700px) { .glance-list { grid-template-columns: 1fr 1fr; } }
