/* Bingo Energy landing page.
   Flavour colours are sampled from Razvan's posters and are provisional until BRAND.md has hex codes.
   Barlow / Barlow Condensed stand in for the unknown poster font. */

@property --tint {
  syntax: '<color>';
  inherits: true;
  initial-value: #e0141e;
}

:root {
  --ink: #07080c;
  --text: #f6f7f9;
  --muted: #b7bbc6;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .045);
  --yellow: #ffd400;
  --on-yellow: #0b0b0b;

  --original: #1d4ed8;
  --sugar-free: #22a8e6;
  --cherry: #e0141e;
  --passion-fruit: #f47b16;
  --apple: #16b04f;
  --watermelon: #e8268f;
  --tint: var(--cherry);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
  transition: --tint .9s var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; } /* the giant flavour names overhang; without this phones zoom out to fit them */
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--on-yellow); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--yellow); color: var(--on-yellow);
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i--lg { width: 30px; height: 30px; }

/* ---------- Fixed layers ---------- */

.backdrop {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(110% 75% at 85% 0%, color-mix(in oklab, var(--tint) 38%, transparent), transparent 62%),
    radial-gradient(80% 60% at 0% 100%, color-mix(in oklab, var(--tint) 20%, transparent), transparent 70%),
    var(--ink);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.can-glow {
  position: fixed; left: 0; top: 0; z-index: -1;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tint) 75%, transparent), transparent);
  opacity: 0; pointer-events: none; will-change: transform;
  transition: opacity 1s;
}
.can-canvas {
  position: fixed; left: 0; top: 0; z-index: -1;
  width: 100%; height: 100vh;
  pointer-events: none; opacity: 0;
  transition: opacity .2s;
}
.can-ready .can-canvas { opacity: 1; }
.can-ready .can-glow { opacity: .55; }

/* ---------- Type ---------- */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hl { color: var(--yellow); }
.h1 { font-size: clamp(3.9rem, 9vw, 8.25rem); }
.h2 { font-size: clamp(3rem, 7.2vw, 6.25rem); }

