/* Massi's Kitchen — warm like a good host, quiet like a good office.
   Mobile first. Breakpoints: 480, 768, 1024, 1440.
   Brick leads. Everything else stays quiet. */

:root {
  --brick: #8A3220;        /* the base colour, from the logo. 7.3:1 on cream */
  --cream: #F6F1E7;        /* page ground. never pure white */
  --cream-light: #FBF8F1;  /* cards, the Lunch Card, form fields */
  --parchment: #E8D8BB;    /* logo lettering, text on brick, soft panels */
  --parchment-soft: #F0E6D3;
  --sage: #6F7F60;         /* the calm second colour: small marks, ticks */
  --cocoa: #2F2620;        /* text and buttons */
  --cocoa-soft: #5B4B40;   /* quieter text, 7.4:1 on cream */
  --line: rgba(47, 38, 32, 0.12);
  --line-strong: #8C7B6E;  /* form borders, 3.8:1 */
  --focus: var(--brick);

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: 20px;
  --header-h: 72px;
  --sec: clamp(5rem, 3.5rem + 7vw, 11rem);
  --radius: 18px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --header-h: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: clip; }
html:focus-within { scroll-behavior: smooth; }
html.rm:focus-within { scroll-behavior: auto; }
body {
  margin: 0; background: var(--cream); color: var(--cocoa);
  font: 400 clamp(1.0625rem, 1.15vw, 1.125rem)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  padding-top: var(--header-h);
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--cocoa); color: var(--cream); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Paper grain, 3.5% */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.15 0 0 0 0 0.12 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ---------- Layout & type ---------- */
.wrap { width: 100%; max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.measure { max-width: 100%; }
@media (min-width: 1024px) { .measure { max-width: 46rem; } }

.label { font: 600 0.8125rem/1.35 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa-soft); margin-bottom: 1.1rem; }
.h2 { font: 500 clamp(2.125rem, 4.6vw, 3.75rem)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.h2 em { color: var(--brick); }
.h3 { font: 500 clamp(1.375rem, 2.2vw, 1.875rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.body { max-width: 60ch; margin-top: 1.25rem; text-wrap: pretty; }
.body-small { font-size: 0.9375rem; line-height: 1.55; color: var(--cocoa-soft); max-width: 62ch; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--brick); color: var(--cream);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cocoa); transform: scaleX(0); transform-origin: left center; transition: transform 250ms var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa); transition: color 250ms var(--ease); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--cream); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--brick); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- The badge (logo) ---------- */
.badge { display: inline-block; flex: none; border-radius: 50%; }
.badge svg, .badge img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.badge--sm { width: 40px; height: 40px; }
.badge--lg { width: clamp(120px, 16vw, 190px); height: clamp(120px, 16vw, 190px); filter: drop-shadow(0 14px 24px rgba(138, 50, 32, 0.22)); }
@media (min-width: 1024px) { .badge--sm { width: 52px; height: 52px; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: height 400ms var(--ease), background-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.site-header.is-scrolled {
  height: 64px; background: rgba(246, 241, 231, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__name { font: 600 1rem/1 var(--serif); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brick); white-space: nowrap; }
@media (max-width: 399px) { .brand__name { display: none; } }
@media (min-width: 1024px) { .brand__name { font-size: 1.1875rem; } }
.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 0.9375rem; text-decoration: none; color: var(--cocoa); background: linear-gradient(var(--brick), var(--brick)) 0 calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size 300ms var(--ease), color 200ms; }
  .site-nav a:hover { color: var(--brick); background-size: 100% 1.5px; }
  .site-header__inner { gap: 32px; }
}

/* ---------- 1. Hero: Massi's kitchen ---------- */
.hero { padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 6rem); overflow-x: clip; }
.hero__grid { display: grid; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; }
.hero__copy .label { margin-bottom: 1.5rem; }
.hero__title { font: 500 clamp(3.25rem, 8.4vw, 6.75rem)/0.98 var(--serif); letter-spacing: -0.025em; }
.hero__title em { color: var(--brick); }
.hero__sub { margin-top: 1.5rem; max-width: 30ch; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 2rem; }
.hero__small { margin-top: 1rem; font-size: 0.9375rem; color: var(--cocoa-soft); max-width: 40ch; }
.hero__visual { position: relative; }
.hero__scene { position: relative; width: 100%; max-width: 700px; margin-inline: auto; }
.hero__scene > svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero__bubble { left: 30%; top: 2%; white-space: nowrap; }
.hero__bubble::after { content: ''; position: absolute; left: 18px; bottom: -9px; width: 14px; height: 14px; background: var(--cream-light); border: 2px solid var(--brick); border-top: 0; border-left: 0; transform: rotate(45deg) skew(8deg, 8deg); }
.hero__hello { position: absolute; left: 20%; top: 14%; width: 30%; height: 52%; border: 0; border-radius: 40%; background: none; cursor: pointer; }
.hero__hello:focus-visible { outline-offset: 4px; }
@media (min-width: 1024px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 1rem 4rem; }
  .hero__grid { grid-template-columns: 1fr 1.08fr; gap: 24px; }
  .hero__scene { margin-right: -6%; }
}
/* hand-drawn underline under the word that matters */
.hero__title em, .h2 em { position: relative; white-space: nowrap; }
.hero__title em::after, .h2 em::after { content: ''; position: absolute; left: 1%; right: 6%; bottom: 0.06em; height: 0.17em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C30 3 52 14 80 8 S130 4 156 9 S186 12 198 6' fill='none' stroke='%238A3220' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* a scribbled note by the button */
.scribble { display: inline-flex; align-items: center; gap: 2px; color: var(--brick); font: 700 1.1875rem/1 'Kalam', 'Comic Sans MS', cursive; transform: rotate(-5deg); }
.scribble svg { transform: scaleX(-1) rotate(8deg); }
@media (max-width: 479px) { .scribble { display: none; } }

/* kitchen life */
.k-steam path { fill: none; stroke: #FFFDF8; stroke-width: 6; stroke-linecap: round; opacity: 0; animation: steam 3.4s ease-in-out infinite; }
.k-steam__2 { animation-delay: -1.1s !important; } .k-steam__3 { animation-delay: -2.3s !important; }
@keyframes steam { 0% { opacity: 0; transform: translateY(16px); } 35% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-34px); } }
.k-hang { animation: hang 4.6s ease-in-out infinite; }
.k-hang--2 { animation-duration: 5.4s; animation-delay: -1.3s; } .k-hang--3 { animation-duration: 3.8s; animation-delay: -2.1s; }
@keyframes hang { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.k-rider { animation: ride 15s linear infinite; }
@keyframes ride { 0% { transform: translateX(-70px); } 55% { transform: translateX(270px); } 100% { transform: translateX(270px); } }
.k-whistle { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: whistle 7.5s ease-out infinite; }
@keyframes whistle { 0%, 68% { opacity: 0; transform: translateY(10px) scale(0.8); } 74% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-16px); } }
.k-plant { transform-box: fill-box; transform-origin: 50% 100%; animation: plant 5s ease-in-out infinite; }
@keyframes plant { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.k-sun { transform-box: fill-box; transform-origin: center; }
@keyframes sunpulse { 50% { opacity: 0.7; transform: scale(1.1); } }
.is-off, .is-off * { animation-play-state: paused !important; }
html:not(.is-alive) .kscene *, html:not(.is-alive) .journey * { animation-play-state: paused !important; }

/* ---------- The Lunch Card (one component, used everywhere) ---------- */
.lcard {
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 6 / 5;
  background: var(--cream-light); border-radius: 14px; color: var(--cocoa); text-align: left;
  box-shadow: 0 0 0 1px rgba(47, 38, 32, 0.06), 0 22px 44px -18px rgba(47, 38, 32, 0.28), 0 2px 6px rgba(47, 38, 32, 0.06);
}
.lcard__in { position: absolute; inset: 0; padding: 7.5cqw 8cqw 6.5cqw; display: flex; flex-direction: column; }
.lcard__top { display: flex; justify-content: space-between; align-items: center; gap: 4cqw; }
.lcard__day { font: 600 max(10.5px, 3.6cqw)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); }
.veg { flex: none; width: max(12px, 4.6cqw); height: max(12px, 4.6cqw); border: 1.5px solid var(--sage); border-radius: 3px; display: grid; place-items: center; }
.veg::after { content: ''; width: 45%; height: 45%; border-radius: 50%; background: var(--sage); }
.lcard__dish { margin-top: 4.5cqw; font: 500 max(19px, 7.6cqw)/1.15 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.lcard__line { margin-top: 2.5cqw; font: 400 max(12.5px, 4.3cqw)/1.45 var(--sans); color: var(--cocoa-soft); text-wrap: pretty; }
.lcard__foot { margin-top: auto; padding-top: 4.5cqw; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.lcard__ask { font: 500 max(13px, 4.6cqw)/1.2 var(--sans); }
.lcard__qr { width: max(36px, 14cqw); height: max(36px, 14cqw); padding: 1.6cqw; border: 1px solid var(--line); border-radius: 8px; color: var(--cocoa); background: #fff; }
.lcard__qr svg { width: 100%; height: 100%; }
.lcard__back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.5cqw; padding: 7cqw; text-align: center; }
.lcard__back .lcard__qr { width: 34cqw; height: 34cqw; padding: 3cqw; }
.lcard__back-q { font: 500 max(20px, 7.4cqw)/1.15 var(--serif); }
.lcard__back-s { font: 400 max(12.5px, 4.2cqw)/1.4 var(--sans); color: var(--cocoa-soft); max-width: 28ch; }

/* ---------- 2. How a day runs: the journey of lunch ---------- */
.day { position: relative; padding-top: var(--sec); padding-bottom: clamp(3rem, 6vw, 5rem); }
.day__head { margin-bottom: clamp(0.5rem, 2vw, 1.5rem); }
.day__sub { margin-top: 0.6rem; font: 700 clamp(1.125rem, 1.6vw, 1.375rem)/1.3 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); transform: rotate(-1.5deg); transform-origin: left; }
.journey { position: relative; }
.journey__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.journey__track { position: relative; flex: none; height: min(calc(100svh - var(--header-h) - 1.5rem), 860px); aspect-ratio: 4400 / 900; will-change: transform; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jnote { position: absolute; top: 3%; z-index: 2; width: clamp(180px, 17vw, 260px); padding: 16px 18px 18px; background: var(--cream-light); border-radius: 3px;
  box-shadow: 0 14px 26px -16px rgba(47, 38, 32, 0.5), 0 1px 0 rgba(47, 38, 32, 0.05); transform: rotate(-2deg); }
.jnote--1, .jnote--3 { transform: rotate(1.8deg); top: 5%; }
.jnote__tape { position: absolute; left: 50%; top: -11px; width: 76px; height: 22px; margin-left: -38px; background: rgba(214, 196, 162, 0.75); transform: rotate(-5deg); }
.jnote__time { font: 500 clamp(1.5rem, 2.1vw, 2rem)/1 var(--serif); color: var(--brick); }
.jnote__title { margin-top: 8px; font: 600 1rem/1.3 var(--sans); }
.jnote__body { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--cocoa-soft); }
@media (max-width: 767px) {
  .journey__pin { align-items: flex-end; }
  .journey__track { height: min(62svh, 520px); }
  .jnote { width: 150px; padding: 10px 12px 12px; top: 1%; }
  .jnote--1, .jnote--3 { top: 2%; }
  .jnote__time { font-size: 1.25rem; }
  .jnote__title { font-size: 0.875rem; margin-top: 4px; }
  .jnote__body { font-size: 0.8125rem; line-height: 1.4; }
  .jnote__tape { width: 56px; height: 18px; margin-left: -28px; top: -9px; }
  .peek { width: 88px; }
  .peek__bubble { font-size: 0.875rem; padding: 8px 12px 7px; }
}
/* no GSAP or reduced motion: swipe sideways instead */
.journey.is-static .journey__pin { height: auto; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 12px; }
.journey.is-static .journey__track { height: min(78vh, 700px); }
.j-cloud { animation: cloud 40s linear infinite alternate; } .j-cloud--1 { animation-duration: 52s; } .j-cloud--2 { animation-duration: 64s; }
@keyframes cloud { from { transform: translateX(-60px); } to { transform: translateX(90px); } }
.j-smoke circle { transform-box: fill-box; transform-origin: center; animation: smoke 3.6s ease-out infinite; }
.j-smoke circle:nth-child(2) { animation-delay: -1.2s; } .j-smoke circle:nth-child(3) { animation-delay: -2.4s; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(16px) scale(0.6); } 30% { opacity: 0.85; } 100% { opacity: 0; transform: translateY(-34px) scale(1.3); } }
.j-ping circle { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.j-ping circle:nth-child(2) { animation-delay: 1.2s; }
@keyframes ping { 0% { opacity: 0.7; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.6); } }
.j-arms-up { transform-box: fill-box; transform-origin: 50% 100%; animation: cheer 1.1s ease-in-out infinite; }
@keyframes cheer { 50% { transform: translateY(-7px); } }
.j-heart { transform-box: fill-box; transform-origin: center; animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.05); } 22% { transform: scale(1.02); } 30% { transform: scale(1.04); } }

