/* ai.byu — dusk palette, magazine serif + humanist sans */
:root {
  --ink: #0e1826;
  --ink-2: #16223a;
  --navy: #0f2747;
  --cream: #f4ede2;
  --paper: #efe7da;
  --gold: #d8a55b;
  --gold-soft: #e9c58b;
  --text: #1c2433;
  --muted: #5d6573;
  --line: rgba(15, 39, 71, 0.14);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", system-ui, sans-serif;
  --pad: clamp(18px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -0.01em; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.rule { display: block; width: 52px; height: 2px; background: var(--gold); border-radius: 2px; }
.fine { font-size: 0.85rem; color: var(--muted); }

/* Image slots: when a file isn't there yet, show what goes there */
.slot-missing { background: linear-gradient(135deg, #3a3329, #1d2330) !important; }
.slot-label {
  position: absolute; inset: auto 12px 12px auto; z-index: 3;
  font: 500 11px/1.3 var(--sans); color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45); padding: 5px 8px; border-radius: 6px; pointer-events: none;
}
.hero .slot-label { inset: auto 16px 16px auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  color: var(--cream);
  transition: background 0.4s, padding 0.4s;
}
.nav.solid { background: rgba(14, 24, 38, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.wordmark { font: 600 1.75rem/1 var(--serif); color: inherit; text-decoration: none; margin-right: auto; position: relative; padding-bottom: 8px; letter-spacing: -0.015em; }
.wordmark::after { content: ""; position: absolute; left: 2px; bottom: 0; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }
#site-nav { display: none; gap: clamp(20px, 3vw, 44px); }
#site-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; opacity: 0.92; position: relative; }
#site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
#site-nav a:hover::after { transform: scaleX(1); }
.menu { background: none; border: 1px solid rgba(244,237,226,0.45); color: inherit; border-radius: 999px; padding: 7px 16px; font: 500 0.88rem var(--sans); cursor: pointer; }
@media (min-width: 900px) { #site-nav { display: flex; } .menu { display: none; } }
@media (max-width: 899px) {
  #site-nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: 6px var(--pad) 18px; }
  #site-nav.open a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--ink); color: var(--cream); display: flex; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; filter: saturate(0.85) contrast(1.04) brightness(0.86); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,24,38,0.72) 0%, rgba(14,24,38,0.15) 26%, rgba(14,24,38,0) 55%, rgba(14,24,38,0.55) 100%),
    linear-gradient(90deg, rgba(14,24,38,0.78) 0%, rgba(14,24,38,0.35) 42%, rgba(14,24,38,0) 70%),
    linear-gradient(0deg, rgba(120,70,20,0.12), rgba(120,70,20,0.12));
}
.mesh {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, #000 45%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, #000 45%);
}
.hero-inner { position: relative; z-index: 2; align-self: center; padding: 120px var(--pad) 60px; width: 100%; max-width: 760px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero .rule { margin: 26px 0 30px; }

/* Quiz card — frosted glass over the photo and mesh */
.quiz {
  color: var(--cream); border-radius: 18px;
  padding: 22px 24px 20px; max-width: 470px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.quiz-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.quiz-dots i { width: 18px; height: 3px; border-radius: 2px; background: rgba(244,237,226,0.25); transition: background 0.4s, width 0.4s var(--ease); }
.quiz-dots i.on { background: var(--cream); }
.quiz-dots i.cur { background: var(--gold); width: 30px; }
.quiz-stage { position: relative; }
.q, .result { transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.q.enter, .result.enter { opacity: 0; transform: translateY(10px); }
.leave { opacity: 0 !important; transform: translateY(-8px) !important; position: absolute; inset: 0 0 auto 0; }
.q h3, .result h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 16px; outline: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  font: 500 0.95rem var(--sans); color: var(--cream); background: rgba(14,24,38,0.18);
  border: 1.5px solid rgba(244,237,226,0.7); border-radius: 999px; padding: 10px 20px; cursor: pointer;
  text-shadow: none; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.opt:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.opt:focus-visible { outline-color: var(--gold); }
.opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.q-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 0.82rem; color: rgba(244,237,226,0.75); }
.back { background: none; border: 0; padding: 0; font: 500 0.85rem var(--sans); color: rgba(244,237,226,0.75); cursor: pointer; }
.back:hover { color: var(--cream); }
.back:disabled { visibility: hidden; }
.result .kicker { font-size: 0.82rem; color: var(--gold-soft); margin: 0 0 4px; }
.result h3 { font-size: 2rem; margin-bottom: 10px; }
.result p { margin: 0 0 10px; font-size: 0.95rem; color: #efe6d8; }
.result .also { font-size: 0.86rem; color: rgba(244,237,226,0.75); }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.result-actions .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); text-shadow: none; }
.result-actions .btn:hover { background: #fff; }
.result-actions .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244,237,226,0.7); }
.result-actions .btn-ghost:hover { background: var(--cream); color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--cream); border: 1.5px solid var(--navy); border-radius: 999px; padding: 11px 22px; font: 500 0.95rem var(--sans); text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.25s var(--ease); }
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

/* ---------- Sections ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0 0 4px; font: 500 1rem var(--sans); color: var(--navy); text-decoration: none; cursor: pointer; border-bottom: 1.5px solid var(--gold); }
.link-btn:hover { color: var(--ink); }

.majors { padding: clamp(70px, 9vw, 120px) var(--pad) clamp(60px, 8vw, 110px); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(5, 1fr); } }
.card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden; background: var(--ink); text-align: left; color: var(--cream);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (max-width: 559px) { .card { aspect-ratio: 5 / 4; } }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 40px -18px rgba(14,24,38,0.55); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.28) saturate(0.8) brightness(0.62) contrast(1.05); transition: transform 1.2s var(--ease), filter 0.6s; }
.card:hover img, .card:focus-visible img { transform: scale(1.05); filter: sepia(0.2) saturate(0.9) brightness(0.55) contrast(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,38,0) 45%, rgba(14,24,38,0.75) 100%); }
.card canvas { position: absolute; left: 0; right: 0; top: 10%; width: 100%; height: 56%; z-index: 2; pointer-events: none; }
.card-label { position: absolute; left: 22px; right: 18px; bottom: 22px; z-index: 2; }
.card-label b { display: block; font: 500 clamp(1.5rem, 2.1vw, 1.9rem)/1.05 var(--serif); letter-spacing: -0.01em; }
.card-label .rule { width: 28px; margin-top: 12px; transition: width 0.5s var(--ease); }
.card:hover .card-label .rule { width: 56px; }
.card .new { position: absolute; top: 14px; left: 16px; z-index: 2; font-size: 0.72rem; font-weight: 600; color: var(--ink); background: var(--gold-soft); padding: 3px 9px; border-radius: 999px; }
.card .slot-label { top: 14px; right: 12px; bottom: auto; }

/* Band */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--cream); background: var(--ink); overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.15) brightness(0.62); }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,24,38,0.75), rgba(14,24,38,0.1)); }
.band-inner { position: relative; z-index: 2; padding: 0 var(--pad); max-width: 820px; }
.band h2 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.04; }
.band .rule { margin: 24px 0; }
.band p { font-size: 1.12rem; max-width: 46ch; color: #e6ddcf; margin: 0; }

/* Tiles */
.people { padding: clamp(70px, 9vw, 120px) var(--pad) 40px; }
.tiles { display: grid; gap: 14px; }
@media (min-width: 900px) { .tiles { grid-template-columns: 1.3fr 1fr 1fr; } }
.tile { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--cream); text-decoration: none; }
@media (min-width: 900px) { .tile { aspect-ratio: auto; height: 420px; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) brightness(0.68); transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,38,0) 40%, rgba(14,24,38,0.8)); }
.tile-text { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.tile-text b { display: block; font: 500 1.9rem/1.1 var(--serif); }
.tile-text span { display: block; color: #e6ddcf; margin-top: 4px; }
.tile-text b::after { content: " →"; color: var(--gold); font-family: var(--sans); font-size: 0.8em; display: inline-block; transition: transform 0.4s var(--ease); }
.tile:hover .tile-text b::after { transform: translateX(6px); }
.tile .slot-label { top: 12px; bottom: auto; }

/* Careers */
.careers { padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 60px); }
.careers .section-head { padding: 0 var(--pad); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 500 clamp(1.6rem, 3vw, 2.6rem)/1 var(--serif); color: var(--ink); white-space: nowrap; padding-left: 56px; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Closing — the four steps as a gold trail over the campus at dusk */
.closing { position: relative; color: var(--cream); background: var(--ink); overflow: hidden; padding: clamp(110px, 14vw, 180px) var(--pad) clamp(90px, 10vw, 130px); }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 22%; filter: saturate(0.75) brightness(0.55) sepia(0.25); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,24,38,0.05) 0%, rgba(14,24,38,0.2) 38%, rgba(14,24,38,0.8) 66%, var(--ink) 100%); }
.closing-inner { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; max-width: 12ch; margin-bottom: clamp(48px, 7vw, 90px); text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; position: relative; counter-reset: wp; }
.trail::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 0;
  border-left: 2px dashed rgba(232,183,108,0.75);
  transform-origin: top; transform: scaleY(var(--draw, 1)); transition: transform 1.6s var(--ease) 0.2s;
}
.trail li { position: relative; padding-left: 42px; counter-increment: wp; }
.trail .wp { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); background: var(--ink); transition: transform 0.5s var(--ease); }
.trail .summit .wp { background: var(--gold); box-shadow: 0 0 0 6px rgba(216,165,91,0.18), 0 0 24px 4px rgba(232,183,108,0.55); }
.trail b { display: block; font: 500 clamp(1.4rem, 2vw, 1.75rem)/1.15 var(--serif); }
.trail b::before { content: "0" counter(wp) "  "; font: 500 0.8rem var(--sans); color: var(--gold-soft); vertical-align: 0.35em; margin-right: 6px; }
.trail li > span:not(.wp) { display: block; color: #d9cfbf; margin: 4px 0 8px; font-size: 0.98rem; }
.trail a { color: var(--cream); text-decoration: none; font-weight: 500; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.trail a:hover { color: var(--gold-soft); }
.trail li:hover .wp { transform: scale(1.25); }
@media (min-width: 900px) {
  .trail { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .trail::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 0; border-left: 0; border-top: 2px dashed rgba(232,183,108,0.75); transform-origin: left; transform: scaleX(var(--draw, 1)); }
  .trail li { padding-left: 0; padding-top: 40px; }
  .trail .wp { top: 0; }
}
html.js:not(.rm) .trail:not(.in) { --draw: 0; }
html.js:not(.rm) .trail .wp { transition: transform 0.5s var(--ease), opacity 0.5s; }
html.js:not(.rm) .trail:not(.in) .wp { opacity: 0; transform: scale(0.4); }
html.js:not(.rm) .trail.in li:nth-child(1) .wp { transition-delay: 0.2s; }
html.js:not(.rm) .trail.in li:nth-child(2) .wp { transition-delay: 0.6s; }
html.js:not(.rm) .trail.in li:nth-child(3) .wp { transition-delay: 1.0s; }
html.js:not(.rm) .trail.in li:nth-child(4) .wp { transition-delay: 1.4s; }

/* Footer */
.footer { background: var(--ink); color: #c9c1b4; padding: 56px var(--pad) 64px; display: grid; gap: 30px; }
@media (min-width: 900px) { .footer { grid-template-columns: 1fr auto; align-items: end; } }
.wordmark-lg { color: var(--cream); font-size: 2.4rem; display: inline-block; margin: 0 0 18px; }
.motto { font: 500 1.3rem var(--serif); color: var(--cream); margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer a { color: #e6ddcf; text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }

/* Dialogs — liquid glass, matching the quiz card */
.sheet {
  border: 0; padding: 0; border-radius: 26px; width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 40px);
  color: var(--cream);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.2), rgba(255,255,255,0.07) 60%, rgba(255,255,255,0.1)),
    rgba(40, 50, 66, 0.22);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.24),
    inset 0 -20px 40px -30px rgba(255,255,255,0.12),
    0 40px 90px -24px rgba(0,0,0,0.65);
  text-shadow: 0 1px 14px rgba(0,0,0,0.3);
}
.sheet-wide { width: min(1180px, calc(100% - 28px)); }
.sheet::backdrop { background: rgba(14,24,38,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in 0.5s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(0.97); backdrop-filter: blur(0); } }
.sheet-body { padding: 36px clamp(22px, 4vw, 46px) 38px; position: relative; }
.sheet h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.08; color: #fffaf1; margin: 0 48px 6px 0; }
.close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.1);
  font-size: 1.4rem; line-height: 1; color: var(--cream); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); transition: background 0.2s;
}
.close:hover { background: rgba(255,255,255,0.24); }
.sheet .sub { color: rgba(244,237,226,0.72); margin: 0 0 18px; }
.sheet .lead { font-size: 1.05rem; margin: 0 0 24px; color: #f4ede2; }
.sheet .fine { color: rgba(244,237,226,0.7); }
.sheet a { color: var(--cream); }
.facts { display: grid; gap: 18px 30px; margin: 0 0 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts dt { font-size: 0.78rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 4px; letter-spacing: 0.01em; }
.facts dd { margin: 0; font-size: 0.95rem; color: #ece3d4; }
.facts .wide { grid-column: 1 / -1; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); text-shadow: none; }
.sheet .btn:hover { background: #fff; }
.sheet .btn-ghost { background: rgba(255,255,255,0.08); color: var(--cream); border-color: rgba(255,255,255,0.4); }
.sheet .btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.table-wrap { overflow-x: auto; margin-top: 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); }
.compare { border-collapse: collapse; min-width: 960px; width: 100%; font-size: 0.86rem; line-height: 1.45; color: #ece3d4; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.compare thead th { font: 500 1.05rem var(--serif); color: #fffaf1; background: rgba(255,255,255,0.08); }
.compare thead th .fine { font-family: var(--sans); }
.compare tbody th { font-size: 0.78rem; font-weight: 600; color: var(--gold-soft); width: 110px; }
.compare td.na { color: rgba(244,237,226,0.55); font-style: italic; }
.compare ul { margin: 0; padding-left: 1em; }
.compare .hl { background: rgba(232,183,108,0.16); }

/* Reveal on scroll */
html.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js:not(.rm) [data-reveal].in { opacity: 1; transform: none; }
html.js:not(.rm) .card:not(.in) { opacity: 0; transform: translateY(30px); }
html.js:not(.rm) .card.in { transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), box-shadow 0.5s; }
html.rm .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
