/* Nut Free Baker — site styles. One file, no build step. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --cream: #fbf6f0;
  --paper: #ffffff;
  --blush: #f8e9e4;
  --tint: #f4eee6;
  --rose: #e98b86;          /* logo pink, decorative only */
  --rose-ink: #b2423f;      /* text/button rose: 5.6:1 on white */
  --rose-ink-2: #962f2d;
  --cocoa: #2b1d18;
  --cocoa-2: #5b4840;       /* body secondary: 8.4:1 on cream */
  --muted: #7a655b;         /* 5.0:1 on white */
  --line: #eadfd5;
  --leaf: #2d6a4f;
  --leaf-bg: #e7f1eb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(43, 29, 24, .05), 0 8px 24px -12px rgba(43, 29, 24, .18);
  --shadow-lg: 0 2px 4px rgba(43, 29, 24, .05), 0 22px 48px -24px rgba(43, 29, 24, .35);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--cocoa); font: 400 17px/1.65 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--rose-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-ink-2); }
:focus-visible { outline: 3px solid var(--rose-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--cocoa); text-wrap: balance; font-variation-settings: "opsz" 72; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cocoa); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.ico-arrow { width: 1.1em; height: 1.1em; transition: transform .2s; }

/* type scale */
.display { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.display-sm { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); letter-spacing: -.02em; font-variation-settings: "opsz" 120; }
.h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.h4 { font-size: 1.2rem; }
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); margin: 0 0 .9rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow-light { color: #f3b7b2; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--cocoa-2); line-height: 1.6; max-width: 62ch; }
.lede-sm { color: var(--cocoa-2); max-width: 46ch; }
.muted { color: var(--muted); }
.fine { font-size: .86rem; color: var(--muted); margin-top: .8rem; }
.meta { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font: 600 1rem/1.1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover .ico-arrow, .text-link:hover .ico-arrow { transform: translateX(3px); }
.btn-primary { background: var(--rose-ink); color: #fff; box-shadow: 0 6px 18px -8px rgba(178, 66, 63, .7); }
.btn-primary:hover { background: var(--rose-ink-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: rgba(43, 29, 24, .25); }
.btn-ghost:hover { border-color: var(--cocoa); color: var(--cocoa); background: rgba(255, 255, 255, .6); }
.btn-light { background: #fff; color: var(--cocoa); }
.btn-light:hover { background: var(--blush); color: var(--cocoa); }
.btn-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* preview + promise bars */
.preview-flag { background: #2b1d18; color: #fbd9d5; text-align: center; font-size: .8rem; padding: 6px 12px; letter-spacing: .02em; }
.promise { background: var(--leaf); color: #fff; font-size: .88rem; }
.promise .wrap { display: flex; align-items: center; justify-content: center; gap: .6em; padding-block: 9px; text-align: center; }
.promise strong { font-weight: 600; }
.promise-sub { opacity: .85; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 240, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cocoa); }
.brand:hover { color: var(--cocoa); }
.brand-mark { width: 53px; height: 53px; border-radius: 50%; box-shadow: 0 2px 8px -3px rgba(178, 66, 63, .5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 1.32rem/1.05 var(--serif); letter-spacing: -.01em; }
.brand-place { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--cocoa); text-decoration: none; font-weight: 500; font-size: .98rem; }
.main-nav a:hover { background: var(--blush); }
.main-nav a[aria-current="page"] { background: var(--cocoa); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.bag-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--cocoa); text-decoration: none; font-weight: 600; }
.bag-link:hover { border-color: var(--cocoa); color: var(--cocoa); }
.bag-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rose-ink); color: #fff; font-size: .78rem; line-height: 22px; text-align: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--cocoa); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px var(--gutter) 18px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .header-actions { margin-left: auto; }
  .header-row { min-height: 66px; gap: 12px; }
}
@media (max-width: 420px) { .bag-label, .brand-place { display: none; } .brand-name { font-size: 1.15rem; } .promise-sub { display: none; } }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 18px 0 0; margin: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose-ink); text-decoration: underline; }

/* sections */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(28px, 4vw, 56px); }
.section-tint { background: var(--tint); }
.section-blush { background: var(--blush); }
.section-ink { background: var(--cocoa); color: #f4e9e3; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .h2, .section-head .h3 { margin-bottom: 0; }
.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(8px, 2vw, 24px); }
.page-head .lede { margin-bottom: 0; }

