/* =====================================================================
   Arithmo Slayer — promotional landing page (/promo/)
   Brand tokens mirror the game UI: dark forest/ink, ivory text, brass
   accents. Display type is monospace (like the game HUD), body copy is a
   system serif for the paper-theatre feel. No external fonts, ever.
   ===================================================================== */

:root {
  --ink-950: #091411;
  --ink-900: #10211b;
  --forest-850: #18352d;
  --forest-800: #20463a;
  --ivory: #f3ead6;
  --ivory-muted: #d3ccb9;
  --brass: #c49a48;
  --brass-light: #e4c577;
  --brass-deep: #80602d;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --radius-sm: 10px;
  --hairline: rgba(196, 154, 72, 0.32);
  --hairline-soft: rgba(196, 154, 72, 0.16);
  --panel: linear-gradient(162deg, #13261f 0%, #0d1c17 55%, #0b1713 100%);
  --panel-raised: linear-gradient(162deg, #1a3129 0%, #10221b 60%, #0c1a15 100%);
  --shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
  /* --header-inner-h is the min-height of .header-inner; the 1px bottom
     border makes the sticky header 1px taller. --header-h is the real
     rendered height and is what scroll-margin-top has to clear. Both are
     overridden at max-width: 900px, where the nav moves to its own row. */
  --header-inner-h: 75px;
  --header-h: calc(var(--header-inner-h) + 1px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1200px 620px at 50% -12%, rgba(32, 70, 58, 0.55), transparent 70%),
    radial-gradient(900px 500px at 92% 18%, rgba(196, 154, 72, 0.09), transparent 72%),
    linear-gradient(180deg, #0b1a15 0%, #091411 45%, #08120f 100%);
  background-attachment: fixed;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.1rem);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Vignette + scanline grain, purely decorative, never interactive. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(3, 8, 6, 0.74) 100%);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: #f6dfa8;
}

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

::selection {
  background: var(--brass);
  color: #10180f;
}

h1,
h2,
h3,
h4 {
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

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

/* Kernel for "Level 1–2": an en dash is a line-break opportunity, so the
   range must be kept together explicitly. */
.nb {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  min-height: 44px;
  background: var(--brass);
  color: #10180f;
  font-family: var(--mono);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.18s ease;
}

.skip-link:focus-visible,
.skip-link:focus {
  top: 0;
  color: #10180f;
}

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

.wrap-narrow {
  width: min(840px, 100% - var(--gutter) * 2);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.5em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-image: linear-gradient(180deg, var(--brass-light), var(--brass) 62%, var(--brass-deep));
  color: #14170e;
  box-shadow: 0 10px 30px -12px rgba(196, 154, 72, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #0c1109;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(228, 197, 119, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-brass {
  background-image: linear-gradient(180deg, #f2dfae, var(--brass-light) 45%, var(--brass));
  color: #12160d;
  box-shadow: 0 12px 30px -14px rgba(228, 197, 119, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-brass:hover,
.btn-brass:focus-visible {
  color: #0c1109;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(243, 234, 214, 0.04);
  border-color: var(--hairline);
  color: var(--ivory);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--ivory);
  border-color: var(--brass);
  background: rgba(196, 154, 72, 0.14);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 44px;
  padding: 0.5em 1.1em;
  font-size: 0.82rem;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(9, 20, 17, 0.96), rgba(9, 20, 17, 0.82));
  border-bottom: 1px solid var(--hairline-soft);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.header-inner {
  width: min(var(--max) + 2rem, 100% - var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 26px);
  min-height: var(--header-inner-h);
  padding-block: 6px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 2px;
}

.wordmark img {
  height: clamp(26px, 3.2vw, 38px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav ul::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.72em;
  border-radius: 999px;
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brass-light);
  background: rgba(196, 154, 72, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(243, 234, 214, 0.04);
  color: var(--brass-light);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.lang-toggle:hover {
  background: rgba(196, 154, 72, 0.16);
  border-color: var(--brass);
  color: var(--ivory);
}

.no-js #promo-lang-toggle {
  display: none;
}

/* ------------------------------------------------------------------- hero */

.hero {
  /* The village band owns the lower part of the hero; the copy is centred in
     whatever space is left, so text and art can never collide. */
  --village-h: clamp(150px, 26vh, 300px);
  position: relative;
  min-height: clamp(600px, 94svh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(24px, 5vh, 56px) calc(var(--village-h) + clamp(16px, 4vh, 40px));
  isolation: isolate;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.layer {
  position: absolute;
  will-change: transform;
}

.layer-sky {
  top: -8%;
  left: -2%;
  width: 104%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.66) contrast(1.08);
}

/* Warm sunrise bloom + darkening keeps ivory text readable over the art. */
.layer-sunrise {
  inset: 0;
  background:
    radial-gradient(48% 40% at 72% 40%, rgba(255, 206, 132, 0.3), transparent 68%),
    linear-gradient(180deg, rgba(9, 20, 17, 0.76) 0%, rgba(10, 24, 20, 0.34) 30%, rgba(9, 20, 17, 0.58) 66%, var(--ink-950) 96%),
    linear-gradient(100deg, rgba(9, 20, 17, 0.95) 2%, rgba(10, 26, 22, 0.62) 42%, rgba(10, 26, 22, 0.12) 78%);
}

.layer-village {
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: var(--village-h);
  object-fit: cover;
  object-position: 50% 100%;
  filter: brightness(0.6) saturate(0.85) drop-shadow(0 -10px 40px rgba(0, 0, 0, 0.7));
}

.layer-village {
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: var(--village-h);
  object-fit: cover;
  object-position: 50% 100%;
  filter: brightness(0.6) saturate(0.85) drop-shadow(0 -10px 40px rgba(0, 0, 0, 0.7));
}

/* Hero poster: the title art takes two thirds of the row, the phone the
   rest. Each column centres its own content, so art and device stay
   optically aligned regardless of their intrinsic sizes. */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  text-align: center;
}

/* Soft ink bloom keeps the headline readable wherever the art is brightest. */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -12% -10% -8%;
  z-index: -1;
  background: radial-gradient(58% 62% at 50% 42%, rgba(6, 14, 11, 0.78), rgba(6, 14, 11, 0.32) 58%, transparent 78%);
  filter: blur(20px);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 0.9em;
  color: var(--brass);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: clamp(20px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}

/* The hero is a centred poster, so its kicker gets a mirrored rule. */
.hero-copy .kicker {
  justify-content: center;
}

.hero-copy .kicker::after {
  content: "";
  width: clamp(20px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--brass));
}

.hero-logo-wrap {
  position: relative;
  display: block;
  width: clamp(200px, 33vw, 440px);
  margin-inline: auto;
  margin-bottom: clamp(10px, 2vw, 22px);
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background: radial-gradient(closest-side, rgba(228, 197, 119, 0.32), transparent 72%);
  filter: blur(18px);
  animation: glow-pulse 6.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 22px rgba(196, 154, 72, 0.35));
  animation: logo-float 8s ease-in-out infinite;
}

.hero-logo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 34%, rgba(255, 248, 224, 0.55) 47%, rgba(255, 248, 224, 0.08) 54%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: logo-shine 7s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(1.45rem, 3.7vw, 2.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.55em;
  background-image: linear-gradient(180deg, #fff8e6 0%, var(--brass-light) 58%, var(--brass) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.6));
}

.hero-sub {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 0.96rem + 0.35vw, 1.2rem);
  margin-bottom: 1.6em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0.9em;
}

/* The open beta is the primary offer: it comes first, filled like the primary
   button, on its own centred row. The store badges follow as coming-soon
   markers and the browser link closes the block as the secondary action. */
.hero-beta-row {
  flex: 1 0 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 2px;
}

.hero-beta {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15em 0.6em;
  max-width: 100%;
  padding: 0.72em 1.5em;
  border: 1px solid rgba(255, 248, 224, 0.7);
  border-radius: 999px;
  background-image: linear-gradient(180deg, var(--brass-light), var(--brass) 62%, var(--brass-deep));
  color: #14170e;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 26px -4px rgba(228, 197, 119, 0.7),
    0 0 64px -20px rgba(228, 197, 119, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: hero-beta-glow 3.8s ease-in-out infinite;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

/* Soft halo behind the pill: the box-shadow stays crisp on the border, this
   one bleeds into the backdrop so the offer reads as lit, not just outlined. */
.hero-beta::before {
  content: "";
  position: absolute;
  inset: -16px -12px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(62% 120% at 50% 50%, rgba(228, 197, 119, 0.5), transparent 72%);
  filter: blur(10px);
  opacity: 0.75;
  pointer-events: none;
  animation: hero-beta-halo 3.8s ease-in-out infinite;
}

.hero-beta:hover,
.hero-beta:focus-visible {
  color: #0c1109;
  border-color: #fff8e6;
  transform: translateY(-1px);
}

.hero-beta-label {
  color: #2b1d05;
  font-weight: 700;
}

.hero-beta-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #14170e;
  box-shadow: 0 0 0 3px rgba(20, 23, 14, 0.16);
  animation: hero-beta-pulse 2.2s ease-in-out infinite;
}

.hero-beta-arrow {
  color: #2b1d05;
}

/* The browser game is the secondary action now: it closes the CTA block on
   its own row, below the store badges. */
.hero-browser-row {
  flex: 1 0 100%;
  display: flex;
  justify-content: center;
  margin: 2px 0 0;
}

@keyframes hero-beta-glow {
  0%,
  100% {
    box-shadow:
      0 0 20px -6px rgba(228, 197, 119, 0.55),
      0 0 54px -24px rgba(228, 197, 119, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow:
      0 0 34px -2px rgba(228, 197, 119, 0.9),
      0 0 80px -16px rgba(228, 197, 119, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@keyframes hero-beta-halo {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@keyframes hero-beta-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Google Play stays a disabled marker until the Android release; the iOS app
   is live and links out from the official Apple badge. */
.btn-store {
  gap: 0.55em;
  padding: 0.7em 1.15em;
  border-style: dashed;
  border-color: var(--hairline);
  background: rgba(9, 20, 17, 0.55);
  color: var(--ivory-muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  cursor: default;
  backdrop-filter: blur(4px);
}

.btn-store:disabled {
  opacity: 1;
  color: var(--ivory-muted);
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.store-badge-link img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 100%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.store-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero-links {
  margin: 0 0 0.7em;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.hero-print {
  margin: 0;
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* -------------------------------------------------------------- sections */

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}

.section + .section {
  border-top: 1px solid var(--hairline-soft);
}

.section-head {
  max-width: 70ch;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.45em;
  color: var(--ivory);
}

.section-head h2::after {
  content: "";
  display: block;
  width: clamp(48px, 8vw, 96px);
  height: 2px;
  margin-top: 0.5em;
  background: linear-gradient(90deg, var(--brass), transparent);
}

.lead {
  color: var(--ivory-muted);
  font-size: clamp(1rem, 0.97rem + 0.32vw, 1.14rem);
  max-width: 66ch;
  margin-bottom: 0;
}

/* --------------------------------------------------------- generationen */

.gen-grid {
  display: grid;
  /* Always one row of three: an auto-fit grid leaves the third card alone on
     a second row between 640 and 900 px, which breaks the "one series" look. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  align-items: stretch;
}

.gen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 26px);
  background-image: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.gen-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(196, 154, 72, 0.12);
}

/* Stage as the backdrop, hero figure standing on its bottom edge. Same
   aspect ratio and hero baseline on all three cards so they read as a
   series; nothing is stretched (both layers keep object-fit). */
.gen-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.1em;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  background: #0a1512;
  isolation: isolate;
}

.gen-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 20, 17, 0.1) 0%, transparent 42%, rgba(9, 20, 17, 0.62) 100%);
}

.gen-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
  filter: saturate(0.94) brightness(0.9);
}

.gen-hero {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 78%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
}

.gen-card h3 {
  font-size: clamp(1.05rem, 1vw + 0.7vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass-light);
  margin-bottom: 0.35em;
}

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

/* Small print under the cards: the stage names are difficulty levels, so the
   content-based store rating sits right next to them instead of being left
   to the App Store page. */
.gen-note {
  max-width: 72ch;
  margin: clamp(14px, 2vw, 20px) 0 0;
  padding-left: clamp(12px, 1.6vw, 18px);
  border-left: 2px solid var(--hairline);
  color: var(--ivory-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- kunst */

.section-art {
  background:
    linear-gradient(180deg, rgba(24, 53, 45, 0.42) 0%, rgba(9, 20, 17, 0.1) 45%, transparent 100%);
}

/* Story wrap-up above the filmstrip: the only long-form paragraph on the
   page, so it gets a brass rule and a slightly larger serif. */
.art-story {
  max-width: 74ch;
  margin: -0.4em 0 clamp(28px, 4vw, 46px);
  padding-left: clamp(14px, 2vw, 24px);
  border-left: 2px solid var(--brass-deep);
  color: var(--ivory-muted);
  font-size: clamp(1rem, 0.97rem + 0.28vw, 1.12rem);
  line-height: 1.72;
}

/* Both looping ribbons (acts and gameplay) are real scroll containers with
   native touch, trackpad, wheel and mouse-drag panning. The content is
   duplicated once; JS wraps scrollLeft at half the track. */
[data-pannable-band] {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
}

[data-pannable-band]::-webkit-scrollbar {
  display: none;
}

[data-pannable-band].is-dragging {
  cursor: grabbing;
  user-select: none;
}

[data-band-track] {
  display: flex;
  width: max-content;
}

.act-band {
  --band-gap: clamp(10px, 1.6vw, 20px);
  margin-bottom: clamp(30px, 4vw, 56px);
}

.shot-band {
  --band-gap: clamp(10px, 1.4vw, 18px);
  padding-block: clamp(18px, 2.6vw, 34px);
}

.act-band-viewport {
  padding: 6px var(--gutter);
  padding-bottom: 20px;
}

/* The gallery is static: one row that shares the section column, so the five
   phones line up with the copy and cards above and below. On portrait screens
   it stays a manual horizontal scroller so each capture keeps a legible size. */
.shot-band-viewport {
  width: min(calc(var(--max) + var(--gutter) * 2), 100%);
  margin-inline: auto;
  padding: 22px var(--gutter) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.shot-band-viewport::-webkit-scrollbar {
  display: none;
}

.act-band-set {
  display: flex;
  gap: var(--band-gap);
  /* The trailing gap makes each set exactly half the track, so wrapping
     scrollLeft at half width lands on identical content. */
  padding-right: var(--band-gap);
}

.shot-band-set {
  display: flex;
  gap: var(--band-gap);
  /* Portrait rows keep their natural width and scroll instead of shrinking;
     when the row is narrower than the column it centres instead of hanging
     off the left edge. */
  width: max-content;
  margin-inline: auto;
}

.frame {
  position: relative;
  flex: 0 0 clamp(300px, 43vw, 570px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  background: #0a1512;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  transition: filter 0.3s ease;
  filter: saturate(0.9) brightness(0.94);
}

.frame:hover img {
  filter: saturate(1.05) brightness(1.03);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 32%, rgba(9, 20, 17, 0.9) 100%);
}

.frame figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  padding-right: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.frame .frame-teaser {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 34px;
  z-index: 1;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ivory);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* Gameplay gallery: five full portrait app captures as CSS phone bodies. It is
   static — no loop — and on landscape/desktop the row fills the section column.
   On phones it scrolls sideways at a legible size. */
.shot-band .section-head {
  margin-bottom: clamp(14px, 2vw, 24px);
}

.shot-band-title {
  font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.45rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 0.4em;
}

.shot-band-title::after {
  content: "";
  display: block;
  width: clamp(40px, 6vw, 76px);
  height: 2px;
  margin-top: 0.5em;
  background: linear-gradient(90deg, var(--brass), transparent);
}

.shot-frame {
  /* Portrait screens keep a legible phone: two to three captures visible, the
     rest a swipe away. Filling the column here would shrink them to unreadable
     slivers, and the height term keeps a landscape phone from turning the row
     into a wall of screenshots. */
  flex: 0 0 clamp(110px, min(38vw, 26vh), 170px);
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  margin: 0;
}

.shot-frame .phone {
  max-width: 100%;
  padding: clamp(6px, 0.9vw, 10px);
  border-radius: clamp(20px, 2.2vw, 30px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.shot-frame .phone-notch {
  top: clamp(10px, 1.3vw, 16px);
  width: 34%;
  height: clamp(4px, 0.5vw, 6px);
}

.shot-frame .phone-screen {
  border-radius: clamp(15px, 1.7vw, 24px);
}

.shot-frame .phone-screen img {
  transition: filter 0.28s ease;
}

.shot-frame figcaption {
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.28s ease;
}

/* Hover highlight: the pointed-at capture lifts and picks up the same brass
   glow the page uses on its interactive art. */
@media (hover: hover) {
  .shot-frame:hover .phone {
    transform: translateY(-4px);
    border-color: rgba(233, 199, 122, 0.72);
    box-shadow:
      0 0 0 1px rgba(233, 199, 122, 0.42),
      0 0 26px -2px rgba(196, 154, 72, 0.5),
      0 0 64px -12px rgba(196, 154, 72, 0.4),
      0 34px 70px -34px rgba(0, 0, 0, 0.95);
  }

  .shot-frame:hover .phone-screen img {
    filter: saturate(1.05) brightness(1.06);
  }

  .shot-frame:hover figcaption {
    color: var(--brass-light);
  }
}

/* From landscape/desktop up the row fills the section column, so the five
   captures line up with the generations grid below. Short landscape windows
   keep the scroller above, where the height term in the frame width applies. */
@media (min-width: 900px) and (min-height: 560px) {
  .shot-band-set {
    width: 100%;
  }

  .shot-frame {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Without the automatic advance the duplicate set is just a second copy. */
  .act-band-set[aria-hidden="true"] {
    display: none;
  }
}

.art-grid {
  display: grid;
  /* One panel per row: the action stills need the width for a readable
     3-up row, and the fiend parade plus dragon read better large. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}

.art-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 30px);
  background-image: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.art-panel h3 {
  font-size: clamp(1.05rem, 1vw + 0.7vw, 1.32rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brass-light);
}

.art-panel p {
  color: var(--ivory-muted);
  font-size: 0.97rem;
}

/* Three action stills in one panel: a 3-up row on desktop that stacks on
   narrow screens. Each still keeps its 16:9 ratio, captions sit below. */
.action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  margin-top: 0.3em;
}

.action-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.action-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.95);
  filter: saturate(0.96) brightness(0.96);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.action-shot:hover img {
  filter: saturate(1.06) brightness(1.04);
  transform: translateY(-2px);
}

.action-shot figcaption {
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.fiend-parade {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin: 1.2em 0;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(32, 70, 58, 0.35), rgba(9, 20, 17, 0.65));
}

.fiend-parade img {
  height: clamp(46px, 6vw, 68px);
  width: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
  /* Each sprite canvas carries a different amount of transparent rows below
     the feet; shifting by that share puts every character on one baseline. */
  transform: translateY(var(--sprite-foot, 0%));
}

.fiend-parade li:nth-child(1) img {
  --sprite-foot: 0%;
}

.fiend-parade li:nth-child(2) img {
  --sprite-foot: 0%;
}

.fiend-parade li:nth-child(3) img {
  --sprite-foot: 1.2%;
}

.fiend-parade li:nth-child(4) img {
  --sprite-foot: 5.6%;
}

.fiend-parade li:nth-child(5) img {
  --sprite-foot: 0%;
}

.fiend-parade li:hover img {
  transform: translateY(calc(var(--sprite-foot, 0%) - 4px)) scale(1.05);
}

.dragon-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
}

.dragon-figure img {
  width: 100%;
  height: auto;
  filter: saturate(0.9) brightness(0.88);
}

.dragon-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 20, 17, 0.82) 100%);
}

.dragon-figure figcaption {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 10px;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------------- spiel */

.difficulty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.diff-card {
  position: relative;
  padding: clamp(16px, 1.8vw, 24px);
  background-image: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.diff-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent 85%);
}

.diff-card:hover {
  transform: translateY(-3px);
  border-color: var(--hairline);
}

/* Icon block above the name: a shape trio for Shapes, one to three swords
   for the difficulties. All glyphs share a baseline and stay decorative —
   the count is repeated in a visually hidden sentence. */
.diff-icons {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
  margin-bottom: 0.55em;
  color: var(--brass-light);
}

.diff-icons svg {
  display: block;
  flex: 0 0 auto;
}

.diff-card[data-difficulty="shapes"] .diff-icons {
  color: var(--brass);
}

.diff-name {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.15rem, 1vw + 0.9vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ivory);
}

.diff-meta {
  display: block;
  margin: 0.15em 0 0.7em;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.diff-card p {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.94rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(12px, 1.8vw, 22px);
  margin-bottom: clamp(26px, 4vw, 40px);
}

.feature {
  padding-left: 1.9em;
  position: relative;
}

.feature::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--brass);
  font-size: 1.05rem;
  line-height: 1.4;
}

.feature:nth-child(1)::before {
  content: "✦";
}

.feature:nth-child(2)::before {
  content: "✚";
}

.feature:nth-child(3)::before {
  content: "❖";
}

.feature:nth-child(4)::before {
  content: "★";
}

.feature h3 {
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 0.3em;
}

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

/* Training section: the seven practice modes, then the Basics Math block with
 * its three sets. Same panel/hairline tokens as the rest of the page, so the
 * section reads as one more room of the same house. */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 1.8vw, 22px);
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  list-style: none;
}

.training-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-sm);
  background-image: var(--panel);
}

.training-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.training-text {
  color: var(--ivory-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.training-highlight {
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background-image: var(--panel-raised);
}

.training-highlight-head {
  max-width: 66ch;
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.training-highlight-head h3 {
  margin: 0.1em 0 0.35em;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1vw + 1rem, 1.7rem);
  color: var(--ivory);
}

.training-highlight-lead {
  margin: 0;
  color: var(--ivory-muted);
}

.training-sets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding: 0;
  list-style: none;
}

.training-set {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-sm);
  background: rgba(9, 20, 17, 0.55);
}

.training-set-tag {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
}

.training-set-range {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.training-set-ex {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--brass);
}

.training-set-note {
  font-size: 0.85rem;
  color: var(--ivory-muted);
}

.training-facts {
  margin-bottom: clamp(10px, 2vw, 18px);
}

.training-cta {
  margin: 0;
}

/* hold-to-heal illustration: left quarter highlighted, 9s charge bar */
.heal-demo {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  background-image: var(--panel);
}

.heal-playfield {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, #0e221b, #0a1712);
  overflow: hidden;
}

.heal-zone {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: linear-gradient(90deg, rgba(196, 154, 72, 0.35), rgba(196, 154, 72, 0.08));
  border-right: 1px dashed rgba(228, 197, 119, 0.6);
}

.heal-foe {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7fa86f, #23381f 70%);
  box-shadow: 0 0 0 3px rgba(196, 154, 72, 0.25);
}

.heal-heart {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass-light);
  font-size: 1.5rem;
  text-shadow: 0 0 18px rgba(228, 197, 119, 0.8);
}

.heal-bar {
  height: 8px;
  margin-top: 12px;
  border-radius: 99px;
  background: rgba(243, 234, 214, 0.12);
  overflow: hidden;
}

.heal-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-light));
}

