/* ==========================================================================
   Maska Bun - retro desi café. Tokens from the logo: maroon outline,
   mustard "Maska", cream "Bun".
   ========================================================================== */
:root {
  --ink: #1c0a08;
  --maroon: #4a1113;
  --maroon-2: #5e1a15;
  --spread-bg: #401016;
  --mustard: #f4a51c;
  --mustard-2: #e0900a;
  --mustard-ink: #9c5a06;
  --cream: #fff1d4;
  --butter: #fff8ea;
  --soft: #6d4a3f;
  --green: #2f7a3e;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --text: "Bricolage Grotesque", system-ui, sans-serif;

  --r-card: 26px;
  --r-ui: 14px;
  --pop: 0 5px 0 var(--ink);
  --pop-sm: 0 3px 0 var(--ink);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ glove */
.glove {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 42px; height: 44px; opacity: 0; transition: opacity 160ms var(--ease-out);
  will-change: transform;
}
.has-glove .glove.is-live { opacity: 1; }
.glove.is-hidden { opacity: 0 !important; }
.glove img {
  position: absolute; left: 0; top: 0; height: 44px; width: auto; max-width: none;
  filter: drop-shadow(0 2px 3px rgba(28, 10, 8, 0.35));
  transform-origin: 20% 10%; transition: transform 140ms var(--ease-out);
}
.glove__tap { display: none; }
.glove.is-tap .glove__idle { display: none; }
.glove.is-tap .glove__tap { display: block; }
.glove.is-down img { transform: scale(0.88) translate(2px, 3px); }
@media (hover: hover) and (pointer: fine) {
  .has-glove, .has-glove * { cursor: none !important; }
  .has-glove input, .has-glove textarea, .has-glove select { cursor: text !important; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--text); font-weight: 700; font-size: 17px; line-height: 1;
  text-decoration: none; letter-spacing: 0.005em;
  background: var(--cream); color: var(--ink);
  box-shadow: var(--pop);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
  .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
}
.btn--maroon { background: var(--maroon); color: var(--cream); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:active { transform: scale(0.97); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgba(255, 241, 212, 0.55); box-shadow: none; transform: none; } }
.btn--big { min-height: 58px; padding: 16px 30px; font-size: 19px; }
.btn--huge { min-height: 72px; padding: 20px 44px; font-size: 24px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.link { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--cream);
  cursor: pointer; transition: transform 160ms var(--ease-out);
}
.iconbtn:active { transform: scale(0.94); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; z-index: 100; top: 12px; left: 50%;
  width: min(1240px, calc(100% - 24px)); height: 64px;
  transform: translateX(-50%);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 0 10px 0 18px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: var(--pop-sm);
  transition: transform 400ms var(--ease-out);
}
.nav.is-tucked { transform: translate(-50%, calc(-100% - 20px)); }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; justify-content: center; gap: 4px; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: background-color 160ms var(--ease-out);
}
@media (hover: hover) { .nav__links a:hover { background: rgba(244, 165, 28, 0.35); } }
.nav__right { display: flex; align-items: center; gap: 10px; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; white-space: nowrap; padding: 0 6px;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #b8a58f; flex: none; }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(47, 122, 62, 0.2); }
.status.is-closed .status__dot { background: #b3261e; }
.cartbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 8px 0 16px;
  background: var(--maroon); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; font-weight: 700;
  transition: transform 160ms var(--ease-out);
}
.cartbtn:active { transform: scale(0.96); }
.cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cartbtn__count {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--mustard); color: var(--ink); font-size: 14px;
}
.cartbtn.is-bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-4deg); } 60% { transform: scale(0.96); } }

/* ------------------------------------------------------------------ doodles */
.doodle, 
/* ------------------------------------------------------------------ ACT 1 hero */
.hero { position: relative; background: var(--mustard); height: 210svh; overflow: clip; }
.hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__bun {
  --size: min(calc(100svh - var(--nav-h) - 36px), 54vw, 1000px);
  position: absolute; left: 64%; top: calc(var(--nav-h) + (100svh - var(--nav-h)) / 2); z-index: 3;
  width: var(--size); height: var(--size);
  transform: translate(-50%, -50%);
}
.wedge { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; user-select: none; -webkit-user-drag: none; }
.bun-layer { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; user-select: none; -webkit-user-drag: none; }
.bun-layer--base { z-index: 2; }
.bun-layer--maska { z-index: 3; }
.bun-layer--top { z-index: 4; }
.prop { position: absolute; height: auto; will-change: transform; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 22px rgba(90, 40, 0, 0.28)); }
.prop--dollop { z-index: 5; width: clamp(80px, 7vw, 130px); left: 88%; top: 80%; rotate: -8deg; }
.hero__seeds { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hero__seeds i {
  position: absolute; left: var(--x); top: var(--y);
  width: 14px; height: 7px; border-radius: 50%;
  background: #fff6e2; box-shadow: inset -2px -1px 0 rgba(160, 110, 50, 0.35);
  transform: rotate(var(--r)) scale(var(--s));
}
.hero__seeds i:nth-child(2n) { filter: blur(1.5px); }
.hero__copy { position: absolute; z-index: 8; left: var(--gutter); top: 50%; transform: translateY(-38%); width: min(520px, 36vw); }
.hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(44px, 5vw, 86px); line-height: 0.96; color: var(--ink); text-wrap: balance; }
.hero h1 span { color: var(--maroon); }
.hero__sub { margin-top: 20px; font-size: 19px; max-width: 32ch; color: #3a1d12; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ctas .btn--ghost { border-color: var(--ink); }

/* ------------------------------------------------------------------ ACT 2 the nashta table */
.table { position: relative; background: var(--mustard); overflow: hidden; }
.table__pin {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, 0.9fr) 1.1fr; align-items: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 32px;
}
.table__copy { position: relative; z-index: 3; max-width: 520px; }
.table__copy h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(44px, 5vw, 84px); line-height: 0.95; color: var(--ink); margin-bottom: 28px; }
.table__copy h2 span { color: var(--maroon); }
.table__items { position: relative; min-height: 290px; }
.titem { position: absolute; inset: 0 0 auto 0; }
.titem:not(.is-on) { pointer-events: none; }
.titem h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(30px, 2.8vw, 44px); color: var(--maroon); line-height: 1.05; }
.titem__desc { margin-top: 10px; font-size: 18px; max-width: 38ch; color: #3a1d12; }
.titem blockquote { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--maroon); font-size: 16px; color: #4c2a20; max-width: 40ch; }
.titem blockquote p { margin: 0; }
.titem cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--soft); }
.titem__foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.titem__price { font-weight: 800; font-size: 24px; }
.titem__price small { font-size: 14px; font-weight: 600; color: var(--soft); }
.table__dots { display: flex; gap: 8px; margin-top: 20px; }
.table__dots i { width: 10px; height: 10px; border-radius: 999px; border: 2px solid var(--ink); transition: width 300ms var(--ease-out), background-color 300ms var(--ease-out); }
.table__dots i.is-on { width: 30px; background: var(--ink); }
.table__stage { position: absolute; right: 0; top: 0; bottom: 0; width: 64%; pointer-events: none; }
.table__wheel {
  --r: min(62svh, 36vw);
  position: absolute; left: 62%; top: calc(50% + var(--r) * 1.02); width: 0; height: 0; will-change: transform;
}
.plate {
  position: absolute; left: 0; top: 0; width: min(64svh, 38vw); aspect-ratio: 1;
  transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(var(--r) * -1)) translate(-50%, -50%);
  transform-origin: 0 0;
}
.plate img { width: 100%; height: 100%; filter: drop-shadow(0 26px 30px rgba(90, 40, 0, 0.32)); will-change: transform; }

