/* =========================================================
   Kidulting — styles
   Desktop values come from the 1512px Figma frame; --u is one
   design pixel, so absolute art placement scales with the viewport.
   ========================================================= */

:root {
  --paper: #f7f2e8;
  --ink: #292a2b;
  --clay: #d9826b;
  --butter: #dccb9b;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Sacramento", "Brush Script MT", cursive;

  --u: calc(min(100vw, 1512px) / 1512);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-draw: cubic-bezier(.65, .05, .36, 1);
}

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: -0.2px;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: normal; }

.page { overflow-x: clip; }

/* Centered 1512px stage that mirrors the Figma frame */
.frame {
  position: relative;
  width: min(100%, 1512px);
  margin-inline: auto;
}

.container {
  width: min(1293px, calc(100% - 40px));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.night :focus-visible,
.footer__card :focus-visible { outline-color: var(--butter); }

/* ---------- Buttons (feastie.ca language) ----------
   Chunky uppercase pills. On hover the face lifts up-right and a solid
   extruded slab appears beneath it; arrows swap out/in. The lift uses the
   `translate` property so it never fights reveal/entrance `transform`s. */
@property --lift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.btn {
  --face: var(--paper);
  --label: var(--ink);
  --slab: var(--ink);
  --lift: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 38px;
  border-radius: 100px;
  background: var(--face);
  color: var(--label);
  font: 800 17px/1 var(--font);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-variation-settings: "opsz" 14;
  white-space: nowrap;
  cursor: pointer;
  translate: var(--lift) calc(var(--lift) * -1);
  box-shadow:
    calc(var(--lift) * -.125) calc(var(--lift) * .125) 0 var(--slab),
    calc(var(--lift) * -.25) calc(var(--lift) * .25) 0 var(--slab),
    calc(var(--lift) * -.375) calc(var(--lift) * .375) 0 var(--slab),
    calc(var(--lift) * -.5) calc(var(--lift) * .5) 0 var(--slab),
    calc(var(--lift) * -.625) calc(var(--lift) * .625) 0 var(--slab),
    calc(var(--lift) * -.75) calc(var(--lift) * .75) 0 var(--slab),
    calc(var(--lift) * -.875) calc(var(--lift) * .875) 0 var(--slab),
    calc(var(--lift) * -1) var(--lift) 0 var(--slab);
  transition: --lift .45s var(--ease-spring), background-color .25s, color .25s;
}
.btn:hover,
.btn:focus-visible { --lift: 7px; }
.btn:active { --lift: 0px; transition-duration: .08s; }
.btn:focus-visible { outline-offset: 6px; }

.btn--paper { --face: var(--paper); --label: var(--ink); --slab: var(--clay); }
.btn--ink { --face: var(--ink); --label: var(--paper); --slab: var(--clay); }
.btn--clay { --face: var(--clay); --label: var(--ink); --slab: var(--ink); }
.btn--butter { --face: var(--butter); --label: var(--ink); --slab: var(--clay); }

/* Arrow pair injected by JS: one slides out, its twin slides in */
.btn__arrow {
  --ax: 1;
  --ay: 0;
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: -6px;
  overflow: hidden;
}
.btn__arrow--down-right { --ay: 1; }
.btn__arrow svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease-out);
}
.btn__arrow svg + svg { transform: translate(calc(var(--ax) * -140%), calc(var(--ay) * -140%)); }
.btn:hover .btn__arrow svg:first-child { transform: translate(calc(var(--ax) * 140%), calc(var(--ay) * 140%)); }
.btn:hover .btn__arrow svg + svg { transform: none; }

/* ---------- Script labels (hand-lettered) ---------- */
.script {
  display: block;
  height: 64px;
  width: auto;
  overflow: visible;
}
.script text {
  font-family: var(--script);
  font-size: 68px;
  fill: var(--butter);
  stroke: var(--butter);
  stroke-width: 2.2px;
  stroke-linejoin: round;
  paint-order: stroke;
}
.script--sm { height: 44px; }
.script--sm text { font-size: 52px; }

.js .script { clip-path: inset(-20% 100% -20% 0); }
.js .script.is-in {
  clip-path: inset(-20% -4% -20% 0);
  transition: clip-path 1.5s var(--ease-draw) .1s;
}

