/* 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}

/* ==========================================================================
   Roast — Specialty Coffee & Roastery Template
   Custom design layer over Bootstrap 5 (vanilla, jQuery-free)
   Identity: espresso browns + warm oat paper, muted sage accent,
   Fraunces display serif + DM Sans body.
   ========================================================================== */

:root {
  /* Core palette */
  --espresso: #221510;   /* near-black brown, dark sections */
  --coffee:   #3a2416;   /* rich brown */
  --mocha:    #5c3d29;   /* medium brown */
  --crema:    #c9a27a;   /* toasted crema tan */
  --caramel:  #b07a4a;   /* warm caramel */
  --oat:      #f4ebdd;   /* warm paper base */
  --cream:    #fbf6ee;   /* lightest surface */
  --paper:    #efe4d3;   /* slightly deeper paper for cards */

  /* Accent — muted sage (the coffee plant leaf) */
  --sage:      #6f7f57;
  --sage-deep: #55633f;
  --sage-soft: #e5e9db;

  /* Text */
  --ink:      #2a1c12;
  --ink-soft: #6a5646;
  --ink-mute: #93826f;
  --on-dark:  #f0e6d8;
  --on-dark-soft: #c3ac97;

  /* Lines & shadows */
  --line:      #e2d4c0;
  --line-dark: rgba(240,230,216,.14);
  --shadow-sm: 0 2px 10px rgba(34,21,16,.06);
  --shadow-md: 0 14px 40px -18px rgba(34,21,16,.34);
  --shadow-lg: 0 30px 70px -30px rgba(34,21,16,.5);

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

  /* Rhythm */
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --container: 1200px;
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* -------------------------------------------------------------------------- */
/* 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(--body);
  color: var(--ink);
  background: var(--oat);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--coffee);
  font-optical-sizing: auto;
}

p { margin: 0 0 1rem; }
a { color: var(--sage-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coffee); }
img { max-width: 100%; height: auto; }

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

::selection { background: var(--sage); color: var(--cream); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 2000;
  background: var(--espresso);
  color: var(--on-dark);
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); }

/* -------------------------------------------------------------------------- */
/* Reveal animations (progressive enhancement — only under .js)                */
/* -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.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; }
.js .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------- */
/* Utility bits                                                                */
/* -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--sage);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.on-dark .eyebrow { color: var(--crema); }
.on-dark .eyebrow::before { background: var(--caramel); }

.section { padding: var(--section-y) 0; }
.section-head { max-width: 620px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .9rem; }
.lead-txt { font-size: 1.12rem; color: var(--ink-soft); }

.dot-badge { color: var(--sage); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  font-family: var(--body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .78rem 1.7rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 2.1rem; font-size: 1.02rem; }

.btn-espresso { background: var(--espresso); color: var(--on-dark); }
.btn-espresso:hover { background: var(--coffee); color: var(--cream); box-shadow: var(--shadow-md); }

.btn-sage { background: var(--sage); color: var(--cream); }
.btn-sage:hover { background: var(--sage-deep); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(85,99,63,.7); }

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

.btn-outline-cream { background: transparent; color: var(--cream); border-color: rgba(240,230,216,.4); }
.btn-outline-cream:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }

.btn-ghost { background: transparent; color: var(--coffee); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream); border-color: var(--crema); }

.btn-icon { display: inline-flex; align-items: center; gap: .5rem; }
.btn-icon svg { width: 1.05em; height: 1.05em; }

/* Pills / tags ------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .34rem .7rem; border-radius: var(--radius-pill);
  background: var(--sage-soft); color: var(--sage-deep);
}
.pill-crema { background: rgba(201,162,122,.24); color: var(--mocha); }

/* Roast-level meter --------------------------------------------------------- */
.roast-meter { display: inline-flex; gap: 4px; align-items: center; }
.roast-meter i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--crema); display: inline-block; opacity: .45;
}
.roast-meter i.on { opacity: 1; background: var(--mocha); }
.roast-label { font-size: .78rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; }

