/* ==========================================================================
   Potion of Enlightenment — site stylesheet
   Night sky, herbal greens and candle-gold. No JavaScript, no external requests.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL Open Font License; see /fonts/OFL-*.txt) ---- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-sans-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/alegreya-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/alegreya-sans-700.woff2") format("woff2");
}

/* ---- Design tokens ---- */
:root {
  /* Night */
  --ink-0: #07080d;
  --ink-1: #0c0e17;
  --ink-2: #121624;
  --ink-3: #1a2033;
  --ink-4: #262d45;
  --plum: #241a36;

  /* Candle gold */
  --gold: #e8c071;
  --gold-bright: #f3d99a;
  --gold-deep: #b98a3e;
  --gold-line: rgb(232 192 113 / 0.24);
  --gold-line-strong: rgb(232 192 113 / 0.5);

  /* Herbal green */
  --herb: #8cc5a0;
  --herb-bright: #a8e0bb;
  --herb-deep: #3f7a5a;
  --herb-glow: rgb(95 158 120 / 0.22);

  /* Text */
  --text: #ece4d0;
  --text-muted: #bdb6a6;
  --text-dim: #949cab;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Alegreya Sans", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 72rem;
  --wrap-mid: 56rem;
  --wrap-narrow: 44rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --header-h: 4.5rem;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ink-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

/* Night sky: soft herbal and violet glows, a scatter of stars and a faint paper grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgb(243 217 154 / 0.7), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgb(243 217 154 / 0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 42%, rgb(243 217 154 / 0.45), transparent 60%),
    radial-gradient(1px 1px at 34% 66%, rgb(168 224 187 / 0.5), transparent 60%),
    radial-gradient(1px 1px at 88% 74%, rgb(243 217 154 / 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 88%, rgb(243 217 154 / 0.35), transparent 60%),
    radial-gradient(1px 1px at 52% 8%, rgb(236 228 208 / 0.5), transparent 60%),
    radial-gradient(60rem 40rem at 8% -10%, var(--herb-glow), transparent 70%),
    radial-gradient(50rem 36rem at 105% 5%, rgb(84 58 122 / 0.28), transparent 70%),
    radial-gradient(70rem 50rem at 50% 120%, rgb(36 26 54 / 0.9), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--ink-1), var(--ink-0));
  background-size: 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, auto, auto, auto, 160px 160px, auto;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--gold-bright);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--gold-bright);
  text-decoration-line: underline;
  text-decoration-color: rgb(243 217 154 / 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--herb-bright);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--herb-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgb(232 192 113 / 0.35);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap.mid {
  max-width: calc(var(--wrap-mid) + 2 * var(--gutter));
}

.wrap.narrow {
  max-width: calc(var(--wrap-narrow) + 2 * var(--gutter));
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink-0);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(12 14 23 / 0.82);
  border-bottom: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-bright);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  color: var(--gold-bright);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid var(--gold);
  transform: translate(-50%, 50%) rotate(45deg) scale(0);
  transition: transform 0.2s;
}

.site-nav a:hover {
  color: var(--gold-bright);
}

.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  transform: translate(-50%, 50%) rotate(45deg) scale(1);
}

.site-nav a[aria-current] {
  color: var(--gold-bright);
}

.site-nav a[aria-current="page"]::after {
  background: var(--gold);
}

@media (max-width: 47.99rem) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 40rem) {
  .header-inner {
    padding-block: 0.65rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    gap: 0.25rem 1.25rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }
}

/* ---- Buttons ---- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.actions-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-small {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
}

.btn-primary {
  color: #1d1406;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, #d7a952);
  border-color: rgb(255 236 190 / 0.6);
  box-shadow: 0 0 0 1px rgb(185 138 62 / 0.5), 0 10px 30px -12px rgb(232 192 113 / 0.65);
}

.btn-primary:hover {
  color: #1d1406;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgb(185 138 62 / 0.6), 0 14px 34px -10px rgb(232 192 113 / 0.8);
}

.btn-secondary {
  color: var(--gold-bright);
  background: rgb(18 22 36 / 0.6);
  border-color: var(--gold-line-strong);
}

.btn-secondary:hover {
  color: var(--herb-bright);
  border-color: var(--herb);
  background: rgb(63 122 90 / 0.18);
}

.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

/* ---- Ornaments ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 20rem;
  margin: 1.25rem auto 1.75rem;
  color: var(--gold);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line-strong));
}

.divider::after {
  background: linear-gradient(270deg, transparent, var(--gold-line-strong));
}

.divider-gem {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: var(--ink-1);
  box-shadow: 0 0 12px rgb(232 192 113 / 0.35);
}

.divider-gem::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--gold);
}

.divider-start {
  margin-left: 0;
}

.divider-start::before {
  flex: 0 0 1.5rem;
  background: linear-gradient(90deg, var(--gold-line-strong), var(--gold-line-strong));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--herb);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
}

/* Bracket corners shared by panels and cards. */
.ornate,
.feature-card,
.cta-panel,
.factsheet,
.empty-state {
  position: relative;
}

.feature-card::before,
.cta-panel::before,
.factsheet::before,
.empty-state::before {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  opacity: 0.75;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 14px 1px,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 14px,
    linear-gradient(var(--gold), var(--gold)) top right / 14px 1px,
    linear-gradient(var(--gold), var(--gold)) top right / 1px 14px,
    linear-gradient(var(--gold), var(--gold)) bottom left / 14px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1px 14px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 14px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 14px;
  background-repeat: no-repeat;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--gold-line);
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(28rem 28rem at 76% 46%, rgb(232 192 113 / 0.12), transparent 70%),
    radial-gradient(40rem 26rem at 20% 100%, rgb(63 122 90 / 0.22), transparent 70%);
}