.heal-demo figcaption {
  margin-top: 10px;
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.heal-demo.is-in .heal-fill {
  animation: heal-charge 9s linear forwards;
}

/* --------------------------------------------------------------- preise */

.section-prices {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(196, 154, 72, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(24, 53, 45, 0.45), transparent 60%);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  align-items: stretch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.6vw, 34px);
  background-image: var(--panel-raised);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline);
}

.price-card--app {
  border-color: rgba(228, 197, 119, 0.55);
  box-shadow: 0 30px 70px -34px rgba(196, 154, 72, 0.55), var(--shadow);
}

.price-card--app::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(228, 197, 119, 0.85), rgba(196, 154, 72, 0.1) 45%, rgba(228, 197, 119, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.price-tag {
  align-self: flex-start;
  margin: 0 0 0.9em;
  padding: 0.34em 0.85em;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price-tag--hot {
  border-color: transparent;
  background-image: linear-gradient(180deg, var(--brass-light), var(--brass));
  color: #13170e;
  box-shadow: 0 8px 22px -10px rgba(228, 197, 119, 0.9);
}

.price-card h3 {
  font-size: clamp(1.2rem, 1vw + 0.9vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4em;
}

.price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em;
  margin: 0 0 0.5em;
}

.amount {
  font-family: var(--mono);
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background-image: linear-gradient(180deg, #fff8e6, var(--brass-light) 55%, var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.period {
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-note {
  margin: 0 0 1.2em;
  color: var(--ivory-muted);
  font-size: 0.85rem;
}

.price-features {
  flex: 1 1 auto;
  margin-bottom: 1.4em;
  display: grid;
  gap: 0.55em;
  align-content: start;
}

.price-features li {
  position: relative;
  padding-left: 1.6em;
  color: var(--ivory);
  font-size: 0.96rem;
  line-height: 1.5;
}

.price-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brass);
  font-size: 0.85rem;
}

.price-card .btn {
  align-self: stretch;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.1em;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 0.4em 0.9em;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  background: rgba(9, 20, 17, 0.45);
  cursor: default;
}

.store-badge-app {
  color: var(--brass-light);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The iOS chip is a real link: solid instead of dashed, brass on hover. */
.store-badge--live {
  border-style: solid;
  border-color: rgba(228, 197, 119, 0.45);
  color: var(--ivory);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.store-badge--live:hover,
.store-badge--live:focus-visible {
  border-color: var(--brass-light);
  background: rgba(228, 197, 119, 0.14);
  transform: translateY(-1px);
}

.store-badge-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  background-image: var(--panel);
  box-shadow: var(--shadow);
}

.compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare caption {
  padding: 16px clamp(14px, 2vw, 22px) 10px;
  text-align: left;
  color: var(--brass-light);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare th,
.compare td {
  padding: 12px clamp(12px, 1.8vw, 20px);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--hairline-soft);
}

.compare thead th {
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare thead th:nth-child(3) {
  color: var(--brass-light);
}

.compare tbody th {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ivory-muted);
  font-size: 0.9rem;
}

.compare tbody td {
  color: var(--ivory);
}

.compare tbody td:nth-child(3) {
  background: rgba(196, 154, 72, 0.07);
  color: var(--ivory);
}

.compare tbody tr:hover td,
.compare tbody tr:hover th {
  background: rgba(243, 234, 214, 0.04);
}

.compare tbody tr:hover td:nth-child(3) {
  background: rgba(196, 154, 72, 0.13);
}

.prices-footnote {
  margin: 1.2em 0 0;
  color: var(--ivory-muted);
  font-size: 0.82rem;
  max-width: 80ch;
}

/* -------------------------------------------------------------- familie */

.section-family {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(24, 53, 45, 0.55), rgba(9, 20, 17, 0.85));
}

.family-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.7) brightness(0.7);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 60%, transparent);
  pointer-events: none;
}