/* -------------------------------------------------------------------------- */
/* Top bar + Navbar                                                            */
/* -------------------------------------------------------------------------- */
.topbar {
  background: var(--espresso);
  color: var(--on-dark-soft);
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar a { color: var(--on-dark-soft); }
.topbar a:hover { color: var(--cream); }
.topbar .sep { color: var(--mocha); }

.site-nav {
  background: rgba(244,235,221,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-nav.scrolled {
  background: rgba(251,246,238,.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--coffee) !important;
  display: inline-flex; align-items: center; gap: .55rem;
}
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--crema);
  border-radius: 10px;
}
.brand-mark svg { width: 20px; height: 20px; }

.site-nav .nav-link {
  font-weight: 500;
  color: var(--coffee) !important;
  padding: .5rem .95rem !important;
  position: relative;
  font-size: 1rem;
}
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .28rem;
  height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease; border-radius: 2px;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--sage-deep) !important; }

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

/* Bag pill ----------------------------------------------------------------- */
.bag-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream);
  border: 1.5px solid var(--line);
  color: var(--coffee);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem .5rem .85rem;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}
.bag-btn:hover { border-color: var(--crema); box-shadow: var(--shadow-sm); }
.bag-btn svg { width: 1.2rem; height: 1.2rem; }
.bag-count {
  min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
  display: inline-grid; place-items: center;
  background: var(--sage); color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: .74rem; font-weight: 700; line-height: 1;
}
.bag-btn.bump { animation: bump .4s ease; }
@keyframes bump { 0%{transform:scale(1)} 35%{transform:scale(1.14)} 100%{transform:scale(1)} }

.navbar-toggler { border: 0; padding: .25rem .4rem; color: var(--coffee); }
.navbar-toggler:focus { box-shadow: none; }
.hamburger { width: 26px; height: 18px; position: relative; display: inline-block; }
.hamburger span { position: absolute; left: 0; height: 2.4px; width: 100%; background: var(--coffee); border-radius: 2px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 8px; }
.hamburger span:nth-child(3){ top: 16px; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1){ top: 8px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2){ opacity: 0; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3){ top: 8px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--cream);
    margin-top: .75rem;
    padding: 1rem 1.1rem 1.3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
  }
  .site-nav .nav-link { padding: .7rem .3rem !important; }
  .site-nav .nav-link::after { display: none; }
  .nav-cta { margin-top: .8rem; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--espresso);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(86vh, 760px); }
.hero-content { display: flex; align-items: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.4rem, 5vw, 4.5rem); position: relative; z-index: 2; }
.hero-media { position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--espresso) 0%, rgba(34,21,16,.35) 26%, rgba(34,21,16,0) 55%);
}
.hero::before {
  content: ""; position: absolute; right: -8%; top: -12%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,127,87,.28), transparent 68%);
  pointer-events: none; z-index: 1;
}
.hero h1 { color: var(--cream); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 540; margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--crema); }
.hero-sub { font-size: 1.18rem; color: var(--on-dark-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line-dark); }
.hero-stats .num { font-family: var(--display); font-size: 1.9rem; color: var(--crema); line-height: 1; }
.hero-stats .lbl { font-size: .82rem; color: var(--on-dark-soft); letter-spacing: .04em; }

.hero-tag {
  position: absolute; z-index: 3; bottom: 1.6rem; right: 1.6rem;
  background: rgba(251,246,238,.94); color: var(--coffee);
  border-radius: var(--radius); padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-md);
  max-width: 240px;
}
.hero-tag .dotpulse { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: none; box-shadow: 0 0 0 0 rgba(111,127,87,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(111,127,87,.5)} 70%{box-shadow:0 0 0 12px rgba(111,127,87,0)} 100%{box-shadow:0 0 0 0 rgba(111,127,87,0)} }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 320px; order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--espresso) 2%, rgba(34,21,16,0) 60%); }
  .hero-content { padding: 2.6rem 1.5rem 3rem; }
}

/* Marquee strip ------------------------------------------------------------ */
.marquee {
  background: var(--sage);
  color: var(--cream);
  overflow: hidden;
  border-block: 1px solid rgba(0,0,0,.06);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; padding: .85rem 0; animation: scroll-x 32s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.15rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; font-style: normal; color: rgba(251,246,238,.6); }
@keyframes scroll-x { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* -------------------------------------------------------------------------- */
/* Our story                                                                   */
/* -------------------------------------------------------------------------- */
.story-media { position: relative; }
.story-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; width: 100%; }
.story-media .frame-tag {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); max-width: 220px;
}
.story-media .frame-tag .k { font-family: var(--display); font-size: 2rem; color: var(--sage-deep); line-height: 1; }
.story-media .frame-tag .v { font-size: .84rem; color: var(--ink-soft); }
.story-stats { display: flex; gap: 2.4rem; margin-top: 1.8rem; flex-wrap: wrap; }
.story-stats .num { font-family: var(--display); font-size: 2.2rem; color: var(--coffee); line-height: 1; }
.story-stats .lbl { font-size: .86rem; color: var(--ink-soft); }
.story-sign { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--mocha); margin-top: 1.4rem; }