/* ---------- 3. The brick band ---------- */
.band { background: var(--brick); color: var(--cream); padding-block: clamp(4.5rem, 8vw, 7rem); --focus: var(--parchment);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V14 C75 2 150 2 225 12 S375 26 450 14 S560 4 600 12 V28 Z'/%3E%3C/svg%3E") top left / 600px 28px repeat-x, linear-gradient(#000 0 0) 0 27px / 100% calc(100% - 54px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0 V14 C80 26 160 26 240 16 S390 2 470 12 S570 24 600 16 V0 Z'/%3E%3C/svg%3E") bottom left / 600px 28px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V14 C75 2 150 2 225 12 S375 26 450 14 S560 4 600 12 V28 Z'/%3E%3C/svg%3E") top left / 600px 28px repeat-x, linear-gradient(#000 0 0) 0 27px / 100% calc(100% - 54px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0 V14 C80 26 160 26 240 16 S390 2 470 12 S570 24 600 16 V0 Z'/%3E%3C/svg%3E") bottom left / 600px 28px repeat-x; }
.band__inner { display: grid; gap: 1.25rem; align-items: center; }
.band__title { font: 500 clamp(1.75rem, 3.4vw, 2.875rem)/1.18 var(--serif); letter-spacing: -0.01em; max-width: 24ch; text-wrap: balance; }
.band__body { color: var(--parchment); font-size: 1.0625rem; max-width: 30ch; }
@media (min-width: 1024px) { .band__inner { grid-template-columns: 2fr 1fr; gap: 64px; } }

/* ---------- 4. The week ---------- */
.week__tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.tab { position: relative; min-height: 52px; padding: 12px 4px; border: 0; background: none; cursor: pointer; font: 600 0.9375rem/1.2 var(--sans); color: var(--cocoa-soft); text-align: center; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brick); transform: scaleX(0); transition: transform 400ms var(--ease); }
.tab[aria-selected="true"] { color: var(--cocoa); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab__long { display: none; }
.tab__today { display: block; font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brick); margin-top: 5px; }
@media (min-width: 768px) { .tab__short { display: none; } .tab__long { display: inline; } .tab { font-size: 1rem; text-align: left; padding-inline: 0; } }
.week__panels { display: grid; margin-top: clamp(2rem, 4vw, 3rem); }
.panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease), visibility 0s linear 400ms; }
.panel.is-active { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease), visibility 0s; }
.panel__grid { display: grid; gap: 32px; }
.panel__theme { font: 500 clamp(1.875rem, 4vw, 3rem)/1.08 var(--serif); letter-spacing: -0.015em; }
.panel__line { margin-top: 0.6rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--cocoa-soft); }
.panel__card { width: min(100%, 340px); }
.panel__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.panel__comp { margin-top: 2rem; max-width: 30rem; }
.panel__comp-label { font: 600 0.8125rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa-soft); margin-bottom: 0.75rem; }
.panel__comp ul { border-top: 1px solid var(--line); }
.panel__comp li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.panel__comp li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: none; }
.week__note { margin-top: clamp(2.5rem, 4vw, 3.5rem); max-width: 56ch; }
.week__download { margin-top: 1rem; }
@media (min-width: 768px) { .panel__grid { grid-template-columns: 7fr 5fr; align-items: start; gap: 48px; } .panel__card { justify-self: end; } }

