/* Bone Lantern — studio site styles */

:root {
  --bg: #0b0907;
  --bg-raised: #15110c;
  --surface: #1b150f;
  --line: rgba(236, 227, 208, 0.12);
  --text: #ece3d0;
  --muted: #a89b84;
  --amber: #f2a93b;
  --amber-bright: #ffd27a;
  --ember: #e0662a;
  --ink: #1a1006;
  --radius: 14px;
  --max: 1120px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-bright);
}

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

::selection {
  background: var(--amber);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
  color: var(--ink);
}

.container {
  width: min(100% - 2 * clamp(16px, 4vw, 40px), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(11, 9, 7, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

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

.brand img {
  width: auto;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(242, 169, 59, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The Wishlist button at the end of the menu (it beats .nav-links a's colours). */
.nav-links .nav-cta,
.nav-links .nav-cta:hover {
  padding: 9px 18px;
  color: var(--ink);
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* The menu folds behind the button below 900px (with the game's name and the
   Wishlist button it no longer fits on one line on a portrait tablet). */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 16px;
    background: rgba(11, 9, 7, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .nav-links .nav-cta {
    display: flex;
    margin-top: 8px;
    padding: 12px;
  }
}

/* ---------- Buttons & tags ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  color: var(--ink);
  box-shadow: 0 8px 30px -8px rgba(242, 169, 59, 0.55);
}

.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 40px -6px rgba(242, 169, 59, 0.75);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(236, 227, 208, 0.28);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--amber);
  background: rgba(242, 169, 59, 0.08);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(242, 169, 59, 0.35);
  border-radius: 999px;
  background: rgba(242, 169, 59, 0.08);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 96px;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: -2;
  width: min(940px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(242, 169, 59, 0.3) 0%,
    rgba(224, 102, 42, 0.11) 30%,
    rgba(11, 9, 7, 0) 62%
  );
  animation: flicker 5s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0) 65%, var(--bg) 100%);
  pointer-events: none;
}

/* The intro screen's mark. Its lantern sits at 77% of the image's width (the arm
   reaches in from the left), so it is shifted to put the lantern on the center line,
   and it swings from the ring, like the game's studio sting. */
.hero-lantern {
  width: clamp(150px, 22vw, 240px);
  height: auto;
  margin: 0 auto 30px;
  translate: -27% 0;
  filter: drop-shadow(0 0 28px rgba(242, 169, 59, 0.5));
  transform-origin: 75% 30%;
  animation: sway 6s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8.5vw, 5.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 44px rgba(242, 169, 59, 0.28);
}

.hero-tagline {
  max-width: 36ch;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* "Now announced" pill above the lantern */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 14px;
  border: 1px solid rgba(242, 169, 59, 0.4);
  border-radius: 999px;
  background: rgba(11, 9, 7, 0.55);
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.announce:hover {
  color: var(--text);
  border-color: var(--amber);
  background: rgba(242, 169, 59, 0.1);
}

.announce strong {
  color: var(--amber-bright);
  font-weight: 600;
}

.announce svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px 2px rgba(242, 169, 59, 0.7);
  opacity: 0;
  animation: rise linear infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Keep the small labels amber where a block greys its paragraphs. */
.section-head .eyebrow,
.about-text .eyebrow,
.contact-card .eyebrow {
  color: var(--amber);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- Game feature ---------- */

.game {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

/* The wide banner: Steam library art, slowly drifting, with the game's wordmark on it. */
.game-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: end center;
  /* About 21:9 on wide screens and taller on phones. (Not aspect-ratio + min-height:
     the min-height would turn into a min-width and push the page sideways.) */
  height: clamp(240px, 42vw, 480px);
  margin-bottom: clamp(36px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(224, 102, 42, 0.4);
}

.game-banner-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 26s ease-in-out infinite alternate;
}

.game-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0) 30%, rgba(11, 9, 7, 0.88) 100%);
}

.game-banner h2 {
  margin: 0;
  padding: 0 20px clamp(18px, 3.5vw, 36px);
}

.game-banner h2 img {
  width: min(460px, 72vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.85));
}

.game p {
  margin: 0;
  color: var(--muted);
}

.game .game-lead {
  margin: 18px 0 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.3;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.game-meta {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.game-meta li {
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.game-meta span:first-child {
  min-width: 110px;
  color: var(--muted);
}

/* How it plays: gameplay loops that play while they're on screen (main.js). */
.features-head {
  margin-top: clamp(72px, 10vw, 120px);
}

.features-head h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition: border-color 0.25s, transform 0.25s;
}

.feature:hover {
  border-color: rgba(242, 169, 59, 0.35);
  transform: translateY(-3px);
}

.feature-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
}

.clip {
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.clip video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 22px 24px 26px;
}

.feature-wide .feature-text {
  padding: clamp(22px, 3vw, 40px);
}

.feature h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.feature-wide h4 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Screenshots */
.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: clamp(56px, 8vw, 96px) 0 18px;
}

.gallery-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: 0.03em;
}

.gallery-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.6s ease, filter 0.3s;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.06);
  filter: none;
}

/* The closing call to wishlist */
.wishlist-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 48px);
  border: 1px solid rgba(242, 169, 59, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(242, 169, 59, 0.16), rgba(242, 169, 59, 0) 60%),
    var(--bg-raised);
}