@media (max-width: 767.98px){ .story-media .frame-tag { left: 1rem; bottom: -1rem; } }

/* -------------------------------------------------------------------------- */
/* Cafe menu (dot leaders)                                                     */
/* -------------------------------------------------------------------------- */
.menu-band { background: var(--cream); }
.menu-col-title {
  font-family: var(--display); font-size: 1.6rem; color: var(--coffee);
  display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.4rem;
}
.menu-col-title .ico { color: var(--sage); font-size: 1.1rem; }
.menu-note { font-size: .9rem; color: var(--ink-mute); margin-bottom: 1.6rem; }

.menu-item { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; }
.menu-item + .menu-item { border-top: 1px dashed var(--line); }
.menu-item .mi-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-item .mi-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); background: var(--sage-soft); border-radius: 4px; padding: .1rem .35rem; margin-left: .4rem; vertical-align: middle; }
.menu-item .mi-dots { flex: 1; border-bottom: 2px dotted var(--crema); transform: translateY(-3px); min-width: 1.5rem; }
.menu-item .mi-price { font-family: var(--display); font-weight: 500; color: var(--mocha); white-space: nowrap; }
.menu-item .mi-desc { display: block; font-size: .88rem; color: var(--ink-mute); margin-top: .1rem; }
.menu-item-wrap { padding-bottom: .1rem; }

/* -------------------------------------------------------------------------- */
/* Beans grid (products)                                                       */
/* -------------------------------------------------------------------------- */
.bean-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.bean-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--crema); }
.bean-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper); }
.bean-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bean-card:hover .bean-thumb img { transform: scale(1.05); }
.bean-thumb .pill { position: absolute; top: .9rem; left: .9rem; }
.bean-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.bean-origin { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; margin-bottom: .25rem; }
.bean-name { font-family: var(--display); font-size: 1.35rem; color: var(--coffee); margin-bottom: .5rem; line-height: 1.1; }
.bean-notes { font-size: .92rem; color: var(--ink-soft); margin-bottom: .9rem; flex: 1; }
.bean-notes strong { color: var(--mocha); font-weight: 600; }
.bean-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.bean-price { font-family: var(--display); font-size: 1.5rem; color: var(--coffee); }
.bean-price small { font-family: var(--body); font-size: .8rem; color: var(--ink-mute); font-weight: 500; }
.add-bag {
  width: 100%; justify-content: center;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--espresso); color: var(--on-dark);
  border: 0; border-radius: var(--radius-pill);
  padding: .72rem 1rem; font-weight: 600; font-family: var(--body); cursor: pointer;
  transition: background .2s ease, transform .12s ease;
}
.add-bag:hover { background: var(--sage-deep); color: var(--cream); }
.add-bag:active { transform: translateY(1px); }
.add-bag.added { background: var(--sage); color: var(--cream); }
.add-bag svg { width: 1.05rem; height: 1.05rem; }

