/* ==========================================================================
   Spoonful Overnight Oats — Prototype v1 "Playful"
   Brand tokens from designsystem/tokens.css, pushed toward the playful
   direction explored in design-research/Spoonful Website v2 Playful.
   ========================================================================== */

/* ---- Licensed brand fonts (drop files into /fonts to activate) ---------- */
@font-face { font-family: "Feature Display Condensed"; src: url("../fonts/FeatureDisplayCondensed-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Feature Display Condensed"; src: url("../fonts/FeatureDisplayCondensed-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "GT America"; src: url("../fonts/GTAmerica-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GT America"; src: url("../fonts/GTAmerica-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Flavor palette */
  --milk: #C0C5E4;  --navy: #151F6D;
  --mist: #A1C4BC;  --orchard: #006351;
  --peanut: #9D5D07; --cocoa: #733907;
  --cream: #FEFCEF; --black: #000;
  /* Secondary */
  --sky: #A5C5E9; --corn: #0077C8; --peach: #FCD0B3; --rose: #E8B4B8;
  --sand: #BDA58D; --olive: #AB8940; --brick: #B22C1B; --marigold: #F2A900; --citron: #BFAD0D;
  /* Semantic */
  --ink: var(--navy);
  --ink-2: #4A5185;
  --line: var(--navy);
  --line-soft: #D9DCEB;
  --bg: var(--cream);
  --font-display: "Feature Display Condensed", "Playfair Display", Georgia, serif;
  --font-body: "GT America", "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow: 3px 3px 0 var(--navy);
  --shadow-lg: 6px 6px 0 var(--navy);
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --wrap: 1280px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--marigold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--corn); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--marigold); color: var(--navy); padding: 10px 16px; border: 2px solid var(--navy); border-radius: var(--r-pill); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---- Type ------------------------------------------------------------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.display-xl { font-size: clamp(52px, 8.5vw, 112px); line-height: .94; }
.display-lg { font-size: clamp(40px, 6vw, 76px); line-height: .98; }
.display-md { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; }
.display-sm { font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.display em, h1 em, h2 em, h3 em { font-style: italic; }
.hi { color: var(--marigold); -webkit-text-stroke: 1.5px var(--navy); paint-order: stroke fill; }
.hi-brick { color: var(--brick); }
.hi-corn { color: var(--corn); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 560px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.underline-wavy { text-decoration: underline wavy var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ----------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { max-width: 520px; margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-4.keep-2, .grid-3.keep-2 { grid-template-columns: repeat(2, 1fr); } }

/* Backgrounds */
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-corn { background: var(--corn); color: var(--cream); }
.bg-milk { background: var(--milk); color: var(--navy); }
.bg-mist { background: var(--mist); color: var(--navy); }
.bg-peach { background: var(--peach); color: var(--navy); }
.bg-sky { background: var(--sky); color: var(--navy); }
.bg-marigold { background: var(--marigold); color: var(--navy); }
.bg-rose { background: var(--rose); color: var(--navy); }
/* Repeating spoon pattern (brandbook decorative mark). Tiles are pre-tinted PNGs with
   opacity baked in: cream spoons for deep backgrounds, navy spoons for light ones. */
.stripes { background-image: url("../assets/img/pattern-spoon-cream.png"); background-size: 300px auto; background-repeat: repeat; background-attachment: fixed; }
.stripes-dark { background-image: url("../assets/img/pattern-spoon-navy.png"); background-size: 300px auto; background-repeat: repeat; background-attachment: fixed; }
.dots { background-image: radial-gradient(rgba(21,31,109,.18) 1.4px, transparent 1.5px); background-size: 18px 18px; background-attachment: fixed; }
.border-y { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.border-t { border-top: 2px solid var(--navy); }
.border-b { border-bottom: 2px solid var(--navy); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 2px solid var(--navy); border-radius: var(--r-pill);
  background: var(--cream); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-marigold { background: var(--marigold); color: var(--navy); }
.btn-brick { background: var(--brick); color: var(--cream); }
.btn-corn { background: var(--corn); color: var(--cream); }
.btn-inverse { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 3px 3px 0 rgba(254,252,239,.4); }
.btn-inverse:hover { box-shadow: 4px 4px 0 rgba(254,252,239,.5); }
.btn-flat { box-shadow: none; }
.btn-flat:hover { box-shadow: none; transform: none; background: var(--navy); color: var(--cream); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--brick); }
.link:hover { color: var(--navy); }
.link-nav { text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--marigold); }

/* ---- Stickers & badges ------------------------------------------------ */
.sticker {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--navy); border-radius: var(--r-pill);
  background: var(--marigold); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow); transform: rotate(-3deg); white-space: nowrap;
}
.sticker.r { transform: rotate(3deg); }
.sticker.flat { transform: none; }
.sticker.cream { background: var(--cream); }
.sticker.peach { background: var(--peach); }
.sticker.milk { background: var(--milk); }
.sticker.mist { background: var(--mist); }
.sticker.rose { background: var(--rose); }
.sticker.sky { background: var(--sky); }
.sticker.brick { background: var(--brick); color: var(--cream); }
.sticker.navy { background: var(--navy); color: var(--cream); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 2px solid currentColor; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--cream); font-size: 13px; font-weight: 600; }

/* ---- Announcement + header ------------------------------------------- */
.announce { background: var(--marigold); color: var(--navy); border-bottom: 2px solid var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.announce .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.announce a { white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 2px solid var(--navy); }
.site-header .wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 60px; width: auto; }
@media (max-width: 640px) { .logo img { height: 46px; } }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a { text-decoration: none; padding: 9px 15px; border: 2px solid var(--navy); border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); transition: transform .12s ease, box-shadow .12s ease; }
.nav a:hover { transform: translate(-1px,-1px); box-shadow: var(--shadow); }
.nav a[aria-current="page"] { box-shadow: var(--shadow); }
.nav a.c-milk { background: var(--milk); } .nav a.c-mist { background: var(--mist); } .nav a.c-peach { background: var(--peach); } .nav a.c-sky { background: var(--sky); } .nav a.c-rose { background: var(--rose); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--navy); border-radius: 50%; background: var(--cream); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--brick); color: var(--cream); border: 2px solid var(--navy); border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow); text-decoration: none; }
.cart-btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--navy); }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--cream); color: var(--navy); font-size: 12px; font-weight: 800; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(-8deg); } 100% { transform: scale(1); } }
.burger { display: none; }

