/* Base reset (the hosted site has no wrapper adding these) */
html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: slim header with one button, a sunrise hero that says what, where and how, then loaves, three steps, the booklet, FAQ.
   On phones a bottom bar keeps "Text to order" and "Venmo" one tap away.
   Brand palette from the Daly Bread brand booklet; navy only for headings. One sunny light look on purpose. */
:root {
  color-scheme: light;
  --flour: #FFFDFB;
  --sky: #CFE8F8;
  --sky-soft: #E6F3FB;
  --blush: #F7CDD8;
  --blush-soft: #FCEBEF;
  --crust: #F6B872;
  --crust-soft: #FFE2BD;
  --sunrise: #F28A3C;
  --navy: #1F2C55;
  --text: #4F6189;
  --line: #D3E6F3;
  --brown: #7A4A22;
  --pink-ink: #D9677F;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-hand: "Gaegu", "Comic Sans MS", cursive;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--flour);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-inline: 16px;
}
.wrap { max-width: 1000px; margin-inline: auto; }
h1, h2, h3 {
  font-family: var(--f-display); font-weight: 800; color: var(--navy);
  line-height: 1.05; text-wrap: balance; margin: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
p { margin: 0; }
.hand { font-family: var(--f-hand); font-weight: 700; color: var(--pink-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  font: 700 1rem var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-text { background: var(--sunrise); color: var(--navy); }
.btn-text:hover { background: var(--crust); transform: translateY(-2px); }
.btn-venmo { background: var(--flour); color: var(--navy); border: 2px solid var(--sky); }
.btn-venmo:hover { background: var(--sky-soft); transform: translateY(-2px); }
.btn-soft { background: var(--blush); color: var(--navy); }
.btn-soft:hover { background: var(--flour); transform: translateY(-2px); }
a:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Header */
.top {
  margin-inline: -16px; padding: .85rem 16px;
  background: var(--sky);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; color: var(--navy); text-decoration: none; font-variation-settings: "SOFT" 100, "WONK" 1; }
.top .btn { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }

/* Hero */
.hero {
  margin-inline: -16px; padding: 2.5rem 16px 0;
  background: linear-gradient(180deg, var(--sky) 0%, var(--blush-soft) 85%, var(--flour) 100%);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: end; }
.hero-copy { display: grid; gap: 1rem; padding-bottom: 3.25rem; min-width: 0; }
.hero .hand { font-size: 1.55rem; transform: rotate(-2deg); transform-origin: left; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.2rem); letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--sunrise); }
.hero-lede { font-size: 1.15rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.pickup-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--flour); color: var(--navy); border-radius: 999px;
  padding: .35rem .9rem; font-size: .92rem; font-weight: 600;
}
.pickup-chip svg { width: 18px; height: 18px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Pickup spots inside step 3 */
.spots { display: grid; gap: .6rem; margin-top: .35rem; }
.spot { display: grid; grid-template-columns: 22px 1fr; gap: .55rem; align-items: start; background: var(--sky-soft); border-radius: 14px; padding: .65rem .75rem; }
.spot svg { width: 22px; height: 22px; color: var(--sunrise); margin-top: .1rem; }
.spot strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.spot span { font-size: .92rem; line-height: 1.4; }
.mascot { width: 100%; max-width: 400px; justify-self: center; display: block; }
/* Sunny: the sun rises from behind the loaf, rays spin and breathe, the loaf hops and blinks */
.mascot .sun-rise { animation: sun-rise 1.8s cubic-bezier(.2,.75,.25,1) both; }
.mascot .rays { animation: spin 40s linear infinite; }
.mascot .rays-pulse { animation: pulse 3.2s ease-in-out 1.8s infinite alternate; }
.mascot .loaf-body { transform-box: fill-box; transform-origin: 50% 100%; animation: hop .7s ease-out 1.5s both; }
.mascot .eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 5s ease-in-out 2.4s infinite; }
@keyframes sun-rise { from { transform: translateY(96px); } to { transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(.94); } to { transform: scale(1.06); } }
@keyframes hop { 0% { transform: scale(1, 1); } 30% { transform: scale(1.04, .94); } 60% { transform: scale(.98, 1.04) translateY(-6px); } 100% { transform: scale(1, 1); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .mascot .sun-rise, .mascot .rays, .mascot .rays-pulse, .mascot .loaf-body, .mascot .eyes { animation: none; } }

/* Sections */
main section { padding-block: 3.75rem 0; }
.section-head { display: grid; gap: .25rem; margin-bottom: 1.75rem; }
.section-head .hand { font-size: 1.4rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }

/* Loaves */
.loaves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.loaf {
  background: var(--flour); border: 2px solid var(--line); border-radius: 24px;
  padding: 1.25rem 1.2rem 1.35rem; min-width: 0;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .5rem;
}
.loaf svg { width: 92px; height: 68px; }
.loaf h3 { font-size: 1.3rem; }
.loaf p { font-size: .97rem; }
.loaf .price-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .6rem; border-top: 2px dashed var(--line); }
.loaf .price { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.loaf .tag { font: 700 1.05rem var(--f-hand); background: var(--blush); color: var(--navy); padding: .05rem .65rem; border-radius: 999px; }
.loaf.seasonal { background: var(--crust-soft); border-color: var(--crust-soft); }
.loaf.seasonal .tag { background: var(--sunrise); }
.loaf .allergen { font-size: .88rem; color: var(--navy); }
.extras-line {
  margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: .97rem;
}
.extras-line strong { color: var(--navy); }

/* How to order: a real sequence */
#order .panel {
  background: var(--sky-soft); border-radius: 28px;
  padding: 2.25rem clamp(1.25rem, 4vw, 2.75rem);
  display: grid; gap: 1.75rem;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.steps li { background: var(--flour); border-radius: 22px; padding: 1.35rem 1.25rem; display: grid; gap: .45rem; align-content: start; min-width: 0; }
.steps .num {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sunrise); color: var(--navy);
  font: 800 1.2rem var(--f-display);
}
.steps h3 { font-size: 1.3rem; }
.steps .when { font: 700 1.2rem var(--f-hand); color: var(--pink-ink); }
.order-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.order-actions .note { font-size: .95rem; }

