/* ==========================================================================
   JF Cuias — Design System (Glassmorphism)
   Paleta extraída das referências: madeira clara/escura, couro e marrom-espresso
   ========================================================================== */

/* Fontes (licença OFL, hospedadas localmente) — também usadas na prévia da gravação */
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/playfair-700.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/cinzel-700.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/dancing-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Slab'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/slab-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/montserrat-700.woff2') format('woff2'); }
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/bebas-400.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/caveat-700.woff2') format('woff2'); }
:root {
  --espresso-950: #120a05;
  --espresso-900: #1b0f08;
  --espresso-800: #2a1509;
  --leather-600: #8a4a2a;
  --leather-500: #a4552b;
  --wood-500: #b9763a;
  --caramel-400: #d9953f;
  --caramel-300: #e8b061;
  --cream-100: #f6ead9;
  --cream-300: #e3cfb0;
  --cream-500: #c9b08c;

  --text: var(--cream-100);
  --text-muted: #cdb79b;
  --text-dim: #a58f74;
  --ink: #2a1409;

  --glass-bg: rgba(255, 236, 210, 0.07);
  --glass-bg-strong: rgba(255, 236, 210, 0.12);
  --glass-border: rgba(255, 226, 190, 0.18);
  --glass-highlight: rgba(255, 244, 228, 0.22);
  --glass-blur: 18px;
  --shadow-sm: 0 4px 14px rgba(8, 3, 0, 0.28);
  --shadow-md: 0 14px 40px rgba(8, 3, 0, 0.42);
  --shadow-lg: 0 26px 70px rgba(8, 3, 0, 0.55);

  --accent: linear-gradient(135deg, #e8b061 0%, #d9953f 45%, #b4602a 100%);
  --accent-solid: #d9953f;
  --success: #7fd19a;
  --success-bg: rgba(86, 190, 120, 0.16);
  --warning: #f2c66d;
  --warning-bg: rgba(242, 198, 109, 0.16);
  --danger: #ff9b8a;
  --danger-bg: rgba(235, 90, 70, 0.18);
  --info: #9cc9e8;
  --info-bg: rgba(110, 170, 220, 0.16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--espresso-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--caramel-300); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream-100); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--cream-100); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--caramel-300); outline-offset: 3px; border-radius: 6px; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }

/* ---------- Fundo ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 12% -10%, #4a2612 0%, transparent 60%),
    radial-gradient(900px 700px at 100% 10%, #3b1c0e 0%, transparent 55%),
    linear-gradient(180deg, var(--espresso-900), var(--espresso-950));
}
.backdrop::before, .backdrop::after {
  content: ''; position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .32;
  animation: drift 26s ease-in-out infinite alternate;
}
.backdrop::before { background: radial-gradient(circle, #c47a35, transparent 65%); left: -12vmax; top: 20vh; }
.backdrop::after { background: radial-gradient(circle, #8a3b21, transparent 65%); right: -14vmax; bottom: -10vmax; animation-delay: -9s; }
@keyframes drift { to { transform: translate3d(7vmax, -5vmax, 0) scale(1.12); } }

/* ---------- Superfícies de vidro ---------- */
.glass {
  background: linear-gradient(145deg, var(--glass-bg-strong), var(--glass-bg));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-radius: var(--radius);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(48, 27, 15, .94); }
}
.glass-flat { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); }
.card { padding: 20px; }
.card h3 { margin-bottom: .6em; }

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; gap: var(--gap, 12px); align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: var(--gap, 16px); }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.price { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--glass-bg-strong); --btn-fg: var(--text); --btn-border: var(--glass-border);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; text-decoration: none; line-height: 1.1;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s, filter .25s, opacity .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--btn-fg); }
.btn:active { transform: translateY(0) scale(.96); box-shadow: none; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-border: rgba(255, 226, 180, .5); background: var(--accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { --btn-bg: transparent; }
.btn-danger { --btn-bg: var(--danger-bg); --btn-fg: var(--danger); --btn-border: rgba(255, 155, 138, .35); }
.btn-success { --btn-bg: var(--success-bg); --btn-fg: var(--success); --btn-border: rgba(127, 209, 154, .35); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
.ripple {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .38); transform: scale(0); pointer-events: none;
  animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-size: .85rem; font-weight: 600; color: var(--cream-300); }
.field .hint { font-size: .78rem; color: var(--text-dim); }
.field .error { font-size: .8rem; color: var(--danger); min-height: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(20, 10, 4, .45); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-300) 50%), linear-gradient(135deg, var(--cream-300) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
.select option { background: var(--espresso-800); color: var(--cream-100); }
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 226, 190, .35); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--caramel-300); box-shadow: 0 0 0 3px rgba(232, 176, 97, .28); background: rgba(20, 10, 4, .6); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--danger); }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--caramel-400); }

