/* ==========================================================================
   The Daily Bean — 2026 Concept Design System
   Vernon, New Jersey — Creekside Coffeehouse
   An EnAibleWorks vision presentation
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; -webkit-appearance: none; appearance: none; }
ul { list-style: none; }
input, textarea, select { font: inherit; }
svg { display: block; }

/* ---------- Design Tokens ---------- */
:root {
  /* Color palette */
  --warm-white: #FBF7F0;
  --cream: #F4ECDD;
  --linen: #EDE3D0;
  --sand: #E3D5BC;
  --sand-line: #D9C7A3;

  --sage-100: #E4E9DF;
  --sage-300: #B7C4AC;
  --sage-500: #8A9A80;
  --sage-600: #71826A;

  --forest: #3F5A48;
  --forest-deep: #2A3E32;

  --walnut: #5B4636;
  --walnut-light: #8A6C54;

  --espresso: #2E211A;
  --espresso-soft: #4A382D;

  --gold: #C69A4C;
  --gold-light: #E4C98A;
  --gold-soft: #F2E6CB;

  --ink: var(--espresso);
  --muted: #6E5D4F;
  --muted-light: #8A7A6C;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Lora', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 800px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 14px rgba(46, 33, 26, 0.07);
  --shadow-md: 0 14px 42px rgba(46, 33, 26, 0.12);
  --shadow-lg: 0 26px 70px rgba(46, 33, 26, 0.18);
  --shadow-gold: 0 8px 24px rgba(198, 154, 76, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.65s;
  --dur-slow: 1.1s;

  --nav-h: 88px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.7rem, 5.6vw, 5.4rem); font-weight: 440; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; }

p { color: var(--muted); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-lg); }

.section { padding: var(--space-3xl) 0; }
.section-tight { padding: var(--space-xl) 0; }
.section-alt { background: var(--cream); }
.section-forest { background: var(--forest-deep); color: var(--warm-white); }
.section-forest h2, .section-forest h3, .section-forest p { color: var(--warm-white); }
.section-forest .muted-on-dark { color: rgba(251, 247, 240, 0.72); }

.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: var(--space-sm); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--forest); color: var(--warm-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--espresso); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--espresso); border: 1.5px solid var(--sand-line); }
.btn-outline:hover { background: var(--linen); transform: translateY(-2px); }
.btn-outline-light { background: rgba(251, 247, 240, 0.08); color: var(--warm-white); border: 1.5px solid rgba(251, 247, 240, 0.55); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(251, 247, 240, 0.18); transform: translateY(-2px); }
.btn-sm { padding: 0.65rem 1.35rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.nav.scrolled {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { color: var(--gold); flex-shrink: 0; transition: transform var(--dur-med) var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--espresso); }
.nav.scrolled .brand-name, body:not(.is-home) .brand-name { color: var(--espresso); }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }

.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--espresso); position: relative; padding: 0.3rem 0; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

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

/* Nav starts transparent-on-dark over the hero */
.nav:not(.scrolled) .brand-name,
.nav:not(.scrolled) .nav-links a {
  color: var(--warm-white);
}
.nav:not(.scrolled) .nav-links a::after { background: var(--gold-light); }
.nav:not(.scrolled) .btn-outline { color: var(--warm-white); border-color: rgba(251, 247, 240, 0.55); }
.nav:not(.scrolled) .brand-tag { color: rgba(251, 247, 240, 0.75); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: currentColor;
  color: inherit;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  background: var(--espresso);
}
.nav:not(.scrolled) .nav-toggle span { background: var(--warm-white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--nav-h) + var(--space-md)) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  z-index: 99;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a { display: flex; align-items: center; min-height: 44px; font-size: 1.05rem; font-weight: 600; color: var(--espresso); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,33,26,0.42) 0%, rgba(46,33,26,0.18) 38%, rgba(46,33,26,0.62) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding: calc(var(--nav-h) + var(--space-xl)) 0 var(--space-2xl); }
.hero-content .inner { max-width: 760px; padding: 0 var(--space-lg); margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--gold-light);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.hero h1 { color: var(--warm-white); text-shadow: 0 4px 24px rgba(0,0,0,0.18); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin: var(--space-md) auto 0;
  max-width: 560px;
  font-size: 1.18rem;
  color: rgba(251, 247, 240, 0.88);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: var(--space-lg); flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: var(--space-lg); transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(251, 247, 240, 0.85); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(251, 247, 240, 0.55); overflow: hidden; position: relative; }
.hero-scroll .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* Page hero — shorter variant for interior pages */
.hero.hero-sm { min-height: 56vh; }
.hero.hero-sm .hero-content { padding: calc(var(--nav-h) + var(--space-lg)) 0 var(--space-xl); }
.hero.hero-sm h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(251,247,240,0.75); margin-bottom: var(--space-sm);
}
.breadcrumb a { color: rgba(251,247,240,0.9); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--space-md); }
.card-body h3 { margin-bottom: 0.35rem; }
.card-body p { font-size: 0.95rem; }