/* ---------- 5. The card ---------- */
.cardsec { background: var(--parchment-soft); }
.cardsec__grid { display: grid; gap: 48px; align-items: center; }
.cardsec__card { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.flip { width: min(100%, 420px); padding: 0; border: 0; background: none; cursor: pointer; perspective: 1600px; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.flip__inner { display: block; position: relative; aspect-ratio: 6 / 5; transform-style: preserve-3d; transition: transform 900ms var(--ease); }
.flip__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: block; }
.flip__back { transform: rotateY(180deg); }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.cardsec__hint { text-align: center; }
@media (min-width: 1024px) { .cardsec__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- 6. Why lunch ---------- */
.belief__closing { margin-top: 2rem; font: italic 500 clamp(1.5rem, 2.8vw, 2.25rem)/1.25 var(--serif); color: var(--brick); }

/* ---------- 7. The kitchen ---------- */
.kitchen { background: var(--parchment-soft); }
.kitchen__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.kitchen__proof { margin-top: 1.75rem; font: italic 400 clamp(1.375rem, 2.6vw, 2.125rem)/1.3 var(--serif); max-width: 30ch; }
.kitchen__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
.kitchen__photos:empty { display: none; }
.kitchen__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.checks { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--sage); }
@media (min-width: 768px) { .kitchen__photos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .kitchen__grid { grid-template-columns: 7fr 5fr; align-items: end; } }

/* ---------- 8. For HR teams ---------- */
.spec__list { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.spec__row { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec__row dt { font: 500 0.9375rem/1.4 var(--sans); color: var(--brick); }
.spec__row dd { font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.3 var(--serif); max-width: 36ch; }
@media (min-width: 768px) { .spec__row { grid-template-columns: 4fr 8fr; gap: 24px; padding: 24px 0; align-items: baseline; } .spec__row dt { font-size: 1rem; } }

/* ---------- 9. Price ---------- */
.price { padding-top: 0; }
.price__tiers { display: grid; gap: 12px; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tier { background: var(--cream-light); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 400ms var(--ease); }
.tier.is-current { box-shadow: inset 0 0 0 1.5px var(--brick); }
.tier__range { font: 500 0.9375rem/1.3 var(--sans); color: var(--cocoa-soft); }
.tier__price { margin-top: 10px; font: 500 clamp(2.75rem, 5.4vw, 4.25rem)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }
.tier__unit { margin-top: 6px; font-size: 0.9375rem; color: var(--cocoa-soft); }
.price__note { margin-top: 1.25rem; }
@media (min-width: 768px) { .price__tiers { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tier { padding: 32px; } }

.calc { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--cream-light); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.calc__title { margin-bottom: 1.5rem; }
.calc__grid { display: grid; gap: 32px; }
.calc__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__field + .calc__field { margin-top: 28px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; }
.calc label, .calc legend { font-weight: 500; padding: 0; }
.calc__team { font: 500 2rem/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 8px 0 0; background: transparent; cursor: pointer; --p: 15%; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(var(--brick), var(--brick)) 0 / var(--p) 100% no-repeat, rgba(47, 38, 32, 0.2); }
.range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(47, 38, 32, 0.2); }
.range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--brick); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12.5px; border-radius: 50%; background: var(--brick); border: 3px solid var(--cream-light); box-shadow: 0 0 0 1px var(--brick), 0 2px 6px rgba(47, 38, 32, 0.2); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--brick); border: 3px solid var(--cream-light); box-shadow: 0 0 0 1px var(--brick); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.seg label { position: relative; display: grid; place-items: center; height: 48px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 250ms var(--ease), color 250ms var(--ease); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--cocoa); color: var(--cream); box-shadow: none; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.calc__total { font: 500 clamp(2.5rem, 6.4vw, 4.25rem)/1 var(--serif); letter-spacing: -0.02em; }
.calc__amount { font-variant-numeric: tabular-nums lining-nums; color: var(--brick); }
.calc__suffix { display: block; margin-top: 10px; font: 500 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--cocoa-soft); }
.calc__per { margin-top: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 8px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.calc__actions .btn { flex: 1 1 240px; }
.share-fallback { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-fallback__text { color: var(--cocoa); font-style: italic; }
.share-fallback__actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; }
@media (min-width: 768px) { .calc { padding: 40px; } .calc__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .calc__actions .btn { flex: 0 0 auto; } }

.teamtable { margin-top: clamp(3rem, 6vw, 4.5rem); padding: 28px; border-radius: var(--radius); background: var(--parchment-soft); max-width: 40rem; }
.teamtable .label { margin-bottom: 0.75rem; }
.teamtable .body { margin-top: 0.75rem; }
.teamtable .textlink { margin-top: 0.25rem; }

/* ---------- 10. FAQ ---------- */
.faq__list { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); max-width: 52rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; font: 500 clamp(1.1875rem, 1.8vw, 1.5rem)/1.3 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 18px; height: 18px; }
.qa__icon::before, .qa__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--brick); transition: transform 400ms var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 0 24px; max-width: 58ch; color: var(--cocoa-soft); }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size 500ms var(--ease), content-visibility 500ms allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- 11. Taste Day ---------- */
.taste { border-top: 1px solid var(--line); }
.taste__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.taste__intro { display: grid; gap: 28px; align-content: start; }
.taste__wa { margin-top: 1rem; }
.taste__formwrap { background: var(--cream-light); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font: 500 0.9375rem/1.3 var(--sans); }
.field input, .field select { width: 100%; height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--cocoa); font-size: 1rem; outline: none; transition: border-color 200ms var(--ease); }
.field input::placeholder { color: #7A6A5E; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232F2620' stroke-width='1.5'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--brick); outline: 2px solid var(--brick); outline-offset: 3px; }
.field [aria-invalid="true"] { border-color: var(--brick); border-width: 2px; }
.field__error { font: 600 0.875rem/1.4 var(--sans); color: var(--brick); }
.field__error:empty, .field__note:empty { display: none; }
.field__note { font-size: 0.9375rem; line-height: 1.45; padding: 12px 14px; border-left: 2px solid var(--brick); background: var(--parchment-soft); border-radius: 0 10px 10px 0; }
.form .btn { margin-top: 6px; }
.form__privacy { margin-top: -4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.taste__status:empty { display: none; }
.taste__status { outline: none; }
.taste__success { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--serif); }
@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .form > * { grid-column: 1 / -1; }
  .form > .field--half { grid-column: auto; }
  .taste__formwrap { padding: 36px; }
}
@media (min-width: 768px) { .taste__intro { grid-template-columns: auto 1fr; gap: 36px; align-items: start; } }
@media (min-width: 1024px) {
  .taste__grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .taste__intro { grid-template-columns: 1fr; position: sticky; top: 110px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.9375rem; color: var(--cocoa-soft); }
.site-footer__inner { display: grid; gap: 8px; }
.site-footer__list { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__list li { display: flex; align-items: center; min-height: 44px; }
.site-footer__list a { color: var(--cocoa); text-underline-offset: 0.2em; }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; gap: 48px; } .site-footer__list { justify-content: flex-end; } }