/* ---------- Scroll reveals ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Words revealed by scroll position (opacity driven from JS via --o) */
.js .js-reveal-words .rw { opacity: var(--o, .16); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: max(160px, calc(240 * var(--u))) 0 calc(83 * var(--u));
}

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  z-index: 30;
  top: 12px;
  left: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  text-align: left;
}
.nav__logo {
  flex: none;
  transition: transform .5s var(--ease-spring);
}
.nav__logo img { width: auto; height: clamp(56px, calc(72 * var(--u)), 72px); }
.nav__logo:hover { transform: rotate(-4deg) scale(1.06); }
.nav__links { display: flex; align-items: center; gap: 10px; }
/* Text links: uppercase with a dashed underline that goes solid on hover */
.nav__links a {
  padding: 20px 22px;
  font: 800 16px/1 var(--font);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-variation-settings: "opsz" 14;
}
.nav__links a span,
.footer__links a {
  padding-bottom: 4px;
  border-bottom: 1.5px dashed rgb(41 42 43 / .45);
  transition: border-color .25s;
}
.nav__links a:hover span { border-bottom-style: solid; border-color: currentColor; }
.nav__toggle {
  display: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  place-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero copy ---------- */
.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 20px;
}
.hero__title {
  max-width: 5.6em;
  font-weight: 800;
  font-size: clamp(54px, calc(100 * var(--u)), 100px);
  line-height: .792;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96;
}
.hero__title .hw { display: inline-block; }
.hero__lede {
  max-width: 470px;
  margin-top: max(26px, calc(46 * var(--u)));
  font-size: clamp(19px, calc(24 * var(--u)), 24px);
  line-height: 1.05;
  letter-spacing: -0.3px;
}
.hero__btn { margin-top: max(26px, calc(46 * var(--u))); }

.hero__art {
  position: relative;
  z-index: 2;
  width: calc(1148 * var(--u));
  margin: max(28px, calc(22 * var(--u))) auto 0;
}
.hero__art img {
  width: 100%;
  aspect-ratio: 1148 / 516.38;
  object-fit: cover;
}

/* ---------- Toys (shared) ----------
   .toy        → positioned + JS parallax transform
   .toy__pop   → one-off entrance
   .toy__float → idle bob
   .toy__img   → hover wiggle                       */
