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

:root {
  --cream: #F5F0E8;
  --espresso: #1A120B;
  --latte: #C8A97A;
  --milk: #EDE8DE;
  --sage: #7A8C6E;
  --rose: #C4876A;
  --text: #2A1F14;
  --muted: #7A6E62;
  --border: rgba(26,18,11,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; letter-spacing: 0.12em;
  color: var(--espresso); text-decoration: none;
}
.nav-logo span { color: var(--latte); font-style: italic; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--espresso); }
.nav-cta {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--espresso);
  color: var(--espresso); background: transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--espresso); color: var(--cream); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4rem 6rem 3rem;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--latte); margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 300; line-height: 1.08;
  color: var(--espresso); margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--rose); }
.hero-sub {
  font-size: 0.95rem; line-height: 1.8; color: var(--muted);
  max-width: 360px; margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--espresso); color: var(--cream);
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--rose); transform: translateY(-1px); }
.btn-ghost {
  padding: 0.9rem 2.2rem;
  background: transparent; color: var(--espresso);
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--espresso); background: rgba(26,18,11,0.04); }
.hero-right {
  position: relative; overflow: hidden;
  background: var(--espresso);
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2A1F14 0%, #1A120B 60%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
}
.hero-img-placeholder .coffee-art {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #C8A97A, #7A5C38, #C8A97A, #5C3D20, #C8A97A);
  box-shadow: 0 0 60px rgba(200,169,122,0.3);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img-label {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(245,240,232,0.4); font-size: 0.8rem; letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.5;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--latte), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* ── SECTION COMMON ── */
section { padding: 6rem 3rem; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--latte); margin-bottom: 1.2rem;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--latte);
}
h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300; line-height: 1.15; color: var(--espresso);
}
h2.section-title em { font-style: italic; color: var(--rose); }

/* ── MENU ── */
#menu { background: var(--espresso); color: var(--cream); }
#menu .section-label { color: var(--latte); }
#menu .section-title { color: var(--cream); }
#menu .section-title em { color: var(--latte); }
.menu-intro { font-size: 0.9rem; line-height: 1.8; color: rgba(245,240,232,0.6); max-width: 480px; margin-bottom: 3.5rem; }
.menu-tabs {
  display: flex; gap: 0; margin-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,0.15);
}
.menu-tab {
  padding: 0.75rem 1.8rem;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(245,240,232,0.45); background: none; border: none;
  cursor: pointer; transition: color 0.2s; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.menu-tab.active { color: var(--latte); border-bottom-color: var(--latte); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5px; }
.menu-item {
  padding: 1.8rem;
  border: 1px solid rgba(245,240,232,0.08);
  transition: background 0.2s;
}
.menu-item:hover { background: rgba(245,240,232,0.04); }
.menu-item-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.6rem; }
.menu-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 300; }
.menu-price { font-size: 0.8rem; color: var(--latte); letter-spacing: 0.05em; }
.menu-desc { font-size: 0.82rem; color: rgba(245,240,232,0.5); line-height: 1.7; }
.menu-tag {
  display: inline-block; margin-top: 0.8rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(200,169,122,0.3); color: var(--latte);
}

