:root {
  --cream: #fbf6ee;
  --paper: #f5ebdc;
  --flour: #fffdf9;
  --crust: #c47f3a;
  --crust-deep: #a5652a;
  --honey: #e4b46a;
  --cocoa: #4a2c1f;
  --cocoa-soft: #6b4a39;
  --ink: #3a2418;
  --sage: #7c8a64;
  --lavender: #8a74b8;
  --line: rgba(74, 44, 31, 0.14);
  --shadow: 0 18px 40px -18px rgba(58, 36, 24, 0.45);
  --radius: 18px;
  --script: "Allura", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(228, 180, 106, 0.10) 0, transparent 38%),
    radial-gradient(circle at 88% 72%, rgba(138, 116, 184, 0.07) 0, transparent 40%);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crust-deep); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 2px 8px rgba(58, 36, 24, 0.18); }
.brand span { font-family: var(--script); font-size: 2.1rem; line-height: 1; padding-top: 6px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--cocoa-soft); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--crust-deep); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 800; font-size: 0.95rem;
  text-decoration: none; letter-spacing: 0.02em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--crust); color: #fff; box-shadow: 0 10px 22px -10px rgba(165, 101, 42, 0.8); }
.btn-primary:hover { background: var(--crust-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-outline { border-color: var(--crust); color: var(--crust-deep); background: transparent; }
.btn-outline:hover { background: var(--crust); color: #fff; }
.nav .btn { padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cocoa); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: grid; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background: url("images/sweetie-rustic-rolls.jpg") center 58% / cover no-repeat; transform: scale(1.04); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(43, 24, 14, 0.88) 0%, rgba(43, 24, 14, 0.66) 42%, rgba(43, 24, 14, 0.18) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 90px 0 110px; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.78rem; font-weight: 800; color: var(--honey); margin: 0 0 14px; }
.hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(4.2rem, 11vw, 7.6rem); line-height: 0.9; margin: 0 0 18px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.hero .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.35; margin: 0 0 30px; color: #fff6ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--honey); }
.hero-note svg { vertical-align: -3px; }

/* ---------- three ways ---------- */
.ways { position: relative; z-index: 2; margin-top: -56px; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way {
  background: var(--flour); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start;
}
.way-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--crust-deep); }
.way h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.45rem; color: var(--cocoa); }
.way p { margin: 0; font-size: 0.95rem; color: var(--cocoa-soft); }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section-head .script { font-family: var(--script); font-size: 2.6rem; color: var(--crust); line-height: 1; display: block; margin-bottom: 4px; }
.section-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.2rem); line-height: 1.08; margin: 0 0 14px; color: var(--cocoa); }
.section-head p { margin: 0; color: var(--cocoa-soft); font-size: 1.05rem; }
.wheat-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--crust); margin: 0 auto 14px; }
.wheat-divider::before, .wheat-divider::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--crust)); }
.wheat-divider::after { transform: scaleX(-1); }

/* ---------- bread menu ---------- */
.bread-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.bread {
  position: relative; background: var(--flour); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px; transition: transform .25s ease, box-shadow .25s ease;
}
.bread:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bread .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: 1px; }
.bread h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.55rem; color: var(--cocoa); }
.bread p { margin: 0; color: var(--cocoa-soft); font-size: 0.95rem; }
.bread-special { background: linear-gradient(140deg, rgba(138, 116, 184, 0.12), rgba(228, 180, 106, 0.16)); border-style: dashed; border-color: rgba(138, 116, 184, 0.45); }
.also {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  background: var(--paper); border-radius: var(--radius); padding: 20px 22px; text-align: center;
}
.also strong { font-family: var(--serif); font-size: 1.3rem; color: var(--cocoa); margin-right: 6px; }
.chip { background: var(--flour); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.88rem; color: var(--cocoa-soft); }
.menu-note { text-align: center; margin: 22px auto 0; color: var(--cocoa-soft); font-style: italic; font-family: var(--serif); font-size: 1.2rem; }

