/* Shadowkey Reforged landing page.
   Look: old leather, parchment, gold and brass, the violet of the Shadowkey's gem. */

:root {
  --ink: #0f0819;
  --night: #170d27;
  --plum: #241339;
  --violet: #8a5cf0;
  --violet-glow: rgba(160, 110, 255, .55);
  --gold: #d6a23e;
  --gold-hi: #f7d98a;
  --gold-lo: #8a5a17;
  --brass: #b4842c;
  --leather: #2b1a11;
  --leather-hi: #4a2e1c;
  --parch: #e9c96d;
  --parch-ink: #2b1d0c;
  --text: #efe3c6;
  --text-dim: #bfae8c;
  --radius: 4px;
  --wrap: 1180px;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --parch-css:
    radial-gradient(ellipse at 30% 15%, rgba(255, 245, 210, .55), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(150, 90, 20, .35), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .05 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f2d47c, #e2b84f);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--ink);
  /* dark tooled leather: fine grain, with a soft violet glow fixed to the window (body::before) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(120, 70, 200, .16), transparent),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(214, 162, 62, .06), transparent);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff3c8; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.3rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h);
  padding: 0 1.9rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 0; border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn span, .btn svg { position: relative; z-index: 2; }
/* corner diamonds, like the dragon frame's studs */
.btn::before {
  content: ""; position: absolute; inset: 4px; z-index: 1; pointer-events: none;
  border: 1px solid currentColor; opacity: .35; border-radius: 1px;
  -webkit-mask: linear-gradient(#000 0 0) top/100% 1px no-repeat, linear-gradient(#000 0 0) bottom/100% 1px no-repeat, linear-gradient(#000 0 0) left/1px 100% no-repeat, linear-gradient(#000 0 0) right/1px 100% no-repeat;
}
/* the light sweep */
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 225, .55), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform .75s var(--ease);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: skewX(-20deg) translateX(420%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

.btn-brass {
  color: #2a1606;
  background:
    linear-gradient(180deg, #fbe7a3 0%, #e7b955 22%, #c48a2a 55%, #9a6316 80%, #d9a744 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -2px 0 rgba(70, 35, 0, .55),
    0 0 0 1px #5a3608,
    0 0 0 3px #e2b555,
    0 0 0 4px #4b2c05,
    0 8px 22px rgba(0, 0, 0, .55);
  text-shadow: 0 1px 0 rgba(255, 240, 190, .6);
}
.btn-brass:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -2px 0 rgba(70, 35, 0, .55),
    0 0 0 1px #5a3608,
    0 0 0 3px #f3cd6f,
    0 0 0 4px #4b2c05,
    0 0 28px rgba(247, 205, 110, .55),
    0 10px 26px rgba(0, 0, 0, .6);
}
.btn-leather {
  color: var(--gold-hi);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 220, 160, .12), transparent 70%),
    linear-gradient(180deg, #4a2c1a, #2b170c);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, .15),
    0 0 0 1px #120803,
    0 0 0 2px var(--brass),
    0 0 0 3px #120803,
    0 8px 20px rgba(0, 0, 0, .5);
}
.btn-leather:hover { box-shadow: inset 0 1px 0 rgba(255, 220, 160, .2), 0 0 0 1px #120803, 0 0 0 2px var(--gold-hi), 0 0 0 3px #120803, 0 0 24px rgba(214, 162, 62, .35), 0 10px 24px rgba(0, 0, 0, .55); }
.btn-sm { --h: 2.6rem; padding: 0 1.2rem; font-size: .78rem; }
.btn[disabled] { cursor: default; filter: saturate(.55) brightness(.85); }
.btn[disabled]:hover { transform: none; }
.btn[disabled]::after { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  /* solid, on its own layer: a blurred see-through header flickered in Chrome/Arc while scrolling */
  background: linear-gradient(180deg, #160c26, #140b22);
  box-shadow: 0 1px 0 rgba(214, 162, 62, .45), 0 6px 24px rgba(0, 0, 0, .45);
  transform: translateZ(0);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1320px, 100% - 32px); margin-inline: auto; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--gold-hi); }
.brand-key { width: 30px; height: 30px; color: var(--gold); filter: drop-shadow(0 0 6px var(--violet-glow)); }
.brand-text { font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; }
.brand-text small { display: block; font-weight: 500; font-size: .58rem; letter-spacing: .24em; color: var(--text-dim); }
.brand-text em { font-style: normal; color: #c9a8ff; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: .4rem 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  transition: left .3s var(--ease), right .3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.is-current { color: var(--gold-hi); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-current::after { left: -6px; right: -6px; }
.burger { display: none; }

/* the compass strip under the nav turns as you scroll */
.compass {
  position: relative; overflow: hidden;
  height: 18px;
  border-top: 1px solid #5a3608; border-bottom: 1px solid #5a3608;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 160, .25);
  opacity: .95;
}
/* the strip itself slides sideways (transform only, no repaint) */
.compass::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 450px);
  background: url("img/compass.webp") 0 50% / auto 100% repeat-x;
  transform: translate3d(var(--cx, 0px), 0, 0);
  will-change: transform;
}

/* ---------- Hero ---------- */
.hero {
  /* the art box is exactly the picture's shape (16:9), so the logo is never cut off;
     the words start just under the logo, over the key's dark shaft */
  --H: min(56.25vw, calc(100svh - 64px));
  position: relative;
  padding-top: calc(var(--H) * .655);
  overflow: hidden;
}
.hero-art {
  position: absolute; top: 0; left: 0; width: 100%; height: var(--H);
  object-fit: cover; object-position: 50% 30%;
  animation: hero-in 2.2s var(--ease) both;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--H) + 2px); pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(190, 140, 255, .16), transparent 40%),
    linear-gradient(180deg, transparent 55%, rgba(15, 8, 25, .7) 80%, var(--ink) 100%);
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); filter: brightness(.4); } to { opacity: 1; transform: none; filter: none; } }

