/* === FOUNDATION === */
/* ============================================================
   MERIDIAN COFFEE SUITE — Shared Foundation
   Author: stillidea
   ============================================================
   TABLE OF CONTENTS
   01. Design tokens
   02. Reset & base typography
   03. Layout primitives
   04. Top announcement bar
   05. Navigation (shared)
   06. Origin marquee
   07. Newsletter (shared)
   08. Footer (shared)
   09. Buttons & form elements
   10. Animation utilities
   11. Accessibility utilities
   ============================================================ */

/* ---------- 01. Design tokens ---------- */
:root {
  /* Color — warm editorial base (overridable per template) */
  --espresso: #1a1612;
  --espresso-soft: #2a231d;
  --white: #ffffff;
  --gray-light: #CCCCCC;    
--gray: #999999;    
--cream: #f5f0e8;
  --cream-deep: #ebe3d4;
  --paper: #faf6ef;
  --amber: #CDA250;
  --amber-deep: #9E6B27;
  --ink: #1a1612;
--orange: #FF5533;
  --ink-muted: rgba(26, 22, 18, 0.62);
  --ink-faint: rgba(26, 22, 18, 0.35);
  --rule: rgba(26, 22, 18, 0.14);
  --rule-soft: rgba(26, 22, 18, 0.08);

  /* Type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Newsreader', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 02. Reset & base typography ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
span a, p a, li a { text-decoration: none; }
span a:hover, p a:hover, li a:hover { text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
video {width:100%;}

.nav__brand img {
    max-width:150px;
}
::selection { background: var(--amber); color: var(--cream); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lede {
  font-family: var(--body);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-muted);
}

.alert.success, .alert.error {
  background-color: green;
  padding: 20px 30px;
  margin-bottom: 50px;
}
.alert.error {
  background-color: red;
}

/* ---------- 03. Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(54px, 5vw, 64px) 0;
}
.section.pt-0, .page-section.pt-0, .sb-atmos.pt-0, .wholesale.pt-0 {
  padding-top:8px;
}
.section.pb-0, .page-section.pb-0, .sb-atmos.pb-0, .wholesale.pb-0 {
  padding-bottom:8px;
}
.section.pt-50, .page-section.pt-50, .sb-atmos.pt-50, .wholesale.pt-50 {
  padding-top:50px;
}
.section.pb-50, .page-section.pb-50, .sb-atmos.pb-50, .wholesale.pb-50 {
  padding-bottom:50px;
}
.section.pt-80, .page-section.pt-80, .sb-atmos.pt-80, .wholesale.pt-80 {
  padding-top:80px;
}
.section.pb-80, .page-section.pb-80, .sb-atmos.pb-80, .wholesale.pb-80 {
  padding-bottom:80px;
}
.section.pt-100, .page-section.pt-100, .sb-atmos.pt-100, .wholesale.pt-100 {
  padding-top:100px;
}
.section.pb-100, .page-section.pb-100, .sb-atmos.pb-100, .wholesale.pb-100 {
  padding-bottom:100px;
}

.section--tight {
  padding: clamp(48px, 7vw, 96px) 0;
}

.text-center {
    text-align: center;
}
/* ---------- 04. Top announcement bar ---------- */
.topbar {
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
}

.topbar__items {
  display: flex;
  gap: var(--s-6);
  color: rgba(245, 240, 232, 0.72);
  flex-wrap: wrap;
}

.topbar__item span { color: var(--cream); margin-right: 6px; }

/* ---------- 05. Navigation ---------- */


 /* --- STYLES DE BASE & RESET --- */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f5f5f5;
    }

    /* --- BARRE DE NAVIGATION --- */
    .navbar {
      position: relative;
    }
    .logo {
      font-size: 1.25rem;
      font-weight: bold;
      color: #333;
    }


    /* --- STRUCTURE DES DROPDOWNS --- */
    .dropdown {
      position: relative;
    }
    .dropdown-toggle {
      background: none;
      border: none;
      font: inherit;
      cursor: pointer;
    }

    /* Conteneur de la liste masquée par défaut */
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: rgba(14, 12, 10, 0.92);
        border:1px solid var(--espresso-soft);
      min-width: 200px;
      list-style: none;
      padding: 8px 0;
    z-index:90;    
      
      /* Paramètres pour l'animation Fade-in */
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    .dropdown-menu a {
      padding: 8px 16px;
    }

    /* --- BOUTON BURGER (Masqué sur PC) --- */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #FFF;
    }

    /* --- ORDINATEUR : Comportement au Survol --- */
    @media (min-width: 769px) {
      .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
    }

    /* --- MOBILE & TABLETTE --- */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
        margin-top: 90px;
      }
        .nav__actions {
        margin-top:10px !important;    
        }      
        .whatsapp {
          top: 35px;
          right: 75px;
        }        

      .menu {
        display: none; /* Masqué sur mobile par défaut */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        gap: 10px;
      }
    .nav__menu {
          display: flex;
          gap: var(--s-3) !important;
    }
      /* Affichage du menu principal au clic burger */
      .menu.is-active {
        display: flex;
        position: absolute;
        margin: 0 auto;width: 100%;max-width: 80%;
        background-color: rgba(14, 12, 10, 0.92);
      }

      /* Adaptation des dropdowns sur mobile (déroulement vertical) */
      .dropdown-menu {
        position: absolute;
        box-shadow: none;
        padding-left: 20px;
        left: 25% !important;          
        transform: none; /* Désactive le décalage vertical pour éviter les sauts */
      }
    }

    /* Activation du fondu au clic (Mobile uniquement via JS) */
    .dropdown-menu.is-active {
      opacity: 1;
      visibility: visible;
    }


.nav {
/*  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule-soft);*/
  backdrop-filter: blur(10px);
  background: rgba(250, 246, 239, 0.92);
}

.nav--dark {
  background: rgba(26, 22, 18, 0.92);
  color: var(--cream);
  border-bottom-color: rgba(245, 240, 232, 0.1);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 20px;
  gap: var(--s-5);
}

.nav__brand {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav__brand-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.nav__menu {
  display: flex;
  gap: var(--s-4);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-self: center;
position:relative;
}

.nav__menu a {
position: relative;
padding: 4px 0;
transition: color 0.3s var(--ease);
font-size: 14px;
text-align: center;
display: block;  
text-decoration:none;
letter-spacing: .8px;
word-spacing: -3px;    
}
.nav__menu .dropdown-menu a {
padding: 4px 8px;
font-size: 11px;
text-align: left;
}
.nav__menu a span {
font-size: 9px;
display:block;
color: var(--amber);
}

.nav__menu a:hover, .nav__actions a:hover { color: var(--amber); }
.nav__menu a:hover::after { width: 100%; }

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 1480px) {
.nav__actions {
margin-top: 80px;    
}
}
.nav__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__cart-count {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--cream);
  font-size: 10px;
}

.nav__cta {
  background: var(--espresso);
  color: var(--cream);
  padding: 12px 22px;
  letter-spacing: 0.14em;
  transition: background 0.3s var(--ease);
}

.nav--dark .nav__cta {
  background: var(--cream);
  color: var(--espresso);
}

.nav__cta:hover { background: var(--amber-deep); color: var(--cream); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  place-items: center;
}

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  color: var(--cream);
  z-index: 100;
  padding: var(--s-7) var(--gutter);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

.nav__drawer.is-open { transform: translateX(0); }