/* Shop filter bar */
.shop-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  border: 1.5px solid var(--line); background: var(--cream); color: var(--coffee);
  border-radius: var(--radius-pill); padding: .5rem 1.15rem; font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: all .2s ease; font-family: var(--body);
}
.filter-chip:hover { border-color: var(--crema); }
.filter-chip.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* -------------------------------------------------------------------------- */
/* Subscription band                                                           */
/* -------------------------------------------------------------------------- */
.sub-band {
  position: relative;
  background: var(--coffee);
  color: var(--on-dark);
  overflow: hidden;
}
.sub-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 88% 12%, rgba(176,122,74,.35), transparent 60%),
    radial-gradient(50% 80% at 6% 90%, rgba(111,127,87,.3), transparent 60%);
}
.sub-band .container { position: relative; z-index: 1; }
.sub-card {
  background: rgba(34,21,16,.5);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  height: 100%;
}
.sub-card:hover { transform: translateY(-6px); border-color: var(--caramel); }
.sub-card.featured { background: var(--cream); color: var(--ink); border-color: var(--crema); }
.sub-card.featured .sub-tier, .sub-card.featured .sub-price { color: var(--coffee); }
.sub-card.featured .sub-desc { color: var(--ink-soft); }
.sub-card.featured .sub-list li { color: var(--ink-soft); }
.sub-tier { font-family: var(--display); font-size: 1.4rem; color: var(--crema); margin-bottom: .3rem; }
.sub-price { font-family: var(--display); font-size: 2.6rem; color: var(--cream); line-height: 1; margin-bottom: .2rem; }
.sub-price small { font-family: var(--body); font-size: .85rem; color: var(--on-dark-soft); font-weight: 500; }
.sub-desc { font-size: .92rem; color: var(--on-dark-soft); margin-bottom: 1.1rem; }
.sub-list { list-style: none; padding: 0; margin: 0 0 1.4rem; text-align: left; }
.sub-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: var(--on-dark-soft); padding: .32rem 0; }
.sub-list li svg { color: var(--sage); flex: none; width: 1.05rem; height: 1.05rem; margin-top: .18rem; }
.sub-card.featured .sub-list li svg { color: var(--sage-deep); }
.sub-flag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--sage); color: var(--cream); border-radius: var(--radius-pill); padding: .25rem .8rem; margin-bottom: .9rem; }

/* -------------------------------------------------------------------------- */
/* Process (bean to cup)                                                       */
/* -------------------------------------------------------------------------- */
.process-step { position: relative; text-align: center; }
.process-step .step-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 1.2rem; box-shadow: var(--shadow-md); }
.process-step .step-media img { width: 100%; height: 100%; object-fit: cover; }
.process-step .step-num {
  position: absolute; top: -.7rem; left: -.7rem; z-index: 2;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--sage); color: var(--cream);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.35rem;
  border: 4px solid var(--oat); box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.process-step p { font-size: .96rem; color: var(--ink-soft); }
.process-line { display: none; }
@media (min-width: 768px){
  .process-connector { position: relative; }
  .process-connector::after {
    content: ""; position: absolute; top: 30%; right: -18%; width: 36%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--crema) 0 8px, transparent 8px 16px);
  }
}

/* -------------------------------------------------------------------------- */
/* Locations                                                                   */
/* -------------------------------------------------------------------------- */
.loc-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  transition: box-shadow .3s ease, transform .3s ease;
}
.loc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.loc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-media .loc-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--espresso); color: var(--crema);
  padding: .4rem .9rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.loc-body { padding: 1.6rem 1.7rem 1.8rem; }
