/* ==========================================================================
   Mrs Sourdough Bakery — 2026 redesign
   Palette taken from the Oli's Corner shopfront: sage greens, cream, gold.
   Fonts: Cormorant Garamond (headings), Jost (body), Allura (script overlays).
   ========================================================================== */

:root {
  --green-900: #2b3526;
  --green-800: #38452f;
  --green-700: #4a583d;
  --sage: #8c9b7c;
  --sage-200: #dfe5d5;
  --sage-100: #eef1e7;
  --cream: #f6f0e2;
  --paper: #fcf9f2;
  --gold: #c6a15b;
  --gold-light: #e5c98f;
  --copper: #e5aa6a;          /* the gold in the existing logo */
  --ink: #2a2924;
  --ink-soft: #5b5a50;
  --line: rgba(42, 41, 36, 0.14);

  --serif: "Cormorant Garamond", "Lora", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Inter", "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Snell Roundhand", "Apple Chancery", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }
/* Jump links stop below the sticky header */
[id] { scroll-margin-top: 104px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 1rem;
}
.eyebrow--gold { color: var(--gold-light); }
.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.rule {
  display: block; width: 64px; height: 1px; background: var(--gold); margin: 1.4rem 0;
}
.center .rule { margin-left: auto; margin-right: auto; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid var(--green-800);
  background: var(--green-800);
  color: var(--cream);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--green-900); border-color: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-800); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--green-800); color: var(--cream); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--gold-light); border-color: var(--gold-light); }
.btn--light { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn--light:hover, .btn--light:focus-visible { background: var(--cream); color: var(--green-900); }
.text-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.text-link:hover { color: var(--green-700); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green-900);
  color: var(--cream);
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-logo img { height: 62px; width: auto; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--cream); padding: 8px 0; border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold-light); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(246, 240, 226, 0.4); color: var(--cream);
  font: inherit; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 14px; border-radius: var(--radius); cursor: pointer;
}

/* Hero: text on a solid panel, counter photo beside it ------------------------ */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(84vh, 780px);
  background: var(--green-900); color: var(--cream);
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 2.4vw, 36px) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__img { position: relative; min-height: 360px; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__script { font-size: clamp(2.8rem, 5.2vw, 4.4rem); color: var(--gold-light); margin: 0 0 0.15em; }
.hero h1 { font-size: clamp(2rem, 3.1vw, 2.85rem); max-width: none; text-wrap: balance; margin-bottom: 0.4em; }
.hero__lede { max-width: 40ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(246, 240, 226, 0.9); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { padding: 14px 20px; letter-spacing: 0.14em; }

/* Hand-drawn illustration backgrounds ---------------------------------------
   Transparent PNGs made from the existing Mrs Sourdough sketch artwork,
   in sage green for cream sections and gold for green ones. Decorative. */
.illus { position: relative; isolation: isolate; overflow: hidden; }
.illus::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
}
.illus--hero::before {
  right: -40px; bottom: -70px; width: min(300px, 42%); aspect-ratio: 700 / 1167; opacity: 0.2;
  background-image: url(../img/illustration-breads-right-gold.png);
}
.illus--intro::before {
  left: -30px; bottom: -20px; width: min(520px, 46vw); aspect-ratio: 1000 / 667; opacity: 0.22;
  background-image: url(../img/illustration-breads-left.png);
}
.illus--story::before {
  right: -110px; top: -40px; width: min(290px, 26vw); aspect-ratio: 700 / 1167; opacity: 0.2;
  background-image: url(../img/illustration-breads-right.png);
}
.illus--reviews::before {
  left: 50%; bottom: 0; transform: translateX(-50%); width: max(100%, 1500px); aspect-ratio: 2400 / 800; opacity: 0.3;
  background-image: url(../img/illustration-bakery-strip.png);
  background-position: bottom center;
}
.illus--contact::before {
  left: -20px; bottom: -10px; width: min(460px, 40vw); aspect-ratio: 800 / 405; opacity: 0.22;
  background-image: url(../img/illustration-board.png);
}

/* Intro + two cafés -------------------------------------------------------- */
.intro { background: var(--paper); }
.intro__text { padding-bottom: clamp(0px, 9vw, 130px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__text h2 { max-width: 16ch; }
.intro__text p { color: var(--ink-soft); }
.intro__text p strong { color: var(--ink); font-weight: 500; }

.cafes { display: grid; gap: clamp(14px, 2vw, 22px); }
.cafe-card {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  min-height: clamp(300px, 26vw, 350px);
  color: var(--cream); text-decoration: none; overflow: hidden; border-radius: var(--radius);
  background: var(--green-800);
  box-shadow: 0 18px 40px -24px rgba(27, 33, 23, 0.55);
}
.cafe-card__img { overflow: hidden; }
.cafe-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cafe-card:hover img, .cafe-card:focus-visible img { transform: scale(1.04); }
.cafe-card__body { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; justify-content: center; }
.cafe-card__script { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--gold-light); margin: 0 0 0.1em; }
.cafe-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin: 0 0 0.25em; }
.cafe-card__place { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 0.9em; color: var(--gold-light); }
.cafe-card__desc { font-size: 0.98rem; line-height: 1.55; margin: 0 0 1.2em; color: rgba(246, 240, 226, 0.9); }
.cafe-card__cta { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 4px; align-self: flex-start; }
.cafe-card--bakery { background: var(--green-900); }

/* Gallery carousel --------------------------------------------------------- */
.gallery { background: var(--green-900); color: var(--cream); overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.gallery__head .script { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--gold-light); margin: 0 0 0.1em; }
.gallery__head h2 { margin: 0; }
.gallery__nav { display: flex; gap: 10px; flex: none; }
.gallery__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246, 240, 226, 0.5);
  background: transparent; color: var(--cream); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery__btn:hover, .gallery__btn:focus-visible { background: var(--cream); color: var(--green-900); }
