/* ============================================================
   pabloio × planetoño — cartoon-cosmos control room
   palette + type + animation language traced from the reference:
   cream #f7f2e5 · red #eb3322 · purple #7721c7 · blue #2097cf ·
   yellow #ffc737 · green #8df947 · warm dark #171006
   ============================================================ */

@font-face {
  font-family: "Titan One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/titan-one.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-800.woff2") format("woff2");
}

:root {
  --cream: #f7f2e5;
  --red: #eb3322;
  --purple: #7721c7;
  --blue: #2097cf;
  --yellow: #ffc737;
  --green: #8df947;
  --dark: #171006;
  --display: "Titan One", "Arial Black", sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --shadow-hard: 0 6px 0 var(--dark);
  --border: 3px solid var(--dark);
  --pill: 999px;
  --pop-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.js-smooth { scroll-behavior: auto; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--red);
  color: var(--cream);
  overflow-x: hidden;
}
::selection { background: rgba(8, 171, 255, 0.33); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--dark); color: var(--cream); padding: 10px 18px;
  font-family: var(--display); border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px dashed currentColor; outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }

/* ---------------- sections ---------------- */

section, footer { position: relative; overflow: hidden; }
.section--red    { background: var(--red);    color: var(--cream); }
.section--purple { background: var(--purple); color: var(--cream); }
.section--blue   { background: var(--blue);   color: var(--cream); }
.section--green  { background: var(--green);  color: var(--dark); }
.section--dark   { background: var(--dark);   color: var(--cream); }
.section--cream  { background: var(--cream);  color: var(--dark); }
.section--yellow { background: var(--yellow); color: var(--dark); }

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 3; }
.wave svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }
.wave--top { top: -1px; bottom: auto; }

/* ---------------- display type ---------------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  text-shadow: 0.05em 0.06em 0 rgba(23, 16, 6, 0.30);
}
.section--green .display,
.section--cream .display,
.section--yellow .display { text-shadow: 0.05em 0.06em 0 rgba(23, 16, 6, 0.16); }

.display em { font-style: normal; color: var(--yellow); }
.section--green .display em,
.section--yellow .display em { color: var(--red); }
.section--cream .display em { color: var(--purple); }

.display u {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.14em;
}
.section--dark .display u { text-decoration-color: var(--green); }

/* word pop-in (spans injected by js) */
.pop .w { display: inline-block; }
.js .pop .w {
  opacity: 0;
  transform: translateY(0.65em) scale(0.4) rotate(var(--wr, 3deg));
  transition:
    transform 0.65s var(--pop-ease) var(--wd, 0s),
    opacity 0.3s ease var(--wd, 0s);
}
.js .pop.in .w { opacity: 1; transform: none; }

/* generic reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.65s var(--pop-ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.sticker { transform: rotate(var(--tilt, -2deg)); }

/* ---------------- stickers / chips / buttons ---------------- */

.sticker {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.06em;
  padding: 0.5em 1.1em;
  border: var(--border);
  border-radius: var(--pill);
  box-shadow: 4px 4px 0 var(--dark);
  transform: rotate(var(--tilt, -2deg));
}
.sticker--cream  { background: var(--cream);  color: var(--dark); }
.sticker--yellow { background: var(--yellow); color: var(--dark); }
.sticker--red    { background: var(--red);    color: var(--cream); }
.sticker--green  { background: var(--green);  color: var(--dark); }
.sticker--dark   { background: var(--dark);   color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 rgba(23,16,6,0.35); }

.kick { margin-bottom: 1.4rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.32em 0.9em;
  border: 2px solid rgba(247, 242, 229, 0.55);
  border-radius: var(--pill);
}
.chip--on-light { border-color: rgba(23, 16, 6, 0.45); }
.chip .dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }
.section--green .chip .dot { background: var(--red); }
@keyframes blink { 50% { opacity: 0.25; } }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-decoration: none;
  padding: 0.75em 1.6em;
  border: var(--border);
  border-radius: var(--pill);
  box-shadow: var(--shadow-hard);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--dark); }
