/* ==========================================================
   smply.gg — shared stylesheet
   Colours live in the tokens below. Each themed page (e.g. /souls)
   only overrides the accent tokens via a class on <body>.
   ========================================================== */

:root {
  --bg: #0d0f14;
  --bg-elev: #151821;
  --bg-elev-2: #1c2030;
  --border: #262b3b;
  --text: #e8eaf2;
  --text-muted: #9aa1b5;
  --accent: #8b9bff;
  --accent-strong: #a9b5ff;
  --accent-ink: #0d0f14;
  --accent-soft: rgba(139, 155, 255, 0.12);
  --ok: #4ade80;
  --bad: #f87171;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f8fb;
    --bg-elev: #ffffff;
    --bg-elev-2: #eef0f6;
    --border: #dde1ec;
    --text: #141724;
    --text-muted: #5b6275;
    --accent: #4f5fe0;
    --accent-strong: #3b4ac4;
    --accent-ink: #ffffff;
    --accent-soft: rgba(79, 95, 224, 0.1);
    --ok: #16a34a;
    --bad: #dc2626;
    --shadow: 0 10px 30px rgba(20, 23, 36, 0.08);
    color-scheme: light;
  }
}

/* Souls SMP theme — cyan from the Souls logo, always dark */
body.theme-souls {
  --bg: #070b0e;
  --bg-elev: #0d1519;
  --bg-elev-2: #122026;
  --border: #1b3138;
  --text: #e3f6f8;
  --text-muted: #8fb0b6;
  --accent: #3ee6f0;
  --accent-strong: #7ff1f7;
  --accent-ink: #04191b;
  --accent-soft: rgba(62, 230, 240, 0.1);
  --ok: #4ade80;
  --bad: #f87171;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
a:not([href]) { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); }
.pixel { image-rendering: pixelated; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-elev); border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 10px;
}
.muted { color: var(--text-muted); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 900; font-size: 1rem;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links li { display: flex; }
.nav-links a {
  display: inline-flex; align-items: center; line-height: 1.4;
  color: var(--text-muted); font-weight: 550; font-size: 0.95rem;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-elev-2); }
/* A menu item that leads to its own themed page (e.g. Souls SMP) */
.nav-links a.nav-feature {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 6px 14px 6px 12px;
  color: #3ee6f0; background: rgba(62, 230, 240, 0.08);
  border: 1px solid rgba(62, 230, 240, 0.35); border-radius: 999px; font-weight: 650;
}
.nav-links a.nav-feature .nav-arrow { width: 15px; height: 15px; flex: none; margin-left: -2px; transition: transform .15s ease; }
.nav-links a.nav-feature:hover .nav-arrow { transform: translateX(2px); }
.nav-links a.nav-feature .mc-heart { width: 18px; height: 18px; shape-rendering: crispEdges; flex: none; }
.nav-links a.nav-feature:hover { color: #7ff1f7; background: rgba(62, 230, 240, 0.16); border-color: rgba(62, 230, 240, 0.6); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav-links a.nav-feature { color: #0e7f87; background: rgba(14, 127, 135, 0.08); border-color: rgba(14, 127, 135, 0.35); }
}
.nav-cta { display: flex; gap: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm); width: 40px; height: 40px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links, .nav-cta { display: none; }
  .site-header.open .nav { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .site-header.open .nav-links,
  .site-header.open .nav-cta {
    display: flex; flex-direction: column; width: 100%; margin: 0; gap: 4px;
  }
  .site-header.open .nav-cta { padding: 8px 0 4px; }
  .site-header.open .nav-cta .btn { justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 650; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-elev-2); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-home { gap: 6px; }
.btn-home img { width: 18px; height: 18px; border-radius: 5px; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 620px; margin-bottom: 32px; }
.hero h1 .accent { color: var(--accent); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.section-alt .card { background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--text-muted); }

/* server cards (generated from config.js) */
.server-card { display: flex; flex-direction: column; gap: 16px; transition: border-color .15s ease; }
.server-card:hover { border-color: var(--accent); }
.server-top { display: flex; gap: 14px; align-items: center; }
.server-top img, .server-top .placeholder-icon {
  width: 56px; height: 56px; border-radius: 12px; flex: none;
  background: var(--bg-elev-2); object-fit: cover;
}
.server-top .placeholder-icon { display: grid; place-items: center; font-weight: 800; color: var(--accent); }
.server-top h3 { margin: 0; }
.server-top .game { font-size: 0.85rem; color: var(--text-muted); }
.server-card p { margin: 0; }
/* push tags, address and buttons to the bottom so they line up across cards */
.server-card .tags { margin-top: auto; }
.server-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.server-card.themed .btn-ghost {
  color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.server-card.themed .btn-ghost:hover {
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.add-card {
  display: grid; place-items: center; text-align: center;
  border-style: dashed; color: var(--text-muted); min-height: 220px;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.75rem; font-weight: 650; padding: 3px 9px; border-radius: 999px;
  background: var(--bg-elev-2); color: var(--text-muted); border: 1px solid var(--border);
}

/* status pill */
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); line-height: 1;
}
.status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); flex: none;
}
.status[data-state="online"] { color: var(--ok); }
.status[data-state="online"]::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.status[data-state="offline"] { color: var(--bad); }
.status[data-state="offline"]::before { background: var(--bad); }
.status[data-state="loading"]::before { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* copy-address box */
.address {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--bg-elev-2); max-width: 100%;
}
.address code { flex: 1; min-width: 0; padding: 10px 14px; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address button {
  border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--text);
  padding: 10px 14px; font: inherit; font-weight: 650; font-size: 0.85rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.address button:hover { background: var(--accent-soft); color: var(--accent); }
.address button svg { width: 16px; height: 16px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; list-style: none; margin: 0; }
.steps > li {
  counter-increment: step; position: relative; padding: 20px 20px 20px 72px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
}
.section-alt .steps > li { background: var(--bg); }
.steps > li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--text-muted); margin: 0 0 10px; }
.steps p:last-child { margin: 0; }
.steps ul { margin: 0 0 10px; padding-left: 20px; color: var(--text-muted); }
.steps ul:last-child { margin-bottom: 0; }
.steps ul li { margin: 4px 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 18px;
}
.section-alt .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-muted); padding-bottom: 6px; }

