/* Once Upon A Wizard — match concept screenshot */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  /* ~Chrome 125% zoom: scale rem + layout tokens together */
  --scale: 1.25;
  --bg: #05070a;
  --bg-mid: #0a1428;
  --cosmic: #1a2b4e;
  --gold: #d4af37;
  --gold-deep: #b8922a;
  --gold-bright: #e6c34a;
  --text: #ffffff;
  --muted: #9aa3b5;
  --header-h: calc(64px * var(--scale));
  --max: calc(1120px * var(--scale));
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(100% * var(--scale));
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Full-bleed cosmic stage */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 90% 55% at 72% 28%, rgba(55, 95, 170, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 45% at 18% 70%, rgba(25, 45, 95, 0.35), transparent 60%),
    linear-gradient(180deg, #04060c 0%, #0b1630 42%, #060a14 100%);
}

.page-bg__image {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-cosmic.png") center top / cover no-repeat;
  opacity: 0.72;
  mix-blend-mode: lighten;
}

.page-bg__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 22% 62%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 48% 28%, rgba(230, 195, 74, 0.45), transparent),
    radial-gradient(1px 1px at 67% 12%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 81% 44%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 91% 76%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255, 255, 255, 0.3), transparent);
  animation: twinkle 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.75rem;
}

/* ========== HEADER ========== */
.site-header {
  position: relative;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: 0.35rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: calc(40px * var(--scale));
  height: calc(40px * var(--scale));
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-name__top {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.brand-name__bottom {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* ========== HERO — art inside content container, under copy ========== */
.hero.stack--hero,
.stack--hero {
  position: relative;
  padding: 0.65rem 0 0.85rem;
  border-top: none;
  overflow: visible;
  min-height: 0;
  display: block;
}

.hero-stage {
  position: relative;
}

.hero-bg {
  position: relative;
  z-index: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0c1426;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-bg img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.hero-bg__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 18, 0.62) 0%,
      rgba(5, 10, 22, 0.4) 28%,
      rgba(5, 12, 28, 0.14) 48%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 14, 0.18) 0%,
      transparent 28%,
      transparent 78%,
      rgba(5, 7, 14, 0.35) 100%
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem clamp(1rem, 3vw, 2.25rem);
  pointer-events: none;
}

.hero-overlay .hero-copy,
.hero-overlay a,
.hero-overlay button {
  pointer-events: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(30rem, 46%);
  margin: 0;
  width: 100%;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.game-logo {
  width: min(100%, calc(360px * var(--scale)));
  margin: 0 0 0.5rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.65));
  animation: float-soft 6.5s ease-in-out infinite;
}

.lede {
  margin: 0 auto 0.9rem;
  max-width: 34ch;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: fit-content;
  max-width: 100%;
}

.platform-row__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 210, 225, 0.85);
}

.platform-steam {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(230, 236, 242, 0.95);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.platform-steam img {
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

.platform-steam:hover {
  color: #fff;
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(118px * var(--scale));
  min-height: calc(40px * var(--scale));
  padding: 0.55rem 1.2rem;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #e0b93d 0%, #c9a227 100%);
  color: #1a1408;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
  background: rgba(8, 12, 22, 0.45);
  border-color: rgba(230, 210, 160, 0.78);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.75; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Soft divider with centered gold ornament */
.section-rule {
  position: relative;
  width: min(88%, calc(920px * var(--scale)));
  height: 1px;
  margin: 0.35rem auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(170, 180, 200, 0.18) 18%,
    rgba(200, 210, 230, 0.42) 50%,
    rgba(170, 180, 200, 0.18) 82%,
    transparent 100%
  );
}

.section-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow:
    0 0 10px rgba(230, 195, 74, 0.55),
    0 0 0 3px rgba(5, 8, 16, 0.92);
  border-radius: 1px;
}

/* ========== STUDIO / FEATURES ========== */
.studio {
  padding: 1.75rem 0 2.25rem;
}

.section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f2f2f4;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: #8e97a8;
  font-size: 1rem;
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  text-align: center;
}

.feature-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 5 / 4;
  background: #0c1426;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.feature-card:not(:first-child) h3 {
  color: rgba(245, 245, 247, 0.95);
}

.feature-card p {
  margin: 0.1rem 0 0;
  color: rgba(180, 188, 204, 0.95);
  font-size: 0.88rem;
}

/* ========== INNER PAGES ========== */
.page-hero {
  padding: clamp(2rem, 4.5vw, 3rem) 0 1.15rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--gold);
}