.nav__drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-8);
}

.nav__drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream);
  display: grid;
  place-items: center;
  color: var(--cream);
}

.nav__drawer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
}

.nav__drawer-menu a {
  padding: var(--s-3) 0;
  border-bottom: 0px solid rgba(245, 240, 232, 0.1);
  transition: color 0.3s var(--ease);
  font-size: 20px;
}
.nav__drawer-menu a span {
  display:block;
color:var(--gray);
font-size: 14px;
}
.nav__drawer-menu a:hover { color: var(--amber); }

.nav__drawer-foot {
  margin-top: auto;
  padding-top: var(--s-7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

.article .story__copy.style {
background: linear-gradient(330.24deg,var(--amber) 11.99%,#EAE295 42.79%,var(--amber) 88.79%);
padding:30px;
}

/* ---------- 06. Origin marquee ---------- */
.marquee {
  background: var(--espresso);
  color: var(--cream);
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid var(--espresso-soft);
}

.marquee__track {
  display: flex;
  gap: var(--s-8);
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  width: max-content;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
}

.marquee__dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 07. Newsletter ---------- */
.newsletter {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  text-align: center;
}

.newsletter__inner {
  max-width: 640px;
  margin: 0 auto;
}

.newsletter__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: var(--s-5) 0;
}

.newsletter__title em { font-style: italic; color: var(--amber); }

.newsletter__body {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: var(--s-7);
  line-height: 1.6;
}

.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s-3);
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.newsletter__input::placeholder { color: var(--ink-faint); font-style: italic; }

.newsletter__submit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 0 12px var(--s-5);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.newsletter__submit:hover { color: var(--amber); }

/* ---------- 08. Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--cream);
  padding: var(--s-3) 0 var(--s-6);
}
.footer .sb-hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin: 0 auto 60px;
}
.footer .sb-hero__cta-row p {
text-align:center;
}
.footer .sb-hero__cta-row .btn-primary.via-whatsapp {
  background: #29A71A;
  color: #FFF;
  border-color: #29A71A;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding-bottom: var(--s-5);
}

.footer__top ul li {
list-style:disc;
}

.footer__top ul li {
font-size:14px;
}
.footer__top .colonne1 p {
font-size:13px;
margin-top:20px;
color:var(--gray);
}
.footer__top ul li a, .footer__top a {
text-decoration:none;
color: var(--amber);
}
.footer__top ul li a:hover, .footer__top a:hover {
text-decoration:none;
color: var(--white);
}

.footer__brand {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
}

.footer__brand-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -3px;
}

.footer__tagline {
  font-style: italic;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  margin-top: var(--s-3);
  font-size: 15px;
  max-width: 320px;
  line-height: 1.55;
}

.footer__col-title {
font-family: var(--mono);
  font-size: 11px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45) !important;
  margin-bottom: var(--s-5) !important;
  margin-top: 0 !important;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: 14px;
  color: rgba(245, 240, 232, 0.78);
}

.footer__list a:hover { color: var(--amber); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer__variants {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  flex-wrap: wrap;
}

.footer__variants a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  padding: 6px 12px;
  border: 1px solid rgba(245, 240, 232, 0.15);
  transition: all 0.3s var(--ease);
}

.footer__variants a:hover,
.footer__variants a.is-current {
  color: var(--cream);
  border-color: var(--amber);
}

/* ---------- 09. Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--espresso);
  color: var(--cream);
  padding: 18px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease);
  border: 1px solid var(--espresso);
}

.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn-primary svg { transition: transform 0.3s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline svg { transition: transform 0.3s var(--ease-out); }
.btn-outline:hover svg { transform: translateX(4px); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}

.btn-text:hover { color: var(--amber); }

/* ---------- 10. Animation utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.4s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- 11. Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 100;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: var(--s-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .reveal, [data-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Responsive shared ---------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
@media (max-width: 991px) {
.btn-primary {
  gap: 12px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease);
  border: 1px solid var(--espresso);
margin-bottom:10px;
}
}
@media (max-width: 720px) {
  .topbar__items { gap: var(--s-4); font-size: 10px; }
  .topbar__item:nth-child(n+2) { display: none; }

  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__menu { display: none; }
  .nav__actions .nav__cart-text,
  .nav__actions .nav__cta { display: none; }

  .nav__toggle { display: grid; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--s-3); text-align: center; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* === PAGE === */

/* ============================================================
   HOME 2 — SLOW BAR (Cafe-first, dark moody)
   Aesthetic: full-bleed dark photography, physical experience
   Color override: deep charcoal base, warm cream accent
   ============================================================ */

/* Color overrides for dark theme */
:root {
  --bg-dark: #0e0c0a;
  --bg-dark-2: #161310;
  --bg-dark-3: #1e1a15;
  --cream-glow: rgba(245, 240, 232, 0.08);
  --rule-dark: rgba(245, 240, 232, 0.1);
  --muted-dark: rgba(245, 240, 232, 0.55);
  --faint-dark: rgba(245, 240, 232, 0.3);
}

body {
  background: var(--bg-dark);
  color: var(--cream);
}

::selection { background: var(--amber); color: var(--bg-dark); }

.eyebrow { color: var(--muted-dark); }
.story .eyebrow { color: var(--bg-dark); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(20px, 4vw, 48px) 0 0;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-9);
  align-items: end;
}

.hero__copy { padding-bottom: var(--s-8); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-7);
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink);
}

.hero__title {
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber);
}

.hero__lede {
  margin-top: var(--s-6);
  max-width: 480px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero__cta-row {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--espresso);
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

.hero__visual-tag {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  background: var(--paper);
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__visual-tag-row { display: block; margin-bottom: 4px; color: var(--ink-muted); }
.hero__visual-tag-row:last-child { margin-bottom: 0; color: var(--ink); font-weight: 500; }

.hero__meta {
  margin-top: var(--s-9);
  padding: var(--s-6) 0 var(--s-5);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.hero__meta-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__meta-label { color: var(--ink-muted); display: block; margin-bottom: 6px; font-size: 10px; }
.hero__meta-value { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; text-transform: none; font-weight: 500; }


/* Hero — full-bleed cinematic */
.sb-hero {
  position: relative;
/*  height: 100svh;
*/  min-height: 640px;
  display: grid;
  place-items: end;
  overflow: hidden;
padding:40px 0 10px;    
}

.sb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sb-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
/*  filter: brightness(0.42) saturate(0.85);
*/}

/*.sb-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 12, 10, 0.96) 0%,
    rgba(14, 12, 10, 0.3) 55%,
    rgba(14, 12, 10, 0) 100%
  );
}*/

.sb-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.sb-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-8);
}

.sb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-6);
}

.sb-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.whatsapp {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 999;
}
@media (max-width: 1480px) {
.whatsapp {
  top: 15px;
}
}
.sb-hero__title {
  font-size: clamp(52px, 9vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--cream);
  font-weight: 400;
  max-width: 900px;
}

.sb-hero__title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.sb-hero__sub {
  font-size: 18px;
  color: var(--paper);
  margin-top: var(--s-5);
  max-width: 540px;
  line-height: 1.5;
  font-weight: 300;
}

.sb-hero__cta-row {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.sb-hero__cta-row .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--espresso);
}

.sb-hero__cta-row .btn-primary:hover {
/*  background: var(--amber-deep);
  border-color: var(--amber-deep);*/
}