.btn--cream  { background: var(--cream);  color: var(--dark); }
.btn--yellow { background: var(--yellow); color: var(--dark); }
.btn--dark   { background: var(--dark);   color: var(--cream); }
.btn--ghost  { background: transparent;   color: var(--cream); border-color: var(--cream); box-shadow: 0 6px 0 rgba(23, 16, 6, 0.35); }
.btn--big { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }

/* jelly hover — squash & stretch traced from the reference */
@keyframes jelly {
  0% { transform: scaleX(1); }
  25% { transform: scaleX(1.15) scaleY(0.92); }
  50% { transform: scaleX(0.98) scaleY(1.02); }
  75% { transform: scaleX(1.01); }
  100% { transform: scaleX(1); }
}
.jelly { display: inline-block; }
.jelly-host:hover .jelly, .jelly-host:focus-visible .jelly { animation: jelly 0.5s both; }

/* ---------------- header ---------------- */

.header {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream); color: var(--dark);
  border: var(--border); border-radius: var(--pill);
  box-shadow: 5px 6px 0 rgba(23, 16, 6, 0.45);
  padding: 8px 10px 8px 22px;
  transition: transform 0.35s ease;
}
.header.is-hidden { transform: translateX(-50%) translateY(-130%); }
.header__logo {
  font-family: var(--display); font-size: 1.25rem; text-decoration: none;
  display: inline-flex; align-items: center;
}
.logo-dot {
  width: 0.5em; height: 0.5em; margin-left: 0.28em; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: bob 2.4s ease-in-out infinite;
}
.header__nav { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 18px); }
.header__link {
  font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 6px 4px;
}
.header__link:hover { color: var(--red); }
.header__cta {
  font-family: var(--display); font-size: 0.95rem; text-decoration: none;
  background: var(--dark); color: var(--cream);
  border-radius: var(--pill); padding: 9px 18px;
  border: var(--border);
}
.header__burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark); color: var(--cream);
  padding: 110px 32px 40px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.mobile-menu a {
  font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.6rem);
  text-decoration: none; padding: 8px 0;
}
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu__cta { color: var(--green); }
.mobile-menu__stars { position: absolute; inset: 0; }

/* ---------------- stars ---------------- */

.star {
  position: absolute; pointer-events: none; z-index: 1;
  width: var(--s, 14px); height: var(--s, 14px);
  left: var(--sx); top: var(--sy);
  color: rgba(247, 242, 229, 0.85);
  animation: twinkle var(--tw, 2.6s) ease-in-out var(--twd, 0s) infinite alternate;
}
.section--green .star, .section--cream .star, .section--yellow .star { color: rgba(23, 16, 6, 0.5); }
@keyframes twinkle {
  from { opacity: 0.15; transform: scale(0.6) rotate(0deg); }
  to { opacity: 1; transform: scale(1.05) rotate(24deg); }
}

