:root {
  --orange: #f3a000;
  --orange-hot: #f44b08;
  --cream: #f3eee5;
  --dark: #26110d;
  --dark-soft: #35140f;
  --ink: #25110d;
  --header-height: 62px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Archivo", system-ui, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  padding: 0 clamp(20px, 4.2vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff8ee;
  background: var(--dark);
}

.logo,
.footer-logo {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: .02em;
}

.logo {
  font-size: 19px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 38px);
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav > a:not(.header-cta) {
  opacity: .76;
  transition: opacity .25s ease;
}

.desktop-nav > a:not(.header-cta):hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.header-cta {
  min-height: 34px;
  padding: 0 17px;
  background: var(--orange-hot);
  color: white;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.story {
  position: relative;
  height: 560svh;
  min-height: 3500px;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--orange);
  z-index: -10;
  will-change: background-color;
}

.outline-type {
  position: absolute;
  left: 7vw;
  top: 20vh;
  z-index: -2;
  display: flex;
  flex-direction: column;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(120px, 16.5vw, 280px);
  line-height: .72;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 244, 218, .58);
  pointer-events: none;
  will-change: transform, opacity;
}

.outline-type span:last-child {
  margin-left: 4.2vw;
}

.opening-copy {
  position: absolute;
  z-index: 10;
  top: 29vh;
  left: clamp(24px, 7vw, 112px);
  width: min(39vw, 620px);
  will-change: transform, opacity;
}

.opening-copy h1,
.section-title,
.bold-copy h2,
.order-copy h2,
.feature-copy h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .92;
}

.opening-copy h1 {
  max-width: 700px;
  font-size: clamp(58px, 6.6vw, 116px);
}

.opening-copy p {
  margin: 22px 0 0;
  max-width: 360px;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.button-dark {
  background: var(--dark);
  color: white;
}

.button-ghost {
  color: var(--dark);
  background: rgba(255, 248, 235, .34);
  box-shadow: inset 0 0 0 1px rgba(38, 17, 13, .34);
}

.burger {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  will-change: transform, opacity;
}

.burger-intro {
  width: clamp(430px, 44vw, 760px);
  height: clamp(420px, 43vw, 720px);
  right: 4vw;
  top: 19vh;
}

.burger-feature {
  width: clamp(440px, 41vw, 700px);
  height: clamp(560px, 56vw, 880px);
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.food-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  will-change: transform, opacity;
  filter: drop-shadow(0 24px 22px rgba(63, 22, 5, .17));
}

.burger-intro .layer-bun,
.burger-feature .layer-bun {
  width: 83%;
}

/* Keep the upper bun visibly in front while every burger assembles. */
.layer-bun,
.card-bun,
.order-bun {
  z-index: 4;
}

.layer-topping,
.card-topping,
.order-topping {
  z-index: 3;
}

.layer-patty,
.card-patty,
.order-patty {
  z-index: 2;
}

.layer-lower,
.card-lower,
.order-lower {
  z-index: 1;
}

.burger-intro .layer-topping,
.burger-feature .layer-topping {
  width: 99%;
}

.burger-intro .layer-patty,
.burger-feature .layer-patty {
  width: 96%;
}

.burger-intro .layer-lower,
.burger-feature .layer-lower {
  width: 100%;
}

.transition-type {
  position: absolute;
  z-index: -1;
  left: 18vw;
  top: 50%;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(150px, 22vw, 360px);
  line-height: .8;
  letter-spacing: -.035em;
  color: rgba(99, 50, 25, .18);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform, opacity, color;
}

.feature-copy {
  position: absolute;
  z-index: 12;
  width: min(220px, 18vw);
  opacity: 0;
  will-change: transform, opacity;
}

.feature-copy-left {
  left: 7vw;
  top: 38vh;
}

.feature-copy-right {
  right: 6vw;
  top: 40vh;
}

.feature-copy h2 {
  font-size: clamp(42px, 4.5vw, 78px);
}

.feature-copy p {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: .7;
}

.scroll-hint {
  position: absolute;
  z-index: 15;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  will-change: transform, opacity;
}

.scroll-hint i {
  display: block;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(38, 17, 13, .56);
  border-radius: 999px;
  position: relative;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--dark);
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translate(-50%, 0); opacity: .2; }
  45% { opacity: 1; }
  70% { transform: translate(-50%, 9px); opacity: 0; }
}