.line { display: block; overflow: hidden; padding: 0 .1em .04em 0; margin-right: -.1em; }
.line > span { display: inline-block; }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.25rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.lede {
  max-width: 36ch; margin: 1.6rem 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted);
}
.body { max-width: 46ch; color: var(--muted); }
.small { font-size: .875rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .25s, border-color .25s;
}
.btn .i { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--yellow); color: var(--on-yellow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(255, 212, 0, .7); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* The frosted bar lives on a pseudo-element: a backdrop-filter on the header itself would trap the
   full-screen mobile menu (position: fixed) inside the 76px bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transition: background-color .3s;
}
.site-header.is-scrolled, .site-header.is-open { border-color: var(--line); }
.site-header.is-scrolled::before, .site-header.is-open::before {
  background: rgba(7, 8, 12, .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo {
  display: inline-flex; align-items: center; gap: .22em;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.75rem; line-height: 1; letter-spacing: -.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.logo b { display: inline-flex; align-items: center; color: var(--yellow); font-weight: inherit; }
.logo svg { margin-left: 1px; }

.nav { margin-inline: auto; }
.nav ul, .site-footer ul { display: flex; gap: clamp(14px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav a, .site-footer nav a {
  position: relative; display: inline-block; padding: 12px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  background: none; color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .hide-sm { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: grid; place-items: center;
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 4px; }
  .nav a { font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 800; font-style: italic; letter-spacing: 0; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.45rem; }
  .btn--sm { padding: 0 14px; }
}

/* ---------- Can slots ---------- */

/* Empty boxes the fixed 3D can flies between (see main.js). */
.slot { position: relative; height: min(78vh, 720px); }
.no-can .slot { background: center / contain no-repeat var(--poster); }
.no-can .slot[data-flavour="original"] { --poster: url(img/posters/original.jpg); }
.no-can .slot[data-flavour="sugar_free"] { --poster: url(img/posters/sugar_free.jpg); }
.no-can .slot[data-flavour="cherry"] { --poster: url(img/posters/cherry.jpg); }
.no-can .slot[data-flavour="passion_fruit"] { --poster: url(img/posters/passion_fruit.jpg); }
.no-can .slot[data-flavour="apple"] { --poster: url(img/posters/apple.jpg); }
.no-can .slot[data-flavour="watermelon"] { --poster: url(img/posters/watermelon.jpg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; display: grid; align-items: center;
  min-height: 100svh; padding-block: calc(var(--header-h) + 24px) 72px;
}
/* The video's cans sit at 65% across, so the copy takes the darkened left side. */
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7, 8, 12, .55), transparent 22%),
    linear-gradient(to top, var(--ink), transparent 28%),
    linear-gradient(90deg, rgba(7, 8, 12, .92), rgba(7, 8, 12, .68) 36%, rgba(7, 8, 12, 0) 60%);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__pause { position: absolute; right: var(--gutter); bottom: 28px; z-index: 1; background: rgba(7, 8, 12, .45); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 46rem); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 44px;
}
.scroll-cue span {
  width: 2px; height: 34px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(var(--yellow) 0 50%, rgba(255, 255, 255, .2) 50%) 0 0 / 100% 200%;
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* Stacked: the whole 16:9 video, uncropped, under the header; copy underneath. */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 56px; }
  .hero__media { position: relative; z-index: 0; aspect-ratio: 16 / 9; }
  .hero__media::after { background: linear-gradient(to top, var(--ink), transparent 12%); }
  .hero__grid { margin-top: 24px; }
  .hero__pause { bottom: 10px; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden; padding-block: 22px;
  border-block: 1px solid var(--line);
  background: rgba(7, 8, 12, .4);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__list { display: flex; gap: 56px; margin: 0; padding: 0 56px 0 0; list-style: none; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem); text-transform: uppercase; letter-spacing: .01em;
}
.marquee__list .i { width: 1.1em; height: 1.1em; color: var(--yellow); }

/* ---------- Split sections ---------- */

.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(24px, 5vw, 80px);
  min-height: 100svh; padding-block: clamp(80px, 10vw, 140px);
}
.split--rev .slot { order: -1; }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  max-width: 520px; margin: 2.2rem 0 0;
}
.stat {
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stat dt {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; text-transform: uppercase;
}
.stat dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.stat--price { background: var(--yellow); border-color: transparent; color: var(--on-yellow); }
.stat--price dd { color: rgba(0, 0, 0, .72); font-weight: 600; }

/* ---------- Flavours ---------- */

.flavours__intro { padding-top: clamp(80px, 10vw, 140px); text-align: center; }
.flavours__intro .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }

.flavour {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(24px, 5vw, 80px); min-height: 100svh;
}
.flavour:nth-of-type(even) .slot { order: -1; }

.flavour__ghost {
  position: absolute; left: 50%; top: 50%; z-index: -2; translate: -50% -50%;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(6rem, 21vw, 19rem); line-height: 1; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
  pointer-events: none; user-select: none; will-change: transform;
}
.flavour__index {
  margin: 0 0 .8rem; font-family: var(--font-display); font-weight: 700;
  letter-spacing: .24em; color: var(--muted);
}
.flavour__name {
  display: flex; align-items: center; gap: 12px; margin: 0 0 1.4rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.flavour__name::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 4px color-mix(in oklab, var(--c) 35%, transparent);
}
.flavour__tag { font-size: clamp(3.3rem, 8.4vw, 7.75rem); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--glass); color: var(--muted); font-size: .92rem; font-weight: 500;
}

@media (max-width: 860px) {
  .split, .flavour { grid-template-columns: 1fr; min-height: 0; }
  .split--rev .slot, .flavour:nth-of-type(even) .slot { order: 0; }
  .split .slot, .flavour .slot { height: 52svh; min-height: 320px; }
  .flavour { padding-top: 72px; gap: 8px; }
  .flavour__ghost { font-size: 34vw; top: 62%; }
}

/* ---------- Competition ---------- */

.comp { padding-block: clamp(96px, 12vw, 180px); }
.comp__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(40px, 6vw, 96px); }
.comp__title { font-size: clamp(3.4rem, 8.6vw, 7.5rem); }
[data-count] { font-variant-numeric: tabular-nums; }