.family-inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* The phone mockup moved into the hero, so this section is a single
     column again. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.family-copy {
  min-width: 0;
}

/* Phone chrome built in CSS: rounded body, bezel, speaker/notch and a subtle
   screen glare. No frame image, no external asset. */
.hero-phone {
  margin: 0;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(100%, 300px);
}

.phone {
  position: relative;
  padding: 10px;
  border-radius: 34px;
  border: 1px solid rgba(196, 154, 72, 0.42);
  background:
    linear-gradient(155deg, #2b2f2b 0%, #141a16 42%, #0a120e 100%);
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(243, 234, 214, 0.08),
    inset 0 1px 0 rgba(243, 234, 214, 0.16);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: rgba(9, 20, 17, 0.92);
  box-shadow: inset 0 0 0 1px rgba(243, 234, 214, 0.1);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #050a08;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Screen glare, kept very faint so the screenshot stays readable. */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 46%);
}

.hero-phone figcaption {
  margin-top: 0.75em;
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0.85;
}

.family-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vw, 16px);
  margin-bottom: 0.6em;
}

.profile-card {
  display: grid;
  justify-items: center;
  gap: 0.3em;
  width: clamp(112px, 18vw, 150px);
  padding: 16px 10px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(243, 234, 214, 0.06), rgba(9, 20, 17, 0.55));
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
}

