/* Spinto Smash Burger | style.css
   Tokens come from brand/SPINTO_BRAND_IDENTITY.md. Sections alternate Brioche and Piastra. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --piastra: #141110;
  --fumo: #2A221D;
  --brioche: #EFE0C9;
  --panna: #FAF3E8;
  --cheddar: #FF8A1F;
  --ketchup: #D62839;
  --cetriolo: #6E8B3D;
  --crosta: #7A4A24;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1360px;
  --radius: 4px;
  --border: 2px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 160ms;
  --dur-enter: 640ms;

  --text-display: clamp(3.6rem, 11vw, 11rem);
  --text-h1: clamp(2.6rem, 6.5vw, 5.5rem);
  --text-h2: clamp(2rem, 4.2vw, 3.5rem);
  --text-h3: clamp(1.35rem, 2.2vw, 1.75rem);
  --text-body: clamp(1rem, 1.1vw, 1.125rem);
  --text-label: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--brioche);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--piastra);
  background: var(--brioche);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--cheddar); color: var(--piastra); }

:focus-visible {
  outline: 3px solid var(--cheddar);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--piastra);
  color: var(--panna);
  z-index: 300;
}
.skip:focus { left: 8px; }

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

/* Typography */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display { font-size: var(--text-display); line-height: 0.88; }
.h1 { font-size: var(--text-h1); line-height: 0.92; }
.h2 { font-size: var(--text-h2); line-height: 0.95; }
.h3 { font-size: var(--text-h3); line-height: 1.05; font-weight: 700; text-transform: none; letter-spacing: -0.01em; }
.eyebrow {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.lede { font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 34rem; }
.br-m { display: none; }
.muted { opacity: 0.72; }
.num {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Buttons: the click squashes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: var(--border) solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro), color var(--dur-micro), border-color var(--dur-micro);
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--ketchup); color: var(--panna); border-color: var(--ketchup); }
.btn-primary:hover { background: #BF1F30; border-color: #BF1F30; }
.btn-accent { background: var(--cheddar); color: var(--piastra); border-color: var(--cheddar); }
.btn-accent:hover { background: #FF9A3F; border-color: #FF9A3F; }
.btn-ghost { background: transparent; color: var(--piastra); border-color: var(--piastra); }
.btn-ghost:hover { background: var(--piastra); color: var(--panna); }
.on-dark .btn-ghost { color: var(--panna); border-color: var(--panna); }
.on-dark .btn-ghost:hover { background: var(--panna); color: var(--piastra); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.8rem; }

/* Tags: the paper labels */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: var(--border) solid currentColor;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.pill-fill { background: var(--piastra); color: var(--panna); border-color: var(--piastra); }
.pill-cheddar { background: var(--cheddar); color: var(--piastra); border-color: var(--cheddar); }
.pill-veg { color: var(--cetriolo); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 240ms, box-shadow 240ms;
}
.site-header.is-scrolled {
  background: rgba(239, 224, 201, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 var(--border) 0 var(--piastra);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-transform: uppercase;
}
.wordmark-top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  margin-bottom: 3px;
  margin-left: 2px;
}
.wordmark-main {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  transform: scaleY(0.86);
  transform-origin: left center;
}
.logo-img {
  display: block;
  height: 58px;
  aspect-ratio: 1.4826;
  background: currentColor;
  -webkit-mask: url('/assets/img/logo-mask.png') no-repeat center / contain;
  mask: url('/assets/img/logo-mask.png') no-repeat center / contain;
}
.footer-top .logo-img { height: 140px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--piastra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav .lang { border: var(--border) solid var(--piastra); border-radius: var(--radius); padding: 6px 10px; font-size: 0.75rem; }
.site-nav .lang::after { display: none; }
.site-nav .lang:hover { background: var(--piastra); color: var(--panna); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: var(--radius);
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: var(--piastra);
  transition: transform 220ms var(--ease-out), top 220ms var(--ease-out), opacity 120ms;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  height: 320vh;
  --p: 0;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(122, 74, 36, 0.16), transparent 60%),
    var(--brioche);
}
.hero-bg-word {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(calc(1 + var(--p) * 0.25));
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: clamp(6rem, 22vw, 26rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--piastra);
  text-transform: uppercase;
  opacity: calc(0.07 * (1 - var(--p) * 2.2));
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero-canvas {
  position: absolute;
  inset: 0;
}
.hero-canvas canvas { width: 100%; height: 100%; }
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 60% 50%;
}
.hero-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tag {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
  will-change: transform;
}
.tag-left { flex-direction: row-reverse; }
.tag-line {
  display: block;
  width: clamp(18px, 3vw, 44px);
  height: 1px;
  background: var(--piastra);
  opacity: 0.55;
  flex: none;
}
.tag-card {
  display: block;
  position: relative;
  background: var(--panna);
  border: var(--border) solid var(--piastra);
  border-radius: var(--radius);
  padding: 8px 12px 8px 22px;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 4px 6px 0 rgba(20, 17, 16, 0.08);
}
.tag-card::before {
  content: '';
  position: absolute;
  left: 8px; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 2px solid var(--piastra);
  transform: translateY(-50%);
  background: var(--brioche);
}
.tag-card b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.tag-card small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
}
.tag.is-on { opacity: 1; }

.hero-copy {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(calc(-50% - var(--p) * 60px));
  width: min(46vw, 560px);
  opacity: calc(1 - var(--p) * 2.4);
  z-index: 2;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy .h1 { margin-bottom: 20px; }
.hero-copy .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: calc(1 - var(--p) * 4);
  z-index: 2;
}
.hint-line {
  width: 2px; height: 34px;
  background: var(--piastra);
  transform-origin: top;
  animation: hint 1.6s var(--ease-out) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-static .hero-copy { opacity: 1; transform: translateY(-50%); }
.hero-static .hero-labels, .hero-static .hero-hint { display: none; }


/* Hero photo mode */
.hero-photo {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  background: var(--piastra);
  color: var(--panna);
  --hy: 0px;
}
.hero-photo .hero-media {
  position: absolute;
  inset: -8% 0 0 0;
  transform: translate3d(0, var(--hy), 0) scale(1.04);
  will-change: transform;
}
.hero-photo .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 42%;
}
.hero-photo .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 16, 0.86) 0%, rgba(20, 17, 16, 0.62) 34%, rgba(20, 17, 16, 0.08) 62%, rgba(20, 17, 16, 0) 100%),
    linear-gradient(180deg, rgba(20, 17, 16, 0.35) 0%, rgba(20, 17, 16, 0) 30%, rgba(20, 17, 16, 0.5) 100%);
}
.hero-photo .hero-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - var(--p) * 60px));
  width: min(100% - var(--gutter) * 2, var(--max));
  opacity: calc(1 - var(--p) * 1.6);
  z-index: 2;
}
.hero-photo .hero-copy > * { max-width: 36rem; }
.hero-photo .hero-copy .h1 { max-width: 12ch; }
.hero-photo .eyebrow { color: var(--cheddar); }
.hero-photo .btn-ghost { color: var(--panna); border-color: var(--panna); }
.hero-photo .btn-ghost:hover { background: var(--panna); color: var(--piastra); }
.hero-photo .hero-hint { color: var(--panna); }
.hero-photo .hint-line { background: var(--panna); }