.hero__toys,
.about__toys {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__toys { z-index: 2; height: 100%; }
.about__toys { z-index: 4; height: 0; }

.toy {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  will-change: transform;
}
/* Toys scale down with the viewport but the logo has a minimum size */
.toy--brush { top: max(calc(var(--y) * var(--u)), 118px); }
.toy__float {
  animation: bob var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}
.toy__img {
  width: 100%;
  pointer-events: auto;
  cursor: grab;
  transition: transform .6s var(--ease-spring);
  -webkit-user-drag: none;
  user-select: none;
}
.toy__img:hover { transform: scale(1.1) rotate(8deg); }
.toy__img.is-boing { animation: boing .8s var(--ease-spring); }

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50% { transform: translate3d(0, -16px, 0) rotate(calc(var(--rot, 0deg) * -1)); }
}
@keyframes boing {
  0% { transform: scale(1); }
  30% { transform: scale(1.25, .8) rotate(-10deg); }
  55% { transform: scale(.9, 1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

/* ---------- Hero entrance ---------- */
.js .hero__title .hw,
.js .hero__lede,
.js .hero__btn,
.js .hero__art,
.js .toy__pop,
.js .nav { opacity: 0; }

.is-ready .nav { animation: fade-down .8s var(--ease-out) .1s both; }
.is-ready .hero__title .hw { animation: word-up 1s var(--ease-out) calc(.15s + var(--i) * .07s) both; }
.is-ready .hero__lede { animation: fade-up .9s var(--ease-out) .55s both; }
.is-ready .hero__btn { animation: pop-in .8s var(--ease-spring) .7s both; }
.is-ready .hero__art { animation: rise .9s var(--ease-out) .6s both; }
.is-ready .toy__pop { animation: toy-pop 1s var(--ease-spring) calc(.45s + var(--i) * .1s) both; }

@keyframes word-up {
  from { opacity: 0; transform: translate3d(0, .45em, 0) rotate(6deg); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-down {
  from { opacity: 0; transform: translate3d(0, -16px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 80px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes toy-pop {
  from { opacity: 0; transform: scale(.3) rotate(-30deg); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   ABOUT (butter)
   ========================================================= */
.about {
  /* Transition zone: stays paper while a butter circle grows to fill it.
     It is taller than the viewport so its bottom edge is never visible
     before the circle has covered it. */
  --zone-h: max(115vh, 760px);
  position: relative;
  z-index: 2;
  background: var(--butter);
  color: var(--ink);
  padding-top: calc(var(--zone-h) - 20vh);
}
#about { scroll-margin-top: 22vh; }

.about__zone {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--zone-h);
  background: var(--paper);
  overflow: hidden;
  pointer-events: none;
}
.about__circle {
  --d: 2000px; /* JS sizes this to reach the zone's farthest corner */
  position: absolute;
  left: 50%;
  top: 55vh;
  width: var(--d);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  border-radius: 50%;
  background: var(--butter);
  transform: scale(0);
  will-change: transform;
}
.about__toys .toy { top: calc(var(--zt) * var(--zone-h)); }
.statement {
  max-width: 1050px; /* matches the Figma line breaks */
  margin-left: max(20px, calc(58 * var(--u)));
  margin-right: 20px;
  font-weight: 800;
  font-size: clamp(34px, calc(72 * var(--u)), 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96;
}

.about__art {
  --art-w: max(calc(1760 * var(--u)), 112vw);
  position: relative;
  height: calc(var(--art-w) / 3);
  margin-top: calc(20 * var(--u));
  overflow: hidden;
  /* Sits under the art's bottom edge so a fractional row can't show butter at the join */
  background: linear-gradient(transparent calc(100% - 3px), var(--ink) 0);
}
.about__art img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--art-w);
  max-width: none;
  transform: translate3d(calc(-50% + var(--art-w) * .0175), var(--rise, 0px), 0);
  will-change: transform;
}

/* =========================================================
   NIGHT (features + visit)
   ========================================================= */
.night {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  padding-top: calc(94 * var(--u));
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 544px) minmax(0, 544px);
  justify-content: space-between;
  align-items: start;
  scroll-margin-top: 40px;
}
.feature + .feature { margin-top: max(110px, calc(202 * var(--u))); }

.feature__copy {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24.3px;
  padding-top: 51.92px;
}
.feature__head {
  display: flex;
  flex-direction: column;
  gap: 21.57px;
}
.feature__title {
  max-width: 520px; /* matches the Figma line breaks */
  font-weight: 800;
  font-size: clamp(38px, calc(56 * var(--u)), 56px);
  line-height: 1;
  letter-spacing: -1.2px;
  font-variation-settings: "opsz" 96;
}
.feature__copy p { --delay: .08s; }
.feature__copy .btn {
  --delay: .16s;
  margin-top: 15.7px;
  color: var(--ink);
}

/* ---------- Feature card ---------- */
.card {
  position: relative;
  height: 770px;
  border-radius: 24px;
  background: rgb(247 242 232 / .06);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6);
}
.card__inner {
  width: 100%;
  will-change: transform;
}
.card__photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
}

/* Mini UI rendered inside the cards */
.mock {
  padding: 22px 22px 60px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.1px;
}
.mock img { pointer-events: none; }
.mock__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid #ececec;
  border-radius: 100px;
}
.mock__logo { font-weight: 800; font-size: 16px; letter-spacing: -0.4px; }
.mock__logo em { color: var(--clay); }
.mock__links { display: flex; gap: 14px; font-weight: 700; font-size: 12px; color: #6b6b6b; }
.mock__pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--clay);
  color: var(--paper);
  font-weight: 700;
  font-size: 12px;
}
.mock__pill--yellow { background: var(--butter); color: var(--ink); margin-top: 16px; }
.mock__pill--ink { background: var(--ink); margin-top: 14px; }
.mock__icons { display: flex; align-items: center; gap: 10px; padding-right: 8px; }
.mock__icons svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mock__bag { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f4f4f4; }
.mock__bag i {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  font: 700 10px/1 var(--font);
}

.mock__hero {
  display: grid;
  grid-template-columns: 1fr 44%;
  align-items: end;
  gap: 10px;
  min-height: 250px;
  margin-top: 16px;
  padding: 26px 22px 18px;
  border-radius: 20px;
  overflow: hidden;
}
.mock__hero img { width: 100%; transform: rotate(-6deg); }
.mock__hero--coral { background: var(--clay); color: var(--paper); }
.mock__hero--ink { background: var(--ink); color: var(--paper); min-height: 210px; margin-top: 22px; }
.mock__hero--yellow { background: var(--butter); }
.mock__hero--short { min-height: 0; grid-template-columns: 1fr; padding: 24px 22px; }
.mock__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgb(247 242 232 / .25);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mock__hero--yellow .mock__eyebrow { background: rgb(41 42 43 / .08); }
.mock__display {
  font-weight: 800;
  font-size: 44px;
  line-height: .92;
  letter-spacing: -1.4px;
  font-variation-settings: "opsz" 96;
  text-align: left;
}
.mock__display--sm { font-size: 30px; line-height: .98; letter-spacing: -0.8px; }
.mock__label {
  margin: 26px 4px 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.mock__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg);
}
.mock__tile b { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.mock__tile img { width: 58%; align-self: flex-end; }
.mock__list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  font-size: 15px;
}
.mock__list span { color: var(--clay); }
.mock__chips { display: flex; gap: 8px; margin: 22px 0 14px; overflow: hidden; }
.mock__chips span {
  flex: none;
  padding: 8px 13px;
  border: 1px solid #e6e6e6;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
}
.mock__chips .is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product { padding: 12px; border-radius: 18px; background: var(--bg); }
.product__img { display: grid; place-items: center; aspect-ratio: 1.1; }
.product__img img { max-width: 72%; max-height: 82%; width: auto; }
.product__meta { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 6px; }
.product b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.2px; }
.product span { font-size: 11px; color: #6b6b6b; }
.product__add {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 700 16px/1 var(--font);
}

/* ---------- Visit steps (list + media panel) ---------- */
.visit {
  padding-top: max(110px, calc(157 * var(--u)));
  padding-bottom: clamp(60px, calc(110 * var(--u)), 120px);
  scroll-margin-top: 0;
}
.visit__title {
  max-width: 1045px;
  font-weight: 800;
  font-size: clamp(36px, calc(72 * var(--u)), 72px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-variation-settings: "opsz" 96;
}
.visit__title em { color: var(--clay); }
.visit__rule {
  margin: 64px 0 0;
  border: 0;
  border-top: 1.5px dashed rgb(247 242 232 / .16);
}

.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 660px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  margin-top: 56px;
}

.journey { display: grid; gap: 6px; }
.journey__item {
  border: 1px solid transparent;
  border-radius: 22px;
  transition: background-color .45s var(--ease-out), border-color .45s;
}
.journey__item.is-active {
  background: rgb(247 242 232 / .06);
  border-color: rgb(247 242 232 / .08);
}
.journey__tab {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: rgb(247 242 232 / .56);
  font: 700 22px/1.2 var(--font);
  letter-spacing: -0.4px;
  font-variation-settings: "opsz" 24;
  text-align: left;
  cursor: pointer;
  transition: color .3s;
}
.journey__tab:hover,
.journey__item.is-active .journey__tab { color: var(--paper); }
.journey__tab:focus-visible { outline-offset: -3px; }
.journey__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  transition: transform .5s var(--ease-spring), color .3s;
}
.journey__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey__item.is-active .journey__icon { color: var(--clay); transform: rotate(-8deg) scale(1.08); }
.journey__num {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  opacity: .45;
}

/* height: auto animation via grid rows */
.journey__desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}
.journey__desc > div { overflow: hidden; }
.journey__item.is-active .journey__desc { grid-template-rows: 1fr; }
.journey__desc p {
  padding: 0 28px 0 72px;
  color: rgb(247 242 232 / .72);
  font-size: 17px;
  line-height: 27px;
}
.journey__progress {
  display: block;
  height: 3px;
  margin: 20px 28px 24px 72px;
  border-radius: 3px;
  background: rgb(247 242 232 / .1);
  overflow: hidden;
}
.journey__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), var(--butter));
  transform: scaleX(0);
  transform-origin: left;
}
.journey.is-playing .journey__item.is-active .journey__progress span {
  animation: journey-progress 6.5s linear forwards;
}
.journey.is-paused .journey__progress span,
.journey.is-offscreen .journey__progress span { animation-play-state: paused !important; }
@keyframes journey-progress { to { transform: scaleX(1); } }

