/* ==========================================================================
   Bumble Bee Bakery — styles.css
   French patisserie x English tea room x Michigan kitchen.
   Edit the tokens in :root to retune the whole site.
   ========================================================================== */

:root {
  /* Palette */
  --cream: #FFF9F0;
  --cream-deep: #F8EFE0;
  --butter: #F6E7A8;
  --lavender: #DCCFE8;
  --blush: #E8C9C8;
  --sage: #C9D6C1;
  --ink: #252525;
  --white: #FFFFFF;
  --honey: #9C7B20;          /* deepened bee gold (passes contrast for large text) */
  --muted: #5B554E;          /* secondary text, 7:1 on cream */
  --line: #E6DAC6;           /* warm hairline */

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius-soft: 6px;
  --arch: 999px 999px 6px 6px;

  /* Stripes */
  --stripe: 14px;
  --stripes: repeating-linear-gradient(90deg, var(--ink) 0 var(--stripe), var(--white) var(--stripe) calc(var(--stripe) * 2));
  --pinstripe: repeating-linear-gradient(90deg, rgba(37,37,37,.07) 0 1px, transparent 1px 9px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 128px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* very light paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .28  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .7rem 1.1rem; border-radius: var(--radius-soft);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(3rem, 7.2vw, 6.1rem); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
.lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.45; color: var(--ink); }
.serif-body { font-family: var(--serif); font-size: 1.32rem; line-height: 1.6; }
.muted { color: var(--muted); }
.script { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 760px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint-butter { background: color-mix(in srgb, var(--butter) 38%, var(--cream)); }
.section--tint-blush { background: color-mix(in srgb, var(--blush) 34%, var(--cream)); }
.section--tint-lavender { background: color-mix(in srgb, var(--lavender) 36%, var(--cream)); }
.section--tint-sage { background: color-mix(in srgb, var(--sage) 34%, var(--cream)); }
.section--white { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Decorative pieces ---------- */
.awning {
  position: relative;
  height: 20px;
  background: var(--stripes);
  z-index: 60;
}
.awning::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: var(--stripe);
  background-image:
    radial-gradient(circle at calc(var(--stripe) / 2) 0, var(--ink) calc(var(--stripe) / 2 - .5px), transparent calc(var(--stripe) / 2)),
    radial-gradient(circle at calc(var(--stripe) * 1.5) 0, var(--white) calc(var(--stripe) / 2 - 1.5px), var(--ink) calc(var(--stripe) / 2 - 1px), var(--ink) calc(var(--stripe) / 2 - .5px), transparent calc(var(--stripe) / 2));
  background-size: calc(var(--stripe) * 2) var(--stripe);
  background-repeat: repeat-x;
}
.stripe-rule {
  width: 84px; height: 7px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  margin: 0 0 1.6rem;
}
.stripe-rule--center { margin-inline: auto; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(120px, 22vw); background: currentColor; opacity: .35; }
.ornament svg { width: 34px; height: 34px; }
.bee-mark { color: var(--ink); }
.bee-mark .bee-stripe { fill: var(--honey); stroke: none; }
.sprig { color: #8E9F84; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.6rem;
  font-family: var(--sans); font-size: .98rem; font-weight: 500; letter-spacing: .02em;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--cream);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #3a3a3a; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--white); }
.btn--small { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.text-link {
  font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.text-link:hover { background-size: 40% 1px; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 1.35rem .6rem;
  transition: padding .3s var(--ease);
}
.is-scrolled .header-top { padding-block: .55rem .35rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; justify-self: center; }
.brand img { width: 54px; height: 54px; transition: width .3s var(--ease), height .3s var(--ease); }
.is-scrolled .brand img { width: 40px; height: 40px; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .22em; line-height: 1; padding-left: .22em; text-transform: uppercase; }
.brand-word small { display: block; text-transform: none; font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .06em; color: var(--muted); margin-top: .35rem; padding-left: .1em; }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.header-actions--start { justify-self: start; }
.header-actions--end { justify-self: end; }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 44px; min-height: 44px; padding: 0 .7rem;
  background: none; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-size: .95rem;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: color-mix(in srgb, var(--butter) 60%, transparent); }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-size: .7rem; font-weight: 500; border-radius: 999px;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.main-nav { border-top: 1px solid transparent; }
.main-nav ul {
  list-style: none; margin: 0; padding: .35rem 0 .9rem;
  display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem clamp(.9rem, 1.8vw, 1.9rem);
}
.is-scrolled .main-nav ul { padding-bottom: .55rem; }
.main-nav a {
  position: relative; text-decoration: none; font-size: .95rem; letter-spacing: .01em; padding: .3rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { font-weight: 500; }
.nav-toggle { display: none; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 1rem var(--gutter) 2rem;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a.mobile-link { display: block; padding: .95rem 0; font-family: var(--serif); font-size: 1.75rem; text-decoration: none; line-height: 1.2; }
.mobile-nav a[aria-current="page"] { font-style: italic; }
.mobile-nav-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }

@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .header-top { grid-template-columns: auto 1fr auto; padding-block: .6rem; }
  .is-scrolled .header-top { padding-block: .45rem; }
  .brand { justify-self: center; gap: .6rem; }
  .brand img, .is-scrolled .brand img { width: 40px; height: 40px; }
  .brand-word { font-size: 1.05rem; letter-spacing: .16em; }
  .brand-word small { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .hide-mobile { display: none; }
  .awning { height: 12px; --stripe: 10px; }
}
@media (max-width: 420px) { .brand-word { font-size: .92rem; letter-spacing: .12em; } }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy h1 { margin-bottom: .2em; }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.3; margin: 0 0 1.4rem; }
.hero-tagline span { display: block; }
.hero-copy .supporting { max-width: 30rem; color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.hero-visual { position: relative; padding: 0 0 2.5rem 2.5rem; }
.arch-frame {
  position: relative; border-radius: var(--arch); overflow: hidden;
  outline: 1.5px solid var(--ink); outline-offset: 10px;
  aspect-ratio: 4 / 5; background: var(--cream-deep);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch-frame { margin-top: 12px; margin-right: 12px; }
.hero-roundel {
  position: absolute; left: 0; bottom: 0;
  width: clamp(130px, 17vw, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--cream); box-shadow: 0 0 0 1.5px var(--ink);
}
.hero-roundel img { width: 100%; height: 100%; object-fit: cover; }
.hero-bee { position: absolute; top: -26px; left: 0; width: 150px; z-index: 2; transform: rotate(-14deg); }
.hero-bee path.flight { stroke-dasharray: 3 6; }
.hero-sprig { position: absolute; right: -26px; bottom: 10%; width: 110px; transform: rotate(8deg); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; padding-left: 1.5rem; }
  .hero-copy { text-align: left; }
}

/* page-load moment: hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-visual { animation: fade 1.2s var(--ease) .1s both; }
  .hero-bee { animation: drift 7s ease-in-out 1.2s infinite alternate; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes drift { to { transform: rotate(-8deg) translate(10px, -6px); } }

/* subtle section reveal (only once, set by JS) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Ribbon strip ---------- */
.ribbon { border-block: 1px solid var(--ink); background: var(--white); }
.ribbon-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; padding: .95rem 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; text-align: center; }
.ribbon svg { width: 22px; height: 22px; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; text-align: center; }
.manifesto .bee-mark { width: 58px; height: 58px; margin: 0 auto 1.2rem; display: block; }
.manifesto h2 { font-style: italic; font-weight: 500; margin-bottom: 1.4rem; }
.manifesto-text {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.6;
  max-width: 38ch; max-width: 34em; margin: 0 auto;
}
.manifesto-text::first-letter { font-size: 3.4em; float: left; line-height: .82; padding: .06em .1em 0 0; font-weight: 500; }
.manifesto-text { text-align: left; }
.manifesto-sign { margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.manifesto .sprig-left, .manifesto .sprig-right { position: absolute; width: 110px; top: 50%; opacity: .9; }
.manifesto .sprig-left { left: max(2vw, 1rem); transform: translateY(-50%) scaleX(-1) rotate(-10deg); }
.manifesto .sprig-right { right: max(2vw, 1rem); transform: translateY(-50%) rotate(-10deg); }
@media (max-width: 1100px) { .manifesto .sprig-left, .manifesto .sprig-right { display: none; } }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.4rem) clamp(1.1rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .product-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid--3 { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; }
.product-media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 160px 160px var(--radius-soft) var(--radius-soft);
  background: var(--cream-deep); border: 0; padding: 0; cursor: pointer;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-tag {
  position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%);
  background: var(--cream); border: 1px solid var(--ink); border-radius: 999px;
  font-size: .78rem; padding: .2rem .7rem; white-space: nowrap;
}
.product-body { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.product-title-row { display: flex; align-items: baseline; gap: .5rem; margin-top: .3rem; }
.product-unit { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.product-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
.product-title button { all: unset; cursor: pointer; }
.product-title button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.leader { flex: 1; border-bottom: 1.5px dotted rgba(37,37,37,.4); transform: translateY(-.3em); min-width: 1rem; }
.product-price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.product-price small { font-family: var(--sans); font-size: .75rem; font-weight: 400; color: var(--muted); }
.product-desc { color: var(--muted); font-size: .96rem; line-height: 1.55; margin: .45rem 0 1rem; }
.product-actions { margin-top: auto; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 132px; }
.product-actions .details-link { font-size: .9rem; }
.product-unavailable { font-size: .9rem; color: var(--muted); font-style: italic; }

/* Placeholder art for products without photos yet */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.25rem;
  background-color: var(--ph, var(--butter));
  background-image: var(--pinstripe);
}
.ph-inner { display: grid; justify-items: center; gap: .6rem; }
.ph svg { width: 52px; height: 52px; }
.ph-name { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.2; max-width: 12ch; }
.ph-note { font-size: .74rem; letter-spacing: .03em; color: var(--muted); }
.ph--scones { --ph: color-mix(in srgb, var(--butter) 75%, var(--cream)); }
.ph--cinnamon-rolls { --ph: color-mix(in srgb, var(--blush) 70%, var(--cream)); }
.ph--shortbreads { --ph: color-mix(in srgb, var(--lavender) 75%, var(--cream)); }
.ph--cakes { --ph: color-mix(in srgb, var(--blush) 60%, var(--cream)); }
.ph--cupcakes { --ph: color-mix(in srgb, var(--lavender) 60%, var(--cream)); }
.ph--seasonal { --ph: color-mix(in srgb, var(--sage) 70%, var(--cream)); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; height: 44px; }
.qty button { width: 38px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: color-mix(in srgb, var(--butter) 60%, transparent); }
.qty input { width: 2.2rem; border: 0; background: none; text-align: center; font: inherit; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small { height: 38px; }
.qty--small button { width: 32px; }

.grid-empty {
  grid-column: 1 / -1; text-align: center; padding: 3rem 1.5rem;
  border: 1.5px dashed var(--line); border-radius: var(--radius-soft); background: color-mix(in srgb, var(--white) 60%, transparent);
}
.grid-empty p { max-width: 34rem; margin: .4rem auto 1.2rem; color: var(--muted); }

/* ---------- Category tiles ---------- */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2.2vw, 1.75rem); }
.tile { text-decoration: none; display: block; flex: 0 1 calc((100% - 4 * clamp(1rem, 2.2vw, 1.75rem)) / 5); min-width: 0; }
.tile-media { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; outline: 1.5px solid var(--ink); outline-offset: 6px; margin: 6px; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile h3 { margin: 1.2rem 0 .2rem; text-align: center; }
.tile p { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .tile { flex-basis: calc((100% - clamp(1rem, 2.2vw, 1.75rem)) / 2); } }
@media (max-width: 460px) { .tile h3 { font-size: 1.3rem; } }

/* ---------- Split feature (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-soft); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--arch img { border-radius: var(--arch); }
.split-media .stamp {
  position: absolute; right: -18px; bottom: -18px; width: 108px; height: 108px;
  transform: rotate(-8deg); filter: drop-shadow(0 2px 0 rgba(37,37,37,.08));
}
.split-copy h2 { margin-bottom: .45em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 520px; }
  .split-media .stamp { right: 8px; width: 88px; height: 88px; }
}

/* Pickup / local info card */
.pickup-card {
  margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-soft); position: relative; overflow: hidden;
}
.pickup-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripes); --stripe: 7px; }
.pickup-card dl { margin: .4rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.pickup-card dt { font-weight: 500; }
.pickup-card dd { margin: 0; color: var(--muted); }
.pickup-card h3 { font-size: 1.35rem; margin: .2rem 0 .2rem; }

/* ---------- Interior page hero ---------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.page-hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.3rem); margin-bottom: .25em; }
.page-hero .lede { color: var(--muted); max-width: 30rem; margin-bottom: 1.6rem; }
.page-hero-media { border-radius: var(--arch); overflow: hidden; aspect-ratio: 5 / 4; border: 1.5px solid var(--ink); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--center { text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 4 / 3; }
}

/* Category headers with awning trim */
.category-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--ink); }
.category-head h2 { margin: 0; }
.category-head p { margin: 0; color: var(--muted); max-width: 30rem; }