.launch { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 2.2rem; }
.launch__date, .launch__open {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.6rem; text-transform: uppercase;
}
.countdown { display: flex; gap: 10px; }
.countdown div {
  min-width: 84px; padding: 14px 10px 10px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--glass); text-align: center;
}
.countdown strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.prizes { display: grid; grid-template-columns: minmax(0, 340px); margin-top: 1.6rem; }
.prize { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.prize strong {
  display: block; font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1;
}
.prize span { color: var(--muted); font-size: .95rem; }
.prize--main { background: var(--yellow); border-color: transparent; color: var(--on-yellow); }
.prize--main span { color: rgba(0, 0, 0, .72); font-weight: 600; }

.enter__title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1.4rem; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.step {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass);
}
.step h4 {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.6rem; line-height: 1.05; text-transform: uppercase;
}
.step h4 .i { width: 20px; height: 20px; color: var(--yellow); }
.step p { margin: 2px 0 0; color: var(--muted); }

.ball {
  --b: var(--yellow);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .7), transparent 38%),
    radial-gradient(circle, transparent 55%, rgba(0, 0, 0, .32)),
    var(--b);
  box-shadow: 0 12px 28px -12px var(--b);
  transition: transform 1s var(--ease-out) var(--d, 0s);
}
.ball span {
  display: grid; place-items: center; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: #111;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
}

@media (max-width: 900px) { .comp__grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) {
  .countdown { width: 100%; }
  .countdown div { flex: 1; min-width: 0; }
}

/* ---------- About ---------- */

.about {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center;
  gap: clamp(40px, 6vw, 96px); padding-block: clamp(80px, 10vw, 140px);
}
.mascot { position: relative; margin: 0; max-width: 440px; justify-self: center; }
.mascot::before {
  content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tint) 55%, transparent), transparent);
  filter: blur(10px);
}
.mascot__frame {
  position: relative; z-index: -2; /* under the 3D can's layer (-1), so the can can fly into his hand */
  overflow: hidden; border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.mascot__frame img { width: 100%; height: auto; }
/* Each iris is clipped to its eye-white shape; main.js places and moves them. */
.eye { position: absolute; -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat; }
.eye[data-eye="l"] { --mask: url(img/eye-l-mask.png); }
.eye[data-eye="r"] { --mask: url(img/eye-r-mask.png); }
.mascot__frame .eye img { position: absolute; height: auto; will-change: transform; }
.mascot__drink {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .15s;
}
/* The catch: a quick crossfade from the 3D can to the clip, whose first frame is him holding it. */
.is-caught .mascot__drink, .no-can .mascot__drink { opacity: 1; }
.is-caught .can-canvas, .is-caught .can-glow { opacity: 0; transition-duration: .15s; }
/* Where the 3D can lands: the can in his hand (x 1140-1340, y 995-1545 of 1520x2688),
   padded so the can's 90% fill of a slot matches it; nudged 3px down after checking on screen. */
.mascot .slot.mascot__catch { position: absolute; left: 69.57%; top: 36.4%; width: 24.14%; height: 22.73%; }
.no-can .mascot__catch { background: none; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .mascot { max-width: 340px; }
}

/* ---------- Contact + footer ---------- */

.contact { padding-block: clamp(80px, 10vw, 140px); }
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 2.6rem; }
.card-link {
  display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass);
  text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s, background-color .3s;
}
.card-link:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .07); }
.card-link .i { color: var(--yellow); margin-bottom: auto; }
.card-link__label { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-link__value {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; overflow-wrap: anywhere;
}
.card-link__note { color: var(--muted); }
@media (max-width: 700px) { .contact__grid { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--line); background: rgba(7, 8, 12, .6); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px; }
.site-footer ul { flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .small { margin: 0; flex-basis: 100%; }

/* ---------- Reveal motion (only when JS runs) ---------- */

.js [data-reveal]:not([data-reveal="lines"]) {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line > span {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out) var(--d, 0s);
}
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js .step .ball { transform: translateX(-36px) rotate(-220deg); }
.js .step.is-in .ball { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition: none; }
  .js [data-reveal]:not([data-reveal="lines"]),
  .js [data-reveal="lines"] .line > span,
  .js .step .ball { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