.journey__media {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border-radius: 30px;
  background: rgb(247 242 232 / .06);
  overflow: hidden;
  isolation: isolate;
}
.journey__slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out);
  pointer-events: none;
}
.journey__slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.journey__slide picture,
.journey__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey__chip {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 14px;
  border-radius: 100px;
  background: rgb(41 42 43 / .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
  font: 800 13px/1 var(--font);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.journey__chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgb(217 130 107 / .25);
}

/* =========================================================
   ROOFTOP SCENE (transition night → cta)
   ========================================================= */
.rooftop {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--ink);
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.rooftop__video,
.rooftop__still {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 870;
  object-fit: cover;
}
.rooftop__still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rooftop__video { display: none; }
  .rooftop__still { display: block; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: clamp(40px, calc(70 * var(--u)), 70px) 20px 0;
  overflow: hidden;
}
.cta .script { margin-inline: auto; }
.cta .script text { fill: var(--ink); stroke: var(--ink); }
.cta__title {
  max-width: 8em;
  margin: 14px auto 30px;
  font-weight: 800;
  font-size: clamp(40px, calc(64 * var(--u)), 64px);
  line-height: 1;
  letter-spacing: -1.6px;
  font-variation-settings: "opsz" 96;
}
.cta .btn { --delay: .1s; }

.cta__burst {
  --p: 0;
  position: relative;
  height: 780px;
  margin: 10px -20px 0;
}
.cta__beam {
  position: absolute;
  left: 50%;
  bottom: 300px;
  width: 980px;
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgb(220 203 155 / .95), rgb(220 203 155 / .35) 55%, rgb(220 203 155 / 0) 80%);
  clip-path: polygon(40% 100%, 60% 100%, 100% 0, 0 0);
  opacity: var(--p);
  transform-origin: bottom;
}
.burst-toy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 230px;
  width: var(--w);
  opacity: 0;
  transform: translate3d(-50%, 0, 0) scale(.3);
  will-change: transform, opacity;
}
.cta__box {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 70px;
  width: 270px;
  transform: translateX(-50%);
}
.cta__shadow {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 56px;
  width: 300px;
  height: 46px;
  border-radius: 50%;
  background: rgb(41 42 43 / .18);
  transform: translateX(-50%);
  filter: blur(4px);
}
.cta__ground {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -1px;
  width: max(1800px, 130vw);
  height: 160px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--clay);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--clay);
  color: var(--ink);
  padding: 30px 20px 36px;
}
.footer__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  max-width: 1293px;
  margin-inline: auto;
  padding: 64px;
  border-radius: 32px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.footer__logo { width: 240px; }
