/* ==========================================================================
   Dead Drop landing — Apogee skeleton, Revenant palette (black / turquoise / gold)
   Every spacing value from the Apogee spec is kept verbatim; only colour,
   copy and the card contents change.
   ========================================================================== */

:root {
  --bg: #050505;
  --ink: #0a0707;
  --gold: #d6a24a;
  --gold-light: #f2d9a8;
  --gold-dark: #8f5d18;
  --turq: #35c9c0;
  --turq-light: #8ff0ea;
  --turq-dim: rgba(53, 201, 192, 0.35);
  --text: #ffffff;
  --text-80: rgba(255, 255, 255, 0.8);
  --glass-nav: rgba(10, 7, 7, 0.35);
  --glass-auth: rgba(0, 0, 0, 0.35);
  --glass-card: rgba(17, 16, 15, 0.55); /* Apogee uses 0.35; the disk is far brighter than its nebula */
  --glass-panel: rgba(17, 16, 15, 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-menu: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Suisse Int'l", "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 20px; top: -70px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Keyframes (Apogee, verbatim)
   -------------------------------------------------------------------------- */

@keyframes fade-up    { from { opacity: 0; transform: translateY(24px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fade-down  { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-left  { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-right { from { opacity: 0; transform: translateX(20px); }  to { opacity: 1; transform: translateX(0); } }
@keyframes fade-scale { from { opacity: 0; transform: scale(0.92); }       to { opacity: 1; transform: scale(1); } }
@keyframes bar-grow   { from { transform: scale(0); opacity: 0; }          to { transform: scale(1); opacity: 1; } }

.animate-fade-up, .animate-fade-down, .animate-fade-left, .animate-fade-right, .animate-fade-scale {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: var(--ease);
  animation-delay: var(--delay, 0ms);
}
.animate-fade-up    { animation-name: fade-up;    animation-duration: 0.8s; }
.animate-fade-down  { animation-name: fade-down;  animation-duration: 0.7s; }
.animate-fade-left  { animation-name: fade-left;  animation-duration: 0.8s; }
.animate-fade-right { animation-name: fade-right; animation-duration: 0.8s; }
.animate-fade-scale { animation-name: fade-scale; animation-duration: 0.9s; }
.animate-bar-grow   { animation: bar-grow 0.6s var(--ease) forwards; opacity: 0; }

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */

.glass { backdrop-filter: blur(17px); -webkit-backdrop-filter: blur(17px); }

.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--turq);
  box-shadow: 0 0 0 3px var(--turq-dim);
  vertical-align: 1px;
}

.btn-gold, .btn-ghost, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 11px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 450;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s, box-shadow 0.2s;
}
.btn-gold  { background: var(--gold); color: var(--ink); }
.btn-gold:hover  { background: var(--gold-light); }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn-outline { border: 1px solid var(--turq); color: #fff; }
.btn-outline:hover { background: rgba(53, 201, 192, 0.08); box-shadow: 0 0 18px var(--turq-dim); }

.btn-lg {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 15.5px;
}
.btn-lg.btn-outline { border-color: #fff; }
.btn-lg.btn-outline:hover { border-color: var(--turq); }
.btn-block { width: 100%; height: 50px; border-radius: 12px; font-size: 15px; }
.btn-block.btn-outline { border-color: rgba(255, 255, 255, 0.3); }

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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 2.4s ease;
}
.hero-video-ocean { opacity: 0; }
.hero.is-tide .hero-video-ocean { opacity: 1; }
.hero.is-tide #bg-hole { opacity: 0; }

.hero-inner {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Nav */

.nav {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand-word {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand-sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav-pill {
  display: none;
  height: 52px;
  padding: 0 24px;
  align-items: center;
  gap: 30px;
  background: var(--glass-nav);
  border-radius: 11px;
}
.nav-item { color: var(--text-80); font-size: 14px; line-height: 14px; transition: color 0.2s; }
.nav-item:hover, .nav-item.is-active { color: #fff; }
.nav-item.is-active { color: var(--turq-light); }

.auth-pill {
  display: none;
  height: 52px;
  padding: 3px;
  background: var(--glass-auth);
  border-radius: 13px;
  align-items: center;
  gap: 5px;
}

.burger {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--glass-nav);
  color: #fff;
  transition: background-color 0.2s;
}
.burger:hover { background: rgba(255, 255, 255, 0.1); }
.burger-icons { position: relative; width: 20px; height: 20px; }
.burger-icons svg { position: absolute; inset: 0; transition: all 0.3s ease-out; }
.ico-menu { opacity: 1; transform: rotate(0) scale(1); }
.ico-x    { opacity: 0; transform: rotate(-90deg) scale(0.75); }
.burger[aria-expanded="true"] .ico-menu { opacity: 0; transform: rotate(90deg) scale(0.75); }
.burger[aria-expanded="true"] .ico-x    { opacity: 1; transform: rotate(0) scale(1); }

/* Mobile menu (visibility toggled, never unmounted) */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  transition: visibility 0.5s var(--ease-menu);
}
.mobile-menu.is-open { visibility: visible; }

.mobile-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 0.5s;
}
.mobile-menu.is-open .mobile-backdrop { opacity: 1; }

.mobile-panel {
  position: absolute;
  top: 76px; left: 16px; right: 16px;
  background: var(--glass-panel);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  transform-origin: top;
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
  transition: all 0.5s var(--ease-menu);
}
.mobile-menu.is-open .mobile-panel { opacity: 1; transform: translateY(0) scale(1); }

.mobile-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-12px);
  transition: all 0.3s;
  transition-delay: 0ms;
}
.mobile-links a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu.is-open .mobile-links a {
  opacity: 1; transform: translateX(0);
  transition-delay: calc(100ms + var(--i, 0) * 50ms);
}
.mobile-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 20px 0; }
.mobile-ctas {
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(8px);
  transition: all 0.3s; transition-delay: 0ms;
}
.mobile-menu.is-open .mobile-ctas { opacity: 1; transform: translateY(0); transition-delay: 350ms; }

body.menu-open { overflow: hidden; }

/* Hero row */

.hero-row {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 32px 0;
  min-height: 0;
}

.hero-grid {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.copy { max-width: 593px; }

h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
}

.subhead {
  color: var(--text-80);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.3;
  max-width: 370px;
  margin-bottom: 28px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   Game card (the floating glass card)
   -------------------------------------------------------------------------- */

.game-wrap { width: 100%; max-width: 405px; margin: 0 auto; }

.game {
  width: 100%;
  border-radius: 24px;
  background: var(--glass-card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 20px 20px 20px;
  border: 1px solid rgba(214, 162, 74, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.game-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.game-title { color: #fff; font-size: 16px; font-weight: 450; line-height: 20px; margin-top: 4px; }
.meters { display: flex; gap: 12px; font-size: 11px; color: var(--text-80); white-space: nowrap; }
.meters b { color: var(--turq-light); font-weight: 450; }

/* The seal */

.seal {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: 260px;
  margin: 0 auto;
}

.seal-geometry {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.55;
}
.seal-geometry .orbit { transform-origin: 300px 300px; animation: orbit 90s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

.seal-sigil {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 14px rgba(214, 162, 74, 0.45));
  pointer-events: none;
}

.seal-nodes { position: absolute; inset: 0; }

.node {
  position: absolute;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(5, 5, 5, 0.55);
  border: 1px solid rgba(214, 162, 74, 0.35);
  transform-origin: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.node:hover:not(:disabled) { transform: scale(1.15); }
.node.is-open { color: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 162, 74, 0.18); }
.node.is-done { color: var(--ink); background: var(--turq); border-color: var(--turq-light); }
.node.is-selected { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(214, 162, 74, 0.28), 0 0 22px rgba(214, 162, 74, 0.5); color: #fff; }
.node.is-selected.is-done { box-shadow: 0 0 0 4px var(--turq-dim), 0 0 22px var(--turq-dim); }

.seal-note { font-size: 12px; color: var(--text-80); opacity: 0.8; }

/* The familiar (sprite). Hidden until a sheet is wired in main.js. */
.familiar {
  position: absolute;
  right: -14px; bottom: -10px;
  width: 96px; height: 104px;
  background-repeat: no-repeat;
  pointer-events: none;
  display: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}
.familiar.is-ready { display: block; }

/* Chat */

.chat {
  height: 150px;
  overflow-y: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 162, 74, 0.4) transparent;
}
.msg { max-width: 92%; padding: 8px 10px; border-radius: 10px; white-space: pre-wrap; word-break: break-word; }
.msg.you   { align-self: flex-end; background: rgba(53, 201, 192, 0.14); border: 1px solid rgba(53, 201, 192, 0.25); }
.msg.guard { align-self: flex-start; background: rgba(214, 162, 74, 0.08); border: 1px solid rgba(214, 162, 74, 0.18); }
.msg.system { align-self: center; font-size: 12px; color: var(--text-80); opacity: 0.85; text-align: center; }
.msg.block  { align-self: flex-start; color: var(--gold-light); font-size: 12px; }
.guard-word { display: inline-block; opacity: 0; animation: fade-up 0.35s var(--ease) forwards; animation-delay: var(--w, 0ms); }

.compose, .claim { display: flex; gap: 8px; }
.compose textarea, .claim input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 10px 12px;
  resize: none;
}
.compose textarea:focus, .claim input:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px var(--turq-dim); }
.compose textarea::placeholder, .claim input::placeholder { color: rgba(255, 255, 255, 0.4); }
.compose .btn-gold, .claim .btn-outline { height: auto; min-height: 42px; padding: 0 18px; }

.game-status { min-height: 1em; font-size: 12px; color: var(--text-80); }

/* Reveal dialog */

.reveal {
  margin: auto;
  width: min(560px, calc(100% - 32px));
  border: 1px solid rgba(214, 162, 74, 0.25);
  border-radius: 24px;
  background: rgba(10, 7, 7, 0.85);
  color: #fff;
  padding: 32px;
}
.reveal::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); }
.reveal h2 { font-size: 28px; font-weight: 400; margin: 8px 0 12px; }
.reveal-word { font-size: 16px; margin-bottom: 12px; }
.reveal-word b { color: var(--turq-light); font-weight: 450; }
.reveal-lesson { color: var(--text-80); margin-bottom: 16px; line-height: 1.5; }
.reveal details { margin-bottom: 20px; font-size: 13px; color: var(--text-80); }
.reveal pre { white-space: pre-wrap; margin-top: 8px; padding: 12px; background: rgba(0, 0, 0, 0.4); border-radius: 12px; font-size: 12px; }
.reveal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Armory
   -------------------------------------------------------------------------- */

.wrap { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

.armory {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(214, 162, 74, 0.10), transparent 70%),
    linear-gradient(180deg, #050505, #030303);
  border-top: 1px solid rgba(214, 162, 74, 0.15);
  overflow: hidden;
}
/* Obsidian, turquoise and gold stone behind the Armory, kept faint. */
.armory::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/web/texture.webp") center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.armory::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.6) 40%, rgba(5, 5, 5, 0.9));
  pointer-events: none;
}
.armory .wrap { position: relative; z-index: 1; }

.card-art {
  width: 96px; height: 96px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}
.card.is-featured .card-art { width: 128px; height: 128px; }

.reveal-art {
  width: 96px; height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 0 18px rgba(53, 201, 192, 0.45));
}

.armory-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.armory h2 { font-size: 36px; font-weight: 400; line-height: 1; margin-top: 8px; }
.armory-deck { color: var(--text-80); max-width: 520px; line-height: 1.4; }

.featured { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }

.card {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  background: rgba(17, 16, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.card:hover { border-color: rgba(53, 201, 192, 0.45); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.card.is-featured { border-color: rgba(214, 162, 74, 0.35); background: linear-gradient(160deg, rgba(214, 162, 74, 0.10), rgba(17, 16, 15, 0.6) 55%); }
.card-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 20px; font-weight: 450; line-height: 1.1; }
.card p { color: var(--text-80); font-size: 14px; line-height: 1.4; flex: 1; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { font-size: 22px; color: #fff; }
.price small { font-size: 12px; color: var(--text-80); margin-left: 4px; }
.price.free { color: var(--turq-light); font-size: 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters button {
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-80);
  font-size: 13px;
  transition: all 0.2s;
}
.filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--turq); color: #fff; }

.products { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Footer */

.foot { padding: 28px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; color: var(--text-80); }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.foot-brand { color: #fff; }
.foot a:hover { color: var(--turq-light); }

/* --------------------------------------------------------------------------
   Breakpoints: sm 640 · md 768 · lg 1024 (Apogee)
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .nav { padding: 30px 32px 0; }
  .brand img { width: 32px; height: 32px; }
  .brand-word { font-size: 26px; }
  .hero-grid { padding: 0 32px; }
  h1 { font-size: 52px; margin-bottom: 32px; }
  .subhead { font-size: 18px; margin-bottom: 40px; }
  .cta-row { gap: 16px; }
  .btn-lg { height: 51px; padding: 0 27px; font-size: 15.5px; }
  .game { border-radius: 33px; padding: 32px 32px 24px; }
  .mobile-panel { top: 86px; left: 24px; right: 24px; padding: 32px; }
  .featured { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .armory h2 { font-size: 48px; }
}

@media (min-width: 768px) {
  .nav { padding-left: 82px; padding-right: 82px; }
  .hero-grid { padding: 0 82px; }
  h1 { font-size: 64px; }
  .subhead { font-size: 20px; }
  .products { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav-pill, .auth-pill { display: flex; }
  .burger { display: none; }
  .hero-grid { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  h1 { font-size: 72px; }
  /* The game is the point of the page: wider than Apogee's 405px card. */
  .game-wrap { max-width: 520px; margin: 0; }
  .seal { max-height: 300px; }
  .chat { height: 170px; }
  .armory-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .products { grid-template-columns: repeat(4, 1fr); }
}

@media (max-height: 760px) and (min-width: 1024px) {
  .seal { max-height: 220px; }
  .chat { height: 130px; }
  h1 { font-size: 56px; }
}

@media (max-width: 1023px) {
  /* On phones the hero grows past one screen so the card is never clipped. */
  .hero { height: auto; min-height: 100vh; min-height: 100dvh; }
}

@media (max-width: 639px) {
  /* Keep Damien off the outer ring of crypts on small screens. */
  .familiar { transform: scale(0.68); transform-origin: bottom right; right: -18px; bottom: -14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .animate-fade-up, .animate-fade-down, .animate-fade-left, .animate-fade-right, .animate-fade-scale, .animate-bar-grow, .guard-word { opacity: 1; transform: none; }
  .seal-geometry .orbit { animation: none; }
}
