/* Red Bull flavors: unofficial concept. Dark page, one accent per flavor for glows and tints only. */

:root {
  --ink: #050A1C;
  --navy: #0B1D4D;
  --red: #DB0A40;
  --red-deep: #C20838;
  --yellow: #FFC906;
  --silver: #C9CED6;
  --white: #F5F6F8;
  --accent: #C9CED6;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(56px, 12vw, 180px);
  --fs-title: clamp(34px, 5.4vw, 84px);
  --fs-card: clamp(22px, 1.9vw, 28px);
  --fs-body: 16px;
  --fs-small: 14px;

  --gutter: clamp(16px, 3.4vw, 48px);
  --nav-h: 72px;
  --section-gap: clamp(88px, 12vw, 200px);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --surface: rgb(245 246 248 / 0.045);
  --surface-hi: rgb(245 246 248 / 0.085);
  --wash: rgb(245 246 248 / 0.08);
  --wash-hi: rgb(245 246 248 / 0.16);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background-color: #131829;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
main section:focus { outline: none; }
::selection { background: var(--red); color: var(--white); }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px; /* taste-skill-ignore: visually hidden utility */
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease-expo);
}
.skip:focus-visible { transform: none; outline-color: var(--ink); }

.display {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-style: italic;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Buttons and small controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s var(--ease-expo);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wash);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s var(--ease-expo);
}
.icon-btn:hover { background: var(--wash-hi); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--wash);
}
.lang__btn {
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.lang__btn:hover { color: var(--white); }
.lang__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-block;
  padding: 5px 9px 4px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge--limited { background: var(--yellow); color: var(--ink); }
.badge--sf { background: var(--silver); color: var(--ink); }

/* Navigation */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  transition: background-color 0.5s var(--ease-expo), backdrop-filter 0.5s var(--ease-expo), -webkit-backdrop-filter 0.5s var(--ease-expo);
}
.nav.is-scrolled {
  background-color: rgb(5 10 28 / 0.56);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); /* taste-skill-ignore: brief: glass nav after scroll */
  backdrop-filter: blur(18px) saturate(1.4); /* taste-skill-ignore: brief: glass nav after scroll */
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-card);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nav__logo { width: auto; height: 32px; }
.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}
.nav__links a {
  padding: 10px 0;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}
.nav__links a:hover { text-decoration-line: underline; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.nav__menu-btn { display: none; }
.nav__menu-btn .icon-close,
.nav__menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.nav__menu-btn[aria-expanded="true"] .icon-close { display: block; }

#motion-toggle .icon-play { display: none; }
#motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
#motion-toggle[aria-pressed="true"] .icon-play { display: block; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  background: var(--ink);
  overflow-y: auto;
}
.menu nav { display: grid; }
.menu nav a {
  padding: 4px 0;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
}
.menu .lang { align-self: flex-start; }

/* Hero */

.hero {
  position: relative;
  height: 100vh; /* taste-skill-ignore: fallback, next line is svh */
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__stage {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.hero__stage:focus-visible { outline-offset: -8px; }
.hero__stage.is-over-can { cursor: pointer; }
.hero__stage.is-dragging { cursor: grabbing; }
.hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease-expo);
}
.hero.is-ready .hero__canvas { opacity: 1; }

.hero__copy {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(20px, 4.4vh, 44px);
  left: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title title" "sub meta";
  align-items: end;
  column-gap: 40px;
  pointer-events: none;
}
.hero__copy button,
.hero__title,
.hero__sub,
.hero__now { pointer-events: auto; }
.hero__text { display: contents; }
.hero__title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-style: italic;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__sub {
  grid-area: sub;
  max-width: 36ch;
  margin-top: 16px;
  color: var(--silver);
}
.hero__meta {
  grid-area: meta;
  display: grid;
  justify-items: end;
  gap: 14px;
  width: 304px;
}
.hero__now { text-align: right; }
.hero__now-name { display: block; font-weight: 600; }
.hero__now-taste { display: block; color: var(--silver); }

.dots { display: flex; width: 100%; }
.dot {
  position: relative;
  flex: 1 1 0;
  height: 28px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 3px;
  background: rgb(245 246 248 / 0.38);
  transition: width 0.6s var(--ease-expo), margin 0.6s var(--ease-expo), background-color 0.3s;
}
.dot:hover::before { background: rgb(245 246 248 / 0.8); }
.dot[aria-current="true"]::before { width: 18px; margin-left: -9px; background: var(--white); }
.dot:focus-visible { outline-offset: -2px; }

