/* =====================================================================
   Proof-N-Love Bakery — site.css
   Enterprise artisan brand system · warm cream & cocoa · faith as accent
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --cream:      #faf6ef;
    --sand:       #f2eadc;
    --parchment:  #ece0ca;
    --linen:      #e6d8bf;
    --cocoa:      #3a2a1e;
    --espresso:   #271a11;
    --toast:      #7c5231;
    --caramel:    #a9743f;
    --gold:       #b8863b;
    --wheat:      #d8b878;
    --rose:       #c98a74;
    --muted:      #7a6a57;
    --line:       rgba(58, 42, 30, .12);

    --shadow-xs: 0 2px 10px rgba(39, 26, 17, .06);
    --shadow-sm: 0 8px 24px rgba(39, 26, 17, .10);
    --shadow-md: 0 18px 48px rgba(39, 26, 17, .16);
    --shadow-lg: 0 34px 80px rgba(39, 26, 17, .22);

    --serif:  "Fraunces", Georgia, "Times New Roman", serif;
    --script: "Dancing Script", "Segoe Script", cursive;
    --sans:   "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --wrap: 1220px;
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --radius: 20px;
    --radius-sm: 12px;
    --header-h: 76px;
    --ease: cubic-bezier(.22, .72, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--cocoa);
    background: var(--cream);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; color: var(--cocoa); }
.display { font-size: clamp(2.6rem, 6vw, 4.7rem); }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--muted); }
strong { color: var(--cocoa); font-weight: 700; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--caramel);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--wheat); }
.eyebrow--center { justify-content: center; }
.script { font-family: var(--script); font-weight: 700; color: var(--caramel); }

.lede { font-size: 1.16rem; color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section__head { max-width: 660px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head .h2 { margin: .6rem 0 1rem; }
.center { text-align: center; }

/* ---------- Utilities (replace inline styles everywhere) ---------- */
.section--sand { background: var(--sand); }
.text-cream { color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.btn-row--tight { margin-top: 1.4rem; }
.optional { text-transform: none; font-weight: 400; }
.form-hint { margin-top: .8rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-hint a { text-decoration: underline; }
.mt-block { margin-top: 2.5rem; }
.mt-gap { margin-top: .6rem; }
.heading-lead { margin: .6rem 0 1rem; }
.heading-tight { margin-top: .6rem; }
.mb-gutter { margin-bottom: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--caramel);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    font-weight: 700; font-size: .96rem; letter-spacing: .01em;
    border: 1.5px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--caramel), var(--toast)); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--cocoa); border-color: rgba(58,42,30,.28); }
.btn--ghost:hover { background: var(--cocoa); color: var(--cream); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--cocoa); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(250,246,239,.5); }
.btn--outline-light:hover { background: var(--cream); color: var(--cocoa); transform: translateY(-3px); }
.btn--sm { padding: .62rem 1.3rem; font-size: .9rem; }
.btn--full { width: 100%; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 200;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled {
    background: rgba(250, 246, 239, .88);
    backdrop-filter: blur(14px) saturate(1.1);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(39,26,17,.06);
}
.header__inner {
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 34px; height: 34px; color: var(--caramel); flex: none; }
.brand__name { font-family: var(--script); font-size: 1.7rem; font-weight: 700; color: var(--cocoa); line-height: 1; padding-top: 4px; }
.site-header:not(.is-scrolled).on-dark .brand__name,
.site-header:not(.is-scrolled).on-dark .mainnav > a:not(.btn) { color: var(--cream); }
.site-header:not(.is-scrolled).on-dark .brand__mark { color: var(--wheat); }

.mainnav { display: flex; align-items: center; gap: 2.1rem; }
.mainnav > a:not(.btn) {
    font-weight: 600; font-size: .96rem; color: var(--cocoa); position: relative; padding: .2rem 0;
    transition: color .2s;
}
.mainnav > a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
    background: var(--caramel); border-radius: 2px; transition: width .28s var(--ease);
}
.mainnav > a:not(.btn):hover::after,
.mainnav > a[aria-current="page"]::after { width: 100%; }
.mainnav > a[aria-current="page"] { color: var(--caramel); }

.navtoggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; z-index: 210; }
.navtoggle span { width: 26px; height: 2.5px; background: var(--cocoa); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.site-header.on-dark:not(.is-scrolled) .navtoggle span { background: var(--cream); }
body.nav-open .navtoggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--cocoa); }
body.nav-open .navtoggle span:nth-child(2) { opacity: 0; }
body.nav-open .navtoggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--cocoa); }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(39,26,17,.55) 0%, rgba(39,26,17,.30) 40%, rgba(39,26,17,.72) 100%),
        radial-gradient(80% 60% at 20% 30%, rgba(39,26,17,.25), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 8rem 5rem; }
.hero__content { max-width: 720px; }
.hero__verse-top { color: var(--wheat); font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero__title { font-family: var(--script); font-weight: 700; font-size: clamp(3.4rem, 10vw, 7rem); line-height: .92; color: var(--cream); text-shadow: 0 4px 30px rgba(0,0,0,.3); }
.hero__sub { font-family: var(--serif); text-transform: uppercase; letter-spacing: .5em; font-size: clamp(.9rem, 2vw, 1.25rem); margin: .3rem 0 0 .4em; color: var(--wheat); }
.hero__tag { font-size: 1.2rem; color: rgba(250,246,239,.92); max-width: 560px; margin-top: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(250,246,239,.5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--wheat); border-radius: 2px; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0);} 40%{opacity:1;} 80%,100%{opacity:0; transform: translateY(14px);} }

/* ---------- Verse ribbon ---------- */
.ribbon { background: linear-gradient(135deg, var(--espresso), var(--cocoa)); color: var(--cream); text-align: center; padding: 1.4rem var(--gutter); }
.ribbon p { color: var(--cream); font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.45rem); }
.ribbon .ref { display: inline-block; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wheat); margin-left: .6rem; vertical-align: middle; }

/* =====================================================================
   CHOOSE YOUR DOUGH
   ===================================================================== */
.dough { background: var(--cream); }
.dough__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.dough__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.dough__media img { width: 100%; height: 100%; object-fit: cover; }
.dough__toggle { display: inline-flex; padding: 5px; background: var(--sand); border-radius: 999px; margin: 1.5rem 0; border: 1px solid var(--line); }
.dough__toggle button { padding: .6rem 1.5rem; border-radius: 999px; border: 0; background: transparent; font-weight: 700; color: var(--muted); transition: background .3s var(--ease), color .3s, box-shadow .3s; }
.dough__toggle button.is-active { background: var(--cream); color: var(--cocoa); box-shadow: var(--shadow-xs); }
.dough__panel { display: none; animation: fade .4s var(--ease); }
.dough__panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dough__panel h3 { margin-bottom: .5rem; }

/* =====================================================================
   FEATURE GRID (signature bakes)
   ===================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.feature-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-xs); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card__media { aspect-ratio: 1/1; overflow: hidden; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature-card:hover .feature-card__media img { transform: scale(1.06); }
.feature-card__body { padding: 1.5rem 1.5rem 1.7rem; }
.feature-card__body h3 { margin-bottom: .35rem; }
.feature-card__body p { font-size: .96rem; }
.tag-dough { display: inline-block; margin-top: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel); background: var(--sand); padding: .3rem .8rem; border-radius: 999px; }

/* =====================================================================
   FLAVORS band
   ===================================================================== */
.flavors { position: relative; color: var(--cream); overflow: hidden; }
.flavors__media { position: absolute; inset: 0; z-index: 0; }
.flavors__media img { width: 100%; height: 100%; object-fit: cover; }
.flavors__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,26,17,.82), rgba(39,26,17,.7)); }
.flavors__inner { position: relative; z-index: 2; text-align: center; }
.flavors__inner .h2, .flavors__inner .eyebrow { color: var(--cream); }
.flavors__inner .eyebrow::before { background: var(--wheat); }
.flavor-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 900px; margin: 2rem auto 0; }
.flavor-pill { padding: .55rem 1.15rem; border: 1px solid rgba(250,246,239,.32); border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--cream); background: rgba(250,246,239,.06); transition: background .25s, border-color .25s, transform .25s; }
.flavor-pill:hover { background: var(--wheat); color: var(--cocoa); border-color: var(--wheat); transform: translateY(-2px); }