.section-light {
  background: var(--cream);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.favorites {
  min-height: 100svh;
  padding: clamp(100px, 13vw, 190px) 0 clamp(90px, 10vw, 150px);
}

.section-title {
  text-align: center;
  font-size: clamp(60px, 8vw, 128px);
}

.section-intro {
  max-width: 520px;
  margin: 24px auto 64px;
  text-align: center;
  line-height: 1.65;
  color: rgba(37, 17, 13, .67);
}

.favorite-list {
  display: flex;
  gap: 22px;
  align-items: stretch;
}

.favorite-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 22px 24px 25px;
  border-radius: 26px;
  background: #fffaf2;
  box-shadow: 0 18px 60px rgba(72, 38, 20, .08);
}

.card-burger {
  position: relative;
  height: clamp(220px, 21vw, 310px);
  margin-bottom: 8px;
  overflow: hidden;
}

.card-layer,
.order-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 16px 16px rgba(58, 19, 5, .12));
}

.card-bun { width: 69%; transform: translate(-50%, -50%) translateY(-48px); }
.card-topping { width: 82%; transform: translate(-50%, -50%) translateY(-19px); }
.card-patty { width: 80%; transform: translate(-50%, -50%) translateY(18px); }
.card-lower { width: 84%; transform: translate(-50%, -50%) translateY(57px); }

.card-burger-two {
  transform: scale(.94) rotate(-1.5deg);
}

.card-burger-three {
  transform: scale(.98) rotate(1.2deg);
}

.favorite-card h3 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: 30px;
  font-weight: 400;
}

.favorite-card > p {
  min-height: 66px;
  margin: 12px 0 24px;
  line-height: 1.55;
  color: rgba(37, 17, 13, .67);
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-bottom strong {
  font-size: 18px;
}

.card-bottom a {
  min-width: 78px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.bold-section {
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: clamp(90px, 10vw, 160px) 0;
  color: #fff8ee;
  background: var(--dark-soft);
}

.bold-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.bold-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.bold-copy h2 {
  max-width: 760px;
  font-size: clamp(72px, 9.5vw, 154px);
  color: var(--orange-hot);
}

.bold-copy p {
  width: min(340px, 28vw);
  margin: 0 0 12px;
  line-height: 1.65;
  color: rgba(255, 248, 238, .66);
}

.stats {
  margin-top: 86px;
  display: flex;
  justify-content: space-between;
  gap: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 78px);
  color: var(--orange);
  font-weight: 400;
}

.stat span {
  max-width: 150px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 248, 238, .68);
}

.order-section {
  position: relative;
  min-height: 86svh;
  padding: clamp(100px, 12vw, 180px) max(24px, 7vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--orange-hot);
}

.order-copy {
  position: relative;
  z-index: 5;
  width: min(78vw, 1080px);
  margin: 0 auto;
  text-align: center;
  color: white;
}

.order-copy h2 {
  font-size: clamp(86px, 11vw, 188px);
}

.order-copy p {
  max-width: 560px;
  margin: 24px auto 30px;
  font-size: clamp(15px, 1.2vw, 19px);
}

.order-burger {
  position: absolute;
  right: -7vw;
  bottom: -10vw;
  z-index: 1;
  width: min(46vw, 690px);
  height: min(48vw, 720px);
  margin-right: 0;
  opacity: .22;
  transform: rotate(-7deg);
}

.order-bun { width: 70%; transform: translate(-50%, -50%) translateY(-103px); }
.order-topping { width: 84%; transform: translate(-50%, -50%) translateY(-38px); }
.order-patty { width: 82%; transform: translate(-50%, -50%) translateY(34px); }
.order-lower { width: 87%; transform: translate(-50%, -50%) translateY(112px); }