.loc-body h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.loc-addr { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; display: flex; gap: .5rem; align-items: flex-start; }
.loc-addr svg { color: var(--sage); flex: none; margin-top: .18rem; }
.hours-table { width: 100%; font-size: .95rem; margin-bottom: 1.2rem; }
.hours-table td { padding: .4rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.hours-table tr:first-child td { border-top: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-table tr.today td { color: var(--sage-deep); }
.hours-table tr.today td:last-child { color: var(--sage-deep); }
.loc-links { display: flex; gap: .7rem; flex-wrap: wrap; }

/* -------------------------------------------------------------------------- */
/* Gallery strip (instagram)                                                   */
/* -------------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.gallery-item {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; background: var(--paper); border: 0; padding: 0; display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(34,21,16,.35);
  opacity: 0; transition: opacity .3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23fbf6ee' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
@media (max-width: 767.98px){ .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(24,14,10,.9);
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(251,246,238,.14); color: var(--cream);
  border: 1px solid rgba(251,246,238,.3); border-radius: 50%;
  width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(251,246,238,.28); }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-nav.prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 1.4rem; height: 1.4rem; }

/* -------------------------------------------------------------------------- */
/* Testimonials                                                                 */
/* -------------------------------------------------------------------------- */
.testi-band { background: var(--espresso); color: var(--on-dark); }
.testi-card {
  background: rgba(251,246,238,.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem; height: 100%;
  transition: transform .3s ease, border-color .3s ease;
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--caramel); }
.testi-stars { color: var(--caramel); margin-bottom: .9rem; letter-spacing: .1em; }
.testi-quote { font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: var(--cream); 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; border: 2px solid var(--mocha); }
.testi-who .n { font-weight: 600; color: var(--cream); font-size: .98rem; }
.testi-who .r { font-size: .82rem; color: var(--on-dark-soft); }

/* -------------------------------------------------------------------------- */
/* Newsletter                                                                  */
/* -------------------------------------------------------------------------- */
.newsletter { background: var(--sage); color: var(--cream); }
.newsletter h2 { color: var(--cream); }
.newsletter p { color: rgba(251,246,238,.85); }
.news-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 480px; }
.news-form input[type="email"] {
  flex: 1; min-width: 200px;
  border: 1.5px solid rgba(251,246,238,.4); background: rgba(251,246,238,.12);
  color: var(--cream); border-radius: var(--radius-pill); padding: .85rem 1.3rem; font-size: 1rem;
}
.news-form input::placeholder { color: rgba(251,246,238,.7); }
.news-form input:focus { outline: none; border-color: var(--cream); background: rgba(251,246,238,.18); }
.news-msg { font-size: .9rem; margin-top: .7rem; min-height: 1.2rem; font-weight: 600; }
.news-msg.ok { color: var(--cream); }
.news-msg.err { color: #ffd9c2; }
.field-error { border-color: #e6a37f !important; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer { background: var(--espresso); color: var(--on-dark-soft); padding-top: clamp(3.5rem, 7vw, 6rem); }
.site-footer h5 { color: var(--cream); font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1.1rem; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--crema); }
.footer-brand { font-family: var(--display); font-size: 1.7rem; color: var(--cream); display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: .3rem 0; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 3rem; padding: 1.6rem 0; font-size: .88rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------------------- */
/* Toast (bag feedback)                                                         */
/* -------------------------------------------------------------------------- */
.toast-note {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 3200;
  background: var(--espresso); color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: .85rem 1.15rem; display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-lg); transform: translateY(140%); opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease; max-width: 320px;
}
.toast-note.show { transform: translateY(0); opacity: 1; }
.toast-note svg { color: var(--sage); flex: none; }
.toast-note .tn-title { font-weight: 600; color: var(--cream); font-size: .95rem; }
.toast-note .tn-sub { font-size: .82rem; color: var(--on-dark-soft); }

/* -------------------------------------------------------------------------- */
/* Page hero (menu page)                                                       */
/* -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--espresso); color: var(--on-dark); overflow: hidden; padding: clamp(5rem,10vw,8rem) 0 clamp(3rem,6vw,5rem); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .22; background-size: cover; background-position: center; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.4rem,5.5vw,4rem); margin-bottom: .8rem; }
.page-hero p { color: var(--on-dark-soft); font-size: 1.14rem; max-width: 52ch; }
.crumbs { font-size: .84rem; color: var(--on-dark-soft); margin-bottom: 1.2rem; letter-spacing: .03em; }
.crumbs a { color: var(--crema); }
.crumbs span { color: var(--mocha); margin: 0 .4rem; }

/* Menu tabs (bootstrap nav restyle) */
.menu-tabs { border: 0; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.6rem; }
.menu-tabs .nav-link {
  border: 1.5px solid var(--line); background: var(--cream); color: var(--coffee);
  border-radius: var(--radius-pill); padding: .6rem 1.4rem; font-weight: 600; font-family: var(--body);
}
.menu-tabs .nav-link:hover { border-color: var(--crema); }
.menu-tabs .nav-link.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* Helpers */
.bg-oat { background: var(--oat); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.text-mocha { color: var(--mocha); }
.on-dark { color: var(--on-dark); }
.divider-leaf { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--crema); margin: 0 auto 1rem; }
.divider-leaf::before, .divider-leaf::after { content: ""; height: 1px; width: 46px; background: var(--crema); }

.empty-bag { color: var(--ink-mute); font-size: .92rem; text-align: center; padding: 1.5rem 0; }
.cart-line { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.cart-line .cl-name { font-weight: 600; font-size: .92rem; color: var(--ink); }
.cart-line .cl-meta { font-size: .8rem; color: var(--ink-mute); }
.cart-line .cl-price { margin-left: auto; font-weight: 600; color: var(--coffee); font-variant-numeric: tabular-nums; }
.cart-remove { background: none; border: 0; color: var(--ink-mute); cursor: pointer; padding: .2rem; line-height: 0; }
.cart-remove:hover { color: var(--caramel); }
.offcanvas-cart { background: var(--oat); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 1.3rem; color: var(--coffee); margin: 1rem 0; }
.cart-total .amt { font-size: 1.6rem; }
