/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --espresso:      #1A0F0A;
  --espresso-2:    #221208;
  --espresso-3:    #2A1810;
  --cream:         #F5ECD7;
  --amber:         #C97B2E;
  --amber-light:   #D98E42;
  --blush:         #E8C4A0;
  --muted:         #8A7560;
  --muted-dark:    #5A4D3E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease-quart:   cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth:  cubic-bezier(0.32, 0.72, 0, 1);

  --max-w: 1200px;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; }

/* ===========================
   GRAIN OVERLAY — fixed, pointer-events-none
   =========================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-style: italic; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-style: italic; }
h3 { font-size: 1.3rem; font-style: italic; }

/* ===========================
   EYEBROW BADGE
   =========================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 123, 46, 0.32);
  background: rgba(201, 123, 46, 0.07);
  color: var(--amber);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.9rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-quart);
  cursor: pointer;
  border: none;
}

.btn-filled {
  background: var(--amber);
  color: var(--espresso);
}

.btn-filled:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
}

.btn-filled:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 236, 215, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(245, 236, 215, 0.45);
  background: rgba(245, 236, 215, 0.04);
  transform: translateY(-2px);
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.6rem 2rem;
  transition: padding 0.5s var(--ease-smooth), background 0.5s var(--ease-smooth), border-color 0.5s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 1rem 2rem;
  background: rgba(26, 15, 10, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(201, 123, 46, 0.1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-quart);
}

.nav-logo:hover { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  color: rgba(245, 236, 215, 0.65);
  transition: color 0.3s var(--ease-quart);
  letter-spacing: 0.015em;
}

.nav-links a:hover { color: var(--cream); }

.nav-cta {
  padding: 0.58rem 1.35rem;
  background: var(--amber);
  color: var(--espresso) !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.83rem !important;
  transition: background 0.3s var(--ease-quart), transform 0.3s var(--ease-quart) !important;
}

.nav-cta:hover {
  background: var(--amber-light);
  transform: translateY(-1px) !important;
  color: var(--espresso) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.4s var(--ease-smooth);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.7px, 4.7px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.7px, -4.7px); }

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(22, 12, 7, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav ul li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.mobile-nav.open ul li { opacity: 1; transform: translateY(0); }
.mobile-nav.open ul li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open ul li:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav.open ul li:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open ul li:nth-child(4) { transition-delay: 0.23s; }

.mobile-nav ul a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.75rem;
  color: var(--cream);
  transition: color 0.3s;
}

.mobile-nav ul a:hover { color: var(--amber); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9rem 2rem 5rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 80% at 22% 52%, rgba(201, 123, 46, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 72% 72%, rgba(201, 123, 46, 0.05) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-title { margin-top: 0.4rem; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(245, 236, 215, 0.6);
  max-width: 44ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* Floating cards */
.hero-right {
  display: flex;
  justify-content: center;
}

.cards-stack {
  position: relative;
  width: 270px;
  height: 490px;
}

.hcard {
  position: absolute;
  width: 245px;
  border-radius: 20px;
  overflow: hidden;
  /* outer bezel */
  padding: 6px;
  background: rgba(245, 236, 215, 0.04);
  border: 1px solid rgba(201, 123, 46, 0.18);
}

/* inner bezel */
.hcard-in {
  background: var(--espresso-2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(245, 236, 215, 0.06);
}

.hcard-img {
  height: 88px;
}

.hcard-img--blackberry { background: linear-gradient(135deg, #2D1535, #5A2060 80%); }
.hcard-img--latte      { background: linear-gradient(135deg, #3D1A05, #8B4A18 80%); }
.hcard-img--smoothie   { background: linear-gradient(135deg, #2A0F1F, #6B1E48 80%); }

.hcard-body { padding: 0.85rem 0.9rem 0.8rem; }

.hcard-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 500;
}

.hcard-body h3 {
  font-size: 1rem;
  margin: 0.2rem 0 0.18rem;
}

.hcard-body p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.card-1 { top: 0;   left: 22px; z-index: 3; animation: floatA 4.5s ease-in-out infinite; }
.card-2 { top: 152px; left: 0;  z-index: 2; animation: floatB 5.5s ease-in-out infinite 1s; }
.card-3 { top: 304px; left: 30px; z-index: 1; animation: floatC 4s ease-in-out infinite 0.5s; }

@keyframes floatA {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%       { transform: rotate(-4deg) translateY(-13px); }
}
@keyframes floatB {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-10px); }
}
@keyframes floatC {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%       { transform: rotate(-2deg) translateY(-17px); }
}

/* ===========================
   SECTION SHELL
   =========================== */
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 3.5rem;
}

.section-head h2 { margin-top: 0.35rem; }

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 50ch;
}

/* ===========================
   MENU SECTION
   =========================== */
.menu-section { background: var(--espresso-2); }

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 123, 46, 0.2);
  background: transparent;
  color: var(--muted);
  font-size: 0.83rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s var(--ease-quart);
}

.tab-btn:hover { color: var(--cream); border-color: rgba(201, 123, 46, 0.4); }

.tab-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--espresso);
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Menu card base */
.mcard {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(245, 236, 215, 0.025);
  border: 1px solid rgba(201, 123, 46, 0.1);
  transition: border-color 0.4s var(--ease-quart), transform 0.4s var(--ease-quart);
}

.mcard:hover {
  border-color: rgba(201, 123, 46, 0.28);
  transform: translateY(-3px);
}

.mcard-img { height: 140px; }
.mcard-img--featured { height: 200px; }