/* drifting motes of light */
.hero-motes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-motes i {
  position: absolute; bottom: -10px; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: radial-gradient(circle, #fff6d6, rgba(247, 205, 110, .8) 40%, transparent 70%);
  box-shadow: 0 0 8px rgba(247, 205, 110, .9);
  opacity: 0;
  animation: mote var(--d, 14s) linear var(--delay, 0s) infinite;
}
@keyframes mote {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .6; }
  100% { transform: translate(var(--x, 40px), -95vh); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2;
  width: min(820px, 100% - 32px);
  margin: 0 auto;
  text-align: center;
  padding: 0 0 clamp(3.5rem, 8vh, 6rem);
}
.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.1rem;
  padding: .35rem 1rem .35rem .8rem;
  font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(20, 10, 30, .7);
  border: 1px solid rgba(214, 162, 62, .6);
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(138, 92, 240, .35);
}
.status-pill .pill-text { position: relative; top: 2px; } /* Cinzel caps sit high in the line */
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #c9a8ff; box-shadow: 0 0 0 0 var(--violet-glow); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 168, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(201, 168, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 168, 255, 0); } }
.hero-kicker {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: .02em;
  color: #fff1d0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8);
}
.hero-kicker span { color: var(--gold-hi); text-shadow: 0 0 22px rgba(247, 205, 110, .5), 0 2px 10px rgba(0, 0, 0, .8); }
.hero-lede { margin: 1rem auto 0; max-width: 40em; color: #e6d8ba; font-size: clamp(1.08rem, 1.6vw, 1.28rem); text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.hero-platforms { list-style: none; display: flex; justify-content: center; gap: 1.6rem; margin: 1.8rem 0 0; padding: 0; font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.hero-platforms li { display: flex; align-items: center; gap: .45rem; }
.hero-platforms svg { width: 17px; height: 17px; color: var(--gold); }
.hero-platforms .soon { opacity: .75; }
.hero-platforms em { font-style: normal; font-size: .62rem; padding: .05rem .4rem; border: 1px solid currentColor; border-radius: 99px; color: #c9a8ff; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section + .section::before {
  /* gold rule with a diamond, between sections */
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% -50%;
  width: min(520px, 70%); height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0l7 7-7 7-7-7z' fill='%23d6a23e'/%3E%3Cpath d='M7 4l3 3-3 3-3-3z' fill='%23170d27'/%3E%3C/svg%3E") center/14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--gold-lo) 20%, var(--gold) 50%, var(--gold-lo) 80%, transparent) center/100% 1px no-repeat;
}
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.eyebrow { margin: 0 0 .5rem; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: #c9a8ff; }
h2 {
  margin: 0;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff1c4 0%, #f2cd72 45%, #b77f22 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(40, 20, 0, .9)) drop-shadow(0 6px 18px rgba(0, 0, 0, .5));
}
.sec-lede { margin: 1rem auto 0; color: var(--text-dim); font-size: 1.22rem; }
.sec-lede strong { color: var(--gold-hi); }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: .03em; color: var(--gold-hi); line-height: 1.2; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Ornate frame (gold, as on the HUD) ---------- */
.frame {
  position: relative;
  padding: 10px;
  background:
    linear-gradient(135deg, #fbe39a, #b98327 28%, #f0c968 50%, #8c5a14 72%, #e9be5f);
  border-radius: 3px;
  box-shadow: 0 0 0 1px #3a2203, 0 20px 50px rgba(0, 0, 0, .65), 0 0 60px rgba(138, 92, 240, .15);
}
.frame::before { /* inner dark bevel */
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(40, 20, 0, .8); box-shadow: inset 0 0 0 1px rgba(255, 240, 190, .35); pointer-events: none; z-index: 3;
}
.frame::after { /* corner studs */
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 4;
  background:
    radial-gradient(circle, #fff3c4 0 2px, #c48a2a 3px 5px, #3a2203 6px, transparent 7px) top left/14px 14px no-repeat,
    radial-gradient(circle, #fff3c4 0 2px, #c48a2a 3px 5px, #3a2203 6px, transparent 7px) top right/14px 14px no-repeat,
    radial-gradient(circle, #fff3c4 0 2px, #c48a2a 3px 5px, #3a2203 6px, transparent 7px) bottom left/14px 14px no-repeat,
    radial-gradient(circle, #fff3c4 0 2px, #c48a2a 3px 5px, #3a2203 6px, transparent 7px) bottom right/14px 14px no-repeat;
}
.frame > * { position: relative; z-index: 2; }
.frame-tight { padding: 7px; }
.frame-tight::before { inset: 5px; }

/* ---------- Video ---------- */
.video-section { padding-top: clamp(3rem, 6vw, 5rem); }
.ornate-head { position: relative; display: grid; place-items: center; width: min(760px, 100%); margin: 0 auto 2.2rem; container-type: inline-size; }
.ornate-head img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.ornate-head h2 {
  position: absolute; top: 45%; left: 50%; translate: -50% -50%;
  font-size: 2.55cqw; letter-spacing: .06em; white-space: nowrap;
}
.video-frame { max-width: 1060px; margin: 0 auto; }
.video-placeholder { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-placeholder > img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.75) brightness(.6); transform: scale(1.05); }
.video-play {
  position: absolute; left: 50%; top: 45%; translate: -50% -50%;
  width: clamp(76px, 10vw, 112px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #2a1606;
  border: 0;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e3b04c 40%, #9a6316 85%);
  box-shadow: 0 0 0 3px #4b2c05, 0 0 0 6px #e2b555, 0 0 0 7px #4b2c05, 0 0 40px rgba(247, 205, 110, .5), 0 0 90px rgba(138, 92, 240, .45);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.video-play svg { width: 42%; height: 42%; margin-left: 8%; }
.video-play:hover { transform: scale(1.07); box-shadow: 0 0 0 3px #4b2c05, 0 0 0 6px #f6d27a, 0 0 0 7px #4b2c05, 0 0 60px rgba(247, 205, 110, .7), 0 0 120px rgba(138, 92, 240, .6); }
.video-play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(247, 205, 110, .5); animation: ring 2.6s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.2rem 1.5rem; text-align: center; font-size: 1.05rem; color: var(--text-dim); background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.video-caption strong { display: block; font-family: var(--display); color: var(--gold-hi); letter-spacing: .06em; font-size: 1.1rem; }
.video-placeholder.is-teased .video-caption strong { animation: nudge .5s; }
@keyframes nudge { 30% { transform: translateX(-6px); } 60% { transform: translateX(5px); } }

/* ---------- About: the parchment ---------- */
.parchment {
  position: relative; max-width: 1100px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: url("img/parchment.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .7));
  color: var(--parch-ink);
}
.parchment-body {
  position: absolute; left: 50%; top: 31%; translate: -50% 0;
  width: 62%;
  font-size: clamp(1rem, 1.55vw, 1.32rem); line-height: 1.55;
}
.parchment p { margin: 0 0 .85em; }
.parchment strong { color: #4a1f00; }
.drop::first-letter {
  float: left; font-family: "Cinzel Decorative", var(--display); font-size: 3.6em; line-height: .8; margin: .06em .1em 0 0;
  color: #6b2a00; text-shadow: 0 1px 0 rgba(255, 240, 190, .6);
}
.sign { font-style: italic; font-weight: 600; text-align: center; color: #5b2a00; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1.4rem; }
.feature, .fb-card, .req-card {
  position: relative;
  padding: 1.8rem 1.7rem 1.7rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 210, 140, .09), transparent 60%),
    linear-gradient(180deg, #2f1d13, #1e120b);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, .1),
    0 0 0 1px #0d0703,
    0 0 0 2px rgba(180, 132, 44, .55),
    0 0 0 3px #0d0703,
    0 14px 30px rgba(0, 0, 0, .45);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* stitched edge */
.feature::before, .fb-card::before, .req-card::before {
  content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(214, 162, 62, .28); border-radius: 2px; pointer-events: none;
}
/* the light sweep on hover */
.feature::after, .fb-card::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 235, 180, .1), transparent);
  transform: skewX(-18deg); transition: left .9s var(--ease); pointer-events: none;
}
.feature:hover, .fb-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, .14), 0 0 0 1px #0d0703, 0 0 0 2px var(--gold-hi), 0 0 0 3px #0d0703, 0 0 30px rgba(214, 162, 62, .22), 0 18px 36px rgba(0, 0, 0, .55);
}
.feature:hover::after, .fb-card:hover::after { left: 130%; }
.f-icon { width: 44px; height: 44px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(214, 162, 62, .35)); transition: color .3s, transform .4s var(--ease); }
.feature:hover .f-icon, .fb-card:hover .f-icon { color: var(--gold-hi); transform: rotate(-6deg) scale(1.08); }
.feature h3, .fb-card h3 { margin: .9rem 0 .5rem; font-size: 1.22rem; }
.feature p, .fb-card p { margin: 0; color: var(--text-dim); font-size: 1.08rem; }
.feature-wide { grid-column: span 2; background: radial-gradient(ellipse at 90% 10%, rgba(138, 92, 240, .2), transparent 60%), linear-gradient(180deg, #2b1a2f, #1a0f1c); }
.mode-toggle { display: inline-flex; margin-top: 1.2rem; padding: 4px; border-radius: 99px; background: #0c0610; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), 0 0 0 1px var(--brass); }
.mode-toggle button {
  font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem 1.2rem; border: 0; border-radius: 99px; cursor: pointer; color: var(--text-dim); background: transparent;
  transition: color .3s, background .3s, box-shadow .3s;
}
.mode-toggle button.is-on { color: #2a1606; background: linear-gradient(180deg, #fbe7a3, #d9a744 60%, #a46c1a); box-shadow: 0 0 14px rgba(247, 205, 110, .5); }

.more { margin: 2rem auto 0; max-width: 900px; }
.more summary {
  list-style: none; cursor: pointer; text-align: center;
  font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; color: var(--gold-hi);
}
.more summary::-webkit-details-marker { display: none; }
.more summary span { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.2rem; border-bottom: 1px solid rgba(214, 162, 62, .5); }
.more summary span::after { content: "+"; font-size: 1.2em; transition: transform .3s; }
.more[open] summary span::after { transform: rotate(45deg); }
.more-list { columns: 2 280px; column-gap: 2.5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.more-list li { break-inside: avoid; padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--text-dim); }
.more-list li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: 8px; height: 8px; rotate: 45deg; background: var(--gold); box-shadow: 0 0 6px rgba(214, 162, 62, .6); }

/* ---------- Then & Now ---------- */
.compare { background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(138, 92, 240, .12), transparent); }
.tabs { display: flex; justify-content: center; gap: .5rem; margin: 0 auto 1.6rem; flex-wrap: wrap; }
.tabs button, .chip {
  font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem;
  padding: .7rem 1.4rem; cursor: pointer; border: 0; border-radius: 2px;
  color: var(--text-dim); background: linear-gradient(180deg, #2b1a10, #1a0e07);
  box-shadow: 0 0 0 1px #0d0703, 0 0 0 2px rgba(180, 132, 44, .45);
  transition: color .25s, box-shadow .25s, background .25s;
}
.tabs button:hover, .chip:hover { color: var(--gold-hi); }
.tabs button[aria-selected="true"] { color: #2a1606; background: linear-gradient(180deg, #fbe7a3, #d9a744 55%, #a46c1a); box-shadow: 0 0 0 1px #4b2c05, 0 0 0 2px #e2b555, 0 0 18px rgba(247, 205, 110, .35); }
.slider-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip { font-size: .7rem; padding: .45rem .9rem; border-radius: 99px; }
.chip.is-on { color: var(--gold-hi); box-shadow: 0 0 0 1px #0d0703, 0 0 0 2px var(--gold-hi); }
.tab-panel { max-width: 1060px; margin: 0 auto; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* before / after slider */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #000; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { position: absolute; inset: 0; }
.ba-label {
  position: absolute; top: 1rem; z-index: 3; padding: .3rem .8rem;
  font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-hi); background: rgba(12, 6, 3, .75); border: 1px solid rgba(214, 162, 62, .6); border-radius: 2px;
}
.ba-label-l { left: 1rem; }
.ba-label-r { right: 1rem; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 3px; translate: -50% 0; background: linear-gradient(180deg, #fbe7a3, #c48a2a, #fbe7a3); box-shadow: 0 0 12px rgba(247, 205, 110, .7); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e3b04c 45%, #9a6316 90%);
  box-shadow: 0 0 0 2px #4b2c05, 0 0 0 4px #e2b555, 0 0 0 5px #4b2c05, 0 6px 16px rgba(0, 0, 0, .6);
}
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; translate: 0 -50%; }
.ba-handle span::before { left: 6px; border-right-color: #3a1e04; }
.ba-handle span::after { right: 6px; border-left-color: #3a1e04; }
.ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba.is-dragging .ba-handle span { box-shadow: 0 0 0 2px #4b2c05, 0 0 0 4px #f6d27a, 0 0 0 5px #4b2c05, 0 0 24px rgba(247, 205, 110, .8); }
.ba-range:focus-visible ~ .ba-handle span, .ba:has(.ba-range:focus-visible) .ba-handle span { outline: 2px solid #fff; outline-offset: 3px; }

/* then / now pairs */
.then-now { display: grid; grid-template-columns: minmax(0, 300px) auto minmax(0, 1fr); align-items: center; gap: 1.6rem; }
.then-now figure { margin: 0; }
.then-now figcaption { margin-top: .9rem; text-align: center; color: var(--text-dim); font-size: 1rem; }
.then-now figcaption strong { display: block; font-family: var(--display); color: var(--gold-hi); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.then-now-arrow { color: var(--gold); width: 40px; height: 40px; }
.then-now-arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(214, 162, 62, .5)); }
/* a stylised N-Gage around the 176x208 screen */
.ngage {
  position: relative; padding: 18px 16px 22px; border-radius: 22px;
  background: linear-gradient(160deg, #6a6f78, #33373e 35%, #1b1d22 70%, #3c4048);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .25), inset 0 -3px 6px rgba(0, 0, 0, .6), 0 18px 40px rgba(0, 0, 0, .6);
}
.ngage::before { content: ""; position: absolute; left: 50%; top: 7px; translate: -50% 0; width: 40px; height: 4px; border-radius: 3px; background: #0c0d10; }
.ngage > img, .ngage > .placeholder { border-radius: 2px; box-shadow: 0 0 0 3px #0c0d10, 0 0 14px rgba(120, 160, 255, .15); }
.pixel { image-rendering: pixelated; width: 100%; height: auto; aspect-ratio: 176 / 208; }
.placeholder {
  display: grid; place-items: center; align-content: center; gap: .8rem; text-align: center;
  color: var(--text-dim); font-family: var(--display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  background: repeating-linear-gradient(45deg, #1a1220 0 10px, #140d19 10px 20px);
}
.placeholder svg { width: 54px; height: 54px; color: var(--gold); opacity: .8; }
.placeholder-portrait { aspect-ratio: 176 / 208; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item {
  position: relative; display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px #0d0703, 0 0 0 2px rgba(180, 132, 44, .55), 0 0 0 3px #0d0703, 0 12px 26px rgba(0, 0, 0, .5);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.g-item::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem .8rem;
  font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-hi);
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.g-item:hover { box-shadow: 0 0 0 1px #0d0703, 0 0 0 2px var(--gold-hi), 0 0 0 3px #0d0703, 0 0 28px rgba(214, 162, 62, .3), 0 16px 30px rgba(0, 0, 0, .55); transform: translateY(-3px); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.g-item:hover::after, .g-item:focus-visible::after { transform: none; }
.g-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-empty {
  display: grid; place-items: center;
  font-family: var(--display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
  background: repeating-linear-gradient(45deg, #1a1220 0 10px, #140d19 10px 20px);
}
.g-empty:hover { transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 2rem; background: rgba(8, 4, 14, .92); backdrop-filter: blur(6px); animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 2px; box-shadow: 0 0 0 2px var(--gold), 0 30px 80px rgba(0, 0, 0, .8); }
.lightbox figcaption { font-family: var(--display); color: var(--gold-hi); letter-spacing: .1em; }
.lightbox button { border: 0; cursor: pointer; color: var(--gold-hi); background: rgba(40, 24, 12, .8); width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--brass); display: grid; place-items: center; font-size: 1.8rem; transition: background .25s; }
.lightbox button:hover { background: rgba(90, 54, 8, .9); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-prev svg { transform: scaleX(-1); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Status road ---------- */
.road { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; position: relative; }
.road::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 4.5rem; width: 2px; background: linear-gradient(var(--gold) 0 55%, rgba(214, 162, 62, .2) 70%); }
.road li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 0 0 1.7rem; }
.road h3 { margin: .55rem 0 .2rem; font-size: 1.2rem; }
.road p { margin: 0; color: var(--text-dim); }
.seal {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: .95rem; color: rgba(255, 220, 200, .35);
  background: radial-gradient(circle at 35% 30%, #3a2a3e, #1a1020);
  box-shadow: 0 0 0 2px #0d0703, 0 0 0 3px rgba(180, 132, 44, .35);
}
.road .done .seal { color: #ffe9c8; background: radial-gradient(circle at 35% 30%, #c2463a, #7d1a14 60%, #4d0b08); box-shadow: 0 0 0 2px #2a0503, 0 0 0 3px #a8342a, 0 4px 10px rgba(0, 0, 0, .5); }
.road .done h3::after { content: " \2713"; color: #e48b7e; font-size: .9em; }
.road .now .seal { color: #2a1606; background: radial-gradient(circle at 35% 30%, #fff1b8, #e3b04c 45%, #9a6316); box-shadow: 0 0 0 2px #4b2c05, 0 0 0 3px #e2b555, 0 0 24px rgba(247, 205, 110, .6); animation: glow 2.6s ease-in-out infinite; }
.road .now h3 { color: #fff3cc; }
.road .now h3::after { content: "In progress"; margin-left: .7rem; padding: .1rem .55rem; vertical-align: middle; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid #c9a8ff; border-radius: 99px; color: #c9a8ff; }
.road li:not(.done):not(.now) h3 { color: var(--text-dim); }
@keyframes glow { 50% { box-shadow: 0 0 0 2px #4b2c05, 0 0 0 3px #f6d27a, 0 0 36px rgba(247, 205, 110, .85); } }

/* ---------- Requirements ---------- */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.req-card h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font-size: 1.3rem; }
.req-card h3 svg { width: 24px; height: 24px; color: var(--gold); }
.req-card dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; }
.req-card dt { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #c9a8ff; padding-top: .3rem; }
.req-card dd { margin: 0; color: var(--text); font-size: 1.05rem; }
.req-card ul { margin: 0; padding: 0 0 0 1.1rem; color: var(--text-dim); font-size: 1.05rem; }
.req-card li { margin-bottom: .5rem; }
.req-card li::marker { color: var(--gold); }
.req-note { background: radial-gradient(ellipse at 80% 0%, rgba(138, 92, 240, .2), transparent 60%), linear-gradient(180deg, #2b1a2f, #1a0f1c); }

/* ---------- Install ---------- */
.install-card {
  position: relative; max-width: 960px; margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--parch-ink);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 245, 210, .5), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(150, 90, 20, .35), transparent 50%),
    url("img/parchment.webp") 50% 65% / 220% auto;
  border-radius: 3px;
  box-shadow: inset 0 0 60px rgba(110, 60, 10, .55), 0 0 0 1px #3a2203, 0 24px 50px rgba(0, 0, 0, .6);
}
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; }
.steps li { counter-increment: s; position: relative; padding-left: 4rem; }
.steps li::before {
  content: counter(s, upper-roman); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; color: #ffe9c8; font-size: .95rem;
  background: radial-gradient(circle at 35% 30%, #c2463a, #7d1a14 60%, #4d0b08);
  box-shadow: 0 0 0 2px #2a0503, 0 4px 8px rgba(60, 20, 0, .45);
}
.steps h3 { margin: .2rem 0 .3rem; color: #4a1f00; font-size: 1.15rem; }
.steps p { margin: 0; font-size: 1.08rem; }
.stamp {
  position: absolute; right: clamp(.5rem, 3vw, 2rem); top: -1.4rem;
  padding: .55rem 1rem; transform: rotate(8deg);
  font-family: var(--display); font-weight: 900; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; line-height: 1.25;
  color: #a4261b; border: 3px double #a4261b; border-radius: 4px;
  background: rgba(240, 210, 140, .85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

/* ---------- Feedback ---------- */
.fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.fb-card { display: flex; flex-direction: column; align-items: flex-start; }
.fb-card p { flex: 1; margin-bottom: 1.4rem; }

/* ---------- Support ---------- */
.support-card {
  /* kept plain on purpose: donations are for the developer, not part of the project */
  position: relative; max-width: 760px; margin: 0 auto; text-align: center; overflow: hidden;
  border-radius: 3px;
  background: rgba(20, 12, 28, .7);
  border: 1px dashed rgba(214, 162, 62, .45);
}
.support-text { padding: clamp(2rem, 5vw, 3.5rem); position: relative; z-index: 1; }
.support-text h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.support-text p { color: var(--text-dim); margin: 0 0 1rem; }
.support-text .btn { margin-top: .8rem; }

/* ---------- Donate modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 4, 14, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card {
  position: relative; width: min(620px, 100%); padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(138, 92, 240, .2), transparent 60%), linear-gradient(180deg, #2f1d13, #1a0f09);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px #0d0703, 0 0 0 3px var(--gold), 0 0 0 4px #0d0703, 0 30px 80px rgba(0, 0, 0, .8);
  animation: rise .35s var(--ease);
}
.modal-card::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(214, 162, 62, .28); border-radius: 2px; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.modal-note { margin: 1rem 0 1.6rem; color: var(--text-dim); font-size: 1.05rem; }
.modal-close { position: absolute; top: .8rem; right: .8rem; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--gold-hi); background: rgba(40, 24, 12, .9); box-shadow: 0 0 0 1px var(--brass); transition: background .25s; }
.modal-close:hover { background: rgba(90, 54, 8, .9); }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; text-align: left; }
.pay { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.1rem; border-radius: 3px; background: rgba(12, 6, 3, .55); box-shadow: inset 0 0 0 1px rgba(180, 132, 44, .45); }
.pay h3 { margin: 0; font-size: 1.1rem; }
.pay p { margin: .1rem 0 0; color: var(--text-dim); font-size: 1rem; overflow-wrap: anywhere; }
.pay strong { color: var(--text); }
.pay-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.pay .btn-sm { --h: 2.4rem; }
.btn.is-copied { filter: none; }

/* ---------- Footer ---------- */
.footer { margin-top: 2rem; background: linear-gradient(180deg, #0c0614, #07030b); }
.footer-inner { padding: 3rem 0 2.5rem; text-align: center; }
.foot-brand { margin: 0 0 1rem; font-family: var(--display); font-weight: 900; font-size: 1.4rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.foot-brand em { font-style: normal; color: #c9a8ff; }
.disclaimer { max-width: 760px; margin: 0 auto 1.2rem; font-size: .98rem; color: var(--text-dim); }
.disclaimer strong { color: var(--text); }
.foot-small { margin: 0; font-size: .92rem; color: #8f7f62; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a:not(.btn) { font-size: .74rem; letter-spacing: .1em; white-space: nowrap; }
  .brand-text small { display: none; }
}
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .req-grid, .fb-grid { grid-template-columns: 1fr 1fr; }
  .req-note { grid-column: span 2; }
}
@media (max-width: 900px) {
  .burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer;
    background: transparent;
  }
  .burger span { display: block; width: 24px; height: 2px; background: var(--gold-hi); transition: transform .3s, opacity .3s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 16px 1.2rem;
    background: rgba(20, 11, 34, .98);
    box-shadow: 0 1px 0 rgba(214, 162, 62, .45), 0 18px 30px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav-links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(214, 162, 62, .15); }
  .nav-links .btn { margin-top: 1rem; }
  .feature-wide { grid-column: auto; }
  .then-now { grid-template-columns: 1fr; justify-items: center; }
  .then-now .then { width: min(280px, 80%); }
  .then-now .now { width: 100%; }
  .then-now-arrow { transform: rotate(90deg); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  }
@media (max-width: 760px) {
  /* the parchment image's open area is too small for the text: plain parchment instead */
  .parchment {
    aspect-ratio: auto;
    padding: 2rem 1.4rem 1.6rem;
    background: var(--parch-css);
    border-radius: 3px;
    box-shadow: inset 0 0 50px rgba(110, 60, 10, .6);
  }
  .parchment-body { position: static; translate: none; width: auto; font-size: 1.1rem; }
  .req-grid, .fb-grid, .steps, .feature-grid { grid-template-columns: 1fr; }
  .install-card { background: var(--parch-css); padding-top: 2.6rem; }
  .req-note { grid-column: auto; }
  .hero { padding-top: calc(56.25vw + .5rem); }
  .hero-platforms { gap: 1rem; font-size: .7rem; }
  .lightbox { grid-template-columns: 1fr; padding: 4rem 12px; }
  .lb-prev, .lb-next { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 1.1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-big { grid-column: auto; }
  .brand-text small { display: none; }
  .ba-label { top: .5rem; font-size: .6rem; }
  .ba-handle span { width: 38px; height: 38px; }
  .btn { padding: 0 1.3rem; letter-spacing: .1em; }
  .pay-actions { width: 100%; flex-wrap: nowrap; }
  .pay-actions .btn { flex: 1; padding: 0 .6rem; }
  .modal-note { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-motes { display: none; }
}