/* Booklet */
.booklet {
  background: var(--blush-soft); border-radius: 28px;
  padding: 2rem clamp(1.25rem, 4vw, 2.75rem);
  display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center;
}
.booklet svg { width: 120px; height: 128px; }
.booklet-copy { display: grid; gap: .6rem; min-width: 0; }
.booklet-copy h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.booklet-copy .btn { justify-self: start; margin-top: .4rem; }
.starter {
  margin-top: 1rem; padding-top: 1.1rem; border-top: 2px dashed var(--blush);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
}
.starter > div { display: grid; gap: .2rem; min-width: 0; flex: 1 1 260px; }
.starter h3 { font-size: 1.3rem; }
.starter .btn { margin-top: 0; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--flour); border: 2px solid var(--line); border-radius: 18px; padding: .95rem 1.2rem; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sunrise); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .5rem; }
.faq summary:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 4px; border-radius: 6px; }

/* Footer */
footer { margin-top: 4rem; margin-inline: -16px; padding: 2.5rem 16px 6.5rem; background: var(--sky); }
footer .wrap { display: grid; gap: 1rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; }
footer .logo { font-size: 1.8rem; }
footer .hand { font-size: 1.3rem; color: var(--navy); }
footer .fine { font-size: .85rem; }
footer .contact { color: var(--navy); font-weight: 600; }

/* Phone: sticky order bar */
.order-bar { display: none; }
@media (max-width: 680px) {
  .order-bar {
    display: flex; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: var(--flour); border-top: 2px solid var(--line);
  }
  .order-bar .btn { flex: 1; }
  .top .btn { display: none; }
}