/* ---------- Timeline (history) ---------- */
.timeline { position: relative; list-style: none; margin-block: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ink); opacity: .3; }
.chapter { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.chapter::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--cream); border: 1.5px solid var(--ink);
}
.chapter:nth-child(even) .chapter-copy { order: 2; }
.chapter-year { font-family: var(--serif); font-style: italic; font-size: clamp(2.5rem, 4.8vw, 3.9rem); line-height: 1; color: var(--honey); font-weight: 500; display: block; margin-bottom: .2rem; }
.chapter h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); }
.chapter-copy p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.62; }
.chapter-media img { width: 100%; border-radius: var(--radius-soft); aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-media--arch img { border-radius: var(--arch); aspect-ratio: 4 / 5; }
.archive-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius-soft); display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: color-mix(in srgb, var(--cream-deep) 80%, var(--white)); background-image: var(--pinstripe);
  border: 1.5px dashed rgba(37,37,37,.35);
}
.archive-ph--arch { border-radius: var(--arch); aspect-ratio: 4 / 5; }
.archive-ph span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.archive-ph small { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.25; text-align: center; max-width: 22ch; margin: 0 auto; }
.pull-quote::before, .pull-quote::after { color: var(--honey); }
.pull-quote::before { content: "\201C"; }
.pull-quote::after { content: "\201D"; }
@media (max-width: 860px) {
  .timeline::before { left: 7px; }
  .chapter { grid-template-columns: 1fr; padding-left: 2.25rem; gap: 1.5rem; }
  .chapter::before { left: 7px; top: 3.4rem; }
  .chapter:nth-child(even) .chapter-copy { order: 0; }
}