/* =====================================================================
   SPLIT (image + text)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .h2 { margin: .6rem 0 1rem; }
.split__body p + p { margin-top: 1rem; }
.sign { font-family: var(--script); font-size: 1.6rem; color: var(--caramel); margin-top: 1rem; }

/* =====================================================================
   VALUES
   ===================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.value { text-align: center; padding: 2.4rem 1.6rem; border-radius: var(--radius); background: linear-gradient(180deg, var(--sand), rgba(250,246,239,.4)); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.value__icon { width: 66px; height: 66px; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.6rem; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(169,116,63,.35), var(--shadow-xs); color: var(--caramel); }
.value h3 { margin-bottom: .4rem; }
.value p { font-size: .95rem; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; color: var(--cream); }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(39,26,17,.85) 0%, rgba(39,26,17,.55) 60%, rgba(39,26,17,.35) 100%); }
.cta-band__inner { position: relative; z-index: 2; max-width: 640px; }
.cta-band__inner .h2 { color: var(--cream); margin: .6rem 0 1rem; }
.cta-band__inner p { color: rgba(250,246,239,.9); }
.cta-band__inner .eyebrow { color: var(--wheat); }
.cta-band__inner .eyebrow::before { background: var(--wheat); }

/* =====================================================================
   PAGE HERO (interior pages)
   ===================================================================== */
.pagehero { position: relative; color: var(--cream); overflow: hidden; display: flex; align-items: flex-end; min-height: 62vh; }
.pagehero__media { position: absolute; inset: 0; z-index: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,26,17,.5), rgba(39,26,17,.78)); }
.pagehero__inner { position: relative; z-index: 2; width: 100%; padding-block: 4rem; }
.pagehero__inner .display, .pagehero__inner .h1 { color: var(--cream); }
.pagehero__inner .eyebrow { color: var(--wheat); }
.pagehero__inner .eyebrow::before { background: var(--wheat); }
.pagehero__inner p { color: rgba(250,246,239,.92); max-width: 560px; margin-top: 1rem; font-size: 1.15rem; }

/* =====================================================================
   MENU
   ===================================================================== */
.menu-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.dough-note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; padding: .7rem 1.3rem; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--toast); font-size: .95rem; }

.menu-block { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.menu-block:first-of-type { border-top: 0; }
.loaf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.loaf-head .h2 { margin-top: .4rem; }
.loaf-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem 3.5rem; max-width: 1040px; }
.loaf-item { display: grid; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.loaf-item h3 { font-size: 1.18rem; display: flex; align-items: center; gap: .6rem; }
.loaf-item h3 .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); flex: none; }
.loaf-item p { font-size: .95rem; margin-top: .15rem; }

/* menu item card (image + text alternating) */
.menu-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); }
.menu-item:nth-child(even) .menu-item__media { order: 2; }
.menu-item__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.menu-item__media img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__body h3 { margin-bottom: .6rem; }
.menu-item__body .h2 { margin-bottom: .6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chip { padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--toast); background: var(--sand); }

.flavor-index { background: var(--sand); }
.flavor-index .flavor-pills .flavor-pill { color: var(--cocoa); border-color: var(--line); background: var(--cream); }
.flavor-index .flavor-pills .flavor-pill:hover { background: var(--caramel); color: var(--cream); border-color: var(--caramel); }

/* =====================================================================
   ORDER
   ===================================================================== */
.order-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.steps { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--caramel); color: var(--cream); font-family: var(--serif); font-weight: 600; flex: none; }
.step h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.step p { font-size: .95rem; }

.info-list { list-style: none; padding: 0; display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.info-list li { display: grid; gap: .15rem; padding-left: 1.1rem; border-left: 3px solid var(--wheat); }
.info-list .label { font-family: var(--serif); font-weight: 600; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); }
.info-list a { text-decoration: underline; text-decoration-color: var(--wheat); text-underline-offset: 3px; }