.badge-row { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.4rem; flex-wrap: wrap; z-index: 2; }
.badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.badge-popular { background: rgba(198, 154, 76, 0.92); color: var(--espresso); }
.badge-favorite { background: rgba(63, 90, 72, 0.92); color: var(--warm-white); }
.badge-seasonal { background: rgba(251, 247, 240, 0.92); color: var(--espresso); border: 1px solid var(--sand-line); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.story-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-media img { aspect-ratio: 4/5; object-fit: cover; }
.story-media-tag {
  position: absolute; bottom: var(--space-md); left: var(--space-md);
  background: rgba(251, 247, 240, 0.94); backdrop-filter: blur(6px);
  padding: 0.9rem 1.2rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--espresso);
  max-width: 260px;
  box-shadow: var(--shadow-sm);
}
.story-copy p { margin-top: var(--space-sm); font-size: 1.05rem; }
.story-copy p:first-of-type { margin-top: var(--space-md); }
.pull-note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-left: 3px solid var(--gold);
  background: var(--linen);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.pull-note strong { color: var(--espresso); }

/* ---------- Icon cards (values / philosophy) ---------- */
.icon-card {
  background: var(--white); border-radius: var(--radius-md); padding: var(--space-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-card .icon-badge {
  width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--sage-100); color: var(--forest);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md);
}
.icon-card h3 { margin-bottom: 0.5rem; }
.icon-card p { font-size: 0.95rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before { content: ''; position: absolute; left: 0.7rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--sand-line); }
.timeline-item { position: relative; padding-bottom: var(--space-xl); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.6rem; top: 0.3rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--warm-white); box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .timeline-date { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.timeline-item h3 { margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.98rem; }

/* ---------- Menu list rows (full menu page) ---------- */
.menu-category-title { margin-bottom: var(--space-md); display: flex; align-items: baseline; justify-content: space-between; }
.menu-item-row {
  display: flex; gap: var(--space-md); align-items: center;
  padding: var(--space-md) 0; border-bottom: 1px solid var(--linen);
}
.menu-item-row:last-child { border-bottom: none; }
.menu-item-thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.menu-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.menu-item-top h4 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.menu-item-price { font-family: var(--font-display); font-size: 1.02rem; color: var(--forest); font-weight: 600; margin-left: auto; white-space: nowrap; }
.menu-item-info p { font-size: 0.92rem; margin-top: 0.2rem; }
.menu-item-badges { display: flex; gap: 0.35rem; margin-top: 0.4rem; }
.menu-badge-mini {
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem; border-radius: var(--radius-full); background: var(--sage-100); color: var(--forest);
}

/* ---------- Page intro (interior pages) ---------- */
.page-intro { max-width: 720px; margin: 0 auto var(--space-2xl); text-align: center; }
.page-intro p { font-size: 1.1rem; margin-top: var(--space-md); }

/* ---------- Menu tabs ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-xl); }
.menu-tab {
  padding: 0.65rem 1.3rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-line); font-weight: 600; font-size: 0.9rem;
  color: var(--espresso); background: var(--warm-white);
  transition: all var(--dur-fast) var(--ease);
}
.menu-tab:hover, .menu-tab.active { background: var(--forest); color: var(--warm-white); border-color: var(--forest); }

/* ---------- Split / feature sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-copy { display: flex; align-items: center; padding: var(--space-2xl) var(--space-xl); min-width: 0; }
.split-copy .inner { max-width: 460px; min-width: 0; }
.split-copy p { margin-top: var(--space-sm); font-size: 1.05rem; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.feature-list { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; color: var(--muted); list-style: none; }
.feature-list svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }

/* ---------- Meet Bean ---------- */
.bean-section { position: relative; overflow: hidden; }
.bean-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); align-items: center; }
.bean-photos { position: relative; }
.bean-photo-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; }
.bean-photo-float {
  position: absolute; bottom: -2rem; left: -2rem;
  width: 46%; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--warm-white);
  aspect-ratio: 1/1;
}
.bean-facts { margin-top: var(--space-lg); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.bean-fact { background: var(--warm-white); border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); box-shadow: var(--shadow-sm); }
.bean-fact-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.bean-fact-value { font-family: var(--font-display); font-size: 1.05rem; margin-top: 0.2rem; }
.bean-mark { position: absolute; opacity: 0.06; color: var(--forest); pointer-events: none; }

/* ---------- Owners ---------- */
.owners-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-2xl); align-items: center; }
.owner-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.owner-photo-placeholder {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  text-align: center; padding: var(--space-xl);
  background:
    repeating-linear-gradient(135deg, rgba(198,154,76,0.05) 0px, rgba(198,154,76,0.05) 1px, transparent 1px, transparent 14px),
    linear-gradient(160deg, var(--linen) 0%, var(--cream) 100%);
}
.owner-photo-placeholder::before {
  content: ''; position: absolute; inset: 14px; border: 1px solid rgba(198,154,76,0.35); pointer-events: none;
}
.owner-photo-placeholder .placeholder-icon {
  width: 60px; height: 60px; border-radius: var(--radius-full);
  background: var(--warm-white); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.owner-photo-placeholder .placeholder-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--espresso); }