.site-footer {
  padding: 72px max(24px, 7vw) 28px;
  color: #fff8ee;
  background: var(--dark);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-logo {
  display: inline-block;
  font-size: clamp(44px, 5vw, 78px);
  color: var(--orange-hot);
}

.footer-main > p {
  width: 240px;
  margin: 8px auto 0 0;
  color: rgba(255, 248, 238, .6);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: clamp(44px, 6vw, 92px);
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-links strong {
  margin-bottom: 7px;
  color: var(--orange);
}

.footer-links span,
.footer-links a {
  color: rgba(255, 248, 238, .66);
}

.footer-meta {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 248, 238, .4);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 920px) {
  :root {
    --header-height: 58px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 102;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: white;
    transition: transform .3s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 101;
    padding: 54px 24px;
    flex-direction: column;
    gap: 24px;
    background: var(--dark);
    color: white;
    font-family: "Anton", Impact, sans-serif;
    font-size: 44px;
    transform: translate3d(100%, 0, 0);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-nav.is-open {
    transform: translate3d(0, 0, 0);
  }

  .story {
    height: 590svh;
    min-height: 3600px;
  }

  .hero-sticky {
    min-height: 580px;
  }

  .outline-type {
    left: -4vw;
    top: 20vh;
    font-size: clamp(100px, 25vw, 190px);
    line-height: .75;
  }

  .outline-type span:last-child {
    margin-left: 11vw;
  }

  .opening-copy {
    top: 16vh;
    left: 22px;
    width: calc(100% - 44px);
  }

  .opening-copy h1 {
    max-width: 620px;
    font-size: clamp(57px, 12vw, 94px);
  }

  .opening-copy p {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .burger-intro {
    width: min(83vw, 580px);
    height: min(83vw, 580px);
    right: 50%;
    transform: translateX(50%);
    top: 47vh;
  }

  .transition-type {
    left: 3vw;
    font-size: clamp(140px, 35vw, 280px);
  }

  .burger-feature {
    width: min(82vw, 620px);
    height: min(118vw, 800px);
    top: 52%;
  }

  .feature-copy {
    width: min(220px, 42vw);
  }

  .feature-copy-left {
    left: 20px;
    top: 21vh;
  }

  .feature-copy-right {
    right: 20px;
    top: auto;
    bottom: 14vh;
    text-align: right;
  }

  .feature-copy h2 {
    font-size: clamp(35px, 8vw, 58px);
  }

  .feature-copy p {
    display: none;
  }

  .favorite-list {
    flex-direction: column;
    gap: 20px;
  }

  .favorite-card {
    width: 100%;
  }

  .card-burger {
    height: min(68vw, 350px);
  }

  .bold-copy {
    display: block;
  }

  .bold-copy p {
    width: min(520px, 100%);
    margin-top: 28px;
  }

  .stats {
    flex-wrap: wrap;
  }

  .stat {
    width: calc(50% - 18px);
  }

  .order-section {
    min-height: 100svh;
    padding-bottom: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .order-copy {
    width: 100%;
    text-align: center;
  }

  .order-burger {
    position: absolute;
    right: -16vw;
    bottom: -14vw;
    width: min(94vw, 680px);
    height: min(94vw, 680px);
    margin: 0;
    align-self: auto;
    opacity: .16;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-main > p {
    margin: 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 18px;
  }

  .story {
    height: 620svh;
    min-height: 3700px;
  }

  .opening-copy {
    top: 14vh;
  }

  .opening-copy h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .opening-copy p {
    max-width: 290px;
    font-size: 13px;
  }

  .button {
    min-height: 40px;
    padding: 0 18px;
  }

  .burger-intro {
    width: 98vw;
    height: 98vw;
    top: 47vh;
  }

  .burger-feature {
    width: 98vw;
    height: 138vw;
  }

  .feature-copy-left {
    top: 17vh;
  }

  .feature-copy-right {
    bottom: 9vh;
  }

  .feature-copy h2 {
    font-size: clamp(31px, 9.2vw, 45px);
  }

  .section-shell,
  .bold-inner {
    width: min(100% - 36px, 1180px);
  }

  .favorites {
    padding-top: 92px;
  }

  .section-title {
    font-size: clamp(53px, 16vw, 80px);
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .favorite-card {
    padding: 18px 18px 22px;
    border-radius: 22px;
  }

  .favorite-card > p {
    min-height: auto;
  }

  .bold-copy h2,
  .order-copy h2 {
    font-size: clamp(60px, 18vw, 94px);
  }

  .stats {
    margin-top: 54px;
    gap: 28px 16px;
  }

  .stat {
    width: calc(50% - 8px);
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* Mobile optimization pass */
html {
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top));
}

body {
  width: 100%;
  max-width: 100%;
  touch-action: pan-y;
}

.site-header {
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}

/* The top bun asset contains more transparent padding than the other layers.
   These sizes equalize the visible food silhouettes while keeping the bun in front. */
.burger-intro .layer-bun,
.burger-feature .layer-bun {
  width: 108%;
}

.layer-bun,
.card-bun,
.order-bun {
  z-index: 8;
}

.card-bun {
  width: 93%;
  transform: translate(-50%, -50%) translateY(-54px);
}

.order-bun {
  width: 91.2%;
  transform: translate(-50%, -50%) translateY(-116px);
}

@media (max-width: 920px) {
  .mobile-nav {
    inset: calc(var(--header-height) + env(safe-area-inset-top)) 0 0 0;
    min-height: calc(100svh - var(--header-height) - env(safe-area-inset-top));
    padding-bottom: calc(36px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero-sticky {
    height: 100svh;
    min-height: 0;
  }

  .opening-copy {
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 4vh), 86px);
  }

  .burger-intro {
    width: min(94vw, 610px);
    height: min(94vw, 610px);
    top: clamp(390px, 61svh, 560px);
  }

  .burger-feature {
    width: min(88vw, 650px);
    height: min(122vw, 840px);
  }

  .feature-copy p {
    display: block;
    max-width: 190px;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .favorite-card {
    overflow: hidden;
  }

  .card-burger {
    min-height: 250px;
  }

  .order-burger {
    min-height: 460px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 58px;
  }

  .site-header {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .logo {
    font-size: 18px;
  }

  .story {
    height: 620svh;
    min-height: 0;
  }

  .hero-sticky {
    height: 100svh;
    min-height: 0;
  }

  .opening-copy {
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 3.5vh), 80px);
    left: max(18px, env(safe-area-inset-left));
    width: calc(100% - max(36px, env(safe-area-inset-left) + env(safe-area-inset-right)));
  }

  .opening-copy h1 {
    max-width: 100%;
    font-size: clamp(48px, 14.8vw, 72px);
    line-height: .9;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .opening-copy p {
    max-width: min(78vw, 310px);
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.42;
  }

  .hero-actions {
    max-width: 100%;
    gap: 9px;
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .burger-intro {
    width: min(104vw, 470px);
    height: min(104vw, 470px);
    top: clamp(350px, 61svh, 535px);
  }

  .burger-feature {
    width: min(103vw, 500px);
    height: min(142vw, 690px);
    top: 52%;
  }

  .feature-copy {
    width: min(172px, 44vw);
  }

  .feature-copy-left {
    left: max(16px, env(safe-area-inset-left));
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 6vh), 104px);
  }

  .feature-copy-right {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(calc(7vh + env(safe-area-inset-bottom)), 54px);
  }

  .feature-copy h2 {
    font-size: clamp(29px, 8.6vw, 42px);
    line-height: .91;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .feature-copy p {
    max-width: 158px;
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .scroll-hint {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .section-shell,
  .bold-inner {
    width: calc(100% - 32px);
  }

  .section-title,
  .bold-copy h2,
  .order-copy h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .favorite-list {
    gap: 16px;
  }

  .favorite-card {
    padding: 16px 16px 22px;
  }

  .card-burger {
    height: clamp(245px, 72vw, 330px);
    min-height: 0;
  }

  .card-bun {
    width: 96%;
    transform: translate(-50%, -50%) translateY(-51px);
  }

  .card-topping {
    width: 85%;
    transform: translate(-50%, -50%) translateY(-16px);
  }

  .card-patty {
    width: 83%;
    transform: translate(-50%, -50%) translateY(22px);
  }

  .card-lower {
    width: 87%;
    transform: translate(-50%, -50%) translateY(61px);
  }

  .favorite-card h3 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .card-bottom a,
  .menu-toggle,
  .button {
    min-height: 44px;
  }

  .bold-section {
    min-height: auto;
    padding: 90px 0;
  }

  .bold-copy p {
    font-size: 14px;
  }

  .stat strong {
    font-size: clamp(42px, 13vw, 62px);
  }

  .stat span {
    max-width: 135px;
    font-size: 12px;
  }

  .order-section {
    min-height: 100svh;
    padding: 88px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .order-copy p {
    max-width: 330px;
    margin: 18px auto 24px;
  }

  .order-burger {
    right: -24vw;
    bottom: -15vw;
    width: min(106vw, 500px);
    height: min(106vw, 500px);
    min-height: 0;
    margin: 0;
    opacity: .14;
  }

  .order-bun {
    width: 94%;
    transform: translate(-50%, -50%) translateY(-89px);
  }

  .order-topping {
    width: 87%;
    transform: translate(-50%, -50%) translateY(-30px);
  }

  .order-patty {
    width: 85%;
    transform: translate(-50%, -50%) translateY(34px);
  }

  .order-lower {
    width: 90%;
    transform: translate(-50%, -50%) translateY(101px);
  }

  .site-footer {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    padding-left: max(18px, env(safe-area-inset-left));
  }
}

@media (max-width: 370px) {
  .opening-copy h1 {
    font-size: 46px;
  }

  .opening-copy p {
    max-width: 270px;
  }

  .hero-actions {
    width: min(100%, 285px);
  }

  .hero-actions .button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 12px;
    font-size: 11px;
  }

  .burger-intro {
    width: 108vw;
    height: 108vw;
    top: clamp(338px, 62svh, 430px);
  }

  .feature-copy {
    width: 44vw;
  }

  .feature-copy h2 {
    font-size: 28px;
  }

  .feature-copy p {
    font-size: 10px;
  }

  .section-title {
    font-size: 50px;
  }

  .stats {
    display: block;
  }

  .stat {
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 920px) and (max-height: 680px) {
  .opening-copy {
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 18px), 76px);
  }

  .opening-copy h1 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .opening-copy p {
    margin-top: 8px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .burger-intro {
    width: min(88vw, 430px);
    height: min(88vw, 430px);
    top: 66svh;
  }

  .burger-feature {
    width: min(86vw, 470px);
    height: min(125vw, 620px);
  }

  .feature-copy-left {
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 16px), 82px);
  }

  .feature-copy-right {
    bottom: max(calc(5vh + env(safe-area-inset-bottom)), 34px);
  }

  .feature-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .feature-copy p {
    display: none;
  }
}

@media (orientation: landscape) and (max-width: 920px) {
  .opening-copy {
    top: max(calc(var(--header-height) + env(safe-area-inset-top) + 18px), 76px);
    width: min(47vw, 430px);
  }

  .opening-copy h1 {
    font-size: clamp(42px, 7.7vw, 66px);
  }

  .opening-copy p {
    max-width: 300px;
    margin-top: 8px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .burger-intro {
    width: min(54vw, 460px);
    height: min(54vw, 460px);
    right: 2vw;
    top: 50%;
    transform: none;
  }

  .burger-feature {
    width: min(52vw, 500px);
    height: min(75vw, 620px);
  }

  .feature-copy-left {
    top: 27%;
  }

  .feature-copy-right {
    bottom: 12%;
  }
}


/* Requested precision correction: hide only the visual scroll hint. */
.scroll-hint {
  display: none !important;
}

/* Animation rendering refinement */
.burger,
.food-layer,
.opening-copy,
.outline-type,
.transition-type,
.feature-copy {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.food-layer {
  transform-style: preserve-3d;
}

/* Reference-video timing pass */
.story {
  height: 520svh;
  min-height: 3300px;
}

@media (max-width: 920px) {
  .story {
    height: 550svh;
    min-height: 3400px;
  }
}

@media (max-width: 600px) {
  .story {
    height: 575svh;
    min-height: 0;
  }
}

@media (orientation: landscape) and (max-width: 920px) {
  .order-copy {
    width: min(72vw, 880px);
  }

  .order-burger {
    right: -10vw;
    bottom: -18vw;
    width: min(58vw, 520px);
    height: min(58vw, 520px);
    opacity: .14;
  }
}


/* Definitive mobile favorites visibility fix */
@media (max-width: 920px) {
  .favorites .reveal,
  .favorites .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .favorites .favorite-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 18px !important;
  }

  .favorites .favorite-card {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .favorites .card-burger {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: clamp(245px, 72vw, 350px) !important;
    min-height: 245px !important;
    margin: 0 0 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
  }

  .favorites .card-layer {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .favorites .favorite-card h3 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .favorites .favorite-card > p {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .favorites .card-bottom {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 600px) {
  .favorites .favorite-card {
    padding: 16px 16px 22px !important;
  }

  .favorites .card-burger {
    height: clamp(250px, 74vw, 330px) !important;
    min-height: 250px !important;
  }
}