.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field label { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; color: var(--cocoa); background: var(--cream);
    border: 1.5px solid rgba(58,42,30,.2); border-radius: var(--radius-sm); padding: .85rem 1rem;
    transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(169,116,63,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { min-height: 1.3em; margin-top: .3rem; font-family: var(--serif); font-style: italic; font-size: .95rem; }
.form-note.success { color: #4c7a4a; font-style: normal; }
.form-note.error { color: #b4544a; font-style: normal; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--cocoa); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--caramel); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--espresso); color: rgba(250,246,239,.8); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,246,239,.14); }
.footer-brand .brand__name { color: var(--cream); font-size: 2rem; }
.footer-brand .brand__mark { color: var(--wheat); }
.footer-brand p { color: rgba(250,246,239,.62); margin-top: .8rem; font-size: .95rem; max-width: 30ch; }
.footer-brand .verse { font-family: var(--serif); font-style: italic; color: var(--wheat); margin-top: 1rem; }
.footer-col h4 { color: var(--cream); font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(250,246,239,.72); font-size: .96rem; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: var(--wheat); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; color: rgba(250,246,239,.5); }

/* =====================================================================
   REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* mobile drawer scrim */
.scrim { position: fixed; inset: 0; background: rgba(39,26,17,.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 150; }
body.nav-open .scrim { opacity: 1; visibility: visible; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
    .dough__grid, .split, .menu-item, .order-grid { grid-template-columns: 1fr; }
    .split--reverse .split__media, .menu-item:nth-child(even) .menu-item__media { order: 0; }
    .split__media, .dough__media { max-width: 520px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .loaf-list { grid-template-columns: repeat(2, 1fr); gap: .1rem 2.4rem; }
}
@media (max-width: 820px) {
    .mainnav {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
        flex-direction: column; justify-content: center; align-items: flex-start;
        gap: 1.6rem; padding: 2rem 2.4rem; background: var(--cream);
        box-shadow: var(--shadow-lg); transform: translateX(100%);
        transition: transform .4s var(--ease); z-index: 205;
    }
    body.nav-open .mainnav { transform: translateX(0); }
    .mainnav > a:not(.btn) { font-size: 1.25rem; color: var(--cocoa) !important; }
    .navtoggle { display: flex; }
    .site-header.on-dark:not(.is-scrolled) .navtoggle span { background: var(--cream); }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .loaf-list { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .hero__cta .btn, .cta-band .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   COMMERCE — cart badge, catalog, product, cart, checkout
   ===================================================================== */

/* Header cart link + badge */
.cart-link { position: relative; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.cart-link__icon { width: 22px; height: 22px; color: currentColor; }
.site-header:not(.is-scrolled).on-dark .cart-link { color: var(--cream); }
.cart-count {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--caramel); color: var(--cream); font-size: .72rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}

/* Catalog grid + product card */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.6rem; }
.prod-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.prod-card__media { display: block; aspect-ratio: 1/1; overflow: hidden; }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.06); }
.prod-card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-card__tag { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel); background: var(--sand); padding: .28rem .7rem; border-radius: 999px; margin-bottom: .7rem; }
.prod-card__body h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.prod-card__body p { font-size: .94rem; flex: 1; }
.prod-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1.1rem; }
.prod-card__price { font-family: var(--serif); font-weight: 600; color: var(--cocoa); }
.prod-card__price--order { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--muted); }
.prod-card__go { font-size: .84rem; font-weight: 700; color: var(--caramel); }

/* Breadcrumb */
.crumbs { padding-block: 1.4rem; font-size: .88rem; color: var(--muted); }
.crumbs a:hover { color: var(--caramel); }
.crumbs span { color: var(--line); margin: 0 .1rem; }
.crumbs__current { color: var(--cocoa); }

/* Product detail */
.product-page { padding-top: var(--header-h); }
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: 1rem 4rem; }
.product__stage { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; background: var(--sand); }
.product__stage img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.product__thumb { width: 74px; height: 74px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: none; transition: border-color .2s; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active { border-color: var(--caramel); }
.product__panel { position: sticky; top: calc(var(--header-h) + 1rem); }
.product__title { margin: .4rem 0 .5rem; }
.product__price { font-family: var(--serif); font-size: 1.5rem; color: var(--cocoa); margin-bottom: .8rem; }
.product__price--order { font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.product__summary { margin-bottom: 1.2rem; }

/* Options */
.opt { margin: 1.1rem 0; border: 0; padding: 0; }
.opt__label { display: block; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; padding: 0; }
.opt__req { color: var(--caramel); }
.opt__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt__pill { position: relative; }
.opt__pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__pill span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--cocoa); background: var(--cream); transition: background .2s, border-color .2s, color .2s; }
.opt__pill input:checked + span { background: var(--caramel); border-color: var(--caramel); color: var(--cream); }
.opt__pill input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.opt__select { width: 100%; font: inherit; font-size: 1rem; color: var(--cocoa); background: var(--cream); border: 1.5px solid rgba(58,42,30,.2); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.opt__select:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(169,116,63,.14); }

/* multi-select modifiers + price deltas */
.opt__hint { font-weight: 600; font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.opt__checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt__check { position: relative; }
.opt__check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__check span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--cocoa); background: var(--cream); transition: background .2s, border-color .2s, color .2s; }
.opt__check input:checked + span { background: var(--caramel); border-color: var(--caramel); color: var(--cream); }
.opt__check input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.opt__delta { font-style: normal; font-weight: 700; font-size: .85em; color: var(--caramel); }
.opt__pill input:checked + span .opt__delta,
.opt__check input:checked + span .opt__delta { color: var(--cream); }

