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

:root {
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --cream-50: #fefcf8;
  --cream-100: #fdf8ef;
  --cream-200: #faedd4;
  --warm-200: #e8dcc8;
  --warm-300: #c4a87a;
  --text-dark: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #999999;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Crimson Pro', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream-50);
  line-height: 1.6;
  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;
}

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

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--emerald-950);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  color: var(--emerald-800);
}

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

.nav-logo span {
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--emerald-800);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--emerald-800) !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--emerald-800);
  color: white !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--emerald-950);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(254, 252, 248, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--emerald-950);
  padding: 16px 0;
  transition: color 0.25s ease;
}

.mobile-menu-link:hover {
  color: var(--emerald-600);
}

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

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(4, 120, 87, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(5, 150, 105, 0.4) 0%, transparent 50%),
    linear-gradient(160deg, #022c22 0%, #064e3b 35%, #047857 60%, #059669 80%, #10b981 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.hero-tag-line {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-em {
  font-style: italic;
  color: var(--cream-200);
}

.hero-desc {
  font-family: var(--font-accent);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--emerald-950);
}

.btn-primary:hover {
  background: var(--cream-200);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.hero-meta-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.hero-meta-item a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.hero-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ─── Section shared ─── */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.section-desc {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 20px auto 0;
  line-height: 1.7;
}

.text-emerald-800 {
  color: var(--emerald-800);
}

/* ─── About ─── */
.about {
  background: var(--cream-50);
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  z-index: -1;
}

.about-content {
  padding: 16px 0;
}

.about-text {
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--emerald-800);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--warm-200);
}

/* ─── Menu ─── */
.menu {
  background: var(--cream-100);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.menu-tab {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 100px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.menu-tab:hover {
  color: var(--emerald-800);
}

.menu-tab.active {
  background: var(--emerald-800);
  color: #ffffff;
  border-color: var(--emerald-800);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.menu-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.menu-item-desc {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

.menu-note {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 40px;
  font-style: italic;
}

.hidden {
  display: none !important;
}

/* ─── Space ─── */
.space {
  background: var(--cream-50);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.space-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.space-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.space-card:hover img {
  transform: scale(1.04);
}

.space-card-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 300;
  color: #ffffff;
  background: rgba(2, 44, 34, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ─── Visit ─── */
.visit {
  background: var(--emerald-950);
  color: #ffffff;
}

.visit .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.visit .section-title {
  color: #ffffff;
}

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

.visit-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.visit-detail svg {
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.visit-detail-value {
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.visit-detail-value a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
}

.visit-detail-value a:hover {
  color: #ffffff;
}

.visit-map-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.visit-map {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.6) brightness(0.85);
  transition: filter 0.4s ease;
}

.visit-map:hover {
  filter: saturate(0.8) brightness(0.9);
}

.visit-map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
}

.visit-map-overlay svg {
  color: var(--emerald-400);
}

.visit-map-overlay span {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 300;
  background: rgba(2, 44, 34, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 100px;
}

.btn-dark {
  background: #ffffff;
  color: var(--emerald-950);
}

.btn-dark:hover {
  background: var(--cream-200);
  transform: translateY(-1px);
}

/* ─── Footer ─── */
.footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-logo svg {
  color: var(--emerald-400);
}

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 300;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }
  
  .visit-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 100px 20px 80px;
  }
  
  .hero-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-meta-divider {
    display: none;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    height: 360px;
  }
  
  .about-image-accent {
    display: none;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .space-grid {
    grid-template-columns: 1fr;
  }
  
  .space-card img {
    height: 260px;
  }
  
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .visit-map {
    height: 280px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .menu-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .menu-tab {
    flex: 1;
    text-align: center;
    min-width: 0;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .hero-scroll-line {
    animation: none;
    opacity: 0.6;
  }
  
  .space-card img {
    transition: none;
  }
  
  .btn {
    transition: none;
  }
}