/* hero */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.08fr; } }
.hero-copy .lede { margin-top: 1.2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.hero-facts li { border-top: 2px solid var(--cocoa); padding-top: 12px; font-size: .9rem; color: var(--cocoa-2); line-height: 1.4; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--cocoa); margin-bottom: 2px; }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr; } }
.hero-reviews { margin: 1.1rem 0 0; font-weight: 600; }
.hero-reviews a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 44px; color: var(--cocoa); text-decoration: none; }
.hero-reviews-label { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 4px; }
.hero-reviews a:hover .hero-reviews-label { text-decoration-color: var(--cocoa); }
.stars, .quote-stars { color: #b7791f; letter-spacing: 2px; }
/* reviews: a native horizontal scroller (swipe on phones, trackpad/keyboard on desktop); no autoplay, no JS */
.reviews-total { margin: 10px 0 0; font-weight: 600; color: var(--cocoa); }
.preview-note { margin: -8px 0 16px; padding: 10px 14px; border: 1px dashed var(--rose-ink); border-radius: var(--radius-sm); color: var(--rose-ink-2); font-size: .9rem; }
.quotes-scroller { position: relative; /* clips the cards' screen-reader text too */ overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--rose) transparent; }
.quotes-scroller:focus-visible { outline: 3px solid var(--rose-ink); outline-offset: -3px; border-radius: var(--radius-sm); }
.quotes { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0; }
.quote { flex: 0 0 min(84%, 340px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
@media (min-width: 900px) { .quote { flex-basis: 30%; } }
.quote-stars { margin: 0 0 10px; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--cocoa); margin: 0; }
.quote-src { margin: 14px 0 0; font-size: .9rem; color: var(--cocoa-2); }
.quote-placeholder blockquote p { color: var(--muted); font-style: italic; }
.quote-more { align-items: center; justify-content: center; text-align: center; background: var(--blush); border-color: transparent; }
.quote-more a { font-weight: 600; color: var(--cocoa); }
@media (prefers-reduced-motion: no-preference) { .quotes-scroller { scroll-behavior: smooth; } }
.where-media { margin: 28px 0 0; }
.where-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.where-media figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.product-reviews { margin-top: 28px; }
.pquotes { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 12px; }
.pquotes .quote { scroll-snap-align: none; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-media figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; padding-left: 4px; }
.hero-badge { position: absolute; left: -14px; bottom: 54px; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--leaf); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); font: 600 .92rem/1.2 var(--sans); }
.hero-badge .ico { width: 30px; height: 30px; }
@media (max-width: 899px) { .hero-badge { left: 12px; bottom: 50px; } }

/* trust */
.trust { padding-bottom: clamp(32px, 5vw, 64px); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 26px 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.trust-item h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.trust-item p { font-size: .94rem; color: var(--cocoa-2); margin: 0; }
.trust-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-bg); color: var(--leaf); }
.trust-ico .ico { width: 24px; height: 24px; }

/* grids + cards */
.grid { display: grid; gap: clamp(14px, 2vw, 28px); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link:hover { color: inherit; }
.card-media { aspect-ratio: 1 / 1; background: var(--tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media-empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--blush), var(--tint)); }
.card-ph { display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: .85rem; }
.card-ph img { width: 44px; height: 44px; border-radius: 12px; opacity: .9; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-size: 1.12rem; margin: 0; line-height: 1.25; }
.card-price { margin: 0; font-weight: 600; color: var(--cocoa-2); font-size: .98rem; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .card-body { padding: 12px 12px 16px; } .card-title { font-size: 1rem; } }
.feature-card .card-media { aspect-ratio: 4 / 3; }
.feature-card .card-body { padding: 22px 24px 26px; gap: 8px; }
.feature-card .card-title { font-size: 1.28rem; margin-bottom: 4px; }
.feature-card p { color: var(--cocoa-2); font-size: .97rem; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 9, 0) 40%, rgba(20, 12, 9, .78)); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font: 600 1.25rem/1.15 var(--serif); color: #fff; }
.cat-label small { display: block; font: 500 .82rem/1.4 var(--sans); opacity: .88; margin-top: 4px; letter-spacing: .02em; }
.cat-tile:hover { color: #fff; }

/* story */
.story-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.1fr; } .story-reverse .story-media { order: 2; } }
.story-media { margin: 0; }
.story-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.story-media figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.story-copy p { color: var(--cocoa-2); }
.story-copy .btn { margin-top: .6rem; }

