/* Burger King — unofficial concept. Colour chapters: every section is one flat field. */

:root {
  --red: #d62300;
  --red-edge: #a81c00;
  --orange: #ff8732;
  --brown: #502314;
  --cream: #f5ebdc;
  --cream-edge: #dcc9ad;
  --green: #198737;
  --yellow: #ffaa00;
  --char: #1f120c;
  --white: #ffffff;

  /* five type steps */
  --fs-xxl: clamp(112px, 19vw, 320px);
  --fs-xl: clamp(60px, 9.5vw, 150px);
  --fs-l: clamp(28px, 3.4vw, 48px);
  --fs-body: 19px;
  --fs-small: 15px;

  --display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --m: clamp(20px, 2.2vw, 32px);
  --notice-h: 30px;
  --bar-h: calc(72px + var(--notice-h)); /* everything the fixed top covers */
  --burger: 32vw;
  --radius: 18px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;

  --bar-bg: var(--cream);
  --bar-ink: var(--brown);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Rubik", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--brown);
  background: var(--char);
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--brown); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 100;
  background: var(--cream); color: var(--brown); padding: 12px 16px; border-radius: var(--radius);
}
.skip:focus { top: 40px; }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 0.92; text-wrap: balance; }
h3 { font-weight: 700; line-height: 1.1; }
h2 { font-size: var(--fs-l); }
h3 { font-size: var(--fs-body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--red); color: var(--white);
  border-bottom: 4px solid var(--red-edge);
  border-radius: 999px;
  font-weight: 700; font-size: var(--fs-body); text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), border-bottom-width var(--t-press) var(--ease-out),
              background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:hover { background: #ea2a00; }
.btn:active { transform: translateY(3px); border-bottom-width: 1px; }
.btn--cream { background: var(--cream); color: var(--brown); border-bottom-color: var(--cream-edge); }
.btn--cream:hover { background: var(--white); }

/* ---------- header: takes the colours of the chapter beneath ---------- */
.bar {
  position: fixed; inset: var(--notice-h) 0 auto 0; z-index: 50; height: calc(var(--bar-h) - var(--notice-h));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--m);
  background: var(--bar-bg); color: var(--bar-ink);
  transition: background-color 300ms ease, color 300ms ease;
}
.wordmark {
  font-family: var(--display); font-size: 30px; line-height: 1; text-decoration: none; text-transform: uppercase;
  transform-origin: left center; transition: transform var(--t-hover) var(--ease-out);
}
.wordmark:hover { transform: scale(1.04) rotate(-2deg); }
.bar__nav { display: flex; align-items: center; gap: 28px; }
.bar__links { display: flex; gap: 28px; font-weight: 700; }
.bar__links a { text-decoration: none; position: relative; }
.bar__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-hover) var(--ease-out);
}
.bar__links a:hover::after, .bar__links a:focus-visible::after { transform: scaleX(1); }
.bar__menu { display: none; background: none; border: 0; font-weight: 700; cursor: pointer; padding: 8px; }
.bar.on-red .btn { background: var(--cream); color: var(--brown); border-bottom-color: var(--cream-edge); }

/* ---------- unofficial notice ---------- */
.notice {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--notice-h);
  display: flex; justify-content: center; align-items: center; margin: 0; padding: 0 12px; overflow: hidden; white-space: nowrap;
  background: var(--char); color: var(--cream); font-size: var(--fs-small); font-weight: 500;
}

