/* ===========================================================
   Brew & Bloom — Design Tokens
=========================================================== */
:root {
  --ink: #2E1B12;
  --cream: #FBF4E9;
  --cream-alt: #F3E5D3;
  --paper: #FFFDF9;
  --green: #5C7A54;
  --gold: #D9A857;
  --gold-soft: #F0D9A8;
  --noir: #0E0906;
  --noir-soft: #1C130C;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -20px rgba(46, 27, 18, 0.35);
  --shadow-card: 0 12px 30px -14px rgba(46, 27, 18, 0.25);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===========================================================
   Reset & Base
=========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--cream); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.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: fixed; top: -60px; left: 12px; z-index: 1000;
  background: var(--ink); color: var(--cream); padding: 10px 16px;
  border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===========================================================
   Buttons
=========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-solid, .btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #C68F3F 100%); color: var(--noir);
  box-shadow: 0 16px 34px -14px rgba(217,168,87,.55);
}
.btn-solid:hover, .btn-gold:hover {
  transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(217,168,87,.7);
  background: linear-gradient(135deg, #E6BC72 0%, var(--gold) 100%);
}
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--noir); transform: translateY(-2px); }
.btn-ghost { color: var(--cream); font-weight: 700; padding: 10px 14px; }
.btn-ghost:hover { color: var(--gold); }
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn-solid .btn-icon, .btn-gold .btn-icon { transition: transform .35s var(--ease); }
.btn-solid:hover .btn-icon, .btn-gold:hover .btn-icon { transform: translateX(3px); }

/* ===========================================================
   Header / Nav
=========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px 0; background: transparent;
  transition: background-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 9, 6, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--cream); }
.brand-mark { font-size: 1.5rem; }
.brand-name em { font-style: normal; color: var(--gold); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 600; font-size: .95rem; color: var(--paper);
  position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); transition: all .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Hero
=========================================================== */
.hero {
  position: relative; min-height: min(92vh, 800px); display: flex; align-items: center;
  overflow: hidden; color: var(--paper); padding: 128px 0 80px;
}
.hero--noir { background: var(--noir); }
.hero-glow {
  position: absolute; top: 8%; right: 4%; width: 620px; height: 620px;
  max-width: 70vw; max-height: 70vw;
  background: radial-gradient(circle, rgba(217,168,87,.32) 0%, rgba(217,168,87,.12) 45%, transparent 72%);
  filter: blur(10px); z-index: 0; border-radius: 50%; pointer-events: none;
}

.hero-row {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap-reverse;
}
.hero-inner { max-width: 620px; flex: 1 1 460px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--gold); margin-bottom: 18px;
}
.eyebrow.center { text-align: center; }
.eyebrow--rules { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--rules::before, .eyebrow--rules::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--gold { color: var(--gold); }

.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero-title .reveal-line { display: block; overflow: hidden; }
.hero-title .reveal-line span { display: inline-block; }
.hero-title--noir { color: var(--cream); }
.hero-title--noir .gold { color: var(--gold); }

.hero-divider { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-divider-line { width: 64px; height: 1px; background: rgba(217,168,87,.5); }
.hero-divider-bean { color: var(--gold); flex-shrink: 0; }

.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 520px; color: rgba(255,255,255,.88); }
.hero-sub--noir { color: rgba(240,217,168,.72); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }

.btn-play { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--cream); }
.btn-play-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(217,168,87,.6);
  color: var(--gold); flex-shrink: 0; transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn-play:hover .btn-play-icon { background: rgba(217,168,87,.15); transform: scale(1.06); }

.hero-badges {
  display: flex; flex-wrap: nowrap; gap: 0; margin-top: 34px; padding: 16px 8px;
  max-width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-md);
  background: rgba(46,27,18,.28); backdrop-filter: blur(6px);
}
.hero-badges--noir { background: rgba(255,255,255,.04); border-color: rgba(217,168,87,.25); }
.hero-badge {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px;
  border-right: 1px solid rgba(255,255,255,.18);
  flex: 1 1 0; min-width: 0;
}
.hero-badges--noir .hero-badge { border-right-color: rgba(217,168,87,.2); }
.hero-badge:last-child { border-right: none; }
.hero-badge-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.hero-badges--noir .hero-badge-icon { color: var(--gold); }
.hero-badge-text { display: flex; flex-direction: column; font-size: .74rem; color: rgba(255,255,255,.8); min-width: 0; }
.hero-badge-text strong { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 2px; white-space: nowrap; }
@media (max-width: 720px) {
  .hero-badges { flex-direction: column; flex-wrap: wrap; padding: 16px; }
  .hero-badge { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); padding: 10px 4px; }
  .hero-badges--noir .hero-badge { border-bottom-color: rgba(217,168,87,.2); }
  .hero-badge:last-child { border-bottom: none; }
}