/* ------------------------------------------------------------------ ACT 3 story: the family notebook */
.story { position: relative; background: var(--maroon); }
.story__pin { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; padding: calc(var(--nav-h) + 16px) var(--gutter) 24px; perspective: 2200px; }
.book {
  --rule: clamp(26px, calc((100svh - var(--nav-h) - 60px) / 17), 38px);
  position: relative; width: min(1180px, 100%); height: min(calc(100svh - var(--nav-h) - 60px), 660px);
  transform-style: preserve-3d; will-change: transform;
}
.book__page--right {
  position: absolute; left: 50%; top: 0; width: 50%; height: 100%; overflow: hidden;
  background-color: #fffaf0;
  background-image: repeating-linear-gradient(transparent 0 calc(var(--rule) - 1px), rgba(74, 120, 190, 0.22) calc(var(--rule) - 1px) var(--rule));
  background-position: 0 calc(var(--rule) * 1.5);
  border-radius: 0 14px 14px 0; padding: var(--rule) 44px var(--rule) 56px;
  box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45), inset 24px 0 30px -24px rgba(28, 10, 8, 0.25);
}
.book__cover {
  position: absolute; left: 50%; top: 0; width: 50%; height: 100%; z-index: 4;
  transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform;
}
.book__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book__face--front {
  border-radius: 6px 16px 16px 6px; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 6px),
    #5a1a17;
  box-shadow: 0 30px 60px rgba(20, 4, 2, 0.5), inset 0 0 0 2px rgba(255, 241, 212, 0.18), inset 16px 0 20px -10px rgba(0, 0, 0, 0.45);
  display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 40px;
}
.book__face--front::before { content: ""; position: absolute; inset: 22px; border: 2px dashed rgba(244, 165, 28, 0.55); border-radius: 10px; pointer-events: none; }
.cover__logo { width: min(300px, 70%); height: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25)); }
.cover__label {
  font-size: 40px; font-weight: 700; color: var(--ink); background: #fff3d6; padding: 4px 26px 8px; rotate: -3deg;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.cover__meta { color: #f6dcc0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cover__strap { position: absolute; right: 42px; top: 0; bottom: 0; width: 22px; background: linear-gradient(90deg, #2a0b09, #1c0605 60%, #3a100d); box-shadow: -3px 0 6px rgba(0, 0, 0, 0.4); }
.book__face--back {
  transform: rotateY(180deg); border-radius: 14px 0 0 14px; overflow: hidden;
  background-color: #fffaf0;
  background-image: repeating-linear-gradient(transparent 0 calc(var(--rule) - 1px), rgba(74, 120, 190, 0.22) calc(var(--rule) - 1px) var(--rule));
  background-position: 0 calc(var(--rule) * 1.5);
  padding: var(--rule) 48px var(--rule) 72px;
  box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45), inset -24px 0 30px -24px rgba(28, 10, 8, 0.25);
}
.book__face--back::before { content: ""; position: absolute; left: 50px; top: 0; bottom: 0; width: 2px; background: rgba(214, 72, 72, 0.45); }
.hand { font-family: var(--hand); color: #2a3a6a; }
.hand--date { font-size: calc(var(--rule) * 0.58); color: var(--soft); line-height: var(--rule); }
.hand--title { font-family: var(--hand); font-weight: 700; letter-spacing: 0; font-size: calc(var(--rule) * 0.95); line-height: var(--rule); color: var(--maroon); margin: 0 0 var(--rule); }
.story__lines { list-style: none; margin: 0; padding: 0; }
.story__lines .line { font-family: var(--hand); font-weight: 600; font-size: calc(var(--rule) * 0.92); line-height: var(--rule); margin-bottom: var(--rule); color: #1d2c5c; }
.circled, .squiggle { position: relative; display: inline-block; }
.circled::after {
  content: ""; position: absolute; inset: -6px -10px -4px -10px; border: 2.5px solid var(--mustard-2); border-radius: 50%;
  transform: rotate(-3deg); clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease-io) 150ms;
}
.squiggle { color: var(--maroon); }
.squiggle::after {
  content: ""; position: absolute; left: -2px; right: -4px; bottom: -6px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c10-8 18 6 28 0s18-8 28 0 18 6 28 0 18-6 32 0' fill='none' stroke='%23e0900a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease-io) 400ms;
}
.story__lines.is-marked .circled::after, .story__lines.is-marked .squiggle::after { clip-path: inset(0 0 0 0); }
.hand--body { font-size: calc(var(--rule) * 0.66); line-height: var(--rule); max-width: 25ch; margin-bottom: var(--rule); }
.hand--sign { font-size: calc(var(--rule) * 0.78); line-height: var(--rule); color: var(--maroon); font-weight: 700; }
.hand--hint { position: absolute; left: 290px; bottom: 30px; max-width: 12ch; line-height: 1.1; font-size: 20px; color: var(--soft); rotate: -2deg; pointer-events: none; }
[data-drag] { position: absolute; cursor: grab; touch-action: none; user-select: none; z-index: 2; }
[data-drag].is-dragging { cursor: grabbing; z-index: 5; filter: drop-shadow(0 18px 18px rgba(28, 10, 8, 0.35)); }
.polaroid { margin: 0; padding: 9px 9px 10px; background: #fffdf6; border-radius: 4px; box-shadow: 0 12px 24px rgba(28, 10, 8, 0.28), 0 1px 0 rgba(28, 10, 8, 0.2); width: clamp(130px, 11vw, 170px); }
.polaroid::before { content: ""; position: absolute; left: 50%; top: -12px; width: 76px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(244, 165, 28, 0.78); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.polaroid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 2px; pointer-events: none; }
.polaroid figcaption { font-family: var(--hand); font-size: 21px; margin-top: 4px; color: #1d2c5c; text-align: center; line-height: 1; }
.polaroid--a { right: 34px; bottom: 30px; rotate: 5deg; }
.polaroid--b { right: 44px; top: 42%; rotate: -6deg; transform: translateY(-50%); }
.polaroid--c { right: 40px; top: 26px; rotate: 7deg; }
.sticker { display: grid; place-items: center; text-align: center; border: 2px solid var(--ink); box-shadow: 0 6px 0 rgba(28, 10, 8, 0.85); }
.sticker--rating { width: 104px; height: 104px; border-radius: 50%; background: var(--mustard); right: 48px; bottom: 30px; rotate: -10deg; align-content: center; gap: 0; }
.sticker--rating strong { font-size: 26px; line-height: 1; }
.sticker--rating span { font-size: 11px; font-weight: 700; line-height: 1.1; padding: 0 10px; }
.sticker--stamp { right: 176px; bottom: 44px; padding: 8px 14px; background: var(--maroon); color: var(--cream); border-radius: 10px; font-weight: 800; font-size: 16px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.04em; rotate: 6deg; }

/* ------------------------------------------------------------------ ACT 3 spread (peak) */
.spread { position: relative; background: var(--spread-bg); color: var(--cream); }
.spread__pin {
  position: relative; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(330px, 0.85fr) 2fr; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: calc(var(--nav-h) + 16px) var(--gutter) clamp(28px, 5vh, 56px);
}
.spread__side { display: grid; gap: clamp(10px, 1.8vh, 18px); justify-items: start; align-content: center; }
.spread__side h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(40px, min(5vw, 8vh), 84px); line-height: 0.95; }
.spread__side h2 span { display: block; color: var(--mustard); }
.spread__caption { font-size: clamp(17px, 1.3vw, 21px); font-weight: 600; min-height: 1.5em; color: #f6dcc0; }
.spread__caption span { display: inline-block; }
.spread__offer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.spread__plate { position: relative; width: 100%; max-height: calc(100svh - var(--nav-h) - 40px); aspect-ratio: 2.27; justify-self: center; }
.spread__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 74%, transparent 100%);
}
.spread__stroke { fill: none; stroke: #fff; stroke-width: 230; stroke-linecap: round; stroke-linejoin: round; }
.knife { position: absolute; left: 0; top: 0; width: clamp(110px, 11vw, 200px); height: auto; z-index: 3; pointer-events: none; will-change: transform; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.4)); }
.pricetag {
  display: grid; text-align: left; background: var(--cream); color: var(--ink); padding: 12px 22px 12px 28px;
  border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--pop); rotate: -2deg; position: relative;
}
.pricetag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 2px solid var(--ink); background: var(--spread-bg); }
.pricetag__name { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 22px; line-height: 1.1; color: var(--maroon); }
.pricetag__meta { font-size: 13px; font-weight: 600; color: var(--soft); }
.pricetag__price { font-weight: 800; font-size: 20px; }

/* ------------------------------------------------------------------ ACT 4 favourites */
.favs { position: relative; background: var(--mustard); overflow: hidden; }
.favs__pin { position: relative; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 18px) 0 24px; }
.favs__head { padding: 0 var(--gutter); margin-bottom: 24px; }
.favs__head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(38px, 5vw, 76px); letter-spacing: -0.015em; color: var(--ink); }
.favs__head h2 span { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--maroon); }
.favs__head p { margin-top: 8px; font-weight: 600; font-size: 18px; color: #3a1d12; }
.favs__track { display: flex; gap: 24px; padding: 6px var(--gutter) 14px; width: max-content; flex: 1; min-height: 0; will-change: transform; }
.fav {
  position: relative; flex: none; width: clamp(290px, 23vw, 350px); height: min(100%, 540px);
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r-card);
  box-shadow: 0 8px 0 var(--ink); padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 14px;
}
.fav__img { position: relative; border-radius: 16px; overflow: hidden; flex: 1 1 0; min-height: 0; background: #e8c98f; }
.fav__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) { .fav:hover .fav__img img { transform: scale(1.05); } }
.fav__tag {
  position: absolute; left: 10px; top: 10px; background: var(--mustard); border: 2px solid var(--ink);
  border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700;
}
.fav h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; font-size: 21px; color: var(--maroon); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav blockquote { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: #4c2a20; min-height: 2.8em; }
.fav cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--soft); }
.fav__foot { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 2px; }
.fav__price { font-weight: 800; font-size: 22px; }
.fav .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }

/* ------------------------------------------------------------------ ACT 5 menu */
.menu { position: relative; background: var(--butter); padding: calc(var(--nav-h) + 48px) 0 96px; scroll-margin-top: 0; }
.menu__top { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto 16px; }
.menu__top h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(52px, 7vw, 108px); color: var(--maroon); line-height: 0.9; }
.menu__lede { margin-top: 10px; font-weight: 600; font-size: 18px; }
.tabs {
  position: sticky; top: 72px; z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 14px var(--gutter); max-width: 1320px; margin: 0 auto;
  background: linear-gradient(var(--butter) 82%, rgba(255, 248, 234, 0));
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--cream); font-weight: 700; cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--maroon); color: var(--cream); }
.menu__layout {
  max-width: 1320px; margin: 0 auto; padding: 16px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start;
}
.cat { scroll-margin-top: 170px; padding-bottom: 28px; }
.cat + .cat { border-top: 2px dashed rgba(28, 10, 8, 0.25); padding-top: 28px; }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cat__head h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 34px; color: var(--maroon); }
.cat__note { font-size: 14px; font-weight: 600; color: var(--soft); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.item {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  transition: box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.item.is-in { box-shadow: var(--pop-sm); background: #fffaf0; }
.item__img { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__img--none svg { width: 44px; height: 44px; fill: none; stroke: var(--mustard-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.item__name { font-weight: 800; font-size: 17px; line-height: 1.2; }
.item__tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mustard); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }
.item__desc { font-size: 14px; color: var(--soft); margin-top: 2px; line-height: 1.35; }
.item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.item__price { font-weight: 800; font-size: 17px; }

.add {
  min-width: 44px; height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--mustard); font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: transform 160ms var(--ease-out);
}
.add:active { transform: scale(0.95); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); height: 40px; }
.stepper button { width: 40px; height: 36px; border: 0; background: transparent; font-size: 20px; font-weight: 800; cursor: pointer; border-radius: 999px; }
.stepper button:active { transform: scale(0.9); }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; }

.summary {
  position: sticky; top: 160px; background: var(--cream); border: 2px solid var(--ink);
  border-radius: var(--r-card); box-shadow: var(--pop); padding: 22px;
}
.summary h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 30px; color: var(--maroon); margin-bottom: 12px; }
.summary__empty { color: var(--soft); font-size: 15px; }
.summary__empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 40vh; overflow: auto; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 15px; }
.lines .line__name { font-weight: 700; }
.lines .line__price { font-weight: 800; }
.lines .stepper { height: 34px; justify-self: start; }
.lines .stepper button { width: 32px; height: 30px; font-size: 17px; }
.totals { border-top: 2px dashed rgba(28, 10, 8, 0.3); margin-top: 14px; padding-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 20px; }
.summary .btn { width: 100%; margin-top: 16px; }

