/* wickletash.com: one stylesheet for every page. The game's colours (charcoal, gold flame, ember, Ashwood's dusk), its
   fonts (Alegreya for titles and the story's voice, Alegreya Sans for the rest) and its thin gold frames with sparks. */

@font-face { font-family: "Alegreya"; src: url("/assets/fonts/alegreya-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/assets/fonts/alegreya-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0d0b10;
  --bg-2: #141119;
  --bg-3: #1b1721;
  --text: #f1e8d8;
  --text-2: #cdc2b0;
  --text-3: #9c9288;
  --gold: #f4c25b;
  --gold-2: #e5a23e;
  --gold-3: #ffe3a1;
  --ember: #e65a2e;
  --ember-2: #a8321d;
  --line: rgba(244, 194, 91, 0.24);
  --line-2: rgba(244, 194, 91, 0.5);
  --serif: "Alegreya", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Alegreya Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1200px;
  --text-col: 720px;
  --radius: 14px;
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.6 5.2 3.6 8.6 10 10-6.4 1.4-9.4 4.8-10 10-.6-5.2-3.6-8.6-10-10C6.4 8.6 9.4 5.2 10 0z' fill='%23f4c25b'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 500 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(244, 194, 91, 0.35); color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; color: var(--text); line-height: 1.12; margin: 0; }
p { margin: 0; }

/* Two languages in every page; the head script picks one (saved choice, the address, the browser). Without JavaScript
   both show, English first. */
html[data-lang="en"] .tr, html[data-lang="tr"] .en { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1208; padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}
.top.is-solid, .page .top {
  background: rgba(13, 11, 16, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(244, 194, 91, 0.14);
}
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand:hover { color: var(--gold-3); }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(244, 170, 60, 0.45)); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-3); background: rgba(244, 194, 91, 0.08); }
.langs { display: inline-flex; margin-left: 6px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs button {
  appearance: none; border: 0; background: transparent; color: var(--text-3); cursor: pointer;
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.08em; padding: 7px 10px; border-radius: 999px;
}
.langs button[aria-pressed="true"] { background: var(--gold); color: #1d1406; }
.langs button:not([aria-pressed="true"]):hover { color: var(--text); }
@media (max-width: 640px) {
  .nav .nav-anchor { display: none; }
  .brand span { font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  color: var(--text); border: 1px solid var(--line-2); background: rgba(20, 17, 25, 0.55);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover { color: #1d1406; background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.btn--solid { color: #1d1406; background: linear-gradient(180deg, var(--gold-3), var(--gold) 55%, var(--gold-2)); border-color: transparent; }
.btn--solid:hover { background: var(--gold-3); }
.btn .ico { width: 20px; height: 20px; }

/* The game's own UI icons (white PNGs) drawn in any colour as masks. */
.ico { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- Kickers, headings, frames ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.78rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2);
}
.kicker::before { content: ""; width: 14px; height: 14px; background: var(--spark) center / contain no-repeat; }
.title {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); letter-spacing: -0.005em;
  background: linear-gradient(180deg, var(--gold-3) 0%, var(--gold) 48%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); max-width: 38rem; }
.voice { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text); }

.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(27, 23, 33, 0.92), rgba(16, 13, 20, 0.92)); }
.frame::before, .frame::after { content: ""; position: absolute; width: 16px; height: 16px; background: var(--spark) center / contain no-repeat; pointer-events: none; }
.frame::before { top: -8px; left: 22px; }
.frame::after { bottom: -8px; right: 22px; }

.divider { display: flex; align-items: center; gap: 14px; max-width: 280px; margin: 0 auto; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.divider::after { transform: scaleX(-1); }
.divider i { width: 14px; height: 14px; background: var(--spark) center / contain no-repeat; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 620px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { display: block; z-index: -2; }
.hero-art img { object-fit: cover; object-position: 60% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 9, 13, 0.88) 0%, rgba(10, 9, 13, 0.62) 30%, rgba(10, 9, 13, 0.08) 58%, rgba(10, 9, 13, 0) 70%),
    linear-gradient(180deg, rgba(13, 11, 16, 0.55) 0%, rgba(13, 11, 16, 0) 22%, rgba(13, 11, 16, 0) 72%, var(--bg) 100%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero-copy { max-width: 540px; display: grid; gap: 18px; justify-items: start; }
.hero-logo { width: clamp(280px, 32vw, 500px); margin-left: -1.5%; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.55)); }
.hero-sub { font: 700 clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem)/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.hero-hook { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); line-height: 1.4; max-width: 30rem; text-wrap: pretty; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero-platforms { color: var(--text-2); font-weight: 700; letter-spacing: 0.04em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 1; translate: -50% 0;
  width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold); border-radius: 999px;
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue .ico { width: 26px; height: 26px; rotate: 90deg; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.65; } 50% { transform: translateY(6px); opacity: 1; } }