.hero-float {
  position: relative; flex: 0 1 420px; width: min(420px, 38vw);
  z-index: 2; margin: 0; display: none;
  transform-origin: 68% 62%;
  filter: drop-shadow(0 35px 45px rgba(0,0,0,.45));
}
.hero-float img {
  width: 100%; height: auto; display: block;
}
@media (min-width: 1000px) { .hero-float { display: block; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove { 0%,100% { top: 8px; opacity: 1; } 60% { top: 20px; opacity: 0; } }

/* ===========================================================
   Marquee
=========================================================== */
.marquee {
  background: var(--noir-soft); color: var(--cream-alt);
  overflow: hidden; padding: 16px 0; white-space: nowrap;
  border-top: 1px solid rgba(217,168,87,.12); border-bottom: 1px solid rgba(217,168,87,.12);
}
.marquee-track {
  display: inline-flex; gap: 28px; align-items: center;
  animation: marqueeScroll 26s linear infinite;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
}
.marquee-track span:nth-child(2n) { color: var(--gold); font-size: .8rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================================================
   Section shared
=========================================================== */
section { padding: 110px 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-sub { color: rgba(251,244,233,.65); max-width: 560px; margin: -8px auto 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===========================================================
   Story
=========================================================== */
.story { background: var(--noir); }
.story p { color: rgba(251,244,233,.75); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: .9fr 1fr; gap: 80px; } }

.story-media { position: relative; }
.story-media img:first-child { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-media-accent {
  position: absolute; width: 46%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-md); border: 6px solid var(--noir);
  box-shadow: var(--shadow-card); bottom: -32px; right: -28px;
}

.story-copy h2 { max-width: 480px; }
.stat-row { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); font-weight: 700; }
.stat-number { display: inline; }
.stat-suffix { display: inline; }
.stat-label { font-size: .82rem; color: rgba(251,244,233,.6); font-weight: 600; margin-top: 4px; }

/* ===========================================================
   Stats Bar
=========================================================== */
.stats-bar { background: var(--noir); padding: 0; }
.stats-bar-inner { display: flex; flex-wrap: wrap; align-items: stretch; }
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  padding: 48px 0; flex: 1 1 640px;
}
@media (min-width: 720px) { .stats-bar-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-bar-grid .stat-label { color: rgba(251,244,233,.65); }
.stats-bar-quote {
  flex: 1 1 260px; display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0 32px 40px; border-left: 1px solid rgba(217,168,87,.18);
}
.stats-bar-script { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-soft); margin: 0 0 6px; }
.stats-bar-sub { font-size: .85rem; color: rgba(251,244,233,.6); margin: 0; }
@media (max-width: 720px) {
  .stats-bar-inner { flex-direction: column; }
  .stats-bar-quote { border-left: none; border-top: 1px solid rgba(251,244,233,.14); padding: 28px 0; }
}

/* ===========================================================
   Features
=========================================================== */
.features { background: var(--noir-soft); padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 800px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(217,168,87,.16);
  border-radius: var(--radius-md); padding: 32px 24px;
  text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(217,168,87,.4); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: rgba(251,244,233,.6); margin: 0; }

/* ===========================================================
   Menu
=========================================================== */
.menu-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.menu-card {
  background: var(--noir-soft); border: 1px solid rgba(217,168,87,.14); border-radius: var(--radius-md); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.menu-card:hover { transform: translateY(-8px); border-color: rgba(217,168,87,.4); }
.menu-card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-card:hover .menu-card-img img { transform: scale(1.08); }
.tag {
  position: absolute; top: 14px; left: 14px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; color: var(--noir);
}
.tag--green { background: var(--green); color: #fff; }
.tag--terracotta { background: var(--gold); }
.menu-card-body { padding: 20px 22px 24px; }
.menu-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-card-head h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price { font-weight: 800; color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; }
.menu-card-body p { font-size: .9rem; color: rgba(251,244,233,.6); margin: 0; }
.menu-cta { margin-top: 48px; }

/* ===========================================================
   Gallery
=========================================================== */
.gallery { background: var(--noir-soft); }
.gallery .eyebrow, .gallery .section-title { color: var(--cream); }
.gallery .eyebrow { color: var(--gold); }
.gallery-grid {
  margin-top: 50px; column-count: 1; column-gap: 16px; padding: 0 24px; max-width: var(--container); margin-inline: auto;
}
@media (min-width: 640px) { .gallery-grid { column-count: 2; } }
@media (min-width: 980px) { .gallery-grid { column-count: 3; } }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-md); overflow: hidden; }
.gallery-item:nth-child(3n+1) img { aspect-ratio: 3/4; }
.gallery-item:nth-child(3n+2) img { aspect-ratio: 1/1; }
.gallery-item:nth-child(3n) img { aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.15); }

/* ===========================================================
   Reviews
=========================================================== */
.reviews { background: var(--noir); }
.reviews-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.review-card {
  margin: 0; background: var(--noir-soft); border: 1px solid rgba(217,168,87,.14);
  border-radius: var(--radius-md); padding: 30px;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: .95rem; }
.review-card p { font-style: italic; color: rgba(251,244,233,.85); font-size: 1rem; }
.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-card footer img { border-radius: 50%; }
.review-card footer div { display: flex; flex-direction: column; font-size: .82rem; }
.review-card cite { font-style: normal; font-weight: 700; color: var(--cream); }
.review-card footer span { color: rgba(251,244,233,.55); }

/* ===========================================================
   Visit / Map
=========================================================== */
.visit { background: var(--noir-soft); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: stretch; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: .85fr 1.15fr; } }
.visit-copy h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.visit-detail { margin-bottom: 20px; }
.visit-detail h4 { margin: 0 0 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.visit-detail p { margin: 0; color: rgba(251,244,233,.65); }
.visit-detail a:hover { color: var(--gold); }
.visit-copy .btn { margin-top: 12px; }
.visit-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 340px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ===========================================================
   CTA Banner
=========================================================== */
.cta-banner {
  background: radial-gradient(ellipse 700px 500px at 50% 0%, rgba(217,168,87,.16), transparent 70%), var(--noir);
  color: var(--cream); text-align: center;
}
.cta-banner h2 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-banner p { color: rgba(251,244,233,.8); max-width: 460px; margin: 0 auto 30px; }
.cta-banner-inner .hero-actions { justify-content: center; }

/* ===========================================================
   Footer
=========================================================== */
.site-footer { background: var(--noir); color: rgba(251,244,233,.75); padding: 80px 0 0; border-top: 1px solid rgba(217,168,87,.12); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: var(--cream); }
.footer-brand p { margin-top: 12px; max-width: 280px; font-size: .9rem; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(251,244,233,.08); transition: background .3s var(--ease), color .3s var(--ease);
}
.social-links a:hover { background: var(--gold); color: var(--noir); }
.footer-col h4 { color: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .92rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.newsletter-form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(251,244,233,.2);
  background: rgba(251,244,233,.06); color: var(--cream); font-size: .88rem;
}
.newsletter-form input::placeholder { color: rgba(251,244,233,.4); }
.newsletter-form .btn { padding: 12px 20px; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(251,244,233,.1); margin-top: 60px; padding: 22px 0; font-size: .82rem; text-align: center; }

/* ===========================================================
   Reveal animation base state (GSAP overrides on load)
=========================================================== */
.reveal { opacity: 0; transform: translateY(28px); }
.js-ready .reveal { transition: opacity .01s; }
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

/* ===========================================================
   Mobile nav
=========================================================== */
@media (max-width: 880px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open { background: var(--noir); padding: 16px 0; }

  .main-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 0; padding: 110px 32px 40px;
    background: var(--noir); z-index: 90;
  }
  .main-nav.is-open a {
    color: var(--cream) !important; font-size: 1.4rem; padding: 16px 0;
    border-bottom: 1px solid rgba(217,168,87,.15);
  }
  .nav-cta.is-open {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 30px;
    padding: 0 32px; z-index: 91; gap: 12px;
  }
  .nav-cta.is-open .btn { width: 100%; }
  .nav-cta.is-open .btn-ghost { color: var(--cream); border: 1.5px solid rgba(217,168,87,.4); border-radius: 999px; }
}

@media (max-width: 560px) {
  section { padding: 76px 0; }
  .hero { padding: 110px 0 60px; min-height: auto; }
}
