/* Ant Stories website. No build step, no web fonts, no trackers. */

:root {
  --soil-950: #0c0906;
  --soil-900: #120d09;
  --soil-850: #17110c;
  --soil-800: #1d1610;
  --soil-700: #2a2017;
  --bark: #3d2e21;
  --line: rgba(243, 234, 217, 0.12);
  --cream: #f3ead9;
  --text: #e9dfcd;
  --muted: #bfae95;
  --amber: #e8a64a;
  --amber-hi: #f4c071;
  --amber-deep: #b9772a;
  --leaf: #93b56b;
  --leaf-deep: #22301d;
  --common: #c9c1b3;
  --rare: #6cb4ef;
  --legendary: #f4c071;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--soil-900);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--amber-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--cream); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; 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(--amber); color: #1a1007; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-block; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.lead { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem); color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Owner placeholders: visible on purpose until filled in (see README) */
.placeholder { background: rgba(232, 166, 74, 0.16); color: var(--amber-hi); border-bottom: 1px dashed var(--amber); padding: 0 4px; border-radius: 3px; font-style: normal; }
.owner-note { border: 1px dashed var(--amber); background: rgba(232, 166, 74, 0.08); border-radius: var(--radius); padding: 14px 18px; color: var(--text); font-size: 0.95rem; margin: 0 0 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #1b1006; }
.btn-primary:hover { background: var(--amber-hi); color: #1b1006; }
.btn-ghost { background: rgba(18, 13, 9, 0.35); color: var(--cream); border-color: rgba(243, 234, 217, 0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.solid, .site-header.always-solid { background: rgba(14, 10, 7, 0.92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font: 700 1.28rem/1 var(--serif); letter-spacing: 0.01em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--amber-hi); }
.nav-links .nav-cta { margin-left: 8px; background: var(--amber); color: #1b1006; border-radius: 999px; padding: 10px 18px; }
.nav-links .nav-cta:hover { background: var(--amber-hi); color: #1b1006; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1120px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 10, 7, 0.98); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .nav-cta { margin: 14px 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
  .site-header.menu-open { background: rgba(14, 10, 7, 0.98); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--soil-950); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 45% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 9, 6, 0.55) 0%, rgba(12, 9, 6, 0.05) 26%, rgba(12, 9, 6, 0.2) 55%, rgba(18, 13, 9, 0.96) 100%),
    radial-gradient(120% 80% at 15% 85%, rgba(12, 9, 6, 0.7), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(40px, 8vh, 90px); }
.hero h1 { font-size: clamp(3.2rem, 1.6rem + 7.4vw, 7.4rem); line-height: 0.95; margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.hero .tagline { font: italic 400 clamp(1.25rem, 1rem + 1.3vw, 2rem)/1.3 var(--serif); color: var(--amber-hi); margin: 0 0 14px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.hero .sub { max-width: 54ch; color: var(--text); margin-bottom: 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stores-label { width: 100%; font: 700 0.76rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px 8px 12px; border-radius: 12px;
  background: rgba(10, 7, 5, 0.72); border: 1px solid rgba(243, 234, 217, 0.22); color: var(--cream); backdrop-filter: blur(6px);
}
.store svg { width: 24px; height: 24px; flex: none; color: var(--cream); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.store strong { font-size: 1.02rem; font-weight: 700; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--muted); width: 28px; height: 28px; opacity: 0.7; }
.video-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 7, 5, 0.6); border: 1px solid rgba(243, 234, 217, 0.3); color: var(--cream); cursor: pointer; display: grid; place-items: center;
}
.video-toggle svg { width: 18px; height: 18px; }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.band-dark { background: var(--soil-950); }
.band-mid { background: var(--soil-850); }
.band-leaf { background: radial-gradient(120% 90% at 80% 0%, #24321f 0%, #141a10 55%, var(--soil-950) 100%); }
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(70% 60% at 50% 0%, rgba(232, 166, 74, 0.07), transparent 70%);
}

/* Narrator quote */
.quote-band { padding: clamp(64px, 9vw, 120px) 0; text-align: center; background: linear-gradient(180deg, var(--soil-900), var(--soil-950)); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; }
.quote-band p { font: italic 400 clamp(1.5rem, 1.05rem + 2.3vw, 2.6rem)/1.3 var(--serif); color: var(--cream); margin: 0 0 22px; }
.quote-band cite { font: 700 0.8rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); font-style: normal; }
.quote-band cite::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--amber); vertical-align: middle; margin-right: 12px; }

/* Episodes */
.episodes { display: grid; gap: clamp(28px, 5vw, 64px); counter-reset: ep; }
.episode { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.episode-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--soil-700); }
.episode-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.episode:hover .episode-media img { transform: scale(1.03); }
.episode-num { position: absolute; left: 16px; top: 12px; font: 700 clamp(3rem, 2rem + 4vw, 5rem)/1 var(--serif); color: rgba(243, 234, 217, 0.9); text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6); }
.episode-body h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 10px; }
.episode-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(243, 234, 217, 0.07); border: 1px solid var(--line); font-size: 0.86rem; color: var(--text); }
.chip em { color: var(--muted); }
.chip-free { background: rgba(147, 181, 107, 0.16); border-color: rgba(147, 181, 107, 0.45); color: #cfe3b5; font-weight: 700; }
.episode-body p { color: var(--text); font-size: 1.06rem; max-width: 52ch; }
@media (min-width: 820px) {
  .episode { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); }
  .episode:nth-child(even) .episode-media { order: 2; }
}