/* ---------- Experience list (catering) ---------- */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.occasions li { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 1.6rem 1.2rem; text-align: center; font-family: var(--serif); font-size: 1.4rem; font-style: italic; background: var(--white); }
.occasions li svg { display: block; margin: 0 auto .6rem; width: 30px; height: 30px; }
@media (max-width: 860px) { .occasions { grid-template-columns: repeat(2, 1fr); } }

.tea-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: tier; margin-top: 2.5rem; }
.tea-tier { padding: 1.75rem 1.5rem; background: var(--white); border-radius: 160px 160px var(--radius-soft) var(--radius-soft); text-align: center; border: 1px solid var(--line); }
.tea-tier h3 { font-size: 1.5rem; margin-top: .4rem; }
.tea-tier p { color: var(--muted); font-size: .97rem; margin: 0; }
.tea-tier .tier-mark { font-family: var(--serif); font-style: italic; color: var(--honey); font-size: 1.1rem; }
@media (max-width: 760px) { .tea-tiers { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; position: relative; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: color-mix(in srgb, var(--cream) 80%, transparent); max-width: 34rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .bee-mark { color: var(--cream); width: 46px; height: 46px; margin: 0 auto 1rem; display: block; }

/* ---------- Shop page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.75rem; }
.filter-chip {
  min-height: 42px; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; cursor: pointer; font-size: .95rem; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.filter-chip:hover { background: color-mix(in srgb, var(--butter) 60%, transparent); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.shop-section + .shop-section { margin-top: 4.5rem; }

/* ---------- Gallery (cakes) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery .archive-ph { aspect-ratio: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Dialogs (product details, inquiry) ---------- */
dialog.modal {
  width: min(100% - 2rem, 920px); max-height: calc(100dvh - 2rem); padding: 0;
  border: 1.5px solid var(--ink); border-radius: 10px; background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(37,37,37,.35);
}
dialog.modal::backdrop { background: rgba(37,37,37,.45); backdrop-filter: blur(2px); }
dialog.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: var(--cream); }
.modal-close:hover { background: var(--butter); }
.modal-stripe { height: 8px; background: var(--stripes); --stripe: 9px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.product-detail .product-media { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 360px; cursor: default; }
.product-detail-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: .4rem; }
.product-detail-body h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0; }
.product-detail-body .product-price { font-size: 1.6rem; }
.product-detail-body .detail-cat { color: var(--muted); font-size: .92rem; }
.product-detail-body .detail-desc { font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; margin: .8rem 0 1.2rem; }
.product-detail-body .product-actions { margin-top: .5rem; }
.detail-note { font-size: .88rem; color: var(--muted); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail .product-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Forms ---------- */
.inquiry { padding: clamp(1.5rem, 4vw, 2.75rem); }
.inquiry-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .25rem; }
.inquiry-head p { color: var(--muted); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .93rem; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #CDBFA9; border-radius: var(--radius-soft); padding: .75rem .85rem; min-height: 48px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--butter) 80%, transparent); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23252525' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A3392F; }
.field-error { color: #A3392F; font-size: .85rem; min-height: 0; }
.field-error:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.checks legend { margin-bottom: .45rem; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span { display: inline-block; padding: .45rem .95rem; border: 1.5px solid #CDBFA9; border-radius: 999px; font-size: .92rem; background: var(--white); transition: all .2s var(--ease); }
.check-pill input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.check-pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-foot small { color: var(--muted); max-width: 26rem; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-success { text-align: center; padding: 2rem 1rem 1rem; }
.form-success .bee-mark { width: 60px; height: 60px; margin: 0 auto 1rem; display: block; }
.form-success h2 { font-size: 2.3rem; }
.form-success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-card { background: var(--white); border: 1.5px solid var(--ink); border-radius: 10px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Cart drawer & page ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(100%, 430px);
  background: var(--cream); border-left: 1.5px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.drawer-foot { padding: 1.25rem; border-top: 1px solid var(--line); background: var(--white); }
.scrim { position: fixed; inset: 0; z-index: 85; background: rgba(37,37,37,.4); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.scrim.is-visible { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 76px; height: 76px; border-radius: 40px 40px 4px 4px; overflow: hidden; position: relative; background: var(--cream-deep); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph { padding: .3rem; }
.cart-thumb .ph svg { width: 26px; height: 26px; }
.cart-line h3 { font-size: 1.2rem; margin: 0 0 .1rem; }
.cart-line .line-meta { font-size: .85rem; color: var(--muted); margin: 0 0 .45rem; }
.cart-line .line-total { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; text-align: right; }
.cart-line .remove { font-size: .82rem; color: var(--muted); text-decoration: underline; margin-top: .35rem; display: block; margin-left: auto; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .3rem; }
.cart-small { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty .bee-mark { width: 52px; height: 52px; margin: 0 auto 1rem; display: block; }
.cart-empty h3 { font-size: 1.7rem; }
.cart-empty p { color: var(--muted); }
.cart-notice { font-size: .88rem; background: color-mix(in srgb, var(--butter) 55%, var(--cream)); border-radius: var(--radius-soft); padding: .75rem .9rem; margin: 0 0 1rem; }

.cart-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--white); border: 1.5px solid var(--ink); border-radius: 10px; padding: 1.6rem; }
.cart-summary h2 { font-size: 1.9rem; }
.cart-summary .field { margin-bottom: 1rem; }
.cart-page .cart-line { grid-template-columns: 96px 1fr auto; }
.cart-page .cart-thumb { width: 96px; height: 96px; }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ---------- Search overlay ---------- */
.search-panel { width: min(100% - 2rem, 680px); }
.search-box { padding: 1.4rem 1.4rem 0; }
.search-box label { font-family: var(--serif); font-size: 1.6rem; display: block; margin-bottom: .6rem; }
.search-box input { width: 100%; font: inherit; font-size: 1.1rem; padding: .85rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.search-results { list-style: none; margin: 0; padding: .75rem 1.4rem 1.4rem; max-height: 55vh; overflow-y: auto; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; width: 100%; padding: .8rem .4rem; }
.search-results button:hover, .search-results button:focus-visible { background: color-mix(in srgb, var(--butter) 45%, transparent); outline: none; }
.search-results .r-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.search-results .r-cat { color: var(--muted); font-size: .88rem; }
.search-hint { color: var(--muted); padding: .5rem .4rem; font-size: .95rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 100; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem .8rem 1.1rem;
  background: var(--ink); color: var(--cream); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(37,37,37,.5);
  transition: transform .45s var(--ease), visibility 0s linear .45s; max-width: calc(100% - 2rem); visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.toast .bee-mark { color: var(--cream); width: 28px; height: 28px; }
.toast button { background: var(--cream); color: var(--ink); border: 0; border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font-size: .88rem; font-weight: 500; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer-awning { height: 12px; background: var(--stripes); --stripe: 12px; }
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 84px; height: 84px; margin-bottom: 1rem; }
.footer-brand .brand-word { font-size: 1.35rem; color: var(--cream); }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; margin-top: .75rem; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.site-footer h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--cream); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; color: color-mix(in srgb, var(--cream) 85%, transparent); display: grid; gap: .3rem; }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social a { width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); border-radius: 50%; display: grid; place-items: center; }
.social a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,249,240,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: color-mix(in srgb, var(--cream) 70%, transparent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder text highlighting (remove after launch if you like) ---------- */
.placeholder { background: color-mix(in srgb, var(--butter) 70%, transparent); padding: 0 .25em; border-radius: 3px; }
.site-footer .placeholder { background: rgba(246,231,168,.18); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.no-js-note { padding: 1rem; background: var(--butter); text-align: center; }
body.no-scroll { overflow: hidden; }

@media print {
  .site-header, .awning, .site-footer, .footer-awning, .drawer, .toast { display: none !important; }
}

/* ---------- Small screens: a two-up "pastry case" grid ---------- */
@media (max-width: 560px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .85rem; }
  .product-media { border-radius: 90px 90px 4px 4px; }
  .product-title { font-size: 1.18rem; }
  .product-price { font-size: 1.12rem; }
  .product-unit { font-size: .76rem; }
  .product-desc { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .product-actions .qty { justify-content: space-between; }
  .product-actions .btn { min-width: 0; width: 100%; }
  .ph-name { font-size: 1.05rem; }
  .ph svg { width: 38px; height: 38px; }
  .ph-note { display: none; }
  .ribbon-inner { flex-direction: column; gap: .35rem; font-size: 1.08rem; }
  .ribbon-inner svg { display: none; }
  .category-head { gap: .6rem; }
}
.grid-empty .bee-mark { width: 44px; height: 44px; display: block; margin: 0 auto .75rem; }

/* ==========================================================================
   Added: size picker, home hero logo, photo galleries, lightbox
   ========================================================================== */

/* Size picker on product cards + detail dialog */
.option-picker { flex: 1 1 100%; display: block; }
.option-picker select {
  width: 100%; min-height: 40px; font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23252525' stroke-width='1.6'/></svg>") no-repeat right .9rem center;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: .45rem 2.2rem .45rem 1rem;
  appearance: none; cursor: pointer;
}
.option-picker select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.product-detail .option-picker select { min-height: 46px; font-size: 1rem; }
.product-price small { margin-right: .1em; }
.product-unit { overflow: hidden; text-overflow: ellipsis; }

/* Home hero: logo on the left, name centered on one line, scones on the right */
.hero-grid--logo { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(1.5rem, 3vw, 3rem); }
.hero-grid--logo .hero-copy { text-align: center; }
.hero-grid--logo .hero-copy h1 { white-space: nowrap; font-size: clamp(2rem, 4.4vw, 4.4rem); }
.hero-grid--logo .hero-copy .supporting { margin-inline: auto; }
.hero-grid--logo .hero-copy .btn-row { justify-content: center; }
.hero-logo { display: grid; justify-items: center; }
.hero-logo img {
  width: clamp(150px, 15vw, 230px); height: auto; aspect-ratio: 1;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 9px var(--cream), 0 0 0 10.5px var(--ink), 0 18px 40px -18px rgba(37,37,37,.35);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: fade 1.1s var(--ease) .05s both; }
}
@media (max-width: 1100px) {
  .hero-grid--logo { grid-template-columns: auto minmax(0, 1fr); }
  .hero-grid--logo .hero-visual { grid-column: 1 / -1; max-width: 520px; margin-inline: auto; width: 100%; margin-top: 1rem; }
}
@media (max-width: 860px) {
  .hero-grid--logo { grid-template-columns: 1fr; }
  .hero-logo img { width: clamp(140px, 40vw, 190px); }
  .hero-grid--logo .hero-copy h1 { font-size: clamp(1.9rem, 9.4vw, 3.4rem); }
  .hero-grid--logo .hero-visual { margin-top: 2.25rem; }
}

/* Real photos in the cake/cupcake galleries */
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-soft); cursor: zoom-in; transition: transform .6s var(--ease); }
.gallery img:hover { transform: scale(1.02); }

/* Wide feature photo (shortbread rack) */
.wide-photo { margin: 0 0 clamp(2rem, 4vw, 3rem); border-radius: var(--radius-soft); overflow: hidden; border: 1.5px solid var(--ink); }
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
@media (max-width: 560px) { .wide-photo img { aspect-ratio: 4 / 3; } }

/* Catering & tea photo gallery (masonry keeps every photo uncropped) */
.photo-wall { columns: 3 280px; column-gap: clamp(.9rem, 2vw, 1.4rem); }
.photo-wall figure { margin: 0 0 clamp(.9rem, 2vw, 1.4rem); break-inside: avoid; position: relative; border-radius: var(--radius-soft); overflow: hidden; background: var(--cream-deep); }
.photo-wall img { width: 100%; cursor: zoom-in; transition: transform .7s var(--ease); }
.photo-wall figure:hover img { transform: scale(1.025); }
.photo-wall figcaption {
  position: absolute; left: .7rem; bottom: .7rem; right: .7rem; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.25;
  color: var(--ink); background: color-mix(in srgb, var(--cream) 92%, transparent);
  padding: .35rem .75rem; border-radius: 999px; width: fit-content; max-width: calc(100% - 1.4rem);
}
@media (max-width: 560px) { .photo-wall { columns: 2; } .photo-wall figcaption { font-size: .9rem; left: .45rem; bottom: .45rem; padding: .25rem .6rem; } }
.gallery-intro { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--ink); }
.gallery-intro h2 { margin: 0; }
.gallery-intro p { margin: 0; color: var(--muted); max-width: 30rem; }
.gallery-jump { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* Lightbox */
dialog.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24,22,20,.94); color: var(--cream); display: none;
}
dialog.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
dialog.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; height: 100dvh; display: grid; place-items: center; align-content: center; gap: .8rem; padding: 3.5rem .5rem 1.5rem; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 1.2rem; text-align: center; padding-inline: 1rem; }
.lb-close { position: absolute; top: .9rem; right: .9rem; color: var(--cream); z-index: 2; }
.lb-close:hover { background: rgba(255,255,255,.12); }
.lb-nav { width: 52px; height: 52px; margin: 0 .5rem; border-radius: 50%; border: 1px solid rgba(255,249,240,.5); background: transparent; color: var(--cream); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .lb-nav { position: absolute; bottom: 1rem; width: 46px; height: 46px; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; } .lightbox figure { padding-bottom: 4.5rem; } }

/* Price guide on the shop page */
.price-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-bottom: 3.5rem; }
.price-card { background: var(--cream); border: 1px solid var(--line); border-radius: 120px 120px var(--radius-soft) var(--radius-soft); padding: 1.6rem 1.3rem 1.2rem; text-align: center; }
.price-card h3 { font-size: 1.35rem; margin: 0 0 .15rem; }
.price-card .price-note { font-size: .8rem; color: var(--muted); margin: 0 0 .6rem; }
.price-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; text-align: left; font-size: .93rem; }
.price-card dt { position: relative; overflow: hidden; white-space: nowrap; }
.price-card dt::after { content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . ."; color: rgba(37,37,37,.35); position: absolute; padding-left: .3em; }
.price-card dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.price-card .sub { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; color: var(--honey); font-size: 1rem; margin-top: .35rem; }
.ph--cookies { --ph: color-mix(in srgb, var(--butter) 55%, var(--blush)); }
.ph--quick-breads { --ph: color-mix(in srgb, var(--sage) 55%, var(--butter)); }
.ph--pies { --ph: color-mix(in srgb, var(--blush) 55%, var(--butter)); }
/* keep long size names from widening cards on small screens */
.product-card, .product-body, .product-actions, .option-picker { min-width: 0; }
.option-picker select { min-width: 0; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
@media (max-width: 560px) {
  .product-actions { flex-wrap: nowrap; }
  .product-actions .option-picker { flex: none; width: 100%; }
  .option-picker select { font-size: .82rem; padding-left: .8rem; padding-right: 1.9rem; background-position: right .7rem center; }
}
.tiles .tile h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); text-wrap: balance; }
/* checkout buttons */
.pay-later { margin-top: .6rem; }
.pay-note { margin-top: .2rem; }
.confirm h1 { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: .2em; }
svg.confirm-bee { width: 64px; height: 64px; display: block; margin: 0 auto 1rem; }