.hero__fallback {
  position: absolute;
  inset: calc(var(--nav-h) + 12px) 0 46%;
}
.hero__fallback img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.hero__ghost {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(245 246 248 / 0.28);
  font-family: var(--font-display);
  font-size: min(26vw, 340px);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Flavor index */

.index { padding: var(--section-gap) var(--gutter) 0; }
.index__count { margin-top: 14px; color: var(--silver); font-weight: 600; }
.index__noscript { margin-top: 24px; color: var(--silver); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--wash);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease-expo);
}
.chip:hover { background: var(--wash-hi); }
.chip:active { transform: scale(0.96); }
.chip__n { color: var(--silver); font-size: var(--fs-small); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.chip[aria-pressed="true"] .chip__n { color: rgb(5 10 28 / 0.72); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
  gap: clamp(10px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.card { --accent: var(--silver); min-width: 0; }
.card__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 0 20px;
  border: 0;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.4s, transform 0.6s var(--ease-expo);
}
.card__btn:hover, .card__btn:focus-visible { background: var(--surface-hi); }
.card__btn:active { transform: scale(0.985); }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
}
.card__media::before {
  content: "";
  position: absolute;
  inset: 12% 10% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent); /* taste-skill-ignore: brief: accent glow */
  opacity: 0.28;
  transition: opacity 0.6s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.card__btn:hover .card__media::before,
.card__btn:focus-visible .card__media::before { opacity: 0.62; transform: scale(1.12); }
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 9% 0 5%;
  object-fit: contain;
  transition: transform 0.8s var(--ease-expo);
  -webkit-user-drag: none;
}
.card__btn:hover .card__img,
.card__btn:focus-visible .card__img { transform: translateY(-8px) rotate(-5deg) scale(1.05); }
.card__name {
  display: block;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: var(--fs-card);
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.card__taste { display: block; padding: 8px 18px 0; color: var(--silver); }
.card__btn .badges { padding: 14px 18px 0; }

/* Formula */

.formula {
  --accent: var(--silver);
  position: relative;
  margin-top: var(--section-gap);
  background: var(--navy);
}
.formula__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: center;
  gap: var(--gutter);
  min-height: 100vh; /* taste-skill-ignore: fallback, next line is svh */
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 48px;
  background: var(--navy);
  overflow: hidden;
}
.formula__copy { position: relative; z-index: 1; }
.facts {
  display: grid;
  gap: clamp(14px, 2.4vh, 28px);
  margin: clamp(28px, 5vh, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.fact__lead {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.fact__rest { display: block; margin-top: 6px; color: var(--silver); font-weight: 600; }
.formula__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(78vh, 760px);
  perspective: 1100px;
}
.formula__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(118%, 92vh);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent); /* taste-skill-ignore: brief: accent glow */
  opacity: 0.42;
  transition: background 0.9s var(--ease-expo);
}
.formula__can {
  position: relative;
  width: 100%;
  height: 90%;
  will-change: transform;
}
.formula__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.formula__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
.formula__band {
  position: absolute;
  inset: -10% auto -10% 30%;
  width: 18%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.36) 50%, transparent); /* taste-skill-ignore: light sweep on the turning can */
  transform: translateX(40%);
}

/* Limited strip */

