@font-face {
  font-family: "Mythic Display";
  src: url("/assets/fonts/MythicDisplay.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy-950: #070e22;
  --navy-900: #0b1530;
  --navy-800: #12224a;
  --navy-700: #1a3061;
  --navy-600: #24427e;
  --card-top: #2c4f96;
  --card-bottom: #182d5c;
  --outline: #060b18;
  --gold: #ffd21f;
  --gold-shadow: #b98600;
  --red: #ff3d5a;
  --cyan: #5ee3ff;
  --text: #fff;
  --text-soft: #dbe5ff;
  --font: "Mythic Display", "Lilita One", system-ui, sans-serif;
  --badge-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --title-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .35);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0; }

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

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 18px;
  background: var(--gold); color: #1a1f3d;
  border: 3px solid var(--outline); border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 32px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 21, 48, .92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
}
.brand img { width: 128px; height: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.site-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 36px;
}
.site-nav a, .footer-nav a {
  text-decoration: none; text-transform: uppercase; font-size: 20px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  transition: color .15s ease;
}
.site-nav a:hover, .footer-nav a:hover { color: var(--gold); }
.ribbon {
  position: relative; isolation: isolate;
  align-self: center;
  padding: 10px 28px 10px 38px;
  font-size: 22px; text-transform: uppercase; text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  transition: padding .15s ease;
}
.ribbon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2);
}
.ribbon:focus-visible { outline-color: #fff; outline-offset: -2px; }
.ribbon:hover { padding-right: 36px; }
.nav-toggle { display: none; }

/* hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; max-height: 1000px;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 24px) 20px 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 20, 50, .55) 0%, rgba(5, 20, 50, 0) 26%),
    linear-gradient(0deg, var(--navy-900) 0%, rgba(11, 21, 48, 0) 22%);
}
.hero-content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px;
}
.hero-logo img {
  width: min(560px, 82vw); height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
  animation: logo-in .9s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hero-tagline {
  font-size: clamp(20px, 2.4vw, 28px);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .5);
}
.btn-play {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 44px 12px;
  background: linear-gradient(180deg, #ffe45c, var(--gold));
  color: #1a1f3d;
  border: 3px solid var(--outline);
  border-radius: 12px;
  box-shadow: 0 6px 0 var(--gold-shadow), 0 10px 24px rgba(0, 0, 0, .4);
  font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
  animation: pulse 2.4s ease-in-out 1.2s 2;
}
.btn-play:hover { transform: translateY(-2px) scale(1.04); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold-shadow); }

@keyframes logo-in { from { opacity: 0; transform: scale(.7); } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes float { 50% { transform: translateY(-14px); } }

/* shared section bits */
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  text-align: center;
  text-shadow: var(--title-shadow);
}
.section-lead {
  max-width: 780px; margin: 18px auto 0;
  text-align: center; font-size: 19px; color: var(--text-soft);
}

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* about */
.about {
  position: relative;
  padding: 40px 24px 110px;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}
.about-grid {
  max-width: 1260px; margin: 90px auto 0;
  display: grid; grid-template-columns: 150px repeat(4, 1fr); gap: 22px;
  align-items: stretch;
}
.mascot {
  align-self: center; justify-self: end;
  width: 250px; max-width: none; height: auto; margin-right: -100px;
  pointer-events: none;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .5));
}
.mascot.is-visible { animation: float 4.5s ease-in-out .7s; }
.card {
  position: relative; z-index: 1;
  padding: 72px 22px 28px;
  text-align: center;
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 3px solid var(--outline);
  border-radius: 16px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), 0 12px 28px rgba(0, 0, 0, .35);
}
.card:nth-of-type(2) { transition-delay: .08s; }
.card:nth-of-type(3) { transition-delay: .16s; }
.card:nth-of-type(4) { transition-delay: .24s; }
.card-icon {
  position: absolute; left: 50%; top: -52px; transform: translateX(-50%);
  width: 108px; height: 108px; object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
}
.card h3 { font-size: 27px; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.card p { margin-top: 14px; font-size: 16px; color: var(--text-soft); }

/* video banner */
.video-banner {
  position: relative; isolation: isolate;
  min-height: clamp(420px, 46vw, 660px);
  display: grid; place-items: center;
  overflow: hidden;
}
.video-banner-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.video-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(7, 14, 34, 0) 30%, rgba(7, 14, 34, .6) 100%),
    linear-gradient(180deg, var(--navy-800) 0%, rgba(18, 34, 74, 0) 18%, rgba(18, 34, 74, 0) 82%, var(--navy-800) 100%);
}
.video-banner-content { display: grid; place-items: center; }
.video-banner-logo {
  grid-area: 1 / 1;
  width: min(620px, 84vw); height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55));
}
.play-button {
  grid-area: 1 / 1; align-self: end;
  margin-bottom: -56px;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 14, 34, .55);
  border: 4px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .45);
  animation: ring 2s ease-out 2;
  transition: transform .15s ease, background-color .15s ease;
}
.play-button svg { width: 44px; height: 44px; fill: #fff; margin-left: 4px; }
.play-button:hover { transform: scale(1.08); background: var(--red); }
@keyframes ring { to { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }

.trailer-dialog {
  padding: 0; border: 0; background: transparent; overflow: visible;
  width: min(92vw, calc(86svh * 9 / 16));
}
.trailer-dialog::backdrop { background: rgba(4, 8, 20, .88); backdrop-filter: blur(4px); }
.trailer-dialog video {
  width: 100%; aspect-ratio: 9 / 16; border-radius: 16px;
  background: #000; border: 3px solid var(--gold);
}
.trailer-close {
  position: absolute; top: -18px; right: -18px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); border: 3px solid var(--outline); cursor: pointer;
}
.trailer-close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 3; stroke-linecap: round; fill: none; }

