/* Batch 37 — site styles. Mobile-first; desktop layout at >= 900px.
   Type hierarchy: Tan Nimbus = page titles ("where am I"), bold Helvetica = section headings ("what am I reading"),
   JUST Serif ExtraBold = cookie names (matches the round labels). */

@font-face { font-family: "Tan Nimbus"; src: url("/assets/fonts/TanNimbus.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "JUST Serif"; src: url("/assets/fonts/JUSTSerif-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JUST Serif"; src: url("/assets/fonts/JUSTSerif-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
/* Body: the visitor's own Helvetica Neue (Apple devices), matched by exact face name so a machine with
   many Helvetica variants installed can't substitute an oblique one. Not embedded (not licensed for web). */
@font-face { font-family: "B37 Sans"; src: local("HelveticaNeue"), local("HelveticaNeue-Roman"), local("Helvetica Neue"); font-weight: 400; font-style: normal; }
@font-face { font-family: "B37 Sans"; src: local("HelveticaNeue-Bold"), local("Helvetica Neue Bold"); font-weight: 700; font-style: normal; }
@font-face { font-family: "B37 Sans"; src: local("HelveticaNeue-Italic"), local("Helvetica Neue Italic"); font-weight: 400; font-style: italic; }

:root {
  /* Brand colors (style guide) */
  --nectarine: #E88D62;
  --cream: #FCF1D2;
  --mint: #E4F1E7;
  --turmeric: #DCB747;
  --avocado: #365A2E;
  --black: #000;
  --white: #fff;
  --charcoal: #2F2C29;   /* sold-out flavors */

  --font-display: "Tan Nimbus", "JUST Serif", Georgia, serif;   /* page titles, menu */
  --font-name: "JUST Serif", Georgia, serif;                      /* cookie names (weight 800) */
  --font-serif: "JUST Serif", Georgia, serif;                     /* numerals */
  --font-body: "B37 Sans", Helvetica, Arial, sans-serif;          /* body + section headings */

  --gutter: 20px;
  --max: 1120px;
  --header-h: 60px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--black);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.1; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.05; letter-spacing: .005em; }
h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.4rem, 3.6vw, 1.75rem); letter-spacing: -.01em; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.cookie-name { font-family: var(--font-name); font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--avocado); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--cream); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.muted { color: #4a4a4a; }
.nowrap { white-space: nowrap; }
.fine { font-size: 14px; margin-top: 24px; }
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border-radius: var(--radius-pill);
  font: 700 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--black); background: transparent; color: var(--black);
}
.btn-order { background: var(--nectarine); border-color: var(--nectarine); color: var(--black); }
.btn-order:hover { background: #df7a4b; border-color: #df7a4b; }
.btn-dark { background: var(--black); color: var(--cream); }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* "Get drop details" button with how you get your cookies underneath */
.order-block { display: grid; justify-items: center; gap: 10px; margin-top: 32px; text-align: center; }
.order-block .btn { min-width: 240px; min-height: 52px; font-size: 18px; }
.order-block p { margin: 0; font-size: 15px; }
.order-block .next-drop { font-size: 14px; }
.price-line { display: grid; gap: 2px; margin: 0; font-size: 15px; }
.price-line .price { white-space: nowrap; }
.price-line .price-note { font-size: 14px; }
.page-head .price-line { margin-top: 14px; }

/* Small "New" tag (Home circles and the Cookies list) */
.tag-new, .tag-retired {
  display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: var(--radius-pill);
  font: 700 11px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.tag-new { background: var(--nectarine); color: var(--black); }
.tag-retired { border: 1.5px solid var(--ink-muted, #4a4a4a); color: #4a4a4a; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; width: 100%; height: 100%; background: #f4ead0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #6b6150; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 8px;
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,.04) 10px 20px);
}
.photo { width: 100%; height: 100% !important; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: var(--cream); border-bottom: 1.5px solid var(--black);
}
.brand { display: block; flex: none; width: 66px; }
.brand img { width: 100%; height: auto; }
.nav { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; font: 700 14px var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--black);
}
.menu-btn .bars { width: 22px; height: 14px; position: relative; display: inline-block; border-top: 2px solid; border-bottom: 2px solid; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid; }
/* Instagram: icon-only in the desktop header, icon + word in the phone menu, footer and buttons */
.header-actions { display: flex; align-items: center; gap: 10px; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.ig-icon { flex: none; display: block; }
.header-ig { width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
.header-ig:hover { background: var(--black); color: var(--cream); }
/* Small Get drop details button in the header (every page but Home) */
.btn-header { min-height: 36px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
/* Phones: no Instagram icon in the header (it's in the phone menu and the footer), leaving room for the button. */
@media (max-width: 899px) { .header-ig { display: none; } }
.btn-ig { gap: 10px; }
.btn-ig .ig-icon { width: 20px; height: 20px; }

/* Full-screen mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--cream);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 24px; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
}
.menu.open { transform: none; visibility: visible; transition: transform .25s ease; }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #444; }
.menu-top .brand { width: 66px; }
.menu-close { background: none; border: 0; color: var(--cream); font: 700 14px var(--font-body); letter-spacing: .08em; text-transform: uppercase; min-height: 44px; cursor: pointer; }
.menu-links { list-style: none; margin: 16px 0 0; padding: 0; }
.menu-links a { display: block; padding: 10px 0; font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; text-decoration: none; }
.menu-links a[aria-current="page"] { color: var(--nectarine); }
.menu-small { margin-top: auto; padding-top: 24px; border-top: 1px solid #444; display: flex; gap: 20px; font-size: 15px; }
.menu-small a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu-stripes { height: 14px; margin: 20px calc(var(--gutter) * -1) -24px; background: repeating-linear-gradient(90deg, var(--mint) 0 18px, var(--avocado) 18px 36px); }
body.menu-open { overflow: hidden; }
.menu :focus-visible, .site-footer :focus-visible, .alerts :focus-visible { outline-color: var(--nectarine); }

/* No fixed order bar: phones and desktop use the same in-page Order button (under the cookie list on Home,
   under the description on flavor pages). The live banner at the top stays pinned and links to ordering too. */

/* ---------- Stripe panels ---------- */
.stripes { position: relative; overflow: hidden; }
.stripes::before, .stripes::after { content: ""; position: absolute; left: 0; right: 0; }
.stripes::before { top: 0; height: 50%; background: repeating-linear-gradient(90deg, var(--mint) 0 34px, var(--avocado) 34px 68px); }
.stripes::after { bottom: 0; height: 50%; background: repeating-linear-gradient(90deg, var(--cream) 0 34px, var(--black) 34px 68px); }

.polaroid { position: absolute; z-index: 1; background: var(--white); padding: 8px 8px 22px; box-shadow: 0 6px 18px rgba(0,0,0,.22); margin: 0; }
.polaroid .frame { aspect-ratio: 3 / 4; overflow: hidden; }

/* ---------- Home hero ---------- */
/* Phones/tablets: no stripe panel or photos. The logo (with tagline) leads, then the flavor circles. */
.hero-band { display: none; }
.hero-main { padding: 32px var(--gutter) 36px; text-align: center; }
.hero-logo { width: min(300px, 78%); margin: 0 auto 8px; }
.hero-logo img { width: 100%; }
.hero-tagline { display: none; }
.hero-intro { max-width: 46ch; margin: 14px auto 0; font-size: 17px; }
/* The menu: a ruled label ("—— OUR COOKIES ——") above the circles separates it from the logo,
   and a full-width rule under the hero separates it from "How it works". All on cream. */
.menu-label {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 560px; margin: 28px auto 26px;
  font: 700 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
.menu-label::before, .menu-label::after { content: ""; flex: 1; height: 1.5px; background: var(--black); }
.menu-label span { flex: none; max-width: 80%; }
@media (max-width: 899px) {
  .home-hero { border-bottom: 1.5px solid var(--black); }
  .hero-main { padding-bottom: 40px; }
}
/* The hero logo is the logo at the top of Home, so the small header logo waits until you scroll */
@media (max-width: 899px) { body.home:not(.scrolled) .site-header .brand { visibility: hidden; } }

/* Banner: slim Nectarine bar pinned to the top of every page when a next drop date is posted (links to drop details).
   Nectarine is the brand's attention color (it matches the main button) and doesn't merge with the hero stripes. */
:root { --banner-h: 38px; }
.live-banner {
  position: sticky; top: 0; z-index: 45; height: var(--banner-h);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--nectarine); color: var(--black); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1.5px solid var(--black);
}
.live-banner:hover span:not(.live-dot) { text-decoration: underline; text-underline-offset: 3px; }
.live-banner .live-dot { background: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.18); }
@media (prefers-reduced-motion: no-preference) { .live-banner .live-dot { animation-name: live-pulse-dark; } }
@keyframes live-pulse-dark { 50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); } }
body.has-live .site-header { top: var(--banner-h); }
.live-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #7fe08f; box-shadow: 0 0 0 3px rgba(127,224,143,.25); }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: live-pulse 2s ease-in-out infinite; } }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 6px rgba(127,224,143,0); } }