.hero-sky::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6rem;
  background: linear-gradient(180deg, transparent, rgb(7 8 13 / 0.5));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2rem 3rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.75rem, 6.5vw + 0.75rem, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--gold-bright);
  background: linear-gradient(180deg, #fbeccb 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-title-a {
  display: block;
}

.hero-title-of {
  font-style: italic;
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  vertical-align: 0.35em;
}

.hero-tagline {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  line-height: 1.3;
  color: var(--herb-bright);
}

.hero .divider {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-art {
  display: grid;
  place-items: center;
}

.sigil {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.sigil::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(232 192 113 / 0.16), rgb(63 122 90 / 0.08) 45%, transparent 68%);
}

.sigil-ring {
  position: absolute;
  border-radius: 50%;
}

.sigil-ring-outer {
  inset: 2%;
  border: 1px solid var(--gold-line-strong);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23e8c071' stroke-opacity='.4' stroke-width='.35'%3E%3Ccircle cx='50' cy='50' r='44'/%3E%3Cpath d='M50 6 88.1 72H11.9Z'/%3E%3Cpath d='M50 94 11.9 28h76.2Z' stroke-opacity='.22'/%3E%3Ccircle cx='50' cy='6' r='1.6' fill='%23e8c071' fill-opacity='.6'/%3E%3Ccircle cx='88.1' cy='72' r='1.6' fill='%23e8c071' fill-opacity='.6'/%3E%3Ccircle cx='11.9' cy='72' r='1.6' fill='%23e8c071' fill-opacity='.6'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  animation: sigil-turn 240s linear infinite;
}

.sigil-ring-inner {
  inset: 17%;
  background: repeating-conic-gradient(from 0deg, rgb(232 192 113 / 0.55) 0 0.6deg, transparent 0.6deg 10deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 10px), #000 calc(100% - 9px) calc(100% - 1px), transparent 100%);
  mask: radial-gradient(circle closest-side, transparent calc(100% - 10px), #000 calc(100% - 9px) calc(100% - 1px), transparent 100%);
  animation: sigil-turn 180s linear infinite reverse;
}

.sigil-mark {
  position: relative;
  width: 52%;
  height: auto;
  filter: drop-shadow(0 0 28px rgb(232 192 113 / 0.35)) drop-shadow(0 0 60px rgb(95 158 120 / 0.25));
  animation: sigil-float 7s ease-in-out infinite;
}

@keyframes sigil-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sigil-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 52rem) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-art {
    order: -1;
  }

  .sigil {
    width: min(70%, 16rem);
  }

  .hero .divider-start {
    margin-inline: auto;
  }

  .hero .divider-start::before {
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold-line-strong));
  }

  .hero .actions {
    justify-content: center;
  }
}