/* ---------- Preview mode (?preview=1) ---------- */
.unverified { outline: 1.5px dashed var(--brick); outline-offset: 4px; }
.preview-note { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; margin: 0 auto; max-width: 40rem; padding: 12px 16px; border-radius: 12px; background: var(--cocoa); color: var(--cream); font-size: 0.875rem; line-height: 1.4; }

/* Reduced motion: end states */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =====================================================================
   ENGAGING LAYER: sunlight, the 3D lunch box, the food wall, the cursor, Massi
   ===================================================================== */

/* ---------- Golden hour as you scroll (Sunrooof-style) ---------- */
/* A warm golden layer fades in toward the middle of the page and out again.
   Only opacity changes, so the phone's graphics chip does the work (no repainting). */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--cream); }
.sky::after { content: ''; position: absolute; inset: 0; background: #F5DFB6; opacity: 0; will-change: opacity; }
@supports (animation-timeline: scroll()) {
  .sky::after { animation: golden linear both; animation-timeline: scroll(root block); }
}
@keyframes golden { 0% { opacity: 0; } 22% { opacity: 0.35; } 45% { opacity: 0.8; } 70% { opacity: 0.35; } 100% { opacity: 0; } }
body { background: var(--cream); }
.day, .belief, .spec, .price, .faq, .taste, .foodwall, .week { background: transparent; }

/* ---------- Team photo: a print taped to the page ---------- */
.teamphoto { position: relative; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 980px; padding: 12px 12px 58px; background: var(--cream-light); border-radius: 3px; transform: rotate(-1.2deg);
  box-shadow: 0 26px 44px -28px rgba(47, 38, 32, 0.55), 0 1px 0 rgba(47, 38, 32, 0.06); }
.teamphoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.teamphoto figcaption { position: absolute; left: 22px; bottom: 14px; font: 700 clamp(1.125rem, 1.6vw, 1.375rem)/1.2 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); }
.tape { position: absolute; z-index: 2; left: 50%; top: -14px; width: 120px; height: 28px; margin-left: -60px; background: rgba(214, 196, 162, 0.72); transform: rotate(3deg); }
@media (min-width: 768px) { .teamphoto img { aspect-ratio: 21 / 9; } }