/* ---------- 1 · hero ---------- */
.hero { position: relative; height: 130svh; overflow: hidden; }
.hero__top { position: absolute; inset: 0 0 auto 0; height: 50svh; background: var(--cream); }
.hero__bottom {
  position: absolute; left: 0; right: 0; top: 50svh; bottom: 0; background: var(--red);
  transform-origin: bottom center;
}
.hero__title {
  --cut: 1.04em;
  position: absolute; left: 50%; top: calc(50svh - var(--cut)); transform: translateX(-50%);
  width: 92vw; height: 1.76em;
  font-size: var(--fs-xl); line-height: 0.88; letter-spacing: 0;
  text-transform: uppercase; text-align: center;
}
.hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; }
.hero__copy .line { display: block; white-space: nowrap; }
.hero__copy--top { color: var(--red); clip-path: inset(0 0 calc(100% - var(--cut)) 0); }
.hero__copy--deep { color: var(--cream); clip-path: inset(var(--cut) 0 0 0); }
.hero__burger {
  position: absolute; right: var(--m); width: var(--burger); height: var(--burger);
  top: calc(50svh - var(--burger) * 0.985);
}
.hero__burger canvas { width: 100%; height: 100%; }
.hero__say {
  position: absolute; left: -2%; top: 14%; padding: 8px 18px; border-radius: 999px;
  background: var(--brown); color: var(--cream); font-family: var(--display); font-size: var(--fs-l); line-height: 1.1; white-space: nowrap;
  opacity: 0; transform: scale(0.6) rotate(-6deg); transform-origin: 80% 100%;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.hero__say::after {
  content: ""; position: absolute; right: 22%; bottom: -10px;
  border: 10px solid transparent; border-top-color: var(--brown); border-bottom: 0;
}
.hero__say.is-on { opacity: 1; transform: rotate(-6deg); }
.hero__say.is-pop { animation: pop 420ms var(--ease-out); }
@keyframes pop { 0% { transform: scale(0.7) rotate(-6deg); } 60% { transform: scale(1.08) rotate(-6deg); } 100% { transform: rotate(-6deg); } }
html:not(.js) .hero__say { opacity: 1; transform: rotate(-6deg); }

.hero__lede {
  position: absolute; left: 50%; top: calc(100svh - 56px); transform: translate(-50%, -100%);
  width: min(36ch, 86vw); text-align: center; color: var(--white); font-size: var(--fs-body); font-weight: 700; line-height: 1.45;
}

/* ---------- frame sequences (sticky stage, scroll-scrubbed canvas) ---------- */
.seq { position: relative; height: 360svh; }
.seq--grelha { height: 300svh; }
.seq__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.seq__canvas { position: absolute; width: 100%; height: 100%; }

.seq--anatomia { background: var(--brown); color: var(--cream); }
.seq--anatomia .seq__canvas { left: 42%; width: 58%; top: var(--bar-h); height: calc(100% - var(--bar-h) - 2svh); }
.anat {
  position: absolute; left: var(--m); top: calc(var(--bar-h) + 6svh); bottom: 6svh; width: 44%;
  display: flex; flex-direction: column;
}
.anat h2 { font-size: var(--fs-xl); text-transform: uppercase; color: var(--yellow); }
.seq__steps { position: relative; min-height: 2.4em; margin-top: 32px; }
.seq__steps li {
  position: absolute; inset: 0 auto auto 0; font-size: var(--fs-l); font-weight: 700; line-height: 1.1;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity 380ms var(--ease-out), transform 480ms var(--ease-out), visibility 0s linear 380ms;
}
.seq__steps li.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .seq__steps li { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: 8px; }
.anat__list { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.anat__list li {
  padding: 6px 14px; border-radius: 999px; border: 2px solid #7a4a33; font-size: var(--fs-small); font-weight: 700;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, transform 260ms var(--ease-out);
}
.anat__list li.is-lit { background: var(--cream); color: var(--brown); border-color: var(--cream); transform: translateY(-3px); }

.seq--grelha { background: var(--char); color: var(--cream); }
.seq--grelha .seq__canvas { top: 30svh; height: 70svh; }
.fire { position: absolute; left: var(--m); top: calc(var(--bar-h) + 4svh); width: min(36ch, 46vw); }
.fire h2 { font-size: var(--fs-l); color: var(--orange); margin-bottom: 14px; }
.stages { display: flex; gap: 10px; margin-top: 22px; }
.stages li {
  padding: 8px 16px; border-radius: 999px; background: #3a2419; color: #c9b39b; font-size: var(--fs-small); font-weight: 700;
  transition: background-color 260ms ease, color 260ms ease, transform 260ms var(--ease-out);
}
.stages li.is-lit { background: var(--orange); color: var(--char); transform: scale(1.06); }
.fire__word {
  position: absolute; right: var(--m); top: calc(var(--bar-h) + 2svh);
  font-family: var(--display); font-size: var(--fs-xl); line-height: 0.9; text-transform: uppercase; color: var(--cream);
  transition: color 300ms ease;
}
.fire__word.is-done { color: var(--yellow); }

/* ---------- 3 · build your own ---------- */
.build {
  position: relative; min-height: 100svh; background: var(--cream); color: var(--brown);
  padding: calc(var(--bar-h) + 7svh) var(--m) 56px;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: stretch;
}
.build__copy { grid-column: 1 / 7; display: flex; flex-direction: column; }
.build h2 { font-size: var(--fs-xl); text-transform: uppercase; color: var(--red); }
.build__intro { margin-top: 20px; max-width: 34ch; }
.build__controls { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.pick {
  cursor: pointer; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 3px solid var(--brown); background: transparent; color: var(--brown); font-weight: 700;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.pick { display: inline-flex; align-items: center; gap: 10px; }
.pick::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.pick[aria-pressed="true"] { background: var(--brown); color: var(--cream); }
.pick[aria-pressed="true"]::before { background: var(--yellow); border-color: var(--yellow); transform: scale(1.15); }
.pick:hover { transform: translateY(-2px); }
.pick:active { transform: translateY(1px) scale(0.97); }
.build__presets { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.build__presets p { width: 100%; font-size: var(--fs-small); }
.chip-btn {
  cursor: pointer; padding: 10px 20px; min-height: 48px; border-radius: 999px;
  background: var(--white); border: 0; border-bottom: 4px solid var(--cream-edge); font-weight: 700; color: var(--red);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.chip-btn:hover { background: #fff3e6; }
.chip-btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.build__result { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.stack { position: relative; width: min(100%, 480px); height: 62svh; }
.stack__fallback { position: absolute; bottom: 0; left: 0; width: 100%; }
.stack__layer { position: absolute; left: 0; width: 100%; transition: bottom 460ms var(--ease-out); will-change: transform; }
.stack__layer.is-new { animation: drop 620ms var(--ease-out) both; }
.stack__layer.is-out { animation: lift 300ms var(--ease-out) both; }
@keyframes drop { 0% { transform: translateY(-46svh); opacity: 0; } 55% { transform: translateY(8px); opacity: 1; } 75% { transform: translateY(-6px); } 100% { transform: none; } }
@keyframes lift { to { transform: translateY(-80px); opacity: 0; } }
.build__name { margin-top: 24px; font-family: var(--display); font-size: var(--fs-l); line-height: 1.05; text-align: center; max-width: 20ch; }
.build__count { margin-top: 6px; font-size: var(--fs-small); font-weight: 700; }

/* ---------- 4 · tiles that grow ---------- */
.grow { background: var(--orange); color: var(--brown); padding: calc(var(--bar-h) + 80px) var(--m) 140px; }
.grow__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 12px; align-items: end; position: relative; }
.grow__title { grid-column: 1 / 8; grid-row: 1; align-self: start; font-size: var(--fs-xl); text-transform: uppercase; margin-bottom: 40px; }
.grow__stage { grid-row: 1; }
.grow__stage--s { grid-column: 1 / 4; }
.grow__stage--m { grid-column: 4 / 8; }
.grow__stage--l { grid-column: 8 / 13; }
.grow__tile { position: relative; overflow: hidden; border-radius: var(--radius); display: grid; place-items: center; }
.grow__stage--s .grow__tile { height: 24vh; }
.grow__stage--m .grow__tile { height: 36vh; }
.grow__stage--l .grow__tile { height: 70vh; }
.grow__tile img { position: absolute; inset: 4% 0 0; width: 100%; height: 96%; object-fit: contain; transition: transform 600ms var(--ease-out); }
.grow__stage:hover .grow__tile img { transform: scale(1.06) rotate(-3deg); }
.grow__tile--cream { background: var(--cream); }
.grow__tile--yellow { background: var(--yellow); }
.grow__tile--red { background: var(--red); }
.grow figcaption { padding-top: 16px; max-width: 34ch; }
.grow figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--fs-l); line-height: 1.05; margin-bottom: 6px; }

/* ---------- 6 · the menu as a board ---------- */
.board { background: var(--cream); padding: calc(var(--bar-h) + 10px) 10px 10px; }
.board__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 104px; gap: 8px;
  grid-template-areas:
    "head head head head head head classic classic classic classic classic classic"
    "head head head head head head classic classic classic classic classic classic"
    "head head head head head head classic classic classic classic classic classic"
    "head head head head head head classic classic classic classic classic classic"
    "fries fries fries fries rings rings rings rings shake shake shake shake"
    "fries fries fries fries rings rings rings rings shake shake shake shake"
    "fries fries fries fries rings rings rings rings shake shake shake shake"
    "cone cone cone nuggets nuggets nuggets nuggets nuggets soda soda soda soda"
    "cone cone cone nuggets nuggets nuggets nuggets nuggets soda soda soda soda"
    "cone cone cone nuggets nuggets nuggets nuggets nuggets soda soda soda soda";
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { position: relative; z-index: 2; font-family: var(--display); font-weight: 400; font-size: var(--fs-l); line-height: 1; }
.tile p { position: relative; z-index: 2; font-size: var(--fs-small); max-width: 30ch; margin-top: 4px; }
.tile img { position: absolute; z-index: 1; right: -4%; top: -8%; width: 74%; height: auto; transition: transform 500ms var(--ease-out); }
.tile:hover img { transform: scale(1.06) rotate(-3deg); }
.tile--head { grid-area: head; background: var(--red); color: var(--cream); justify-content: flex-start; }
.tile--head h2 { font-size: var(--fs-xl); text-transform: uppercase; max-width: 6ch; }
.tile--classic { grid-area: classic; background: var(--yellow); color: var(--brown); }
.tile--classic img { width: 64%; right: -2%; top: -4%; }
.tile--fries { grid-area: fries; background: var(--brown); color: var(--cream); }
.tile--rings { grid-area: rings; background: var(--orange); color: var(--brown); }
.tile--shake { grid-area: shake; background: var(--white); color: var(--brown); }
.tile--cone { grid-area: cone; background: var(--green); color: var(--white); }
.tile--nuggets { grid-area: nuggets; background: var(--char); color: var(--cream); }
.tile--soda { grid-area: soda; background: var(--yellow); color: var(--brown); }
.tile--cone img, .tile--soda img { width: 88%; top: -14%; }
.tile--nuggets img { width: 60%; top: -10%; }

/* ---------- 7 · two ways to order ---------- */
.plans { display: grid; grid-template-columns: 7fr 5fr; }
.plan { position: relative; overflow: hidden; min-height: 92svh; padding: calc(var(--bar-h) + 40px) var(--m) 40px; display: flex; flex-direction: column; }
.plan h2 { font-size: var(--fs-xl); text-transform: uppercase; }
.plan__who { margin-top: 20px; font-size: var(--fs-l); font-family: var(--display); line-height: 1.05; max-width: 18ch; }
.plan__inc { margin-top: 16px; max-width: 40ch; }
.plan__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.plan__price { font-family: var(--display); font-size: var(--fs-l); line-height: 1; text-transform: uppercase; }
.plan > * { position: relative; z-index: 1; }
.plan > .plan__img { position: absolute; z-index: 0; right: -4%; top: 26%; width: min(46%, 440px); transition: transform 600ms var(--ease-out); }
.plan:hover .plan__img { transform: rotate(-4deg) scale(1.04); }
.plan--store { background: var(--red); color: var(--white); }
.plan--store h2 { color: var(--cream); }
.plan--home { background: var(--green); color: var(--white); }

/* ---------- 8 · a band per question ---------- */
.faq__head { min-height: 40svh; background: var(--yellow); color: var(--brown); padding: calc(var(--bar-h) + 40px) var(--m) 40px; display: flex; align-items: flex-end; }
.faq__head h2 { font-size: var(--fs-xl); text-transform: uppercase; }
.faq__band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; padding: 56px var(--m); background: var(--white); color: var(--brown); }
.faq__band:nth-child(odd) { background: var(--cream); }
.faq__band h3 { grid-column: 1 / 6; font-family: var(--display); font-weight: 400; font-size: var(--fs-l); line-height: 1.02; }
.faq__band p { grid-column: 7 / 13; max-width: 56ch; }

/* ---------- 9 · close ---------- */
.close {
  min-height: 92svh; background: var(--red); color: var(--cream);
  padding: calc(var(--bar-h) + 10svh) var(--m) 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.close__title { font-size: var(--fs-xxl); text-transform: uppercase; line-height: 0.84; max-width: 7ch; }
.close__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.close__foot p { color: var(--white); max-width: 30ch; font-weight: 700; }
.close .btn { min-height: 60px; padding: 0 32px; }

/* ---------- 10 · footer ---------- */
.foot { background: var(--brown); color: var(--cream); padding: 120px var(--m) 0; overflow: hidden; }
.foot__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.foot__places { grid-column: 1 / 6; display: grid; gap: 6px; }
.foot__places a { font-family: var(--display); font-size: var(--fs-l); text-decoration: none; line-height: 1.15; display: inline-block; transition: transform var(--t-hover) var(--ease-out), color var(--t-hover) ease; }
.foot__places a:hover { transform: translateX(8px); color: var(--yellow); }
.foot__links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot__links ul { display: grid; gap: 8px; align-content: start; }
.foot__links a { font-size: var(--fs-small); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; font-size: var(--fs-small); }
.foot__legal p { max-width: 60ch; }
.foot__word {
  font-family: var(--display); font-size: var(--fs-xxl); line-height: 1; color: var(--orange); text-transform: uppercase;
  margin: 40px 0 -0.2em -0.02em; white-space: nowrap;
}

/* ---------- motion helpers ---------- */
.grow__tile img { animation: float 6s ease-in-out infinite; }
.grow__stage--m .grow__tile img { animation-delay: -2s; }
.grow__stage--l .grow__tile img { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .bar__links { gap: 18px; }
  .board__grid {
    grid-template-columns: repeat(6, 1fr); grid-auto-rows: 96px;
    grid-template-areas:
      "head head head head head head" "head head head head head head"
      "classic classic classic classic classic classic" "classic classic classic classic classic classic"
      "classic classic classic classic classic classic"
      "fries fries fries rings rings rings" "fries fries fries rings rings rings" "fries fries fries rings rings rings"
      "shake shake shake cone cone cone" "shake shake shake cone cone cone" "shake shake shake cone cone cone"
      "nuggets nuggets nuggets soda soda soda" "nuggets nuggets nuggets soda soda soda" "nuggets nuggets nuggets soda soda soda";
  }
  .build__copy { grid-column: 1 / 8; }
  .build__result { grid-column: 8 / 13; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --fs-body: 17px; --fs-small: 14px; --fs-l: 26px; --bar-h: calc(64px + var(--notice-h)); --fs-xl: 15vw; --fs-xxl: 26vw; --burger: 52vw; --notice-h: 28px; }
  .notice__more { display: none; }
  .wordmark { font-size: var(--fs-l); }
  .bar__menu { display: block; }
  .bar__links {
    position: absolute; top: calc(var(--bar-h) - var(--notice-h)); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bar-bg); padding: 8px var(--m) 20px; display: none;
  }
  .bar__links.is-open { display: flex; }
  .bar__links a { display: block; padding: 12px 0; font-size: var(--fs-l); }
  .bar__nav { gap: 8px; }
  .bar .btn { min-height: 44px; padding: 0 16px; font-size: var(--fs-small); }

  .hero { height: 120svh; }
  .hero__top { height: 50svh; }
  .hero__bottom { top: 50svh; }
  .hero__burger { right: 50%; transform: translateX(50%); top: calc(50svh - 1.04 * var(--fs-xl) - var(--burger) * 0.95); }
  .hero__say { display: none; } /* on a phone it would sit on top of the headline */
  .hero__lede { max-width: 28ch; top: calc(100svh - 40px); }

  .seq--anatomia .seq__canvas { left: 0; width: 100%; top: calc(var(--bar-h) + 120px); height: calc(100% - var(--bar-h) - 120px - 30svh); }
  .anat { width: auto; right: var(--m); top: calc(var(--bar-h) + 16px); bottom: 3svh; }
  .anat h2 { font-size: var(--fs-l); max-width: none; }
  .seq__steps { margin-top: 10px; }
  .seq__steps li { font-size: var(--fs-body); }
  .anat__list { gap: 6px; }
  .anat__list li { padding: 4px 10px; }

  .seq--grelha .seq__canvas { top: 46svh; height: 38svh; }
  .fire { width: auto; right: var(--m); }
  .fire p { font-size: var(--fs-small); }
  .stages { gap: 6px; flex-wrap: wrap; }
  .fire__word { right: auto; left: var(--m); top: auto; bottom: 3svh; }

  .build { display: flex; flex-direction: column; padding-top: calc(var(--bar-h) + 32px); }
  .build__controls { margin-top: 24px; gap: 8px; }
  .pick { min-height: 46px; padding: 0 16px; }
  .build__presets { padding-top: 24px; }
  .chip-btn { flex: 1 1 auto; }
  .build__result { margin-top: 32px; }
  .stack { width: 78vw; height: 70vw; }

  .grow__row { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .grow__title { margin-bottom: 0; }
  .grow__stage--s .grow__tile { height: 46vw; }
  .grow__stage--m .grow__tile { height: 62vw; }
  .grow__stage--l .grow__tile { height: 86vw; }

  .board { padding: calc(var(--bar-h) + 6px) 6px 6px; }
  .board__grid {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 30vw; gap: 6px;
    grid-template-areas:
      "head head" "classic classic" "classic classic" "fries rings" "fries rings"
      "shake cone" "shake cone" "nuggets soda" "nuggets soda";
  }
  .tile { padding: 14px; }
  .tile h3 { font-size: var(--fs-l); }
  .tile p { font-size: var(--fs-small); }
  .tile--head h2 { font-size: var(--fs-xl); max-width: none; }

  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 72svh; padding-top: 112px; }
  .plan__foot .btn { width: 100%; }
  .plan > .plan__img { width: 46%; top: auto; bottom: 120px; right: -2%; }

  .faq__head { min-height: 30svh; }
  .faq__band { display: block; padding: 32px 20px; }
  .faq__band h3 { margin-bottom: 10px; }

  .close { min-height: 80svh; }
  .close__title { font-size: var(--fs-xl); max-width: none; }
  .close__foot { flex-direction: column; align-items: stretch; }
  .close .btn { width: 100%; }

  .foot { padding-top: 72px; }
  .foot__row { display: block; }
  .foot__links { margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .foot__legal { flex-direction: column; margin-top: 56px; }
}