.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) { color: var(--panna); }
.site-nav a::after { background: currentColor; }
.site-nav .lang { border-color: currentColor; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .site-nav .lang:hover { background: var(--panna); color: var(--piastra); }
.nav-toggle span { background: currentColor; }

@media (max-width: 859px) {
  .hero-photo { min-height: 600px; }
  .hero-photo .hero-media img { object-position: 50% 36%; }
  .hero-photo .hero-veil {
    background:
      linear-gradient(180deg, rgba(20, 17, 16, 0.45) 0%, rgba(20, 17, 16, 0) 22%, rgba(20, 17, 16, 0.2) 48%, rgba(20, 17, 16, 0.92) 78%, rgba(20, 17, 16, 0.96) 100%);
  }
  .hero-photo .hero-copy {
    top: auto;
    bottom: 32px;
    transform: translate(-50%, 0);
    opacity: 1;
  }
  /* No parallax on phones: the copy sliding down while the page moves up read as a glitch */
  .hero-photo .hero-media { transform: scale(1.04); will-change: auto; }
  .hero-photo .hero-hint { display: none; }
}

/* Marquee */
.marquee-band {
  background: var(--piastra);
  color: var(--cheddar);
  border-top: var(--border) solid var(--piastra);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  z-index: 3;
}
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-right: 0.7em;
}
.marquee-track span::after { content: '|'; padding-left: 0.7em; opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-dark { background: var(--piastra); color: var(--panna); }
.section-accent { background: var(--cheddar); color: var(--piastra); }
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 62rem;
}
.section-head .eyebrow { color: var(--ketchup); }
.section-dark .section-head .eyebrow { color: var(--cheddar); }
.section-accent .section-head .eyebrow { color: var(--piastra); }