.sb-hero__cta-row .btn-text {
  color: var(--cream);
}

.sb-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-end;
  min-width: 160px;
}

.sb-hero__meta-item {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
}

.sb-hero__meta-value {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 4px;
}

/* Scroll indicator */
.sb-hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint-dark);
}

.sb-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Today at the bar */
.sb-today {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: var(--s-6) 0;
}

.sb-today__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-7);
  align-items: center;
}

.sb-today__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-right: var(--s-7);
  border-right: 1px solid var(--rule-dark);
}

.sb-today__items {
  display: flex;
  gap: var(--s-7);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.sb-today__items::-webkit-scrollbar { display: none; }

.sb-today__item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  white-space: nowrap;
  flex-shrink: 0;
}

.sb-today__dot {
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.sb-today__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
}

.sb-today__origin {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* Atmosphere section */
.sb-atmos {
  background: var(--bg-dark);
  padding: clamp(64px, 10vw, 144px) 0;
}

.sb-atmos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.sb-atmos__copy { order: 1; }

.sb-atmos__visual { order: 2; }

.sb-atmos__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-3);
  aspect-ratio: 1;
}

.sb-atmos__img {
  overflow: hidden;
  background: var(--bg-dark-3);
}

.sb-atmos__img:first-child {
  grid-row: 1 / 3;
}
.sb-atmos__img.quatre_photos:first-child {
  grid-row: inherit;
}
.sb-atmos__img.deux_photos {
  grid-row: 1 / 3 !important;
}

.sb-atmos__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  filter: brightness(0.9) saturate(0.85);
}

.sb-atmos__img:hover img { transform: scale(1.04); }

.sb-atmos__eyebrow { margin-bottom: var(--s-5); }
.story .sb-atmos__eyebrow { margin-top:-15px; }

.sb-atmos__title {
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1;
  margin-bottom: var(--s-6);
  color: var(--cream);
}
h3.sb-atmos__title {
  font-size: clamp(24px, 2.5vw, 28px);
  line-height: 1;
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--s-6);
margin-bottom: var(--s-3);
margin-top: var(--s-7);
color: var(--cream);
}

.sb-atmos__title em { font-style: italic; color: var(--amber); }

.sb-atmos__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: var(--s-5);
}

.sb-atmos__perks {
  margin-top: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--s-6);
}

.sb-atmos__perk {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
}

.sb-atmos__perk-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber);
}

.sb-atmos__perk-body {}

.sb-atmos__perk-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 4px;
}

.sb-atmos__perk-desc {
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.5;
}

/* Menu section */
.sb-menu {
  background: var(--bg-dark-2);
  padding: clamp(64px, 10vw, 144px) 0;
  border-top: 1px solid var(--rule-dark);
}

.sb-menu__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-7);
  margin-bottom: var(--s-9);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule-dark);
}

.sb-menu__title {
  font-size: clamp(48px, 7vw, 100px);
  color: var(--cream);
  line-height: 0.95;
}

.sb-menu__title em { font-style: italic; color: var(--amber); }

.sb-menu__cats {
  display: flex;
  gap: var(--s-5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
  align-self: end;
  flex-wrap: wrap;
}

.sb-menu__cats button {
  color: inherit;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sb-menu__cats button.is-active {
  color: var(--cream);
  border-bottom-color: var(--amber);
}

.sb-menu__cats button:hover { color: var(--cream); }

.sb-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

.sb-menu-item {
  padding: var(--s-6);
  border: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: start;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: default;
}

.sb-menu-item:hover {
  background: var(--cream-glow);
  border-color: rgba(245, 240, 232, 0.2);
}

.sb-menu-item__name {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: var(--s-3);
}

.sb-menu-item__name em { font-style: italic; }

.sb-menu-item__desc {
  font-size: 13px;
  color: var(--muted-dark);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.sb-menu-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-2);
}

.sb-menu-item__price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
}

.sb-menu-item__price sup {
  font-size: 12px;
  vertical-align: super;
  color: var(--muted-dark);
  margin-right: 2px;
}

.sb-menu-item__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 3px 8px;
}

/* Barista section */
.sb-team {
  background: var(--bg-dark);
  padding: clamp(64px, 10vw, 144px) 0;
  border-top: 1px solid var(--rule-dark);
}

.sb-team__header {
  text-align: center;
  margin-bottom: var(--s-9);
}

.sb-team__title {
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--cream);
  margin-top: var(--s-5);
  line-height: 1;
}

.sb-team__title em { font-style: italic; color: var(--amber); }

.sb-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.sb-team-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-dark-3);
}

.sb-team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.8);
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
}

.sb-team-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.65) saturate(0.9);
}

.sb-team-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-6);
  background: linear-gradient(to top, rgba(14,12,10,0.92) 0%, transparent 100%);
  transform: translateY(8px);
  transition: transform 0.5s var(--ease-out);
}

.sb-team-card:hover .sb-team-card__info { transform: translateY(0); }

.sb-team-card__name {
  font-family: var(--display);
  font-size: 26px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 4px;
}

.sb-team-card__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: var(--s-3);
}

.sb-team-card__spec {
  font-size: 13px;
  font-style: italic;
  color: var(--amber);
}

/* Reserve / Reservations CTA */
.sb-reserve {
  background: var(--amber);
  color: var(--cream);
  padding: clamp(72px, 11vw, 140px) 0;
}

.sb-reserve__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.sb-reserve__title {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  color: var(--cream);
}

.sb-reserve__title em {
  font-style: italic;
  color: rgba(245, 240, 232, 0.7);
}

.sb-reserve__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.sb-reserve__body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.8);
}

.sb-reserve__details {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
}

.sb-reserve__details span { color: var(--cream); }

.sb-reserve .btn-outline {
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.6);
  align-self: flex-start;
}

.sb-reserve .btn-outline:hover {
  background: var(--cream);
  color: var(--amber);
  border-color: var(--cream);
}

/* Newsletter dark override */
.newsletter--dark {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--rule-dark);
  color: var(--cream);
}

.newsletter--dark .newsletter__title em { color: var(--amber); }

.newsletter--dark .newsletter__body { color: var(--muted-dark); }

.newsletter--dark .newsletter__form {
  border-bottom-color: var(--rule-dark);
}

.newsletter--dark .newsletter__input {
  color: var(--cream);
}

.newsletter--dark .newsletter__input::placeholder { color: var(--faint-dark); }

.newsletter--dark .newsletter__submit:hover { color: var(--amber); }

/* Nav override for dark */
.nav {
background: rgba(14, 12, 10, 0.92);
color: var(--cream);
border-bottom-color: var(--rule-dark);
z-index: 10;
position: relative;    
}

.nav .nav__cta {
  background: var(--amber);
  color: var(--cream);
  border: none;
}

.nav .nav__cta:hover { background: var(--amber-deep); }

.nav .nav__toggle { border-color: var(--cream); color: var(--cream); }