/* click star-burst particles */
.burst {
  position: fixed; z-index: 300; pointer-events: none;
  width: 12px; height: 12px; color: var(--yellow);
  animation: burst 0.6s ease-out forwards;
}
@keyframes burst {
  from { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  to { opacity: 0; transform: translate(var(--bx), var(--by)) scale(0.2) rotate(160deg); }
}

/* ---------------- hero ---------------- */

.hero { padding: clamp(150px, 18vh, 200px) 0 clamp(120px, 14vw, 190px); }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero__sub { margin: 1.5rem 0 1.9rem; font-size: clamp(1.05rem, 1.9vw, 1.25rem); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.1rem; }
.hero__cred { font-size: 0.95rem; max-width: 36em; opacity: 0.92; }
.hero__cred strong { color: var(--yellow); }

.hero__stage { position: relative; min-height: 340px; }
.planet-scene { position: relative; width: min(100%, 420px); margin: 0 auto; animation: bob 5s ease-in-out infinite; }
.planet { width: 100%; height: auto; }
.planet--hero .planet__face { transform-origin: 150px 150px; }

@keyframes bob { 50% { transform: translateY(-14px); } }

.orbiter {
  position: absolute; inset: 6%;
  animation: orbit var(--dur, 16s) linear infinite;
}
.orbiter--1 { --dur: 13s; }
.orbiter--2 { --dur: 19s; animation-delay: -6s; }
.orbiter--3 { --dur: 25s; animation-delay: -12s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.moon {
  position: absolute; top: -5%; left: 50%;
  width: 46px; height: 46px; margin-left: -23px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.1rem;
  border: var(--border); border-radius: 50%;
  box-shadow: 3px 3px 0 rgba(23, 16, 6, 0.4);
  animation: orbit-rev var(--dur, 16s) linear infinite;
}
.orbiter--2 .moon { animation-delay: -6s; }
.orbiter--3 .moon { animation-delay: -12s; }
@keyframes orbit-rev { to { transform: rotate(-360deg); } }
.moon--purple { background: var(--purple); color: var(--cream); }
.moon--blue { background: var(--blue); color: var(--cream); }
.moon--green { background: var(--green); color: var(--dark); }

.hero__badge {
  position: absolute; right: -6px; bottom: -34px; width: 120px; height: 120px;
}
.hero__badge svg { animation: orbit 18s linear infinite; overflow: visible; }
.hero__badge text {
  font-family: var(--display); font-size: 12.5px; letter-spacing: 0.14em;
  fill: var(--cream);
}

/* ---------------- dish (company) sections ---------------- */

.dish { padding: clamp(90px, 11vw, 150px) 0 clamp(120px, 14vw, 180px); }
.dish__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.dish--flip .dish__grid { direction: rtl; }
.dish--flip .dish__grid > * { direction: ltr; }
.dish__desc { margin: 1.4rem 0 1.5rem; max-width: 32em; font-size: clamp(1rem, 1.8vw, 1.15rem); }
.dish__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.7rem; }

.dish__stage { position: relative; }
.dish-scene { position: relative; width: min(100%, 380px); margin: 0 auto; animation: bob 6s ease-in-out infinite; }

.price-tag {
  position: absolute; font-size: clamp(1rem, 2vw, 1.3rem); white-space: nowrap;
  animation: wiggle 4s ease-in-out infinite;
}
.price-tag--right { right: -4%; top: 8%; --tilt: 7deg; }
.price-tag--left { left: -4%; top: 6%; --tilt: -8deg; }
@keyframes wiggle {
  0%, 100% { transform: rotate(var(--tilt, 6deg)); }
  50% { transform: rotate(calc(var(--tilt, 6deg) * -0.55)) translateY(-6px); }
}

.plane-orbit { transform-origin: 130px 130px; animation: orbit 11s linear infinite; }

/* ---------------- the loop ---------------- */

.loop { padding: clamp(100px, 12vw, 170px) 0; }
.loop__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.loop__body { margin: 1.4rem 0 2rem; max-width: 30em; font-size: clamp(1rem, 1.8vw, 1.15rem); }

.bubble {
  position: relative; max-width: 26em;
  background: var(--cream); color: var(--dark);
  border: var(--border); border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(247, 242, 229, 0.25);
  padding: 16px 22px; margin: 0 0 18px;
  font-weight: 600; font-size: 0.98rem; line-height: 1.45;
}
.bubble::after {
  content: ""; position: absolute; bottom: -14px;
  border: var(--border); border-top: none; border-right: none;
  width: 16px; height: 16px; background: var(--cream);
  transform: skewX(38deg) rotate(-45deg);
}
.bubble--left::after { left: 34px; }
.bubble--right { margin-left: 46px; background: var(--yellow); }
.bubble--right::after { right: 34px; background: var(--yellow); }
.bubble small { display: block; font-weight: 400; margin-top: 4px; opacity: 0.75; }
.bubble strong { color: var(--red); }

.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.orbit__sun {
  position: absolute; inset: 50% auto auto 50%;
  width: 128px; height: 128px; transform: translate(-50%, -50%);
  background: var(--yellow); color: var(--dark);
  font-family: var(--display); font-size: 1.5rem; line-height: 1.05;
  border: var(--border); border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 199, 55, 0.18), 5px 6px 0 rgba(23, 16, 6, 0.6);
  display: grid; place-items: center; text-align: center; z-index: 2;
}
.orbit__ring {
  position: absolute; inset: 7%;
  border: 3px dashed rgba(247, 242, 229, 0.4); border-radius: 50%;
}
.orbit__spinner { position: absolute; inset: 0; animation: orbit 36s linear infinite; }
.orbit__node {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-186px) rotate(calc(var(--i) * -60deg));
}
.orbit__label {
  display: inline-block; transform: translate(-50%, -50%);
  animation: label-rev 36s linear infinite;
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 0.45em 1em; border: var(--border); border-radius: var(--pill);
  box-shadow: 3px 3px 0 rgba(23, 16, 6, 0.6); white-space: nowrap;
}
@keyframes label-rev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
.node--red { background: var(--red); color: var(--cream); }
.node--purple { background: var(--purple); color: var(--cream); }
.node--blue { background: var(--blue); color: var(--cream); }
.node--yellow { background: var(--yellow); color: var(--dark); }
.node--green { background: var(--green); color: var(--dark); }
.node--cream { background: var(--cream); color: var(--dark); }