@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; max-height: 86svh; }
  .hero-art img { position: absolute; object-position: 50% 40%; }
  .hero::before {
    height: auto; aspect-ratio: 4 / 5; max-height: 86svh; bottom: auto;
    background: linear-gradient(180deg, rgba(13, 11, 16, 0.45) 0%, rgba(13, 11, 16, 0) 18%, rgba(13, 11, 16, 0) 52%, rgba(13, 11, 16, 0.85) 82%, var(--bg) 100%);
  }
  .embers { height: min(125vw, 86svh); }
  .hero-in { margin-top: max(-36vw, -260px); padding-top: 0; padding-bottom: 56px; }
  .hero-copy { justify-items: center; text-align: center; margin-inline: auto; }
  .hero-logo { width: min(74vw, 360px); margin-left: 0; }
  .hero-hook { font-size: clamp(1.15rem, 0.9rem + 1.6vw, 1.45rem); }
  .stores { justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* The story, over Ashwood at night in three layers. */
.story { position: relative; overflow: hidden; min-height: clamp(560px, 92vh, 920px); display: flex; align-items: flex-start; isolation: isolate; }
.story-layers { position: absolute; inset: -9% 0 -9% 0; z-index: -1; }
.story-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 100%; will-change: transform; }
.story::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 18% 28%, rgba(13, 11, 16, 0.72), rgba(13, 11, 16, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, rgba(13, 11, 16, 0) 18%, rgba(13, 11, 16, 0) 78%, var(--bg) 100%);
}
.story-in { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 160px); padding-bottom: 120px; }
.story-copy { max-width: 560px; display: grid; gap: 22px; }
.story-copy .voice { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.5; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); text-wrap: pretty; }
@media (max-width: 760px) {
  .story { min-height: 0; display: block; }
  .story-layers { position: relative; inset: auto; aspect-ratio: 7 / 6; margin-top: 0; }
  .story-layers img { object-position: 64% 100%; }
  .story::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 11, 16, 0) 22%, rgba(13, 11, 16, 0) 60%, var(--bg) 100%); }
  .story-in { padding-top: 0; margin-top: -10vw; padding-bottom: 64px; }
}

/* Two fires: text beside the flame of Wicklet's head. */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.flame-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.flame-art::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(255, 196, 92, 0.42), rgba(230, 90, 46, 0.16) 42%, rgba(13, 11, 16, 0) 70%);
  animation: glow 3.6s ease-in-out infinite;
}
.flame-art img { position: relative; width: 74%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
@keyframes glow { 0%, 100% { opacity: 0.82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.moves { display: grid; gap: 10px; margin-top: 26px; }
.moves ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.moves li { font-weight: 700; font-size: 0.95rem; color: var(--text); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(27, 23, 33, 0.7); }
.moves li.hot { border-color: rgba(244, 194, 91, 0.55); color: var(--gold-3); background: rgba(244, 166, 60, 0.1); }
.moves .label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }

/* Ten realms. */
.realms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .realms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.realm { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-3); border: 1px solid rgba(244, 194, 91, 0.16); isolation: isolate; }
.realm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; z-index: -1; }
.realm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 13, 0) 35%, rgba(10, 9, 13, 0.9) 100%); }
.realm:hover img { transform: scale(1.05); }
.realm-text { position: absolute; left: 14px; right: 12px; bottom: 12px; display: grid; gap: 2px; }
.realm-n { font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.realm-name { font-family: var(--serif); font-weight: 800; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem); color: var(--text); line-height: 1.15; }
.realm--last { background: radial-gradient(ellipse 90% 70% at 50% 115%, rgba(230, 90, 46, 0.62), rgba(120, 30, 18, 0.25) 45%, rgba(13, 11, 16, 0) 72%), #110c0f; }
.realm--last::before { content: ""; position: absolute; left: 50%; top: 40%; width: 34px; height: 34px; translate: -50% -50%; background: var(--spark) center / contain no-repeat; opacity: 0.85; animation: glow 3s ease-in-out infinite; }
.realms-note { margin-top: 18px; color: var(--text-3); font-size: 0.95rem; }

/* Lantern and moth. */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.panel { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; align-content: start; }
.panel-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.panel-art { height: 220px; display: grid; place-items: center; position: relative; margin-bottom: 4px; }
.panel-art .halo { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 92, 0.38), rgba(230, 120, 46, 0.1) 50%, rgba(13, 11, 16, 0) 70%); animation: glow 3.2s ease-in-out infinite; }
.panel-art .ico { position: relative; width: 96px; height: 96px; color: var(--gold-3); filter: drop-shadow(0 0 18px rgba(255, 190, 80, 0.75)); }
.panel-art img.moth { position: relative; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; -webkit-mask: radial-gradient(circle, #000 52%, transparent 71%); mask: radial-gradient(circle, #000 52%, transparent 71%); }

/* Grow stronger. */
.grow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 980px) { .grow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grow { grid-template-columns: 1fr; } }
.grow li { padding: 26px 22px 24px; display: grid; gap: 12px; align-content: start; }
.grow .ico { width: 40px; height: 40px; color: var(--gold); }
.grow h3 { font-size: 1.25rem; }
.grow p { font-size: 1rem; }

/* Purchases note and the motto. */
.buy { max-width: 860px; margin-inline: auto; padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: start; }
.buy .ico { width: 38px; height: 38px; color: var(--gold); margin-top: 2px; }
.buy h2 { font-size: 1.35rem; margin-bottom: 8px; }
.buy p + p { margin-top: 8px; }
.buy p { font-size: 1rem; }
@media (max-width: 520px) { .buy { grid-template-columns: 1fr; } }
.motto { position: relative; overflow: hidden; text-align: center; padding-block: clamp(96px, 14vw, 180px); isolation: isolate; }
.motto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(230, 120, 46, 0.2), rgba(13, 11, 16, 0) 70%); }
.motto .embers { z-index: -1; }
.motto-in { display: grid; gap: 22px; justify-items: center; }
.motto img { width: 112px; height: 112px; filter: drop-shadow(0 0 26px rgba(255, 180, 70, 0.55)); animation: glow 3.4s ease-in-out infinite; }
.motto .voice { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.8rem); line-height: 1.1; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid rgba(244, 194, 91, 0.12); background: #0a090c; padding-block: 34px calc(34px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.foot nav a:hover { color: var(--gold-3); }
.foot small { color: var(--text-3); font-size: 0.9rem; }
.foot small a { color: var(--text-2); text-decoration: none; }
.foot small a:hover { color: var(--gold-3); }

