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

:root {
  --terracotta: #B85C38;
  --terracotta-dark: #9A4B2C;
  --terracotta-light: #D4845E;
  --sand: #E8D5C0;
  --sand-light: #F5EDE3;
  --sand-lighter: #FAF6F1;
  --sand-dark: #C4A882;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --warm-gray: #7A6E66;
  --warm-gray-light: #A89890;
  --white: #FEFCF9;
  --font-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  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; }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* ─── Header ─── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: rgba(254, 252, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(44, 36, 32, 0.08);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--white);
  transition: color var(--transition);
}

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

.logo-icon { color: currentColor; }

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

#header nav { display: flex; align-items: center; gap: 2rem; }

#header nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

#header nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(254, 252, 249, 0.85);
  transition: color var(--transition);
  position: relative;
}

#header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

#header nav a:hover::after { width: 100%; }
#header nav a:hover { color: var(--white); }

#header.scrolled nav a { color: var(--warm-gray); }
#header.scrolled nav a:hover { color: var(--charcoal); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(254, 252, 249, 0.5);
}
.btn-ghost:hover {
  background: rgba(254, 252, 249, 0.1);
  border-color: var(--white);
}

.btn-small {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
}

/* ─── Mobile Nav Toggle ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}

#header.scrolled .nav-toggle-line { background: var(--charcoal); }

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    #3D1F14 0%,
    #6B3A28 25%,
    #B85C38 55%,
    #D4845E 75%,
    #E8C9A0 100%
  );
  z-index: 0;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(61, 31, 20, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(184, 92, 56, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 8rem 2rem 4rem;
}

.hero-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-overline span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(254, 252, 249, 0.7);
}

.thin-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(254, 252, 249, 0.4);
  flex-shrink: 0;
}

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

.hero-headline br { display: none; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(254, 252, 249, 0.75);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.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(254, 252, 249, 0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll svg { animation: scrollBounce 2s ease-in-out infinite; }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

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

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.overline {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
}

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

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(44, 36, 32, 0.08));
  pointer-events: none;
}

.about-content { padding: 1rem 0; }

.about-content p {
  color: var(--charcoal-light);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.stat { text-align: center; flex: 1; }

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.thin-divider {
  width: 1px;
  height: 48px;
  background: var(--sand);
  flex-shrink: 0;
}

.stat-divider { flex-shrink: 0; }

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

.menu-categories {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.menu-tab {
  background: none;
  border: 1.5px solid var(--sand-dark);
  color: var(--warm-gray);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-tab:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.menu-tab.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

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

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sand);
  border-radius: 2px;
  overflow: hidden;
}

.menu-item {
  background: var(--sand-lighter);
  padding: 1.75rem 2rem;
  transition: background var(--transition);
}

.menu-item:hover { background: var(--white); }

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.375rem;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
}

.menu-item-desc {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray-light);
  white-space: nowrap;
}

.menu-item-note {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.menu-footer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--warm-gray-light);
  margin-top: 2rem;
  font-style: italic;
}

/* ─── Space ─── */
.space-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.space-image-group { position: relative; }

.space-image-main {
  border-radius: 2px;
  overflow: hidden;
}

.space-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.space-image-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 36, 32, 0.15);
}

.space-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.space-content { padding: 1rem 0; }

.space-content p {
  color: var(--charcoal-light);
  font-size: 0.9375rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.space-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.space-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--charcoal-light);
}

.space-feature svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ─── Quote ─── */
.quote-section {
  background: var(--charcoal);
  padding: 6rem 0;
  text-align: center;
}

.quote-section blockquote {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  color: var(--terracotta);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.quote-section p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--sand-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray-light);
  font-style: normal;
}

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

.visit-info { padding: 1rem 0; }

.visit-address {
  font-style: normal;
  margin: 1.5rem 0;
  line-height: 1.9;
  color: var(--charcoal-light);
  font-size: 0.9375rem;
}

.visit-address strong { color: var(--charcoal); }

.visit-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--sand);
}

.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

.visit-link:hover { color: var(--terracotta); }

.visit-link svg { color: var(--terracotta); flex-shrink: 0; }

.visit-hours h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  border-bottom: 1px solid var(--sand-light);
}

.hours-row:last-child { border-bottom: none; }

.visit-map {
  border-radius: 2px;
  overflow: hidden;
  min-height: 400px;
}

.map-placeholder {
  background: var(--sand-light);
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  border-radius: 2px;
}

.map-placeholder svg { color: var(--terracotta); opacity: 0.6; }

.map-placeholder p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── Footer ─── */
footer {
  background: var(--charcoal);
  color: var(--sand);
  padding: 4rem 0 2rem;
}

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

.footer-top .logo { color: var(--sand-light); }

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--warm-gray-light);
  max-width: 320px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--warm-gray);
  flex-wrap: wrap;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .about-grid,
  .space-layout,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .space-image-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
    box-shadow: none;
  }

  .space-image-group { order: -1; }

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

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

  #header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 100;
  }

  #header nav.open { transform: translateX(0); }

  #header nav a {
    color: var(--sand-light);
    font-size: 0.9375rem;
  }

  #header nav a:hover { color: var(--white); }

  #header nav .btn-primary {
    margin-top: 1rem;
  }

  .hero-content { padding: 7rem 1.5rem 3rem; }

  .hero-headline br { display: block; }

  .section { padding: 5rem 0; }

  .footer-top { flex-direction: column; align-items: flex-start; }

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

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

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .about-stats { flex-direction: column; gap: 1.25rem; }
  .stat-divider { width: 40px; height: 1px; }

  .menu-item { padding: 1.25rem 1.5rem; }
  .menu-item-header { flex-direction: column; gap: 0.25rem; }
  .menu-item-desc { white-space: normal; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: no-preference) {
  .menu-item { transition: background var(--transition); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