/* ---- Sections ---- */
.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section-title {
  font-size: clamp(2rem, 2.5vw + 1.2rem, 2.9rem);
  text-align: center;
  margin-bottom: 0.25em;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--gold-line);
}

.section-head-row .section-title {
  text-align: left;
  margin: 0;
}

.more-link {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.section-pitch {
  text-align: center;
}

.section-pitch .section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1rem auto 1.5rem;
  background: var(--gold-line-strong);
}

.section-features {
  background: linear-gradient(180deg, transparent, rgb(18 22 36 / 0.6) 20%, rgb(18 22 36 / 0.6) 80%, transparent);
}

/* ---- Prose (Markdown) ---- */
.prose {
  max-width: 68ch;
}

.section-pitch .prose,
.lead.prose,
.not-found .lead {
  margin-inline: auto;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose-lead {
  font-size: 1.15em;
  color: var(--text);
}

.prose h2 {
  font-size: 1.9rem;
  margin-top: 1.6em;
}

.prose h3 {
  font-size: 1.45rem;
  margin-top: 1.4em;
}

.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  margin: 0 0 1em;
}

.prose li::marker {
  color: var(--gold);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.3em;
  font-style: italic;
  color: var(--gold-bright);
}

.prose img {
  margin: 1.5em 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}

.prose hr {
  border: 0;
  height: 1px;
  margin: 2.5em auto;
  max-width: 20rem;
  background: linear-gradient(90deg, transparent, var(--gold-line-strong), transparent);
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--ink-3);
  font-size: 0.9em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th,
.prose td {
  padding: 0.5em 0.75em;
  border-bottom: 1px solid var(--gold-line);
  text-align: left;
}

.lead {
  font-size: 1.2em;
  color: var(--text-muted);
}

/* ---- Page header ---- */
.page-header {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(2.6rem, 4vw + 1.25rem, 4.25rem);
  line-height: 1.05;
}

.page-header .divider {
  margin-bottom: 1.25rem;
}

/* ---- Features ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  padding: 2.25rem 1.75rem 1.75rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background:
    radial-gradient(18rem 10rem at 50% 0%, rgb(232 192 113 / 0.07), transparent 70%),
    linear-gradient(180deg, rgb(26 32 51 / 0.85), rgb(18 22 36 / 0.85));
  text-align: center;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.1rem;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
  color: var(--herb-bright);
  background: radial-gradient(circle, rgb(95 158 120 / 0.2), transparent 70%);
  box-shadow: 0 0 0 5px rgb(12 14 23 / 0.8), 0 0 0 6px var(--gold-line);
}

.feature-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.feature-title {
  font-size: 1.6rem;
  margin-bottom: 0.4em;
}

/* ---- Screenshots ---- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.shot {
  margin: 0;
}

.shot-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.9);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.shot-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shot-link:hover {
  border-color: var(--gold-line-strong);
  box-shadow: 0 0 0 1px var(--gold-line), 0 22px 46px -22px rgb(232 192 113 / 0.35);
}

.shot-link:hover img {
  transform: scale(1.03);
}

.shot-link:focus-visible {
  border-radius: var(--radius);
}

.shot figcaption {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Trailer ---- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius);
  background: var(--ink-0);
  box-shadow: 0 0 0 6px rgb(12 14 23 / 0.9), 0 0 0 7px var(--gold-line), 0 30px 60px -30px rgb(0 0 0 / 0.9);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgb(232 192 113 / 0.12), transparent 60%),
    var(--ink-2);
}

.fine-print {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
}

/* ---- Empty states ---- */
.empty-state {
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  border: 1px dashed var(--gold-line-strong);
  border-radius: var(--radius);
  background: radial-gradient(30rem 14rem at 50% 0%, rgb(95 158 120 / 0.1), transparent 70%), rgb(18 22 36 / 0.55);
  text-align: center;
}