/* ------------------------------------------------------------------ ACT 6 day/night */
.daynight { position: relative; }
.daynight__pin { position: relative; height: 100svh; overflow: hidden; }
.dn {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
}
.dn--day { background: var(--mustard); color: var(--ink); z-index: 1; }
.dn--night { background: var(--ink); color: var(--cream); clip-path: circle(0% at 82% 22%); z-index: 2; }
.dn__copy { max-width: 540px; position: relative; z-index: 2; }
.dn h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -0.015em; margin: 6px 0 18px; }
.dn h2 span { color: var(--maroon); white-space: nowrap; }
.dn--night h2 span { color: var(--mustard); }
.dn p { font-size: 19px; max-width: 44ch; }
.dn__note { margin-top: 14px; font-weight: 700; display: inline-block; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; font-size: 16px !important; }
.dn__photo { margin: 0; justify-self: center; width: min(460px, 100%); border: 2px solid currentColor; border-radius: 28px; overflow: hidden; rotate: 3deg; box-shadow: 0 10px 0 var(--ink); }
.dn--night .dn__photo { rotate: -3deg; box-shadow: 0 10px 0 var(--maroon); }
.dn__photo img { width: 100%; height: min(calc(100svh - var(--nav-h) - 150px), 560px); object-fit: cover; object-position: 50% 45%; }
.dn__sun, .dn__moon { position: absolute; width: 120px; fill: none; stroke-width: 4; stroke-linecap: round; }
.dn__sun { stroke: var(--maroon); right: 6%; top: 16%; }
.dn__moon { fill: var(--mustard); stroke: var(--cream); stroke-width: 3; right: 8%; top: 14%; }
.hours { margin-top: 22px; border-collapse: collapse; font-size: 17px; }
.hours th { text-align: left; padding: 8px 18px 8px 0; color: var(--mustard); font-weight: 700; white-space: nowrap; }
.hours td { padding: 8px 0; }
.hours tr + tr { border-top: 1px solid rgba(255, 241, 212, 0.25); }

/* ------------------------------------------------------------------ ACT 7 reviews */
.reviews { background: var(--cream); padding: 110px 0 96px; overflow: hidden; }
.reviews__head { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto 40px; }
.reviews__head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(34px, 4.4vw, 64px); color: var(--maroon); max-width: 20ch; letter-spacing: -0.015em; }
.reviews__num { font-size: 1.7em; color: var(--mustard-ink); display: block; line-height: 0.95; }
.reviews__head p { margin-top: 12px; font-weight: 700; font-size: 19px; }
.marquee { overflow: hidden; padding: 10px 0; }
.marquee__row { display: flex; gap: 20px; width: max-content; will-change: transform; }
.rcard {
  flex: none; width: 340px; padding: 20px 22px; background: #fff; border: 2px solid var(--ink);
  border-radius: 22px; box-shadow: var(--pop-sm);
}
.rcard:nth-child(3n) { background: var(--mustard); }
.rcard:nth-child(4n) { background: var(--maroon); color: var(--cream); }
.rcard__stars { color: var(--mustard-2); letter-spacing: 2px; font-size: 16px; }
.rcard:nth-child(3n) .rcard__stars { color: var(--maroon); }
.rcard p { margin: 8px 0 12px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.rcard cite { font-style: normal; font-weight: 800; font-size: 14px; }

/* ------------------------------------------------------------------ ACT 8 wall */
.wall { background: var(--maroon); color: var(--cream); padding: 110px var(--gutter) 60px; overflow: hidden; }
.wall__head { max-width: 1320px; margin: 0 auto 48px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.wall__head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -0.015em; }
.wall__head h2 span { display: block; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--mustard); }
.wall .btn--maroon { background: var(--mustard); color: var(--ink); }
.wall__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; height: 110vh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.wall__col { display: grid; gap: 18px; align-content: start; will-change: transform; }
.wall__col a { display: block; border-radius: 18px; overflow: hidden; border: 2px solid var(--ink); position: relative; }
.wall__col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .wall__col a:hover img { transform: scale(1.06); } }

/* ------------------------------------------------------------------ ACT 9 close */
.close { background: var(--mustard); padding: 120px var(--gutter) 0; }
.close__inner { max-width: 1320px; margin: 0 auto; }
.close__big {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(90px, 17vw, 300px); line-height: 0.82; color: var(--cream);
  -webkit-text-stroke: 0.035em var(--maroon); paint-order: stroke fill; text-shadow: 0 0.045em 0 var(--maroon);
}
.close__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.close__actions p { font-weight: 700; font-size: 19px; max-width: 30ch; }
.close__visit {
  margin-top: 80px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0;
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 8px 0 var(--ink);
}
.close__info { padding: 32px; display: grid; gap: 10px; align-content: start; }
.close__info h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 28px; color: var(--maroon); }
.close__info h3 + p { margin-bottom: 8px; }
.close__info .link { margin-bottom: 18px; }
.close__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-left: 2px solid var(--ink); display: block; filter: sepia(0.25) saturate(1.1); }
.footer { max-width: 1320px; margin: 72px auto 0; padding: 28px 0 40px; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 600; }
.footer img { height: 56px; width: auto; }

/* ------------------------------------------------------------------ order bar (mobile) */
.orderbar {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--maroon); color: var(--cream); box-shadow: var(--pop); cursor: pointer;
  font-weight: 600; transform: translateY(0); transition: transform 300ms var(--ease-out);
}
.orderbar strong { font-size: 18px; }
.orderbar[hidden] { display: none; }