/* ---------- Badges, chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border); white-space: nowrap;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.success { color: var(--success); background: var(--success-bg); border-color: rgba(127, 209, 154, .3); }
.badge.warning { color: var(--warning); background: var(--warning-bg); border-color: rgba(242, 198, 109, .3); }
.badge.danger { color: var(--danger); background: var(--danger-bg); border-color: rgba(255, 155, 138, .3); }
.badge.info { color: var(--info); background: var(--info-bg); border-color: rgba(156, 201, 232, .3); }
.badge.pulse::before { animation: pulse 1.6s ease-in-out infinite; }
.badge.plain::before { display: none; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.5); } }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--glass-border);
  background: var(--glass-bg); font-size: .9rem; text-decoration: none; color: var(--text); transition: all .2s var(--ease);
}
.chip:hover { background: var(--glass-bg-strong); transform: translateY(-1px); color: var(--text); }
.chip[aria-pressed='true'], .chip.active { background: var(--accent); color: var(--ink); border-color: transparent; font-weight: 600; }

/* ---------- Tabelas (empilham em telas pequenas) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); padding: 12px 14px; border-bottom: 1px solid var(--glass-border); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 226, 190, .08); vertical-align: middle; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255, 236, 210, .06); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .table-wrap.glass { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--glass-border); border-radius: var(--radius); background: var(--glass-bg); }
  .table-stack td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 0; border: 0; text-align: right; }
  .table-stack td::before { content: attr(data-label); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); text-align: left; flex: none; }
  .table-stack td.actions { justify-content: flex-end; padding-top: 10px; }
  .table-stack td.actions::before, .table-stack td[data-label='']::before { display: none; }
}

/* ---------- Paginação ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.pager .btn { min-width: 42px; }

/* ---------- Modal / drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 3, 0, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .25s var(--ease);
}
.overlay.closing { animation: fadeOut .2s forwards; }
.modal {
  width: min(720px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: rgba(34, 19, 10, .88);
  animation: modalIn .35s var(--ease);
}
.modal.wide { width: min(980px, 100%); }
.modal.narrow { width: min(460px, 100%); }
.overlay.closing .modal { animation: modalOut .2s forwards; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--glass-border); }
.modal-head h2 { margin: 0; font-size: 1.35rem; }
.modal-body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--glass-border); flex-wrap: wrap; }
.drawer-overlay { justify-content: flex-end; padding: 0; align-items: stretch; }
.drawer {
  width: min(440px, 100%); height: 100%; display: flex; flex-direction: column; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: rgba(30, 16, 8, .9); animation: drawerIn .38s var(--ease);
}
.drawer-overlay.closing .drawer { animation: drawerOut .22s forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }
@media (max-width: 600px) {
  .overlay:not(.drawer-overlay) { align-items: flex-end; padding: 0; }
  .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 94dvh; width: 100%; }
  .drawer { border-radius: 0; }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 400; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: rgba(36, 20, 10, .92); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: toastIn .4s var(--ease);
}
.toast.success .icon { color: var(--success); } .toast.error .icon { color: var(--danger); } .toast.info .icon { color: var(--info); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
@media (max-width: 600px) { .toasts { right: 50%; transform: translateX(50%); bottom: 12px; } }

/* ---------- Estados ---------- */
.skeleton { position: relative; overflow: hidden; background: rgba(255, 236, 210, .06); border-radius: 12px; min-height: 18px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 236, 210, .12), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.empty { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--caramel-400); opacity: .85; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--glass-bg); }
.alert.error { background: var(--danger-bg); border-color: rgba(255, 155, 138, .35); color: #ffd3cb; }
.alert.warning { background: var(--warning-bg); border-color: rgba(242, 198, 109, .35); }
.alert.success { background: var(--success-bg); border-color: rgba(127, 209, 154, .35); }
.alert.info { background: var(--info-bg); border-color: rgba(156, 201, 232, .3); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.fade-up { animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Gráficos ---------- */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis text { fill: var(--text-dim); font-size: 11px; }
.chart .grid-line { stroke: rgba(255, 226, 190, .1); stroke-dasharray: 3 5; }
.chart .line { fill: none; stroke: var(--caramel-300); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { opacity: 0; transition: opacity .9s .5s; }
.chart.ready .area { opacity: 1; }
.chart .bar { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); transition: transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.chart.ready .bar { transform: scaleY(1); }
.chart .dot { fill: var(--cream-100); stroke: var(--caramel-400); stroke-width: 2; opacity: 0; transition: opacity .3s .9s, r .2s; }
.chart.ready .dot { opacity: 1; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:hover + .focus-guide, .chart .focus-guide.on { opacity: 1; }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none; padding: 8px 12px; border-radius: 10px; font-size: .8rem; white-space: nowrap;
  background: rgba(20, 10, 4, .95); border: 1px solid var(--glass-border); transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s;
}
.chart-tip.on { opacity: 1; }
.donut-wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; }
.donut-wrap svg { width: 170px; height: 170px; }
.donut-seg { fill: none; stroke-width: 22; transition: stroke-dasharray 1s var(--ease); transform: rotate(-90deg); transform-origin: 50% 50%; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.hbar { display: grid; gap: 12px; }
.hbar-row .meta { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; margin-bottom: 5px; }
.hbar-track { height: 10px; border-radius: 99px; background: rgba(255, 236, 210, .08); overflow: hidden; }
.hbar-fill { height: 100%; width: 0; border-radius: 99px; background: var(--accent); transition: width 1s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- Sem movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .backdrop::before, .backdrop::after { animation: none; }
}