.hero-main .order-block { margin-top: 28px; }

/* Flavor circles: generous spacing so the patterns don't vibrate against each other */
/* Centered, wrapping rows (3 per row, 6 on wide screens) so a drop with only a few cookies still looks balanced */
.flavor-row { --cols: 3; --cg: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px var(--cg); list-style: none; margin: 0; padding: 0; }
.flavor-row > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--cg)) / var(--cols)); min-width: 0; }
.hero-main .flavor-row { max-width: 560px; margin: 0 auto; }
.flavor-row a { display: block; text-decoration: none; text-align: center; }
.flavor-row .icon { position: relative; display: block; width: 76px; margin: 0 auto 14px; }
.flavor-row .icon img { width: 100%; height: auto; transition: transform .2s ease; }
.flavor-row a:hover .icon img { transform: rotate(-8deg) scale(1.04); }
.flavor-row .name { display: block; font-family: var(--font-name); font-weight: 800; font-size: 15px; line-height: 1.2; margin: 0 -14px; }
.flavor-row .tag-new { margin-top: 6px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; align-content: start; }
.steps li::before { content: counter(s); font: 800 2.2rem/1 var(--font-serif); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; font-size: 16px; }

/* Baker teaser: text only on Home (Kelly's photo lives on the About page) */
.teaser { border-top: 1.5px solid var(--black); }
.teaser-copy { padding-block: 48px; }
.teaser-copy p:not(.eyebrow) { max-width: 60ch; }