.wishlist-band h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: 0.03em;
}

.wishlist-band p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .game,
  .feature-wide {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Screenshot viewer ---------- */

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 4vw, 48px) clamp(12px, 7vw, 96px);
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(5, 4, 3, 0.94);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: auto;
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 90px -20px #000;
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 9, 7, 0.75);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  translate: 0 -50%;
}

.lightbox-prev {
  left: clamp(6px, 2vw, 24px);
}

.lightbox-next {
  right: clamp(6px, 2vw, 24px);
}

.lightbox-close {
  top: clamp(8px, 2vw, 24px);
  right: clamp(6px, 2vw, 24px);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.about-text p {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-text .lead {
  color: var(--text);
  font-size: 1.2rem;
}

.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition: border-color 0.25s, transform 0.25s;
}

.pillar:hover {
  border-color: rgba(242, 169, 59, 0.35);
  transform: translateY(-2px);
}

.pillar-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 169, 59, 0.1);
  color: var(--amber);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* ---------- News ---------- */

.news-list {
  display: grid;
  gap: 16px;
}

.post {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.post time {
  padding-top: 5px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.post p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .post {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }
}

/* ---------- Contact ---------- */

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border: 1px solid rgba(242, 169, 59, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(242, 169, 59, 0.16), rgba(242, 169, 59, 0) 60%),
    var(--bg-raised);
  text-align: center;
}

.contact-card p {
  max-width: 46ch;
  margin: 0 auto 30px;
  color: var(--muted);
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-card .contact-note {
  margin: 24px auto 0;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: auto;
  height: 34px;
  opacity: 0.85;
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Press kit ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  padding: 150px 0 48px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  z-index: -1;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(242, 169, 59, 0.16), rgba(242, 169, 59, 0) 65%);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.75rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.page-hero p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.presskit {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.factsheet {
  position: sticky;
  top: 96px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.factsheet h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.factsheet dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.factsheet dt,
.pk-facts dt {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.factsheet dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.pk-section {
  margin-bottom: 56px;
}

.pk-section:last-child {
  margin-bottom: 0;
}

.pk-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.pk-section p {
  margin: 0 0 14px;
  color: var(--muted);
}

.pk-section .pk-lead {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.pk-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px 24px;
  margin: 22px 0 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.pk-facts dd {
  margin: 2px 0 0;
}

.pk-section .pk-note {
  padding-left: 14px;
  border-left: 2px solid rgba(242, 169, 59, 0.5);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.asset {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.asset-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg);
}

.asset-preview.on-light {
  background: var(--text);
}

.asset-preview img {
  position: absolute;
  inset: 26px;
  width: calc(100% - 52px);
  height: calc(100% - 52px);
  object-fit: contain;
}

.asset-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.92rem;
}

.asset-body span {
  color: var(--muted);
}

.asset-body a {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .presskit {
    grid-template-columns: 1fr;
  }

  .factsheet {
    position: static;
  }
}

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes flicker {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  18% { opacity: 0.86; }
  20% { opacity: 0.97; }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.035); }
  68% { opacity: 0.8; }
  70% { opacity: 0.95; }
}

@keyframes drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translateY(-1.5%); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translate(var(--drift, 20px), -100vh) scale(0.4); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

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

  html {
    scroll-behavior: auto;
  }

  .embers {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
