:root {
  --feature-surface: #f6aa38;
  --feature-ink: #2b1b10;
  --feature-paper: #fff6de;
  --feature-ease: cubic-bezier(.19, 1, .3, 1);
}
:root[data-feature-theme="loaded"] { --feature-surface: #b6d45b; }
:root[data-feature-theme="berry"] { --feature-surface: #f39681; }

.feature-shell {
  width: min(calc(100% - 2 * var(--gutter)), 1440px);
  margin-inline: auto;
}
.masthead {
  position: relative;
  z-index: 4;
  isolation: isolate;
  color: var(--feature-ink);
  background-color: var(--feature-surface);
  transition: transform 220ms var(--feature-ease);
}
.enhanced .masthead { position: sticky; top: 0; }
.masthead.is-scrolled {
  background-color: var(--pale);
  box-shadow: 0 1px 0 rgb(52 33 17 / 14%);
}
.masthead.is-hidden { transform: translateY(-100%); pointer-events: none; }
.masthead:has(:focus-visible) { transition-duration: 0s; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(16px, 2vw, 36px);
  min-height: var(--masthead-height);
  border-bottom: 1px solid rgb(56 33 11 / 22%);
}
.masthead.is-scrolled .header-inner { border-color: transparent; }
.masthead.is-scrolled .feature-wash { visibility: hidden; }
.masthead .brand { justify-self: start; min-height: 44px; }
.masthead .brand img { width: clamp(136px, 13vw, 194px); filter: none; }
.desk-nav, .header-actions, .header-order, .nav-toggle {
  display: flex;
  align-items: center;
}
.desk-nav { gap: clamp(18px, 2.5vw, 42px); }
.desk-nav a, .mobile-nav a, .header-order {
  font-weight: 750;
  font-size: .9rem;
}
.desk-nav a {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 44px;
}
.desk-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--feature-ease);
}
.desk-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.header-actions { justify-self: end; gap: 7px; }
.header-order {
  gap: 8px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid rgb(44 27 16 / 62%);
  border-radius: 99px;
  white-space: nowrap;
}
.header-order:hover, .nav-toggle:hover {
  background: var(--feature-ink);
  color: var(--feature-paper);
}
.enhanced .masthead .nav-toggle { display: none !important; }
.nav-toggle {
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(44 27 16 / 55%);
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.mobile-nav {
  position: absolute;
  inset: 100% 0 auto;
  padding: 7px var(--gutter) 14px;
  background: var(--pale);
  box-shadow: 0 10px 16px -13px rgb(46 27 13 / 34%);
}
.mobile-nav a { display: block; padding: 13px 4px; border-top: 1px solid #dfd1bb; }
.mobile-nav a:first-child { border-top: 0; }
.feature :focus-visible, .masthead :focus-visible { outline-color: #492a19; }

.feature {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--feature-ink);
  background-color: var(--feature-surface);
}
.feature::before, .feature-wash, .feature-wash > span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feature::before {
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse at 50% 46%, rgb(255 246 196 / 43%), transparent 66%);
}
.feature-wash {
  z-index: -2;
  overflow: clip;
}
.feature-wash > span {
  background: var(--feature-surface);
}
.feature-inner {
  --bottom-pad: clamp(26px, 3.2vw, 50px);
  position: relative;
}
.feature-slides { display: grid; }
.feature-slide {
  grid-area: 1 / 1;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  visibility: hidden;
  pointer-events: none;
}
.feature-slide.is-current { visibility: visible; pointer-events: auto; z-index: 1; }
.feature-slide.is-leaving { visibility: visible; }
.feature-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: clamp(365px, min(39vw, 58svh), 580px);
  container-type: inline-size;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.feature-word {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  color: var(--feature-paper);
  font: 900 40cqw/.84 var(--display);
  letter-spacing: -.035em;
  transform: skewX(-6deg);
  pointer-events: none;
}
[data-flavour="loaded"] .feature-word { font-size: 35cqw; }
[data-flavour="berry"] .feature-word { font-size: 39cqw; }
.feature-word .letter-mask { display: block; overflow: clip; padding-inline: .035em; margin-inline: -.035em; }
.feature-word .letter { display: block; }
.feature-shadow {
  position: absolute;
  left: 36%;
  right: 36%;
  top: 88%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(65 33 13 / 28%), transparent 69%);
  pointer-events: none;
}
.feature-dish {
  --rest-angle: -3deg;
  position: absolute;
  z-index: 2;
  inset: 5% 0 auto;
  margin-inline: auto;
  width: 48%;
  height: 85%;
  object-fit: contain;
  transform: rotate(var(--rest-angle));
  filter: drop-shadow(0 12px 9px rgb(65 34 10 / 19%));
}
[data-flavour="loaded"] .feature-dish { --rest-angle: 4deg; width: 44%; height: 79%; top: 9%; }
[data-flavour="berry"] .feature-dish { --rest-angle: -7deg; width: 42%; height: 81%; top: 8%; }
.feature-garnishes { position: absolute; inset: 0; pointer-events: none; }
.garnish {
  position: absolute;
  width: var(--size);
  aspect-ratio: 1;
  left: var(--left);
  top: var(--top);
  rotate: var(--angle);
  background: url("ingredients.webp") var(--cell) / 300% 300% no-repeat;
  filter: drop-shadow(0 6px 5px rgb(49 30 10 / 14%));
}
.garnish-1 { --size: 10%; --left: 24%; --top: 8%; --angle: -27deg; --dx: 80%; --dy: 75%; }
.garnish-2 { --size: 5.7%; --left: 65%; --top: 9%; --angle: 17deg; --dx: -70%; --dy: 85%; }
.garnish-3 { --size: 6.7%; --left: 17%; --top: 69%; --angle: -18deg; --dx: 85%; --dy: -65%; }
.garnish-4 { --size: 9%; --left: 73%; --top: 59%; --angle: 38deg; --dx: -80%; --dy: -60%; }
.ingredient-lettuce { --cell: 0% 0%; }
.ingredient-tomato { --cell: 50% 0%; }
.ingredient-pickle { --cell: 100% 0%; }
.ingredient-chicken { --cell: 0% 50%; }
.ingredient-fries { --cell: 50% 50%; }
.ingredient-curd { --cell: 100% 50%; }
.ingredient-berry-half { --cell: 0% 100%; }
.ingredient-berry-whole { --cell: 50% 100%; }
.ingredient-crumb { --cell: 100% 100%; }
[data-flavour="loaded"] .garnish-1 { --angle: -12deg; --top: 10%; }
[data-flavour="loaded"] .garnish-4 { --angle: 72deg; --left: 72%; }
[data-flavour="berry"] .garnish-1 { --top: 14%; --angle: 20deg; --size: 8.7%; }
[data-flavour="berry"] .garnish-3 { --angle: 31deg; --left: 21%; }
[data-flavour="berry"] .garnish-4 { --angle: 85deg; --size: 7%; }