@media (max-width: 900px) { .loaves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .hero { padding-top: 1.75rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: .25rem; }
  .hero-copy { padding-bottom: 0; }
  .mascot { max-width: 290px; }
  .steps { grid-template-columns: 1fr; }
  .booklet { grid-template-columns: 1fr; justify-items: start; }
  .booklet svg { width: 92px; height: 98px; }
}
@media (max-width: 420px) {
  .loaves { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- Shared site additions (nav, links, sub-pages, recipe cards) ---------- */
a { color: var(--navy); text-decoration-color: var(--sunrise); text-underline-offset: 3px; }
.loaf h3 a, .booklet-copy h2 a { text-decoration: none; }
.loaf h3 a:hover, .booklet-copy h2 a:hover { text-decoration: underline; text-decoration-color: var(--sunrise); }
.top .wrap { flex-wrap: wrap; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding-block: .3rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--sunrise); }
@media (max-width: 680px) {
  .nav { margin-left: 0; width: 100%; justify-content: space-between; gap: .25rem .75rem; }
  .nav a { font-size: .9rem; }
}

.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem 2rem; padding-block: .75rem; }
.foot-links h4 { margin: 0 0 .4rem; font: 800 1.05rem var(--f-display); color: var(--navy); }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.foot-links a { color: var(--text); text-decoration: none; font-size: .93rem; }
.foot-links a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sunrise); }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; }
.rel-card {
  display: grid; gap: .2rem; align-content: start; min-width: 0;
  background: var(--sky-soft); border-radius: 20px; padding: 1.05rem 1.15rem;
  text-decoration: none; color: var(--navy); transition: transform .2s ease;
}
.rel-card:hover { transform: translateY(-2px); }
.rel-card .hand { font-size: 1.1rem; }
.rel-card strong { font: 800 1.15rem/1.2 var(--f-display); }
.rel-card .small { font-size: .85rem; color: var(--text); }
.rel-grid.big .rel-card { padding: 1.4rem 1.3rem; }
.tone-sky { background: var(--sky-soft); }
.tone-blush { background: var(--blush-soft); }
.tone-crust { background: var(--crust-soft); }
.tone-sun { background: #FFD9B8; }
@media (prefers-reduced-motion: reduce) { .rel-card { transition: none; } .rel-card:hover { transform: none; } }

/* Sub-pages */
.sub { padding-block: 1.25rem 0; display: grid; gap: 2.5rem; }
.sub > * { min-width: 0; }
.crumbs { font-size: .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--text); }
.crumbs span[aria-current] { color: var(--navy); font-weight: 600; }
.page-hero { border-radius: 28px; padding: 2rem clamp(1.25rem, 4vw, 2.75rem); display: grid; gap: .7rem; }
.page-hero .hand { font-size: 1.45rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); letter-spacing: -.01em; }
.page-hero .lede { font-size: 1.12rem; max-width: 62ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.meta-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--flour); color: var(--navy); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600; }
.meta-chip svg { width: 17px; height: 17px; flex: none; }
.price-chip { background: var(--sunrise); }

.recipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem; margin-top: 1.5rem; }
.recipe h2, .facts h2, .related h2, .story h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.ing { background: var(--flour); border: 2px solid var(--line); border-radius: 22px; padding: 1.4rem 1.4rem 1.5rem; align-self: start; }
.ing ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.ing li::marker { color: var(--sunrise); }
.method ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .8rem; }
.method li::marker { font: 800 1.05rem var(--f-display); color: var(--sunrise); }
.tip { margin-top: 1.25rem; background: var(--blush-soft); border-radius: 16px; padding: .9rem 1.1rem; }
.tip strong { color: var(--navy); }
.pair { margin-top: 1.25rem; }