/* ------------------------------------------------------------------ drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(28, 10, 8, 0.55); opacity: 0; transition: opacity 300ms var(--ease-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%);
  background: var(--butter); border-left: 2px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 380ms var(--ease-out);
  outline: none;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 2px solid var(--ink); background: var(--cream); }
.drawer__head h2 { flex: 1; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 28px; color: var(--maroon); }
.steps { list-style: none; margin: 0; padding: 12px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 2px dashed rgba(28, 10, 8, 0.25); }
.steps li { font-size: 13px; font-weight: 700; color: var(--soft); display: grid; gap: 6px; }
.steps li::before { content: ""; height: 6px; border-radius: 999px; background: rgba(28, 10, 8, 0.15); transition: background-color 300ms var(--ease-out); }
.steps li.is-done, .steps li.is-now { color: var(--ink); }
.steps li.is-done::before, .steps li.is-now::before { background: var(--maroon); }
.steps[hidden] { display: none; }
.drawer__body { flex: 1; overflow: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--cream); }
.drawer__foot .btn { width: 100%; }
.foot__total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.drawer__body .lines { max-height: none; }
.drawer__body .lines li { padding: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.empty { text-align: center; padding: 40px 10px; }
.empty svg { width: 110px; margin: 0 auto 16px; fill: none; stroke: var(--maroon); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.empty h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 28px; color: var(--maroon); margin-bottom: 8px; }
.empty p { color: var(--soft); margin-bottom: 20px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff3cf; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.notice.is-closed { background: #ffe2dc; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--soft); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r-ui);
  transition: box-shadow 160ms var(--ease-out);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(244, 165, 28, 0.6); }
.field.is-bad input, .field.is-bad textarea { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 13px; font-weight: 700; display: none; }
.field.is-bad .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label {
  position: relative; display: grid; gap: 2px; padding: 14px; cursor: pointer;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--mustard); box-shadow: var(--pop-sm); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg label:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.seg strong { font-size: 16px; }
.seg span { font-size: 13px; color: #4c2a20; }
.review { display: grid; gap: 12px; }
.review__block { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; }
.review__block h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.review__block p { font-size: 15px; }
.pay { display: flex; gap: 12px; align-items: flex-start; }
.pay__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mustard); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; }
.small { font-size: 13px; color: var(--soft); }

.done { text-align: center; padding-top: 6px; }
.done__badge { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); box-shadow: var(--pop); display: grid; place-items: center; }
.done__badge svg { width: 50px; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.done__badge path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick 600ms 250ms var(--ease-out) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.done h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 34px; color: var(--maroon); }
.done__no { margin: 6px 0 20px; font-weight: 700; }
.done__no b { background: var(--cream); border: 2px dashed var(--ink); border-radius: 8px; padding: 2px 8px; }
.track { list-style: none; margin: 0 0 20px; padding: 0; text-align: left; display: grid; gap: 0; }
.track li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-bottom: 20px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: 16px; top: 30px; bottom: 0; width: 2px; background: rgba(28, 10, 8, 0.2); }
.track li:last-child::before { display: none; }
.track__dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; font-size: 15px; transition: background-color 300ms var(--ease-out), transform 300ms var(--ease-out); }
.track li.is-done .track__dot { background: var(--mustard); }
.track li.is-now .track__dot { background: var(--maroon); color: var(--cream); animation: pulse 1.4s var(--ease-out) infinite; }
@keyframes pulse { 50% { transform: scale(1.1); } }
.track strong { display: block; font-size: 16px; }
.track span { font-size: 14px; color: var(--soft); }
.track li:not(.is-done):not(.is-now) { opacity: 0.55; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 300; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__right { justify-self: end; }
  .menu__layout { grid-template-columns: 1fr; }
  .summary { display: none; }
  .items { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 70px; }
  body { font-size: 16px; }
  .nav { height: 58px; top: 10px; padding-left: 14px; }
  .nav__logo img { height: 36px; }
  .status { display: none; }
  .cartbtn__label { display: none; }
  .cartbtn { padding-left: 12px; }

  .hero { height: 190svh; }
  .hero__bun { --size: min(94vw, 50svh); left: 50%; top: 38%; }
  .hero__rays {
  position: absolute; left: 64%; top: 54%; width: 118vmax; aspect-ratio: 1; z-index: 0;
  transform: translate(-50%, -50%); pointer-events: none;
  background: url("../assets/hero/rays.webp") center / 100% 100% no-repeat;
  animation: rays 140s linear infinite; will-change: transform;
}
  .note { font-size: 17px; }
  .note svg { width: 70px; }
  .note--top { left: 74%; top: 11%; rotate: 4deg; }
  .note--top svg { left: -76px; top: 18px; }
  .note--maska, .note--base { left: 38%; top: 82%; rotate: -4deg; text-align: right; }
  .prop--dollop { width: 60px; left: 78%; top: 56%; }
  .hero__copy { top: auto; transform: none; }
  .hero__copy { left: var(--gutter); right: var(--gutter); width: auto; bottom: 24px; }
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 15px; margin-top: 8px; }
  .hero__ctas { margin-top: 16px; }
  .hero__ctas .btn--ghost { display: none; }

  .story__desk { padding: 100px 12px 60px; }
  .table__pin { grid-template-columns: 1fr; align-content: start; padding-top: 96px; }
  .table__copy h2 { font-size: 44px; margin-bottom: 16px; }
  .table__items { min-height: 250px; }
  .titem blockquote { display: none; }
  .table__stage { width: 100%; top: auto; height: 48svh; }
  .table__wheel { --r: 46vw; left: 50%; top: calc(100% + var(--r) * 0.55); }
  .plate { width: 64vw; }
  .hand--title { font-size: 26px; line-height: 36px; margin-bottom: 18px; }
  .hand--date { font-size: 18px; }
  .story__lines .line { font-size: 26px; line-height: 36px; margin-bottom: 18px; }
  .hand--body { font-size: 22px; line-height: 36px; margin-bottom: 18px; max-width: none; }
  .hand--sign { font-size: 24px; }
  .cover__label { font-size: 26px; }
  .cover__meta { font-size: 10px; }
  .polaroid { width: 130px; }
  .polaroid figcaption { font-size: 17px; }
  .polaroid--a { right: 14px; bottom: 40px; }
  .polaroid--b { left: 16px; right: auto; top: auto; bottom: 56px; transform: none; }
  .polaroid--c { display: none; }
  .sticker--rating { width: 84px; height: 84px; right: 18px; bottom: 18px; }
  .sticker--rating strong { font-size: 18px; }
  .sticker--rating span { font-size: 8px; }
  .sticker--stamp { display: none; }
  .hand--hint { display: none; }
  .story__lines .line { font-size: 30px; margin-bottom: 36px; }
  .hand--body { font-size: 24px; }
  .polaroid { width: 150px; }
  .polaroid--a { right: 16px; bottom: 30px; }
  .polaroid--b { right: auto; left: 20px; bottom: 60px; }

  .spread__pin { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; padding-top: 90px; padding-bottom: 96px; gap: 20px; }
  .spread__plate { order: 2; width: 100%; }
  .spread__side { order: 1; gap: 10px; }
  .spread__offer { grid-auto-flow: column; align-items: center; }
  .spread__side h2 span { display: inline; }
  .pricetag__name { font-size: 20px; }

  .favs__pin { height: auto; min-height: 0; padding-top: 110px; }
  .fav { height: 480px; }
  .fav--feature { width: 86vw; flex-direction: column; height: 560px; }
  .fav--feature .fav__body { padding: 0 6px 6px; }
  .favs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 28px; }
  .favs__track::-webkit-scrollbar { display: none; }
  .fav { width: 76vw; scroll-snap-align: center; }

  .menu { padding-top: 100px; }
  .tabs { top: 64px; }
  .cat { scroll-margin-top: 140px; }
  .item { grid-template-columns: 76px minmax(0, 1fr); }
  .item__img { width: 76px; height: 76px; }

  .dn { grid-template-columns: 1fr; align-content: center; gap: 22px; padding-top: 96px; padding-bottom: 28px; }
  .dn__photo { width: 62%; justify-self: end; order: -1; }
  .dn p { font-size: 16px; }
  .dn__sun, .dn__moon { width: 70px; left: var(--gutter); right: auto; top: 100px; }
  .hours { font-size: 14px; }

  .reviews { padding: 80px 0 70px; }
  .rcard { width: 280px; }
  .wall { padding-top: 80px; }
  .wall__grid { grid-template-columns: repeat(2, 1fr); height: 120vh; gap: 12px; }
  .wall__col { gap: 12px; }
  .close { padding-top: 90px; }
  .close__visit { grid-template-columns: 1fr; margin-top: 56px; }
  .close__map iframe { border-left: 0; border-top: 2px solid var(--ink); min-height: 280px; }
  .btn--huge { width: 100%; font-size: 22px; }
  .footer { padding-bottom: 100px; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__rays { animation: none; }
  .book__cover { transform: rotateY(-180deg); }
  .story__lines .line { clip-path: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .dn--night { clip-path: none; position: relative; }
  .daynight__pin { height: auto; }
  .dn { position: relative; min-height: 100svh; }
  .wall__grid { height: auto; -webkit-mask-image: none; mask-image: none; }
}

.fav blockquote p { margin: 0; }
.fav cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--soft); }
.fav--feature { width: clamp(460px, 40vw, 620px); flex-direction: row; gap: 18px; background: var(--maroon); color: var(--cream); }
.fav--feature .fav__img { flex: 1.1 1 0; }
.fav__body { flex: 1 1 0; display: flex; flex-direction: column; padding: 8px 4px; min-width: 0; }
.fav--feature h3 { color: var(--mustard); font-size: 30px; margin: 4px 0 8px; }
.fav--feature blockquote { color: var(--cream); margin: 0; -webkit-line-clamp: 5; }
.fav--feature cite { color: #e9c9a4; margin: 6px 0 0; }
.fav--feature .fav__foot { margin: auto 0 0; }
.fav--feature .btn { background: var(--mustard); color: var(--ink); }

.spread__stroke--user { stroke-width: 190; }
.diybtn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px 10px 14px;
  border-radius: 999px; border: 2px solid var(--cream); background: transparent; color: var(--cream);
  font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.diybtn:active { transform: scale(0.96); }
@media (hover: hover) { .diybtn:hover { background: rgba(255, 241, 212, 0.12); } }
.diybtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.diybtn[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.spread__hint { font-family: var(--hand); font-size: 24px; color: var(--mustard); }
.spread__plate.is-diy { cursor: none; touch-action: none; }

.fav__text { flex: none; padding: 0 4px; }
.fav__foot { flex: none; }
.fav--feature { width: clamp(520px, 44vw, 660px); flex-direction: row; gap: 22px; background: var(--maroon); color: var(--cream); }
.fav--feature .fav__img { flex: 1 1 0; }
.fav--feature .fav__body { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 12px 10px 12px 0; }
.fav--feature h3 { color: var(--mustard); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; }
.fav--feature .fav__body p { font-size: 17px; line-height: 1.5; color: #f6dcc0; }
.fav--feature .btn { align-self: flex-start; }

/* hero art: retro sunburst + chef's notes */
.hero__rays {
  position: absolute; left: 64%; top: 54%; width: 170vmax; aspect-ratio: 1; z-index: 0;
  transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 241, 212, 0.2) 0deg 5deg, transparent 5deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 55%); mask-image: radial-gradient(circle, #000 12%, transparent 55%);
  animation: rays 140s linear infinite;
}
@keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__notes { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.note { position: absolute; font-family: var(--hand); font-weight: 700; color: var(--maroon); font-size: clamp(20px, 1.6vw, 28px); line-height: 1.05; }
.note svg { position: absolute; width: clamp(110px, 8vw, 160px); fill: none; stroke: var(--maroon); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.note--top { left: 74%; top: 11%; rotate: 4deg; }
.note--top svg { left: -132px; top: 34px; }
.note--maska { left: 87%; top: 58%; rotate: -3deg; }
.note--maska svg { left: -140px; top: 4px; }
.note--base { left: 44%; top: 84%; rotate: -4deg; text-align: right; }
.note--base svg { left: 100%; top: -40px; margin-left: 6px; }

/* phone hero: one note, props clear of the bun (kept last so it wins over the note rules above) */
@media (max-width: 820px) {
  .note--maska, .note--base { display: none; }
  .note--top { left: 58%; top: 11%; font-size: 17px; }
  .note--top svg { left: -80px; top: 20px; width: 72px; }
  .hero__rays { left: 50%; top: 38%; }
}

/* quarters nearer the camera (lower in frame) stack on top */
.wedge[data-z="1"] { z-index: 1; } .wedge[data-z="2"] { z-index: 2; } .wedge[data-z="3"] { z-index: 3; } .wedge[data-z="4"] { z-index: 4; }
.note--top { top: max(11%, calc(var(--nav-h) + 14px)) !important; }

.spread__offer { flex-wrap: nowrap; }
.spread__offer .pricetag { padding: 10px 18px 10px 26px; }
.spread__offer .pricetag__name { font-size: 19px; }
.spread__offer .pricetag__price { font-size: 18px; }
.spread__offer .btn--big { min-height: 50px; padding: 12px 22px; font-size: 17px; white-space: nowrap; }
.spread__hint { font-size: clamp(19px, 1.4vw, 23px); line-height: 1.15; }
@media (max-width: 820px) {
  .spread__offer { flex-wrap: wrap; }
  .spread__pin { padding-bottom: 40px; }
}

/* mid-size laptops: keep the kulhad clear of the headline */
@media (min-width: 821px) and (max-width: 1280px) {
  .hero__copy { width: min(440px, 38vw); }
}
/* tablet + phone spread: heading and bun sit together, centred */
@media (max-width: 820px) {
  .spread__pin { align-content: center !important; grid-auto-rows: auto; row-gap: 28px; }
}

/* hero props: chai on its glass saucer (as served) and the knife, both clear of any text */
.prop--chai { z-index: 2; width: clamp(180px, 15vw, 290px); left: 35%; top: max(15%, calc(var(--nav-h) + 20px)); rotate: -6deg; }
.prop--knife { z-index: 5; width: clamp(90px, 7vw, 150px); left: 84%; top: 74%; rotate: 24deg; }
@media (min-width: 821px) and (max-width: 1280px) {
  .prop--chai { left: 39%; width: clamp(140px, 13vw, 200px); }
  .prop--knife { left: 87%; top: 74%; }
}
@media (max-width: 820px) {
  .prop--chai { width: 124px; left: 2%; top: max(13%, calc(var(--nav-h) + 12px)); }
  .prop--knife { width: 64px; left: 82%; top: 54%; }
}

/* spread: one vertical stack for the sale, the DIY toggle lives with the bun */
.spread__offer { display: grid !important; justify-items: start; gap: 16px; flex-wrap: nowrap; }
.spread__offer .pricetag { min-width: 220px; }
.spread__diy { position: absolute; left: 50%; bottom: -6px; transform: translate(-50%, 100%); z-index: 4; display: grid; justify-items: center; gap: 8px; }
.spread__plate { margin-bottom: 64px; }
.diybtn { background: rgba(255, 241, 212, 0.08); backdrop-filter: blur(4px); }
.diybtn svg { width: 22px; height: 22px; stroke-width: 1.8; }
.spread__hint { text-align: center; }
@media (max-width: 820px) { .spread__plate { margin-bottom: 70px; } }
/* hero knife: bigger */
.prop--knife { width: clamp(130px, 10vw, 200px) !important; }
@media (max-width: 820px) { .prop--knife { width: 84px !important; } }
/* favourite cards: stepper */
.fav__foot .stepper { height: 44px; }
.fav__foot .stepper button { width: 42px; height: 40px; }
.fav__foot .add { height: 44px; padding: 0 18px; background: var(--maroon); color: var(--cream); }

.fav--feature h3 { white-space: normal; overflow: visible; }


/* ==================================================================== PHONE LAYOUTS (kept last) */
@media (max-width: 820px) {
  /* pinned scenes fill the full screen even when the browser bar hides */
  .table__pin, .spread__pin, .daynight__pin, .favs__pin { height: 100lvh; }

  /* hero: bun sized for the column, all three chef notes around it */
  .hero__bun { --size: min(80vw, 40svh); left: 50%; top: 35%; }
  .hero__rays { top: 35%; }
  .prop--chai { width: 96px; left: 3%; top: max(11%, calc(var(--nav-h) + 8px)); }
  .prop--knife { width: 70px !important; left: 84%; top: 30%; }
  .note { font-size: 16px; }
  .note--maska, .note--base { display: block; }
  .note--top { left: 56%; top: max(11%, calc(var(--nav-h) + 10px)) !important; }
  .note--top svg { left: -70px; top: 18px; width: 64px; }
  .note--base { left: 6%; top: 55%; text-align: left; rotate: -4deg; }
  .note--base svg { left: 100%; top: -34px; width: 64px; margin-left: 2px; }
  .note--maska { left: 60%; top: 57%; rotate: 3deg; }
  .note--maska svg { left: -56px; top: -30px; width: 58px; transform: rotate(35deg); }
  .hero h1 { font-size: 36px; }

  /* nashta table: plates rise from a seamless bottom edge */
  .table__stage { height: 50%; }

  /* spread: heading, then the bun (big), then the price + add */
  .spread__pin { display: grid; grid-template-columns: 1fr; align-content: center; justify-items: stretch; row-gap: 14px; padding: 84px 16px 32px; text-align: left; }
  .spread__side { display: contents; }
  .spread__side h2 { order: 1; font-size: 40px; }
  .spread__caption { order: 2; }
  .spread__plate { order: 3; width: 100%; margin: 4px 0 64px; aspect-ratio: 2.3; max-height: none; }
  .spread__svg { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 82%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 82%, transparent 100%); }
  .spread__offer { order: 4; display: flex !important; flex-wrap: nowrap; align-items: center; gap: 12px; }
  .spread__offer .pricetag { min-width: 0; flex: none; padding: 8px 14px 8px 24px; }
  .spread__offer .pricetag__name { font-size: 17px; }
  .spread__offer .pricetag__meta { display: none; }
  .spread__offer .btn--big { flex: 1; min-height: 52px; padding: 10px 14px; font-size: 16px; }
  .spread__diy { bottom: -4px; }

  /* favourites: vertical scroll drives a horizontal row, every card fits the screen */
  .favs__pin { padding: 84px 0 20px; }
  .favs__head { margin-bottom: 14px; }
  .favs__head h2 { font-size: 34px; }
  .favs__head p { font-size: 15px; margin-top: 4px; }
  .favs__track { width: max-content; overflow: visible; scroll-snap-type: none; padding: 6px 16px 16px; gap: 16px; }
  .fav { width: 78vw; height: 100%; max-height: 600px; }
  .fav--feature { width: 84vw; height: 100%; flex-direction: column; gap: 12px; }
  .fav--feature .fav__img { flex: 1 1 0; min-height: 0; }
  .fav--feature .fav__body { flex: none; padding: 0 6px 6px; gap: 10px; }
  .fav--feature h3 { font-size: 24px; }
  .fav--feature .fav__body p { font-size: 15px; line-height: 1.45; }

  /* day / night: photo is a short banner, never over the heading */
  .dn { align-content: center; gap: 18px; padding: 84px 16px 28px; }
  .dn__photo { width: 100%; rotate: 0deg; justify-self: stretch; border-radius: 22px; }
  .dn--night .dn__photo { rotate: 0deg; }
  .dn__photo img { height: 30svh; }
  .dn h2 { font-size: 38px; margin: 0 0 10px; }
  .dn__sun, .dn__moon { display: none; }

  /* photo wall: two even, still columns */
  .wall__grid { height: auto; -webkit-mask-image: none; mask-image: none; }
  .wall__col a:nth-child(n+5) { display: none; }

  /* close */
  .close__actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 32px; }
  .close__actions p { font-size: 16px; }
}