.empty-sigil {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
  color: var(--gold);
}

.empty-sigil .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.empty-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.empty-text {
  color: var(--text-muted);
}

.empty-text p {
  margin: 0;
}

/* ---- News ---- */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list > li + li {
  border-top: 1px solid var(--gold-line);
}

.news-card {
  position: relative;
  padding: 1.5rem 0;
}

.news-date {
  margin: 0 0 0.3rem;
  color: var(--herb);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2rem);
}

.news-title a {
  color: var(--gold-bright);
  text-decoration: none;
}

.news-title a::after {
  /* Make the whole card clickable without nesting links. */
  content: "";
  position: absolute;
  inset: 0;
}

.news-title a:hover {
  color: var(--herb-bright);
}

.news-title a:focus-visible {
  outline: none;
}

.news-title a:focus-visible::after {
  outline: 2px solid var(--herb-bright);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.news-summary {
  margin: 0;
  color: var(--text-muted);
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--gold-line);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-decoration: none;
}

.post-nav-label {
  font-family: var(--font-body);
  color: var(--herb);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- Press kit ---- */
.press-grid {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: start;
}

.factsheet {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(26 32 51 / 0.85), rgb(18 22 36 / 0.85));
}

.panel-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.factsheet dl {
  margin: 0;
}

.factsheet dl > div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--gold-line);
}

.factsheet dt {
  color: var(--herb);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.factsheet dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

.press-main > section {
  margin-top: 2.75rem;
}

.press-main h2 {
  font-size: 1.9rem;
}

.download-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgb(18 22 36 / 0.7);
  font-weight: 500;
  text-decoration: none;
}

.download .icon {
  flex: none;
  color: var(--herb);
}

.download:hover {
  border-color: var(--gold-line-strong);
  background: rgb(26 32 51 / 0.9);
}

@media (max-width: 52rem) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- FAQ ---- */
.faq-list {
  border-bottom: 1px solid var(--gold-line);
}

.faq-item {
  border-top: 1px solid var(--gold-line);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 1.25rem 3rem 1.25rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--gold);
  transition: transform 0.25s;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item summary:hover .faq-q {
  color: var(--herb-bright);
}

.faq-q {
  display: inline;
  margin: 0;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem);
  transition: color 0.2s;
}

.faq-a {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
}

.faq-more {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ---- Call to action ---- */
.cta-panel {
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(26rem 14rem at 50% 0%, rgb(232 192 113 / 0.13), transparent 70%),
    radial-gradient(26rem 14rem at 50% 100%, rgb(63 122 90 / 0.2), transparent 70%),
    linear-gradient(180deg, rgb(26 32 51 / 0.9), rgb(18 22 36 / 0.9));
  box-shadow: 0 30px 70px -40px rgb(0 0 0 / 0.95);
}

.cta-panel p {
  max-width: 34rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
}

/* ---- 404 ---- */
.not-found {
  text-align: center;
}

.not-found-code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-shadow: 0 0 40px rgb(232 192 113 / 0.25);
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 2rem;
  padding: 1rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgb(7 8 13 / 0.7));
  color: var(--text-muted);
  font-size: 0.98rem;
}

.site-footer .divider {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  flex: none;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.15;
}

.footer-tagline {
  margin: 0.2rem 0 0;
  font-style: italic;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--herb);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-line);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
}

@media (max-width: 47.99rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---- Accessibility preferences ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .shot-link:hover img,
  .btn-primary:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero-title {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }

  .not-found-code {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }

  .btn {
    border: 1px solid ButtonText;
  }
}

@media print {
  body::before,
  .site-header,
  .hero-art,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  h1,
  h2,
  h3 {
    color: #000;
  }
}