/* Story split editorial */
.story { background: var(--paper); }
.story.bg-black { background: var(--bg-dark); }

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
.story__grid.grid__12 {
  grid-template-columns: 1fr;
}
.story__grid.grid__6-6 {
  grid-template-columns: 1fr 1fr;
}
.story__grid.grid__3-9 {
  grid-template-columns: 1fr 3fr;
}
.story__grid.grid__9-3 {
  grid-template-columns: 3fr 1fr;
}
.story__grid.grid__3-6-3 {
  grid-template-columns: 1fr 2fr 1fr;
}
.story__grid.grid__4-4-4 {
  grid-template-columns: 1fr 1fr 1fr;
}
.story__grid.grid__8-4 {
  grid-template-columns: 2fr 1fr;
}
.story__grid.grid__4-8 {
  grid-template-columns: 1fr 2fr;
}
.story__grid.grid__3-3-3-3 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.article .story__grid.grid__12,
.article .story__grid.grid__6-6,
.article .story__grid.grid__3-9,
.article .story__grid.grid__9-3,
.article .story__grid.grid__3-6-3,
.article .story__grid.grid__4-4-4,
.article .story__grid.grid__8-4,
.article .story__grid.grid__4-8,
.article .story__grid.grid__3-3-3-3 {
max-width: 760px;
  margin: 0 auto;
}
.story__grid figure {
overflow: hidden;
}
.story__grid figure img:hover {
  transform: scale(1.05);
}
.story__grid figure img {
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  filter: contrast(1.05);
}

.story__visual {
  aspect-ratio: 5 / 6;
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}

.story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__copy { padding: var(--s-2) 0; }

.story__title, .article h2 {
  font-size: clamp(36px, 4.5vw, 50px);
  margin: var(--s-5) 0 var(--s-6);
  line-height: 1;
color: var(--bg-dark);    
}
.article h2 {
  font-size: 38px;
  margin: var(--s-5) 0 var(--s-2);
  line-height: 1;
color: var(--bg-dark);    
}
.article h3 {
  font-size: 32px;
  margin: var(--s-5) 0 var(--s-2);
  line-height: 1;
color: var(--bg-dark);    
}
.article h1 {
font-size: 88px;
line-height: 1.02;
margin-bottom: var(--s-6);
letter-spacing: -0.025em;
text-align: center;
}
.story__title.mb-10 {
  margin-bottom:10px;    
}
.story.bg-black .story__title, .article h1 {
color: var(--paper);    
}
.bg-black h2 {
color: var(--amber);    
}
.bg-black h3 {
color: var(--paper);    
}
.article .bg-black .style h2 {
  color: var(--bg-dark);
}
.story__title em, .story__title strong  { font-style: italic; color: var(--amber); }

.story__body p, .story__body ul li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bg-dark);
  margin-bottom: var(--s-3);
}
.story.bg-black .story__body p, .story.bg-black .story__body ul li {
  color: var(--paper);
}
.story__body p:first-child::first-letter, .article .story__body p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 6px 12px -4px 0;
  color: var(--amber);
  font-weight: 500;
}
.article .style .story__body p, .article .style .story__body ul li,
.article .style .story__body p:first-child::first-letter, .article .style .story__body p:first-of-type::first-letter {
  color: var(--bg-dark);
}
.story__signature {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

.story__signature-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}

.story__signature-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Wholesale CTA */
.wholesale {
  background: var(--bg-dark);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}

.wholesale__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-8);
}

.wholesale__title {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  max-width: 900px;
}

.wholesale__title em { font-style: italic; color: #29A71A; }

.wholesale__cta {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-end;
}

.wholesale__cta-text {
  font-style: italic;
  color: rgba(245, 240, 232, 0.6);
  max-width: 280px;
  text-align: right;
  font-size: 15px;
  line-height: 1.5;
}

.wholesale .btn-primary {
  background: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}

.wholesale .btn-primary.via-whatsapp {
  background: #29A71A;
  color: #FFF;
  border-color: #29A71A;
}

.wholesale .btn-primary:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--cream);
}

/* Hero — bold oversized type */
.wf-hero {
  padding: clamp(20px, 4vw, 48px) 0 0;
  overflow: hidden;
  background: var(--cream);
}

.wf-hero__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
  margin-bottom: var(--s-6);
}

.wf-hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

.wf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--cream);
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wf-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cream);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

/* Visual strip */
.wf-hero__strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-3);
  height: 340px;
  margin-top: var(--s-6);
}

.wf-hero__strip-img {
  overflow: hidden;
  background: var(--espresso);
}

.wf-hero__strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  filter: contrast(1.05);
}

.wf-hero__strip-img:hover img { transform: scale(1.05); }

.wf-hero__strip-img:first-child { grid-row: 1; }

/* --- Long form intro --- */
.intro {
  padding: clamp(48px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--rule);
}

.intro__inner {
  max-width: 760px;
  margin: 0 auto;
}

.intro__lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  margin-bottom: var(--s-7);
  color: var(--paper);
}

.intro__lede em { color: var(--amber); }

.intro__body p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--s-5);
  color: var(--paper);
}

.intro__body p:first-child::first-letter, .story__grid p:first-child::first-letter {
  font-family: var(--display);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 6px 12px -4px 0;
  color: var(--amber);
  font-weight: 500;
}

/* --- Press / Recognition --- */
.press {
background: var(--white);    
border-bottom: 1px solid var(--rule);
}

.press__header { text-align: center; margin-bottom: var(--s-8); }
.press__title { font-size: clamp(32px, 4vw, 48px); margin-top: var(--s-5); line-height: 1;color: var(--bg-dark); }
.press__title em { font-style: italic; color: var(--orange); }

.press__header img { display:inline-block; }
.press__header a { margin-top: var(--s-5); }

.press__quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}

/*.press-quote {
  padding: var(--s-6) var(--s-5);
  border-left: 1px solid var(--rule);
}*/

/*.press-quote:first-child { border-left: none; padding-left: 0; }*/

.press-quote__source {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-4);
}
.press__header .press-quote__source {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-dark);
  margin: var(--s-2) 0 var(--s-3);
}
.press__header .press-quote__source em {
  font-size: 20px;
  letter-spacing: 0em;
background-color: var(--orange);
  border-radius: 20px;
  color: var(--bg-dark);
  padding: 5px 15px 5px 10px;
}
.press-quote__text {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--bg-dark);
  margin-bottom: var(--s-3);
}

.press-quote__author {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
}
.press .btn-primary {
background: transparent;
color: var(--bg-dark);
border: 1px solid var(--orange);
padding:10px;
text-decoration: none;    
}
.press .btn-primary:hover {
background: transparent;
border: 1px solid var(--bg-dark);
}
.wf-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.wf-event-card {
  border: 1px solid var(--rule);
  padding: var(--s-6);
  background: var(--paper);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}

.wf-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(26,22,18,0.15);
}

.wf-event-card__date {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}

.wf-event-card__date-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: var(--amber);
}

.wf-event-card__date-info {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-muted);
}

.wf-event-card__name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: var(--s-3);
  line-height: 1.1;
  color: var(--espresso) !important;    
}

.wf-event-card__desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: var(--s-5);
  color: var(--espresso) !important;    
}

.wf-event-card__tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.wf-event-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
}

.slide {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}
.img-wrap {
    display: flex;
    transition: transform 0.5s ease;
}

.img-wrap img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}
.btnslide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    width:40px;
    height:40px;
    cursor: pointer;
    border-radius: 50%;
}

.btnslide:hover {
    background: rgba(0, 0, 0, 0.8);
}

.btnslide.prev {
    left: 10px;
}

.btnslide.next {
    right: 10px;
}

/* Weekly schedule */
.wf-schedule {
  background: var(--paper);
  padding: clamp(54px, 5vw, 64px) 0;
  border-top: 1px solid var(--rule);
}

.wf-schedule__header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
}

