/* Palestra website.
   Colors, fills and type mirror the app's look (app/palestra-look.css,
   spec /mnt/project-files/ui-redesign/SPEC.md). Only :root holds raw colors;
   everything below uses the tokens. Motion uses transform and opacity only. */

@font-face {
  font-family: "Palestra UI";
  src: url("/assets/fonts/Manrope-Latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Mirrored from app/palestra-look.css (kept in sync by tests/website-site.test.mjs). */
  --pl-canvas: #ffffff;
  --pl-ink: #141210;
  --pl-ink-2: #3d3833;
  --pl-muted: #6b645d;
  --pl-faint: rgb(20 18 16 / .62);
  --pl-line: rgb(20 18 16 / .08);
  --pl-orange-500: #ff6a00;
  --pl-orange-600: #e85500;
  --pl-orange-700: #b84100;
  --pl-orange-100: #ffe9d9;
  --pl-orange-50: #fff4ec;
  --pl-orange-400: #ff8a3d;
  --pl-teal-500: #16919a;
  --pl-teal-700: #0e6f7b;
  --pl-teal-100: #dff3f2;
  --pl-lavender-500: #8f7cf0;
  --pl-lavender-700: #5a47c2;
  --pl-lavender-100: #ece8ff;
  --pl-fill-orange:
    radial-gradient(130% 105% at 100% 0%, #fffaf4f2 0, #fff1e44d 38%, transparent 64%),
    radial-gradient(120% 100% at 0% 100%, #ff7a2ad0 0, transparent 66%),
    linear-gradient(150deg, #ffcba3, #ff9147);
  --pl-fill-teal:
    radial-gradient(110% 90% at 100% 0%, #c8f3ee73 0, transparent 52%),
    radial-gradient(120% 100% at 0% 100%, #0b5d6699 0, transparent 62%),
    linear-gradient(150deg, #14808a, #0f6f79);
  --pl-fill-lavender:
    radial-gradient(100% 80% at 100% 0%, #ffffffd9 0, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, #9a86f2b3 0, transparent 65%),
    linear-gradient(150deg, #d8cfff, #b9abf8);
  --pl-fill-peach:
    radial-gradient(100% 80% at 100% 0%, #fffaf3 0, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, #ffc59ab3 0, transparent 65%),
    linear-gradient(150deg, #ffeedd, #ffdcc0);
  --pl-fill-pearl:
    radial-gradient(100% 80% at 100% 0%, #ffeadb 0, transparent 60%),
    radial-gradient(90% 80% at 0% 100%, #e6f5f3 0, transparent 60%),
    linear-gradient(160deg, #ffffff, #f6f4f2);
  --pl-fill-quiet: #f3f1ef;
  --pl-on-orange: #2b1405;
  --pl-on-orange-muted: rgb(43 20 5 / .78);
  --pl-on-teal: #ffffff;
  --pl-on-lavender: #1d1736;
  --pl-on-peach: #3a1d08;
  --pl-inset-on-color: linear-gradient(160deg, rgb(255 255 255 / .26), rgb(255 255 255 / .12));
  --pl-inset-on-light: rgb(20 18 16 / .04);
  --pl-rim: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 0 0 1px rgb(255 255 255 / .18);
  --pl-shadow-orange: 0 18px 34px -18px #ff8a3d66;
  --pl-shadow-teal: 0 18px 34px -18px #0f7f8c66;
  --pl-shadow-lavender: 0 18px 34px -18px #8f7cf055;
  --pl-shadow-pearl: 0 16px 30px -20px rgb(80 56 36 / .22), 0 0 0 1px rgb(20 18 16 / .05);
  --pl-shadow-float: 0 12px 32px -12px rgb(20 18 16 / .22), 0 0 0 1px rgb(20 18 16 / .05);
  --pl-shadow-action: 0 10px 20px -10px #ff8a3d80, inset 0 1px 0 rgb(255 255 255 / .5);
  --pl-radius-card: 24px;
  --pl-radius-inset: 16px;
  --pl-radius-control: 14px;
  --pl-radius-pill: 999px;
  --pl-font: "Palestra UI", Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pl-track-title: -.03em;
  --pl-track-metric: -.04em;

  /* Website only: the phone's frame, the big glows and the dot colors. */
  --site-frame: linear-gradient(145deg, #3a3633, #121110 45%, #2a2725 70%, #0d0c0b);
  --site-frame-shine: rgb(255 255 255 / .16);
  --site-island: #050505;
  --site-glow-orange: radial-gradient(closest-side, #ffb27a 0, #ffd2b080 45%, #fff4ec00 100%);
  --site-glow-teal: radial-gradient(closest-side, #bfe9e6 0, #dff3f280 45%, #dff3f200 100%);
  --site-glow-lavender: radial-gradient(closest-side, #d8cfff 0, #ece8ff80 45%, #ece8ff00 100%);
  --site-dot: #cbc5bf;
  --site-dot-lit: #ff8a3d;
  --site-film: linear-gradient(120deg, #ff9147, #ffcba3 30%, #dff3f2 55%, #14808a 80%, #b9abf8);
  --site-phone-shadow: 0 60px 80px -40px rgb(40 24 12 / .45), 0 30px 40px -30px rgb(20 18 16 / .35);
  --site-nav: rgb(255 255 255 / .92);

  --phone-w: clamp(180px, min(62vw, 30svh), 330px);
  --gutter: max(16px, env(safe-area-inset-left));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pl-canvas);
  color: var(--pl-ink);
  font-family: var(--pl-font);
  font-weight: 450;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: var(--pl-radius-control);
  background: var(--pl-ink); color: var(--pl-canvas);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pl-orange-600); outline-offset: 3px; border-radius: 8px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  background: var(--site-nav);
  box-shadow: 0 1px 0 var(--pl-line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.nav-brand img { width: 28px; height: 28px; }
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: var(--pl-radius-pill);
  background: var(--pl-fill-orange); color: var(--pl-on-orange);
  box-shadow: var(--pl-shadow-action);
  font-weight: 600; font-size: 15px; text-decoration: none;
}

/* Scenes: a tall section with a pinned stage. Scroll progress drives it. */
.scene { position: relative; }
.scene--hero { height: 280svh; }
.scene--logger { height: 330svh; }
.scene--progress { height: 300svh; }
.scene--body { height: 320svh; }
.scene--food { height: 280svh; }
.scene--clubs { height: 280svh; }
.scene--film { height: 220svh; }
.scene--gallery { height: 320svh; }
.stage {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  grid-template: 100% / 100%;
  perspective: 1600px;
}
.stage > * { grid-area: 1 / 1; }

.copy {
  align-self: start;
  margin-top: max(84px, 12svh);
  padding: 0 var(--gutter);
  text-align: center; z-index: 5;
  will-change: transform, opacity;
}
.copy h2, .finale h2 {
  font-size: clamp(36px, 6.6vw, 92px);
  font-weight: 650; letter-spacing: -.045em; line-height: 1;
}
.copy p { margin-top: 14px; font-size: clamp(17px, 1.8vw, 22px); color: var(--pl-muted); }

/* Phone */
.phone-wrap { z-index: 3; transform-style: preserve-3d; will-change: transform; }
.phone {
  --w: var(--phone-w);
  position: relative;
  width: var(--w); aspect-ratio: 9 / 19.5;
  transform-style: preserve-3d;
}
.phone--sm { --w: clamp(170px, min(52vw, 27svh), 250px); }
.phone-body {
  position: absolute; inset: 0;
  border-radius: calc(var(--w) * .165);
  padding: calc(var(--w) * .035);
  background: var(--site-frame);
  box-shadow: var(--site-phone-shadow), inset 0 0 0 1px var(--site-frame-shine);
  backface-visibility: hidden;
}
.phone-island {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--w) * .058);
  width: 30%; height: calc(var(--w) * .085);
  transform: translateX(-50%);
  border-radius: var(--pl-radius-pill); background: var(--site-island);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(var(--w) * .135);
  overflow: hidden; background: var(--pl-canvas);
  container-type: inline-size;
}
.screen > img, .screen > video, .film-media > img, .film-media > video {
  width: 100%; height: 100%; object-fit: cover;
}

/* Placeholder app UI, sized in container units so it scales with the phone. */
.ui {
  height: 100%; display: flex; flex-direction: column; gap: 3cqw;
  padding: 4cqw 5cqw 0; font-size: 4.4cqw; color: var(--pl-ink);
}
.ui-status { display: flex; justify-content: space-between; align-items: center; height: 9cqw; padding: 0 3cqw; font-weight: 700; font-size: 4.4cqw; }
.ui-status i { width: 14cqw; height: 3.6cqw; border-radius: 1cqw; background: var(--pl-ink); opacity: .85; }
.ui-tabs { display: flex; gap: 5cqw; font-size: 6.2cqw; letter-spacing: -.02em; margin: 2cqw 0 1cqw; }
.ui-tabs span { color: var(--pl-faint); font-weight: 500; }
.ui-tabs b { font-weight: 700; }
.ui-head { display: flex; justify-content: space-between; align-items: center; margin: 2cqw 0 1cqw; }
.ui-head strong { font-size: 7cqw; font-weight: 650; letter-spacing: -.03em; }
.ui-chip { font-style: normal; font-weight: 600; font-size: 4cqw; padding: 1.4cqw 3.4cqw; border-radius: var(--pl-radius-pill); background: var(--pl-fill-quiet); }
.ui-chip--teal { background: var(--pl-teal-100); color: var(--pl-teal-700); }
.w {
  position: relative; border-radius: 6.5cqw; padding: 4.6cqw;
  display: flex; flex-direction: column; gap: 1cqw;
}
.w small { font-size: 3.8cqw; font-weight: 600; opacity: .85; }
.w strong { font-size: 6.4cqw; font-weight: 650; letter-spacing: -.03em; }
.w strong span { font-size: 4cqw; font-weight: 600; }
.w > span { font-size: 3.8cqw; opacity: .8; }
.w--row { flex-direction: row; justify-content: space-between; align-items: center; padding: 4cqw 4.6cqw; }
.w--row strong { font-size: 4.8cqw; }
.w--orange { background: var(--pl-fill-orange); color: var(--pl-on-orange); box-shadow: var(--pl-shadow-orange), var(--pl-rim); }
.w--teal { background: var(--pl-fill-teal); color: var(--pl-on-teal); box-shadow: var(--pl-shadow-teal), var(--pl-rim); }
.w--lavender { background: var(--pl-fill-lavender); color: var(--pl-on-lavender); box-shadow: var(--pl-shadow-lavender), var(--pl-rim); }
.w--peach { background: var(--pl-fill-peach); color: var(--pl-on-peach); box-shadow: var(--pl-shadow-pearl); }
.w--pearl { background: var(--pl-fill-pearl); box-shadow: var(--pl-shadow-pearl); }
.ui-big { font-size: 11cqw !important; letter-spacing: var(--pl-track-metric) !important; }
.ui-pill {
  position: absolute; right: 4.6cqw; bottom: 4.6cqw;
  font-style: normal; font-weight: 700; font-size: 4cqw;
  padding: 2cqw 4.6cqw; border-radius: var(--pl-radius-pill);
  background: var(--pl-canvas); color: var(--pl-on-orange);
}
.ui-bars { display: flex; align-items: flex-end; gap: 2.4cqw; height: 14cqw; margin-top: 2cqw; }
.ui-bars i { flex: 1; border-radius: 1.4cqw; background: var(--pl-lavender-700); opacity: .7; height: 40%; }
.ui-bars i:nth-child(2) { height: 75%; }
.ui-bars i:nth-child(3) { height: 20%; opacity: .3; }
.ui-bars i:nth-child(4) { height: 95%; }
.ui-bars i:nth-child(5) { height: 60%; }
.ui-bars i:nth-child(6) { height: 12%; opacity: .3; }
.ui-bars i:nth-child(7) { height: 12%; opacity: .3; }
.ui-meter { height: 2.6cqw; border-radius: var(--pl-radius-pill); background: rgb(58 29 8 / .12); overflow: hidden; margin-top: 2cqw; }
.ui-meter i { display: block; height: 100%; width: 77%; border-radius: inherit; background: var(--pl-orange-400); }
.ui-tabbar {
  margin: auto -5cqw 0; padding: 3cqw 8cqw 7cqw;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pl-canvas); box-shadow: 0 -1px 0 var(--pl-line);
}
.ui-tabbar i { width: 6cqw; height: 6cqw; border-radius: 2cqw; background: var(--pl-faint); opacity: .45; }
.ui-tabbar i:first-child { background: var(--pl-orange-600); opacity: 1; }
.ui-tabbar b { width: 13cqw; height: 13cqw; display: grid; place-items: center; border-radius: 50%; background: var(--pl-fill-orange); color: var(--pl-on-orange); font-size: 8cqw; font-weight: 500; box-shadow: var(--pl-shadow-action); }

.sets { display: flex; flex-direction: column; gap: 1.8cqw; margin-top: 3cqw; }
.set {
  display: grid; grid-template-columns: 1fr 1.4fr 1.4fr 9cqw; align-items: center;
  padding: 2.2cqw 2.6cqw; border-radius: 3.6cqw;
  background: var(--pl-inset-on-light); font-weight: 600; font-size: 4.4cqw;
  transition: box-shadow .25s, background-color .25s;
}
.set--label { background: none; padding-block: 0; font-size: 3.4cqw; color: var(--pl-muted); }
.set i { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: var(--pl-fill-quiet); box-shadow: inset 0 0 0 .6cqw var(--pl-line); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.set.is-current { box-shadow: inset 0 0 0 .7cqw var(--pl-teal-500); }
.set.is-done i { background: var(--pl-orange-400); box-shadow: none; transform: scale(1.12); }
.set i { position: relative; }
.set.is-done i::after { content: ""; position: absolute; left: 31%; top: 20%; width: 26%; height: 44%; border: solid var(--pl-on-orange); border-width: 0 .8cqw .8cqw 0; transform: rotate(45deg); }

.ui-chart { width: 100%; height: 26cqw; overflow: visible; }
.ui-chart path { fill: none; stroke: var(--pl-teal-500); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ui-periods { display: flex; justify-content: space-between; margin-top: 3cqw; font-size: 3.6cqw; font-weight: 600; color: var(--pl-faint); }
.ui-periods span { padding: 1.2cqw 2.6cqw; border-radius: var(--pl-radius-pill); transition: background-color .3s, color .3s; }
.ui-periods span.is-on { background: var(--pl-orange-100); color: var(--pl-ink); }

.msg { align-self: flex-start; max-width: 74%; padding: 2.6cqw 4cqw; border-radius: 5cqw 5cqw 5cqw 1.6cqw; background: var(--pl-fill-quiet); font-weight: 500; }
.msg--me { align-self: flex-end; border-radius: 5cqw 5cqw 1.6cqw 5cqw; background: var(--pl-orange-100); }
.ui-composer { margin: auto -5cqw 0; padding: 3cqw 5cqw 7cqw; display: flex; gap: 3cqw; align-items: center; box-shadow: 0 -1px 0 var(--pl-line); }
.ui-composer span { flex: 1; padding: 2.6cqw 4cqw; border-radius: var(--pl-radius-pill); background: var(--pl-fill-quiet); color: var(--pl-muted); }
.ui-composer b { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--pl-fill-orange); }

/* Floating widgets shared by several scenes */
.float, .burst, .meal, .bubble {
  z-index: 4; justify-self: center; align-self: center;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: 20px;
  min-width: 132px;
  will-change: transform, opacity;
}
.float small, .burst small, .meal small { font-size: 13px; font-weight: 600; opacity: .85; }
.float strong, .burst strong, .meal strong { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.float--orange, .burst--orange { background: var(--pl-fill-orange); color: var(--pl-on-orange); box-shadow: var(--pl-shadow-orange), var(--pl-rim); }
.float--teal, .burst--teal { background: var(--pl-fill-teal); color: var(--pl-on-teal); box-shadow: var(--pl-shadow-teal), var(--pl-rim); }
.float--lavender, .burst--lavender { background: var(--pl-fill-lavender); color: var(--pl-on-lavender); box-shadow: var(--pl-shadow-lavender), var(--pl-rim); }
.burst--pearl { background: var(--pl-fill-pearl); box-shadow: var(--pl-shadow-float); }

/* Hero */
.glow {
  width: 140vmax; height: 140vmax; border-radius: 50%;
  background: var(--site-glow-orange);
  opacity: .9; will-change: transform;
}
.hero-mark { z-index: 2; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 var(--gutter); will-change: transform, opacity; }
.column { width: clamp(84px, 12vw, 140px); height: auto; overflow: visible; }
.column .plate { fill: var(--pl-ink); transform-box: fill-box; transform-origin: center; }
.wordmark {
  font-size: clamp(64px, 15vw, 210px); font-weight: 700; letter-spacing: -.06em; line-height: .9;
}
.wordmark span, .finale h2 span { color: var(--pl-orange-600); }
.hero-line { font-size: clamp(18px, 2.2vw, 26px); color: var(--pl-muted); font-weight: 500; }
.hand { z-index: 2; width: calc(var(--phone-w) * 2.2); align-self: end; }
.hand:empty { display: none; }
.scroll-cue {
  align-self: end; margin-bottom: max(24px, 4svh); z-index: 6;
  font-size: 13px; font-weight: 600; color: var(--pl-muted); letter-spacing: .02em;
}
.scroll-cue::after {
  content: ""; display: block; width: 2px; height: 26px; margin: 8px auto 0;
  border-radius: 2px; background: var(--pl-orange-400);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* Plates fly in and stack into the column. */
.js .column .plate { animation: plate-in 1s cubic-bezier(.16, 1, .3, 1) both; }
.js .column .plate:nth-child(1) { animation-delay: .05s; --fx: 0; --fy: -120vh; --fr: 0deg; }
.js .column .plate:nth-child(2) { animation-delay: .5s; --fx: -60vw; --fy: -40vh; --fr: -40deg; }
.js .column .plate:nth-child(3) { animation-delay: .44s; --fx: 55vw; --fy: -30vh; --fr: 35deg; }
.js .column .plate:nth-child(4) { animation-delay: .38s; --fx: -50vw; --fy: 10vh; --fr: 60deg; }
.js .column .plate:nth-child(5) { animation-delay: .32s; --fx: 60vw; --fy: 5vh; --fr: -50deg; }
.js .column .plate:nth-child(6) { animation-delay: .26s; --fx: -45vw; --fy: 40vh; --fr: -30deg; }
.js .column .plate:nth-child(7) { animation-delay: .2s; --fx: 50vw; --fy: 45vh; --fr: 25deg; }
.js .column .plate:nth-child(8) { animation-delay: .14s; --fx: 0; --fy: 80vh; --fr: 10deg; }
@keyframes plate-in {
  from { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(2.4); opacity: 0; }
  60% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
.js .wordmark, .js .hero-line { animation: rise 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: .75s; }
.js .hero-line { animation-delay: .95s; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .finale .column .plate { animation: none; opacity: 0; }
.js .finale.is-in .column .plate { animation: plate-in 1s cubic-bezier(.16, 1, .3, 1) both; }
.js .finale.is-in .column .plate:nth-child(n) { animation-delay: calc(.04s * var(--n, 1)); }

/* Progress */
.bigchart { width: 100vw; height: 46svh; align-self: center; z-index: 1; overflow: visible; }
.bigchart-line { fill: none; stroke: url(#chart-stroke); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bigchart-area { fill: url(#chart-fill); }
.stop-teal { stop-color: var(--pl-teal-500); }
.stop-orange { stop-color: var(--pl-orange-500); }
.stop-fill-top { stop-color: var(--pl-orange-400); stop-opacity: .22; }
.stop-fill-bottom { stop-color: var(--pl-orange-400); stop-opacity: 0; }
.bignum {
  z-index: 4; align-self: end; margin-bottom: max(28px, 6svh);
  font-size: clamp(64px, 13vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: .9;
  color: var(--pl-ink); font-variant-numeric: tabular-nums;
}
.bignum small { font-size: .3em; letter-spacing: -.02em; margin-left: .1em; color: var(--pl-orange-700); }

/* Body */
.dots { width: 100%; height: 100%; z-index: 1; }
.muscles {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  z-index: 3; align-self: end; margin-bottom: max(24px, 5svh);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.muscles li {
  display: flex; gap: 8px; align-items: baseline;
  padding: 8px 14px; border-radius: var(--pl-radius-pill);
  background: var(--pl-fill-quiet); font-size: 14px;
  opacity: .35; transition: background-color .4s, opacity .4s, transform .4s;
}
.muscles li b { font-weight: 650; }
.muscles li.is-on { opacity: 1; background: var(--pl-orange-100); transform: translateY(-2px); }

/* Food */
.fuel {
  z-index: 3; width: min(88vw, 420px);
  padding: 26px; border-radius: 32px;
  background: var(--pl-fill-peach); color: var(--pl-on-peach);
  box-shadow: var(--pl-shadow-float);
  will-change: transform;
}
.fuel small { font-weight: 600; font-size: 15px; }
.fuel-num { margin-top: 6px; font-size: clamp(54px, 9vw, 84px); font-weight: 700; letter-spacing: var(--pl-track-metric); line-height: 1; font-variant-numeric: tabular-nums; }
.fuel-num em { display: block; font-style: normal; font-size: 16px; font-weight: 600; letter-spacing: 0; margin-top: 6px; opacity: .8; }
.fuel-meter { height: 12px; margin-top: 18px; border-radius: var(--pl-radius-pill); background: rgb(58 29 8 / .1); overflow: hidden; }
.fuel-meter i { display: block; height: 100%; border-radius: inherit; background: var(--pl-orange-400); transform-origin: left; transform: scaleX(.77); }
.fuel-macros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fuel-macros span { padding: 6px 12px; border-radius: var(--pl-radius-pill); background: var(--pl-inset-on-color); font-size: 14px; }
.meal {
  flex-direction: row; align-items: center; gap: 12px; min-width: 0;
  background: var(--pl-fill-pearl); box-shadow: var(--pl-shadow-float);
}
.meal { position: relative; padding-top: 26px; }
.meal small { position: absolute; top: 9px; left: 18px; font-size: 11px; color: var(--pl-muted); }
.meal strong { font-size: 16px; }
.meal b { font-size: 14px; color: var(--pl-orange-700); font-weight: 700; }

/* Clubs */
.bubble {
  min-width: 0; padding: 12px 16px; border-radius: 20px 20px 20px 6px;
  background: var(--pl-canvas); box-shadow: var(--pl-shadow-float);
  font-weight: 600; font-size: 16px; white-space: nowrap;
}
.bubble--me { border-radius: 20px 20px 6px 20px; background: var(--pl-orange-100); }

/* Film */
.film {
  width: 100vw; height: 100svh; z-index: 2;
  overflow: hidden; border-radius: 32px;
  will-change: transform;
}
.film-media { width: 100%; height: 100%; }
.film-placeholder {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--site-film); background-size: 300% 300%;
  color: var(--pl-on-orange);
  animation: drift 14s ease-in-out infinite alternate;
}
.film-placeholder p { font-size: clamp(32px, 5.4vw, 72px); font-weight: 650; letter-spacing: -.045em; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Gallery */
.track {
  display: flex; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: 0 calc(50vw - 110px); margin-top: 10svh;
  justify-self: start; will-change: transform;
}
.track figure { margin: 0; display: grid; justify-items: center; gap: 14px; transform-style: preserve-3d; }
.track figcaption { font-weight: 600; color: var(--pl-muted); }

/* Finale */
.finale {
  min-height: 100svh; display: grid; place-content: center; justify-items: center;
  text-align: center; gap: 16px; padding: 120px var(--gutter);
  background: var(--site-glow-orange) center / 120vmax 120vmax no-repeat, var(--pl-canvas);
}
.finale > p { font-size: clamp(18px, 2.2vw, 26px); color: var(--pl-muted); font-weight: 500; }
.column--finale { width: clamp(72px, 9vw, 110px); }
.finale .column .plate:nth-child(1) { --n: 8; }
.finale .column .plate:nth-child(2) { --n: 1; }
.finale .column .plate:nth-child(3) { --n: 2; }
.finale .column .plate:nth-child(4) { --n: 3; }
.finale .column .plate:nth-child(5) { --n: 4; }
.finale .column .plate:nth-child(6) { --n: 5; }
.finale .column .plate:nth-child(7) { --n: 6; }
.finale .column .plate:nth-child(8) { --n: 7; }
.finale-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--quiet { background: var(--pl-fill-quiet); color: var(--pl-muted); box-shadow: none; }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--pl-line); color: var(--pl-muted); font-size: 14px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; font-weight: 600; color: var(--pl-ink-2); }
.footer a:hover { color: var(--pl-orange-700); }

/* Simple pages (support, 404) */
.page { max-width: 720px; margin: 0 auto; padding: 120px var(--gutter) 80px; }
.page h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.page h1 + p { margin-top: 14px; font-size: 19px; color: var(--pl-muted); }
.page .contact { margin-top: 28px; }
.faq { margin-top: 48px; display: grid; gap: 12px; }
.faq details { border-radius: var(--pl-radius-card); background: var(--pl-fill-pearl); box-shadow: var(--pl-shadow-pearl); padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--pl-orange-700); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--pl-ink-2); }

/* Reduced motion: no pinning, every scene shows its finished state. */
.rm .scene { height: auto; }
.rm .stage { position: relative; height: auto; min-height: 100svh; padding-bottom: 8svh; }
.rm .scene--gallery .stage { overflow-x: auto; }
.rm .column .plate, .rm .wordmark, .rm .hero-line, .rm .film-placeholder, .rm .scroll-cue::after { animation: none !important; opacity: 1; }

@media (min-width: 900px) {
  :root { --phone-w: clamp(220px, min(22vw, 28svh), 320px); }
  .float, .burst { padding: 18px 22px; min-width: 170px; }
  .float strong, .burst strong { font-size: 24px; }
}
