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

:root {
  --espresso: #1a0f0a;
  --espresso-light: #2c1810;
  --roast: #3d2218;
  --roast-medium: #5c3a28;
  --cream: #f5f0eb;
  --cream-dark: #e8ddd0;
  --gold: #d4a373;
  --gold-light: #e8c8a8;
  --latte: #c8a882;
  --text: #f5f0eb;
  --text-secondary: #c8b8a8;
  --text-muted: #8a7a6a;
  --border: rgba(245, 240, 235, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 600ms cubic-bezier(0.16, 1, 0.3, 1);
  --content: 1200px;
  --content-narrow: 840px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--espresso);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--espresso); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--espresso); }
::-webkit-scrollbar-thumb { background: var(--roast-medium); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

/* ── Nixon Badge ── */
.nixon-badge {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 9999;
  background: rgba(26, 15, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 163, 115, 0.15);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 4px 12px;
  border-radius: 100px; transition: all 0.3s ease;
}
.nixon-badge:hover { border-color: var(--gold); color: var(--gold-light); }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 15, 10, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition);
}
.header.scrolled { background: rgba(26, 15, 10, 0.92); box-shadow: 0 1px 0 var(--border); }
.header-inner {
  max-width: var(--content); margin: 0 auto;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
}
.header-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  font-style: italic; color: var(--gold);
  line-height: 1;
}
.header-nav { display: flex; gap: 4px; align-items: center; }
.header-link {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 6px;
  transition: all var(--transition); position: relative;
}
.header-link::after {
  content: ''; position: absolute; bottom: 1px; left: 50%;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: all var(--transition); transform: translateX(-50%);
  border-radius: 1px;
}
.header-link:hover { color: var(--text); }
.header-link:hover::after { width: 60%; }
.header-link.active { color: var(--gold); }
.header-link.active::after { width: 60%; background: var(--gold); }

.header-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); transition: all var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  font-family: inherit; border-radius: 100px;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold); color: var(--espresso);
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 163, 115, 0.2);
}
.btn-outline {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(245, 240, 235, 0.15);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
  background: rgba(212, 163, 115, 0.04);
}
.btn-ghost {
  background: transparent; color: var(--text-secondary);
  padding: 14px 24px;
}
.btn-ghost:hover { color: var(--text); transform: translateY(-1px); }
.btn-accent {
  background: var(--cream); color: var(--espresso);
}
.btn-accent:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ── Sections ── */
.section { padding: 120px 32px; }
.section-alt { background: var(--espresso-light); }
.section-cream { background: var(--cream); color: var(--espresso); }
.section-cream .section-desc { color: var(--roast-medium); }

.section-inner { max-width: var(--content); margin: 0 auto; }
.section-inner.narrow { max-width: var(--content-narrow); }

.section-header { margin-bottom: 60px; max-width: 640px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 12px;
  border: 1px solid rgba(212, 163, 115, 0.15);
  padding: 4px 14px;
  border-radius: 100px;
}
.section-cream .section-label { border-color: rgba(60, 34, 24, 0.15); color: var(--roast-medium); }

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-cream h2 { color: var(--espresso); }

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 16px;
}
.section-cream .section-desc { color: var(--roast-medium); }

/* ── Page Hero ── */
.page-hero {
  min-height: 60vh;
  display: flex; align-items: center;
  padding: 140px 32px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(212, 163, 115, 0.06), transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(60, 34, 24, 0.3), transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--content); margin: 0 auto;
  width: 100%; position: relative; z-index: 1;
}
.page-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 20px;
}
.page-hero-inner h1 span { font-style: italic; color: var(--gold); }
.page-hero-inner p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

/* ── Grid / Layout Helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Footer ── */
.footer {
  background: var(--espresso);
  border-top: 1px solid var(--border);
  padding: 80px 32px 32px;
}
.footer-inner {
  max-width: var(--content); margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.25);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.2);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .header-nav { display: none; }
  .header-toggle { display: flex; }
  .section { padding: 80px 24px; }
  .section h2 { font-size: 2rem; }
  .page-hero-inner h1 { font-size: 2.4rem; }
  .page-hero { min-height: 50vh; padding: 120px 24px 60px; }
}

/* ── Hover Image Box ── */
.hover-img {
  position: relative; overflow: hidden; cursor: pointer;
}
.hover-img-preview {
  position: fixed;
  width: 280px; height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.95);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.hover-img-preview.visible { opacity: 1; transform: scale(1); }

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute; left: 15px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 60px;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -33px; top: 4px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--espresso);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline-text { font-size: 0.9rem; color: var(--text-secondary); }
.section-cream .timeline-item::before { border-color: var(--cream); }

/* ── Tabs ── */
.tabs-nav {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 12px 24px;
  background: none; border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.section-cream .tab-btn.active { color: var(--roast-medium); border-bottom-color: var(--roast-medium); }

/* ── Menu Items ── */
.menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.menu-item-info p {
  font-size: 0.82rem; color: var(--text-muted);
  max-width: 400px;
}
.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
.section-cream .menu-item-price { color: var(--roast-medium); }
.section-cream .menu-item-info p { color: var(--roast-medium); opacity: 0.7; }

/* ── Flavor Widget ── */
.flavor-widget {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flavor-note {
  padding: 32px 20px;
  text-align: center;
  background: rgba(245, 240, 235, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.flavor-note::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.flavor-note:hover { border-color: var(--gold); transform: translateY(-3px); }
.flavor-note:hover::before { opacity: 0.08; }
.flavor-note.active { border-color: var(--gold); background: rgba(212, 163, 115, 0.06); }
.flavor-note-icon { font-size: 2rem; margin-bottom: 10px; position: relative; z-index: 1; }
.flavor-note h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; position: relative; z-index: 1; }
.flavor-note p { font-size: 0.75rem; color: var(--text-muted); position: relative; z-index: 1; }
.flavor-result {
  margin-top: 32px;
  padding: 24px;
  background: rgba(245, 240, 235, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  min-height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.flavor-result p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ── Contact Split ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.contact-map {
  position: relative;
  overflow: hidden;
  background: var(--espresso-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-map-content {
  text-align: center;
  padding: 40px;
}
.contact-map-content .map-icon {
  font-size: 4rem; margin-bottom: 20px;
  filter: grayscale(1) brightness(0.6);
}
.contact-map-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.contact-map-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.contact-form-panel {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-form-panel > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(245, 240, 235, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { color: #1a0f0a; background: #f5f0eb; }
.form-feedback { font-size: 0.85rem; color: var(--gold); min-height: 24px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 60px 24px; }
  .contact-map { min-height: 300px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .flavor-widget { grid-template-columns: 1fr 1fr; }
}

/* ── Booking -- Calendar / Time ── */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Ambient BG ── */
.ambient-bg {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.ambient-bg video {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.05;
}
.ambient-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(26,15,10,0.3), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(26,15,10,0.8), transparent 50%);
}
.content-overlay { position: relative; z-index: 2; }

/* ── Siphon Decorative ── */
.siphon-art {
  position: relative;
  width: 100%; height: 400px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.siphon-art svg { width: 100%; height: 100%; max-width: 400px; }

/* ── Responsive extras ── */
@media (max-width: 480px) {
  .page-hero-inner h1 { font-size: 1.8rem; }
  .section h2 { font-size: 1.6rem; }
  .flavor-widget { grid-template-columns: 1fr; }
}
