/* =========================================================
   CHUBZ — feeds the big dogs
   --fat (0 → 1) grows as you feed the hero. Everything chunky reads it.
   ========================================================= */

@property --fat {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --fat: 0;

  --blue: #1d3fd8;
  --blue-2: #2c55ff;
  --navy: #0d1650;
  --yellow: #ffc233;
  --gold: #f0a91c;
  --red: #e0251b;
  --red-d: #9e130c;
  --cream: #fff3dc;
  --ink: #17110d;
  --kibble: #7a3a12;
  --mint: #8dffb5;

  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --topbar-h: 72px;
  --ticker-h: 42px;
  --cigar: url("assets/cursor-cigar.png") 3 3;

  transition: --fat 0.9s cubic-bezier(.2, 1.4, .4, 1);
}

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

html { scroll-behavior: smooth; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-weight: calc(500 + var(--fat) * 150);
  font-stretch: calc(100% + var(--fat) * 22%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: var(--cigar), auto;
}

a, button, [role="button"] { cursor: var(--cigar), pointer; }

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

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --shadow: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  font: inherit;
  font-weight: 700;
  font-stretch: calc(100% + var(--fat) * 25%);
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: calc(14px + var(--fat) * 26px);
  padding: calc(.55em + var(--fat) * .35em) calc(1.05em + var(--fat) * .7em);
  box-shadow: 0 5px 0 var(--shadow);
  transition: transform .08s, box-shadow .08s, background .2s;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); box-shadow: 0 7px 0 var(--shadow); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--shadow); }
.btn:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 4px; }
.btn--red { background: var(--red); color: var(--cream); }
.btn--yellow { background: var(--yellow); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); --shadow: rgba(0,0,0,.45); }
.btn--ghost-light { background: rgba(255,243,220,.12); color: var(--cream); border-color: var(--cream); --shadow: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.btn--icon { padding-inline: .7em; }
.btn--xl { font-size: clamp(18px, 2vw, 24px); }

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.14), transparent 55%),
    var(--blue);
  color: var(--cream);
  text-align: center;
  transition: transform .7s cubic-bezier(.7, 0, .3, 1);
}
.loader--gone { transform: translateY(-105%); }
.loader__chubz {
  width: min(360px, 72vw);
  transform-origin: 50% 100%;
  animation: snore 2.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 0 rgba(0,0,0,.25));
}
.loader__title { margin: 0; font-weight: 700; font-size: clamp(22px, 4vw, 34px); letter-spacing: .04em; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
.loader__bar { width: min(420px, 80vw); height: 26px; border: 3px solid var(--ink); border-radius: 99px; background: var(--cream); overflow: hidden; box-shadow: 0 5px 0 var(--ink); }
.loader__fill { width: 0; height: 100%; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--gold) 14px 28px); transition: width .25s; }
.loader__status { margin: 0; font-family: var(--mono); font-size: 15px; min-height: 1.4em; }
.loader__btn { font-size: 20px; animation: wobble 1.2s ease-in-out infinite; }

@keyframes snore { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .95); } }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scale(1.05); } }

