/* =============================================================================================
   PERFECT SMP - shared design system (quartz & gold)
   Source of truth: shared/css/base.css  ->  copied into both sites by scripts/sync-shared.mjs
   ============================================================================================= */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit.woff2') format('woff2-variations'), url('../fonts/outfit.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree.woff2') format('woff2-variations'), url('../fonts/figtree.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree-italic.woff2') format('woff2-variations'), url('../fonts/figtree-italic.woff2') format('woff2');
}

:root {
  /* quartz */
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f6f5f1;
  --surface-3: #efede7;
  --cream: #f5ebce;
  /* ink */
  --fg: #221f1a;
  --fg-soft: #46423b;
  --muted: #6c6861;
  --muted-2: #8c877d;
  --border: #e4e3de;
  --border-strong: #d4d1c8;
  /* gold */
  --gold: #e7ac2a;
  --gold-light: #f6cf63;
  --gold-deep: #b47806;
  --gold-soft: #f7e7bb;
  --gold-ink: #7a5204;
  /* dark contrast */
  --slate: #27241e;
  --slate-2: #322e27;
  --slate-3: #4a453c;
  --on-slate: #f4f2ec;
  --on-slate-muted: #b9b3a6;
  /* states */
  --info: #5c7fc9;
  --warn: #d9822b;
  --ok: #3b8f57;
  --danger: #c4453a;
  --danger-soft: #fbe9e6;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(34, 31, 26, 0.06);
  --shadow-card: 0 1px 2px rgba(34, 31, 26, 0.06), 0 18px 40px -24px rgba(34, 31, 26, 0.28);
  --shadow-lift: 0 2px 4px rgba(34, 31, 26, 0.06), 0 26px 48px -26px rgba(34, 31, 26, 0.36);
  --ring: 0 0 0 3px rgba(231, 172, 42, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: var(--gold-ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--gold-deep);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
::selection {
  background: var(--gold-soft);
}

[hidden] {
  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;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: inset -2px -2px 0 var(--gold-deep), inset 2px 2px 0 var(--gold-light);
}
.text-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------------------------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--fg);
  --btn-border: var(--border);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(34, 31, 26, 0.35);
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}
.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #2a2109;
  --btn-border: #d49b1f;
  box-shadow: inset 0 -2px 0 rgba(122, 82, 4, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-sm);
}
.btn--gold:hover {
  --btn-bg: #edb53a;
  box-shadow: inset 0 -2px 0 rgba(122, 82, 4, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px -12px rgba(180, 120, 6, 0.6);
}
.btn--dark {
  --btn-bg: var(--slate);
  --btn-fg: var(--on-slate);
  --btn-border: var(--slate);
}
.btn--dark:hover {
  --btn-bg: var(--slate-2);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-border: transparent;
  box-shadow: none;
}
.btn--ghost:hover {
  --btn-bg: var(--surface-2);
  box-shadow: none;
}
.btn--danger {
  --btn-bg: var(--danger);
  --btn-fg: #fff;
  --btn-border: #a9372d;
}
.btn--danger-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--danger);
  --btn-border: transparent;
  box-shadow: none;
}
.btn--danger-ghost:hover {
  --btn-bg: var(--danger-soft);
  box-shadow: none;
}
.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn--xs {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
  gap: 6px;
}
.btn--icon {
  width: 40px;
  min-height: 40px;
  padding: 0;
}
.btn--icon.btn--sm {
  width: 34px;
  min-height: 34px;
}
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-color: var(--btn-fg) transparent var(--btn-fg) transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------------------------------------------------------
   Chips & badges
   --------------------------------------------------------------------------------------------- */
