/* LOOP Food — multi-cuisine world + explicit motion control.
   The section borrows the grammar of a chromatic editorial stage while every
   asset, sentence and interaction remains specific to LOOP Food. */

:root {
  --food-cream: #fff6df;
  --food-ink: #11100d;
  --food-yellow: #f2c94c;
  --food-ease: cubic-bezier(.22, .8, .2, 1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .55rem;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: 0 .8rem;
  border: 1.5px solid var(--food-ink);
  border-radius: 999px;
  color: var(--food-ink);
  background: transparent;
  font: inherit;
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.motion-toggle i {
  position: relative;
  display: block;
  width: 1.35rem;
  height: .72rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.motion-toggle i::after {
  position: absolute;
  top: 50%;
  left: .15rem;
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
  transition: transform 220ms var(--food-ease);
}

.motion-toggle[aria-pressed="true"] i::after {
  transform: translate(.55rem, -50%);
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  color: var(--food-cream);
  background: var(--food-ink);
}

/* The hero establishes breadth immediately instead of presenting LOOP as a
   pizza-only business. The existing three operational controls change food. */
.hero__food-switcher {
  position: absolute;
  z-index: 2;
  inset: 0;
  isolation: isolate;
  pointer-events: none;
}

.hero__food-switcher .hero__food-item {
  --served-food-width: 26%;
  position: absolute;
  bottom: 41.25%;
  left: 50%;
  width: var(--served-food-width);
  height: auto;
  max-height: 24%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, .65rem, 0) rotate(-2deg) scale(.88);
  transition: opacity 280ms ease, transform 720ms var(--food-ease), visibility 0s linear 720ms;
  pointer-events: none;
}

.hero__food-switcher .hero__food-item--sushi {
  --served-food-width: 31%;
}

.hero__food-switcher .hero__food-item--main {
  --served-food-width: 35%;
}

.hero[data-hero-state="0"] .hero__food-item[data-hero-food="0"],
.hero[data-hero-state="1"] .hero__food-item[data-hero-food="1"],
.hero[data-hero-state="2"] .hero__food-item[data-hero-food="2"],
.hero:not([data-hero-state]) .hero__food-item.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  filter: drop-shadow(.35rem .55rem .35rem rgba(17, 16, 13, .2));
  transform: translate3d(-50%, 0, 0) rotate(-1deg) scale(1);
  transition-delay: 0ms, 0ms, 0ms;
  will-change: transform, opacity;
}

.hero[data-hero-state="1"] .hero__food-item[data-hero-food="1"] {
  transform: translate3d(-50%, -.08rem, 0) rotate(1deg) scale(1.03);
}

.hero[data-hero-state="2"] .hero__food-item[data-hero-food="2"] {
  transform: translate3d(-50%, .1rem, 0) rotate(-1deg) scale(.97);
}

.food-universe {
  --food-world: #ba3f22;
  --food-world-ink: var(--food-cream);
  --food-world-accent: #ffd84b;
  position: relative;
  height: 420svh;
  color: var(--food-world-ink);
  background: var(--food-world);
  isolation: isolate;
}

.food-universe[data-food-stage="1"] {
  --food-world: #2458b8;
  --food-world-accent: #ffcc4d;
}

.food-universe[data-food-stage="2"] {
  --food-world: #771f2c;
  --food-world-ink: #fff6df;
  --food-world-accent: #ffd34a;
}

.food-universe[data-food-stage="3"] {
  --food-world: #1e755f;
  --food-world-accent: #ffd34a;
}

.food-universe__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
  color: var(--food-world-ink);
  background: var(--food-world);
  transition: color 520ms ease, background-color 680ms var(--food-ease);
}

.food-universe__sticky::before {
  position: absolute;
  top: 10%;
  right: 21%;
  width: min(40vw, 43rem);
  aspect-ratio: 1;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: .34;
  content: "";
  transform: rotate(calc(var(--food-progress, 0) * 180deg));
}

.food-universe__sticky::after {
  position: absolute;
  right: -2vw;
  bottom: 2vh;
  color: currentColor;
  content: "LOOP\AFOOD";
  font-size: clamp(7rem, 15vw, 17rem);
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.09em;
  white-space: pre;
  opacity: .055;
  pointer-events: none;
}