/* ---------- gallery ---------- */
.gallery-band { background: var(--paper); }
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 270px 270px; grid-template-areas: "a b c" "a d c"; gap: 16px; }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(251, 246, 238, 0.92); color: var(--cocoa);
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
/* The cover photo has the name lettered on its left half; this tile shows only the bagels. */
.gallery img.zoom-bagels { object-position: 100% 50%; transform: scale(1.18); transform-origin: 100% 50%; }
.gallery figure:hover img.zoom-bagels { transform: scale(1.24); }
.g-wide { grid-column: span 2; }

/* ---------- find us ---------- */
.find-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.market { background: var(--flour); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.market-top { padding: 26px 24px 0; }
.market .tag { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--paper); color: var(--crust-deep); margin-bottom: 14px; }
.market h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--cocoa); }
.market .when { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--cocoa); margin: 0 0 8px; }
.market p { margin: 0 0 22px; color: var(--cocoa-soft); font-size: 0.97rem; }
.market-photo { margin-top: auto; height: 170px; background: center / cover no-repeat; }
.market.lavender .tag { background: rgba(138, 116, 184, 0.14); color: var(--lavender); }
.schedule-note { margin: 26px auto 0; text-align: center; color: var(--cocoa-soft); }

/* ---------- pre-order ---------- */
.preorder { background: var(--cocoa); color: #f7ecdc; position: relative; overflow: hidden; }
.preorder::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14;
  background: url("images/sweetie-buns-pullapart.jpg") center / cover no-repeat;
}
.preorder .wrap { position: relative; }
.preorder .section-head h2 { color: #fff7ea; }
.preorder .section-head p { color: #e9d7bf; }
.preorder .section-head .script { color: var(--honey); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; counter-reset: step; }
.step { background: rgba(255, 247, 234, 0.07); border: 1px solid rgba(255, 247, 234, 0.16); border-radius: var(--radius); padding: 28px 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--honey); color: var(--cocoa); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.5rem; color: #fff7ea; }
.step p { margin: 0; color: #e9d7bf; font-size: 0.97rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cocoa);
  background: var(--flour); border-radius: var(--radius); padding: 18px 20px; transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.contact-card .ci { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--crust-deep); }
.contact-card small { display: block; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: var(--crust-deep); }
.contact-card span { font-weight: 700; word-break: break-word; }
.limited { text-align: center; margin: 30px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--honey); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo .main { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; height: auto; object-fit: cover; width: 100%; }
.about-photo .badge {
  position: absolute; right: -26px; bottom: -26px; width: 150px; height: 150px; border-radius: 50%;
  background: #fff; padding: 8px; box-shadow: var(--shadow); transform: rotate(-8deg);
}
.about-photo .badge img { border-radius: 50%; width: 100%; }
.about-copy .script { font-family: var(--script); font-size: 2.6rem; color: var(--crust); line-height: 1; }
.about-copy h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 3rem); line-height: 1.1; margin: 4px 0 18px; color: var(--cocoa); }
.about-copy p { color: var(--cocoa-soft); margin: 0 0 16px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; }
.values li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--cocoa); }
.values svg { flex: none; color: var(--sage); }
.review-pill {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cocoa);
  background: var(--flour); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 700;
}
.review-pill .stars { color: var(--honey); letter-spacing: 2px; font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: #2f1c13; color: #e7d6c1; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; }
.footer-brand .name { font-family: var(--script); font-size: 2.6rem; color: #fff4e3; line-height: 1; }
.footer-brand .tag { font-family: var(--serif); font-style: italic; color: var(--honey); font-size: 1.1rem; }
.site-footer h4 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey); }
.site-footer a { color: #f3e4cf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 244, 227, 0.08); }
.socials a:hover { background: var(--crust); text-decoration: none; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 244, 227, 0.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.88rem; color: #bda68c; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .bread, .gallery img, .contact-card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .ways-grid, .find-grid, .steps, .contact-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-photo { max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 220px 320px; grid-template-areas: "a a" "b d" "c c"; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -16px rgba(58, 36, 24, 0.4);
    display: none; padding: 8px 20px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .btn { margin-top: 12px; border-bottom: 0; }
  .hero { min-height: 640px; }
  .hero::after { background: linear-gradient(180deg, rgba(43, 24, 14, 0.55) 0%, rgba(43, 24, 14, 0.82) 70%); }
  .hero-inner { padding: 70px 0 100px; }
  .section { padding: 76px 0; }
  .gallery { grid-template-rows: 260px 190px 260px; gap: 10px; }
  .about-photo .badge { width: 112px; height: 112px; right: -8px; bottom: -18px; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

/* ================= WHOLESALE PAGE ================= */
.nav-links a.active { color: var(--crust-deep); box-shadow: inset 0 -2px 0 var(--crust); padding-bottom: 2px; }
.hero.hero-short { min-height: min(68vh, 600px); }
.hero-short .hero-bg { background-image: url("images/sweetie-buns-pullapart.jpg"); background-position: center 42%; }
.hero-short h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  line-height: 1.06; margin: 0 0 20px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero-short .lead { font-size: clamp(1.15rem, 2.1vw, 1.4rem); max-width: 600px; }

.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.core-card {
  background: var(--flour); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px;
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.core-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.core-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--accent, var(--crust)); }
.core-card .tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crust-deep); margin-bottom: 10px; }
.core-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; color: var(--cocoa); }
.core-card p { margin: 0; color: var(--cocoa-soft); }
.core-card .tagline { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--crust-deep); }