/* Buy row + qty stepper */
.buy { margin-top: 1.4rem; }
.buy__row { display: flex; gap: 1rem; align-items: stretch; margin-top: 1.6rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cream); }
.qty__btn { width: 44px; height: 48px; border: 0; background: none; font-size: 1.3rem; color: var(--cocoa); }
.qty__btn:hover { background: var(--sand); }
.qty__input { width: 52px; height: 48px; text-align: center; border: 0; font: inherit; font-weight: 700; background: none; color: var(--cocoa); -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 36px; height: 40px; font-size: 1.1rem; }
.qty--sm .qty__input { width: 42px; height: 40px; }
.buy__add { flex: 1; min-width: 180px; }
.buy__note { min-height: 1.3em; margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: .95rem; }
.buy__note.success { color: #4c7a4a; font-style: normal; }
.buy__note.error { color: #b4544a; font-style: normal; }
.product__desc { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.product__desc h2 { margin-bottom: .5rem; }

/* Cart + checkout shared */
.cart-page, .checkout-page { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 5rem; }
.cart-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.cart-head .eyebrow { justify-content: center; }
.center-btns { justify-content: center; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.cart-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; }
.cart-empty__mark { font-size: 3rem; margin-bottom: .5rem; }

.line-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.line-item__media { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; }
.line-item__media img { width: 100%; height: 100%; object-fit: cover; }
.line-item__name { font-size: 1.15rem; margin-bottom: .2rem; }
.line-item__opts { list-style: none; padding: 0; margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.line-item__opts li span { font-weight: 700; color: var(--cocoa); }
.line-item__price { font-size: .9rem; color: var(--toast); margin-top: .3rem; }
.line-item__price--order { color: var(--muted); font-style: italic; }
.line-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.line-item__remove { background: none; border: 0; color: var(--muted); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }
.line-item__remove:hover { color: #b4544a; }

.cart-summary, .checkout-summary { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.cart-summary h2, .checkout-summary h2 { margin-bottom: 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.cart-summary__row dt { color: var(--muted); font-weight: 600; }
.cart-summary__row dd { margin: 0; font-weight: 700; color: var(--cocoa); }
.cart-summary__note { font-size: .86rem; color: var(--muted); margin: 1rem 0 1.4rem; }
.cart-summary__cont { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--caramel); }

.checkout-items { margin-bottom: 1rem; }
.checkout-line { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.checkout-line img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.checkout-line .line-item__opts { font-size: .8rem; }
.checkout-empty { color: var(--muted); }
.checkout-form { }
.checkout-done { max-width: 620px; margin: 1rem auto 0; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-md); }
.checkout-done__mark { width: 68px; height: 68px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--caramel); color: var(--cream); font-size: 2rem; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) {
    .product, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .product__panel, .cart-summary, .checkout-summary { position: static; }
}
@media (max-width: 560px) {
    .line-item { grid-template-columns: 72px 1fr; }
    .line-item__media { width: 72px; height: 72px; }
    .line-item__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