/* ---------------- marquee ---------------- */

.marquee {
  background: var(--yellow); color: var(--dark);
  border-top: var(--border); border-bottom: var(--border);
  overflow: hidden; padding: 14px 0; position: relative; z-index: 4;
}
.marquee__track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  animation: marquee 26s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- worldview ---------------- */

.worldview { padding: clamp(100px, 12vw, 170px) 0 clamp(130px, 15vw, 200px); }
.worldview__sub { margin: 1rem 0 2.2rem; font-weight: 600; }

.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 0.9rem; }
.equation__pill {
  font-family: var(--display); font-size: clamp(1rem, 2vw, 1.35rem);
  padding: 0.5em 1.2em; border: var(--border); border-radius: var(--pill);
  box-shadow: 4px 4px 0 rgba(23, 16, 6, 0.35);
}
.eq--red { background: var(--red); color: var(--cream); }
.eq--dark { background: var(--dark); color: var(--cream); }
.eq--purple { background: var(--purple); color: var(--cream); }
.equation__arrow { font-family: var(--display); font-size: 1.6rem; }
.equation__caption { max-width: 40em; margin-bottom: 3rem; opacity: 0.85; }

.cards {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.card {
  font-weight: 600; font-size: 0.98rem; line-height: 1.42;
  border: var(--border); border-radius: 18px;
  box-shadow: 5px 6px 0 rgba(23, 16, 6, 0.4);
  padding: 20px 20px 24px;
  transform: rotate(var(--ct, -1.5deg));
  transition: transform 0.25s var(--pop-ease), box-shadow 0.25s ease;
}
.js .card.reveal { transform: translateY(26px) rotate(var(--ct, -1.5deg)); }
.js .card.reveal.in { transform: rotate(var(--ct, -1.5deg)); }
.card:hover { transform: rotate(0deg) scale(1.04) !important; box-shadow: 7px 9px 0 rgba(23, 16, 6, 0.4); }
.card:nth-child(odd) { --ct: 1.8deg; }
.card:nth-child(3n) { --ct: -2.4deg; }
.card--red { background: var(--red); color: var(--cream); }
.card--purple { background: var(--purple); color: var(--cream); }
.card--blue { background: var(--blue); color: var(--cream); }
.card--dark { background: var(--dark); color: var(--cream); }
.card--yellow { background: var(--yellow); color: var(--dark); }
.card--green { background: var(--green); color: var(--dark); }

/* ---------------- receipts ---------------- */

.receipts { padding: clamp(100px, 12vw, 170px) 0 clamp(130px, 15vw, 200px); }
.receipts .display { max-width: 11em; }
.receipts__intro { max-width: 38em; margin: 1.3rem 0 2.6rem; }

.zero-sticker {
  position: absolute; top: clamp(90px, 12vw, 150px); right: clamp(12px, 6vw, 90px);
  width: clamp(150px, 16vw, 210px); aspect-ratio: 1;
  background: var(--red); color: var(--cream);
  border: var(--border); border-radius: 50%;
  box-shadow: 6px 7px 0 rgba(23, 16, 6, 0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; rotate: 8deg; padding: 12px; z-index: 2;
  animation: wiggle 5s ease-in-out infinite;
}
.zero-sticker__num { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.zero-sticker__txt { font-size: 0.78rem; font-weight: 600; line-height: 1.35; margin-top: 4px; }

.tape {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}
.stub {
  background: var(--cream); color: var(--dark);
  border: var(--border); border-radius: 14px;
  box-shadow: 5px 6px 0 rgba(23, 16, 6, 0.4);
  padding: 18px 18px 14px;
  position: relative;
  transform: rotate(var(--rt, -1deg));
}
.stub:nth-child(even) { --rt: 1.4deg; }
.stub::after {
  content: ""; display: block; height: 12px; margin-top: 14px;
  background: repeating-linear-gradient(90deg, var(--dark) 0 3px, transparent 3px 7px, var(--dark) 7px 8px, transparent 8px 13px);
  opacity: 0.75; border-radius: 2px;
}
.stub__date {
  font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.08em;
  display: inline-block; margin-bottom: 6px;
}
.stub__proj {
  float: right; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 10px; border-radius: var(--pill);
  border: 2px solid var(--dark);
}
.stub__proj--blue { background: var(--blue); color: var(--cream); }
.stub__proj--red { background: var(--red); color: var(--cream); }
.stub__proj--green { background: var(--green); color: var(--dark); }
.stub__proj--purple { background: var(--purple); color: var(--cream); }
.stub__lead { font-weight: 600; font-size: 0.95rem; line-height: 1.45; clear: both; }
.stub__metric {
  display: inline-block; margin-top: 10px;
  font-size: 0.8rem; font-weight: 800; color: var(--purple);
  letter-spacing: 0.03em;
}

/* ---------------- starmap ---------------- */

.starmap { padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 9vw, 130px); }
.starmap__sub { margin: 1.2rem 0 2.4rem; font-weight: 600; color: var(--yellow); }

.sky {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 3px dashed rgba(247, 242, 229, 0.25); border-radius: 26px;
}
.sky__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__lines path {
  fill: none; stroke: rgba(247, 242, 229, 0.22); stroke-width: 2;
  stroke-dasharray: 3 9; stroke-linecap: round;
}

.marker {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; text-decoration: none; z-index: 2;
}
.marker--big { width: 60px; height: 60px; }
.marker__body {
  position: relative; z-index: 2;
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem;
  border: var(--border); border-radius: 50%;
  box-shadow: 3px 4px 0 rgba(23, 16, 6, 0.65);
  transition: transform 0.25s var(--pop-ease);
}
.marker--big .marker__body { font-size: 1.3rem; }
.marker:hover .marker__body, .marker:focus-visible .marker__body { transform: scale(1.18) rotate(-6deg); }
.marker__pulse {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 3px solid currentColor; opacity: 0;
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
.marker--yellow { color: var(--yellow); } .marker--yellow .marker__body { background: var(--yellow); color: var(--dark); }
.marker--purple { color: var(--purple); } .marker--purple .marker__body { background: var(--purple); color: var(--cream); }
.marker--blue { color: var(--blue); } .marker--blue .marker__body { background: var(--blue); color: var(--cream); }
.marker--green { color: var(--green); } .marker--green .marker__body { background: var(--green); color: var(--dark); }
.marker--red { color: var(--red); } .marker--red .marker__body { background: var(--red); color: var(--cream); }
.marker--cream { color: var(--cream); } .marker--cream .marker__body { background: var(--cream); color: var(--dark); }

.marker__tip {
  position: absolute; bottom: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.9);
  background: var(--cream); color: var(--dark);
  border: var(--border); border-radius: 14px;
  box-shadow: 4px 5px 0 rgba(23, 16, 6, 0.55);
  padding: 10px 14px; min-width: 172px; text-align: center;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4;
  opacity: 0; pointer-events: none; z-index: 5;
  transition: opacity 0.2s ease, transform 0.25s var(--pop-ease);
}
.marker__tip strong { display: block; font-family: var(--display); font-weight: 400; font-size: 0.95rem; }
.marker__tip em { display: block; font-style: normal; color: var(--red); font-weight: 800; }
.marker:hover .marker__tip, .marker:focus-visible .marker__tip {
  opacity: 1; transform: translateX(-50%) translateY(0) scale(1);
}

/* ---------------- contact ---------------- */

.contact { padding: clamp(140px, 16vw, 210px) 0; text-align: center; }
.contact__line { max-width: 34em; margin: 1.6rem auto 2.2rem; font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* ---------------- footer ---------------- */

.footer { padding: clamp(110px, 13vw, 180px) 0 40px; }
.footer__closing { margin-bottom: clamp(60px, 8vw, 100px); font-size: clamp(1.9rem, 4.6vw, 3.6rem); }
.footer__cols {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(28px, 5vw, 64px); margin-bottom: 3.5rem;
  position: relative; z-index: 2;
}
.footer__col h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-bottom: 0.9rem; color: var(--yellow); }
.footer__col p { font-size: 0.92rem; opacity: 0.85; margin-bottom: 1rem; }
.footer__col a { display: block; font-size: 0.95rem; font-weight: 600; text-decoration: none; padding: 4px 0; opacity: 0.9; }
.footer__col a:hover { color: var(--green); opacity: 1; }
.footer__col nav { display: flex; flex-direction: column; }
.footer__colophon { font-size: 0.82rem; opacity: 0.6; margin-bottom: 0.5rem; position: relative; z-index: 2; }
.footer__copy { font-size: 0.82rem; opacity: 0.6; position: relative; z-index: 2; }
.footer__watermark {
  position: absolute; bottom: -0.32em; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: clamp(6rem, 17vw, 15rem);
  color: rgba(247, 242, 229, 0.05); white-space: nowrap; pointer-events: none;
  line-height: 1;
}

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 10px;
    background: var(--dark); border: var(--border); border-radius: 50%;
    cursor: pointer;
  }
  .header__burger span { display: block; height: 3px; border-radius: 2px; background: var(--cream); transition: transform 0.3s ease, opacity 0.3s ease; }
  .header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero__grid, .dish__grid, .loop__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 0; margin-top: 30px; }
  .dish__stage { margin-top: 26px; }
  .price-tag--right { top: auto; bottom: 2%; right: 0; }
  .price-tag--left { top: auto; bottom: 2%; left: 0; }
  .hero__badge { right: 4px; bottom: -10px; width: 96px; height: 96px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tape { grid-template-columns: repeat(2, 1fr); }
  .zero-sticker { position: static; rotate: 3deg; margin: 0 0 30px auto; }
  .sky { aspect-ratio: auto; height: 560px; }
  .footer__cols { grid-template-columns: 1fr; }
  .orbit { width: min(100%, 380px); }
  .orbit__node { transform: rotate(calc(var(--i) * 60deg)) translateY(-158px) rotate(calc(var(--i) * -60deg)); }
}

@media (max-width: 560px) {
  .cards, .tape { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .orbit { width: min(100%, 300px); }
  .orbit__sun { width: 100px; height: 100px; font-size: 1.2rem; }
  .orbit__node { transform: rotate(calc(var(--i) * 60deg)) translateY(-118px) rotate(calc(var(--i) * -60deg)); }
  .orbit__label { font-size: 0.78rem; padding: 0.4em 0.85em; }
  .marker__tip { min-width: 140px; }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal, .js .pop .w { opacity: 1; transform: none; }
}