.owner-photo-placeholder .placeholder-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.owner-photo-placeholder .placeholder-sub { font-size: 0.85rem; color: var(--muted-light); max-width: 220px; }
.owner-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--espresso); line-height: 1.4; }
.owner-name { margin-top: var(--space-md); font-weight: 700; }
.owner-role { color: var(--muted-light); font-size: 0.9rem; }

/* ---------- Reviews ---------- */
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: var(--space-sm); }
.testimonial-wrap { position: relative; }
.testimonial-track {
  display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem; scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 min(420px, 84vw); scroll-snap-align: start;
  background: var(--warm-white); border-radius: var(--radius-md); padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial-card p { font-size: 1.02rem; color: var(--espresso-soft); }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--space-md); }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: var(--radius-full); background: var(--sage-100);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--forest); font-weight: 600;
}
.carousel-nav { display: flex; gap: 0.6rem; margin-top: var(--space-lg); justify-content: center; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: var(--radius-full); border: 1.5px solid var(--sand-line);
  display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease);
}
.carousel-btn:hover { background: var(--forest); color: var(--warm-white); border-color: var(--forest); }

/* ---------- Instagram gallery ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-sm); }
.insta-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-med) var(--ease); }
.insta-item:hover { box-shadow: var(--shadow-md); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease); }
.insta-item:hover img { transform: scale(1.08); }
.insta-item::after {
  content: ''; position: absolute; inset: 0; background: rgba(46,33,26,0); transition: background var(--dur-fast) var(--ease);
}
.insta-item:hover::after { background: rgba(46,33,26,0.18); }

/* ---------- Events ---------- */
.event-card { display: flex; gap: var(--space-md); background: var(--white); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-sm); }
.event-date {
  flex-shrink: 0; width: 68px; height: 68px; border-radius: var(--radius-sm);
  background: var(--forest); color: var(--warm-white); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.event-date .day { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.event-date .mon { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }
.event-copy h3 { font-size: 1.15rem; }
.event-copy p { font-size: 0.92rem; margin-top: 0.25rem; }
.event-tag { display: inline-block; margin-top: 0.5rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }

/* ---------- Visit / map ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: stretch; }
.visit-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-md); }
.visit-row { display: flex; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--linen); }
.visit-row:last-child { border-bottom: none; }
.visit-row svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.visit-row h4 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.visit-row p { font-size: 0.92rem; }
.map-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  min-height: 320px; height: 100%;
  background: var(--sage-100);
  display: flex; align-items: center; justify-content: center;
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.9; }
.map-pin {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: rgba(251,247,240,0.95); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  text-align: center; max-width: 240px;
}
.map-pin svg { color: var(--forest); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--forest-deep); color: var(--warm-white); border-radius: var(--radius-lg); padding: var(--space-2xl); text-align: center; }
.newsletter h2 { color: var(--warm-white); }
.newsletter p { color: rgba(251,247,240,0.78); margin-top: var(--space-sm); max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; margin: var(--space-lg) auto 0; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 0.95rem 1.3rem; border-radius: var(--radius-full);
  border: 1.5px solid rgba(251,247,240,0.3); background: rgba(251,247,240,0.08); color: var(--warm-white);
}
.newsletter-form input::placeholder { color: rgba(251,247,240,0.6); }
.newsletter-note { margin-top: var(--space-sm); font-size: 0.78rem; color: rgba(251,247,240,0.55); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(251,247,240,0.85); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-xl); }
.footer h4 { color: var(--warm-white); font-size: 0.95rem; margin-bottom: var(--space-sm); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-sm); }
.footer-brand .brand-name { color: var(--warm-white); }
.footer p { color: rgba(251,247,240,0.65); font-size: 0.92rem; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { display: flex; align-items: center; min-height: 40px; font-size: 0.92rem; color: rgba(251,247,240,0.72); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 0.6rem; margin-top: var(--space-md); }
.social-btn {
  width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid rgba(251,247,240,0.25);
  display: flex; align-items: center; justify-content: center; color: var(--warm-white);
  transition: all var(--dur-fast) var(--ease);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.footer-bottom {
  margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid rgba(251,247,240,0.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: rgba(251,247,240,0.5);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }

/* ---------- Placeholder ribbon ---------- */
.concept-ribbon {
  position: fixed; bottom: var(--space-md); right: var(--space-md); z-index: 90;
  background: rgba(46,33,26,0.92); color: var(--warm-white); backdrop-filter: blur(6px);
  padding: 0.6rem 1rem; border-radius: var(--radius-full); font-size: 0.74rem; font-weight: 600;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.5rem;
}
.concept-ribbon svg { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .owners-grid, .bean-grid, .visit-grid, .grid-2 { grid-template-columns: 1fr; }
  .story-grid { gap: var(--space-xl); }
  .story-media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split-copy { padding: var(--space-xl) var(--space-lg); }
  .split-media img { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bean-photo-float { left: 0; }
}

@media (max-width: 640px) {
  :root { --space-3xl: 5rem; --space-2xl: 3.5rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 var(--space-md); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { width: 100%; }
  .event-card { flex-direction: column; }
  .concept-ribbon span.ribbon-text { display: none; }
}