.limited { padding-top: var(--section-gap); }
.limited__head { padding: 0 var(--gutter); }
.limited__line { margin-top: 14px; color: var(--silver); font-weight: 600; }
.strip {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  padding: clamp(28px, 4vw, 48px) var(--gutter) 28px;
  scrollbar-width: thin;
  scrollbar-color: rgb(245 246 248 / 0.4) transparent;
  cursor: grab;
}
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip__list {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lcard { --accent: var(--silver); flex: none; width: clamp(288px, 62vw, 820px); scroll-snap-align: start; }
.lcard__btn {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  width: 100%;
  min-height: clamp(400px, 60vh, 580px);
  padding: clamp(24px, 3.4vw, 56px);
  border: 0;
  background: color-mix(in srgb, var(--accent) 24%, var(--ink));
  text-align: left;
  cursor: inherit;
  overflow: hidden;
  transition: background-color 0.5s;
}
.lcard__btn:hover, .lcard__btn:focus-visible { background: color-mix(in srgb, var(--accent) 32%, var(--ink)); }
.lcard__media { position: relative; display: grid; place-items: center; height: 100%; min-height: 300px; }
.lcard__media::before {
  content: "";
  position: absolute;
  inset: 0 -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent); /* taste-skill-ignore: brief: accent glow */
  opacity: 0.5;
}
.lcard__img {
  position: relative;
  width: auto;
  height: min(46vh, 440px);
  object-fit: contain;
  transition: transform 0.9s var(--ease-expo);
  -webkit-user-drag: none;
  pointer-events: none;
}
.lcard__btn:hover .lcard__img { transform: rotate(-6deg) scale(1.04); }
.lcard__info { display: grid; justify-items: start; gap: 14px; }
.lcard__name {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.lcard__taste { color: var(--white); font-weight: 600; }

/* Notes (takeover and limited cards) */

.notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.note {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgb(245 246 248 / 0.12);
  font-weight: 600;
  line-height: 1.2;
}

/* Find it */

.find {
  padding: var(--section-gap) var(--gutter);
  text-align: center;
}
.find__line {
  max-width: 24ch;
  margin: clamp(18px, 2.4vw, 32px) auto 0;
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Footer */

.footer {
  padding: 36px var(--gutter) 44px;
  background: rgb(0 0 0 / 0.28);
  color: var(--silver);
}
.footer p { max-width: 60ch; }

/* Takeover */

.takeover {
  --accent: var(--silver);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--accent) 22%, var(--ink));
  color: var(--white);
  overflow: hidden auto;
  overscroll-behavior: contain;
}
.takeover::backdrop { background: transparent; }
.takeover__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "info media";
  align-items: center;
  gap: var(--gutter);
  min-height: 100%;
  padding: 88px var(--gutter) 48px;
}
.takeover__close { position: absolute; top: 16px; right: var(--gutter); z-index: 3; }
.takeover__media {
  grid-area: media;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(80vh, 840px);
}
.takeover__glow {
  position: absolute;
  inset: 2% -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent); /* taste-skill-ignore: brief: accent glow */
  opacity: 0.6;
}
.takeover__float { position: relative; width: 100%; height: 92%; }
.takeover__can { width: 100%; height: 100%; object-fit: contain; }
.takeover__info { grid-area: info; position: relative; z-index: 1; display: grid; justify-items: start; gap: 18px; }
.takeover__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.takeover__suffix { display: block; margin-top: 8px; color: var(--silver); font-size: var(--fs-card); line-height: 1; }
.takeover__taste { color: var(--white); font-size: var(--fs-card); font-weight: 600; line-height: 1.2; }
.takeover__pager { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.takeover__pos { min-width: 64px; color: var(--silver); font-weight: 600; text-align: center; }

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.switch input {
  position: absolute;
  width: 48px;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch__ui {
  position: relative;
  width: 48px;
  height: 28px;
  flex: none;
  border-radius: 999px;
  background: rgb(245 246 248 / 0.22);
  transition: background-color 0.3s;
}
.switch__ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.4s var(--ease-expo), background-color 0.3s;
}
.switch input:checked + .switch__ui { background: var(--yellow); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--ink); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--white); outline-offset: 3px; }

/* Narrower screens */

@media (min-width: 1280px) {
  .hero__copy { grid-template-areas: "title meta" "sub meta"; }
}

@media (max-width: 767.98px) {
  :root { --nav-h: 64px; }

  .nav__links, .nav__tools > .lang { display: none; }
  .nav__tools { margin-left: auto; }
  .nav__menu-btn { display: inline-grid; }

  .hero__copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "sub" "dots" "now" "cta";
  }
  .hero__meta { display: contents; }
  .hero__now { grid-area: now; text-align: left; }
  .hero__now-name, .hero__now-taste { display: inline; }
  .hero__now-name::after { content: " "; }
  .dots { grid-area: dots; margin: 14px 0 4px; }
  .hero__sub { margin-top: 12px; }
  #hero-open { grid-area: cta; justify-self: start; margin-top: 16px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__name { padding: 0 12px; font-size: 20px; }
  .card__taste { padding: 6px 12px 0; font-size: 14px; }
  .card__btn { padding-bottom: 14px; }
  .card__btn .badges { padding: 10px 12px 0; }

  .formula__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 8px;
    padding: calc(var(--nav-h) + 12px) var(--gutter) 28px;
  }
  .formula__visual { order: -1; height: 30vh; height: 30svh; }
  .formula__glow { width: min(100%, 34svh); }
  .facts { margin-top: 18px; gap: 12px; }

  .lcard__btn { grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; }
  .lcard__media { min-height: 0; height: 300px; }
  .lcard__img { height: 280px; }

  .takeover__wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "info";
    align-content: start;
    gap: 20px;
    padding: 72px var(--gutter) 36px;
  }
  .takeover__media { height: 46vh; height: 46svh; }
}

/* Motion: entrances only when the visitor allows it */

@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: rise 0.9s var(--ease-expo) both; }
  .hero__line + .hero__line { animation-delay: 0.08s; }
  .hero__sub { animation: rise 0.9s 0.16s var(--ease-expo) both; }
  .hero__meta { animation: rise 0.9s 0.24s var(--ease-expo) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767.98px) {
  .hero__now, .dots, #hero-open { animation: rise 0.9s 0.24s var(--ease-expo) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
}

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