.mcard-img--blackberry { background: linear-gradient(140deg, #2D1535, #5A2060); }
.mcard-img--matcha     { background: linear-gradient(140deg, #1A2E15, #2D5520); }
.mcard-img--latte2     { background: linear-gradient(140deg, #3D1A05, #7A3A10); }
.mcard-img--ube        { background: linear-gradient(140deg, #1F1535, #3D2A5A); }
.mcard-img--blueberry  { background: linear-gradient(140deg, #12183A, #1E3066); }
.mcard-img--smoothie2  { background: linear-gradient(140deg, #3D1020, #7A1E48); }

.mcard-body { padding: 1.2rem 1.4rem 1.4rem; }

.mcard-body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }

.mcard-body p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

.mcard-tag {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.18rem 0.65rem;
  border-radius: 100px;
  background: rgba(201, 123, 46, 0.13);
  color: var(--amber);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Small card (no image) */
.mcard-sm {
  padding: 1rem 1.25rem 1.2rem;
}

.mcard-sm h3 { font-size: 1.05rem; margin-bottom: 0.28rem; }
.mcard-sm p { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* Toasts layout */
.toasts-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.25rem;
  align-items: start;
}

.toasts-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Drinks layout — asymmetric 2-col */
.drinks-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.25rem;
}

.drinks-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Smoothies */
.smoothies-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.smoothies-note {
  padding: 2rem;
  background: rgba(201, 123, 46, 0.05);
  border: 1px solid rgba(201, 123, 46, 0.14);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.smoothies-note h3 { color: var(--amber); font-size: 1.2rem; }
.smoothies-note p  { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section { position: relative; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-left h2 { margin-top: 0.25rem; }

.about-left p {
  font-size: 0.93rem;
  color: rgba(245, 236, 215, 0.6);
  line-height: 1.8;
  max-width: 50ch;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: rgba(245, 236, 215, 0.55);
}

.about-feat svg { color: var(--amber); flex-shrink: 0; }

/* Double-bezel card */
.about-card-outer {
  padding: 7px;
  background: rgba(245, 236, 215, 0.03);
  border: 1px solid rgba(201, 123, 46, 0.14);
  border-radius: 26px;
}

.about-card-inner {
  background: var(--espresso-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(245, 236, 215, 0.05);
}

.about-img-block {
  height: 210px;
  position: relative;
  background: linear-gradient(160deg, #3D2010, #6B3820 40%, #8A4A25 100%);
}

.about-img-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--espresso-2));
}

.about-card-text {
  padding: 1.8rem 2rem 2.1rem;
}

.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 1.3rem;
}

.about-attr-name {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--amber);
}

.about-attr-role {
  display: block;
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-section { background: var(--espresso-2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tcard {
  background: rgba(245, 236, 215, 0.03);
  border: 1px solid rgba(201, 123, 46, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.tcard blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.65;
  border: none;
  padding: 0;
}

.tcard--wide {
  grid-column: 1 / -1;
  background: rgba(201, 123, 46, 0.055);
  border-color: rgba(201, 123, 46, 0.18);
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}

.tcard--wide blockquote { font-size: 1.3rem; flex: 1; }

.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.tcard--wide .tcard-author {
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, #4A2E10, #7A4A20); }
.av-2 { background: linear-gradient(135deg, #2D1A35, #4A2D55); }
.av-3 { background: linear-gradient(135deg, #1A3020, #2D5535); }

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--cream);
}

.author-loc {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ===========================
   VISIT SECTION
   =========================== */
.visit-section { position: relative; }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.visit-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.visit-info h2 { margin-top: 0.25rem; }

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.vdetail h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.vdetail p, .vdetail address {
  font-size: 0.92rem;
  color: rgba(245, 236, 215, 0.65);
  line-height: 1.65;
  font-style: normal;
}

.vdetail a {
  color: rgba(245, 236, 215, 0.65);
  transition: color 0.3s var(--ease-quart);
}

.vdetail a:hover { color: var(--amber); }

.hours-rows { display: flex; flex-direction: column; gap: 0; }

.hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(245, 236, 215, 0.65);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(245, 236, 215, 0.06);
}

.hour-row:last-child { border-bottom: none; }
.hour-row--closed { color: var(--muted-dark); }

/* Map — double bezel */
.map-outer {
  padding: 7px;
  background: rgba(245, 236, 215, 0.03);
  border: 1px solid rgba(201, 123, 46, 0.14);
  border-radius: 26px;
  position: sticky;
  top: 6rem;
}

.map-inner {
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: inset 0 1px 0 rgba(245, 236, 215, 0.05);
}

.map-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: sepia(55%) saturate(55%) hue-rotate(-12deg) brightness(0.72);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid rgba(201, 123, 46, 0.1);
  padding: 2.75rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream);
  transition: color 0.3s var(--ease-quart);
}

.footer-logo:hover { color: var(--amber); }

.footer-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.footer-right { text-align: right; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-credit {
  font-size: 0.73rem;
  color: rgba(138, 117, 96, 0.45);
  margin-top: 0.2rem;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.75s var(--ease-quart),
    transform 0.75s var(--ease-quart);
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-right         { display: none; }
  .about-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .visit-grid         { grid-template-columns: 1fr; gap: 2.5rem; }
  .toasts-grid        { grid-template-columns: 1fr; }
  .drinks-grid        { grid-template-columns: 1fr; }
  .smoothies-grid     { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .tcard--wide        { flex-direction: column; gap: 1.5rem; }
  .map-outer          { position: static; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .section-wrap { padding: 4.5rem 1.25rem; }

  .hero { padding: 7rem 1.25rem 3.5rem; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
}