/* steps */
.steps { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px; }
.steps h3 { font-size: 1.25rem; margin: 16px 0 8px; }
.steps p { margin: 0; color: #e6d7cf; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rose); color: var(--cocoa); font: 700 1.05rem/1 var(--serif); }

/* where */
.where-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .where-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.where-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.where-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.where-list h3 { font-size: 1.2rem; margin-bottom: 4px; }
.where-list p { margin: 0; color: var(--cocoa-2); }

/* band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.band > div { max-width: 640px; }
.band p { color: var(--cocoa-2); margin: 0; }

/* faq */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.faq details, .ingredients details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary, .ingredients summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 600 1.08rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker, .ingredients summary::-webkit-details-marker { display: none; }
.faq summary::after, .ingredients summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font: 400 1.2rem/1 var(--sans); color: var(--rose-ink); transition: transform .2s; }
.faq details[open] summary::after, .ingredients details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--cocoa-2); padding-bottom: 20px; margin: 0; max-width: 64ch; }

/* instagram */
.insta { padding-block: clamp(48px, 6vw, 88px); background: var(--paper); border-top: 1px solid var(--line); }
.insta-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .insta-strip { grid-template-columns: repeat(6, 1fr); } }
.insta-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 6px; margin: 0; scrollbar-width: thin; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--cocoa); text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap; }
.chip:hover { border-color: var(--cocoa); color: var(--cocoa); }
.chip.is-active { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.group-h { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-note { margin: -6px 0 18px; }
.page-head-media { padding-bottom: 0; }
.head-media-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .head-media-grid { grid-template-columns: 1.2fr .8fr; } }
.head-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty { text-align: center; padding: clamp(32px, 6vw, 72px) 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .cta-row { justify-content: center; }

/* product */
.product { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 88px); }
@media (min-width: 900px) { .product { grid-template-columns: 1.05fr 1fr; align-items: start; } .product-gallery { position: sticky; top: 100px; } }
.pg-main img, .pg-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--tint); }
.pg-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--blush), var(--tint)); }
.pg-placeholder img { width: 46%; border-radius: 22px; box-shadow: var(--shadow); }
.pg-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pg-thumb { width: 78px; height: 78px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.is-active, .pg-thumb:hover { opacity: 1; border-color: var(--rose-ink); }
.product-info .display-sm { margin-bottom: .3em; }
.price { font: 600 1.5rem/1.2 var(--serif); margin-bottom: 1.1rem; font-variant-numeric: tabular-nums; }
.price .muted { font: 400 .92rem/1 var(--sans); margin-left: 6px; }
.product-info > p { color: var(--cocoa-2); }
.buy { margin: 1.6rem 0 1.8rem; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .94rem; }
.req { color: var(--rose-ink); }
input, select, textarea { font: inherit; color: inherit; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #d8c9bd; border-radius: 12px; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose-ink); box-shadow: 0 0 0 3px rgba(178, 66, 63, .18); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: end; }
.buy-row .field { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #d8c9bd; border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--cocoa); }
.stepper button:hover { background: var(--blush); }
.stepper input { width: 48px; min-height: 46px; border: 0; padding: 0; text-align: center; border-radius: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.allergen { background: var(--leaf-bg); border: 1px solid #cfe2d7; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 1.6rem; }
.allergen h2 { display: flex; align-items: center; gap: 10px; color: var(--leaf); margin-bottom: 10px; }
.allergen ul { margin: 0; padding-left: 1.1em; }
.allergen li { margin-bottom: 4px; }
.allergen .fine { color: #3d5a4b; }
.ingredients summary { font-size: 1rem; }
.ing-text { font-size: .95rem; color: var(--cocoa-2); }
@media (max-width: 420px) { .buy-row { grid-template-columns: 1fr; } }
.ingredients details p { font-size: .95rem; color: var(--cocoa-2); padding-bottom: 16px; margin: 0; }
.callout { background: var(--blush); border-radius: var(--radius); padding: 22px; margin: 1.4rem 0; }
.callout p:last-child { margin-bottom: 0; }

/* forms + order */
.form-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.1fr .9fr; } }
.form-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form .btn + .btn { margin-top: 10px; }
.order-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1.15fr .85fr; } }
.order-lines { list-style: none; padding: 0; margin: 0; }
.order-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line img, .order-line .ol-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--tint); }
.order-line h3 { font-size: 1.02rem; margin: 0 0 2px; }
.order-line h3 a { color: inherit; text-decoration: none; }
.order-line .ol-opts { font-size: .85rem; color: var(--muted); margin: 0; }
.order-line .ol-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.order-line .stepper button { width: 36px; height: 38px; }
.order-line .stepper input { width: 36px; min-height: 36px; }
.ol-remove { background: none; border: 0; color: var(--muted); font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 4px; }
.order-total { font: 600 1.15rem/1.3 var(--serif); margin: 18px 0 0; display: flex; justify-content: space-between; }
.form-error { color: var(--rose-ink-2); font-weight: 600; }