/* Manifesto */
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.statement .display { font-size: clamp(2.4rem, 5.8vw, 5.8rem); max-width: 24ch; }
.statement .display em, .h2 em { font-style: normal; color: var(--ketchup); }
.statement-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 64rem;
}
.statement-body p { max-width: 34rem; }

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.act {
  position: relative;
  border: var(--border) solid rgba(250, 243, 232, 0.22);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  background: var(--fumo);
  transform-style: preserve-3d;
  transition: border-color 200ms;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.act:hover { border-color: var(--cheddar); }
.act .num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.85;
  color: var(--cheddar);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.act .h3 { margin-top: auto; }
.act p { opacity: 0.8; font-size: 0.98rem; }
.act .wink {
  font-weight: 600;
  opacity: 1;
  color: var(--cheddar);
  font-size: 0.9rem;
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1020px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-card {
  position: relative;
  background: var(--panna);
  border: var(--border) solid var(--piastra);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-style: preserve-3d;
  transition: box-shadow 200ms var(--ease-out);
}
.menu-card:hover { box-shadow: 8px 10px 0 var(--piastra); }
.menu-card.is-hero { border-color: var(--ketchup); }
.menu-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.menu-card .name { font-size: clamp(1.5rem, 2.2vw, 1.9rem); text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; }
.menu-card .price { font-size: 1.3rem; white-space: nowrap; padding-top: 4px; }
.menu-card .desc { opacity: 0.85; }
.menu-card .wink { font-weight: 600; font-size: 0.92rem; color: var(--ketchup); }
.menu-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.menu-card .badge {
  position: absolute;
  top: -14px; right: 18px;
}
.menu-sides { margin-top: 20px; }
.side-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 40px;
  border-top: var(--border) solid var(--piastra);
}
.side {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: var(--border) solid var(--piastra);
}
.side .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; }
.side .price { grid-row: span 2; align-self: start; font-size: 1.15rem; }
.side .desc { font-size: 0.92rem; opacity: 0.8; }
.heat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 20px 22px;
  border: var(--border) solid var(--piastra);
  border-radius: var(--radius);
  background: var(--panna);
}
.heat .h3 { margin-right: auto; }
.allergens { margin-top: 18px; font-size: 0.85rem; opacity: 0.7; max-width: 60rem; }


/* Full bleed photo band */
.photo-band {
  position: relative;
  background: var(--piastra);
  line-height: 0;
}
.photo-band img {
  width: 100%;
  height: clamp(480px, 64vw, 940px);
  object-fit: cover;
  object-position: 50% 100%;
}
@media (max-width: 859px) {
  .photo-band img { height: auto; aspect-ratio: 900 / 1122; }
}

/* Promises */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border: var(--border) solid var(--piastra);
  border-radius: var(--radius);
  overflow: hidden;
}
.promise {
  padding: 30px 26px;
  border-right: var(--border) solid var(--piastra);
  border-bottom: var(--border) solid var(--piastra);
  display: grid;
  gap: 12px;
  align-content: start;
}
.promise .num { font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.promise .h3 { font-size: 1.35rem; }
.promise p { font-size: 0.95rem; }

/* Where */
.where-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.where .display { font-size: clamp(2.8rem, 7vw, 7rem); }
.info-list { display: grid; gap: 0; border-top: var(--border) solid rgba(250, 243, 232, 0.22); }
.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: var(--border) solid rgba(250, 243, 232, 0.22);
}
.info-row .eyebrow { color: var(--cheddar); padding-top: 4px; }
.info-row a:hover { color: var(--cheddar); }
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.delivery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.where-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.open-now { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; }
.open-now .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cetriolo); box-shadow: 0 0 0 4px rgba(110, 139, 61, 0.25); }