.wf-schedule__title {
  font-size: clamp(40px, 5.5vw, 52px);
  line-height: 0.95;  
color: var(--espresso);
}

.wf-schedule__title em { font-style: italic; color: var(--amber); }

.wf-schedule__week {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.wf-schedule__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-3);
}

.wf-day {
  border: 1px solid var(--rule);
  padding: var(--s-5);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.wf-day--active {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.wf-day--black {
  background: var(--bg-dark);
  color: var(--cream);
  border-color: var(--bg-dark);
}
.wf-day--today {
  background: var(--amber);
  color: var(--cream);
  border-color: var(--amber);
}

.wf-day__name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: var(--s-3);
}

.wf-day__location {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: auto;
}
.wf-day.wf-day--active.photo {
padding:0;
width: 100%;
height: 100%;
border:0;    
}
.wf-day.wf-day--active.photo .wf-day__location {
width: 100%;
height: 100%;    
}
.wf-day.wf-day--active.photo .wf-day__location img {
margin: 0;
padding:0;
width: 100%;
height: 100%;
object-fit: cover;
}

.wf-day__time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--s-4);
  opacity: 0.7;
}

.wf-day--off .wf-day__location {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 400;
}

/* --- Values grid --- */
.values { background: var(--paper); border-bottom: 1px solid var(--rule); }
.values.section { padding: 15px 0 clamp(54px, 5vw, 64px);
}
.values__header { margin-bottom: var(--s-7); }

.values__title {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-top: 15px;
  line-height: 1;
  color: var(--bg-dark);    
}

.values__title em { font-style: italic; color: var(--amber); }
.values__header .eyebrow { color: var(--bg-dark); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.values ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: 15px;
  color: var(--bg-dark);
}
.values li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}
.values .og-tier__feature-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 6px;
}
.value {
  background: var(--paper);
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--rule);
  position: relative;
}
.value:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -22px rgba(26, 22, 18, 0.22);
}
.value.dark {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.value__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: var(--s-6);
  display: block;
}

.value__title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: var(--s-4);
  color: var(--bg-dark);    
}
.value.dark .value__title {
  color: var(--cream);    
}

.value__title em { font-style: italic; }

.value__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.value.dark .value__body {
  color: var(--paper);    
}
.value__price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: var(--s-5);
  color: var(--amber); 
    text-align: center;
}
.value__price em {
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,    
  .story__grid,
    .story__grid.grid__12,
    .story__grid.grid__6-6,
    .story__grid.grid__3-9,
    .story__grid.grid__9-3,
    .story__grid.grid__3-6-3,
    .story__grid.grid__4-4-4,
    .story__grid.grid__8-4,
    .story__grid.grid__4-8,
    .story__grid.grid__3-3-3-3,    
  .wholesale__inner { grid-template-columns: 1fr; align-items: flex-start; gap: var(--s-1); }
  .wholesale__cta { align-items: center; }
    .wholesale__title { text-align: center;}
.wholesale__cta-text { text-align: center; margin-top:30px;}
  .values__grid { grid-template-columns: repeat(2, 1fr); }    
  .sb-atmos__grid { grid-template-columns: 1fr; }
  .sb-atmos__copy { order: 1; }
  .sb-atmos__visual { order: 2; }
  .sb-menu__grid { grid-template-columns: 1fr; }
  .sb-team__grid { grid-template-columns: repeat(2, 1fr); }
  .wf-hero__top { grid-template-columns: 1fr; }
  .wf-hero__title { grid-column: auto; }     
  .sb-reserve__inner { grid-template-columns: 1fr; }
  .sb-menu__header { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .press__quotes { grid-template-columns: 1fr; gap: var(--s-5); }
    .section.pb-0, .page-section.pb-0, .sb-atmos.pb-0 {
      padding-bottom: 20px;
    }
    .section.pt-0, .page-section.pt-0, .sb-atmos.pt-0 {
      padding-top: 20px;
    }
  .wf-schedule__grid { grid-template-columns: repeat(4, 1fr); }
   .wf-schedule__header { grid-template-columns: 1fr; }   
    .article h1 {font-size: 60px;}
}

@media (max-width: 720px) {
  .hero__title { font-size: clamp(44px, 13vw, 72px); }
  .sb-hero__inner { grid-template-columns: 1fr; }
  .sb-hero__meta { display: none; }
  .sb-today__inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .sb-today__label { border-right: none; padding-right: 0; }
/*  .sb-atmos__gallery { grid-template-columns: 1fr; }
*/  .sb-atmos__gallery { grid-template-columns: 1fr 1fr; }    
  .sb-atmos__img:first-child { grid-row: auto; }
  .values__grid { grid-template-columns: 1fr; }    
  .sb-team__grid { grid-template-columns: 1fr; }
  .wf-hero__strip { grid-template-columns: 1fr 1fr; height: 240px; }
  .wf-hero__strip-img:last-child { display: none; }   
  .wf-schedule__grid { grid-template-columns: repeat(2, 1fr); }    
    .footer__top {text-align: center;}
    .footer__top ul li {list-style:none; }
    .footer__top .colonne1 p {text-align: center;}
    .footer__top .colonne1 p a {display: inline-block;}
    .article h1 {font-size: 48px;}
}

/* ============================================================
   FUNCTIONAL UI — catalog filters, cart drawer, modals, toasts
   ============================================================ */

/* Filter chips */
.journal__filters {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.filter-chip__count {
  font-size: 9px;
  opacity: 0.6;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.filter-chip:not(.is-active) .filter-chip__count {
  background: var(--rule-soft);
  color: var(--ink-faint);
}

/* Card hidden / filtered states */
.brew-card.is-hidden { display: none; }

.brew-card.is-filtered-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* Card actions row */
.brew-card__actions {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

.brew-card__add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.brew-card__add:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.brew-card__add svg { transition: transform 0.3s var(--ease-out); }
.brew-card__add:hover svg { transform: rotate(90deg); }

.brew-card__add.is-added {
  background: var(--amber);
  border-color: var(--amber);
  pointer-events: none;
}

.brew-card__view {
  padding: 12px 18px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.brew-card__view:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Load more */
.journal__more {
  margin-top: var(--s-8);
  text-align: center;
}

.journal__more .btn-outline {
  margin: 0 auto var(--s-4);
}

.journal__more-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

#load-more-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   Cart drawer
   ============================================================ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 60px -20px rgba(26, 22, 18, 0.25);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.45);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
}

.cart-drawer__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__header {
  padding: var(--s-6);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer__title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.cart-drawer__title-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 12px;
  font-weight: 400;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cart-drawer__close:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-5) var(--s-6);
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-9) var(--s-5);
  color: var(--ink-muted);
}

.cart-drawer__empty-icon {
  width: 80px;
  height: 80px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-5);
  color: var(--ink-faint);
}

.cart-drawer__empty-title {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: var(--s-3);
  color: var(--ink);
}

.cart-drawer__empty-note {
  font-size: 14px;
  font-style: italic;
  margin-bottom: var(--s-6);
}

/* Cart item */
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}

.cart-item:last-child { border-bottom: none; }

.cart-item__main {}

.cart-item__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cart-item__name em { font-style: italic; }

.cart-item__origin {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
}

.cart-qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}

.cart-qty button:hover { background: var(--ink); color: var(--cream); }

.cart-qty__val {
  width: 36px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 4px 0;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  transition: color 0.2s var(--ease);
}