.gallery__track {
  display: flex; gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--gutter) 6px; margin: 0; list-style: none;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
@media (min-width: 1260px) {
  .gallery__track { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); padding-right: calc((100vw - var(--wrap)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter)); }
}
.gallery__track > li { flex: 0 0 clamp(220px, 23vw, 300px); scroll-snap-align: start; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery__item figcaption { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-top: 10px; color: rgba(246, 240, 226, 0.85); }
.gallery__foot { margin-top: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }

/* Story -------------------------------------------------------------------- */
.story { background: var(--cream); }
.story__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.story__photo { position: relative; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.story__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0;
}
.story__photo img { position: relative; z-index: 1; }
.story__sign { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--green-700); margin: 0.3em 0 0.5em; }
.story__text p { color: var(--ink-soft); }
.timeline { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); }
.timeline li { padding-top: 16px; position: relative; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--green-800); line-height: 1.1; margin-bottom: 4px; }

/* Reviews ------------------------------------------------------------------ */
.reviews { background: var(--paper); padding-bottom: clamp(120px, 20vw, 300px); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 48px); text-align: left; }
.review {
  margin: 0; padding: clamp(22px, 2.6vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.review__stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; color: var(--ink); }
.review figcaption { margin-top: auto; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.review figcaption span { color: var(--green-700); }
.reviews__foot { margin-top: clamp(28px, 4vw, 44px); }

/* Bread + wholesale -------------------------------------------------------- */
.bread { background: var(--sage-100); }
.bread__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bread__text p { color: var(--ink-soft); }
.loaves { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.loaves li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
.loaves li small { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }
.bread__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.bread__photo { position: relative; }
.bread__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.bread__script { font-size: clamp(2.6rem, 4.6vw, 3.6rem); color: var(--green-700); margin: 0 0 0.1em; }
.wholesale {
  background: var(--green-800); color: var(--cream); padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
}
.wholesale h3 { margin: 0 0 0.2em; }
.wholesale p { margin: 0; color: rgba(246, 240, 226, 0.88); font-size: 0.98rem; max-width: 40ch; }
.wholesale > div { flex: 1 1 260px; }

/* Special cakes banner ----------------------------------------------------- */
.cakes { position: relative; isolation: isolate; background: var(--green-700); color: var(--cream); overflow: hidden; }
.cakes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.cakes__photo img { width: 100%; height: 100%; min-height: 380px; max-height: 560px; object-fit: cover; object-position: 50% 40%; }
.cakes__text { padding: clamp(40px, 6vw, 88px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.cakes__text .script { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold-light); margin: 0 0 0.1em; }
.cakes__text p { color: rgba(246, 240, 226, 0.9); }
.cakes__text .btn { align-self: flex-start; margin-top: 0.6rem; }

/* Instagram ---------------------------------------------------------------- */
.insta { background: var(--paper); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: clamp(24px, 4vw, 40px); }
.insta__grid a { display: block; overflow: hidden; border-radius: var(--radius); }
.insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.insta__grid a:hover img { transform: scale(1.05); opacity: 0.9; }
.insta__handle { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* Contact ------------------------------------------------------------------ */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.contact__places { display: grid; gap: 22px; margin-top: 1.6rem; }
.place { padding-left: 18px; border-left: 2px solid var(--gold); }
.place h3, .place h2 { margin: 0 0 0.15em; font-size: 1.5rem; }
.place p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.place a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.form { display: grid; gap: 16px; background: #fff; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); }
.form label { display: grid; gap: 6px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  padding: 13px 14px; border: 1px solid rgba(42, 41, 36, 0.3); border-radius: var(--radius); background: var(--paper); width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form__note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form .btn { justify-self: start; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: rgba(246, 240, 226, 0.86); font-size: 0.95rem; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(198, 161, 91, 0.7); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold-light); }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 0.9fr; gap: clamp(24px, 4vw, 56px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 48px); }
.footer__logo img { height: 84px; width: auto; margin-bottom: 14px; }
.site-footer h3 { font-size: 1.45rem; color: var(--cream); margin: 0 0 0.5em; }
.site-footer p { margin: 0 0 0.8em; line-height: 1.6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; }
.hours dt { color: var(--ink-soft); }
.site-footer .hours dt { color: rgba(246, 240, 226, 0.7); }
.hours dd { margin: 0; }
.footer__hygiene { width: 150px; margin-top: 14px; border-radius: 3px; }
.footer__base {
  border-top: 1px solid rgba(246, 240, 226, 0.16); padding-top: 20px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.82rem; color: rgba(246, 240, 226, 0.65);
}

/* Draft placeholders: anything Kat still needs to confirm ---------------------- */
.todo { background: #fff3a6; color: #4d3f00; padding: 0 5px; border-radius: 2px; outline: 1px dashed #b8980b; font-style: normal; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--green-900); border-top: 1px solid rgba(246, 240, 226, 0.14); border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
  .site-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(246, 240, 226, 0.1); font-size: 0.85rem; }
  .site-header__inner { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .intro__grid, .story__grid, .bread__grid, .contact__grid, .cakes__grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; height: 46vh; min-height: 280px; }
  .hero__content { padding: 40px var(--gutter) 52px; }
  .intro__text { padding-bottom: 0; }
  .illus--intro::before, .illus--story::before, .illus--contact::before { opacity: 0.12; }
  .story__photo { max-width: 420px; margin-right: 18px; }
  .bread__photo { order: -1; max-width: 480px; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .cakes__photo img { max-height: 380px; min-height: 0; }
  .cakes__text { max-width: none; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .site-header__inner { min-height: 70px; }
  .site-logo img { height: 50px; }
  .hero__actions .btn, .gallery__foot .btn, .bread__actions .btn { flex: 1 1 100%; text-align: center; }
  .cafe-card { grid-template-columns: 1fr; }
  .cafe-card__img img { aspect-ratio: 4 / 3; }
  .gallery__head { align-items: center; }
  .gallery__track > li { flex-basis: 72vw; }
  .timeline { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .timeline li { padding: 0 0 18px 20px; }
  .timeline li::before { top: 8px; left: -5px; }
  .loaves { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__track { scroll-behavior: auto; }
  .cafe-card__img img, .insta__grid img { transition: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.hero--page { min-height: min(66vh, 600px); }
.hero--page h1 { max-width: 22ch; font-size: clamp(1.9rem, 3vw, 2.75rem); }
.hero--page .hero__script { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }

/* Address / hours strip under a page hero */
.infobar { background: var(--cream); border-bottom: 1px solid var(--line); }
.infobar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.infobar h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-700); margin: 0 0 0.6em; }
.infobar p { margin: 0; font-size: 1rem; line-height: 1.6; }
.infobar a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.infobar .hours { font-size: 1rem; }
.infobar .hours dt { color: var(--ink-soft); }

/* Text beside a photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip .split__img { order: 2; }
.split__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__img--wide img { aspect-ratio: 3 / 2; }
.split__text p { color: var(--ink-soft); }
.split__text .script { font-size: clamp(2.4rem, 4.2vw, 3.4rem); color: var(--green-700); margin: 0 0 0.1em; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-100); }
.bg-green { background: var(--green-900); color: var(--cream); }
.bg-green .eyebrow { color: var(--gold-light); }
.bg-green p { color: rgba(246, 240, 226, 0.88); }
.bg-green .script { color: var(--gold-light); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.ticks { list-style: none; margin: 1.2rem 0 1.8rem; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 14px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.bg-green .ticks li { color: rgba(246, 240, 226, 0.88); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.center .actions { justify-content: center; }

/* Photo rows */
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 18px); margin-top: clamp(28px, 4vw, 48px); }
.photo-row--3 { grid-template-columns: repeat(3, 1fr); }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-row figcaption { font-family: var(--serif); font-style: italic; font-size: 1.08rem; margin-top: 8px; color: var(--ink-soft); }
.bg-green .photo-row figcaption { color: rgba(246, 240, 226, 0.85); }

/* Menu (space held for the sample menu) */
.menu__grid { columns: 3; column-gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); text-align: left; }
.menu__group { break-inside: avoid; margin-bottom: clamp(32px, 4vw, 48px); }
.menu__group h3 { border-bottom: 1px solid var(--gold); padding-bottom: 10px; margin-bottom: 14px; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.menu__row { display: flex; align-items: baseline; gap: 8px; font-size: 1rem; line-height: 1.4; }
.menu__row::after { content: ""; order: 1; flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(42, 41, 36, 0.35); transform: translateY(-4px); }
.menu__row .price { order: 2; font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.menu__name .tag { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; color: var(--green-700); border: 1px solid var(--sage); border-radius: 3px; padding: 1px 5px; margin-left: 4px; white-space: nowrap; vertical-align: 1px; }
.menu__desc { margin: 2px 0 4px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.menu__foot { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--ink-soft); }
.menu__note { margin-top: clamp(24px, 3vw, 36px); font-size: 0.92rem; color: var(--ink-soft); }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); text-align: left; }
.steps li { counter-increment: step; border-top: 1px solid var(--gold); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 0.3em; }
.steps p { margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
.bg-green .steps p { color: rgba(246, 240, 226, 0.85); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* Loaf / product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(28px, 4vw, 48px); text-align: left; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Contact forms: hide the CMS spam-trap field from people */
.cms-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card__body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 0.3em; }
.card p { font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
.card__prices { margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 0.95rem; }
.card__prices dt { color: var(--ink-soft); }
.card__prices dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; text-align: right; }

/* FAQ */
.faq { max-width: 820px; margin: clamp(24px, 4vw, 40px) auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--serif); font-size: 1.4rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--sans); font-size: 1.5rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 66ch; }

/* Long-form story */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }
.pullquote { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; color: var(--green-800); margin: 1.4em 0; padding-left: 22px; border-left: 2px solid var(--gold); }
.timeline--long { grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 4vw, 56px); text-align: left; }
.wide-photo img { width: 100%; max-height: 520px; object-fit: cover; }

/* Call-to-action band */
.cta-band { background: var(--green-700); color: var(--cream); text-align: center; }
.cta-band .script { font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--gold-light); margin: 0 0 0.1em; }
.cta-band p { color: rgba(246, 240, 226, 0.9); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band.section { padding: clamp(48px, 6vw, 80px) 0; }
.cta-band h2 { margin-bottom: 0.35em; }
.cta-band .actions { justify-content: center; margin-top: 1.4rem; }

/* Maps */
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sage-200); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.map--large { margin-top: clamp(24px, 4vw, 40px); }
.map--large iframe { height: min(70vh, 620px); }
.map--placeholder { min-height: 320px; display: grid; place-items: center; padding: 24px; text-align: center; }
.places-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: clamp(28px, 4vw, 48px); text-align: left; }
.places-grid h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form select { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid rgba(42, 41, 36, 0.3); border-radius: var(--radius); background: var(--paper); width: 100%; color: var(--ink); }