/* ---------- top bar + ticker ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: var(--blue);
  border-bottom: 3px solid var(--ink);
}
.topbar__logo img { height: 52px; width: auto; transform: rotate(-3deg); transition: transform .3s; }
.topbar__logo:hover img { transform: rotate(4deg) scale(1.08); }
.topbar__nav { display: flex; align-items: center; gap: 10px; }

.ticker {
  height: var(--ticker-h);
  overflow: hidden;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  gap: 22px;
  width: max-content;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker__track > * { flex: none; }
.ticker__track b { color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero {
  --floor-h: clamp(70px, 12vh, 120px);
  position: relative;
  height: max(640px, calc(100svh - var(--topbar-h) - var(--ticker-h)));
  overflow: hidden;
  background: var(--blue);
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.hero__rays {
  position: absolute;
  left: 62%;
  top: 60%;
  width: 260vmax;
  height: 260vmax;
  margin: -130vmax 0 0 -130vmax;
  background: repeating-conic-gradient(var(--blue) 0deg 9deg, var(--blue-2) 9deg 18deg);
  animation: spin 90s linear infinite;
  z-index: -2;
}
.hero__rays::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 230, 150, .35) 0, transparent 22%);
}
.hero__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--floor-h);
  background: linear-gradient(var(--navy), #070c30);
  border-top: 4px solid var(--ink);
  box-shadow: inset 0 6px 0 rgba(255,255,255,.08);
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__copy {
  position: relative;
  z-index: 6;
  max-width: 46%;
  padding: clamp(28px, 6vh, 70px) 0 0 clamp(18px, 5vw, 72px);
  pointer-events: none;
}
.hero__title {
  margin: 0;
  font-weight: 700;
  font-stretch: calc(100% + var(--fat) * 25%);
  font-size: clamp(48px, min(9.4vw, calc(29svh - 130px)), 158px);
  line-height: .84;
  white-space: nowrap;
  letter-spacing: calc(-0.01em + var(--fat) * .02em);
  color: var(--cream);
  text-shadow:
    0 .05em 0 var(--ink),
    .045em .1em 0 var(--red),
    .045em .13em 0 var(--ink);
  transform: rotate(-3deg);
  transform-origin: left top;
}
.hero__sub {
  margin: 34px 0 0;
  max-width: 34ch;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  color: var(--cream);
  text-shadow: 0 2px 0 var(--ink);
}
.hero__hint {
  display: inline-block;
  margin: 22px 0 0;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 99px;
  box-shadow: 0 5px 0 var(--ink);
  animation: pulse 1.1s ease-in-out infinite;
  transition: opacity .5s, transform .5s;
}
.hero__hint--done { opacity: 0; transform: scale(.6) rotate(-10deg); animation: none; }
.hint-touch { display: none; }
@media (hover: none) { .hint-touch { display: inline; } .hint-desktop { display: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.07) rotate(2deg); } }

/* HUD */
.hud {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;
  width: 290px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-stretch: 100%;
  font-weight: 600;
  pointer-events: none;
}
.hud__stat, .hud__fat {
  background: rgba(13, 22, 80, .72);
  border: 2px solid rgba(255, 243, 220, .35);
  border-radius: 14px;
  padding: 8px 10px;
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.hud__stat span, .hud__fatlabel span { display: block; font-size: 10px; letter-spacing: .08em; opacity: .75; }
.hud__stat b { display: block; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hud__fat { grid-column: 1 / -1; }
.hud__fatlabel { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.hud__fatlabel b { font-size: 13px; color: var(--yellow); white-space: nowrap; }
.hud__fatbar { height: 14px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; border: 2px solid var(--ink); }
.hud__fatfill {
  height: 100%;
  width: calc(var(--fat) * 100%);
  background: linear-gradient(90deg, var(--yellow), var(--red));
  border-radius: 99px;
}

/* the bag himself */
.chubz {
  position: absolute;
  left: 62%;
  bottom: calc(var(--floor-h) - 6px);
  height: min(66vh, 700px);
  aspect-ratio: 881 / 1100;
  transform: translateX(-50%);
  z-index: 3;
  touch-action: pan-y;
}
.chubz__body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  transform: scale(calc(1 + var(--fat) * .34), calc(1 - var(--fat) * .06));
}
.chubz__body.is-boing { animation: boing .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes boing {
  0% { transform: scale(calc(1.12 + var(--fat) * .34), calc(.86 - var(--fat) * .06)); }
  100% { transform: scale(calc(1 + var(--fat) * .34), calc(1 - var(--fat) * .06)); }
}
.chubz__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 14px 0 rgba(0, 0, 0, .28));
  transition: opacity .25s;
  -webkit-user-drag: none;
}
.chubz__img--alt { opacity: 0; }
.chubz__eye {
  position: absolute;
  -webkit-mask: url("assets/eye-mask-0.png") 0 0 / 100% 100% no-repeat;
  mask: url("assets/eye-mask-0.png") 0 0 / 100% 100% no-repeat;
  transition: opacity .25s;
}
.chubz__eye[data-eye="1"] {
  -webkit-mask-image: url("assets/eye-mask-1.png");
  mask-image: url("assets/eye-mask-1.png");
}
.chubz__pupil {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 33%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.9) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, #3a2216 0 48%, #1b0f09 70%);
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
}
.chubz.is-alt .chubz__img--main,
.chubz.is-alt .chubz__eye { opacity: 0; }
.chubz.is-alt .chubz__img--alt { opacity: 1; }