@media (max-width: 820px) { .diybtn { white-space: nowrap; min-height: 42px; padding: 8px 16px 8px 12px; font-size: 15px; } .spread__diy { bottom: -10px; } }

.hero__bun { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero__bun { opacity: 1; } }

@media (max-width: 820px) {
  /* nashta table: plates sit right under the copy */
  .table__items { min-height: 210px; }
  .table__dots { margin-top: 8px; }
  .table__stage { height: 56%; }
  .table__wheel { --r: 50vw; top: calc(100% + var(--r) * 0.18); }
  .plate { width: 72vw; }

  /* spread: tight stack, full-bleed bun */
  .spread__pin { align-content: center; row-gap: 18px; padding: 76px 16px 24px; }
  .spread__side h2 { font-size: 44px; line-height: 1; }
  .spread__caption { font-size: 17px; margin-top: -6px; }
  .spread__plate { width: calc(100% + 32px); margin: 0 -16px 66px; aspect-ratio: 2.36; }
  .spread__svg { -webkit-mask-image: none; mask-image: none; }
  .spread__diy { bottom: -8px; }
  .spread__offer .pricetag__name { font-size: 18px; }

  /* day / night: compact, centred, sun and moon back */
  .dn { align-content: center; gap: 16px; padding: 80px 16px 24px; }
  .dn__photo img { height: 36svh; }
  .dn__sun, .dn__moon { display: block; width: 54px; left: auto; right: 22px; top: 86px; }
  .dn__photo { margin-top: 44px; }

  /* photo wall: two balanced moving columns */
  .wall__grid { height: 125vh; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); }
  .wall__col { transform: none; }
  .wall__col a:nth-child(n+5) { display: block; }
}

@media (max-width: 820px) {
  /* spread: halves stacked, each blended into the maroon */
  .spread__pin { row-gap: 12px; padding: 72px 16px 18px; align-content: center; }
  .spread__plate.is-stacked { width: 78%; margin: 0 auto 58px; aspect-ratio: auto; display: grid; justify-self: center; }
  .spread__plate.is-stacked .spread__svg {
    position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 670 / 500; display: block;
    -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 80%, transparent 100%);
    mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 80%, transparent 100%);
  }
  .spread__plate.is-stacked .spread__svg + .spread__svg { margin-top: -14%; }
  .spread__offer { display: grid !important; grid-auto-flow: row; grid-template-columns: 1fr; justify-items: stretch; gap: 10px; }
  .spread__offer .pricetag { justify-self: start; rotate: -2deg; }
  .spread__offer .btn--big { width: 100%; }

  /* photo wall: a slow vertical slider, both columns at the same speed */
  .wall__col { padding-bottom: 12px; animation: wallUp 46s linear infinite; }
  .wall__col:nth-child(2n) { animation-direction: reverse; }
  @keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }

  /* day / night: fixed top, sun and moon on the photo's corner like desktop */
  .dn { align-content: start; padding-top: 96px; }
  .dn__photo { margin-top: 0; position: relative; }
  .dn__sun, .dn__moon { width: 66px; right: 8px; top: 70px; z-index: 3; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .wall__col { animation: none; } }

@media (max-width: 820px) { .spread__diy { bottom: -14px; } .spread__plate.is-stacked { margin-bottom: 62px; } }

.hero-wait .hero__copy, .hero-wait .prop, .hero-wait .hero__notes, .hero-wait .hero__seeds, .hero-wait .hero__rays { visibility: hidden; }

/* the cut-out spread plates carry their own transparency, no rectangle edges to mask */
.spread__svg, .spread__plate.is-stacked .spread__svg { -webkit-mask-image: none !important; mask-image: none !important; }

@media (max-width: 820px) {
  /* compact order pill, bottom-right */
  .orderbar { left: auto; right: 12px; min-height: 50px; padding: 0 16px 0 14px; gap: 10px; font-size: 15px; }
  .orderbar strong { display: none; }
  .orderbar::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.3 10.2a2 2 0 0 1-2 1.8H8.3a2 2 0 0 1-2-1.8L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.3 10.2a2 2 0 0 1-2 1.8H8.3a2 2 0 0 1-2-1.8L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat; }
  .orderbar span:last-child { font-weight: 800; color: var(--mustard); }
  /* keep the spread's Add button clear of the pill */
  .spread__pin { padding-bottom: 76px; }
}

[hidden] { display: none !important; }

/* ==================================================================== GPU budget (kept last)
   Large permanent layers, live drop-shadows on moving images, infinite animations and big masks
   were exhausting the GPU on some machines and stalling the whole browser. */
