/* progressive enhancement: reveal content visible without JS */
html:not(.js) .reveal,html:not(.js) [class*="reveal"]{opacity:1!important;transform:none!important;filter:none!important}

/* ============================================================
   Crumb — Artisan Bakery & Patisserie Template
   Custom design layer over Bootstrap 5
   Palette: warm cream & butter, deep crust brown, rose-berry
   Type: Fraunces (warm serif display) + DM Sans (clean body)
   ============================================================ */

:root {
  /* Core palette */
  --cream:      #FBF4E6;   /* page base */
  --cream-deep: #F4E7CE;   /* alt sections */
  --butter:     #F3D79B;   /* soft highlight blocks */
  --crust:      #5B3A22;   /* deep brown, headings on light */
  --crust-soft: #7A5233;   /* mid brown */
  --bark:       #3A2617;   /* near-black brown for text */
  --berry:      #C1526A;   /* rose-berry accent */
  --berry-deep: #A23C54;   /* hover accent */
  --sugar:      #FFFDF8;   /* card surface / near white */
  --ink:        #33261C;   /* body text */
  --ink-soft:   #6C5B4C;   /* muted text */
  --line:       #E6D6BC;   /* hairline borders */
  --gold:       #C79A4B;   /* dotted leaders / small accents */

  --shadow-sm: 0 2px 10px rgba(58, 38, 23, .06);
  --shadow-md: 0 14px 40px rgba(58, 38, 23, .12);
  --shadow-lg: 0 30px 70px rgba(58, 38, 23, .18);

  --radius:    18px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display {
  font-family: var(--ff-display);
  color: var(--crust);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: var(--berry); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--berry-deep); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--container); }

::selection { background: var(--berry); color: #fff; }

:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--crust); color: #fff;
  padding: 12px 22px; border-radius: var(--radius-pill);
  z-index: 2000; transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Reusable bits ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--berry);
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--berry); display: inline-block;
}
.eyebrow.center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--berry); }

.lead-muted { color: var(--ink-soft); font-size: 1.08rem; max-width: 44ch; }
.center .lead-muted, .text-center .lead-muted { margin-inline: auto; }

/* Buttons */
.btn { font-family: var(--ff-body); font-weight: 600; border-radius: var(--radius-pill); padding: .82rem 1.7rem; transition: all .25s var(--ease); border: 2px solid transparent; letter-spacing: .01em; }
.btn:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.btn-berry { background: var(--berry); color: #fff; box-shadow: 0 10px 24px rgba(193, 82, 106, .32); }
.btn-berry:hover { background: var(--berry-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(193, 82, 106, .38); }

.btn-crust { background: var(--crust); color: var(--cream); }
.btn-crust:hover { background: var(--bark); color: var(--cream); transform: translateY(-2px); }

.btn-outline-crust { background: transparent; color: var(--crust); border-color: var(--crust); }
.btn-outline-crust:hover { background: var(--crust); color: var(--cream); }

.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--crust); }

.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 244, 230, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  padding: .55rem 0;
}
.site-nav.scrolled {
  background: rgba(251, 244, 230, .95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.navbar-brand {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--crust);
  display: inline-flex; align-items: center; gap: .5rem;
}
.navbar-brand:hover { color: var(--crust); }
.brand-mark {
  width: 34px; height: 34px;
  background: url("../img/logo.png?v=2") center / contain no-repeat;
  display: inline-block;
}

.site-nav .navbar-nav { gap: .2rem; }
.site-nav .nav-link {
  color: var(--bark); font-weight: 500; font-size: .97rem;
  padding: .5rem .95rem; border-radius: var(--radius-pill);
  position: relative; transition: color .2s var(--ease);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--berry); }
.site-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--berry);
}

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.bag-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--sugar); border: 1px solid var(--line);
  color: var(--crust); font-weight: 600; font-size: .9rem;
  padding: .5rem .95rem; border-radius: var(--radius-pill);
  transition: all .2s var(--ease); cursor: pointer;
}
.bag-pill:hover { color: var(--crust); border-color: var(--berry); box-shadow: var(--shadow-sm); }
.bag-pill .bag-count {
  background: var(--berry); color: #fff; min-width: 22px; height: 22px;
  border-radius: 50%; display: inline-grid; place-items: center;
  font-size: .74rem; padding: 0 5px; transition: transform .2s var(--ease);
}
.bag-pill.bump .bag-count { transform: scale(1.35); }