/* champions */
.champions {
  padding: 96px 24px 110px;
  background:
    radial-gradient(circle at 15% 20%, rgba(94, 227, 255, .06), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 210, 31, .05), transparent 40%),
    var(--navy-800);
}
.class-picker {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin: 40px auto 56px;
}
.class-avatar {
  width: 76px; height: 76px; padding: 0;
  border-radius: 50%; overflow: hidden; cursor: pointer;
  border: 4px solid #2f5fd0;
  background: var(--navy-950);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.class-avatar img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.85); transition: filter .15s ease; }
.class-avatar:hover { transform: translateY(-3px); }
.class-avatar:hover img { filter: none; }
.class-avatar[aria-selected="true"] {
  border-color: var(--gold);
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(255, 210, 31, .25), 0 0 26px rgba(255, 210, 31, .55);
}
.class-avatar[aria-selected="true"] img { filter: none; }

.class-panel {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
}
#panel-warlord { --class-color: #ff9a2e; }
#panel-vanguard { --class-color: #5d8bff; }
#panel-ranger { --class-color: #3fe08a; }
#panel-arcanist { --class-color: #b46bff; }
#panel-druid { --class-color: #2fd6c8; }
#panel-reaver { --class-color: #ff4d5e; }
.class-panel:not([hidden]) .class-info { animation: panel-in .45s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(-24px); } }

.class-weapon {
  width: 220px; height: 220px; object-fit: contain;
  margin-bottom: 18px;
  background: radial-gradient(circle, color-mix(in srgb, var(--class-color) 45%, transparent) 0%, transparent 65%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5));
  animation: float 4.5s ease-in-out;
}
.class-name { font-size: clamp(44px, 5vw, 64px); text-shadow: var(--title-shadow); }
.class-tags {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.class-tags li {
  padding: 6px 14px 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--class-color) 22%, var(--navy-950));
  border: 2px solid var(--class-color);
  font-size: 16px;
}
.class-desc {
  margin-top: 20px; max-width: 480px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(7, 14, 34, .6);
  color: var(--text-soft);
  font-size: 18px;
}
.class-clip {
  width: 300px; aspect-ratio: 9 / 16;
  border: 4px solid var(--gold);
  border-radius: 22px; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 6px var(--outline), 0 24px 48px rgba(0, 0, 0, .5);
}
.class-clip { position: relative; }
.class-clip video { width: 100%; height: 100%; object-fit: cover; }
.clip-toggle {
  position: absolute; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 14, 34, .7); border: 2px solid rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background-color .15s ease;
}
.clip-toggle:hover { background: var(--red); }
.clip-toggle svg { width: 18px; height: 18px; fill: #fff; }
.clip-toggle .icon-pause, .class-clip.is-playing .clip-toggle .icon-play { display: none; }
.class-clip.is-playing .clip-toggle .icon-pause { display: block; }

/* call to action */
.cta {
  position: relative; isolation: isolate;
  min-height: clamp(400px, 42vw, 600px);
  display: grid; place-items: center;
  padding: 80px 24px;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 21, 48, .35), rgba(11, 21, 48, .55));
}
.cta-content { display: flex; flex-direction: column; align-items: center; gap: 34px; }

.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px; padding: 9px 22px 9px 16px;
  background: #000; color: #fff;
  border: 1.5px solid #a6a6a6; border-radius: 12px;
  font-family: var(--badge-font); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.store-badge:hover { transform: translateY(-3px) scale(1.03); border-color: #fff; }
.store-badge-icon { width: 34px; height: 34px; flex: none; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: 0; }
.store-badge-text small { font-size: 12px; font-weight: 500; }
.store-badge-text strong { font-size: 25px; font-weight: 600; letter-spacing: -.01em; }

/* features */
.features {
  padding: 100px 24px 120px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
}
.features-layout {
  max-width: 1080px; margin: 52px auto 0;
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
}
.feature-tabs { display: flex; flex-direction: column; gap: 6px; }
.feature-tabs button {
  padding: 10px 0 10px 16px;
  border: 0; border-left: 5px solid transparent;
  background: none; cursor: pointer;
  text-align: left; font-size: 26px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .4);
  transition: color .15s ease, border-color .15s ease;
}
.feature-tabs button:hover { color: var(--gold); }
.feature-tabs button[aria-selected="true"] { color: var(--cyan); border-left-color: var(--cyan); }

.carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--outline);
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  touch-action: pan-y;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.slide {
  position: relative; flex: 0 0 100%; height: 100%; margin: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.slide > img { width: 100%; height: 100%; object-fit: cover; }
.slide-portrait::before {
  content: ""; position: absolute; inset: 0;
  background: var(--slide-bg, none) center / cover;
  filter: blur(22px) brightness(.55); transform: scale(1.15);
}
.slide-portrait > img {
  position: relative; width: auto; height: 92%;
  border-radius: 12px; object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}
.slide-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 10px;
  padding: 24px 36px;
  background: radial-gradient(circle at 50% 40%, var(--navy-600), var(--navy-950));
}
.slide-grid > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.slide-grid.slide-grid-3 { grid-template-columns: repeat(3, 1fr); padding-inline: 18%; }

.carousel-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 14, 34, .55); border: 2px solid rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background-color .15s ease;
}
.carousel-arrow:hover { background: var(--red); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-dots { display: flex; justify-content: center; margin-top: 10px; }
.carousel-dots button {
  width: 24px; height: 24px; padding: 0;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
}
.carousel-dots button::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: background-color .15s ease, transform .15s ease;
}
.carousel-dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.25); }

.feature-desc {
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: 16px;
  background: rgba(7, 14, 34, .55);
}
.feature-desc h3 { font-size: 28px; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.feature-desc ul { margin: 12px 0 0; padding-left: 22px; color: var(--text-soft); font-size: 18px; }
.feature-desc li + li { margin-top: 4px; }

/* footer */
.site-footer { background: var(--navy-950); }
.footer-main {
  max-width: 1120px; margin: 0 auto;
  padding: 64px 24px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.footer-brand img { width: 200px; height: auto; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; }
.footer-bottom {
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #050a18;
  text-align: center; font-size: 14px; color: #93a3c9;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* responsive */
@media (max-width: 1180px) {
  .about-grid { grid-template-columns: repeat(4, 1fr); max-width: 1120px; }
  .mascot { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header { padding-left: 16px; }
  .brand img { width: 104px; }
  .nav-toggle {
    order: 3; display: grid; place-items: center;
    width: 48px; height: 48px; margin-right: 8px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
    background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -8px; }
  .nav-toggle-bars::after { position: absolute; top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; box-shadow: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; transform: none;
    flex-direction: column; gap: 0;
    background: var(--navy-900);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .4);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav a { padding: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .06); }
  .ribbon { margin-left: auto; padding: 8px 18px 8px 26px; font-size: 18px; }
  .ribbon:hover { padding-right: 18px; }

  .hero-bg { object-position: 50% 30%; }

  .about-grid { grid-template-columns: repeat(2, 1fr); row-gap: 76px; margin-top: 76px; }

  .class-panel { grid-template-columns: 1fr; justify-items: center; gap: 36px; text-align: center; }
  .class-info { display: flex; flex-direction: column; align-items: center; }
  .class-tags { justify-content: center; }
  .class-weapon { width: 200px; height: 200px; }

  .features-layout { grid-template-columns: 1fr; gap: 24px; }
  .feature-tabs {
    flex-direction: row; overflow-x: auto; gap: 4px;
    scrollbar-width: none;
  }
  .feature-tabs::-webkit-scrollbar { display: none; }
  .feature-tabs button {
    flex: none; padding: 8px 14px 10px;
    border-left: 0; border-bottom: 4px solid transparent;
    font-size: 21px;
  }
  .feature-tabs button[aria-selected="true"] { border-bottom-color: var(--cyan); }

  .footer-main { flex-direction: column; text-align: center; }
  .footer-right { align-items: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 72px; align-items: flex-start; }
  .hero-content { gap: 16px; margin-top: 8px; }
  .about { padding-bottom: 80px; }
  .about-grid { grid-template-columns: 1fr; row-gap: 72px; }
  .champions, .features { padding-top: 72px; padding-bottom: 80px; }
  .class-picker { gap: 8px; margin: 32px auto 40px; }
  .class-avatar { width: 48px; height: 48px; border-width: 3px; }
  .class-clip { width: min(280px, 78vw); }
  .carousel-viewport { aspect-ratio: 4 / 5; }
  .slide-grid, .slide-grid.slide-grid-3 { grid-template-columns: repeat(3, 1fr); padding: 16px; }
  .feature-desc { padding: 20px; }
  .feature-desc ul { font-size: 16px; }
  .footer-nav { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