.wedge, .bun-layer, .prop, .table__wheel, .plate img, .book, .book__cover, .knife,
.favs__track, .marquee__row, .wall__col, .hero__rays { will-change: auto !important; }
.prop, .plate img, .knife, .cover__logo, .close__map iframe { filter: none !important; }
.plate img { object-fit: contain; }
.hero__rays { animation: none !important; transform: translate(-50%, -50%); }
.diybtn { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(255, 241, 212, 0.1); }
.spread__svg { overflow: visible; }
.wall__grid { -webkit-mask-image: none !important; mask-image: none !important; position: relative; }
.wall__grid::before, .wall__grid::after { content: ""; position: absolute; left: 0; right: 0; height: 12%; z-index: 2; pointer-events: none; }
.wall__grid::before { top: 0; background: linear-gradient(var(--maroon), rgba(74, 17, 19, 0)); }
.wall__grid::after { bottom: 0; background: linear-gradient(rgba(74, 17, 19, 0), var(--maroon)); }
@media (max-width: 820px) {
  .wall__col { animation-play-state: paused; }
  .wall.is-live .wall__col { animation-play-state: running; }
  .spread__pin { padding-top: 100px; }
}

@media (max-width: 820px) { .spread__plate.is-stacked .spread__svg { overflow: hidden; aspect-ratio: 670 / 545; } .spread__plate.is-stacked .spread__svg + .spread__svg { margin-top: -18%; } }

/* hero curtain: the stage stays put while the nashta table slides up over it */
.hero { margin-bottom: -100svh; }
.table { position: relative; z-index: 2; box-shadow: 0 -18px 40px rgba(90, 40, 0, 0.18); }

.hero { height: 310svh; }
@media (max-width: 820px) { .hero { height: 290svh; } }

/* chef's notes live inside the bun box, so arrows land just short of the bun at every size */
.hero__bun .hero__notes { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.hero__bun .note { position: absolute; will-change: transform; white-space: nowrap; font-size: clamp(19px, 1.5vw, 27px); }
.hero__bun .note--top { left: 63% !important; top: -3% !important; rotate: 4deg; }
.hero__bun .note--top svg { left: -118px; top: 30px; width: 120px; transform: none; }
.hero__bun .note--maska { left: 96% !important; top: 47% !important; rotate: -3deg; }
.hero__bun .note--maska svg { left: -128px; top: 6px; width: 120px; transform: none; }
.hero__bun .note--base { left: -6% !important; top: 88% !important; text-align: right; rotate: -4deg; }
.hero__bun .note--base svg { left: 100%; top: -46px; width: 120px; margin-left: 4px; transform: none; }
@media (max-width: 820px) {
  .hero__bun .note { font-size: 15px; }
  .hero__bun .note--top { left: 58% !important; top: -14% !important; }
  .hero__bun .note--top svg { left: -64px; top: 18px; width: 60px; }
  .hero__bun .note--maska { display: block; left: 58% !important; top: 99% !important; }
  .hero__bun .note--maska svg { left: -50px; top: -34px; width: 56px; transform: rotate(35deg); }
  .hero__bun .note--base { display: block; left: 0% !important; top: 99% !important; text-align: left; }
  .hero__bun .note--base svg { left: 100%; top: -36px; width: 56px; margin-left: 0; }
}

/* notes + arrows scale with the bun box (--size), so tips land in the same spot at every size */
@media (min-width: 821px) {
  .hero__bun .note { font-size: calc(var(--size) * 0.034); }
  .hero__bun .note--top { left: 58% !important; top: 10% !important; }
  .hero__bun .note--top svg { left: -4.2em; top: 1.2em; width: 4.3em; }
  .hero__bun .note--maska { left: 92% !important; top: 48% !important; }
  .hero__bun .note--maska svg { left: -4.4em; top: 0.25em; width: 4.3em; }
  .hero__bun .note--base { left: -1% !important; top: 83% !important; }
  .hero__bun .note--base svg { top: -1.6em; width: 4.3em; margin-left: 0.15em; }
}

/* nashta table: bigger plates */
.table__wheel { --r: min(76svh, 44vw); }
.plate { width: min(80svh, 47vw); }
@media (max-width: 820px) {
  .table__wheel { --r: 60vw; }
  .plate { width: 90vw; }
}

/* the fold shadow is its own layer that fades with the cover, instead of popping in with the back face */
.book__face--back { box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45) !important; }
.book__page--right { box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45) !important; }
.book__gutter {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 64px; transform: translateX(-50%); z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(28, 10, 8, 0) 0%, rgba(28, 10, 8, 0.16) 42%, rgba(28, 10, 8, 0.26) 50%, rgba(28, 10, 8, 0.12) 58%, rgba(28, 10, 8, 0) 100%);
}
@media (max-width: 820px) { .book__gutter { display: none; } }
@media (prefers-reduced-motion: reduce) { .book__gutter { opacity: 1; } }

/* desktop fold shadow: lighter, spans both pages, sits above the open cover */
.book__gutter { z-index: 5; width: 90px; background: linear-gradient(90deg, rgba(28, 10, 8, 0) 0%, rgba(28, 10, 8, 0.07) 40%, rgba(28, 10, 8, 0.13) 50%, rgba(28, 10, 8, 0.07) 60%, rgba(28, 10, 8, 0) 100%); }

/* ==================================================================== PHONE NOTEBOOK: one page at a time */
@media (max-width: 820px) {
  .story__pin { height: 100lvh; min-height: 0; display: grid; place-items: center; padding: 86px 16px 20px; perspective: 1800px; overflow: hidden; }
  .book {
    --rule: clamp(24px, calc((100svh - 150px) / 21), 30px);
    width: min(86vw, 400px); height: min(calc(100svh - 120px), 660px); display: block; position: relative; transform-style: preserve-3d;
  }
  .book__page--right, .book__leaf, .book__cover { position: absolute; inset: 0; left: 0; width: 100%; height: 100%; }
  .book__page--right { z-index: 1; border-radius: 6px 14px 14px 6px; padding: var(--rule) 18px 20px 26px; }
  .book__leaf { z-index: 2; transform-origin: 0 50%; transform-style: preserve-3d; }
  .book__leaf .book__face--back { position: absolute; inset: 0; transform: none; border-radius: 6px 14px 14px 6px; padding: var(--rule) 18px var(--rule) 46px; box-shadow: 0 20px 40px rgba(20, 4, 2, 0.45); }
  .book__leaf .book__face--back::before { left: 32px; }
  .book__cover { z-index: 3; transform-origin: 0 50%; }
  .book__face--front { border-radius: 6px 16px 16px 6px; }
  .book__gutter { display: none; }
  .hand--date { font-size: calc(var(--rule) * 0.62); line-height: var(--rule); }
  .hand--title { font-size: calc(var(--rule) * 0.95); line-height: var(--rule); margin-bottom: var(--rule); }
  .story__lines .line { font-size: calc(var(--rule) * 0.95); line-height: var(--rule); margin-bottom: var(--rule); }
  .hand--body { font-size: calc(var(--rule) * 0.72); line-height: var(--rule); margin-bottom: var(--rule); max-width: none; }
  .hand--sign { font-size: calc(var(--rule) * 0.8); line-height: var(--rule); }
  .polaroid { width: 112px; }
  .polaroid figcaption { font-size: 15px; }
  .polaroid--a { right: 16px; bottom: 22px; top: auto; }
  .polaroid--b { left: 20px; right: auto; top: auto; bottom: 34px; transform: none; }
  .sticker--rating { width: 78px; height: 78px; right: 16px; bottom: 16px; }
  .sticker--stamp { display: grid; right: 108px; bottom: 26px; font-size: 13px; padding: 6px 10px; }
}

@media (max-width: 820px) {
  .book__cover .book__face--front, .book__leaf .book__face--back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
}

/* ==================================================================== REAL NOTEBOOK: boards + page edges */
:root { --leather: #5a1a17; }
.book__board {
  position: absolute; left: 50%; top: -12px; bottom: -12px; width: calc(50% + 12px); z-index: 0;
  border-radius: 3px 18px 18px 3px;
  background: radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.07), transparent 60%), repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 6px), var(--leather);
  box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45), inset 0 0 0 2px rgba(255, 241, 212, 0.1);
}
/* stacked page edges: the paper block shows a few sheets along the outer edge and the bottom */
.book__page--right {
  box-shadow: 1px 1px 0 #ece1ca, 3px 2px 0 #fffaf0, 4px 3px 0 #e2d5b9, 6px 4px 0 #fffaf0, 7px 5px 0 #d8c9ac, 9px 6px 0 #fbf4e4, 10px 7px 0 #cfbf9f !important;
}
.book__face--back {
  box-shadow: 1px 1px 0 #ece1ca, 3px 2px 0 #fffaf0, 4px 3px 0 #e2d5b9, 6px 4px 0 #fffaf0, 7px 5px 0 #d8c9ac, 9px 6px 0 #fbf4e4, 10px 7px 0 #cfbf9f !important;
}
/* the cover is a board, a little larger than the paper on its three outer edges */
.book__face--front { inset: -12px -12px -12px 0; border-radius: 3px 18px 18px 3px; }
.book__face--inner {
  inset: -12px -12px -12px 0; transform: rotateY(180deg) translateZ(-1px); border-radius: 3px 18px 18px 3px;
  background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 6px), #4a1412;
  box-shadow: inset -2px 0 0 rgba(255, 241, 212, 0.08);
}
.book__face--back { transform: rotateY(180deg) translateZ(1px); }

@media (max-width: 820px) {
  .book__board { left: 0; top: -10px; bottom: -10px; width: calc(100% + 10px); border-radius: 3px 16px 16px 3px; }
  .book__face--front, .book__face--inner { inset: -10px -10px -10px 0; }
  .book__leaf .book__face--back { transform: none; }
  .book__leaf-back {
    position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: 6px 14px 14px 6px; background-color: #fffaf0;
    background-image: repeating-linear-gradient(transparent 0 calc(var(--rule) - 1px), rgba(74, 120, 190, 0.22) calc(var(--rule) - 1px) var(--rule));
    background-position: 0 calc(var(--rule) * 1.5);
    box-shadow: 1px 1px 0 #ece1ca, 3px 2px 0 #fffaf0, 4px 3px 0 #e2d5b9, 6px 4px 0 #fffaf0, 7px 5px 0 #d8c9ac;
  }
}


@media (max-width: 820px) { .book { width: min(74vw, 360px); } }