.navbar-toggler {
  border: none; background: transparent; padding: .4rem; width: 44px; height: 44px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .bar { display: block; width: 24px; height: 2px; background: var(--crust); margin: 5px auto; transition: .3s var(--ease); border-radius: 2px; }
.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: var(--sugar); margin-top: .6rem; border-radius: var(--radius);
    padding: 1rem; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  }
  .site-nav .navbar-nav { gap: .1rem; }
  .site-nav .nav-link { padding: .7rem 1rem; }
  .nav-actions { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .nav-actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-content { position: relative; z-index: 2; }

.tag-fresh {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--butter); color: var(--crust);
  padding: .5rem 1.1rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  margin-bottom: 1.6rem; box-shadow: var(--shadow-sm);
}
.tag-fresh .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 0 rgba(193,82,106,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(193,82,106,.5);} 70%{ box-shadow:0 0 0 10px rgba(193,82,106,0);} 100%{box-shadow:0 0 0 0 rgba(193,82,106,0);} }

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  margin-bottom: 1.3rem;
}
.hero h1 em { font-style: italic; color: var(--berry); }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero-media { position: relative; }
.hero-media .hero-img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto;
  width: 60%; height: 60%; z-index: -1;
  background: repeating-linear-gradient(45deg, var(--butter) 0 10px, transparent 10px 20px);
  opacity: .5; border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--sugar); border-radius: var(--radius);
  padding: .9rem 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 230px;
}
.hero-badge .emoji { font-size: 1.9rem; line-height: 1; }
.hero-badge strong { display: block; font-family: var(--ff-display); font-size: 1.5rem; color: var(--crust); line-height: 1; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }

.hero-scallop {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 44px; z-index: 3;
  background: radial-gradient(circle at 22px -8px, transparent 22px, var(--cream-deep) 23px);
  background-size: 44px 44px; background-repeat: repeat-x;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-media { order: 1; max-width: 460px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .tag-fresh { margin-inline: auto; }
  .hero-badge { left: 8px; }
}

/* ---------- Story ---------- */
.story { background: var(--cream-deep); }
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.story-media .img-a { aspect-ratio: 3/4; object-fit: cover; }
.story-media .img-b {
  position: absolute; right: -16px; bottom: -24px; width: 52%;
  aspect-ratio: 1/1; object-fit: cover; border: 6px solid var(--cream-deep);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}

.stat-row { display: flex; gap: 2.4rem; margin-top: 2rem; flex-wrap: wrap; }
.stat .num { font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--berry); line-height: 1; display: block; }
.stat .lbl { font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-top: .35rem; }

.sig { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem; color: var(--crust-soft); margin-top: 1.4rem; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 440px; margin: 0 auto 2.5rem; }
  .story-media .img-b { width: 44%; }
}