/* ── GALLERY ── */
#gallery { padding: 6rem 3rem; }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
}
.gallery-cell {
  background: var(--milk); overflow: hidden; position: relative;
}
.gallery-cell:first-child { grid-row: 1 / 3; }
.gallery-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  transition: transform 0.6s ease;
}
.gallery-cell:hover .gallery-inner { transform: scale(1.03); }
.gallery-icon { font-size: 2.5rem; opacity: 0.25; }
.gallery-caption {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); opacity: 0.6;
}
.g1 { background: #D4C4A8; }
.g2 { background: #C8B48C; }
.g3 { background: #BFA882; }
.g4 { background: #B89A74; }
.g5 { background: #D8CEBC; }

/* ── NEWS ── */
#news { background: var(--milk); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; }
.news-card { cursor: pointer; }
.news-img {
  height: 200px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; opacity: 0.3;
}
.n1 { background: #C8B48C; }
.n2 { background: #BFA882; }
.n3 { background: #D4C4A8; }
.news-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.6rem; }
.news-date { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.news-cat {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; background: var(--latte);
  color: var(--cream);
}
.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; line-height: 1.4;
  color: var(--espresso); margin-bottom: 0.5rem;
}
.news-excerpt { font-size: 0.82rem; line-height: 1.7; color: var(--muted); }
.news-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.8rem; font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--latte); text-decoration: none;
}
.news-more::after { content: '→'; }

/* ── ACCESS ── */
#access { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; min-height: 560px; }
.access-map {
  background: var(--espresso);
  display: flex; align-items: center; justify-content: center;
  min-height: 560px; position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,122,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,122,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-marker {
  width: 16px; height: 16px;
  background: var(--latte); border-radius: 50%;
  position: relative; z-index: 1;
  animation: pulse 2.5s ease-in-out infinite;
}
.map-marker::before {
  content: ''; position: absolute;
  inset: -8px; border-radius: 50%;
  border: 1px solid var(--latte); opacity: 0.4;
  animation: ring 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
@keyframes ring { 0%{transform:scale(0.8);opacity:0.4} 100%{transform:scale(2.5);opacity:0} }
.access-info {
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream);
}
.access-block { margin-bottom: 2.5rem; }
.access-block-label {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--latte); margin-bottom: 0.8rem;
}
.access-block-content { font-size: 0.92rem; line-height: 1.9; color: var(--text); }
.hours-row { display: flex; gap: 1rem; }
.hours-day { min-width: 80px; color: var(--muted); }
.closed { opacity: 0.4; }

/* ── RESERVATION ── */
#reservation { background: var(--espresso); color: var(--cream); text-align: center; }
#reservation .section-label { justify-content: center; }
#reservation .section-label::before { display: none; }
#reservation .section-title { color: var(--cream); }
.res-sub { font-size: 0.92rem; color: rgba(245,240,232,0.55); margin: 1.2rem auto 3rem; max-width: 440px; line-height: 1.8; }
.res-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem; max-width: 640px; margin: 0 auto 2rem;
  text-align: left;
}
.res-form .full { grid-column: 1 / -1; }
.form-label {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,240,232,0.45); margin-bottom: 0.5rem;
}
.form-input {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(245,240,232,0.06); border: 1px solid rgba(245,240,232,0.15);
  color: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--latte); }
.form-input::placeholder { color: rgba(245,240,232,0.25); }
select.form-input option { background: var(--espresso); }
.btn-reserve {
  padding: 1rem 3rem;
  background: var(--latte); color: var(--espresso);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.btn-reserve:hover { background: #D4B98A; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--espresso); border-top: 1px solid rgba(245,240,232,0.08);
  padding: 4rem 3rem 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--cream); margin-bottom: 1rem;
}
.footer-logo span { color: var(--latte); font-style: italic; }
.footer-tagline { font-size: 0.82rem; color: rgba(245,240,232,0.45); line-height: 1.7; max-width: 220px; }
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--latte); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.84rem; color: rgba(245,240,232,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-col p { font-size: 0.84rem; color: rgba(245,240,232,0.5); line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(245,240,232,0.3); }
.social-links { display: flex; gap: 1.2rem; }
.social-links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.35); text-decoration: none; transition: color 0.2s; }
.social-links a:hover { color: var(--latte); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; }
  .hero-left { padding: 3rem 1.5rem; }
  #access { grid-template-columns: 1fr; }
  .access-map { min-height: 280px; }
  .access-info { padding: 3rem 1.5rem; }
  .menu-grid, .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-cell:first-child { grid-row: auto; }
  .res-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 1.5rem; }
}