.page-hero .lede {
  margin-inline: auto;
  max-width: 48ch;
}

.panel {
  background: rgba(10, 16, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.content-block {
  padding: 0 0 3.25rem;
}

.game-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.game-spotlight .game-logo {
  width: min(100%, calc(360px * var(--scale)));
  margin: 0 0 1rem;
}

.game-spotlight .hero-art {
  justify-self: center;
  margin-inline: auto;
}

.meta-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.meta-list strong {
  color: var(--gold);
  font-weight: 600;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.prose h2,
.panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.05em;
  font-size: 1.3rem;
}

.prose p,
.panel p {
  margin: 0 0 1rem;
  color: rgba(245, 245, 247, 0.9);
}

.prose p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 18, 0.7);
  color: var(--text);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(212, 175, 55, 0.4);
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.stat-stack {
  display: grid;
  gap: 0.9rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Motion — keep content readable; only subtle entrance */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal:not(.is-visible) {
  opacity: 0.001;
  transform: translateY(12px);
}

html.js .reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-visible),
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .game-logo,
  .page-bg__stars {
    animation: none;
  }
}

/* ========== PANCAKE STACKS ========== */
.stack {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stack--pillars {
  padding-top: 0.65rem;
  padding-bottom: clamp(1.5rem, 3.5vw, 2.4rem);
  border-top: none;
}

.stack--trailer {
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.35), transparent 70%);
}

.stack--features {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 50, 90, 0.35), transparent 65%);
}

.stack--classes {
  background: linear-gradient(180deg, rgba(10, 8, 20, 0.5), transparent 40%);
}

.trailer-frame {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  max-width: 960px;
  margin-inline: auto;
}

.trailer-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.trailer-frame:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.trailer-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.trailer-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #1a1408;
}

.trailer-frame:hover .trailer-play {
  transform: scale(1.08);
}

.gfeature-list {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.gfeature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.gfeature--flip .gfeature__media {
  order: 2;
}

.gfeature__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.gfeature__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gfeature:hover .gfeature__media img {
  transform: scale(1.03);
}

.gfeature__copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.gfeature__copy p {
  margin: 0;
  color: rgba(245, 245, 247, 0.88);
  max-width: 40ch;
  line-height: 1.55;
}

.class-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
  margin: 0 0 1.75rem;
}

.class-tab {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.4rem;
  min-width: 112px;
  width: auto;
  padding: 0.7rem 0.7rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.55);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.class-tab img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.class-tab span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}

.class-tab:hover,
.class-tab.is-active {
  border-color: rgba(212, 175, 55, 0.75);
  color: var(--gold-bright);
  background: rgba(20, 28, 48, 0.85);
  transform: translateY(-2px);
}

.class-stage {
  position: relative;
  min-height: 420px;
}

.class-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.class-panel[hidden] {
  display: none;
}

.class-panel__art {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  background: #0a1020;
}

.class-panel__art img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.class-kicker {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-panel__copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  color: #f4f0e6;
}

.class-panel__copy p:last-child {
  margin: 0;
  color: rgba(245, 245, 247, 0.9);
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  text-align: center;
  color: rgba(160, 170, 190, 0.78);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1225px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfeature,
  .gfeature--flip,
  .class-panel {
    grid-template-columns: 1fr;
  }

  .gfeature--flip .gfeature__media {
    order: 0;
  }

  .game-spotlight,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero.stack--hero,
  .stack--hero {
    min-height: 0;
    padding: 0.4rem 0 0.65rem;
  }

  .hero-bg__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 18, 0.4) 0%,
        rgba(5, 10, 22, 0.22) 40%,
        rgba(5, 8, 18, 0.45) 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 8, 18, 0.38) 0%,
        transparent 62%
      );
  }

  .hero-overlay {
    padding: 1rem 0.85rem;
    justify-content: center;
  }

  .hero-copy {
    max-width: 34rem;
  }
}

@media (max-width: 900px) {
  .container {
    padding-inline: 1rem;
  }

  .nav-bar {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0;
    background: rgba(5, 7, 12, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: calc(360px * var(--scale));
    margin-inline: auto;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .class-picker {
    gap: 0.8rem;
  }

  .class-tab {
    min-width: 100px;
    padding: 0.6rem 0.55rem 0.5rem;
  }

  .class-tab img {
    width: 44px;
    height: 44px;
  }

  .brand-name__top {
    font-size: 0.5rem;
  }

  .brand-name__bottom {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }
}