/* ---- Nav variant B: navy capsule with sliding marigold highlight ---------- */
.site-header.nav-b .nav { position: relative; gap: 2px; padding: 6px; background: var(--navy); border: 2px solid var(--navy); border-radius: var(--r-pill); box-shadow: var(--shadow); }
.site-header.nav-b .nav a { position: relative; z-index: 1; border: 0; background: transparent; color: var(--cream); padding: 0 20px; height: 38px; display: inline-flex; align-items: center; font-size: 12px; letter-spacing: .08em; transition: color .18s ease; }
.site-header.nav-b .nav a:hover { transform: none; box-shadow: none; color: var(--navy); }
.site-header.nav-b .nav a[aria-current="page"] { box-shadow: none; color: var(--navy); }
.site-header.nav-b .nav:hover a[aria-current="page"]:not(:hover) { color: var(--cream); }
.site-header.nav-b .nav-ind { position: absolute; left: 0; top: 6px; height: 38px; width: 0; border-radius: var(--r-pill); background: var(--marigold); opacity: 0; transition: transform .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1), opacity .2s ease; pointer-events: none; }
.site-header.nav-b .cart-btn { background: var(--navy); }
.site-header.nav-b .cart-btn .cart-count { background: var(--marigold); }
.site-header.nav-b .icon-btn { border-color: var(--navy); }
@media (max-width: 1040px) {
  .site-header.nav-b.nav-open .nav { border-radius: 0; box-shadow: none; padding: 16px 24px 24px; background: var(--navy); }
  .site-header.nav-b.nav-open .nav a { color: var(--cream); border: 2px solid rgba(254,252,239,.35); border-radius: var(--r-pill); margin-bottom: 8px; }
  .site-header.nav-b .nav-ind { display: none; }
}