/* Alerts band */
.alerts { background: var(--avocado); color: var(--cream); padding: 36px 0; }
.alerts .wrap { display: grid; gap: 16px; }

/* Footer */
.site-footer { background: var(--black); color: var(--cream); padding: 40px 0 28px; }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-brand img { width: 120px; }
.footer-place { margin: 14px 0 0; font-size: 14px; color: #d8cfbd; }
/* One row on desktop; wraps to two at most on phones */
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: 13px; color: #b9b0a0; border-top: 1px solid #333; padding-top: 18px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 40px 0 32px; border-bottom: 1.5px solid var(--black); }
.page-head p { max-width: 60ch; font-size: 18px; margin: 0; }
.page-head .eyebrow { margin-bottom: 18px; font-size: 13px; }

/* ---------- Cookies page: every cookie, expandable ---------- */
.cookie-list { border-top: 1.5px solid var(--black); }
.cookie { border-bottom: 1.5px solid var(--black); scroll-margin-top: calc(var(--header-h) + var(--banner-h) + 12px); }
.cookie summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px;
  gap: 16px; align-items: center; padding: 18px 0;
}
.cookie summary::-webkit-details-marker { display: none; }
.cookie-icon { width: 64px; }
.cookie-head { display: grid; gap: 4px; }
.cookie-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cookie-name { font-family: var(--font-name); font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.cookie-short { font-size: 15px; color: #4a4a4a; }
.cookie-chev::after { content: "+"; display: block; text-align: center; font: 800 1.6rem/1 var(--font-serif); }
.cookie[open] .cookie-chev::after { content: "\2013"; }
.cookie summary:hover .cookie-name { text-decoration: underline; text-underline-offset: 4px; }
.cookie.is-retired .cookie-icon { opacity: .55; }
/* Phones: the round icon in the row stands in for the pattern (a narrow strip would squeeze it). */
.cookie-panel { padding: 0 0 26px; }
.cookie-mark { display: block; width: 64px; height: 64px; }
.cookie-tape { display: none; }
.cookie-body .lede { font-size: 18px; max-width: 56ch; margin-bottom: 14px; }
.cookie-photo { margin: 0 0 18px; padding: 8px 8px 20px; background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.cookie-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.contains { display: inline-block; margin: 0; padding: 10px 14px; border: 1.5px solid var(--black); background: var(--white); font-size: 16px; }

/* ---------- Prose pages ---------- */
.prose { max-width: 66ch; }
.prose p { font-size: 18px; }
.about-grid { display: grid; gap: 24px; padding-block: 32px 56px; } /* padding-block keeps .wrap's side gutters */
/* Phones/tablets: a small round portrait (like the flavor icons) so the story starts right away.
   Desktop: the full 4:5 photo beside the story. */
.about-photo { width: 132px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--black); overflow: hidden; }
.about-photo .ph { font-size: 10px; }
/* Two crops: a head-and-shoulders square for the circle, a 4:5 portrait for desktop */
.about-full { height: 100%; }
.about-photo:has(.about-round) .about-full:not(.always) { display: none; }
@media (min-width: 900px) {
  .about-grid { gap: 32px; padding-block-start: 40px; }
  .about-photo { width: auto; aspect-ratio: 4 / 5; border-radius: 0; }
  .about-photo .ph { font-size: 12px; }
  .about-round { display: none; }
  .about-photo:has(.about-round) .about-full:not(.always) { display: block; }
}
.why37 { background: var(--black); color: var(--cream); padding: 28px 28px 40px; position: relative; overflow: hidden; }
.why37 h2 { font-family: var(--font-serif); font-weight: 800; font-size: 1.9rem; }
.why37::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--cream) 0 16px, var(--black) 16px 32px); }