/* ---------- Document pages (privacy, terms, support, account deletion) ---------- */
.page main { padding-top: calc(64px + env(safe-area-inset-top)); }
.doc-head { padding-block: clamp(48px, 7vw, 88px) clamp(20px, 3vw, 32px); position: relative; isolation: isolate; }
.doc-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(230, 120, 46, 0.12), rgba(13, 11, 16, 0) 70%); }
.doc-head .wrap, .doc .wrap { max-width: calc(var(--text-col) + 2 * var(--gutter)); }
.doc-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); margin: 14px 0 10px; }
.doc-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 1.05rem; color: var(--gold); }
.doc-brand::before { content: ""; width: 14px; height: 14px; background: var(--spark) center / contain no-repeat; }
.doc-date { color: var(--text-3); font-size: 0.95rem; }
.doc { padding-bottom: clamp(64px, 9vw, 120px); }
.doc article { display: grid; gap: 0; }
.doc h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); margin: 2.2em 0 0.6em; padding-top: 0.2em; }
.doc h3 { font-family: var(--sans); font-weight: 700; font-size: 1.12rem; color: var(--text); margin: 1.6em 0 0.4em; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 0.85em; }
.doc ul, .doc ol { margin: 0.6em 0 0; padding-left: 1.3em; }
.doc li { margin: 0.35em 0; }
.doc li::marker { color: var(--gold-2); }
.doc strong { color: var(--text); font-weight: 700; }
.doc .intro { font-size: 1.12rem; color: var(--text); }
.doc .box { margin-top: 28px; padding: 22px 26px 24px; }
.doc .box h2 { margin: 0 0 6px; font-size: 1.3rem; }
.doc .see { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid rgba(244, 194, 91, 0.14); color: var(--text-3); }
.doc .path { color: var(--text); font-weight: 700; white-space: nowrap; }
.doc .steps { list-style: none; counter-reset: step; padding: 0; margin-top: 1em; display: grid; gap: 14px; }
.doc .steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 0; min-height: 34px; }
.doc .steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 700 0.95rem/1 var(--sans); color: #1d1406;
  background: linear-gradient(180deg, var(--gold-3), var(--gold) 55%, var(--gold-2));
}
.doc .cta { margin-top: 1.6em; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 26px; margin-top: 8px; }
.contact-card p { color: var(--text); font-size: 1.05rem; max-width: 34rem; }
.topics { display: grid; gap: 14px; margin-top: 30px; }
.topic { padding: 22px 26px 24px; }
.topic h2 { margin: 0 0 10px; font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.topic h2 .ico { width: 26px; height: 26px; color: var(--gold); }
.topic ul { padding-left: 1.2em; }

/* ---------- Not found ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; position: relative; isolation: isolate; overflow: hidden; }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 45% at 50% 55%, rgba(230, 120, 46, 0.16), rgba(13, 11, 16, 0) 70%); }
.lost-in { display: grid; gap: 18px; justify-items: center; max-width: 34rem; }
.lost img { width: 96px; height: 96px; opacity: 0.85; filter: grayscale(0.4) drop-shadow(0 0 18px rgba(255, 180, 70, 0.35)); }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }

/* ---------- Reveal on scroll (only with JavaScript, never with reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue, .flame-art::before, .panel-art .halo, .realm--last::before, .motto img { animation: none; }
  .realm img { transition: none; }
}