.profile-card--device {
  border-color: rgba(228, 197, 119, 0.5);
  background: linear-gradient(180deg, rgba(196, 154, 72, 0.18), rgba(9, 20, 17, 0.6));
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: radial-gradient(circle at 35% 30%, rgba(228, 197, 119, 0.4), rgba(9, 20, 17, 0.9) 70%);
  color: var(--brass-light);
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Head portraits as profile pictures: fixed optical size regardless of the
   source dimensions (256/240/232), round crop, thin brass ring. */
.avatar--photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: 50% 32%;
  background: radial-gradient(circle at 50% 40%, rgba(32, 70, 58, 0.9), rgba(9, 20, 17, 0.95) 72%);
  box-shadow: 0 0 0 3px rgba(196, 154, 72, 0.14);
}

.avatar--device {
  color: var(--ivory);
}

.profile-name {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
}

.profile-meta {
  color: var(--ivory-muted);
  font-size: 0.7rem;
  line-height: 1.35;
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

.demo-note {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.family-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.family-points li {
  display: flex;
  flex-direction: column;
}

/* "Wechsel auf dem Titelbildschirm" wraps to two lines, the others do not;
   reserve the space so all four paragraphs start on the same line. */
.family-points h3 {
  min-height: 2.3em;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 0.3em;
}

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

.family-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.family-cta .store-badges {
  margin-bottom: 0;
}

.family-badge {
  margin: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ faq */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-sm);
  background-image: var(--panel);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--hairline);
}