.footer__copy h2 {
  max-width: 8em;
  margin: 40px 0 34px;
  font-weight: 800;
  font-size: clamp(40px, calc(64 * var(--u)), 64px);
  line-height: 1;
  letter-spacing: -1.6px;
  font-variation-settings: "opsz" 96;
}
.footer__art {
  position: relative;
  height: 300px;
}
.footer__band {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 340px;
  max-width: none;
  transform: rotate(-10deg);
}
.footer__coin {
  position: absolute;
  top: 160px;
  right: 340px;
  width: 140px;
  max-width: none;
}
.footer__art .toy__float { position: absolute; inset: 0; }
.footer__spark {
  position: absolute;
  width: 5px;
  height: 46px;
  border-radius: 4px;
  transform-origin: bottom;
}
.footer__spark--a { top: 10px; right: 310px; background: var(--clay); transform: rotate(-38deg); }
.footer__spark--b { top: 90px; right: 360px; background: var(--butter); transform: rotate(-70deg); height: 30px; }
.footer__spark--c { top: 250px; right: 40px; background: var(--paper); transform: rotate(40deg); height: 34px; }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 64px;
  max-width: 1293px;
  margin: 34px auto 0;
  padding-inline: 8px;
  font-style: normal;
}
.footer__contact a { display: block; overflow-wrap: anywhere; }
.footer__contact small {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
}
.footer__contact span {
  border-bottom: 1.5px dashed rgb(41 42 43 / .5);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.footer__contact a:hover span { border-bottom-style: solid; border-color: currentColor; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 1293px;
  margin: 30px auto 0;
  padding-inline: 8px;
  font-weight: 700;
  font-size: 16px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.footer__links a:hover { border-bottom-style: solid; border-color: currentColor; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 2px; }
  .nav__links a { padding: 20px 10px; }
  .nav__cta { padding: 0 24px; font-size: 15px; }

  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .feature__copy { position: static; max-width: 620px; padding-top: 0; }
  .card { width: 100%; max-width: 544px; }

  .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; }

  .footer__card { grid-template-columns: 1fr; padding: 48px; }
  .footer__art { height: 240px; margin-top: 10px; }
  .footer__band { left: 40%; right: auto; top: 30px; width: 300px; }
  .footer__coin { left: 14%; right: auto; top: 90px; }
}