.food-universe__topline {
  position: absolute;
  z-index: 8;
  top: calc(var(--v4-header, 4.75rem) + 1.25rem);
  right: var(--v4-gutter, 3vw);
  left: var(--v4-gutter, 3vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .8rem;
  border-bottom: 1.5px solid currentColor;
}

.food-universe__topline .section-kicker,
.food-universe__topline > span {
  margin: 0;
  color: inherit;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.food-universe__masthead {
  position: absolute;
  z-index: 4;
  top: 17%;
  left: var(--v4-gutter, 3vw);
  width: min(44vw, 47rem);
}

.food-universe__masthead h2 {
  max-width: 10ch;
  margin: 0;
  color: inherit;
  font-size: clamp(3.8rem, 5.9vw, 7.7rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.07em;
}

.food-universe__masthead h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.6px var(--food-world-ink);
}

.food-universe__copy {
  position: absolute;
  z-index: 9;
  bottom: 12.5%;
  left: var(--v4-gutter, 3vw);
  width: min(39vw, 42rem);
  min-height: 18rem;
}

.food-story {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 2rem, 0);
  transition: opacity 280ms ease, transform 640ms var(--food-ease), visibility 0s linear 640ms;
}

.food-story.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 80ms, 0ms, 0ms;
}

.food-story > p {
  margin: 0 0 .7rem;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.food-story h3 {
  max-width: 13ch;
  margin: 0;
  color: inherit;
  font-size: clamp(2.75rem, 4vw, 5.15rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.065em;
}

.food-story h3 em {
  color: var(--food-world-accent);
  font-style: normal;
}

.food-story > span {
  display: block;
  max-width: 38rem;
  margin-top: 1rem;
  font-size: clamp(.9rem, 1.08vw, 1.12rem);
  font-weight: 520;
  line-height: 1.42;
}

.food-universe__plate {
  position: absolute;
  z-index: 7;
  top: 17%;
  left: 48%;
  width: min(35vw, 40rem);
  height: 61%;
  margin: 0;
  transform: translate3d(0, calc(var(--food-local, 0) * -1rem), 0);
}

.food-universe__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 36rem);
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: .82;
  transform: translate(-50%, -50%) rotate(calc(var(--food-progress, 0) * 260deg));
}

.food-universe__orbit::before,
.food-universe__orbit::after {
  position: absolute;
  top: 50%;
  width: .72rem;
  height: .72rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--food-world);
  content: "";
  transform: translateY(-50%);
}

.food-universe__orbit::before { left: -.42rem; }
.food-universe__orbit::after { right: -.42rem; }

.food-object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  filter: none;
  transform: translate3d(0, 2.4rem, 0) rotate(-10deg) scale(.62);
  transition: opacity 260ms ease, transform 760ms var(--food-ease), visibility 0s linear 760ms;
  will-change: auto;
}

.food-object.is-active {
  opacity: 1;
  visibility: visible;
  filter: drop-shadow(1rem 1.35rem 0 rgba(17, 16, 13, .2));
  transform: translate3d(0, 0, 0) rotate(calc(-4deg + var(--food-local, 0) * 8deg)) scale(1);
  transition-delay: 0ms, 0ms, 0ms;
  will-change: transform, opacity;
}

.food-object--wide.is-active {
  transform: translate3d(0, 0, 0) rotate(calc(-2deg + var(--food-local, 0) * 5deg)) scale(.96);
}