.faq-item:hover {
  border-color: var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  min-height: 56px;
  padding: 14px clamp(14px, 2vw, 22px);
  cursor: pointer;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brass);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.faq-item p {
  margin: 0;
  padding: 0 clamp(14px, 2vw, 22px) 18px;
  color: var(--ivory-muted);
  font-size: 0.96rem;
  max-width: 70ch;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  padding-block: clamp(40px, 6vw, 70px) 24px;
  border-top: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(9, 20, 17, 0.6), rgba(5, 11, 9, 0.95));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.footer-brand img {
  height: clamp(42px, 6vw, 62px);
  width: auto;
  margin-bottom: 0.8em;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

.footer-brand p {
  color: var(--ivory-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col h2 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8em;
}

.footer-col ul {
  display: grid;
  gap: 2px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ivory-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--brass-light);
  text-decoration: underline;
}

.footer-col p {
  color: var(--ivory-muted);
  font-size: 0.9rem;
}

.footer-mail {
  font-family: var(--mono);
  font-size: 0.9rem;
}

.footer-copy {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ivory-muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* --------------------------------------------------------- follow on Facebook */

.section-follow {
  padding-block: clamp(40px, 6vw, 72px);
}

.follow-card {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(22px, 3.4vw, 36px) clamp(22px, 4vw, 44px);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(32, 70, 58, 0.78), rgba(16, 33, 27, 0.92));
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.8);
}