.faq { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--black); }
.faq details { border-bottom: 1.5px solid var(--black); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 800 1.6rem/1 var(--font-serif); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; margin: 0; max-width: 62ch; }

.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea {
  font: 400 17px var(--font-body); padding: 12px 14px; border: 1.5px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); min-height: 48px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; gap: 16px; }
.form .hp { display: none; }
.form-note { font-size: 14px; }

/* Press: a plain list, newest first, one rule between entries */
.section-tight { padding-top: 12px; }
.press { list-style: none; margin: 0; padding: 0; }
.press li { padding: 24px 0; }
.press li + li { border-top: 1.5px solid var(--black); }
.press h3 { margin-bottom: 10px; }
.award { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: var(--radius-pill); background: var(--turmeric); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.award::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--black); }
.press-summary { margin: 12px 0 0; max-width: 62ch; }
.empty { border: 1.5px dashed var(--black); padding: 28px; text-align: center; background: rgba(255,255,255,.4); }

/* ---------- >= 640px ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .flavor-row { --cg: 48px; row-gap: 40px; }
  .flavor-row .icon { width: 84px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .alerts .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer .wrap { grid-template-columns: 1fr 2fr; }
  .footer-links { flex-wrap: nowrap; gap: 0 28px; align-self: center; justify-content: flex-end; }
  .footer-legal { grid-column: 1 / -1; }
  .form .row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop >= 900px ---------- */
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .brand { width: 72px; }
  .nav { display: block; }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
  .nav a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
  .nav a.nav-strong { font-weight: 800; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--black); }
  .site-header { justify-content: flex-start; gap: 40px; }
  .header-actions { margin-left: auto; }

  /* Home: at the very top the menu floats over the cream column (as in the mockup); any scroll makes it the solid bar. */
  body.home .site-header { position: fixed; left: 38%; right: 0; background: transparent; border-bottom-color: transparent; }
  body.home .site-header .brand { visibility: hidden; width: 0; margin-right: -40px; }
  body.home.scrolled .site-header { left: 0; background: var(--cream); border-bottom-color: var(--black); }
  body.home.scrolled .site-header .brand { visibility: visible; width: 72px; margin-right: 0; }

  .home-hero { display: grid; grid-template-columns: 38% 62%; min-height: max(700px, 100vh); border-bottom: 1.5px solid var(--black); }
  .hero-band { display: block; height: auto; border-right: 1.5px solid var(--black); }
  .hero-band .polaroid { display: block !important; transform: none; }
  .hero-band .polaroid .frame { aspect-ratio: 3 / 4; }
  .hero-band .p1 { width: 38%; left: 12%; top: 6%; transform: rotate(-8deg); }
  .hero-band .p2 { width: 36%; left: 52%; top: 20%; transform: rotate(14deg); }
  .hero-band .p-main { width: 40%; left: 6%; top: 44%; transform: rotate(-5deg); }
  .hero-band .p4 { width: 34%; left: 52%; top: 58%; transform: rotate(9deg); }
  .hero-main { padding: calc(var(--header-h) + 36px) 48px 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .hero-menu { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-logo { align-self: flex-end; width: min(460px, 82%); margin: 0 0 12px; }
  .menu-label { margin: 34px auto 28px; }
  body.home.has-live .site-header { top: var(--banner-h); }
  .batch-note { margin-top: 28px; }
  .flavor-row { --cg: 56px; }
  .hero-main .flavor-row { width: 100%; max-width: 520px; }

  .about-grid { grid-template-columns: 2fr 3fr; align-items: start; }
  /* Desktop: opening a cookie stretches its round icon straight down into a pill of its pattern
     (like packing tape unrolling) that runs the height of the details. The text lines up under the name. */
  .cookie { position: relative; }
  .cookie-mark { align-self: start; }
  .cookie-tape {
    display: block; position: absolute; left: 0; top: 18px; width: 64px; height: 64px; z-index: 0;
    border-radius: 32px; border: 1px solid var(--black); box-sizing: border-box;
    background-size: 140% auto; background-repeat: repeat-y; background-position: center top; /* roughly the icon's scale */
    opacity: 0; transition: height .45s cubic-bezier(.3, .7, .2, 1), opacity .2s ease;
  }
  .cookie-icon { position: relative; z-index: 1; transition: opacity .2s ease; }
  .cookie[open] .cookie-tape { opacity: 1; height: calc(100% - 18px - 32px); }
  .cookie[open] .cookie-icon { opacity: 0; }
  .cookie-panel { padding: 0 0 32px 80px; min-height: 120px; }
  /* With a photo: text on the left, a tilted print (like the homepage polaroids) on the right */
  .cookie-panel.has-photo { display: grid; grid-template-columns: minmax(0, 560px) 250px; gap: 64px; align-items: start; }
  .cookie-panel.has-photo .cookie-body { grid-column: 1; grid-row: 1; }
  .cookie-photo { grid-column: 2; grid-row: 1; margin: -38px 16px 0 0; rotate: 2.5deg; }
  .cookie-photo img { aspect-ratio: 4 / 5; }
  .cookie[open] .cookie-body, .cookie[open] .cookie-photo { animation: cookie-in .35s .12s ease both; }
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cookie-tape, .cookie-icon { transition: none; }
  .cookie[open] .cookie-body, .cookie[open] .cookie-photo { animation: none; }
}

/* Wide screens: the flavor circles fit on one line, as in the mockup */
@media (min-width: 1280px) {
  .hero-main .flavor-row { --cols: 6; --cg: 44px; max-width: 760px; }
  .hero-main .flavor-row .icon { width: 80px; }
  .hero-main .menu-label { max-width: 640px; }
  .more-flavors .flavor-row { --cols: 6; max-width: 820px; }
}

/* Only shown in the single-file preview build */
.preview-note { background: var(--black); color: var(--cream); text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; }
@media (min-width: 900px) { .preview-note { position: fixed; left: 16px; bottom: 16px; z-index: 50; border-radius: var(--radius-pill); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