/* gallery */
.masonry { columns: 2 180px; column-gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry li { break-inside: avoid; margin-bottom: 14px; }
.masonry-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.masonry-item img { width: 100%; transition: transform .5s; }
.masonry-item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 12, 9, .86); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* blog */
.post-lead { margin-bottom: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .post-lead-link { display: grid; grid-template-columns: 1.15fr 1fr; } .post-lead .card-media { aspect-ratio: auto; min-height: 380px; } .post-lead .card-body { padding: 40px; justify-content: center; } }
.post-card .card-media, .post-grid .card-media { aspect-ratio: 16 / 10; }
.post-head { max-width: 860px; padding-block: clamp(24px, 4vw, 48px) 8px; }
.post-hero { max-width: 1000px; margin: 12px auto clamp(24px, 4vw, 40px); }
.post-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.prose { max-width: 760px; }
.post-body { padding-bottom: clamp(40px, 6vw, 72px); font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose a { word-break: break-word; }
.note { margin-top: 2.4rem; padding: 18px 22px; border-left: 4px solid var(--leaf); background: var(--leaf-bg); border-radius: 0 12px 12px 0; font-size: .95rem; }
.note p { margin: 0; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* about certs */
.cert-card { margin: 0; padding: 0; }
.cert-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; }
.cert-card figcaption { padding: 14px 18px 18px; font: 600 1.05rem/1.3 var(--serif); }
.cert-permit { padding: 26px; }
.cert-permit p { color: var(--cocoa-2); margin: 0; }
.cert-permit .h4 { margin-top: 14px; }

/* footer */
.site-footer { background: #22160f; color: #e9dcd4; padding-top: clamp(48px, 6vw, 80px); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: #f6c3be; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer-brand { grid-column: auto; } }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark { width: 67px; height: 67px; }
.brand-footer .brand-place { color: #cdb9ae; }
.footer-promise { color: #e9dcd4; max-width: 38ch; }
.footer-h { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f3b7b2; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-cert li { display: flex; gap: 8px; align-items: flex-start; }
.footer-cert .ico { color: #8fd0ad; margin-top: 3px; }
.footer-permit { font-size: .85rem; color: #cdb9ae; margin-top: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #cdb9ae; }
.footer-base p { margin: 0; }
.footer-base a { margin-left: 18px; text-decoration: none; }
.footer-base a:first-child { margin-left: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; background: var(--cocoa); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; font-weight: 500; max-width: calc(100vw - 32px); }
.toast a { color: #f6c3be; font-weight: 600; white-space: nowrap; }

@media print { .site-header, .promise, .site-footer, .preview-flag { display: none; } body { background: #fff; } }

/* order: alternative request path */
.alt-path { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.alt-path summary { cursor: pointer; font-weight: 600; padding: 8px 0; color: var(--cocoa-2); }
.alt-path .form { margin-top: 14px; }
[data-checkout]:disabled { opacity: .6; cursor: progress; }

/* about: four credentials in one row on desktop */
@media (min-width: 700px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* about founder links + press */
.founder-links { display: flex; flex-wrap: wrap; gap: 18px; }
.founder-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.press-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 820px; }
.press-item { padding: 24px 26px; }
.press-item h2 a { color: var(--cocoa); text-decoration: none; }
.press-item h2 a:hover { color: var(--rose-ink); }
.press-contact { margin-top: 24px; }

/* headings styled as headings even when the element is not h1-h4 (e.g. thank-you states) */
.display, .display-sm, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--cocoa); text-wrap: balance; margin: 0 0 .5em; }

.allergen-note { background: var(--leaf-bg); border-radius: 12px; padding: 12px 14px; color: #3d5a4b; }
.allergen-note .ico { color: var(--leaf); vertical-align: -.3em; }

.thanks-order { margin: 18px 0; text-align: left; }
.thanks-order .thanks-lines { margin: 8px 0; padding-left: 20px; }
.thanks-order p { margin: 6px 0; }