.cart-item__remove:hover { color: var(--amber-deep); }

.cart-item__price {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  text-align: right;
}

.cart-item__price sup {
  font-size: 11px;
  vertical-align: super;
  color: var(--ink-muted);
  margin-right: 2px;
}

/* Cart footer */
.cart-drawer__foot {
  padding: var(--s-6);
  border-top: 1px solid var(--rule);
  background: var(--cream);
}

.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 0;
}

.cart-drawer__row strong {
  color: var(--ink);
  font-weight: 500;
}

.cart-drawer__row--total {
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.cart-drawer__row--total strong {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 500;
}

.cart-drawer__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: var(--s-5);
  padding: 18px;
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid var(--espresso);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.cart-drawer__checkout:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.cart-drawer__checkout:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-drawer__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-top: var(--s-3);
}

/* Cart count badge animation */
.nav__cart-count.is-bumped {
  animation: cart-bump 0.5s var(--ease-out);
}

@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.4); background: var(--amber); }
}

/* ============================================================
   Quick-view product modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
}

.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 18, 0.55);
  backdrop-filter: blur(4px);
  animation: modal-fade-in 0.4s var(--ease) forwards;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__panel {
  position: relative;
  background: var(--paper);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: modal-rise 0.5s var(--ease-out) forwards;
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 36px;
  height: 36px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s var(--ease);
}

.modal__close:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.product-modal__body {
  padding: var(--s-8) var(--s-7) var(--s-7);
}

.product-modal__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-3);
}

.product-modal__name {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--s-3);
}

.product-modal__name em { font-style: italic; }

.product-modal__origin {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule);
}

.product-modal__notes {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--s-6);
}

.product-modal__story {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: var(--s-7);
}

.product-modal__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-6);
}

.product-modal__spec-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 6px;
}

.product-modal__spec-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.product-modal__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
}

.product-modal__price {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.product-modal__price sup {
  font-size: 18px;
  vertical-align: super;
  color: var(--ink-muted);
  margin-right: 4px;
}

.product-modal__add {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.product-modal__add:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

/* ============================================================
   Toast notifications
   ============================================================ */
.toast-stack {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  pointer-events: none;
  max-width: calc(100vw - 40px);
}

.toast {
  background: var(--espresso);
  color: var(--cream);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: auto;
  min-width: 280px;
  box-shadow: 0 16px 40px -12px rgba(26, 22, 18, 0.4);
  animation: toast-in 0.4s var(--ease-out) forwards;
}

@keyframes toast-in {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.is-leaving {
  animation: toast-out 0.3s var(--ease) forwards;
}

@keyframes toast-out {
  to { transform: translateX(110%); opacity: 0; }
}

.toast__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
  color: var(--cream);
  flex-shrink: 0;
}

.toast__msg { line-height: 1.4; }

/* ============================================================
   PART 2 — checkout flow, wholesale modal, search, lightbox
   ============================================================ */

/* Body scroll lock */
body.is-scroll-locked { overflow: hidden; }

/* Search icon button in nav */
.nav__icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--ink);
}

.nav__icon-btn:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Wider modal panel for forms */
.modal__panel--wide { max-width: 880px; }
.modal__panel--narrow { max-width: 520px; }

/* ============================================================
   Checkout modal (multi-step)
   ============================================================ */
.checkout-modal__body { padding: 0; }

.checkout-header {
  padding: var(--s-6) var(--s-7);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.checkout-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: var(--s-5);
}

/* Step indicator */
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}

.checkout-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--s-3);
  border-top: 2px solid var(--rule);
  transition: border-color 0.4s var(--ease);
}

.checkout-step.is-active { border-top-color: var(--amber); }
.checkout-step.is-done { border-top-color: var(--ink); }

.checkout-step__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.checkout-step.is-active .checkout-step__num { color: var(--amber); }
.checkout-step.is-done .checkout-step__num { color: var(--ink); }

.checkout-step__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.checkout-step.is-active .checkout-step__label,
.checkout-step.is-done .checkout-step__label { color: var(--ink); }

/* Steps content */
.checkout-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 420px;
}

.checkout-form {
  padding: var(--s-7);
  border-right: 1px solid var(--rule);
}

.checkout-pane { display: none; }
.checkout-pane.is-active {
  display: block;
  animation: pane-in 0.4s var(--ease-out);
}

@keyframes pane-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-pane__title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.checkout-pane__intro {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
  line-height: 1.55;
  font-style: italic;
}

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-5);
}

.field__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field__label .required { color: var(--amber); }

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.field__input::placeholder,
.field__textarea::placeholder { color: var(--ink-faint); font-style: italic; }

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  border-bottom-color: var(--amber);
}

.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23625b51' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.field__textarea {
  resize: vertical;
  min-height: 90px;
  border-bottom: none;
  border: 1px solid var(--rule);
  padding: 14px;
  font-family: var(--body);
}

.field__textarea:focus { border-color: var(--amber); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

/* Payment method cards */
.payment-methods {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: left;
  background: var(--paper);
  width: 100%;
}

.payment-method:hover {
  background: var(--cream);
  border-color: var(--ink);
}

.payment-method.is-selected {
  border-color: var(--amber);
  background: var(--cream);
}

.payment-method__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease);
}

.payment-method.is-selected .payment-method__radio { border-color: var(--amber); }

.payment-method__radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.payment-method.is-selected .payment-method__radio::after { opacity: 1; }

.payment-method__icon {
  width: 36px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
}

.payment-method__name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  flex: 1;
}

.payment-method__badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 8px;
  border: 1px solid var(--rule);
}

/* Review pane */
.review-section {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}

.review-section:last-of-type { border-bottom: none; }

.review-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-3);
}

.review-section__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.review-section__edit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.review-section__edit:hover { text-decoration: underline; }

.review-section__content {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

.review-section__content em {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

/* Order summary sidebar */
.order-summary {
  background: var(--cream);
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
}

.order-summary__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}

.order-summary__items {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex: 1;
  overflow-y: auto;
  max-height: 280px;
}

.order-summary__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  font-size: 13px;
}

.order-summary__item-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}

.order-summary__item-qty {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.order-summary__item-price {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.order-summary__rows {
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.order-summary__row strong { color: var(--ink); font-weight: 500; }

.order-summary__row--total {
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 13px;
}

.order-summary__row--total strong {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 500;
}

/* Step nav buttons */
.checkout-nav {
  padding: var(--s-5) var(--s-7);
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  background: var(--paper);
}

.checkout-back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease);
}

.checkout-back:hover { color: var(--ink); }

.checkout-next {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid var(--espresso);
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.checkout-next:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

.checkout-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success pane */
.checkout-success {
  padding: var(--s-9) var(--s-7);
  text-align: center;
}

.checkout-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-6);
  animation: success-pop 0.6s var(--ease-out);
}

@keyframes success-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.checkout-success__title {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--s-4);
}

.checkout-success__title em { font-style: italic; color: var(--amber); }

.checkout-success__order {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
}

.checkout-success__order strong { color: var(--ink); }

.checkout-success__body {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto var(--s-7);
}

.checkout-success__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid var(--espresso);
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.checkout-success__cta:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

/* ============================================================
   Wholesale modal
   ============================================================ */
.wholesale-modal__body {
  padding: var(--s-8) var(--s-7) var(--s-7);
}

.wholesale-modal__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-3);
}

.wholesale-modal__title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--s-5);
}