.bubble {
  position: absolute;
  left: 78%;
  top: 4%;
  z-index: 7;
  width: max-content;
  max-width: 230px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 22px 22px 22px 4px;
  box-shadow: 0 5px 0 var(--ink);
  transform: scale(0) rotate(-12deg);
  transform-origin: 0 100%;
  transition: transform .25s cubic-bezier(.3, 1.8, .5, 1);
  pointer-events: none;
}
.bubble.show { transform: scale(1) rotate(-3deg); }

.hero__world { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.hero__dogs { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.hero__dog { position: absolute; left: 0; top: 0; will-change: transform; }
.hero__dog img { width: 100%; animation: gallop .32s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes gallop { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-14%) rotate(3deg); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 6;
  color: var(--cream);
  opacity: .7;
  font-size: 14px;
  letter-spacing: .06em;
  pointer-events: none;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- shared section heads ---------- */
.h2 {
  margin: 0;
  font-weight: 700;
  font-stretch: calc(100% + var(--fat) * 25%);
  font-size: clamp(46px, 7vw, 108px);
  line-height: .86;
  color: var(--ink);
  text-shadow: .045em .07em 0 var(--yellow), .045em .1em 0 var(--ink);
  transform: rotate(-2deg);
}
.h2--light { color: var(--cream); text-shadow: 0 .05em 0 var(--ink), .045em .1em 0 var(--red), .045em .13em 0 var(--ink); }

section { position: relative; }

/* ---------- nutrition ---------- */
.nutrition {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(70px, 10vw, 140px) clamp(18px, 6vw, 96px);
  background:
    radial-gradient(var(--kibble) 1.6px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(rgba(122,58,18,.6) 1.2px, transparent 1.6px) 17px 17px / 34px 34px,
    var(--yellow);
  border-top: 4px solid var(--ink);
}
.nutrition__intro p { font-size: clamp(18px, 2vw, 24px); margin: 28px 0 0; max-width: 26ch; }
.nutrition__side { margin: 24px 0 0; display: flex; align-items: flex-end; gap: 14px; }
.nutrition__side img { width: min(240px, 42vw); transform: rotate(-6deg); filter: drop-shadow(0 12px 0 rgba(0,0,0,.2)); animation: wobble 3s ease-in-out infinite; }
.nutrition__side figcaption { font-weight: 700; font-size: 18px; padding-bottom: 30px; max-width: 12ch; }

.label {
  width: 100%;
  padding: 8px 12px 12px;
  background: #fff;
  color: #000;
  font-family: var(--label);
  font-weight: 400;
  font-stretch: 100%;
  border: 2px solid #000;
  box-shadow: 16px 16px 0 var(--ink);
  transform: rotate(2.5deg);
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.label:hover { transform: rotate(-1deg) scale(1.03); }
.label b { font-weight: 900; }
.label__title { margin: 0; font-weight: 900; font-size: clamp(38px, 4.4vw, 50px); letter-spacing: -.02em; line-height: 1; padding-bottom: 4px; border-bottom: 1px solid #000; }
.label__row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px solid #000; font-size: 15px; }
.label__title + .label__row { border-top: 0; }
.label__row--b { font-size: 18px; border-top: 0; }
.label__row--in { padding-left: 20px; }
.label__row--dv { font-size: 13px; }
.label__rule--xl { height: 12px; background: #000; margin: 2px 0; }
.label__rule--l { height: 6px; background: #000; margin: 2px 0; }
.label__small { font-size: 13px; font-weight: 800; padding-top: 4px; }
.label__cal { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
.label__note { font-size: 12px; padding-bottom: 4px; }
.label__ing { font-size: 13px; line-height: 1.35; margin: 8px 0 6px; }
.label__fine { font-size: 11px; line-height: 1.35; margin: 0; padding-top: 6px; border-top: 1px solid #000; }

/* ---------- reviews ---------- */
.reviews {
  padding: clamp(70px, 10vw, 140px) clamp(18px, 6vw, 96px);
  background: var(--ink);
  border-top: 4px solid var(--ink);
  overflow: hidden;
}
.reviews__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(23,17,13,.55), rgba(23,17,13,.92) 70%), url("assets/scene-billboard.webp") center top / cover;
  z-index: 0;
}
.reviews > *:not(.reviews__bg) { position: relative; z-index: 1; }
.reviews__sub { color: var(--cream); font-size: clamp(16px, 1.8vw, 22px); margin: 26px 0 60px; opacity: .85; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 70px 28px;
  max-width: 1240px;
}
.review {
  position: relative;
  padding: 74px 20px 20px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: calc(20px + var(--fat) * 20px);
  box-shadow: 9px 9px 0 var(--yellow);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.review:hover { transform: rotate(0deg) translateY(-6px); }
.review__dog { position: absolute; top: -62px; left: 10px; width: 170px; filter: drop-shadow(0 8px 0 rgba(0,0,0,.25)); transition: transform .3s; }
.review:hover .review__dog { transform: translateX(10px) rotate(-6deg); }
.review__who { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.review__name { font-weight: 700; font-size: 20px; }
.review__handle { font-family: var(--mono); font-size: 12px; opacity: .6; }
.review__stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; margin: 4px 0 8px; -webkit-text-stroke: 1px var(--ink); }
.review__bark { font-weight: 700; font-size: 26px; line-height: 1.1; margin: 0 0 12px; min-height: 2.2em; }
.review__tr {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #fff;
  border: 2px dashed var(--ink);
  border-radius: 12px;
  min-height: 3.2em;
}
.review__tr::before { content: "KEVIN'S TRANSLATION:"; display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; opacity: .55; margin-bottom: 2px; }
.review__tr[hidden] { display: none; }
.review__btn { font-size: 13px; }

/* ---------- shop ---------- */
.shop {
  padding: clamp(70px, 10vw, 140px) clamp(18px, 6vw, 96px);
  background:
    repeating-linear-gradient(-45deg, transparent 0 40px, rgba(0,0,0,.08) 40px 80px),
    var(--red);
  border-top: 4px solid var(--ink);
  overflow: hidden;
}
.shop__wrap {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  margin-top: 60px;
}
.product {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: calc(24px + var(--fat) * 20px);
  box-shadow: 12px 12px 0 var(--ink);
}
.product__badge {
  position: absolute;
  top: -26px;
  right: -20px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(14deg);
  animation: wobble 2.4s ease-in-out infinite;
}
.product__img { width: 100%; margin: 0 auto 6px; filter: drop-shadow(0 10px 0 rgba(0,0,0,.15)); }
.product__name { margin: 0; font-weight: 700; font-size: 26px; line-height: 1.1; }
.product__stars { margin: 6px 0; color: var(--gold); font-size: 20px; -webkit-text-stroke: .8px var(--ink); }
.product__stars span { color: var(--ink); -webkit-text-stroke: 0; font-size: 14px; }
.product__meta { margin: 0 0 16px; font-size: 15px; opacity: .85; }
.product__cartzone { position: relative; height: 72px; }
.product__cart {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 3;
  transition: translate .2s cubic-bezier(.3, 1.5, .5, 1), transform .08s, box-shadow .08s, background .2s;
}
.product__cart.gave-up { background: #6be675; }
.product__fine { margin: 10px 0 0; font-size: 13px; text-align: center; opacity: .7; min-height: 1.3em; }

.shop__side { display: grid; gap: 30px; }
.shop__lazy { width: min(380px, 80%); justify-self: center; transform: rotate(-4deg); filter: drop-shadow(0 14px 0 rgba(0,0,0,.25)); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 82px;
  min-height: 60px;
  color: var(--cream);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.35;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.steps li b { display: block; font-size: 1.3em; color: var(--yellow); text-shadow: 0 3px 0 var(--ink); }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  text-shadow: none;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  transform: rotate(-8deg);
}

.ca {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 70px auto 0;
  padding: 10px 10px 10px 12px;
  background: var(--ink);
  border: 3px solid var(--cream);
  border-radius: 99px;
}
.ca__label { padding: 6px 14px; font-weight: 700; background: var(--yellow); border-radius: 99px; }
.ca__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 17px);
  color: var(--cream);
}

/* ---------- jet tracker ---------- */
.jet {
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 6vw, 96px);
  border-top: 4px solid var(--ink);
  overflow: hidden;
}
.jet__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(8, 10, 20, .8), rgba(8, 10, 20, 0) 55%), url("assets/scene-jet.webp") 60% center / cover;
}
.radar {
  position: relative;
  width: min(600px, 100%);
  padding: 18px;
  background: rgba(6, 14, 18, .78);
  border: 1px solid rgba(141, 255, 181, .35);
  border-radius: 18px;
  color: var(--mint);
  font-family: var(--mono);
  font-weight: 400;
  font-stretch: 100%;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(141, 255, 181, .12);
}
.radar__head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .1em; padding-bottom: 12px; border-bottom: 1px dashed rgba(141,255,181,.3); }
.radar__live { display: inline-flex; align-items: center; gap: 6px; color: #ff6a5f; }
.radar__live i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.radar__body { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: center; padding: 18px 0; }
.radar__scope {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(141,255,181,.5);
  background:
    linear-gradient(rgba(141,255,181,.25), rgba(141,255,181,.25)) center / 1px 100% no-repeat,
    linear-gradient(rgba(141,255,181,.25), rgba(141,255,181,.25)) center / 100% 1px no-repeat,
    repeating-radial-gradient(circle, transparent 0 34px, rgba(141,255,181,.25) 35px 36px),
    rgba(141,255,181,.04);
  overflow: hidden;
}
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(141,255,181,.55), transparent 70deg); animation: spin 3s linear infinite; }
.radar__blip { position: absolute; left: 64%; top: 34%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); animation: ping 1.5s ease-out infinite; transition: left 1.2s, top 1.2s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,194,51,.7); } 100% { box-shadow: 0 0 0 18px rgba(255,194,51,0); } }
.radar__data { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; }
.radar__data dt { font-size: 10px; letter-spacing: .14em; opacity: .6; }
.radar__data dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: #e9fff0; }
.radar__loc { grid-column: 1 / -1; }
.radar__loc dd { font-size: clamp(18px, 2.4vw, 24px); color: var(--yellow); }
.radar__loc dd.glitch { animation: glitch .45s steps(3); }
@keyframes glitch {
  0% { transform: translateX(-4px); opacity: .3; text-shadow: 3px 0 #ff3b30, -3px 0 #2c55ff; }
  50% { transform: translateX(3px); text-shadow: -3px 0 #ff3b30, 3px 0 #2c55ff; }
  100% { transform: none; opacity: 1; text-shadow: none; }
}
.radar__btn { font-family: var(--display); }

/* ---------- throne ---------- */
.throne {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px clamp(50px, 9vh, 100px);
  border-top: 4px solid var(--ink);
  overflow: hidden;
}
.throne__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(23,17,13,0) 30%, rgba(23,17,13,.92) 88%), url("assets/scene-throne.webp") center 20% / cover;
  transform: scale(1.06);
  transition: transform 1.2s;
}
.throne:hover .throne__bg { transform: scale(1.1); }
.throne__copy { position: relative; text-align: center; }
.throne__title {
  margin: 0;
  font-weight: 700;
  font-stretch: calc(100% + var(--fat) * 25%);
  font-size: clamp(64px, 12vw, 190px);
  line-height: .84;
  color: var(--yellow);
  text-shadow: 0 .05em 0 var(--ink), .04em .1em 0 var(--red-d), .04em .13em 0 var(--ink);
}
.throne__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(50px, 7vw, 90px) clamp(18px, 6vw, 96px);
  background: var(--yellow);
  border-top: 4px solid var(--ink);
}
.footer__chubz { width: min(420px, 90%); filter: drop-shadow(0 12px 0 rgba(0,0,0,.18)); }
.footer__copy { max-width: 520px; }
.footer__logo { width: 230px; transform: rotate(-3deg); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0; font-weight: 700; font-size: 18px; }
.footer__links a { color: var(--ink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.footer__links a:hover { color: var(--red); }
.footer__legal { margin: 0 0 10px; font-size: 13px; line-height: 1.5; opacity: .75; }
.footer__secret { opacity: .5; }

/* ---------- overlays ---------- */
.burp {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
}
.burp span {
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(80px, 20vw, 320px);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 .04em 0 var(--ink), .04em .08em 0 var(--red), .04em .11em 0 var(--ink);
  transform: scale(.2) rotate(-20deg);
  opacity: 0;
}
.burp.show { visibility: visible; }
.burp.show span { animation: burp 1.5s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes burp {
  0% { transform: scale(.2) rotate(-20deg); opacity: 0; }
  18% { transform: scale(1.15) rotate(-6deg); opacity: 1; }
  70% { transform: scale(1) rotate(-4deg); opacity: 1; }
  100% { transform: scale(1.6) rotate(4deg); opacity: 0; }
}
html.shake main { animation: shake .5s linear; }
@keyframes shake {
  10%, 90% { transform: translate(-3px, 2px); }
  20%, 80% { transform: translate(6px, -4px); }
  30%, 50%, 70% { transform: translate(-10px, 5px) rotate(-.5deg); }
  40%, 60% { transform: translate(10px, -5px) rotate(.5deg); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 950;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  background: var(--ink);
  border: 3px solid var(--yellow);
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(0,0,0,.35);
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), visibility 0s .35s;
  pointer-events: none;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

.dash { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 800; pointer-events: none; }
.dash img { position: absolute; bottom: 0; left: 0; will-change: transform; }

.smoke { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2000; pointer-events: none; }

main, .footer { transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.bowing main, .bowing .footer {
  transform: perspective(1400px) rotateX(10deg) scale(.95);
  transform-origin: 50% 0;
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --topbar-h: 62px; --ticker-h: 38px; }
  .topbar__logo img { height: 42px; }
  .topbar__nav { gap: 6px; }
  .topbar__nav .btn { font-size: 13px; padding: .5em .75em; }
  .ticker__track { font-size: 15px; }

  .hero { height: auto; min-height: max(700px, calc(100svh - var(--topbar-h) - var(--ticker-h))); --floor-h: 76px; }
  .hero__rays { left: 50%; top: 70%; }
  .hero__copy { max-width: none; padding: 26px 18px 0; text-align: center; }
  .hero__title { font-size: clamp(50px, 14vw, 96px); transform-origin: center; }
  .hero__sub { margin: 26px auto 0; font-size: 15px; }
  .hero__hint { margin-top: 16px; font-size: 14px; }
  .hud {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, calc(100% - 32px));
    margin: 16px auto 0;
  }
  .hud__stat { padding: 6px 8px; }
  .hud__stat b { font-size: 17px; }
  .chubz { left: 50%; height: min(40svh, 380px); }
  .bubble { left: 52%; top: 28%; font-size: 15px; max-width: 170px; }
  .hero__scroll { display: none; }

  .nutrition { grid-template-columns: 1fr; }
  .nutrition__side img { width: 180px; }
  .label { max-width: 440px; justify-self: center; box-shadow: 10px 10px 0 var(--ink); }

  .shop__wrap { grid-template-columns: 1fr; }
  .product { max-width: 460px; justify-self: center; width: 100%; }
  .steps li { padding-left: 70px; }
  .steps li::before { width: 52px; height: 52px; font-size: 26px; }

  .radar__body { grid-template-columns: 1fr; justify-items: center; }
  .radar__scope { width: 170px; }
  .radar__data { width: 100%; }
  .jet__bg { background: linear-gradient(rgba(8,10,20,.35), rgba(8,10,20,.9) 55%), url("assets/scene-jet.webp") 62% top / cover; }
  .jet { align-items: flex-end; min-height: 100svh; }
}

@media (max-width: 420px) {
  .hud__stat span { font-size: 8.5px; }
  .ca { flex-wrap: wrap; border-radius: 22px; }
  .ca__value { flex-basis: calc(100% - 80px); }
  .ca__copy { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__rays, .ticker__track, .loader__chubz, .nutrition__side img, .product__badge, .hero__hint, .hero__scroll, .radar__sweep { animation: none !important; }
  html.shake main { animation: none; }
  html { scroll-behavior: auto; }
}