.chip {
  --chip-dot: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-soft);
  white-space: nowrap;
}
.chip--dot::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--chip-dot);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.18);
}
.chip--sm {
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
  gap: 6px;
}
.chip--sm.chip--dot::before {
  width: 6px;
  height: 6px;
}
.chip--live::before {
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* development status colours */
[data-status='planning'] { --chip-dot: #8c877d; }
[data-status='in_development'] { --chip-dot: var(--gold); }
[data-status='testing'] { --chip-dot: var(--info); }
[data-status='final_preparations'] { --chip-dot: var(--warn); }
[data-status='ready_for_release'] { --chip-dot: var(--ok); }
[data-status='released'] { --chip-dot: #2c7a47; }
[data-status='on_hold'] { --chip-dot: var(--danger); }
/* category status colours */
[data-status='not_started'] { --chip-dot: #b9b3a6; }
[data-status='in_progress'] { --chip-dot: var(--gold); }
[data-status='completed'] { --chip-dot: var(--ok); }
/* milestone states */
[data-state='completed'] { --chip-dot: var(--ok); }
[data-state='in_progress'] { --chip-dot: var(--gold); }
[data-state='upcoming'] { --chip-dot: #b9b3a6; }

/* update type badges */
.type-badge {
  --type: var(--slate-3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  background: color-mix(in srgb, var(--type) 13%, white);
  border: 1px solid color-mix(in srgb, var(--type) 28%, white);
  white-space: nowrap;
}
.type-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--type);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2);
}
[data-type='development'] { --type: #5f594e; }
[data-type='feature'] { --type: var(--gold); }
[data-type='improvement'] { --type: var(--info); }
[data-type='bug_fix'] { --type: var(--danger); }
[data-type='announcement'] { --type: var(--warn); }
[data-type='milestone'] { --type: var(--gold-deep); }
[data-type='testing'] { --type: var(--ok); }

/* ---------------------------------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card--hover {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #dcd6c6;
}

/* pixel icon tile */
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: inset 0 -3px 0 rgba(34, 31, 26, 0.05), inset 0 2px 0 #fff;
}
.icon-tile svg {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}
.icon-tile--gold {
  background: var(--gold-soft);
  border-color: #efd99c;
}
.pixel-icon {
  shape-rendering: crispEdges;
}

/* ---------------------------------------------------------------------------------------------
   Quartz progress bar
   --------------------------------------------------------------------------------------------- */
.qbar {
  --value: 0%;
  --h: 14px;
  --segments: 20;
  position: relative;
  height: var(--h);
  border-radius: 4px;
  background: var(--surface-3);
  border: 2px solid var(--slate);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08), inset 0 -2px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.qbar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  /* hard colour stops = pixel shading (top highlight, body, bottom shadow) */
  background: linear-gradient(
    to bottom,
    var(--gold-light) 0,
    var(--gold-light) 26%,
    var(--gold) 26%,
    var(--gold) 72%,
    var(--gold-deep) 72%,
    var(--gold-deep) 100%
  );
  transition: width 1.4s var(--ease);
}
.qbar__fill::after {
  /* one-time sheen after the bar fills */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 45%, transparent 60%);
  transform: translateX(-120%);
}
.qbar.is-animated .qbar__fill::after {
  animation: sheen 1.6s 1.1s var(--ease) 1 both;
}
@keyframes sheen {
  to {
    transform: translateX(120%);
  }
}
.qbar::after {
  /* segment notches */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(100% / var(--segments) - 2px),
    rgba(39, 36, 30, 0.22) calc(100% / var(--segments) - 2px),
    rgba(39, 36, 30, 0.22) calc(100% / var(--segments))
  );
}
.qbar--lg {
  --h: 30px;
  border-width: 3px;
  border-radius: 6px;
}
.qbar--md {
  --h: 16px;
}
.qbar--sm {
  --h: 10px;
  --segments: 10;
  border-width: 2px;
  border-radius: 3px;
}
.qbar--done .qbar__fill {
  background: linear-gradient(to bottom, #8fd4a4 0, #8fd4a4 26%, var(--ok) 26%, var(--ok) 72%, #2c6e42 72%, #2c6e42 100%);
}

/* ---------------------------------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------------------------------- */
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field > label,
.label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-soft);
}
.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}
.field__error {
  font-size: 12.5px;
  color: var(--danger);
  font-weight: 600;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--ring);
}
.input[aria-invalid='true'],
.select[aria-invalid='true'],
.textarea[aria-invalid='true'] {
  border-color: var(--danger);
}
.select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.input--search {
  padding-left: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c6861' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px 50%;
  background-size: 18px;
}

/* gold range slider */
.range {
  --pct: 50%;
  width: 100%;
  height: 28px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 3px;
  border: 2px solid var(--slate);
  background: linear-gradient(to right, var(--gold) 0, var(--gold) var(--pct), var(--surface-3) var(--pct));
}
.range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  border: 2px solid var(--slate);
  background: var(--surface-3);
}
.range::-moz-range-progress {
  height: 6px;
  background: var(--gold);
}
.range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 5px;
  background: var(--surface);
  border: 2px solid var(--slate);
  box-shadow: inset 0 -3px 0 var(--surface-3);
  transition: transform 0.15s var(--ease);
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--surface);
  border: 2px solid var(--slate);
}
.range:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.range:focus-visible {
  outline: none;
}
.range:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--ring);
}

/* toggle switch */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch__track {
  position: relative;
  width: 44px;
  height: 24px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  transition: background-color 0.25s var(--ease);
}
.switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
}
.switch input:checked + .switch__track {
  background: var(--gold);
  border-color: #d49b1f;
}
.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}
.switch input:focus-visible + .switch__track {
  box-shadow: var(--ring);
}

/* ---------------------------------------------------------------------------------------------
   Loading, empty and error states
   --------------------------------------------------------------------------------------------- */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-3);
  border-radius: 8px;
  color: transparent !important;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}
.empty__icon {
  width: 56px;
  height: 56px;
  opacity: 0.9;
}
.empty strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg);
}

/* ---------------------------------------------------------------------------------------------
   Toasts
   --------------------------------------------------------------------------------------------- */
.toasts {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--slate);
  color: var(--on-slate);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 500;
  pointer-events: auto;
  animation: toast-in 0.45s var(--ease);
}
.toast::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: var(--gold);
  box-shadow: inset -2px -2px 0 var(--gold-deep);
}
.toast--error::before {
  background: #ef7d70;
  box-shadow: inset -2px -2px 0 var(--danger);
}
.toast--success::before {
  background: #7fd197;
  box-shadow: inset -2px -2px 0 var(--ok);
}
.toast.is-leaving {
  animation: toast-out 0.3s var(--ease) forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------------------------------------------------------------------------------------------
   Dialog
   --------------------------------------------------------------------------------------------- */
.dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--fg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dialog-in 0.35s var(--ease);
}
.dialog[open] > .dialog__body {
  flex: 1 1 auto;
  min-height: 0;
}
.dialog::backdrop {
  background: rgba(30, 27, 22, 0.48);
  backdrop-filter: blur(3px);
}
.dialog--wide {
  width: min(880px, calc(100vw - 32px));
}
.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
}
.dialog__head h2 {
  font-size: 20px;
}
.dialog__body {
  padding: 18px 24px;
  overflow: auto;
}
.dialog__foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

/* ---------------------------------------------------------------------------------------------
   Rich text (sanitised markdown subset)
   --------------------------------------------------------------------------------------------- */
.prose {
  color: var(--fg-soft);
  overflow-wrap: anywhere;
}
.prose > * + * {
  margin-top: 0.7em;
}
.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.25em;
}
.prose ul li::marker {
  color: var(--gold);
}
.prose strong {
  color: var(--fg);
  font-weight: 700;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