.follow-logo {
  flex: none;
  width: clamp(52px, 7vw, 72px);
  height: auto;
}

.follow-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.follow-copy h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ivory);
  margin-bottom: 0.35em;
}

.follow-copy p {
  color: var(--ivory-muted);
  max-width: 62ch;
}

.follow-btn {
  flex: none;
}

.btn-logo,
.footer-logo {
  flex: none;
  display: block;
  border-radius: 50%;
}

/* own line under the mail address; .footer-col a would otherwise keep it inline-flex beside it */
.footer-col .footer-social {
  display: flex;
  width: fit-content;
  gap: 0.55em;
}

@media (max-width: 720px) {
  .follow-card {
    flex-direction: column;
    text-align: center;
  }

  .follow-btn {
    width: 100%;
  }
}

/* --------------------------------------------------------- anchors/motion */

[tabindex="-1"]:focus,
#main:focus {
  outline: none;
}

#hero,
#generationen,
#kunst,
#spiel,
#preise,
#familie,
#faq,
#folgen {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes logo-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(0.4deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes logo-shine {
  0%,
  62% {
    background-position: 140% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@keyframes heal-charge {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 4px 10px;
    padding-block: 8px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  .header-actions {
    margin-left: auto;
  }

  :root {
    --header-inner-h: 119px;
  }

  /* The hero stacks: title art first, phone below it. */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-phone {
    width: min(240px, 100%);
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .gen-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding-block: 28px calc(var(--village-h) + 16px);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero {
    --village-h: 132px;
  }

  .layer-village {
    height: var(--village-h);
    object-position: 45% 100%;
    opacity: 0.9;
  }

  .hero-logo-wrap {
    width: min(320px, 78vw);
  }

  /* Long kickers ("A mental-math adventure in six acts") must stay on one
     line so the mirrored rules keep framing the words. */
  .hero-copy .kicker {
    gap: 0.45em;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .hero-copy .kicker::before,
  .hero-copy .kicker::after {
    width: 20px;
  }

  /* The gold call to action keeps the full row; the two store badges share
     the next row so nothing gets cramped at 320 px. */
  /* The beta pill is the primary action now, so the browser button is the one
     that has to fit a full row on a phone. */
  .hero-browser-row .btn {
    flex: 1 1 100%;
  }

  .hero-ctas .btn-store {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-ctas .btn-store span {
    overflow-wrap: anywhere;
  }

  /* The beta pill's label is long; tighten it before it eats three lines. */
  .hero-beta {
    padding: 0.5em 0.9em;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .action-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    padding-inline: 1.1em;
  }

  .frame {
    flex-basis: min(78vw, 340px);
  }

  .profile-card {
    width: calc(50% - 8px);
    max-width: 160px;
  }

  .family-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-nav a {
    padding: 0 0.45em;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 380px) {
  .wordmark img {
    height: 24px;
  }

  .btn-sm {
    padding-inline: 0.8em;
    font-size: 0.74rem;
  }

  .hero h1 {
    font-size: 1.42rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --max: 1240px;
  }
}

/* --------------------------------------------------------- reduced motion */

/* A patrol of fiends walks the path between two sections. Decorative only:
 * every fiend is an eight-frame walk strip from the game (fiend-walk/), played
 * by scrolling the background one frame at a time, so the legs actually move.
 * The game art faces left, so each strip is mirrored to walk to the right. */
.patrol {
  position: relative;
  height: clamp(48px, 6vw, 74px);
  margin: clamp(6px, 1.6vw, 14px) 0;
  overflow: hidden;
  pointer-events: none;
}

.patrol-fiend {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: clamp(40px, 4.2vw, 58px);
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5));
  translate: -16vw 0;
  animation: patrol-march 38s linear infinite, patrol-bob 0.85s ease-in-out infinite alternate;
}

/* The strip: eight frames side by side. background-size 800% makes one frame
 * exactly as wide as the box, so the eight keyframe positions below step
 * through the cycle without fractional frames. --sprite-foot carries the same
 * per-sprite baseline offset the art section uses. */
.patrol-fiend::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 800% auto;
  background-position: 0 bottom;
  transform: scaleX(-1) translateY(var(--sprite-foot, 0%));
  animation: patrol-walk 0.88s linear infinite;
}

.patrol-fiend:nth-child(2) {
  animation-delay: -5.43s, -0.3s;
}

.patrol-fiend:nth-child(3) {
  animation-delay: -10.86s, -0.55s;
}

.patrol-fiend:nth-child(4) {
  animation-delay: -16.29s, -0.15s;
}

.patrol-fiend:nth-child(5) {
  animation-delay: -21.71s, -0.42s;
}

.patrol-fiend:nth-child(6) {
  animation-delay: -27.14s, -0.62s;
}

.patrol-fiend:nth-child(7) {
  animation-delay: -32.57s, -0.22s;
}

@keyframes patrol-march {
  from {
    translate: -16vw 0;
  }

  to {
    translate: 116vw 0;
  }
}

@keyframes patrol-bob {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-3px);
  }
}