.guide { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; counter-reset: g; }
.guide li { counter-increment: g; background: var(--flour); border: 2px solid var(--line); border-radius: 22px; padding: 1.3rem 1.25rem; display: grid; gap: .4rem; align-content: start; }
.guide li::before { content: counter(g); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sunrise); color: var(--navy); font: 800 1.1rem var(--f-display); }
.guide h2 { font-size: 1.2rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.facts > div { background: var(--flour); border: 2px solid var(--line); border-radius: 22px; padding: 1.3rem 1.25rem; min-width: 0; }
.facts h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.story { margin-top: 1.5rem; max-width: 65ch; }

.cta-band {
  background: var(--sky); border-radius: 28px; padding: 2rem clamp(1.25rem, 4vw, 2.75rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 1.5rem; align-items: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-block: .1rem .4rem; }
.cta-band .hand { font-size: 1.3rem; }
.when-list { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .5rem; }
.when-list li { display: grid; grid-template-columns: 22px 1fr; gap: .55rem; align-items: start; }
.when-list svg { width: 22px; height: 22px; color: var(--sunrise); margin-top: .15rem; }
.when-list strong { color: var(--navy); }
.cta-actions { display: grid; gap: .65rem; }
@media (max-width: 760px) {
  .recipe { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .cta-actions { grid-template-columns: 1fr; } }

/* Printable 4x6 recipe cards */
.card-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.25rem; }
.rcard {
  aspect-ratio: 6 / 4; max-width: 100%; border-radius: 22px; padding: 1.1rem 1.25rem .9rem;
  border: 3px dashed var(--flour); outline: 2px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto; gap: .55rem; overflow: hidden;
}
.rcard-top { display: flex; align-items: center; gap: .75rem; }
.card-mascot { width: 62px; height: 48px; flex: none; }
.rcard-top .hand { font-size: 1.05rem; display: block; line-height: 1.1; }
.rcard h2 { font-size: 1.35rem; line-height: 1.05; }
.rcard-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: .9rem; background: var(--flour); border-radius: 14px; padding: .7rem .85rem; min-height: 0; overflow: hidden; }
.rcard h3 { font: 700 1.1rem var(--f-hand); color: var(--pink-ink); margin: 0 0 .15rem; }
.rcard ul, .rcard ol { margin: 0; padding-left: 1rem; font-size: .8rem; line-height: 1.35; display: grid; gap: .1rem; color: var(--navy); }
.rcard ol li::marker { color: var(--sunrise); font-weight: 800; }
.rcard-foot { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; color: var(--navy); font-weight: 600; }
.rcard-foot .hand { font-size: 1rem; }
@media (max-width: 460px) {
  .rcard { aspect-ratio: auto; }
  .rcard-body { grid-template-columns: 1fr; }
}
@media print {
  .top, footer, .order-bar, .crumbs, .cta-band, .page-hero, .pair { display: none !important; }
  body { background: #fff; padding: 0; }
  .card-sheet { display: block !important; }
  .rcard { width: 6in; height: 4in; aspect-ratio: auto; break-inside: avoid; page-break-after: always; margin: 0 auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Mystery loaf unlock */
.mystery { margin-top: 1.25rem; background: var(--blush-soft); border-radius: 22px; padding: 1.1rem 1.35rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.mystery > div:last-child { flex: 1 1 260px; min-width: 0; display: grid; gap: .2rem; }
.mystery h3 { font-size: 1.3rem; }
.punch { display: flex; align-items: center; gap: .4rem; }
.punch span { width: 26px; height: 26px; border-radius: 50%; border: 2.5px dashed var(--sunrise); background: var(--flour); }
.punch b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--blush); font: 800 1.25rem var(--f-display); margin-left: .2rem; }

/* About: quotations */
.quotes { margin-top: 2rem; }
.quotes h2.hand { font: 700 1.5rem var(--f-hand); color: var(--pink-ink); margin-bottom: .75rem; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.quote { margin: 0; border-radius: 26px; padding: 1.6rem 1.6rem 1.4rem; display: grid; gap: .75rem; align-content: start; position: relative; min-width: 0; }
.quote::before { content: "\201C"; font: 800 4.5rem/0.6 var(--f-display); color: var(--sunrise); display: block; height: 1.6rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 800 clamp(1.5rem, 3.6vw, 1.95rem)/1.15 var(--f-display); color: var(--navy); font-variation-settings: "SOFT" 100, "WONK" 1; text-wrap: balance; }
.quote figcaption { font-size: .95rem; }

/* Phone hero: Sunny first, fewer words */
@media (max-width: 680px) {
  .hero { padding-top: 1rem; }
  .hero .mascot { order: -1; max-width: 250px; margin-bottom: .25rem; }
  .hero .hero-lede { display: none; }
  .hero .hand { font-size: 1.3rem; }
}

/* Butter & Dilly by the free recipes */
.recipes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1rem; }
.recipes-head .section-head { margin-bottom: 0; }
.crew { display: flex; align-items: flex-end; gap: 1.25rem; }
.pal { margin: 0; display: grid; justify-items: center; gap: .1rem; position: relative; }
.pal svg { overflow: visible; }
.butter { width: 128px; height: 111px; }
.dilly { width: 70px; height: 124px; }
.pal figcaption { font-size: 1.15rem; color: var(--navy); }
.bubble {
  font: 700 1rem/1.1 var(--f-hand); color: var(--navy); background: var(--flour);
  border: 2px solid var(--line); border-radius: 14px; padding: .3rem .6rem; white-space: nowrap;
  position: relative; margin-bottom: .3rem; animation: bubble-pop 4s ease-in-out infinite;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: var(--flour); border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.pal-dilly .bubble { animation-delay: 2s; }
.butter-body { transform-box: fill-box; transform-origin: 50% 100%; animation: squish 2.4s ease-in-out infinite; }
.b-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.5s ease-in-out infinite; }
.dilly-body { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3s ease-in-out infinite alternate; }
.d-eye-r { transform-box: fill-box; transform-origin: 50% 50%; animation: wink-eye 4s ease-in-out infinite; }
.d-wink { opacity: 0; animation: wink-line 4s ease-in-out infinite; }
@keyframes squish { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(1.06, .92); } 60% { transform: scale(.97, 1.05) translateY(-5px); } }
@keyframes sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes wink-eye { 0%, 40%, 58%, 100% { transform: scaleY(1); } 44%, 54% { transform: scaleY(0); } }
@keyframes wink-line { 0%, 40%, 58%, 100% { opacity: 0; } 44%, 54% { opacity: 1; } }
@keyframes bubble-pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 680px) {
  .recipes-head { flex-direction: column; align-items: flex-start; }
  .crew { align-self: center; }
  .butter { width: 118px; height: 102px; }
  .dilly { width: 64px; height: 114px; }
}
@media (prefers-reduced-motion: reduce) {
  .butter-body, .b-eyes, .dilly-body, .d-eye-r, .d-wink, .bubble { animation: none; }
}

/* Classes */
.classes { background: var(--crust-soft); border-radius: 28px; padding: 2.25rem clamp(1.25rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center; }
.classes-copy { display: grid; gap: .75rem; min-width: 0; }
.classes-copy .hand { font-size: 1.4rem; }
.classes-copy h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
.classes-copy h3 { font-size: 1.25rem; margin-top: .25rem; }
.class-list { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.class-list li::marker { color: var(--sunrise); }
.jars { width: 100%; max-width: 320px; justify-self: center; overflow: visible; }
.jar-in { transform-box: fill-box; transform-origin: 50% 100%; animation: jar-bob 2.8s ease-in-out infinite; }
.j2 .jar-in { animation-delay: .5s; }
.j3 .jar-in { animation-delay: 1s; }
@keyframes jar-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@media (max-width: 760px) { .classes { grid-template-columns: 1fr; } .jars { max-width: 240px; order: -1; } }
@media (prefers-reduced-motion: reduce) { .jar-in { animation: none; } }
.irony { margin-top: 1.5rem; }

.jar-sun-rays { animation: spin 30s linear infinite; }
.jar-sun { animation: jar-glow 3.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes jar-glow { from { opacity: .85; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jar-sun-rays, .jar-sun { animation: none; } }

/* Free booklets signup */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.booklets { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
.booklets-h { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: .9rem; }
.book { position: relative; border-radius: 22px; padding: 1rem; display: grid; grid-template-columns: 84px 1fr; gap: .9rem; cursor: pointer; border: 2.5px solid transparent; transition: border-color .15s ease, transform .2s ease; min-width: 0; }
.book:hover { transform: translateY(-2px); }
.book input { position: absolute; opacity: 0; pointer-events: none; }
.book:has(input:checked) { border-color: var(--sunrise); }
.book:has(input:focus-visible) { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.book-cover { width: 84px; height: 110px; border-radius: 10px; background: var(--flour); border: 2px solid var(--brown); display: grid; align-content: center; justify-items: center; gap: .3rem; padding: .4rem; text-align: center; box-shadow: 4px 4px 0 var(--brown); }
.book-sun { width: 26px; height: 26px; border-radius: 50%; background: var(--sunrise); box-shadow: 0 0 0 5px var(--crust-soft); }
.book-title { font: 800 .8rem/1.05 var(--f-display); color: var(--navy); }
.book-brand { font: 700 .7rem var(--f-hand); color: var(--pink-ink); }
.book-info { display: grid; gap: .25rem; align-content: start; font-size: .9rem; min-width: 0; }
.book-info strong { font: 800 1.08rem/1.15 var(--f-display); color: var(--navy); }
.book-info .small { font-size: .82rem; font-weight: 600; }
.pick { margin-top: .2rem; font: 700 1rem var(--f-hand); color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.pick::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--brown); background: var(--flour); flex: none; }
.book:has(input:checked) .pick::before { background: var(--sunrise); box-shadow: inset 0 0 0 3px var(--flour); }
.book:has(input:checked) .pick { color: var(--brown); }
.form-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.form-row input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: .6rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--flour); color: var(--navy); font: 500 1rem var(--f-body); }
.form-row input:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 2px; }
.form-row .btn { border: 0; cursor: pointer; }
.form-msg { min-height: 1.4em; margin-top: .5rem; font-weight: 600; color: var(--navy); }
.all-form { background: var(--blush-soft); border-radius: 26px; padding: 1.5rem clamp(1.1rem, 4vw, 2rem); }
.all-copy { display: grid; gap: .25rem; }
.all-copy .hand { font-size: 1.3rem; }
.all-copy h3 { font-size: 1.5rem; }
.consent { display: flex; gap: .55rem; align-items: flex-start; margin-top: .75rem; font-size: .88rem; cursor: pointer; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--sunrise); flex: none; }
@media (prefers-reduced-motion: reduce) { .book { transition: none; } .book:hover { transform: none; } }

/* About: mixing bowl girl */
.about-hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 2rem; }
.about-copy { display: grid; gap: .7rem; min-width: 0; }
.mixie { margin: 0; display: grid; justify-items: center; gap: .2rem; }
.mixie svg { width: 220px; height: 210px; overflow: visible; }
.mixie figcaption { font-size: 1.15rem; }
.mx-body { transform-box: fill-box; transform-origin: 50% 100%; animation: mx-bob 2.6s ease-in-out infinite; }
.mx-whisk { transform-box: view-box; transform-origin: 172px 122px; animation: mx-stir 1.2s ease-in-out infinite alternate; }
.mx-bow { transform-box: fill-box; transform-origin: 50% 50%; }
.mx-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.8s ease-in-out infinite; }
@keyframes mx-bob { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-4px); } }
@keyframes mx-stir { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
@media (max-width: 680px) {
  .about-hero { grid-template-columns: 1fr; }
  .mixie { order: -1; }
  .mixie svg { width: 170px; height: 162px; }
}
@media (prefers-reduced-motion: reduce) { .mx-body, .mx-whisk, .mx-eyes { animation: none; } }

/* Lead forms */
.lead-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1rem; margin-top: 1rem; }
.lead-form { border-radius: 24px; padding: 1.35rem clamp(1.1rem, 4vw, 1.75rem); display: grid; gap: .25rem; align-content: start; min-width: 0; }
.lead-copy { display: grid; gap: .2rem; }
.lead-copy .hand { font-size: 1.2rem; }
.lead-copy h3 { font-size: 1.35rem; }
.lead-form .form-row { margin-top: .75rem; }
#classes .lead-form { margin-top: 1rem; }
.sub > .lead-form { margin-top: 0; }