.wholesale-modal__title em { font-style: italic; color: var(--amber); }

.wholesale-modal__intro {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule);
}

.wholesale-success {
  text-align: center;
  padding: var(--s-7) 0;
}

.wholesale-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-5);
  animation: success-pop 0.5s var(--ease-out);
}

.wholesale-success__title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.wholesale-success__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================================
   Search overlay
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: none;
  flex-direction: column;
  background: rgba(26, 22, 18, 0.92);
  backdrop-filter: blur(8px);
}

.search-overlay.is-open {
  display: flex;
  animation: modal-fade-in 0.3s var(--ease);
}

.search-overlay__box {
  background: var(--paper);
  padding: var(--s-7) var(--s-6) var(--s-5);
  position: relative;
  animation: pane-in 0.4s var(--ease-out);
}

.search-overlay__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-overlay__close:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.search-overlay__form {
  max-width: 720px;
  margin: 0 auto;
}

.search-overlay__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
  display: block;
}

.search-overlay__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--ink);
}

.search-overlay__icon { color: var(--ink-muted); flex-shrink: 0; }

.search-overlay__input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  outline: none;
  padding: 8px 0;
}

.search-overlay__input::placeholder { color: var(--ink-faint); font-style: italic; }

.search-overlay__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--s-3);
}

.search-overlay__hint kbd {
  font-family: var(--mono);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  font-size: 10px;
  margin: 0 2px;
  color: var(--ink);
}

/* Search results */
.search-results {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-6);
  background: rgba(26, 22, 18, 0.96);
}

.search-results__inner {
  max-width: 720px;
  margin: 0 auto;
}

.search-results__group-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.search-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  cursor: pointer;
  transition: background 0.3s var(--ease);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  width: 100%;
  color: var(--cream);
}

.search-result:hover {
  background: rgba(245, 240, 232, 0.05);
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}

.search-result__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 4px;
}

.search-result__name em { font-style: italic; }

.search-result__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

.search-result__price {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
  align-self: center;
}

.search-result__price sup {
  font-size: 11px;
  vertical-align: super;
  color: rgba(245, 240, 232, 0.5);
  margin-right: 2px;
}

.search-empty {
  padding: var(--s-8) 0;
  text-align: center;
  color: rgba(245, 240, 232, 0.55);
  font-style: italic;
  font-family: var(--display);
  font-size: 22px;
}

/* ============================================================
   Image lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  background: rgba(14, 12, 10, 0.95);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
  animation: modal-fade-in 0.3s var(--ease);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: pane-in 0.4s var(--ease-out);
}

.lightbox__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 240, 232, 0.4);
  background: transparent;
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.lightbox__close:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

[data-lightbox] {
  cursor: zoom-in;
}

/* Responsive checkout */
@media (max-width: 880px) {
  .checkout-content { grid-template-columns: 1fr; }
  .checkout-form { border-right: none; border-bottom: 1px solid var(--rule); }
  .order-summary { padding: var(--s-6); }
  .checkout-steps { gap: var(--s-2); }
  .checkout-step__label { font-size: 9px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 720px) {
  .checkout-header { padding: var(--s-5) var(--s-5); }
  .checkout-form { padding: var(--s-5); }
  .checkout-nav { padding: var(--s-4) var(--s-5); }
  .checkout-title { font-size: 24px; }
  .checkout-success { padding: var(--s-7) var(--s-5); }
  .wholesale-modal__body { padding: var(--s-6) var(--s-5); }
  .search-overlay__box { padding: var(--s-5); }
  .nav__icon-btn { width: 34px; height: 34px; }
}


/* Responsive adjustments */
@media (max-width: 720px) {
  .product-modal__specs { grid-template-columns: 1fr 1fr; }
  .product-modal__foot { grid-template-columns: 1fr; gap: var(--s-4); }
  .product-modal__add { width: 100%; justify-content: center; }
  .brew-card__actions { flex-direction: column; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item__price { text-align: left; padding-top: var(--s-3); border-top: 1px solid var(--rule); }
}


/* ============================================================
   CAFE-SPECIFIC FUNCTIONAL UI
   ============================================================ */

/* Reservation modal */
.reservation-modal__body { padding: var(--s-7); }

.reservation-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-3);
}

.reservation-title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--s-5);
}

.reservation-title em { font-style: italic; color: var(--amber); }

.reservation-intro {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule);
}

/* Date pills (next 7 days) */
.date-pills {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: var(--s-5);
}

.date-pill {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 14px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.date-pill:hover { border-color: var(--ink); background: var(--cream); }

.date-pill.is-selected {
  border-color: var(--amber);
  background: var(--cream);
}

.date-pill__dow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.date-pill__day {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.date-pill__month {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.date-pill.is-selected .date-pill__dow,
.date-pill.is-selected .date-pill__month {
  color: var(--amber);
}

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: var(--s-5);
}

.time-slot {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 10px 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: var(--ink);
}

.time-slot:hover { border-color: var(--ink); background: var(--cream); }

.time-slot.is-selected {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--cream);
}

.time-slot[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}

/* Guest counter */
.guest-counter {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 12px 0;
}

.guest-counter__btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 16px;
  transition: all 0.3s var(--ease);
}

.guest-counter__btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.guest-counter__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.guest-counter__val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

.guest-counter__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Field group label */
.field-group-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.field-group-label-small {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
}

.reservation-section {
  margin-bottom: var(--s-7);
}

.reservation-section:last-of-type { margin-bottom: var(--s-5); }

/* Reservation success */
.reservation-success {
  text-align: center;
  padding: var(--s-7) var(--s-6);
}

.reservation-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-5);
  animation: success-pop 0.6s var(--ease-out);
}

.reservation-success__title {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--s-4);
}

.reservation-success__title em { font-style: italic; color: var(--amber); }

.reservation-success__details {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 2;
  margin-bottom: var(--s-6);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.reservation-success__details strong { color: var(--ink); font-weight: 500; }

.reservation-success__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: var(--s-7);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Team bio modal */
.team-bio {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-7);
  align-items: stretch;
  min-height: 360px;
}

.team-bio__photo {
  background: var(--cream);
  overflow: hidden;
}

.team-bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  min-height: 360px;
}

.team-bio__content {
  padding: var(--s-7) var(--s-7) var(--s-7) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-bio__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-3);
}

.team-bio__name {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: var(--s-5);
}

.team-bio__spec {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}

.team-bio__story {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}