/* left page: sheets fan out to the outer (left) edge; both stacks tucked inside the board */
.book__face--back { box-shadow: -1px 1px 0 #ece1ca, -3px 2px 0 #fffaf0, -4px 3px 0 #e2d5b9, -6px 4px 0 #fffaf0, -7px 5px 0 #d8c9ac, -9px 6px 0 #fbf4e4, -10px 7px 0 #cfbf9f !important; }
.book__face--inner { box-shadow: 0 30px 60px rgba(20, 4, 2, 0.45); border-radius: 18px 3px 3px 18px; }
@media (max-width: 820px) { .book__leaf .book__face--back { box-shadow: 1px 1px 0 #ece1ca, 3px 2px 0 #fffaf0, 4px 3px 0 #e2d5b9, 6px 4px 0 #fffaf0, 7px 5px 0 #d8c9ac !important; } }

.book__face--inner { inset: -12px 0 -12px -12px !important; }
@media (max-width: 820px) { .book__face--inner { inset: -10px 0 -10px -10px !important; } }

.book__face--inner { display: none !important; }
.book__board--left { left: -12px; width: calc(50% + 12px); border-radius: 18px 3px 3px 18px; opacity: 0; }
@media (max-width: 820px) { .book__board--left { display: none; } }
@media (prefers-reduced-motion: reduce) { .book__board--left { opacity: 1; } }

@media (min-width: 821px) {
  .story__pin { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .book { width: min(1060px, 88%); height: min(calc(100svh - var(--nav-h) - 150px), 600px); --rule: clamp(24px, calc((100svh - var(--nav-h) - 150px) / 17), 34px); }
  .book__board { top: -18px; bottom: -22px; width: calc(50% + 18px); }
  .book__board--left { left: -18px; }
  .book__face--front { inset: -18px -18px -22px 0; }
}

@media (min-width: 821px) { .polaroid { width: clamp(110px, 8.5vw, 145px); } .hand--sign { max-width: 14ch; } }

/* the left leather board is part of the turning page itself, so it rotates and settles with it */
@media (min-width: 821px) {
  .book__board--left { display: none !important; }
  .book__face--back {
    box-shadow: -1px 1px 0 #ece1ca, -3px 2px 0 #fffaf0, -4px 3px 0 #e2d5b9, -6px 4px 0 #fffaf0, -7px 5px 0 #d8c9ac, -9px 6px 0 #fbf4e4, -10px 7px 0 #cfbf9f,
      0 2px 0 18px #5a1a17 !important;
  }
}

/* spine: pages meet and curve down into the fold */
@media (min-width: 821px) {
  .book__face--back {
    box-shadow: -1px 1px 0 #ece1ca, -3px 2px 0 #fffaf0, -4px 3px 0 #e2d5b9, -6px 4px 0 #fffaf0, -7px 5px 0 #d8c9ac, -9px 6px 0 #fbf4e4, -10px 7px 0 #cfbf9f,
      -9px 2px 0 9px #5a1a17, -9px -7px 0 9px #5a1a17, -9px 11px 0 9px #5a1a17 !important;
  }
  .book__face--back::after, .book__page--right::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 15%; pointer-events: none; z-index: 1;
  }
  .book__face--back::after { right: 0; background: linear-gradient(90deg, rgba(60, 30, 10, 0) 0%, rgba(60, 30, 10, 0.05) 55%, rgba(60, 30, 10, 0.16) 85%, rgba(30, 10, 5, 0.32) 100%); }
  .book__page--right::after { left: 0; background: linear-gradient(270deg, rgba(60, 30, 10, 0) 0%, rgba(60, 30, 10, 0.05) 55%, rgba(60, 30, 10, 0.16) 85%, rgba(30, 10, 5, 0.32) 100%); }
  .book__board::after { content: ""; position: absolute; left: -7px; top: -2px; bottom: -2px; width: 14px; border-radius: 7px; background: linear-gradient(90deg, #3a0f0c, #6b231e 50%, #3a0f0c); }
}

/* desktop: stickers sit in the page flow under the last line, never over the text */
@media (min-width: 821px) {
  .book__face--back .sticker { position: relative; right: auto; left: auto; bottom: auto; top: auto; display: inline-grid; vertical-align: middle; margin: 4px 22px 0 0; }
}

@media (min-width: 821px) and (max-height: 760px) { .book__face--back .sticker--rating { width: 78px; height: 78px; } .book__face--back .sticker--rating strong { font-size: 19px; } .book__face--back .sticker--rating span { font-size: 9px; } .book__face--back .sticker--stamp { font-size: 12px; padding: 5px 10px; } .book__face--back .story__lines .line:last-child { margin-bottom: 8px; } }

@media (min-width: 821px) {
  .book__face--back .sticker { position: absolute !important; margin: 0; display: grid; }
  .book__face--back .sticker--rating { right: 36px !important; top: 38% !important; bottom: auto !important; left: auto !important; }
  .book__face--back .sticker--stamp { right: 30px !important; top: calc(38% + 130px) !important; bottom: auto !important; left: auto !important; }
  .hand--hint { left: 47% !important; right: auto; bottom: 14% !important; max-width: 11ch; }
}

@media (min-width: 821px) { .book__face--back .sticker--rating { top: 21% !important; } .book__face--back .sticker--stamp { top: calc(21% + 112px) !important; } }

/* ==================================================================== PHONE POLISH (kept last) */
@media (max-width: 820px) {
  /* sunburst: centred on the bun */
  .hero__rays { left: 50% !important; top: 35% !important; width: 170vmax !important; background: url("../assets/hero/rays.webp") center / 100% 100% no-repeat !important; -webkit-mask-image: none !important; mask-image: none !important; }
  /* notes hug the bun (its box has empty margin around the bun) */
  .hero__bun .note--top { left: 52% !important; top: 2% !important; }
  .hero__bun .note--top svg { left: -58px; top: 16px; width: 54px; }
  .hero__bun .note--base { left: 2% !important; top: 84% !important; }
  .hero__bun .note--base svg { left: 62%; top: -30px; width: 50px; }
  .hero__bun .note--maska { left: 56% !important; top: 86% !important; }
  .hero__bun .note--maska svg { left: -2px; top: -34px; width: 50px; transform: scaleX(-1) rotate(10deg); }

  /* notebook: pocket-notebook proportions, clear of nav and order pill */
  .story__pin { padding: 80px 0 90px; }
  .book { width: min(76vw, 340px); height: min(calc(min(76vw, 340px) * 1.5), calc(100svh - 190px)); --rule: calc(min(min(76vw, 340px) * 1.5, 100svh - 190px) / 20); }
  .hand--title { font-size: calc(var(--rule) * 0.9); }
  .story__lines .line { font-size: calc(var(--rule) * 0.86); }
  .hand--body { font-size: calc(var(--rule) * 0.64); }
  .hand--sign { font-size: calc(var(--rule) * 0.74); }
  /* only the paper block has stacked edges; the turning page is a single sheet */
  .book__leaf .book__face--back { box-shadow: 0 1px 2px rgba(28, 10, 8, 0.15) !important; }
  .book__leaf-back { box-shadow: 0 1px 2px rgba(28, 10, 8, 0.15) !important; }
  .polaroid { width: 92px; }
  .polaroid figcaption { font-size: 13px; }
  .polaroid--a { right: 12px; bottom: 14px; }
  .polaroid--b { left: 14px; bottom: 24px; }
  .sticker--rating { width: 66px; height: 66px; right: 12px; bottom: 12px; }
  .sticker--rating strong { font-size: 15px; }
  .sticker--rating span { font-size: 7px; }
  .sticker--stamp { right: 88px; bottom: 20px; font-size: 11px; padding: 4px 8px; }
}

.hero__rays { transform: none; }
@media (prefers-reduced-motion: reduce) { .hero__rays { transform: translate(-50%, -50%); } }

.note__m { display: none; }
@media (max-width: 820px) {
  /* bun box is 80vw; the bun itself spans 18-80% across and 24-80% down. Arrow tips land on its edge. */
  .hero__bun .note { font-size: 14px; }
  .hero__bun .note--top { left: 58% !important; top: 3% !important; }
  .hero__bun .note--top svg { left: -15px; top: 46px; width: 50px; }
  .hero__bun .note--base { left: 2% !important; top: 82% !important; }
  .hero__bun .note--base svg { left: 35px; top: -30px; width: 50px; margin: 0; }
  .hero__bun .note--maska { left: 58% !important; top: 82% !important; }
  .hero__bun .note--maska svg:not(.note__m) { display: none; }
  .hero__bun .note--maska .note__m { display: block; position: absolute; left: 58px; top: -52px; width: 64px; transform: none; }

  /* notebook holds its place; the open cover and turned page show as a strip in the left margin */
  .book { margin-left: auto; margin-right: auto; }
  .book__face--inner { display: block !important; inset: 0 !important; transform: rotateY(180deg) translateZ(-1px); border-radius: 6px 3px 3px 6px; box-shadow: none; }
  /* fold: pages dip into the spine */
  .book__page--right::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18%; pointer-events: none; background: linear-gradient(270deg, rgba(60,30,10,0) 0%, rgba(60,30,10,.06) 55%, rgba(60,30,10,.18) 85%, rgba(30,10,5,.34) 100%); }
  .book__leaf-back::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18%; pointer-events: none; background: linear-gradient(90deg, rgba(60,30,10,0) 0%, rgba(60,30,10,.06) 55%, rgba(60,30,10,.18) 85%, rgba(30,10,5,.34) 100%); }
}

@media (max-width: 820px) {
  .book__face--inner {
    background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.08), transparent 60%), repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 2px, transparent 2px 6px), #7a2a23 !important;
    box-shadow: inset 0 0 0 2px rgba(255, 241, 212, 0.18), inset -14px 0 18px -10px rgba(0,0,0,.45), -6px 10px 24px rgba(0,0,0,.35) !important;
  }
  .book__face--inner::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(244, 165, 28, 0.5); border-radius: 6px; }
}

@media (max-width: 820px) {
  .book__leaf, .book__cover { will-change: transform !important; }
  .book__page--right { transform: translateZ(0); }
  .book__page--right [data-drag], .book__page--right .polaroid { transform-style: flat; }
  .book__leaf .book__face--back, .book__leaf-back { box-shadow: 0 1px 2px rgba(28,10,8,.18) !important; }
  .book__face--inner { box-shadow: inset 0 0 0 2px rgba(255,241,212,.18), inset -14px 0 18px -10px rgba(0,0,0,.45) !important; }
}