.food-universe__plate figcaption {
  position: absolute;
  right: 2%;
  bottom: 2%;
  max-width: 16rem;
  padding: .68rem .8rem;
  border: 1.5px solid var(--food-ink);
  color: var(--food-ink);
  background: var(--food-cream);
  box-shadow: .3rem .3rem 0 var(--food-ink);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.food-universe__nav {
  position: absolute;
  z-index: 10;
  top: 32%;
  right: var(--v4-gutter, 3vw);
  width: min(12.5vw, 11.5rem);
}

.food-universe__nav ol {
  display: grid;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.food-universe__nav button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.25rem;
  padding: .65rem .25rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .68rem;
  font-weight: 760;
  text-align: left;
  text-transform: uppercase;
  opacity: 1;
  cursor: pointer;
  transition: opacity 220ms ease, transform 320ms var(--food-ease);
}

.food-universe__nav button span {
  min-width: 2.15rem;
  font-variant-numeric: tabular-nums;
}

.food-universe__nav button[aria-selected="true"] {
  opacity: 1;
  transform: translateX(-.45rem);
}

.food-universe__progress {
  width: 100%;
  height: 2px;
  margin-top: .8rem;
  overflow: hidden;
  background: rgba(255, 246, 223, .3);
}

.food-universe__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  transform: scaleX(var(--food-progress, 0));
  transform-origin: left;
}