/* FAQ */
.faq-list { max-width: 56rem; border-top: var(--border) solid var(--piastra); }
.faq-item { border-bottom: var(--border) solid var(--piastra); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--piastra); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 200ms var(--ease-out); }
.faq-icon::before { width: 22px; height: 2px; }
.faq-icon::after { width: 2px; height: 22px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { padding: 0 60px 24px 0; max-width: 46rem; }
.faq-page { padding-top: calc(var(--header-h) + 64px); }
.faq-page .section-head { max-width: 56rem; }
.footer-ai { margin-top: 20px; max-width: none; font-size: 0.78rem; line-height: 1.5; opacity: 0.7; }


/* Three square photos before the footer */
.photo-trio { background: var(--piastra); line-height: 0; }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trio-item { margin: 0; overflow: hidden; }
.trio-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (max-width: 859px) {
  .trio-grid { grid-template-columns: 1fr 1fr; }
  .trio-item:first-child { grid-column: 1 / -1; }
}

/* Footer */
.site-footer {
  background: #0E0C0B;
  color: var(--panna);
  padding: 64px 0 120px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: var(--border) solid rgba(250, 243, 232, 0.18);
}
.footer-top .wordmark-top { font-size: 0.8rem; margin-bottom: 6px; }
.footer-top .wordmark-main { font-size: 3.2rem; }
.footer-top .claim { margin-top: 14px; max-width: 26rem; opacity: 0.8; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-badges img { height: 46px; width: auto; display: block; }
.store-badges a { display: inline-block; transition: transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro); }
.store-badges a:hover { opacity: 0.85; }
.store-badges a:active { transform: scale(0.96); }
.coming-soon { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.01em; color: var(--cheddar); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .eyebrow { color: var(--cheddar); margin-bottom: 8px; }
.footer-col a:hover { color: var(--cheddar); }
.footer-bottom .powered { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .powered:hover { color: var(--cheddar); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* Sticky order bar (mobile) */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  display: none;
  transform: translateY(calc(100% + 24px));
  transition: transform 320ms var(--ease-out);
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal.is-in { opacity: 1; transform: none; }

/* Legal pages */
.legal { padding: calc(var(--header-h) + 64px) 0 120px; }
.legal .prose { max-width: 46rem; margin-top: 40px; display: grid; gap: 18px; }
.legal .prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 18px; }
.legal .prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.legal .prose a { text-decoration: underline; }

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.page-404 .display { font-size: clamp(5rem, 24vw, 18rem); }

/* Responsive */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .where-grid { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
  :root { --header-h: 60px; }
  .logo-img { height: 48px; }
  .footer-top .logo-img { height: 110px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--brioche);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px var(--gutter);
    gap: 8px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
    z-index: 99;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a::after { display: none; }
  .site-nav .lang { margin-top: 24px; font-family: var(--font-body); font-size: 0.85rem; }
  .site-header.is-open { background: var(--brioche); }
  body.is-locked { position: fixed; width: 100%; overflow: hidden; }

  .hero:not(.hero-photo) { height: 300vh; }
  .hero-copy {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: auto;
    bottom: 28px;
    transform: translateY(calc(var(--p) * 40px));
  }
  .hero-copy .lede { font-size: 1rem; margin-bottom: 20px; }
  .hero-copy .h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); margin-bottom: 14px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; font-size: 0.82rem; }
  .hero-hint { display: none; }
  .hero-bg-word { top: 34%; font-size: 28vw; }
  .tag-card { padding: 5px 8px 5px 17px; box-shadow: 3px 4px 0 rgba(20, 17, 16, 0.08); }
  .tag-card b { font-size: 0.74rem; }
  .tag-card small { font-size: 0.6rem; }
  .tag-card::before { left: 6px; width: 6px; height: 6px; }
  .tag-line { width: 12px; }

  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .sticky-cta { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .br-m { display: inline; }
  .site-footer { padding-bottom: 110px; }
  .menu-card:hover { box-shadow: none; }
  .promise { border-right: 0; }

  /* Header: solid brioche once past the hero, same as the section below (threshold lives in main.js) */
  .site-header.is-scrolled { background: var(--brioche); }

  /* Four acts: number twice as big, top right, card size unchanged */
  .act .num { position: absolute; top: 20px; right: 22px; font-size: 6rem; line-height: 0.8; }

  /* Heat pills: title, the two plain pills side by side, the orange one alone and bigger */
  .heat { display: grid; grid-template-columns: max-content 1fr; gap: 12px 10px; align-items: center; }
  .heat .h3, .heat .pill-cheddar, .heat .muted { grid-column: 1 / -1; }
  .heat .h3 { margin-right: 0; }
  .heat .pill { justify-self: start; }
  .heat .pill-cheddar { font-size: 1rem; padding: 12px 22px; }

  /* Promises: number twice as big, right aligned */
  .promise .num { font-size: 4.4rem; line-height: 0.85; justify-self: end; }

  /* Footer: everything centred */
  .site-footer { text-align: center; }
  .footer-top > div:first-child { display: grid; justify-items: center; }
  .footer-top .brand { margin-right: 0; }
  .footer-top .wordmark { align-items: center; }
  .footer-top .wordmark-top { margin-left: 0; }
  .footer-top .wordmark-main { transform-origin: center; }
  .footer-top .claim { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .footer-col { justify-items: center; }
  .footer-ai br { display: none; }
  #menu .h2 em { font-size: 1.4em; }
  .section-dark:not(.where) .section-head .h2 { font-size: 2.7rem; }
}

@media (min-width: 860px) {
  .promise:nth-child(4n) { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hint-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
  .tag { transition: none; }
}