.feature-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: end;
  padding-block: 10px var(--bottom-pad);
}
.feature-info { max-width: 37ch; }
.feature-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.feature-price small { font-size: .72rem; font-weight: 750; letter-spacing: .055em; }
.feature-info h2 {
  margin-block: 5px 6px;
  font: italic 900 clamp(1.9rem, 3.1vw, 3.2rem)/.99 var(--display);
  letter-spacing: -.015em;
}
.feature-description { max-width: 36ch; font-size: clamp(.9rem, 1.2vw, 1rem); line-height: 1.45; }
.feature-order {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-width: 9.25rem;
  min-height: 48px;
  padding: 10px 24px;
  border: 2px solid var(--feature-ink);
  border-radius: 12px;
  background: var(--feature-paper);
  color: var(--feature-ink);
  box-shadow: 0 3px 0 var(--feature-ink);
  font: 800 1.45rem/1 var(--display);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.feature:focus-visible { outline: 3px solid var(--feature-ink); outline-offset: -4px; }
.feature-order:focus-visible { outline: 3px solid var(--feature-ink); outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .feature-order:hover { background: var(--feature-ink); color: var(--feature-paper); }
}
@media (prefers-reduced-motion: no-preference) {
  .feature-order { transition: transform 140ms ease-out, box-shadow 140ms ease-out, background-color 160ms, color 160ms; }
  .feature-order:active { transform: translateY(3px); box-shadow: 0 0 0 var(--feature-ink); }
}
.feature-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Each ingredient starts near the dish, then settles into its own plane. */
@media (prefers-reduced-motion: no-preference) {
  .feature-ready .is-current .letter {
    animation: feature-letter-in 580ms var(--feature-ease) both;
    animation-delay: calc(40ms + var(--i) * 34ms);
  }
  .feature-ready .is-current .feature-dish { animation: feature-dish-in 730ms var(--feature-ease) both; }
  .feature-ready .is-current .garnish { animation: feature-garnish-in 790ms var(--feature-ease) 45ms both; }
  .feature-ready .is-current .feature-shadow { animation: feature-shadow-in 650ms var(--feature-ease) both; }
  .feature-ready .is-current .feature-info { animation: feature-info-in 390ms var(--feature-ease) 80ms both; }
  .has-switched .is-current .feature-dish { animation-delay: 125ms; }
  .has-switched .is-current .garnish { animation-delay: 115ms; }
  .has-switched .is-current .letter { animation-delay: calc(95ms + var(--i) * 34ms); }
  .feature-ready .is-leaving .letter {
    animation: feature-letter-out 230ms ease-in both;
    animation-delay: calc((var(--last) - var(--i)) * 24ms);
  }
  .feature-ready .is-leaving .feature-dish { animation: feature-dish-out 290ms ease-in both; }
  .feature-ready .is-leaving .garnish { animation: feature-garnish-out 270ms ease-in both; }
  .feature-ready .is-leaving .feature-info, .feature-ready .is-leaving .feature-shadow { opacity: 0; }
}
.feature-slide.is-leaving .feature-order { visibility: hidden; }
@keyframes feature-letter-in { from { transform: translateY(106%); } }
@keyframes feature-letter-out { to { transform: translateY(106%); } }
@keyframes feature-dish-in {
  from { opacity: 0; transform: translateY(7%) rotate(calc(var(--rest-angle) - 10deg)) scale(.45); }
  45% { opacity: 1; }
}
@keyframes feature-dish-out {
  to { opacity: 0; transform: translateY(-5%) rotate(calc(var(--rest-angle) + 8deg)) scale(.58); }
}
@keyframes feature-garnish-in {
  from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(-24deg) scale(.5); }
}
@keyframes feature-garnish-out {
  to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(16deg) scale(.6); }
}
@keyframes feature-shadow-in { from { opacity: 0; transform: scaleX(.55); } }
@keyframes feature-info-in { from { opacity: 0; transform: translateY(9px); } }