/* ---------- The food wall ---------- */
.foodwall { overflow: hidden; }
.foodwall__beams { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 214, 140, 0) 0 120px, rgba(255, 214, 140, 0.20) 160px 230px, rgba(255, 214, 140, 0) 280px 420px);
  filter: blur(24px); animation: beams 18s ease-in-out infinite alternate; }
@keyframes beams { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.foodwall .wrap { position: relative; z-index: 1; }
.marquee { position: relative; z-index: 1; margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 16px; }
.marquee__row { display: flex; align-items: center; gap: 16px; width: max-content; animation: marq 70s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__row, .marquee:focus-within .marquee__row { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee__item { position: relative; flex: none; margin: 0; width: clamp(210px, 24vw, 340px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--parchment); box-shadow: 0 18px 40px -22px rgba(47, 38, 32, 0.45); }
.marquee__item:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.marquee__item:nth-child(4n+3) { aspect-ratio: 5 / 4; width: clamp(260px, 30vw, 420px); }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.marquee__item:hover img { transform: scale(1.06); }
.marquee__item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 248, 241, 0.94); font: 500 0.9375rem/1.2 var(--serif); color: var(--cocoa); }

/* polaroids: the food wall, by hand */
.marquee__row { align-items: flex-start; padding-block: 18px 10px; }
.marquee__item, .marquee__item:nth-child(3n+2), .marquee__item:nth-child(4n+3) { aspect-ratio: auto; width: clamp(200px, 22vw, 300px); padding: 10px 10px 50px; background: var(--cream-light); border-radius: 3px; overflow: visible;
  box-shadow: 0 20px 34px -22px rgba(47, 38, 32, 0.55); }
.marquee__item:nth-child(3n) { transform: rotate(-2.2deg); } .marquee__item:nth-child(3n+1) { transform: rotate(1.6deg); margin-top: 22px; } .marquee__item:nth-child(3n+2) { transform: rotate(-0.6deg); margin-top: 8px; }
.marquee__item img { aspect-ratio: 1 / 1; border-radius: 2px; }
.marquee__item:nth-child(4n+3) img { aspect-ratio: 4 / 5; }
.marquee__item::before { content: ''; position: absolute; z-index: 2; left: 50%; top: -11px; width: 70px; height: 22px; margin-left: -35px; background: rgba(214, 196, 162, 0.72); transform: rotate(-4deg); }
.marquee__item figcaption { left: 14px; right: 14px; bottom: 12px; padding: 0; background: none; border-radius: 0; font: 700 1.125rem/1.2 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); }

/* ---------- Menu: photo with the Lunch Card on top ---------- */
.panel__media { position: relative; width: min(100%, 420px); margin-bottom: 48px; }
.panel__media .panel__photo { border-radius: 22px; box-shadow: 0 24px 48px -26px rgba(47, 38, 32, 0.5); }
.panel__media .lcard { position: absolute; left: -6%; bottom: -12%; width: 70%; }
@media (min-width: 768px) { .panel__card { width: min(100%, 420px); } }

/* ---------- Massi, the mascot (drawn in story.js) ---------- */
.mascot { position: relative; margin: 0; }
.mascot__art svg { width: 100%; height: auto; display: block; overflow: visible; }
.mascot__bubble, .peek__bubble, .hero__bubble {
  position: absolute; z-index: 2; padding: 10px 16px 9px; max-width: 15rem;
  font: 700 clamp(1rem, 1.3vw, 1.1875rem)/1.25 'Kalam', 'Comic Sans MS', cursive; color: var(--brick);
  background: var(--cream-light); border: 2px solid var(--brick);
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  box-shadow: 3px 4px 0 rgba(138, 50, 32, 0.15); transform: rotate(-3deg);
}
.mascot__bubble::after { content: ''; position: absolute; left: 22px; bottom: -9px; width: 14px; height: 14px; background: var(--cream-light); border: 2px solid var(--brick); border-top: 0; border-left: 0; transform: rotate(45deg) skew(8deg, 8deg); }
.mascot__bubble:empty, .hero__bubble:empty { display: none; }
.taste__mark { position: relative; display: flex; align-items: flex-end; gap: 8px; }
.mascot--taste { width: clamp(104px, 11vw, 140px); }
.mascot--taste .mascot__bubble { left: 64%; top: -10%; white-space: nowrap; transform: rotate(4deg); }

/* The peek: Massi pops up from the bottom-right corner */
.peek { position: fixed; right: clamp(8px, 2vw, 28px); bottom: 0; z-index: 90; width: clamp(104px, 11vw, 140px); pointer-events: none; }
.peek__link { display: block; pointer-events: auto; transform: translateY(105%); transition: transform 700ms cubic-bezier(0.34, 1.4, 0.64, 1); text-decoration: none; }
.peek.is-in .peek__link { transform: translateY(4%); }
.peek__img { display: block; width: 100%; filter: drop-shadow(0 -6px 16px rgba(47, 38, 32, 0.16)); }
.peek__img svg { width: 100%; height: auto; display: block; }
.peek__bubble { right: 84%; top: 6%; width: max-content; max-width: min(13rem, 52vw); white-space: normal; font-size: 1rem; transform: rotate(-4deg); }
.peek__close { position: absolute; z-index: 3; right: 2px; top: -6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--cocoa); color: var(--cream); font: 600 18px/1 var(--sans); cursor: pointer; pointer-events: auto; opacity: 0; transform: scale(0.6); transition: opacity 300ms, transform 300ms var(--ease); }
.peek.is-in .peek__close { opacity: 1; transform: none; transition-delay: 500ms; }
.peek__close::before { content: ''; position: absolute; inset: -7px; }
.peek:not(.is-in) .peek__link { pointer-events: none; }