/* ---------- Menu (priced list w/ dotted leaders) ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.menu-tab {
  font-family: var(--ff-body); font-weight: 600; font-size: .95rem;
  background: var(--sugar); border: 1px solid var(--line); color: var(--crust-soft);
  padding: .6rem 1.4rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: all .22s var(--ease);
}
.menu-tab:hover { border-color: var(--berry); color: var(--berry); }
.menu-tab.active { background: var(--crust); border-color: var(--crust); color: var(--cream); }

.menu-panel[hidden] { display: none; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3.5rem; }
.menu-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline;
  gap: .5rem; padding: 1rem 0; border-bottom: 1px dashed var(--line);
}
.menu-item .mi-name { font-family: var(--ff-display); font-size: 1.22rem; color: var(--crust); font-weight: 500; }
.menu-item .mi-desc { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-soft); margin-top: -.1rem; }
.menu-item .mi-lead { border-bottom: 2px dotted var(--gold); align-self: flex-end; margin-bottom: .35rem; min-width: 20px; }
.menu-item .mi-price { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; color: var(--berry); white-space: nowrap; }
.menu-item .mi-tag {
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--butter); color: var(--crust); padding: .15rem .5rem; border-radius: var(--radius-pill);
  margin-left: .5rem; vertical-align: middle;
}
@media (max-width: 760px) {
  .menu-list { grid-template-columns: 1fr; }
}

/* ---------- Featured products grid ---------- */
.products { background: var(--cream-deep); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.product-card {
  background: var(--sugar); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .pc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-badge {
  position: absolute; top: 12px; left: 12px; background: var(--berry); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.product-card .pc-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.product-card .pc-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.1rem; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pc-price { font-family: var(--ff-display); font-size: 1.4rem; color: var(--crust); font-weight: 600; }
.add-btn {
  background: var(--crust); color: var(--cream); border: none; border-radius: var(--radius-pill);
  padding: .6rem 1.15rem; font-family: var(--ff-body); font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: .4rem;
}
.add-btn:hover { background: var(--berry); transform: translateY(-2px); }
.add-btn.added { background: #4c7a3f; }
.pc-foot { flex-wrap: wrap; }
.qty-input {
  width: 3.6rem; margin-left: auto; padding: .45rem .3rem; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--cream); color: var(--bark); font-family: var(--ff-body); font-size: .9rem;
}

.pc-variant {
  align-self: flex-start; margin-bottom: 1rem; padding: .45rem 2rem .45rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--cream); color: var(--bark); font-family: var(--ff-body); font-size: .9rem; cursor: pointer;
}

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Order-ahead / custom cakes band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band-inner {
  background: linear-gradient(120deg, var(--crust) 0%, var(--bark) 100%);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
  color: var(--cream); position: relative; overflow: hidden;
}
.cta-band-inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(243,215,155,.28), transparent 70%); border-radius: 50%;
}
.cta-band-inner h2 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.cta-band-inner h2 em { color: var(--butter); font-style: italic; }
.cta-band-inner p { color: rgba(251,244,230,.82); margin-bottom: 1.6rem; }
.cta-band-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.cta-band .eyebrow { color: var(--butter); }
.cta-band .eyebrow::before { background: var(--butter); }
@media (max-width: 820px) {
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band .eyebrow { justify-content: center; }
  .cta-band-inner p { margin-inline: auto; max-width: 46ch; }
  .cta-band-media { order: -1; max-width: 420px; margin-inline: auto; }
}