@media (max-width: 900px) {
  .split, .places-grid { grid-template-columns: 1fr; }
  .split--flip .split__img { order: 0; }
  .split__img { max-width: 520px; }
  .infobar__grid { grid-template-columns: 1fr; gap: 22px; }
  .photo-row, .cards { grid-template-columns: repeat(2, 1fr); }
  .photo-row--3, .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .menu__grid { columns: 2; }
  .steps, .steps--3 { grid-template-columns: repeat(2, 1fr); }
  .timeline--long { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .menu__grid { columns: 1; }
  .cards, .cards--3, .steps, .steps--3 { grid-template-columns: 1fr; }
  .photo-row--3 { grid-template-columns: repeat(2, 1fr); }
  .timeline--long { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Offer badge on a photo (coffee + croissant) */
.split__img { position: relative; }
.badge { position: absolute; top: -34px; right: -34px; width: clamp(146px, 15vw, 196px); aspect-ratio: 1; transform: rotate(9deg); filter: drop-shadow(0 8px 14px rgba(27, 33, 23, 0.35)); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge .badge__text { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--green-900); line-height: 1; }
.badge__script { font-family: var(--script); font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: -0.1em; }
.badge__price { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 3.7rem); }
.badge__what { font-size: clamp(0.56rem, 0.75vw, 0.66rem); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.35; margin-top: 0.3em; }
.split__text + .split__img .offer-note, .offer-note { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.offer-note strong { color: var(--ink); font-weight: 500; }

/* Photo grid above the footer: two rows of equal height */
.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--green-900); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic img:nth-child(10) { display: none; }
}
@media (max-width: 900px) {
  .badge { top: -28px; right: 10px; }
}

/* Photo focal points */
.hero__img img[src*="olis-corner-rochester-shopfront"] { object-position: 60% 12%; }
.cafe-card__img img[src*="olis-corner-rochester-shopfront"] { object-position: 70% 15%; }
.story__photo img[src*="kat-mrs-sourdough-portrait"] { object-position: 75% 30%; }

/* Contact page: keep the two location maps level, whatever sits above them */
.places-grid > div { display: flex; flex-direction: column; }
.places-grid .map { margin-top: auto; }

/* Menu rows with no fixed price (daily counter selection) */
.menu__row--plain::after { display: none; }

/* ---------- Where to buy: styled map + list ---------- */
.stockists { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; margin-top: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); text-align: left; }
.stockists__list { padding: 22px 0 12px; max-height: 620px; overflow-y: auto; }
.stockists__head { margin: 0; padding: 6px 24px 8px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.stockists__list ul + .stockists__head { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.stockists__list ul { list-style: none; margin: 0; padding: 0; }
.stockist__btn { display: grid; grid-template-columns: 1fr; gap: 1px; width: 100%; padding: 10px 24px 10px 21px; border: 0; border-left: 3px solid transparent; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.stockist__btn:hover, .stockist__btn:focus-visible, .stockist.is-active .stockist__btn { background: var(--paper); border-left-color: var(--gold); outline: none; }
.stockist__name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.2; color: var(--green-900); }
.stockist__place { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); }
.stockist__note { font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
.stockists__map { min-height: 620px; background: var(--sage-200); z-index: 0; }
.stockists.no-map { grid-template-columns: 1fr; }
.stockists.no-map .stockists__map { display: none; }
.stockists.no-map .stockists__list { max-height: none; columns: 2 260px; }
/* recolour the map tiles to the site's cream and sage */
.stockists__map .leaflet-tile-pane { filter: grayscale(1) sepia(0.42) hue-rotate(38deg) saturate(0.75) brightness(1.04) contrast(0.9); }
.stockists__map.leaflet-container { font-family: var(--sans); background: var(--sage-200); }
.pin { background: none; border: 0; }
.pin svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(43, 53, 38, 0.35)); transition: transform .2s; transform-origin: 50% 100%; }
.pin:hover svg, .pin.is-active svg { transform: scale(1.15); }
.stockists__map .leaflet-popup-content-wrapper { background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(43, 53, 38, 0.22); border-top: 3px solid var(--gold); }
.stockists__map .leaflet-popup-tip { background: var(--paper); }
.stockists__map .leaflet-popup-content { margin: 16px 20px 16px; font-size: 0.92rem; line-height: 1.5; min-width: 190px; }
.stockists__map .leaflet-popup-content h4 { margin: 0 0 2px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.15; color: var(--green-900); }
.stockists__map .leaflet-popup-content p { margin: 0; color: var(--ink-soft); }
.stockists__map .leaflet-popup-content .pop__note { margin-top: 6px; color: var(--green-700); font-weight: 500; }
.stockists__map .leaflet-popup-content .pop__links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.stockists__map .leaflet-popup-content a { color: var(--green-900); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); }
.stockists__map a.leaflet-popup-close-button { border: 0; color: var(--ink-soft); font-size: 20px; top: 6px; right: 6px; }
.stockists__map .leaflet-bar { border: 1px solid var(--line); box-shadow: none; }
.stockists__map .leaflet-bar a { background: var(--paper); color: var(--green-900); border-bottom-color: var(--line); }
.stockists__map .leaflet-control-attribution { background: rgba(252, 249, 242, 0.85); font-size: 10px; color: var(--ink-soft); }
.stockists__map .leaflet-control-attribution a { color: inherit; }
@media (max-width: 860px) {
  .stockists { grid-template-columns: 1fr; }
  .stockists__map { order: -1; min-height: 380px; }
  .stockists__list { max-height: none; }
}