/* ---------- The cursor: a small brick dot, a ring that answers, and a little sun ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.cursor > div { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 300; will-change: transform; transform: translate3d(-300px, -300px, 0); }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--brick); transition: opacity 200ms; }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(138, 50, 32, 0.5); display: grid; place-items: center;
  transition: width 350ms var(--ease), height 350ms var(--ease), margin 350ms var(--ease), background-color 350ms var(--ease), border-color 350ms var(--ease); }
.cursor__label { font: 600 0.8125rem/1 var(--sans); color: var(--cream); opacity: 0; transition: opacity 200ms; white-space: nowrap; }
.cursor__sun { z-index: 0 !important; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 110, 0.22), rgba(255, 200, 110, 0) 62%); }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(138, 50, 32, 0.08); border-color: rgba(138, 50, 32, 0.8); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--brick); border-color: var(--brick); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-hidden > div { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"], html.has-cursor summary, html.has-cursor label, html.has-cursor .marquee__item { cursor: none; }
html.has-cursor input, html.has-cursor select, html.has-cursor textarea { cursor: auto; }

/* Reduced motion: still, calm, everything visible */
.rm .foodwall__beams, .rm [class^='k-'], .rm [class^='j-'] { animation: none !important; }
.rm .peek__link { transition: none; }
.rm .marquee { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; }
.rm .marquee__row { animation: none; }
.rm .marquee__item { scroll-snap-align: start; }


/* =====================================================================
   STORYBOOK, PART TWO: the rest of the page, by hand
   ===================================================================== */
[data-art] svg, .panel__icon svg { display: block; width: 100%; height: auto; overflow: visible; }

/* the brick band: an alarm clock that rings now and then */
.band__art { width: clamp(120px, 16vw, 200px); justify-self: end; }
@media (min-width: 1024px) { .band__inner { grid-template-columns: 1.6fr 1fr auto; } }
.d-ring { animation: ring 5s ease-in-out infinite; }
@keyframes ring { 0%, 78%, 100% { transform: rotate(0); } 80% { transform: rotate(-6deg); } 83% { transform: rotate(6deg); } 86% { transform: rotate(-5deg); } 89% { transform: rotate(4deg); } 92% { transform: rotate(0); } }

/* menu: a sprig in the margin, a little icon for each day, a hand-drawn tab underline */
.week .wrap { position: relative; }
.sprig { position: absolute; width: clamp(110px, 12vw, 170px); pointer-events: none; }
.sprig--menu { right: var(--gutter); top: -2.5rem; transform: rotate(-14deg); }
.panel__icon { display: block; width: 96px; margin: -0.5rem 0 0.75rem -6px; }
.tab::after { height: 7px; bottom: -3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C30 3 52 14 80 8 S130 4 156 9 S186 12 198 6' fill='none' stroke='%238A3220' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* the card: "tap to turn the card", in handwriting with an arrow */
.cardsec__hint { display: inline-flex; align-items: center; gap: 6px; color: var(--brick); font: 700 1.125rem/1.2 'Kalam', 'Comic Sans MS', cursive; transform: rotate(-3deg); }

/* why lunch: "The Tuesday." circled by hand, and the calendar */
.belief__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.belief__art { width: min(78vw, 340px); justify-self: center; }
@media (min-width: 1024px) { .belief__grid { grid-template-columns: 1.4fr 1fr; } .belief__art { justify-self: end; } }
.belief .body em { position: relative; font-style: normal; font-weight: 600; color: var(--brick); padding: 0 0.15em; white-space: nowrap; }
.belief .body em::after { content: ''; position: absolute; inset: -0.35em -0.35em -0.4em -0.45em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M18 46 C10 16 150 4 186 30 C204 46 170 72 100 74 C40 76 6 62 12 40 C16 24 60 10 112 12' fill='none' stroke='%238A3220' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.d-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .d-draw { animation: draw 1.4s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.d-steam path { animation: steam 3.2s ease-in-out infinite; } .d-steam path:nth-child(2) { animation-delay: -1.5s; }

/* the kitchen: boxes and tally marks */
.kitchen__art { width: min(100%, 360px); margin-bottom: 1.5rem; }
.d-draw-g path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.is-in .d-draw-g path { animation: tally 0.5s ease-out forwards; }
.is-in .d-draw-g path:nth-child(5n+2) { animation-delay: 0.12s; } .is-in .d-draw-g path:nth-child(5n+3) { animation-delay: 0.24s; }
.is-in .d-draw-g path:nth-child(5n+4) { animation-delay: 0.36s; } .is-in .d-draw-g path:nth-child(5n) { animation-delay: 0.5s; }
@keyframes tally { to { stroke-dashoffset: 0; } }
.checks svg { color: var(--brick); }

/* the fine print: a page from Massi's notebook */
.notebook { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2.25rem, 5vw, 4.5rem);
  background-color: var(--cream-light);
  background-image: linear-gradient(90deg, transparent calc(clamp(1.4rem, 3.4vw, 3rem) - 1px), rgba(138, 50, 32, 0.35) calc(clamp(1.4rem, 3.4vw, 3rem) - 1px), rgba(138, 50, 32, 0.35) clamp(1.4rem, 3.4vw, 3rem), transparent clamp(1.4rem, 3.4vw, 3rem));
  border-radius: 4px; transform: rotate(-0.5deg); box-shadow: 0 28px 50px -34px rgba(47, 38, 32, 0.6), 0 1px 0 rgba(47, 38, 32, 0.06); }
.notebook .tape { top: -14px; left: 18%; }
.notebook .spec__list { margin-top: 0; border-top: 0; }
.notebook .spec__row { border-bottom: 1.5px dashed rgba(140, 123, 110, 0.35); }
.notebook .spec__row:last-child { border-bottom: 0; }

/* prices: paper tags on strings */
.price__tiers { gap: 18px; }
.tier { position: relative; padding: 24px 24px 24px 64px; border-radius: 6px 16px 16px 6px; box-shadow: 0 16px 30px -22px rgba(47, 38, 32, 0.55);
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 34px 100%, 0 50%); background: var(--cream-light); transform: rotate(-1.5deg); transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.tier:nth-child(2) { transform: rotate(1deg) translateY(6px); } .tier:nth-child(3) { transform: rotate(-0.4deg); }
.tier::before { content: ''; position: absolute; left: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 1px 2px rgba(47, 38, 32, 0.3); }
.tier.is-current { box-shadow: 0 16px 30px -22px rgba(47, 38, 32, 0.55); background: var(--brick); color: var(--cream); }
.tier.is-current .tier__range, .tier.is-current .tier__unit { color: var(--parchment); }
@media (min-width: 768px) { .tier { padding: 30px 30px 30px 72px; } }

/* calculator: the boxes pile up with your team */
.calc__boxes { margin-top: 18px; }
.calc__pile { display: flex; flex-wrap: wrap; gap: 5px 4px; max-width: 22rem; }
.calc__pile svg { width: 30px; height: 22px; animation: pop 450ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes pop { from { transform: translateY(8px) scale(0.6); opacity: 0; } }
.calc__pileline { margin-top: 8px; font: 700 1.0625rem/1.3 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); }

/* team table: a little party */
.teamtable { display: grid; gap: 1.25rem; align-items: center; max-width: 52rem; background: var(--parchment-soft); }
.teamtable__art { width: min(100%, 300px); }
.d-bunting { transform-origin: 50% 0; animation: bunting 3.6s ease-in-out infinite; }
@keyframes bunting { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg) translateY(2px); } }
.d-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flame 0.9s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scale(0.9, 1); } to { transform: scale(1.05, 1.15) rotate(4deg); } }
@media (min-width: 768px) { .teamtable { grid-template-columns: 300px 1fr; gap: 2rem; padding: 32px; } }