@media (max-width: 900px) {
  .feature-base { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .8fr); }
  .feature-description { font-size: .9rem; }
}
@media (max-width: 700px) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .header-actions { min-width: 0; max-width: 100%; }
  .nav-toggle { flex-shrink: 0; }
  .desk-nav { display: none; }
  .enhanced .masthead .nav-toggle { display: flex !important; }
  :root:not(.enhanced) .desk-nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0 16px;
  }
  :root:not(.enhanced) .header-actions { grid-area: 1 / 2; }
  .masthead .brand img { width: clamp(110px, 31vw, 152px); }
  .header-order { min-height: 44px; padding: 6px 12px; font-size: .81rem; line-height: 1.2; gap: 6px; white-space: normal; }
  .feature-inner { --bottom-pad: 25px; }
  .feature-stage { height: clamp(265px, 72vw, 390px); }
  .feature-word { font-size: 41cqw; translate: 0 -7%; }
  [data-flavour="loaded"] .feature-word { font-size: 36cqw; }
  [data-flavour="berry"] .feature-word { font-size: 40cqw; }
  .feature-dish { width: 70%; height: 74%; top: 17%; }
  [data-flavour="loaded"] .feature-dish { width: 71%; height: 73%; top: 15%; }
  [data-flavour="berry"] .feature-dish { width: 68%; height: 72%; top: 14%; }
  .garnish-1 { --size: 17%; --left: 6%; --top: 8%; }
  .garnish-2 { --size: 12%; --left: 69%; --top: 5%; }
  .garnish-3 { --size: 12%; --left: 0%; --top: 70%; }
  .garnish-4 { --size: 15%; --left: 85%; --top: 61%; }
  [data-flavour="loaded"] .garnish-4 { --left: 81%; }
  [data-flavour="berry"] .garnish-1 { --size: 15%; --top: 10%; }
  [data-flavour="berry"] .garnish-3 { --left: 5%; }
  [data-flavour="berry"] .garnish-4 { --size: 12%; }
  .feature-base {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0;
  }
  .feature-info { grid-column: 1 / -1; max-width: 100%; }
  .feature-info h2 { font-size: clamp(2.15rem, 8vw, 2.8rem); }
  .feature-description { max-width: 42ch; }
  .feature-order { min-width: 8.25rem; min-height: 46px; padding: 9px 20px; font-size: 1.32rem; }
}
@media (max-width: 355px) {
  .header-order, .header-actions { gap: 4px; }
  .header-order { padding-inline: 9px; }
}