/* Variant switcher (review aid) */
.nav-switch { position: fixed; left: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; background: var(--cream); border: 2px solid var(--navy); border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow); }
.nav-switch button { width: 28px; height: 28px; border: 2px solid var(--navy); border-radius: 50%; background: var(--cream); font-size: 11px; font-weight: 800; }
.nav-switch button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
@media print { .nav-switch { display: none; } }
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header.nav-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; background: var(--cream); border-bottom: 2px solid var(--navy); box-shadow: 0 20px 40px rgba(21,31,109,.15); }
  .site-header.nav-open .nav a { text-align: center; padding: 14px; font-size: 14px; }
}

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--cream); border-top: 2px solid var(--navy); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--marigold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 4px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--cream); border-radius: var(--r-pill); background: transparent; color: var(--cream); }
.newsletter input::placeholder { color: rgba(254,252,239,.6); }
.footer-bottom { border-top: 1px solid rgba(254,252,239,.25); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-logo { display: block; width: min(100%, 520px); margin: 0 auto 8px; opacity: .95; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid rgba(254,252,239,.5); border-radius: 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---- Ticker ----------------------------------------------------------- */
.ticker { position: relative; overflow: hidden; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); background: var(--marigold); color: var(--navy); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 18px; padding: 14px 22px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker-item::after { content: "✦"; font-size: 14px; }
.ticker-pause { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 2px solid var(--navy); border-radius: 50%; background: var(--cream); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker.on-navy { background: var(--navy); color: var(--cream); }
.ticker.on-navy .ticker-pause { background: var(--navy); color: var(--cream); border-color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .ticker-pause { display: none; } .float, .wiggle { animation: none !important; } }

/* ---- Cards ------------------------------------------------------------ */
.card { background: var(--cream); border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card.lift:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.card-body { padding: 22px; }
.card-pad { padding: 28px; }
.product-card { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.product-card .media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; border-bottom: 2px solid var(--navy); overflow: hidden; text-decoration: none; }
.product-card .name { text-decoration: none; }
.product-card .name:hover { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.product-card .media img { width: 78%; height: 78%; object-fit: contain; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.product-card .media img.cover { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .media img { transform: rotate(-4deg) scale(1.06); }
.product-card:hover .media img.cover { transform: scale(1.05); }
.product-card .media .sticker { position: absolute; left: 14px; top: 14px; }
.product-card .media .sold { position: absolute; right: 14px; top: 14px; }
.product-card .body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.product-card .name { font-family: var(--font-display); font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.product-card .price { font-weight: 700; }
.product-card .per { font-size: 13px; color: var(--ink-2); }
.product-card .actions { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.product-card .actions .btn { flex: 1; }
[data-flavor="blueberry"] { --f-light: var(--milk); --f-deep: var(--navy); --f-on-light: var(--navy); }
[data-flavor="apple"] { --f-light: var(--mist); --f-deep: var(--orchard); --f-on-light: var(--navy); }
[data-flavor="peanut"] { --f-light: var(--peanut); --f-deep: var(--cocoa); --f-on-light: var(--cream); }
[data-flavor="sampler"] { --f-light: var(--peach); --f-deep: var(--brick); --f-on-light: var(--navy); }
[data-flavor="merch"] { --f-light: var(--sky); --f-deep: var(--navy); --f-on-light: var(--navy); }
.f-light { background: var(--f-light); color: var(--f-on-light); }
.f-deep { background: var(--f-deep); color: var(--cream); }

/* Feature tiles */
.tile { border: 2px solid var(--navy); border-radius: var(--r-lg); padding: 24px; background: var(--cream); }
.tile .icon { width: 64px; height: 64px; border: 2px solid var(--navy); border-radius: 50%; display: grid; place-items: center; background: var(--cream); margin-bottom: 16px; overflow: hidden; }
.tile .icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); }
.tile h3 { font-size: 26px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Steps */
.step { position: relative; padding: 28px 24px 24px; border: 2px solid var(--navy); border-radius: var(--r-lg); }
.step .num { position: absolute; top: -18px; left: 20px; width: 40px; height: 40px; border: 2px solid var(--navy); border-radius: 50%; background: var(--marigold); display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }

/* Testimonials */
.quote { border: 2px solid var(--navy); border-radius: var(--r-lg); padding: 28px; background: var(--cream); position: relative; }
.quote .stars { color: var(--marigold); letter-spacing: 2px; font-size: 18px; -webkit-text-stroke: 1px var(--navy); }
.quote blockquote { margin: 12px 0 16px; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -.02em; }
.quote cite { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); display: inline-grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: 20px; }

/* Partners: stepped logo carousel (one slot per step, pause, repeat). Logos multiply onto the cream so their white boxes disappear. */
.partners { overflow: hidden; padding: 4px 0; }
.partners-track { display: flex; gap: 28px; width: max-content; will-change: transform; }
.partners img { width: 132px; height: 96px; flex: 0 0 auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .85; transition: opacity .2s ease, filter .2s ease; }
.partners img:hover { opacity: 1; filter: none; }
.partners:not(:has(.partners-track)) { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--navy); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { text-shadow: 5px 5px 0 var(--navy); }
.hero-art { position: relative; width: 100%; align-self: stretch; display: flex; align-items: center; margin: calc(-1 * clamp(48px, 7vw, 96px)) 0; }
.hero-art img.jars { width: 116%; max-width: none; margin-left: -8%; min-height: 100%; object-fit: contain; filter: drop-shadow(8px 10px 0 rgba(21,31,109,.55)); }
.hero-art .sticker { position: absolute; z-index: 2; }
/* Chips that slide away from the cursor (offset set by JS via --dx/--dy) */
.sticker.dodge { transform: rotate(-3deg); will-change: transform; transition: none; }
.sticker.dodge.r { transform: rotate(3deg); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.wiggle:hover { animation: wiggle .6s ease; }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 25% { transform: rotate(4deg) scale(1.05); } 75% { transform: rotate(-6deg); } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { min-height: 0; margin: 0 auto; width: min(100%, 520px); } .hero-art img.jars { width: 100%; margin-left: 0; min-height: 0; } }

/* Page hero (collections, docs) */
.page-hero { border-bottom: 2px solid var(--navy); padding: clamp(40px, 6vw, 72px) 0; }
.page-hero .display-lg { margin-top: 12px; }
.page-hero.stripes, .page-hero.stripes-dark { background-size: 170px auto; } /* smaller spoons on compact page headers */
.crumbs { font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* Image frame */
.frame { border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; background: var(--milk); box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 9; }
.frame.square { aspect-ratio: 1; }
.rot-l { transform: rotate(-2deg); } .rot-r { transform: rotate(2deg); }
/* Scroll parallax: JS sets --plx on [data-plx] elements (speed = attribute value) */
[data-plx] { --plx: 0px; transform: translate3d(0, var(--plx), 0); will-change: transform; }
.rot-l[data-plx] { transform: translate3d(0, var(--plx), 0) rotate(-2deg); }
.rot-r[data-plx] { transform: translate3d(0, var(--plx), 0) rotate(2deg); }
@media (prefers-reduced-motion: reduce) { [data-plx] { transform: none !important; } .stripes, .stripes-dark, .dots { background-attachment: scroll; } }
@media (max-width: 900px) { .stripes, .stripes-dark, .dots { background-attachment: scroll; } }

/* ---- Collection ------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 2px solid var(--navy); margin-bottom: 32px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs a, .tabs button { text-decoration: none; padding: 9px 16px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tabs a[aria-current="true"], .tabs button[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: 3px 3px 0 var(--brick); }
.select { height: 44px; padding: 0 40px 0 16px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23151F6D' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr; } }
.quick-row { display: grid; grid-template-columns: 72px 1fr auto 96px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--line-soft); }
.quick-row [data-line-total] { text-align: right; font-variant-numeric: tabular-nums; }
.quick-row img { width: 72px; height: 72px; object-fit: contain; border: 2px solid var(--navy); border-radius: var(--r-md); background: var(--f-light, var(--milk)); padding: 6px; }
@media (max-width: 640px) { .quick-row { grid-template-columns: 56px 1fr; } .quick-row .qr-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } }

/* ---- Product page ----------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery-main { position: relative; aspect-ratio: 1; border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--f-light, var(--milk)); }
.gallery-main img { width: 82%; height: 82%; object-fit: contain; transition: transform .3s ease; }
.gallery-main img.cover { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .sticker { position: absolute; left: 16px; top: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; border: 2px solid var(--navy); border-radius: var(--r-md); background: var(--cream); overflow: hidden; padding: 0; display: grid; place-items: center; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"] { box-shadow: var(--shadow); transform: translate(-2px,-2px); }
.buy h1 { font-size: clamp(38px, 4.4vw, 60px); margin: 12px 0 8px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.price-row .price { font-size: 28px; font-weight: 800; }
.price-row .compare { text-decoration: line-through; color: var(--ink-2); }
.option-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 10px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--cream); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .12s ease, color .12s ease; }
.pill small { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.pill small::before { content: "·"; margin-right: 8px; }
.pill:hover { background: var(--milk); }
.pill[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.pill[aria-pressed="true"] small { color: rgba(254,252,239,.8); }
.pill.soldout { border-style: dashed; opacity: .6; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: var(--r-pill); height: 50px; overflow: hidden; background: var(--cream); }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 700; }
.qty button:hover { background: var(--milk); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 22px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; }
.btn { max-width: 100%; }
.promise-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.promise-list li { display: flex; gap: 10px; align-items: flex-start; }
.promise-list li::before { content: "✓"; flex: 0 0 22px; height: 22px; display: inline-grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; font-size: 11px; font-weight: 800; background: var(--marigold); }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.highlights div { border: 2px solid var(--navy); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; background: var(--cream); }
.highlights strong { display: block; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr; } }
.nutrition { width: 100%; border-collapse: collapse; font-size: 14px; }
.nutrition th, .nutrition td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.nutrition td:nth-child(2), .nutrition td:nth-child(3), .nutrition th:nth-child(2), .nutrition th:nth-child(3) { text-align: right; }
.nutrition tr.indent td:first-child { padding-left: 18px; color: var(--ink-2); }
.nutrition tr.strong td { font-weight: 700; border-bottom: 3px solid var(--navy); }
.nutrition caption { text-align: left; font-family: var(--font-display); font-size: 26px; padding-bottom: 10px; }
.sticky-atc { display: none; }
@media (max-width: 900px) {
  .sticky-atc { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center; padding: 12px 16px; background: var(--cream); border-top: 2px solid var(--navy); box-shadow: 0 -10px 30px rgba(21,31,109,.12); }
  .sticky-atc .btn { flex: 1; }
  body.has-sticky { padding-bottom: 84px; }
}

/* ---- Accordion -------------------------------------------------------- */
details.acc { border-top: 2px solid var(--navy); }
details.acc:last-of-type { border-bottom: 2px solid var(--navy); }
details.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; flex: 0 0 32px; height: 32px; display: inline-grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; font-size: 18px; font-weight: 600; line-height: 1; background: var(--cream); transition: background .15s ease, color .15s ease; }
details.acc summary:hover::after { background: var(--marigold); }
details.acc[open] summary::after { content: "−"; background: var(--navy); color: var(--cream); }
details.acc summary { outline: none; }
details.acc summary:focus-visible { outline: 3px solid var(--corn); outline-offset: 4px; border-radius: 8px; }
details.acc .acc-body { padding: 0 0 22px; max-width: 720px; color: var(--ink); }
details.acc .acc-body p { margin-bottom: .8em; }

/* ---- Forms ------------------------------------------------------------ */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.input, .textarea { width: 100%; height: 50px; padding: 0 16px; border: 2px solid var(--navy); border-radius: 14px; background: var(--cream); }
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.input:focus, .textarea:focus { outline: 3px solid var(--corn); outline-offset: 2px; }
.input.invalid, .textarea.invalid { border-color: var(--brick); background: #fff3f1; }
.field .err { color: var(--brick); font-size: 13px; font-weight: 600; display: none; }
.field.has-err .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.radio-card { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 2px solid var(--navy); border-radius: 14px; cursor: pointer; }
.radio-card input { accent-color: var(--navy); }
.radio-card.on { background: var(--milk); box-shadow: var(--shadow); }
.note { padding: 14px 16px; border: 2px dashed var(--navy); border-radius: 14px; background: var(--cream); font-size: 14px; }
.note.solid { border-style: solid; background: var(--peach); }
.success { padding: 16px 18px; border: 2px solid var(--orchard); border-radius: 14px; background: #eaf5f0; color: var(--orchard); font-weight: 600; }

/* ---- Cart ------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 2px solid var(--line-soft); align-items: center; }
.line img { width: 96px; height: 96px; object-fit: contain; border: 2px solid var(--navy); border-radius: var(--r-md); background: var(--f-light, var(--milk)); padding: 6px; }
.line img.cover { object-fit: cover; padding: 0; }
.line .name { font-family: var(--font-display); font-size: 22px; line-height: 1.05; }
.line .meta { font-size: 13px; color: var(--ink-2); }
.line .right { text-align: right; font-weight: 700; }
.summary { border: 2px solid var(--navy); border-radius: var(--r-lg); padding: 24px; background: var(--cream); box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 16px); }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.summary .row.total { border-top: 2px solid var(--navy); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 800; }
.progress { height: 12px; border: 2px solid var(--navy); border-radius: var(--r-pill); overflow: hidden; background: var(--cream); }
.progress span { display: block; height: 100%; background: var(--orchard); transition: width .4s ease; }
.discount { display: flex; gap: 8px; margin-top: 14px; }
.discount input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--cream); text-transform: uppercase; font-weight: 600; }
.empty { text-align: center; padding: 56px 24px; border: 2px dashed var(--navy); border-radius: var(--r-lg); }

/* ---- Drawer ----------------------------------------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(21,31,109,.45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); border-left: 2px solid var(--navy); z-index: 60; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 2px solid var(--navy); }
.drawer-head h2 { font-size: 30px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer .line { grid-template-columns: 72px 1fr; padding: 16px 0; }
.drawer .line img { width: 72px; height: 72px; }
.drawer .line .right { grid-column: 2; text-align: left; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.drawer-foot { padding: 18px 22px 22px; border-top: 2px solid var(--navy); background: var(--cream); }
.qty.sm { height: 38px; }
.qty.sm button { width: 34px; font-size: 16px; }
.qty.sm input { width: 34px; font-size: 14px; }

/* ---- Toast ------------------------------------------------------------ */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 70; padding: 14px 22px; background: var(--marigold); color: var(--navy); border: 2px solid var(--navy); border-radius: var(--r-pill); font-weight: 700; box-shadow: 4px 4px 0 var(--navy); opacity: 0; pointer-events: none; transition: all .25s ease; white-space: nowrap; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Article / docs --------------------------------------------------- */
.prose { max-width: 720px; font-size: 17px; line-height: 1.6; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 40px 0 14px; }
.prose h3 { font-size: 26px; margin: 28px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border: 2px solid var(--navy); border-radius: var(--r-lg); margin: 24px 0; }
.prose .callout { padding: 20px 22px; border: 2px solid var(--navy); border-radius: var(--r-lg); background: var(--milk); margin: 24px 0; }
.post-card .media { aspect-ratio: 16 / 10; border-bottom: 2px solid var(--navy); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line-soft); font-weight: 600; font-size: 14px; }
.toc a:hover { color: var(--brick); }
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; } .toc a { border: 2px solid var(--navy); border-radius: var(--r-pill); padding: 8px 14px; } }

/* Account */
.acct-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.order-card { border: 2px solid var(--navy); border-radius: var(--r-md); padding: 16px 18px; }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--marigold); border: 2px solid var(--navy); }

/* Marquee of jars */
.jar-strip { display: flex; gap: 24px; justify-content: center; align-items: end; }
.jar-strip .jar { display: block; }            /* parallax lives here (no transition) */
.jar-strip img { width: clamp(90px, 14vw, 200px); filter: drop-shadow(6px 8px 0 rgba(21,31,109,.35)); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.jar-strip .jar:hover img { transform: translateY(-10px) rotate(-5deg); }   /* hover lives here */

/* Info band: eyebrow / one-line title / paragraph / link, all on shared baselines */
.info-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.info { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; align-content: start; }
.info .eyebrow { margin: 0; }
.info h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.info p { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 800px) { .info-band { grid-template-columns: 1fr; gap: 24px; } .info h3 { white-space: normal; } }

/* Big number */
.stat { border: 2px solid var(--navy); border-radius: var(--r-lg); padding: 22px; text-align: center; background: var(--cream); }
.stat .n { font-family: var(--font-display); font-size: clamp(44px, 5vw, 68px); line-height: 1; }
.stat .l { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }

/* Helper: hide on mobile / desktop */
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (min-width: 641px) { .hide-lg { display: none !important; } }

/* Print */
@media print { .site-header, .announce, .site-footer, .drawer, .overlay, .toast, .sticky-atc { display: none !important; } }