/* Sunny pop-up */
.sunny-pop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  width: min(360px, calc(100vw - 32px)); background: var(--flour); border: 2px solid var(--line); border-radius: 22px;
  box-shadow: 0 12px 32px rgba(31, 44, 85, .18); padding: 1rem 2.6rem 1.1rem 1rem;
  display: grid; grid-template-columns: 70px 1fr; gap: .8rem; align-items: center;
  transform: translateY(24px); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
.sunny-pop.show { transform: translateY(0); opacity: 1; }
.sunny-pop svg { width: 70px; height: 54px; }
.sunny-pop strong { font: 800 1.1rem/1.2 var(--f-display); color: var(--navy); display: block; }
.sunny-pop p { font-size: .9rem; margin: .2rem 0 .6rem; }
.sunny-pop .btn { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.pop-close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--navy); cursor: pointer; border-radius: 50%; }
.pop-close:focus-visible { outline: 3px solid var(--pink-ink); }
@media (max-width: 680px) { .sunny-pop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .sunny-pop { transition: none; } }

.about-sunny .mascot { width: 260px; max-width: 100%; }
@media (max-width: 680px) { .about-sunny .mascot { width: 220px; } }

/* Feedback form */
.feedback { margin-top: 0; }
.fb-form h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.suns { border: 0; padding: 0; margin: .75rem 0 0; }
.suns legend { font-weight: 700; color: var(--navy); margin-bottom: .35rem; padding: 0; }
.sun-row { display: inline-flex; flex-direction: row-reverse; gap: .35rem; }
.sun-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sun-row label { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: var(--flour); border: 2.5px dashed var(--sunrise); transition: transform .15s ease, background-color .15s ease; }
.sun-row label:hover, .sun-row label:hover ~ label, .sun-row input:checked ~ label { background: var(--sunrise); border-style: solid; box-shadow: 0 0 0 4px var(--crust-soft); }
.sun-row label:hover { transform: scale(1.08); }
.sun-row input:focus-visible + label { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; margin-top: 1rem; }
.fb-grid label { display: grid; gap: .35rem; font-weight: 700; color: var(--navy); font-size: .95rem; min-width: 0; }
.fb-grid .wide { grid-column: 1 / -1; }
.fb-grid .opt { font-weight: 500; color: var(--text); }
.fb-grid input, .fb-grid select, .fb-grid textarea { min-height: 48px; padding: .6rem .9rem; border-radius: 16px; border: 2px solid var(--line); background: var(--flour); color: var(--navy); font: 500 1rem var(--f-body); width: 100%; box-sizing: border-box; }
.fb-grid textarea { resize: vertical; }
.fb-grid :focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 2px; }
@media (max-width: 560px) { .fb-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sun-row label { transition: none; } }

@page { size: 6in 4in; margin: 0; }

@media print {
  body > *:not(main) { display: none !important; }
  main.sub { padding: 0 !important; gap: 0 !important; display: block !important; }
  main.sub > *:not(.card-sheet) { display: none !important; }
  .rcard { box-sizing: border-box; outline: none; margin: 0 !important; }
  .rcard:last-child { page-break-after: auto; break-after: auto; }
}