/* callout */
.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: var(--radius-sm); padding: 14px 18px;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- Souls page ---------- */
.souls-hero { text-align: center; padding: 48px 0 56px; }
.souls-hero::before {
  background: radial-gradient(ellipse at center, rgba(62, 230, 240, 0.16), transparent 60%);
}
.souls-hero .logo { width: min(340px, 75%); margin: 0 auto 12px; image-rendering: pixelated; filter: drop-shadow(0 10px 40px rgba(62, 230, 240, 0.25)); }
.souls-hero p.lead { margin-inline: auto; }
.souls-hero .btn-row { justify-content: center; }
.join-box {
  display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; align-items: center;
  margin: 0 auto 28px;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }

/* 4 columns → 16 basic souls = 4 even rows, 4 unique souls = 1 row */
.soul-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .soul-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.soul {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 0;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
}
.soul img { width: 28px; height: 28px; image-rendering: pixelated; flex: none; }
.soul span { min-width: 0; overflow-wrap: break-word; }
.section-alt .soul { background: var(--bg); }
.soul.unique { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--accent-soft); }
.soul-group { margin: 0 0 14px; }
.soul-grid + .soul-group { margin-top: 36px; }
.soul-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.soul-group p { margin: 0; font-size: 0.95rem; }
.soul-group .count {
  font-size: 0.75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
@media (max-width: 480px) {
  .soul-grid { gap: 8px; }
  .soul { padding: 10px 12px; gap: 8px; font-size: 0.86rem; }
  .soul img { width: 24px; height: 24px; }
}

/* Sprite cards: every icon sits in a same-height slot so titles line up */
.feature-card { text-align: center; }
.feature-media { height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-media img { image-rendering: pixelated; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--bg-elev); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
/* Desktop: one picture is "in focus": bigger, glowing, and overlapping its neighbours.
   The middle one by default; hovering another picture moves the focus to it. */
@media (min-width: 760px) and (hover: hover) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 40px 0; }
  .gallery a {
    position: relative; z-index: 1; transform: scale(.9); filter: brightness(.55) saturate(.85);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), filter .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .gallery a:hover,
  .gallery:not(:has(> a:hover)) > a:nth-child(2) {
    z-index: 3; transform: scale(1.3); filter: none;
    border-color: color-mix(in srgb, var(--accent) 70%, transparent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent),
                0 0 40px color-mix(in srgb, var(--accent) 25%, transparent);
  }
}

/* "still have questions" panel under an FAQ */
.help-card {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: linear-gradient(90deg, var(--accent-soft), transparent 80%), var(--bg-elev);
}
.help-card h3 { margin-bottom: 4px; }
.help-card p { margin: 0; }

/* whitelist check */
.wl-check {
  margin-top: 40px; display: grid; gap: 14px; padding: 28px;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--bg);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 6%, transparent);
}
.wl-check h3 { margin-bottom: 4px; }
.wl-check p { margin: 0; }
.wl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-form input {
  flex: 1 1 220px; min-width: 0; padding: 11px 14px; border-radius: 10px;
  background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--text);
  font: inherit; font-family: var(--mono); font-size: 0.95rem;
}
.wl-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wl-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.wl-result { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elev-2); }
.wl-result[data-state="ok"] { border-color: color-mix(in srgb, var(--ok) 50%, var(--border)); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.wl-result[data-state="no"] { border-color: color-mix(in srgb, var(--warn) 50%, var(--border)); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.wl-result[data-state="error"] { border-color: color-mix(in srgb, var(--bad) 50%, var(--border)); }
.wl-result[data-state="ok"]::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.wl-result code { color: var(--accent); }

.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;
}

/* gallery viewer (lightbox) */
html.lb-open, html.lb-open body { overflow: hidden; }
.gallery a { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(3, 8, 10, 0.92); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .18s ease;
}
.lightbox.show { opacity: 1; }
.lb-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden; touch-action: none;
}
.lb-img {
  max-width: 88vw; max-height: 82vh; border-radius: 10px; user-select: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); transform-origin: center;
}
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lb-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-bar {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 14px; align-items: center; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.85);
}
.lb-count { font-weight: 700; color: #fff; }
@media (max-width: 640px) {
  .lb-img { max-width: 100vw; max-height: 72vh; border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 64px; transform: none; }
  .lb-hint { display: none; }
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-weight: 650; font-size: 0.9rem; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 10px; }

/* ---------- scroll-in animations (added by main.js; play once per page load) ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.reveal-zoom { transform: scale(.94); }
.reveal.reveal-left { transform: translateX(-22px); }
.reveal.in { opacity: 1; transform: none; }

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