@media (max-width: 820px) { .spread__plate.is-stacked .spread__svg { overflow: visible !important; aspect-ratio: 800 / 640 !important; } .spread__plate.is-stacked .spread__svg + .spread__svg { margin-top: -26% !important; } }

/* ==================================================================== PHONE NAV: burger + dropdown */
.burger, .mnav { display: none; }
@media (max-width: 820px) {
  .nav .cartbtn { display: none; }
  .burger {
    display: grid; place-content: center; gap: 5px; width: 48px; height: 44px; border-radius: 999px;
    background: var(--maroon); border: 2px solid var(--ink); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--cream); transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .mnav {
    display: block; position: fixed; z-index: 99; left: 12px; right: 12px; top: 74px;
    background: var(--cream); border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--pop); padding: 10px 10px 14px;
    transform-origin: top center; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
  }
  .mnav[hidden] { display: block !important; opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; visibility: hidden; }
  .mnav nav { display: grid; }
  .mnav nav a { display: block; padding: 14px 12px; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 26px; color: var(--ink); text-decoration: none; border-bottom: 1.5px dashed rgba(28,10,8,.18); }
  .mnav nav a:active { background: rgba(244,165,28,.25); }
  .mnav__status { margin: 12px 12px 10px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
  .mnav__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
  .mnav__status.is-closed::before { background: #b3261e; }
  .mnav__cta { width: 100%; }
}

html, body, a, button, label, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* hero headline in the "Hungry yet?" style: cream letters, maroon outline + drop */
.hero h1 { color: var(--cream); -webkit-text-stroke: 0.045em var(--maroon); paint-order: stroke fill; text-shadow: 0 0.05em 0 var(--maroon); letter-spacing: -0.02em; line-height: 1.02; }
.hero h1 span { color: var(--cream); }

.hero h1 .h1-maska { color: #ffd97a; }
.hero h1 .h1-chai { color: var(--mustard-2); }

.hero h1 .h1-bun { color: var(--mustard-2); }
.hero h1 .h1-maska { color: var(--cream); }
.hero h1 .h1-chai { color: #ffd97a; }

.hero h1 .h1-bun { color: #f7b84a; }

.dn__sun circle { fill: #ffd97a; }

@media (max-width: 820px) { .hero h1 span { display: block; } .hero h1 { font-size: 42px; line-height: 1.02; } }

.dn { column-gap: clamp(64px, 8vw, 140px); }
@media (max-width: 820px) { .dn { row-gap: 28px !important; } }

.mutebtn { display: none; }
@media all {
  .mutebtn {
    display: grid; place-items: center; position: absolute; right: 16px; top: 96px; z-index: 6; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,241,212,.1); border: 1.5px solid rgba(255,241,212,.5); color: var(--cream); cursor: pointer;
  }
  .mutebtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mutebtn .mutebtn__on { display: none; }
  .mutebtn[aria-pressed="false"] { background: var(--mustard); color: var(--ink); border-color: var(--ink); }
  .mutebtn[aria-pressed="false"] .mutebtn__on { display: block; }
  .mutebtn[aria-pressed="false"] .mutebtn__off { display: none; }
}

@media (max-width: 820px) { .mutebtn { top: auto; } .spread__caption { padding-right: 56px; } }

@media (max-width: 820px) { .mutebtn { position: absolute; top: calc(var(--mute-top, 146px)); } }

/* hero props: cup tucked in beside the bun, both a size up */
.prop--chai { width: clamp(200px, 17vw, 330px) !important; left: 44% !important; top: max(18%, calc(var(--nav-h) + 30px)) !important; }
.prop--knife { width: clamp(150px, 12vw, 240px) !important; left: 82% !important; top: 66% !important; }
@media (min-width: 821px) and (max-width: 1280px) { .prop--chai { left: 45% !important; width: clamp(160px, 15vw, 240px) !important; } }
@media (max-width: 820px) {
  .prop--chai { width: 118px !important; left: 6% !important; top: max(15%, calc(var(--nav-h) + 16px)) !important; }
  .prop--knife { width: 86px !important; left: 80% !important; top: 30% !important; }
}

.prop--chai { left: 37% !important; }
.prop--knife { left: 80% !important; top: 56% !important; }
@media (min-width: 821px) and (max-width: 1280px) { .prop--chai { left: 39% !important; } }

.prop--knife { left: 84% !important; top: 63% !important; }

.prop--knife { width: clamp(140px, 10vw, 200px) !important; left: 85% !important; top: 61% !important; }

@media (min-width: 821px) {
  .spread__diy { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
  .spread__diy .mutebtn { position: static !important; width: 50px; height: 50px; flex: none; }
  .spread__diy .spread__hint { flex-basis: 100%; text-align: center; }
}

/* Phone prop slots: last in the file so later desktop tweaks cannot override them. */
@media (max-width: 820px) {
  .prop--chai { width: 118px !important; left: 6% !important; top: max(15%, calc(var(--nav-h) + 16px)) !important; }
  .prop--knife { width: 86px !important; left: 80% !important; top: 30% !important; }
}

/* Nav: links left, logo centred, status + order right (logo stays centred when links hide). */
.nav { grid-template-columns: 1fr auto 1fr !important; grid-template-areas: "links logo right"; }
.nav__links { grid-area: links; justify-content: flex-start !important; }
.nav__logo { grid-area: logo; justify-self: center; }
.nav__right { grid-area: right; justify-self: end; }

/* Phone dropdown: unfolds down out of the nav bar, links follow one by one. */
@media (max-width: 820px) {
  .mnav {
    top: 62px !important; z-index: 99;
    clip-path: inset(0 0 0 0 round 22px);
    transform-origin: top center;
    transition: clip-path 420ms cubic-bezier(.22,1,.36,1), transform 420ms cubic-bezier(.22,1,.36,1), opacity 240ms ease, visibility 0s linear 0s !important;
  }
  .mnav[hidden] {
    opacity: 0; transform: translateY(-14px) scaleY(.92); clip-path: inset(0 0 100% 0 round 22px);
    transition: clip-path 300ms cubic-bezier(.4,0,.6,1), transform 300ms cubic-bezier(.4,0,.6,1), opacity 260ms ease, visibility 0s linear 300ms !important;
  }
  .mnav nav a, .mnav__status, .mnav__cta {
    transition: opacity 320ms ease, transform 420ms cubic-bezier(.22,1,.36,1);
    transition-delay: calc(90ms + var(--i, 0) * 45ms);
  }
  .mnav[hidden] nav a, .mnav[hidden] .mnav__status, .mnav[hidden] .mnav__cta { opacity: 0; transform: translateY(-10px); transition-delay: 0ms; transition-duration: 160ms; }
  .mnav nav a:nth-child(2) { --i: 1; } .mnav nav a:nth-child(3) { --i: 2; } .mnav nav a:nth-child(4) { --i: 3; }
  .mnav__status { --i: 4; } .mnav__cta { --i: 5; }
}
@media (prefers-reduced-motion: reduce) { .mnav, .mnav * { transition-duration: 0ms !important; transition-delay: 0ms !important; } }

/* Phone nav: menu button left, logo right; the pill itself grows to reveal the links. */
@media (max-width: 820px) {
  .nav {
    height: auto !important; row-gap: 0; padding: 0 14px 0 6px !important;
    grid-template-columns: auto 1fr auto !important; grid-template-rows: 54px 0fr;
    grid-template-areas: "right . logo" "drop drop drop" !important;
    border-radius: 29px !important;
    transition: grid-template-rows 440ms cubic-bezier(.22,1,.36,1), transform 400ms var(--ease-out) !important;
  }
  .nav.is-open { grid-template-rows: 54px 1fr; }
  .nav__right { justify-self: start !important; }
  .nav__logo { justify-self: end !important; }
  .nav > .mnav {
    grid-area: drop; position: static !important; min-height: 0; overflow: hidden;
    background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    padding: 0 !important; clip-path: none !important; transform: none !important; opacity: 1 !important;
    transition: visibility 0s linear 0s !important;
  }
  .nav > .mnav[hidden] { transition: visibility 0s linear 440ms !important; }
  .nav > .mnav nav { padding-top: 2px; border-top: 1.5px dashed rgba(28,10,8,.18); margin: 0 4px 0 8px; }
  .nav > .mnav .mnav__status { margin: 12px 12px 10px 20px; }
  .nav > .mnav .mnav__cta { width: auto; margin: 0 0 14px 8px; display: flex; }
}
@media (max-width: 820px) {
  .nav { padding-left: 8px !important; }
  .nav > .mnav[hidden] nav a, .nav > .mnav[hidden] .mnav__status, .nav > .mnav[hidden] .mnav__cta { transform: translateY(6px); }
}

/* Nav (final): logo left, links centred, status + order right. */
.nav { grid-template-columns: auto 1fr auto !important; grid-template-areas: "logo links right" !important; }
.nav__links { justify-content: center !important; }
.nav__logo { justify-self: start !important; }
.nav__right { justify-self: end !important; }
@media (max-width: 820px) {
  .nav { grid-template-areas: "logo . right" "drop drop drop" !important; padding: 0 6px 0 14px !important; }
  /* two-line burger that crosses into an X */
  .burger { gap: 6px !important; }
  .burger span:nth-child(3) { display: none; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg) !important; }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 1 !important; transform: translateY(-4.25px) rotate(-45deg) !important; }
}

@media (max-width: 820px) { .nav > .mnav .mnav__cta { margin: 0 4px 14px 8px !important; } }
@media (max-width: 820px) {
  .nav, .nav.is-open { grid-template-rows: 54px auto !important; }
  .nav > .mnav { display: grid !important; grid-template-rows: 1fr; align-self: start; transition: grid-template-rows 440ms cubic-bezier(.22,1,.36,1), visibility 0s linear 0s !important; }
  .nav > .mnav[hidden] { grid-template-rows: 0fr; transition: grid-template-rows 360ms cubic-bezier(.4,0,.6,1), visibility 0s linear 360ms !important; }
  .mnav__inner { min-height: 0; overflow: hidden; }
}

/* Links centred on the whole bar, so the status text changing width can't shift them. */
.nav { grid-template-columns: 1fr auto 1fr !important; }
.hero-wait .nav { opacity: 0; }