/* questions: a doodled question mark, hand-drawn plus signs */
.faq .wrap { position: relative; }
.faq__doodle { position: absolute; right: var(--gutter); top: -1rem; width: clamp(64px, 8vw, 100px); }
.d-bob { animation: qbob 3s ease-in-out infinite; }
@keyframes qbob { 50% { transform: translateY(-6px) rotate(3deg); } }
.qa__icon::before, .qa__icon::after { display: none; }
.qa__icon { width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 C11 9 13 15 12 21 M3 12.5 C9 11 15 13 21 11.5' fill='none' stroke='%238A3220' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 400ms var(--ease); }
.qa[open] .qa__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5 C9 11 15 13 21 11.5' fill='none' stroke='%238A3220' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); transform: rotate(180deg); }
.qa summary:hover { color: var(--brick); }

/* the footer: the end of the day */
.site-footer { border-top: 0; padding-top: 0; }
.footer-scene { height: clamp(130px, 18vw, 260px); overflow: hidden; }
.footer-scene__svg { width: 100%; height: 100%; }
.footer-scene svg { width: 100%; height: 100%; }
.d-birds { animation: birds 22s linear infinite alternate; }
@keyframes birds { from { transform: translateX(-80px); } to { transform: translateX(60px); } }

.rm [class^='d-'], .rm [class*=' d-'] { animation: none !important; }
.rm .d-draw, .rm .d-draw-g path { stroke-dashoffset: 0; }

/* the peek, once she has said her line: just her head, peeking */
.peek.is-in.is-quiet .peek__link { transform: translateY(44%); }
.peek.is-quiet .peek__bubble { opacity: 0; transform: rotate(-4deg) translateY(10px); pointer-events: none; }
.peek__bubble { transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.peek.is-quiet .peek__link:hover .peek__bubble, .peek.is-quiet .peek__link:focus-visible .peek__bubble { opacity: 1; transform: rotate(-4deg); }
@media (max-width: 767px) { .footer-scene { height: 170px; } }

/* Massi: the waving arm only shows while she says hello */
.massi .m-armset { transition: opacity 450ms ease; }
.massi .m-armset--wave { opacity: 0; }
.k-massi.is-hello .m-armset--wave { opacity: 1; }
.k-massi.is-hello .m-armset--stir { opacity: 0; }

/* =====================================================================
   THE FOOD WALL: a sticky photo stack (inspired by Skiper UI, skiper16)
   ===================================================================== */
.foodwall { overflow: visible; }
.foodwall__beams { overflow: hidden; }
.foodwall__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.foodwall__hint { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 6px; color: var(--brick); font: 700 1.125rem/1 'Kalam', 'Comic Sans MS', cursive; transform: rotate(-3deg); }
.stack { position: relative; padding-bottom: 12vh; }
.stack__item { position: sticky; top: calc(var(--header-h) + 3vh + var(--i) * 16px); display: flex; justify-content: center; margin-bottom: 14vh; }
.stack__item:last-child { margin-bottom: 0; }
.stack__card { position: relative; margin: 0; width: min(88vw, 540px); padding: 12px 12px 54px; background: var(--cream-light); border-radius: 6px;
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 -2px 0 rgba(47, 38, 32, 0.04), 0 24px 44px -26px rgba(47, 38, 32, 0.55); }
.stack__item:nth-child(odd) .stack__card { rotate: -1.4deg; }
.stack__item:nth-child(even) .stack__card { rotate: 1.2deg; }
.stack__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; display: block; }
.stack__card figcaption { position: absolute; left: 18px; bottom: 14px; font: 700 clamp(1.125rem, 1.6vw, 1.375rem)/1.2 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); }
.stack__card .tape { top: -13px; width: 96px; margin-left: -48px; }
@media (min-width: 1024px) {
  .foodwall__grid { grid-template-columns: 0.85fr 1.15fr; }
  .foodwall__copy { position: sticky; top: calc(var(--header-h) + 18vh); }
}

/* =====================================================================
   BY THE NUMBERS: rolling digits (inspired by Skiper UI, skiper37)
   ===================================================================== */
