/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terra: #b56c4a;
  --terra-dark: #965238;
  --terra-light: #f2dad0;
  --sand: #f9f4ec;
  --sand-dark: #e8d5bc;
  --sand-50: #fdfbf8;
  --charcoal: #2a2218;
  --charcoal-light: #4a3f34;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 900px; }

/* ── Typography ───────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-title--center { text-align: center; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.btn--terra {
  background: var(--terra);
  color: var(--white);
}
.btn--terra:hover { background: var(--terra-dark); transform: translateY(-1px); }

.btn--light {
  background: var(--white);
  color: var(--charcoal);
}
.btn--light:hover { background: var(--sand); transform: translateY(-1px); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── Navigation ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 1.5rem 0;
}

.nav.scrolled {
  background: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42, 34, 24, 0.08);
  padding: 1rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.3s;
}

.nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-logo-text { letter-spacing: 0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--white); }

.nav.scrolled .nav-link { color: var(--charcoal-light); }
.nav.scrolled .nav-link:hover { color: var(--charcoal); }

.nav-link--cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-link--cta:hover {
  background: var(--white);
  color: var(--charcoal) !important;
  border-color: var(--white);
}

.nav.scrolled .nav-link--cta {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.nav.scrolled .nav-link--cta:hover {
  background: var(--charcoal);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  color: var(--white);
  padding: 0.5rem;
  transition: color 0.3s;
}

.nav.scrolled .nav-toggle { color: var(--charcoal); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(42, 34, 24, 0.45) 0%,
    rgba(42, 34, 24, 0.55) 50%,
    rgba(42, 34, 24, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ─────────────────────────────────────── */
.section {
  padding: 7rem 0;
}

.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0.4;
}

/* ── About ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--charcoal-light);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-text p:first-child {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.5;
}

.about-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-image:hover img { transform: scale(1.02); }

/* ── Menu ─────────────────────────────────────────── */
.section--menu { background: var(--sand); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.menu-card:hover {
  box-shadow: 0 8px 30px rgba(42, 34, 24, 0.08);
  transform: translateY(-2px);
}

.menu-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--terra-light);
  color: var(--terra);
  margin-bottom: 1.5rem;
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.menu-list { list-style: none; }

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(42, 34, 24, 0.06);
  font-size: 0.9rem;
}

.menu-list li:last-child { border-bottom: none; }

.menu-item-name {
  font-weight: 400;
  color: var(--charcoal);
}

.menu-item-desc {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  text-align: right;
  max-width: 180px;
  line-height: 1.4;
}

/* ── Hours ────────────────────────────────────────── */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.hours-card {
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  padding: 2.5rem;
}

.hours-card-label {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terra);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand-dark);
}

.hours-card-body p {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

.hours-day { font-weight: 400; }
.hours-time { font-weight: 300; }

.hours-note {
  font-size: 0.9rem;
  color: var(--charcoal-light);
}

/* ── Visit ────────────────────────────────────────── */
.section--visit { background: var(--sand); }

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

.visit-address {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.visit-details p {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--charcoal-light);
}

.visit-details a {
  color: var(--terra);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.visit-details a:hover { border-bottom-color: var(--terra); }

.visit-map { border-radius: 8px; overflow: hidden; }

.visit-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 6/5;
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.visit-image:hover img { transform: scale(1.02); }

/* ── Contact ──────────────────────────────────────── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 108, 74, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--terra-dark);
  font-weight: 400;
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--white); }

.footer-col address { font-style: normal; }
.footer-col p { font-size: 0.9rem; margin-bottom: 0.4rem; }

.footer-small {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; }

/* ── Link underline ───────────────────────────────── */
.link-underline {
  color: var(--terra);
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s;
}

.link-underline:hover { opacity: 0.7; }

/* ── Scroll reveal ────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile menu ──────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(253, 251, 248, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--terra); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }

  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image { order: -1; aspect-ratio: 16/10; }

  .hours-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 240px; justify-content: center; }

  .menu-card { padding: 2rem 1.5rem; }

  .menu-item-desc { text-align: left; max-width: none; }

  .menu-list li { flex-direction: column; gap: 0.2rem; }
  .menu-item-desc { text-align: left; }
}