.team-bio__facts {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.team-bio__fact {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.team-bio__fact strong { color: var(--ink); font-weight: 500; }

.sb-today__item { cursor: pointer; transition: opacity 0.2s var(--ease); }
.sb-today__item:hover { opacity: 0.7; }
.sb-today__item:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
button.sb-today__item { background: transparent; border: none; padding: 0; color: inherit; font: inherit; text-align: left; }

.sb-team-card { cursor: pointer; }
.sb-team-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

/* Bean today detail modal — uses product-modal styles. Custom small touches: */
.bean-today__hero {
  background: var(--espresso);
  color: var(--cream);
  padding: var(--s-7);
  margin: calc(-1 * var(--s-8)) calc(-1 * var(--s-7)) var(--s-6);
}

.bean-today__hero .product-modal__num { color: var(--amber); }
.bean-today__hero .product-modal__name { color: var(--cream); }
.bean-today__hero .product-modal__origin { color: rgba(245, 240, 232, 0.6); border-bottom-color: rgba(245, 240, 232, 0.15); }

@media (max-width: 720px) {
  .date-pills { grid-template-columns: repeat(4, 1fr); }
  .date-pills .date-pill:nth-child(n+5) { display: none; }
  .time-slots { grid-template-columns: repeat(4, 1fr); }
  .team-bio { grid-template-columns: 1fr; }
  .team-bio__photo img { min-height: 240px; }
  .team-bio__content { padding: var(--s-6); }
  .team-bio__name { font-size: 32px; }
}


/* === CAFE READABILITY FIX === */
/* Cafe body inherits light --cream color which makes modal content invisible.
   Force modal panels to use dark text since their bg is --paper (light). */
.modal__panel,
.cart-drawer,
.search-overlay__box {
  color: var(--ink);
}

.modal__panel input,
.modal__panel select,
.modal__panel textarea,
.cart-drawer input {
  color: var(--ink);
}

/* Toast stack uses dark bg so cream text is fine — but explicitly set to be safe */
.toast { color: var(--cream); }

/* Search overlay results section is dark, keep cream text */
.search-results { color: var(--cream); }
.search-result { color: var(--cream); }
.search-result__name,
.search-result__price { color: var(--cream); }

/* Reservation modal specific elements */
.reservation-eyebrow { color: var(--amber); }
.reservation-title,
.reservation-success__title,
.field-group-label,
.field__label,
.date-pill__day,
.date-pill__dow,
.date-pill__month,
.time-slot,
.guest-counter__val,
.guest-counter__label,
.team-bio__name,
.team-bio__story,
.team-bio__fact,
.product-modal__name,
.product-modal__notes,
.product-modal__story,
.product-modal__spec-value,
.product-modal__price {
  color: var(--ink);
}

.product-modal__origin,
.product-modal__spec-label,
.cart-drawer__title,
.cart-drawer__title-count,
.cart-item__name,
.cart-item__origin,
.checkout-title,
.checkout-pane__title,
.checkout-pane__intro,
.review-section__content,
.review-section__title,
.payment-method__name,
.team-bio__role,
.team-bio__spec {
  color: var(--ink);
}

.product-modal__notes,
.product-modal__story,
.checkout-pane__intro,
.team-bio__story {
  color: var(--ink-muted);
}

.product-modal__origin,
.product-modal__spec-label,
.cart-drawer__title-count,
.cart-item__origin,
.review-section__title,
.team-bio__role {
  color: var(--ink-muted);
}

/* Modal close X button */
.modal__close {
  color: var(--ink);
  background: var(--paper);
}

/* Cart drawer empty state */
.cart-drawer__empty,
.cart-drawer__empty-title,
.cart-drawer__empty-note {
  color: var(--ink);
}

.cart-drawer__empty-note,
.cart-drawer__empty {
  color: var(--ink-muted);
}

.cart-drawer__empty-title {
  color: var(--ink);
}

/* Filter chips */
.filter-chip {
  color: var(--ink-muted);
}
.filter-chip.is-active {
  color: var(--cream);
}

/* Order summary in checkout */
.order-summary,
.order-summary__title,
.order-summary__row,
.order-summary__item-name,
.order-summary__item-qty {
  color: var(--ink);
}

.order-summary__title,
.order-summary__row,
.order-summary__item-qty {
  color: var(--ink-muted);
}

/* Quiz / event type buttons (mobile + subscription too — applies harmlessly there) */
.event-type__name,
.event-type__desc,
.day-detail__location-name,
.day-detail__date-day,
.day-detail__meta-value,
.day-detail__menu-item {
  color: var(--ink);
}

.event-type__desc,
.day-detail__date-month,
.day-detail__meta-label,
.day-detail__body-text {
  color: var(--ink-muted);
}

/* Lightbox close button — already on dark bg, keep cream */
.lightbox__close { color: var(--cream); }

/* Wholesale modal */
.wholesale-modal__title,
.wholesale-modal__intro,
.wholesale-success__title,
.wholesale-success__body { color: var(--ink); }
.wholesale-modal__intro,
.wholesale-success__body { color: var(--ink-muted); }

/* Cadence pills, gift toggle (subscription — harmless on cafe) */
.cadence-pill__name,
.cadence-pill__detail,
.gift-toggle__title,
.gift-toggle__sub,
.sub-pane__title,
.sub-summary-row,
.reviews-modal__title,
.reviews-modal__quote,
.reviews-modal__author { color: var(--ink); }

.cadence-pill__detail,
.gift-toggle__sub,
.sub-pane__intro,
.sub-summary-row,
.reviews-modal__sub,
.reviews-modal__author { color: var(--ink-muted); }

/* === ANIMATIONS === */

/* ============================================================
   ENHANCED ANIMATIONS — 2026 polish
   ============================================================ */

/* 01. Scroll progress bar (luxury editorial) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--amber);
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* 02. Hero title cinematic reveal */
.hero-reveal-line {
  display: block;
  overflow: hidden;
}
.hero-reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: hero-line-up 1.1s var(--ease-out) forwards;
}
.hero-reveal-line:nth-of-type(1) > span { animation-delay: 0.1s; }
.hero-reveal-line:nth-of-type(2) > span { animation-delay: 0.25s; }
.hero-reveal-line:nth-of-type(3) > span { animation-delay: 0.4s; }
.hero-reveal-line:nth-of-type(4) > span { animation-delay: 0.55s; }

@keyframes hero-line-up {
  0%   { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 03. Hero image subtle parallax (CSS-driven, no JS jank) */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* 04. Card hover refinement — already on cards, this enhances */
.brew-card,
.wf-event-card,
.location-card,
.og-tier,
.og-review,
.at-bake,
.at-pair-card {
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease),
    border-color 0.4s var(--ease);
}

.brew-card:hover,
.wf-event-card:hover,
.location-card:hover,
.og-tier:hover,
.og-review:hover,
.at-bake:hover,
.at-pair-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -22px rgba(26, 22, 18, 0.22);
}

/* Image inside cards — subtle zoom on card hover */
.at-bake__img img,
.brew-card .brew-card__img img {
  transition: transform 1.2s var(--ease-out);
}

/* 05. Marquee pause on hover */
.marquee:hover .marquee__track,
.wf-ticker:hover .wf-ticker__track,
.at-ticker:hover .at-ticker__track {
  animation-play-state: paused;
}

/* 06. Number counter — uses CSS @property fallback to plain JS animation */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Link underline animation refinement */
.btn-text {
  position: relative;
  border-bottom: none;
  padding-bottom: 4px;
}

.btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}

.btn-text:hover::after {
  transform-origin: left center;
  animation: text-underline 0.8s var(--ease-out);
}

@keyframes text-underline {
  0%   { transform: scaleX(1); transform-origin: right center; }
  50%  { transform: scaleX(0); transform-origin: right center; }
  51%  { transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}

/* Button press effect */
.btn-primary,
.btn-outline,
.nav__cta {
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.15s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn-primary:active,
.btn-outline:active,
.nav__cta:active {
  transform: translateY(1px);
}

/* Smoother section reveal — adds slight blur clear */
.reveal {
  filter: blur(4px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
}

.reveal.is-visible {
  filter: blur(0);
}

/* Reduce motion — keep it accessible */
@media (prefers-reduced-motion: reduce) {
  .hero-reveal-line > span {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .reveal { filter: none !important; }
  [data-parallax] { transform: none !important; }
}