.roll { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.roll__strip { display: flex; flex-direction: column; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.roll__strip span, .roll__ch { display: block; height: 1em; line-height: 1; text-align: center; }
.roll__ch { display: inline-block; vertical-align: top; }
.countdown { margin-top: clamp(2rem, 5vw, 3.5rem); }
.countdown__label { font: 700 clamp(1.125rem, 1.8vw, 1.5rem)/1.2 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); transform: rotate(-2deg); transform-origin: left; }
.countdown__time { margin-top: 0.5rem; font: 500 clamp(3.75rem, 13vw, 9.5rem)/1 var(--serif); color: var(--brick); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.countdown__time .roll__strip { transition-duration: 0.6s; }
.countdown.is-now .countdown__time { display: none; }
.stats { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.stat { position: relative; padding-top: 1.25rem; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; width: 70%; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C30 3 52 14 80 8 S130 4 156 9 S186 12 198 6' fill='none' stroke='%23A4452E' stroke-width='3' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.stat__value { font: 500 clamp(2.75rem, 6.2vw, 5rem)/1 var(--serif); color: var(--cocoa); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.stat__suffix { font-size: 0.42em; letter-spacing: 0; color: var(--cocoa-soft); margin-left: 0.15em; }
.stat__label { margin-top: 0.75rem; font-size: 0.9688rem; line-height: 1.45; color: var(--cocoa-soft); max-width: 24ch; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.rm .roll__strip { transition: none; }

/* =====================================================================
   SKIPER-INSPIRED: hover-expand menu (52), parallax photos (30), text roll (58), flying letters (31)
   ===================================================================== */

/* --- the menu: day panels that widen --- */
.week__tabs { display: flex; gap: 8px; height: clamp(300px, 34vw, 420px); border-bottom: 0; margin-top: clamp(2rem, 4vw, 3rem); }
.tab { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; padding: 0; border-radius: 22px; background: var(--parchment-soft); text-align: left;
  transition: flex-grow 600ms var(--ease), box-shadow 400ms var(--ease); box-shadow: 0 14px 30px -24px rgba(47, 38, 32, 0.6); }
.tab::after { display: none; }
.tab[aria-selected="true"] { flex-grow: 5.2; }
.tab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tab[aria-selected="true"] .tab__img { transform: scale(1.03); }
.tab__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(47, 38, 32, 0.72), rgba(47, 38, 32, 0.08) 55%, rgba(47, 38, 32, 0.25)); }
.tab__short { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--cream); font: 600 0.9375rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 300ms; }
.tab__open { position: absolute; left: 20px; right: 20px; bottom: 18px; color: var(--cream); opacity: 0; transform: translateY(10px); transition: opacity 400ms 150ms, transform 500ms 150ms var(--ease); }
.tab__long { display: block; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment); }
.tab__theme { display: block; margin-top: 8px; font: 500 clamp(1.5rem, 2.4vw, 2.125rem)/1.1 var(--serif); }
.tab[aria-selected="true"] .tab__short { opacity: 0; }
.tab[aria-selected="true"] .tab__open { opacity: 1; transform: none; }
.tab__today { position: absolute; top: 14px; left: 14px; margin: 0; padding: 6px 10px; border-radius: 999px; background: var(--cream-light); color: var(--brick); }
.tab[aria-selected="false"] .tab__today { left: 50%; transform: translateX(-50%); padding: 5px 7px; font-size: 0.625rem; }
.tab:focus-visible { outline-offset: 3px; }
.panel__icon { display: none; }
@media (max-width: 767px) {
  .week__tabs { flex-direction: column; height: 520px; gap: 6px; }
  .tab__short { left: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .tab[aria-selected="false"] .tab__today { left: auto; right: 14px; top: 50%; transform: translateY(-50%); }
}

/* --- parallax photo columns --- */
.pgallery { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); height: clamp(560px, 110vh, 1100px); overflow: hidden; border-radius: 28px; background: var(--parchment-soft); }
.pgallery__cols { display: flex; gap: 1.6vw; height: 100%; padding: 1.6vw; }
.pcol { position: relative; display: flex; flex-direction: column; gap: 1.6vw; flex: 1 1 25%; min-width: 0; height: 100%; will-change: transform; }
.pcol--0 { top: -35%; } .pcol--1 { top: -75%; } .pcol--2 { top: -30%; } .pcol--3 { top: -60%; }
.pcol__item { margin: 0; flex: 1 1 0; min-height: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 30px -22px rgba(47, 38, 32, 0.6); }
.pcol__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgallery__note { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) rotate(-3deg); padding: 16px 26px 14px; background: var(--cream-light); border-radius: 4px;
  font: 700 clamp(1.25rem, 2.4vw, 2rem)/1.2 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); white-space: nowrap; box-shadow: 0 18px 34px -20px rgba(47, 38, 32, 0.6); }
.pgallery__note .tape { top: -14px; }
@media (max-width: 767px) { .pcol--2, .pcol--3 { display: none; } .pgallery { height: 90vh; } }
.rm .pcol { top: 0 !important; }

/* --- text roll on buttons and menu links --- */
.troll { position: relative; display: inline-block; overflow: hidden; line-height: 1.2; vertical-align: middle; }
.troll__row { display: block; white-space: nowrap; }
.troll__row span { display: inline-block; transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1); }
.troll__b { position: absolute; inset: 0; }
.troll__b span { transform: translateY(110%); }
a:hover .troll__a span, button:hover .troll__a span, a:focus-visible .troll__a span, button:focus-visible .troll__a span { transform: translateY(-110%); }
a:hover .troll__b span, button:hover .troll__b span, a:focus-visible .troll__b span, button:focus-visible .troll__b span { transform: translateY(0); }

/* --- Lunch, considered: flying letters --- */
.letters { position: relative; height: 170vh; }
.letters__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 2.5rem); padding: 0 var(--gutter); text-align: center; overflow: hidden; }
.letters__word { font: 500 clamp(3rem, 10vw, 9rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--cocoa); perspective: 600px; white-space: nowrap; }
.lt { display: inline-block; will-change: transform, opacity; }
.lt--em { font-style: italic; color: var(--brick); }
.lt--sp { width: 0.25em; }
.letters__icons { display: flex; gap: clamp(0.5rem, 3vw, 2rem); }
.lt-icon { display: block; width: clamp(56px, 9vw, 110px); will-change: transform, opacity; }
.letters__sub { font: 700 clamp(1.125rem, 2vw, 1.625rem)/1.3 'Kalam', 'Comic Sans MS', cursive; color: var(--brick); transform: rotate(-2deg); }
.rm .letters { height: auto; } .rm .letters__stage { position: relative; height: auto; padding-block: var(--sec); }
@media (max-width: 479px) { .letters__word { white-space: normal; } }

/* --- progressive blur under the header (inspired by Skiper UI, skiper41) ---
   Content softly blurs and fades as it slides up under the header: no hard edge. */
.top-blur { position: fixed; left: 0; right: 0; top: 0; z-index: 99; height: calc(64px + 72px); pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(246, 241, 231, 0), rgba(246, 241, 231, 0.9));
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); transition: opacity 400ms var(--ease); }
.site-header.is-scrolled + .top-blur { opacity: 1; }
.site-header.is-scrolled { background: rgba(246, 241, 231, 0.55); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