.food-universe__signal {
  position: absolute;
  z-index: 11;
  right: var(--v4-gutter, 3vw);
  bottom: 2.3rem;
  left: var(--v4-gutter, 3vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding-top: .9rem;
  border-top: 1.5px solid currentColor;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.food-universe__signal i {
  font-style: normal;
  opacity: .5;
}

/* Explicit reduced mode. The project opens in full motion for the requested
   cinematic preview, but the header control can collapse every pinned scene. */
html[data-motion="reduced"] {
  scroll-behavior: auto;
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: .01ms !important;
  transition-delay: 0ms !important;
}

html[data-motion="reduced"] .ix-cursor {
  display: none !important;
}

html[data-motion="reduced"] .method-section,
html[data-motion="reduced"] .journey-section,
html[data-motion="reduced"] .food-universe {
  height: auto !important;
  min-height: 0 !important;
}

html[data-motion="reduced"] .method-stage {
  position: relative !important;
  top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr) !important;
  grid-template-rows: auto 1fr !important;
  gap: 1.5rem clamp(2rem, 5vw, 6rem) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: calc(var(--v4-header) + 2rem) var(--v4-gutter) 4rem !important;
  overflow: visible !important;
}

html[data-motion="reduced"] .method-copy {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

html[data-motion="reduced"] .method-beat,
html[data-motion="reduced"] .method-beat.is-active {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  min-height: 0 !important;
  padding: 2rem 0 !important;
  border-bottom: 1px solid currentColor;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html[data-motion="reduced"] .pizza-stage {
  position: sticky !important;
  top: calc(var(--v4-header) + 1.5rem) !important;
  left: auto !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  width: min(29rem, 100%) !important;
  transform: none !important;
}

html[data-motion="reduced"] .method-nav {
  display: none !important;
}

html[data-motion="reduced"] .journey-stage-v4 {
  position: relative !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: calc(var(--world-header-h) + 1rem) var(--world-gutter) 4rem !important;
  overflow: visible !important;
}

html[data-motion="reduced"] .journey-theatre {
  display: grid !important;
  grid-template-columns: minmax(9rem, .4fr) minmax(0, 1fr) !important;
  gap: 2rem !important;
  align-items: start !important;
  padding-top: 3rem !important;
}

html[data-motion="reduced"] .journey-ticket {
  position: sticky !important;
  top: calc(var(--world-header-h) + 1rem) !important;
  left: auto !important;
  width: min(100%, 13rem) !important;
  min-height: 15rem !important;
  transform: none !important;
}

html[data-motion="reduced"] .journey-rail {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  border-top: 0 !important;
  border-left: 2px solid rgba(21, 19, 15, .58) !important;
}

html[data-motion="reduced"] .journey-rail li,
html[data-motion="reduced"] .journey-rail li.is-active,
html[data-motion="reduced"] .journey-rail li.is-current {
  min-height: 5rem !important;
  padding: .5rem .5rem 1rem 1.5rem !important;
  border-right: 0 !important;
  color: inherit !important;
  background: transparent !important;
  opacity: 1 !important;
}

html[data-motion="reduced"] .journey-rail p {
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

html[data-motion="reduced"] .journey-stop {
  top: .55rem !important;
  left: -.9rem !important;
}

html[data-motion="reduced"] .journey-section .scene-footnote {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin-top: 2rem !important;
}

html[data-motion="reduced"] .food-universe__sticky {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  height: auto;
  min-height: 0;
  padding: calc(var(--v4-header) + 2rem) var(--v4-gutter) 4rem;
  overflow: visible;
}

html[data-motion="reduced"] .food-universe__topline,
html[data-motion="reduced"] .food-universe__masthead,
html[data-motion="reduced"] .food-universe__copy,
html[data-motion="reduced"] .food-universe__plate,
html[data-motion="reduced"] .food-universe__signal {
  position: relative;
  inset: auto;
  width: auto;
}

html[data-motion="reduced"] .food-universe__topline,
html[data-motion="reduced"] .food-universe__masthead,
html[data-motion="reduced"] .food-universe__signal {
  grid-column: 1 / -1;
}

html[data-motion="reduced"] .food-universe__copy {
  min-height: 0;
}

html[data-motion="reduced"] .food-story,
html[data-motion="reduced"] .food-story.is-active {
  position: relative;
  display: block;
  min-height: 17rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid currentColor;
  opacity: 1;
  visibility: visible;
  transform: none;
}

html[data-motion="reduced"] .food-universe__plate {
  align-self: start;
  height: 30rem;
}

html[data-motion="reduced"] .food-universe__nav {
  display: none;
}

[data-robot][data-robot-running="false"] .robot-rig,
[data-robot][data-robot-running="false"] .robot-eyes i {
  animation-play-state: paused !important;
}

[data-robot]:focus-visible {
  outline: 0;
  outline-offset: 0;
  box-shadow: inset 0 0 0 3px var(--food-ink);
}

@media (max-width: 68rem) {
  .motion-toggle > span {
    display: none;
  }

  .motion-toggle {
    width: 2.75rem;
    padding: 0;
  }

  .food-universe__masthead {
    width: 46vw;
  }

  .food-universe__plate {
    left: 45%;
    width: 39vw;
  }

  .food-universe__nav {
    width: 9.5rem;
  }
}

@media (max-width: 53.75rem) {
  .header-actions {
    gap: .35rem;
  }

  .motion-toggle {
    width: 2.75rem;
    min-height: 2.75rem;
  }

  .header-actions .header-cta {
    min-height: 2.75rem;
    padding-inline: .72rem;
    font-size: .75rem;
  }

  .food-universe {
    height: 360svh;
  }

  .food-universe__sticky {
    min-height: 46rem;
  }

  .food-universe__topline {
    top: calc(var(--v4-header) + .75rem);
  }

  .food-universe__topline > span {
    display: none;
  }

  .food-universe__masthead {
    top: 15%;
    width: 80%;
  }

  .food-universe__masthead h2 {
    max-width: 8ch;
    font-size: clamp(3.2rem, 14vw, 5.5rem);
  }

  .food-universe__plate {
    top: 32%;
    left: 17%;
    width: 66%;
    height: 38%;
  }

  .food-universe__orbit {
    width: min(68vw, 25rem);
  }

  .food-universe__plate figcaption {
    right: -10%;
    bottom: 0;
    max-width: 12rem;
    font-size: .7rem;
  }

  .food-universe__copy {
    right: var(--v4-gutter);
    bottom: 8.5%;
    left: var(--v4-gutter);
    width: auto;
    min-height: 10.5rem;
  }

  .food-story h3 {
    font-size: clamp(2.45rem, 10vw, 3.9rem);
  }

  .food-story > span {
    max-width: 33rem;
    font-size: 1rem;
  }

  .hero__lede,
  .method-beat > p:not(.method-beat__index),
  .journey-heading > p,
  .channels-heading > p,
  .operations-heading > p,
  .channel__body p,
  .system-node p,
  .diagnostic-copy > p {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .food-universe__nav {
    top: 28%;
    right: .6rem;
    width: 4.25rem;
  }

  .food-universe__nav button {
    justify-content: center;
    min-height: 3rem;
    padding: .45rem;
    font-size: 0;
  }

  .food-universe__nav button span {
    min-width: 0;
    font-size: .7rem;
  }

  .food-universe__signal {
    bottom: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .4rem .65rem;
    font-size: .7rem;
    letter-spacing: .05em;
  }

  html[data-motion="reduced"] .method-stage,
  html[data-motion="reduced"] .food-universe__sticky {
    grid-template-columns: 1fr !important;
  }

  html[data-motion="reduced"] .pizza-stage {
    position: relative !important;
    top: auto !important;
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html[data-motion="reduced"] .food-universe__plate {
    height: 22rem;
  }
}

/* Short viewports are editorial spreads, never clipped 100svh pins. */
@media (max-height: 42rem) {
  .method-section,
  .food-universe,
  .journey-section {
    height: auto !important;
  }

  .journey-section {
    min-height: 0 !important;
  }

  .method-stage,
  .food-universe__sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
  }
}

@media (max-height: 42rem) and (max-width: 53.75rem) {
  .hero.comp-frame {
    height: auto;
    min-height: 46rem;
  }
}

@media (max-height: 42rem) {
  .journey-stage-v4 {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .food-universe__sticky {
    overflow: hidden;
  }

  .method-stage,
  .motion-ready .method-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 1rem !important;
    padding: calc(var(--v4-header) + 1.25rem) var(--v4-gutter) 3rem !important;
    overflow: visible !important;
  }

  .method-topline {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .method-copy,
  .motion-ready .method-copy {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }

  .method-beat,
  .motion-ready .method-beat,
  .method-beat.is-active,
  .motion-ready .method-beat.is-active {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .65rem !important;
    min-height: 0 !important;
    padding: 1.6rem 0 !important;
    border-bottom: 1px solid rgba(17, 16, 13, .35) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .method-beat h3,
  .method-beat > p,
  .method-beat__index,
  .method-beat__note {
    grid-column: 1 !important;
    margin-block: 0 !important;
  }

  .method-beat h3 {
    font-size: clamp(2.65rem, 8vw, 4.5rem) !important;
  }

  .pizza-stage,
  .motion-ready .pizza-stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: min(24rem, 78vw) !important;
    margin: 1.5rem auto 0 !important;
    transform: none !important;
  }

  .pizza-stack {
    transform: none !important;
  }

  .method-nav {
    display: none !important;
  }

  .food-universe__sticky {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: calc(var(--v4-header) + 1.25rem) var(--v4-gutter) 3rem !important;
    overflow: visible !important;
  }

  .food-universe__topline,
  .food-universe__masthead,
  .food-universe__copy,
  .food-universe__plate,
  .food-universe__signal {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
  }

  .food-universe__masthead h2 {
    font-size: clamp(3.15rem, 9vw, 5.5rem) !important;
  }

  .food-universe__copy {
    min-height: 0 !important;
  }

  .food-story,
  .food-story.is-active {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    min-height: 0 !important;
    padding: 1.4rem 0 !important;
    border-bottom: 1px solid currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .food-story h3 {
    font-size: clamp(2.35rem, 7vw, 4rem) !important;
  }

  .food-universe__plate {
    height: min(22rem, 62vh) !important;
    min-height: 15rem !important;
    align-self: start !important;
    transform: none !important;
  }

  .food-universe__nav {
    display: none !important;
  }

  .food-universe__signal {
    display: flex !important;
    flex-wrap: wrap !important;
  }
}

@media (max-height: 42rem) and (min-width: 44rem) {
  .method-stage,
  .motion-ready .method-stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr) !important;
    grid-template-rows: auto 1fr !important;
    gap: 1.25rem clamp(2rem, 5vw, 5rem) !important;
  }

  .method-topline {
    grid-column: 1 / -1 !important;
  }

  .method-copy,
  .motion-ready .method-copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .method-beat,
  .motion-ready .method-beat,
  .method-beat.is-active,
  .motion-ready .method-beat.is-active {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .65rem !important;
  }

  .method-beat__index {
    grid-column: 1 / -1 !important;
  }

  .method-beat h3 {
    grid-column: 1 !important;
  }

  .method-beat > p:not(.method-beat__index),
  .method-beat__note {
    grid-column: 1 !important;
    align-self: auto !important;
  }

  .pizza-stage,
  .motion-ready .pizza-stage {
    position: sticky !important;
    top: calc(var(--v4-header) + 1.25rem) !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: min(27rem, 100%) !important;
  }

  .food-universe__sticky {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr) !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 1.25rem clamp(2rem, 5vw, 5rem) !important;
  }

  .food-universe__topline,
  .food-universe__masthead,
  .food-universe__signal {
    grid-column: 1 / -1 !important;
  }

  .food-universe__copy {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  .food-universe__plate {
    position: sticky !important;
    top: calc(var(--v4-header) + 1.25rem) !important;
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
}

@media (max-width: 30rem) {
  .header-actions .header-cta span {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .food-universe__masthead h2 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .food-universe__plate {
    top: 31%;
    left: 12%;
    width: 74%;
  }

  .food-story h3 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .food-story > span {
    font-size: .84rem;
    line-height: 1.35;
  }
}

@media (max-width: 43.75rem) and (max-height: 42rem) {
  .hero.comp-frame {
    height: 40rem;
    min-height: 40rem;
  }
}

/* Short phones expose the journey as reading content instead of a faux pin. */
@media (max-height: 42rem) and (max-width: 48.9375rem) {
  .chapter-v4-ready .journey-theatre {
    display: grid !important;
    grid-template-columns: minmax(7rem, .72fr) minmax(0, 1.28fr) !important;
    gap: 1.25rem !important;
    align-items: start !important;
    padding-top: 2rem !important;
  }

  .chapter-v4-ready .journey-ticket {
    position: sticky !important;
    top: calc(var(--world-header-h) + 1rem) !important;
    left: auto !important;
    align-self: start !important;
    width: min(100%, 9.5rem) !important;
    min-height: 12rem !important;
    transform: rotate(-3deg) !important;
  }

  .chapter-v4-ready .journey-rail {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    border-top: 0 !important;
    border-left: 2px solid rgba(21, 19, 15, .58) !important;
  }

  .chapter-v4-ready .journey-rail li,
  .chapter-v4-ready .journey-rail li.is-active,
  .chapter-v4-ready .journey-rail li.is-current {
    min-height: 5rem !important;
    padding: .5rem .5rem 1rem 1.5rem !important;
    color: var(--world-ink) !important;
    background: transparent !important;
    opacity: 1 !important;
  }

  .chapter-v4-ready .journey-rail p,
  .chapter-v4-ready .journey-rail li.is-current p {
    max-height: none !important;
    margin-top: .35rem !important;
    overflow: visible !important;
    color: inherit !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .chapter-v4-ready .journey-stop {
    top: .55rem !important;
    left: -.9rem !important;
  }
}

/* This width band is mobile in JS/CSS but wide enough to need two columns. */
@media (min-width: 43.8125rem) and (max-width: 53.75rem) and (max-height: 42rem) {
  .hero.comp-frame {
    height: max(100svh, 34rem);
    min-height: 34rem;
  }

  .hero__copy.r-hero-copy {
    top: calc(var(--v4-header) + 1rem);
    right: auto;
    left: var(--v4-gutter);
    width: 44%;
  }

  .hero .eyebrow {
    margin-bottom: .5rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: .86;
  }

  .hero__lede {
    max-width: 34ch;
    margin-top: .45rem;
    font-size: .82rem !important;
  }

  .hero__tickets,
  .hero__pizza.r-hero-pizza,
  .hero__state {
    display: none;
  }

  .hero__actions.r-hero-actions {
    top: 20.5rem;
    right: auto;
    bottom: auto;
    left: var(--v4-gutter);
    width: auto;
  }

  .hero__robot.r-robot-reference-zone,
  .hero[data-hero-state="1"] .hero__robot.r-robot-reference-zone,
  .hero[data-hero-state="2"] .hero__robot.r-robot-reference-zone {
    top: 15%;
    left: 49%;
    width: 33%;
    height: 82%;
  }
}

/* Impeccable final gate: readable microtype and compact, non-crushed display type. */
.hero__signal-card > span,
.hero__signal-card > small,
.ticket__time,
.hero__state-count,
.hero__state ol,
.method-beat__note,
.pizza-stage__caption,
.method-nav a span,
.food-film__copy > span,
.food-film__toggle,
.food-universe__topline .section-kicker,
.food-universe__topline > span,
.food-story > p,
.food-universe__plate figcaption,
.food-universe__nav button,
.food-universe__signal,
.journey-stop,
.diagnostic-output__ledger li > span,
.chapter-v4-ready .control-deck__intro > p:first-child,
.chapter-v4-ready .control-deck__pulse,
.chapter-v4-ready .control-deck__ledger li > span,
.chapter-v4-ready .control-deck__ledger small,
.chapter-v4-ready .control-deck__condition {
  font-size: .75rem;
}

.ix-cursor__label {
  font-size: .62rem;
}

/* Progressive disclosure: navigation remains usable if the controller fails. */
@media (max-width: 53.75rem) {
  html:not(.js) .primary-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: .25rem 1rem;
    padding-block: .45rem;
  }

  html:not(.js) .primary-nav a {
    min-height: 2.75rem;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }
}

.hero .eyebrow,
.method-beat__index {
  font-size: clamp(.7rem, .76vw, .82rem);
}

.hero__signal-card > strong,
.hero h1,
.method-beat h3,
.food-universe__masthead h2,
.food-story h3,
.scene-intro h2,
.journey-heading h2,
.channels-heading h2,
.operations-heading h2,
.chapter-v4-ready .channel h3,
.food-film__copy h2,
.return-section h2,
.diagnostic-copy h2,
.diagnostic-output__heading h2 {
  letter-spacing: -.045em;
}

.scene-footnote {
  font-size: .75rem;
}

/* Direct manipulation: the robot and its plated food are the hero selector. */
.hero__state.hero__state--direct {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.hero__state--direct .hero__state-count {
  margin: 0;
}

.hero__state-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}

.hero__state-copy strong,
.hero__state-copy span {
  font-size: .75rem;
}

.hero__state-copy strong {
  color: var(--v4-ink, #11100d);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__state-copy span {
  color: rgba(17, 16, 13, .68);
  line-height: 1.25;
  text-align: right;
}

@media (max-width: 44rem),
  (min-width: 43.8125rem) and (max-width: 53.75rem) and (max-height: 42rem) {
  .hero__state.hero__state--direct {
    display: none;
  }
}

@media (max-width: 43.75rem) {
  .section-kicker,
  .hero .text-link,
  .method-nav a span,
  .pizza-stage__caption,
  .diagnostic-output__ledger li > span {
    font-size: .7rem;
  }
}

/* Keep the compact cuisine navigator numeric after the global microtype gate. */
@media (max-width: 53.75rem) {
  .food-universe__nav button {
    overflow: hidden;
    font-size: 0;
  }

  .food-universe__nav button span {
    min-width: 0;
    font-size: .7rem;
  }
}

@media (max-width: 23rem) {
  html[data-motion="reduced"] .journey-theatre,
  html[data-motion="reduced"] .chapter-v4-ready .journey-theatre {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }

  html[data-motion="reduced"] .journey-ticket,
  html[data-motion="reduced"] .chapter-v4-ready .journey-ticket {
    position: relative !important;
    top: auto !important;
    width: min(12rem, 100%) !important;
  }
}

/* Small-screen interaction affordance and extreme zoom reflow guard. */
.hero__touch-hint {
  display: none;
}

@media (max-width: 44rem) {
  .hero__touch-hint {
    position: absolute;
    z-index: 20;
    bottom: .55rem;
    left: 50%;
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: .25rem .55rem;
    border: 1px solid rgba(17, 16, 13, .78);
    border-radius: 999px;
    color: var(--food-cream, #fff6df);
    background: rgba(17, 16, 13, .86);
    box-shadow: 2px 2px 0 rgba(17, 16, 13, .28);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .045em;
    pointer-events: none;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

.diagnostic-brief,
.diagnostic-brief summary,
.diagnostic-brief > div,
.diagnostic-copy {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 20rem) {
  .header-actions .header-cta {
    display: none;
  }

  .diagnostic-brief {
    width: 100%;
  }

  .diagnostic-brief summary {
    gap: .5rem;
    min-height: 3.15rem;
    padding: .72rem .8rem;
    font-size: .82rem;
    overflow-wrap: anywhere;
  }

  .diagnostic-brief > div {
    padding: 1rem;
  }
}