/* The toys scale with the viewport but the lede doesn't, so narrow it to fit between them */
@media (min-width: 861px) and (max-width: 1023px) {
  .hero__lede { max-width: 340px; }
}

@media (max-width: 860px) {
  .nav { top: 0; left: 0; right: 0; padding: 18px 20px; }
  .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute;
    top: calc(100% - 4px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 24px;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top;
    transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 16px 18px; font-size: 24px; line-height: 1.1; }
  .nav__links a span { border-bottom-color: transparent; }
  .nav__links a:focus-visible { outline-color: var(--butter); }

  .hero { padding-top: 230px; padding-bottom: 40px; }
  .toy--brush { left: 4vw; top: 92px; width: 23vw; }
  .toy--dice { left: 73vw; top: 100px; width: 21vw; }
  .toy--gift { left: 3vw; top: 410px; width: 20vw; }
  .toy--mascot { left: 74vw; top: 404px; width: 23vw; }
  .hero__art { width: 112vw; margin-left: -6vw; }

  .toy--coin { left: 8vw; width: 27vw; }
  .toy--band { left: 58vw; width: 36vw; }
  .toy--rings { left: 6vw; width: 30vw; }
  .about__art { --art-w: 150vw; }

  .card { height: 640px; }

  .visit__rule { margin-top: 44px; }
  .visit__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 36px; }
  .journey__media { order: -1; }

  .cta { padding-top: clamp(30px, calc(50 * var(--u)), 50px); }
  .cta__burst { height: 520px; }
  .cta__box { width: 210px; }
  .burst-toy { width: calc(var(--w) * .62); bottom: 200px; }
  .cta__beam { bottom: 250px; height: 300px; }

  .footer__card { padding: 36px 28px 0; border-radius: 26px; }
  .footer__copy h2 { margin: 28px 0 26px; }
}

/* The button leaves no room beside it, so the gift and mascot join the top row */
@media (max-width: 620px) {
  .toy--gift { left: 29vw; top: calc(92px + 3vw); width: 16vw; }
  .toy--mascot { left: 50vw; top: calc(92px + 3vw); width: 18vw; }
}

@media (max-width: 520px) {
  .btn { min-height: 58px; padding: 0 30px; font-size: 16px; }
  .hero { padding-top: 210px; }
  .mock__links { display: none; }
  .mock__display { font-size: 36px; }
  .mock__display--sm { font-size: 24px; }
  .card { height: auto; aspect-ratio: 2 / 3; max-height: 580px; }
  .journey__tab { gap: 14px; padding: 18px 18px; font-size: 20px; }
  .journey__desc p { padding: 0 20px 0 62px; font-size: 16px; line-height: 25px; }
  .journey__progress { margin: 16px 20px 20px 62px; }
  .journey__media { border-radius: 24px; }
  .footer__band { width: 240px; left: 32%; }
  .footer__coin { width: 110px; left: 6%; top: 100px; }
  .footer__spark--a { right: 60%; }
  .footer__spark--b { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .script { clip-path: none; }
  .js .js-reveal-words .rw { opacity: 1; }
}