/* Features */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; background: var(--soil-700); box-shadow: var(--shadow); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 9, 6, 0) 25%, rgba(12, 9, 6, 0.92) 100%); }
.feature-text { position: relative; z-index: 1; padding: 22px; }
.feature-text h3 { margin-bottom: 6px; }
.feature-text p { margin: 0; color: var(--text); font-size: 0.98rem; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } .feature { min-height: 360px; } }
@media (min-width: 1040px) { .features { grid-template-columns: 1.4fr 1fr 1fr; } .feature:first-child { grid-row: span 2; min-height: 600px; } .feature:nth-child(4) { grid-column: span 2; } }
.moves { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.moves li { background: rgba(243, 234, 217, 0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.moves strong { display: block; color: var(--cream); font-family: var(--serif); font-size: 1.08rem; }
.moves span { color: var(--muted); font-size: 0.92rem; }

/* Gear */
.gear-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .gear-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.armour-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(90% 90% at 50% 40%, #6d5a47, #2a2017 80%); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.armour-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.armour-caption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.armour-caption strong { font: 700 1.2rem/1.1 var(--serif); color: var(--cream); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.rarity { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid currentColor; background: rgba(10, 7, 5, 0.75); }
.r-common { color: var(--common); }
.r-rare { color: var(--rare); }
.r-legendary { color: var(--legendary); }
.set-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .set-picker { grid-template-columns: repeat(6, 1fr); } }
.set-picker button {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px; cursor: pointer;
  background: rgba(243, 234, 217, 0.04); border: 1px solid var(--line); color: var(--text); font: 600 0.78rem/1.15 var(--sans);
}
.set-picker button img { width: 52px; height: 52px; }
.set-picker button[aria-pressed="true"] { border-color: var(--amber); background: rgba(232, 166, 74, 0.12); color: var(--cream); }
.armour-also { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(243, 234, 217, 0.03); }
.armour-also img { width: 150px; height: auto; border-radius: 10px; flex: none; }
.armour-also p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.armour-pieces { color: var(--muted); font-size: 0.95rem; margin-top: 14px; }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; margin: 0 0 22px; list-style: none; }
.item { position: relative; border-radius: 14px; padding: 8px 6px 10px; text-align: center; background: linear-gradient(180deg, rgba(243, 234, 217, 0.06), rgba(243, 234, 217, 0.02)); border: 1px solid var(--line); }
.item img { width: 76px; height: 76px; margin: 0 auto 4px; }
.item b { display: block; font-size: 0.8rem; color: var(--cream); line-height: 1.2; }
.item i { display: block; font-style: normal; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-top: 3px; }
.item.rare { border-color: rgba(108, 180, 239, 0.45); box-shadow: inset 0 -30px 40px -30px rgba(108, 180, 239, 0.35); }
.item.legendary { border-color: rgba(244, 192, 113, 0.6); box-shadow: inset 0 -30px 40px -30px rgba(244, 192, 113, 0.45); }
.item.rare i { color: var(--rare); }
.item.legendary i { color: var(--legendary); }
.item.common i { color: var(--common); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.tiers .item img { width: 88px; height: 88px; }
.power { display: flex; gap: 18px; align-items: center; border-radius: var(--radius); padding: 18px 20px; background: linear-gradient(120deg, rgba(232, 166, 74, 0.16), rgba(232, 166, 74, 0.03)); border: 1px solid rgba(232, 166, 74, 0.35); }
.power-num { font: 700 2.4rem/1 var(--serif); color: var(--amber-hi); white-space: nowrap; }
.power-num small { display: block; font: 700 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.power p { margin: 0; font-size: 0.96rem; }
@media (max-width: 520px) { .power { flex-direction: column; align-items: flex-start; gap: 10px; } }
.note { font-size: 0.95rem; color: var(--muted); margin-top: 18px; }

/* Worlds */
.worlds { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .worlds { grid-template-columns: 1fr 1fr; } }
.world { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--soil-700); }
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.world:hover img { transform: scale(1.04); }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 7, 5, 0.9)); }
.world div { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; }
.world h3 { margin: 0 0 2px; }
.world p { margin: 0; color: var(--text); font-size: 0.95rem; }