/* Eight discrete frames: with an 800%-wide strip, frame k sits at
 * k * 100/7 percent, held for one eighth of the cycle. */
@keyframes patrol-walk {
  0%,
  12.49% {
    background-position-x: 0%;
  }

  12.5%,
  24.99% {
    background-position-x: 14.2857%;
  }

  25%,
  37.49% {
    background-position-x: 28.5714%;
  }

  37.5%,
  49.99% {
    background-position-x: 42.8571%;
  }

  50%,
  62.49% {
    background-position-x: 57.1429%;
  }

  62.5%,
  74.99% {
    background-position-x: 71.4286%;
  }

  75%,
  87.49% {
    background-position-x: 85.7143%;
  }

  87.5%,
  100% {
    background-position-x: 100%;
  }
}

.patrol-fiend--a::before {
  background-image: url('/game/fiend-walk/set1-01.webp');
}

.patrol-fiend--b::before {
  background-image: url('/game/fiend-walk/set1-08.webp');
}

.patrol-fiend--c::before {
  background-image: url('/game/fiend-walk/set2-05.webp');
  --sprite-foot: 1.2%;
}

.patrol-fiend--d::before {
  background-image: url('/game/fiend-walk/set3-04.webp');
  --sprite-foot: 5.6%;
}

.patrol-fiend--e::before {
  background-image: url('/game/fiend-walk/set3-11.webp');
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  /* Without movement the fiends would sit at the end of their path; park them
   * as a still row instead, on the first walk frame. */
  .patrol-fiend,
  .patrol-fiend::before {
    animation: none !important;
    animation-duration: 0s !important;
  }

  .patrol-fiend {
    translate: none !important;
    transform: none !important;
  }

  .patrol-fiend::before {
    background-position-x: 0% !important;
  }

  .patrol-fiend:nth-child(1) {
    left: 8%;
  }

  .patrol-fiend:nth-child(2) {
    left: 22%;
  }

  .patrol-fiend:nth-child(3) {
    left: 36%;
  }

  .patrol-fiend:nth-child(4) {
    left: 50%;
  }

  .patrol-fiend:nth-child(5) {
    left: 64%;
  }

  .patrol-fiend:nth-child(6) {
    left: 78%;
  }

  .patrol-fiend:nth-child(7) {
    left: 90%;
  }

  .hero-logo,
  .hero-logo-shine,
  .hero-logo-wrap::before {
    animation: none !important;
  }

  /* Keep the beta pill visible but static: the glow is decoration, not news. */
  .hero-beta,
  .hero-beta::before,
  .hero-beta-dot {
    animation: none !important;
  }

  .hero-beta {
    box-shadow:
      0 0 26px -4px rgba(228, 197, 119, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .hero-beta::before {
    opacity: 0.75;
    transform: none;
  }

  .hero-beta-dot {
    opacity: 1;
    transform: none;
  }

  .hero-logo-shine {
    opacity: 0;
  }

  .heal-fill {
    width: 100%;
  }

  /* Store links lift on hover; without motion they still change colour. */
  .store-badge-link,
  .store-badge--live {
    transition: none;
  }

  .store-badge-link:hover,
  .store-badge-link:focus-visible,
  .store-badge--live:hover,
  .store-badge--live:focus-visible {
    transform: none;
  }
}

/* Campaign II (#genie): the ancient dragon flanks the campaign's name like the game's switch
   picture, then the eight five-level acts as a grid with one worked example each. */
.camp-emblem {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 3vw, 32px);
  margin: clamp(18px, 3vw, 32px) auto;
}

.camp-emblem img {
  height: clamp(110px, 18vw, 190px);
  width: auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55));
}

.camp-emblem-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
  text-align: center;
}

.camp-emblem-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.camp-emblem-title {
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
}

.camp-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 0 0 clamp(18px, 3vw, 32px);
  padding: 0;
  list-style: none;
}

.camp-topics--six {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.camp-topic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-soft);
  background: var(--panel);
}

.camp-topic-levels {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.camp-topic-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
}

.camp-topic-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ivory-muted);
}

.camp-topic-ex {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ivory-muted);
}