/* ---------- Process / bakers ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 4.5rem; }
.step { text-align: center; padding: 1.5rem 1rem; }
.step .step-ico {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: var(--butter); display: grid; place-items: center; font-size: 2rem;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.08);
}
.step .step-num { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--berry); text-transform: uppercase; }
.step h3 { font-size: 1.3rem; margin: .3rem 0 .5rem; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.team-card { text-align: center; }
.team-card .avatar {
  width: 100%; max-width: 240px; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-lg); margin: 0 auto 1.1rem; box-shadow: var(--shadow-sm);
}
.team-card h3 { font-size: 1.35rem; margin-bottom: .1rem; }
.team-card .role { color: var(--berry); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.team-card p { font-size: .9rem; color: var(--ink-soft); max-width: 30ch; margin: 0 auto; }
@media (max-width: 820px) { .process-steps { grid-template-columns: repeat(2,1fr); } .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ---------- Locations ---------- */
.locations { background: var(--cream-deep); }
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.loc-card {
  background: var(--sugar); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.loc-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.loc-card .loc-body { padding: 1.7rem; }
.loc-card h3 { font-size: 1.55rem; margin-bottom: .3rem; }
.loc-card .loc-addr { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.hours { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.hours li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.hours li span:first-child { color: var(--ink-soft); }
.hours li span:last-child { font-weight: 600; color: var(--crust); }
.hours li.today { color: var(--berry); }
.hours li.today span { color: var(--berry); }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: .8rem;
}
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 1/1; }
.gallery-grid .g-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-item::after {
  content: "🔍"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(58,38,23,.45); color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-grid .g-item:hover::after, .gallery-grid .g-item:focus-visible::after { opacity: 1; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
}

.insta-handle { text-align: center; margin-top: 2rem; font-weight: 600; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(30,18,10,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--berry); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; }
@media (max-width: 560px) { .lightbox-nav { width: 44px; height: 44px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi-card {
  background: var(--sugar); border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.testi-card .quote-mark { font-family: var(--ff-display); font-size: 3.4rem; color: var(--butter); line-height: .6; position: absolute; top: 1.2rem; right: 1.4rem; }
.testi-card .stars { color: var(--berry); letter-spacing: .1em; margin-bottom: .8rem; font-size: .95rem; }
.testi-card p { font-size: 1rem; color: var(--ink); margin-bottom: 1.4rem; }
.testi-who { display: flex; align-items: center; gap: .8rem; }
.testi-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-who strong { display: block; font-family: var(--ff-display); color: var(--crust); font-size: 1.05rem; }
.testi-who span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Newsletter ---------- */
.newsletter-inner {
  background: var(--butter); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.newsletter-inner::before, .newsletter-inner::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(91,58,34,.08);
}
.newsletter-inner::before { width: 200px; height: 200px; left: -60px; bottom: -80px; }
.newsletter-inner::after { width: 140px; height: 140px; right: -40px; top: -50px; }
.newsletter-inner h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .6rem; position: relative; }
.newsletter-inner p { color: var(--crust-soft); margin-bottom: 1.8rem; position: relative; }
.news-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; position: relative; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 200px; border: 2px solid transparent; border-radius: var(--radius-pill);
  padding: .9rem 1.4rem; font-family: var(--ff-body); font-size: 1rem; background: var(--sugar); color: var(--ink);
}
.news-form input:focus { outline: none; border-color: var(--crust); }
.news-form input.invalid { border-color: var(--berry-deep); }
.news-msg { margin-top: 1rem; font-weight: 600; min-height: 1.2rem; position: relative; }
.news-msg.ok { color: #3f6a33; }
.news-msg.err { color: var(--berry-deep); }

/* ---------- Order form (menu page) ---------- */
.order-form { background: var(--sugar); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-sm); }
.order-form .form-label { font-weight: 600; color: var(--crust); font-size: .9rem; margin-bottom: .35rem; }
.order-form .form-control, .order-form .form-select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem 1rem; background: var(--cream);
  font-family: var(--ff-body); color: var(--ink);
}
.order-form .form-control:focus, .order-form .form-select:focus { border-color: var(--berry); box-shadow: none; background: #fff; }
.order-form textarea.form-control { min-height: 120px; }
.order-form .form-control.is-invalid { border-color: var(--berry-deep); }
.order-summary { background: var(--cream-deep); border-radius: var(--radius); padding: 1.5rem; }
.order-summary h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.order-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.order-lines li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.order-lines .empty { color: var(--ink-soft); font-style: italic; border: none; }
.order-lines li button { background: none; border: none; color: var(--berry); cursor: pointer; font-size: .8rem; margin-left: .5rem; }
.order-total { display: flex; justify-content: space-between; font-family: var(--ff-display); font-size: 1.35rem; color: var(--crust); font-weight: 600; padding-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bark); color: rgba(251,244,230,.72); padding: clamp(3.5rem,6vw,5rem) 0 2rem; }
.site-footer h4 { color: var(--cream); font-family: var(--ff-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; font-weight: 700; }
.site-footer .footer-brand { font-family: var(--ff-display); font-size: 1.8rem; color: var(--cream); display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.site-footer p { font-size: .92rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(251,244,230,.72); font-size: .92rem; }
.footer-links a:hover { color: var(--butter); padding-left: 4px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: var(--cream); font-size: 1rem; transition: all .2s var(--ease);
}
.footer-social a:hover { background: var(--berry); transform: translateY(-3px); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom a { color: var(--butter); }

/* ---------- Toast ---------- */
.toast-note {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--crust); color: var(--cream); padding: .9rem 1.5rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md); z-index: 2500; font-weight: 600; font-size: .92rem;
  transition: transform .35s var(--ease); display: flex; align-items: center; gap: .5rem;
}
.toast-note.show { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page hero (menu page) ---------- */
.page-hero { background: var(--cream-deep); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem,5vw,4rem); text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: .8rem; }
.page-hero h1 em { font-style: italic; color: var(--berry); }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; margin: 0 auto; }
.breadcrumb-crumb { justify-content: center; font-size: .85rem; margin-bottom: 1.2rem; color: var(--ink-soft); }
.breadcrumb-crumb a { color: var(--crust-soft); }
.breadcrumb-crumb .sep { margin: 0 .5rem; opacity: .5; }

/* utilities */
.mt-section { margin-top: clamp(3rem, 6vw, 5rem); }
.text-berry { color: var(--berry) !important; }