.request-band {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.request-box { background: var(--paper); border-radius: var(--radius); padding: 24px 26px; }
.request-box h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.45rem; color: var(--cocoa); }
.request-box p { margin: 0; color: var(--cocoa-soft); }
.request-box .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.request-box.specialty { background: linear-gradient(140deg, rgba(138, 116, 184, 0.12), rgba(228, 180, 106, 0.16)); border: 1px dashed rgba(138, 116, 184, 0.45); }

.how-band { background: var(--paper); }
.how-band .steps { margin-bottom: 0; }
.how-band .step { background: var(--flour); border-color: var(--line); }
.how-band .step h3 { color: var(--cocoa); }
.how-band .step p { color: var(--cocoa-soft); }
.flex-note {
  margin: 30px auto 0; max-width: 640px; text-align: center; display: flex; gap: 12px; align-items: center; justify-content: center;
  background: var(--flour); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 700; color: var(--cocoa);
}
.flex-note svg { flex: none; color: var(--sage); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: var(--flour); border: 1px solid var(--line); }
.why .why-icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--paper); color: var(--crust-deep); }
.why h3 { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--cocoa); }

.ws-contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.ws-contact .section-head { text-align: left; margin: 0 0 22px; }
.ws-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.ws-list li { display: flex; gap: 14px; align-items: center; font-weight: 700; color: #fff7ea; }
.ws-list .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--cocoa); font-weight: 800; }
.ws-actions { display: grid; gap: 14px; }
.ws-quick { color: #e9d7bf; font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin: 0; }

/* the home page's invitation to wholesale */
.biz-band { padding: 0 0 100px; }
.biz-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(120deg, var(--cocoa) 0%, #6b4128 100%); color: #f7ecdc;
  border-radius: 24px; padding: 34px 38px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.biz-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 180, 106, 0.28), transparent 70%);
}
.biz-card .script { font-family: var(--script); font-size: 2.2rem; color: var(--honey); line-height: 1; }
.biz-card h2 { margin: 2px 0 6px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: #fff7ea; line-height: 1.15; }
.biz-card p { margin: 0; color: #e9d7bf; }
.biz-card .btn { position: relative; z-index: 1; white-space: nowrap; }

@media (max-width: 960px) {
  .core-grid, .request-band, .ws-contact { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero.hero-short { min-height: 560px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flex-note { border-radius: var(--radius); }
  .biz-band { padding-bottom: 76px; }
  .biz-card { padding: 28px 24px; }
  .nav-links a.active { box-shadow: none; }
}