/* True stories */
.facts { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(6, 1fr); } .fact { grid-column: span 2; } .fact:nth-child(4), .fact:nth-child(5) { grid-column: span 3; } }
.fact { position: relative; background: #f1e7d3; color: #2b2016; border-radius: 6px 18px 6px 18px; padding: 26px 24px 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.fact::before { content: "True story"; display: inline-block; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #7a4a12; border-bottom: 2px solid #c9862e; padding-bottom: 6px; margin-bottom: 14px; }
.fact p { font: 400 1.1rem/1.5 var(--serif); margin: 0 0 12px; }
.fact small { color: #6b5a47; font-size: 0.84rem; }
.facts-note { margin-top: 26px; color: var(--muted); max-width: 70ch; }

/* Narrator */
.narrator { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .narrator { grid-template-columns: 1fr 1fr; } }
.narrator blockquote { margin: 0; padding: 28px 28px 24px; border-left: 3px solid var(--amber); background: rgba(243, 234, 217, 0.04); border-radius: 0 var(--radius) var(--radius) 0; }
.narrator blockquote p { font: italic 400 clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem)/1.4 var(--serif); color: var(--cream); margin: 0 0 12px; }
.narrator cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* Trailer */
.trailer { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.trailer video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.trailer-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soil-700); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6, 4, 3, 0.94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 12px 20px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { color: var(--text); margin-top: 12px; text-align: center; font-size: 0.95rem; }
.lb-btn { position: absolute; background: rgba(20, 14, 10, 0.8); color: var(--cream); border: 1px solid rgba(243, 234, 217, 0.25); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Notify */
.notify { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, rgba(232, 166, 74, 0.2), rgba(147, 181, 107, 0.1)), var(--soil-800); border: 1px solid rgba(232, 166, 74, 0.3); display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .notify { grid-template-columns: 1.4fr 1fr; } }
.notify h2 { margin-bottom: 10px; }
.notify p { margin: 0; }
.notify-actions { display: flex; flex-direction: column; gap: 10px; }
.notify-actions small { color: var(--muted); }
.notify-form { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.notify-form label { font: 700 0.86rem/1.3 var(--sans); color: var(--cream); margin-top: 6px; }
.notify-form input[type="email"], .notify-form select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; font: 400 1rem/1.3 var(--sans);
  color: var(--cream); background: rgba(10, 7, 5, 0.6); border: 1px solid rgba(243, 234, 217, 0.35);
}
.notify-form select option { color: #1b1006; background: #f3ead9; }
.notify-form input[type="email"]::placeholder { color: var(--muted); opacity: 0.8; }
.notify-form input[type="email"]:focus-visible, .notify-form select:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 2px; border-color: var(--amber-hi); }
.notify-form .bad { border-color: #ff9a8a; }
.notify-form .notify-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); margin: 8px 0 6px; cursor: pointer; }
.notify-form .notify-check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--amber); }
.notify-form .btn { justify-content: center; }
.notify-form .btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.notify-form small { color: var(--muted); }
.notify-status { margin: 4px 0 0; min-height: 1.4em; font-weight: 700; }
.notify-status.good { color: #b9dc8f; }
.notify-status.bad-news { color: #ffb4a6; }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: rgba(243, 234, 217, 0.04); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 700 1.08rem/1.35 var(--serif); color: var(--cream); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--amber); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 18px; color: var(--text); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--soil-950); border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: 0.94rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 0.8rem; font-family: var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--amber-hi); text-decoration: underline; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.86rem; }

/* Inner pages */
.page-hero { position: relative; padding: 130px 0 56px; background: radial-gradient(90% 120% at 85% 0%, rgba(232, 166, 74, 0.18), transparent 60%), linear-gradient(180deg, var(--soil-850), var(--soil-900)); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero.has-image { padding-top: 150px; }
.page-hero.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.2rem); margin-bottom: 12px; }
.prose { padding-top: 56px; padding-bottom: 90px; }
.prose h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--cream); }
.callout { border-radius: var(--radius); padding: 20px 22px; background: rgba(147, 181, 107, 0.1); border: 1px solid rgba(147, 181, 107, 0.4); margin: 0 0 28px; }
.callout strong { color: #dbeec4; }
.callout p:last-child { margin-bottom: 0; }
.callout-amber { background: rgba(232, 166, 74, 0.1); border-color: rgba(232, 166, 74, 0.45); }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0 0 28px; padding: 0; list-style: none; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: rgba(243, 234, 217, 0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card svg { width: 30px; height: 30px; color: var(--amber); margin-bottom: 10px; }
.factsheet { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 0.98rem; }
.factsheet th, .factsheet td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.factsheet th { width: 34%; color: var(--muted); font-weight: 600; }
.factsheet td { color: var(--cream); overflow-wrap: anywhere; }
.factsheet { table-layout: fixed; }
@media (max-width: 480px) { .factsheet th, .factsheet td { padding: 10px 8px; } .factsheet th { width: 32%; } }
.press-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; margin: 0 0 28px; list-style: none; }
@media (min-width: 760px) { .press-shots { grid-template-columns: repeat(3, 1fr); } }
.press-shots a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soil-700); position: relative; }
.press-shots img { width: 100%; height: 100%; object-fit: cover; }
.press-shots span { position: absolute; right: 8px; bottom: 8px; background: rgba(10, 7, 5, 0.8); color: var(--cream); font-size: 0.74rem; padding: 3px 8px; border-radius: 999px; }
.logo-tiles { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 28px; }
@media (min-width: 700px) { .logo-tiles { grid-template-columns: 1.6fr 1fr; } }
.logo-tile { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--line); background: var(--soil-950); }
.logo-tile.light { background: #f3ead9; }
.logo-tile img { max-height: 110px; width: auto; }
.logo-tile .links { display: flex; gap: 14px; font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
.logo-tile.light .links a { color: #7a4a12; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.notfound { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
.notfound img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.notfound .wrap { position: relative; }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .episode:hover .episode-media img, .world:hover img, .gallery a:hover img { transform: none; }
}
@media print {
  .site-header, .site-footer, .hero-media, .video-toggle { display: none; }
  body { background: #fff; color: #000; }
}

.prose .cards { padding-left: 0; list-style: none; }
.prose .cards li { margin-bottom: 0; }

/* Web store: the Diamonds and Packs pages (assets/js/store.js) */
.ws-id { position: sticky; top: 72px; z-index: 20; margin: 0 0 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(23, 17, 12, 0.97); border: 1px solid rgba(232, 166, 74, 0.45); box-shadow: var(--shadow); }
.ws-id label { display: block; font: 700 0.9rem/1.3 var(--sans); color: var(--cream); margin-bottom: 8px; }
.ws-id-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.ws-id input {
  flex: 1 1 220px; max-width: 320px; min-width: 0; min-height: 52px; padding: 10px 14px; border-radius: 12px; font: 700 1.35rem/1.2 var(--sans); letter-spacing: 0.08em;
  color: var(--cream); background: rgba(10, 7, 5, 0.6); border: 1px solid rgba(243, 234, 217, 0.35);
}
.ws-id input::placeholder { color: var(--muted); opacity: 0.7; letter-spacing: 0; font-weight: 400; font-size: 1rem; }
.ws-id input:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 2px; border-color: var(--amber-hi); }
.ws-id input.bad { border-color: #ff9a8a; }
.ws-id-note { margin: 0; font-weight: 700; min-height: 1.4em; flex: 1 1 240px; font-size: 0.95rem; }
.ws-id-note.good { color: #b9dc8f; }
.ws-id-note.bad-news, .ws-msg.bad-news { color: #ffb4a6; }
.ws-id small { display: block; margin-top: 8px; color: var(--muted); font-size: 0.88rem; }
.ws-offer { margin: 0 0 28px; padding: 14px 18px; border-radius: var(--radius); background: rgba(147, 181, 107, 0.1); border: 1px solid rgba(147, 181, 107, 0.4); }
.ws-offer strong { color: #dbeec4; }
.ws-tab { margin-top: 36px; }
.ws-tab:first-child { margin-top: 0; }
.ws-tab h2 { margin-top: 0; }
.ws-section { font-size: 1.15rem; color: var(--amber-hi); margin: 22px 0 12px; }
.ws-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ws-card { display: flex; flex-direction: column; gap: 8px; background: rgba(243, 234, 217, 0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
.ws-card.ws-off { opacity: 0.7; }
.ws-card-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.ws-card h3 { font-size: 1.15rem; margin: 0; }
.ws-card .chip { flex: none; font-size: 0.76rem; padding: 4px 10px; }
.ws-contents { margin: 0; padding-left: 1.1em; font-size: 0.95rem; }
.ws-contents li { margin-bottom: 2px; }
.ws-contents .ws-plus { color: #cfe3b5; font-weight: 700; }
.ws-small { margin: 0; font-size: 0.86rem; color: var(--muted); }
.ws-choice { display: flex; flex-direction: column; gap: 4px; font-size: 0.86rem; color: var(--muted); }
.ws-choice select { min-height: 44px; padding: 8px 10px; border-radius: 10px; font: 400 0.95rem/1.2 var(--sans); color: var(--cream); background: rgba(10, 7, 5, 0.6); border: 1px solid rgba(243, 234, 217, 0.35); }
.ws-choice select option { color: #1b1006; background: #f3ead9; }
.ws-card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ws-price { font: 700 1.2rem/1 var(--sans); color: var(--cream); }
.ws-card .btn { min-height: 44px; padding: 10px 18px; }
.ws-card .btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.ws-msg { margin: 0; font-size: 0.9rem; font-weight: 700; }
.ws-msg:empty { display: none; }
.ws-wide { max-width: var(--wrap); }
