/* Chewy Bite — production stylesheet, from the signed-off v6.5 design (10 Jul 2026) */
:root{
  --ground:#FFFCF7; --card:#FFFFFF; --ink:#43301F; --ink-soft:#6B5340;
  --pist:#6E9B4E; --pist-deep:#4E7135; --pist-tint:#EDF4E2;
  --rasp:#D8517C; --rasp-deep:#B93A62; --rasp-tint:#FCEAF0; --rasp-press:#9E2B4F;
  --line:#F0E7DA; --shadow:0 6px 22px rgba(67,48,31,.08);
}
*{box-sizing:border-box}
body{background-color:var(--ground); color:var(--ink); margin:0; line-height:1.55;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="260" height="260"><circle cx="30" cy="40" r="5" fill="%236E9B4E" opacity=".10"/><circle cx="180" cy="26" r="4" fill="%23D8517C" opacity=".10"/><rect x="120" y="120" width="9" height="4" rx="2" fill="%23D8517C" opacity=".09" transform="rotate(24 124 122)"/><circle cx="220" cy="170" r="5" fill="%236E9B4E" opacity=".09"/><circle cx="70" cy="200" r="4" fill="%23D8517C" opacity=".10"/><rect x="30" y="130" width="8" height="4" rx="2" fill="%236E9B4E" opacity=".10" transform="rotate(-18 34 132)"/><circle cx="150" cy="230" r="3.5" fill="%236E9B4E" opacity=".10"/></svg>')}
h1,h2,h3,button,summary{font-family:ui-rounded,'SF Pro Rounded','Hiragino Maru Gothic ProN',system-ui,sans-serif}
img{max-width:100%; display:block}
.wrap{max-width:620px; margin:0 auto; padding:0 20px}
.skip{position:absolute; left:-999px; top:0; background:var(--card); padding:10px 16px; z-index:100}
.skip:focus{left:8px}

.status-bar{display:block; text-decoration:none; position:sticky; top:0; z-index:50; background:var(--rasp-tint); color:var(--rasp-deep);
  font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; text-align:center; padding:8px 12px;
  font-family:ui-rounded,system-ui,sans-serif; font-weight:700}

.top{display:flex; flex-direction:column; align-items:center; gap:14px; padding:max(60px,8vh) 0 0}
.brand img{width:min(250px,62vw); height:auto}
nav{display:flex; gap:6px}
nav a{text-decoration:none; font-size:13.5px; font-weight:700; color:var(--ink-soft);
  padding:8px 15px; border-radius:999px; display:inline-flex; align-items:center; min-height:44px;
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
nav a[aria-current="page"]{background:var(--pist-tint); color:var(--pist-deep)}
nav a:focus-visible{outline:3px solid var(--rasp); outline-offset:2px}

/* hero */
.hero{text-align:center; padding:10px 0 30px}
.hero .scene{width:min(340px,80vw); margin:0 auto}
.hero .scene img{height:auto; filter:drop-shadow(0 14px 28px rgba(67,48,31,.18))}
.hero h1{font-size:clamp(27px,7vw,38px); line-height:1.12; margin:6px 0 8px; text-wrap:balance;
  font-weight:800; letter-spacing:-.01em}
.hero h1 em{font-style:normal; color:var(--pist-deep)}

/* brand-name colouring in the headline */
.hero .tagline{font-weight:800; font-size:clamp(16px,4.4vw,19px); margin:10px 0 4px;
  font-family:ui-rounded,'SF Pro Rounded','Hiragino Maru Gothic ProN',system-ui,sans-serif}
.mname{font-style:normal; white-space:nowrap; display:inline-block}
.mname.chewy{color:var(--rasp-deep)}
.mname.bite{color:var(--pist-deep)}
.hero p.sub{color:var(--ink-soft); font-size:15.5px; max-width:38ch; margin:0 auto}

/* countdown (hidden until a real drop date exists in config.js) */
.countdown{display:none; justify-content:center; gap:10px; margin:18px auto 0}
.countdown.on{display:flex}
.countdown div{background:var(--card); border:1.5px solid var(--line); border-radius:14px; padding:8px 12px; min-width:58px}
.countdown b{display:block; font-size:22px; font-variant-numeric:tabular-nums;
  font-family:ui-rounded,system-ui,sans-serif}
.countdown span{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft)}

.email-cap{display:flex; gap:8px; max-width:400px; margin:20px auto 6px; flex-wrap:wrap; padding:0 8px}
.email-cap[hidden]{display:none}  /* the form carries .email-cap (display:flex), which would otherwise beat [hidden] */
.email-cap input{flex:1 1 180px; padding:14px 18px; border-radius:999px; border:1.5px solid var(--line);
  background:var(--card); color:var(--ink); font-size:16px}
.email-cap input::placeholder{color:var(--ink-soft)}
.email-cap button{background:var(--rasp-deep); color:#fff; border:none; font-size:15.5px; font-weight:700;
  padding:14px 22px; border-radius:999px; cursor:pointer; box-shadow:var(--shadow)}
.email-cap button:hover{background:var(--rasp-press)}
.email-cap button[disabled]{opacity:.6; cursor:wait}
.email-cap button:focus-visible, .email-cap input:focus-visible{outline:3px solid var(--pist); outline-offset:2px}
/* narrow phones: stack the field + a full-width button so the primary action never wraps to a small detached pill */
@media (max-width:430px){
  .email-cap{flex-direction:column; flex-wrap:nowrap; gap:10px}
  .email-cap input{flex:1 1 auto; width:100%}
  .email-cap button{width:100%}
}
.fine{font-size:12.5px; color:var(--ink-soft); margin-top:8px; text-align:center}
.fine a{color:var(--rasp-deep)}
.form-msg{font-size:13.5px; font-weight:700; text-align:center; margin-top:8px; min-height:1.4em;
  font-family:ui-rounded,system-ui,sans-serif}
.form-msg.good{color:var(--pist-deep)}
.form-msg.bad{color:var(--rasp-deep)}

/* inline success celebration — the payoff lands the moment they commit, not two clicks later in their inbox */
.celebrate{display:none; text-align:center; margin:16px auto 0; max-width:400px}
.celebrate.on{display:block; animation:pop .5s cubic-bezier(.2,.8,.2,1)}
.celebrate img{width:min(180px,44vw); margin:0 auto 6px}
.celebrate b{display:block; font-size:19px; color:var(--pist-deep);
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.celebrate span{display:block; font-size:13.5px; color:var(--ink-soft); margin-top:4px}
@keyframes pop{0%{transform:scale(.92); opacity:0}100%{transform:scale(1); opacity:1}}

main section{padding:24px 0}

/* "no two the same" — one calm, real proof shot (no motion; the tap-to-flip lives in the swiper) */
.onebake{padding:34px 0 30px}
.onebake .sub2{margin-bottom:20px}
.proofshot{margin:0 auto; max-width:560px}
.proofshot img{border-radius:26px; box-shadow:var(--shadow); width:100%; height:auto}
.proofshot figcaption{font-size:13px; color:var(--ink-soft); text-align:center; margin-top:9px}
@media (min-width:880px){ .onebake .wrap{max-width:760px} }

/* tap-to-flip rings — flavours with real photos flip through their bake on tap */
.ring[data-flip]{position:relative; cursor:pointer; -webkit-tap-highlight-color:transparent}
.ring[data-flip]:focus-visible{outline:3px solid var(--rasp); outline-offset:3px}
.flipchip{position:absolute; left:50%; bottom:9px; transform:translateX(-50%); background:var(--card);
  color:var(--rasp-deep); border:1.5px solid var(--line); border-radius:999px; padding:2px 10px;
  font-size:10.5px; font-weight:800; white-space:nowrap; pointer-events:none;
  font-variant-numeric:tabular-nums; font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif;
  box-shadow:0 3px 8px rgba(67,48,31,.10)}
section.band{background:var(--card); border-top:1.5px solid var(--line); border-bottom:1.5px solid var(--line)}
section h2{font-size:clamp(21px,5.4vw,27px); margin:0 0 4px; font-weight:800; text-align:center; text-wrap:balance}
section .sub2{color:var(--ink-soft); font-size:14px; margin:0 auto 16px; text-align:center; max-width:46ch}
section .sub2 a{color:var(--rasp-deep); font-weight:600}
section .statement{color:var(--ink); font-weight:800; font-size:clamp(15px,4vw,17.5px);
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.h2-accent{width:min(190px,46vw); margin:0 auto 2px}
.h2-accent img{height:auto}

/* flavour swiper */
.swiper{position:relative}
.slides{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; gap:0;
  -webkit-overflow-scrolling:touch}
.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%; scroll-snap-align:center; text-align:center; padding:6px 12px 2px}
.slide .ring{width:min(440px,86vw); aspect-ratio:1; margin:0 auto 12px; border-radius:50%; overflow:hidden;
  box-shadow:var(--shadow); background:var(--pist-tint); display:flex; align-items:center; justify-content:center}
.slide .ring img{width:100%; height:100%; object-fit:cover}
.slide .ring svg{width:62%; height:62%}
.slide b{font-size:17px; font-family:ui-rounded,system-ui,sans-serif; display:block}
.slide small{display:block; color:var(--ink-soft); font-size:13px; margin-top:2px}
.slide .tag{display:inline-block; margin-top:8px; font-size:10.5px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; padding:4px 10px; border-radius:999px; background:var(--rasp-tint);
  color:var(--rasp-deep); font-family:ui-rounded,system-ui,sans-serif}
.sw-btn{position:absolute; top:34%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
  border:none; background:var(--card); color:var(--ink); box-shadow:var(--shadow); cursor:pointer;
  font-size:17px; font-weight:700; z-index:2}
.sw-btn:focus-visible{outline:3px solid var(--rasp); outline-offset:2px}
.sw-btn[aria-disabled="true"]{opacity:.32; cursor:default; box-shadow:none}
.sw-prev{left:2px} .sw-next{right:2px}
.dots{display:flex; justify-content:center; gap:7px; margin-top:12px}
.dots span{width:8px; height:8px; border-radius:50%; background:var(--line)}
.dots span.on{background:var(--rasp)}
.boxline{margin-top:14px; font-size:15px; text-align:center}
.boxline b{font-size:17px; color:var(--pist-deep)}
.allergen-note{font-size:13.5px; line-height:1.55; color:var(--ink); background:var(--rasp-tint);
  border-radius:14px; padding:11px 16px; max-width:52ch; margin:16px auto 0; text-align:center}

/* munch loop — tap-driven bite timelapse (visitor-driven, never auto-plays) */
.munch{text-align:center; padding:38px 0 34px}
.munchfig{margin:16px auto 0; width:min(400px,82vw); position:relative; cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.munchfig img{width:100%; height:auto; border-radius:26px; box-shadow:var(--shadow)}
.munchfig:focus-visible{outline:3px solid var(--rasp); outline-offset:3px}

/* bottom email ask (second conversion point) */
.bottom-ask{padding:34px 0 40px; text-align:center}
.bottom-ask .ask-cameo{width:min(96px,24vw); margin:0 auto 10px}
.bottom-ask .ask-cameo img{width:100%; height:auto}
.bottom-ask .email-cap{margin-top:18px}
.ask-btn{margin-top:18px}
.btn-primary{display:inline-block; background:var(--rasp-deep); color:#fff; text-decoration:none;
  font-size:15.5px; font-weight:700; padding:14px 28px; border-radius:999px;
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.btn-primary:hover{background:var(--rasp-press)}
#notify-form{scroll-margin-top:64px}

/* mobile: get the hero form onto the first screen */
@media (max-width:480px){
  .top{padding-top:24px; gap:10px}
  .brand img{width:min(170px,46vw)}
  .hero .scene{width:min(240px,62vw)}
}

/* partners */
/* find-us location card (Winston's) — card-only, no embedded map */
.findus{display:flex; gap:15px; align-items:center; background:var(--card); border-radius:22px;
  box-shadow:var(--shadow); padding:18px 20px; max-width:430px; margin:0 auto; text-align:left}
.findus-pin{flex:none; width:46px; height:46px; border-radius:50%; background:var(--rasp);
  display:flex; align-items:center; justify-content:center}
.findus-body b{display:block; font-size:16px; font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.findus-body small{display:block; color:var(--ink-soft); font-size:12.5px; margin-top:1px}
.findus-meta{display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; margin-top:9px}
.findus .day{display:inline-block; background:var(--pist-tint); color:var(--pist-deep); font-weight:700;
  font-size:12px; padding:3px 11px; border-radius:999px; font-family:ui-rounded,system-ui,sans-serif}
.findus .dir{color:var(--rasp-deep); font-weight:700; font-size:13px; text-decoration:none;
  font-family:ui-rounded,system-ui,sans-serif}
.findus .dir:hover{text-decoration:underline}

/* reasons strip — three mascot badges (replaces the old emoji trust bar) */
.reasons{background:var(--pist-tint); border-top:1.5px solid #E2EED0; margin-top:52px; padding:38px 0 42px}
.reasons .wrap{max-width:860px; display:grid; grid-template-columns:repeat(3,1fr); gap:26px 20px}
.reason{text-align:center}
.reason .badge{width:clamp(88px,21vw,108px); aspect-ratio:1; margin:0 auto 13px; border-radius:50%;
  overflow:hidden; background:var(--card); border:4px solid var(--card);
  box-shadow:0 12px 26px rgba(67,48,31,.14)}
.reason .badge img{width:100%; height:100%; object-fit:cover; display:block}
.reason b{display:block; font-size:16.5px; color:var(--ink);
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.reason span{display:block; font-size:12.5px; color:var(--ink-soft); line-height:1.4; max-width:22ch; margin:4px auto 0}
@media (max-width:620px){
  .reasons{padding:26px 0 30px; margin-top:44px}
  .reasons .wrap{grid-template-columns:1fr; gap:16px; max-width:340px}
  .reason{display:grid; grid-template-columns:66px 1fr; align-items:center; gap:15px; text-align:left}
  .reason .badge{width:66px; margin:0}
  .reason span{margin-left:0; max-width:none}
}

/* journey map */
.journey{max-width:560px; margin:0 auto; padding:0 20px}
.stop{display:flex; align-items:center; gap:16px}
.stop.rev{flex-direction:row-reverse}
.stop img{width:46%; border-radius:18px; box-shadow:var(--shadow); aspect-ratio:3/2; object-fit:cover}
.stop .cap{flex:1; font-size:14px; color:var(--ink-soft)}
.stop .cap b{display:block; color:var(--rasp-deep); font-size:16.5px; margin-bottom:2px;
  font-family:ui-rounded,'SF Pro Rounded',system-ui,sans-serif}
.hop{display:block; margin:2px auto; width:90px; height:64px}
.hop path{stroke:var(--rasp); stroke-width:2.5; stroke-dasharray:1 8; fill:none; stroke-linecap:round}
.hop polygon{fill:var(--rasp)}

/* care cards */
.care{display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
@media (max-width:560px){ .care{grid-template-columns:1fr 1fr} .care .c3{grid-column:1/-1} }
.care > div{background:var(--card); border-radius:18px; overflow:hidden; box-shadow:var(--shadow); text-align:center}
.care img{width:100%; aspect-ratio:1; object-fit:cover}
.care b{display:block; font-size:clamp(18px,4.6vw,23px); color:var(--pist-deep); margin-top:10px;
  font-variant-numeric:tabular-nums; font-family:ui-rounded,system-ui,sans-serif}
.care span{font-size:12px; color:var(--ink-soft); line-height:1.35; display:block; padding:3px 12px 14px}

/* confirmed page */
.confirmed{min-height:55vh; display:flex; align-items:center; text-align:center}
.confirmed .scene{width:min(230px,60vw); margin:0 auto 10px}

footer{border-top:1.5px solid var(--line); color:var(--ink-soft); padding:24px 0 34px; font-size:13px;
  line-height:1.8; text-align:center; background:var(--card); margin-top:0}
footer a{color:var(--rasp-deep)}
footer details{max-width:440px; margin:6px auto 0}
footer summary{cursor:pointer; font-weight:700; color:var(--ink-soft); font-size:13px; list-style-position:inside}
footer summary:focus-visible{outline:3px solid var(--rasp); outline-offset:2px}
footer details p{margin:8px 0 0; font-size:12.5px; background:var(--ground); border:1.5px solid var(--line);
  border-radius:14px; padding:10px 14px}

/* desktop: stop being a phone column in a cream void — stage the mascots beside the headline + form,
   and let the content bands breathe a little wider */
@media (min-width:880px){
  .hero{padding:24px 0 44px}
  .hero .wrap{max-width:900px; display:grid; grid-template-columns:1fr 1fr; align-items:center;
    gap:24px; text-align:left}
  .hero .scene{order:2; width:min(520px,46vw); margin:0 auto}
  .hero-copy{order:1; min-width:0}
  .hero h1{font-size:clamp(40px,4.4vw,56px); margin-top:0}
  .hero p.sub{margin:0; max-width:40ch}
  .hero .email-cap{margin-left:0; margin-right:auto}
  .hero .fine, .hero .form-msg, .hero .celebrate{text-align:left}
  .hero .celebrate{margin-left:0}
  .hero .celebrate img{margin-left:0}
  .countdown{justify-content:flex-start; margin-left:0}
  .band .wrap, main section .wrap{max-width:760px}
}

@media (prefers-reduced-motion: reduce){ *{transition:none !important; animation:none !important} }
