/* ============================================
   DAY ONE CAFE — Design System & Styles
   Warm Editorial Minimalism
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #F5F0EB;
  --bg-card: #FDFBF8;
  --bg-dark: #2C2420;
  --text-primary: #2C2420;
  --text-secondary: #5A4D44;
  --text-muted: #8A7E74;
  --text-inverse: #F5F0EB;
  --accent-sage: #8A9A7B;
  --accent-sage-light: #A8B89B;
  --accent-sage-dark: #6E8060;
  --accent-terracotta: #C4907A;
  --accent-terracotta-light: #D4A898;
  --border-light: rgba(44, 36, 32, 0.08);
  --border-medium: rgba(44, 36, 32, 0.15);
  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
  --overlay: rgba(44, 36, 32, 0.55);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
}

p {
  color: var(--text-secondary);
  max-width: 60ch;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sage);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .label {
  margin-bottom: var(--space-md);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  margin: 0 auto;
  max-width: 50ch;
}

.divider {
  width: 48px;
  height: 2px;
  background-color: var(--accent-sage);
  margin: var(--space-lg) auto;
  border: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-sage);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background-color: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity var(--duration-fast) var(--ease-out),
              filter var(--duration-normal) var(--ease-out);
}

/* On hero (transparent header), invert logo to white */
.header:not(.scrolled) .logo-img {
  filter: invert(1) brightness(2);
}

.logo:hover .logo-img {
  opacity: 0.8;
}

/* Footer logo: invert to white for dark background */
.footer-logo-img {
  height: 40px;
  filter: invert(1) brightness(2);
  mix-blend-mode: normal;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

/* When header is on hero (not scrolled), nav links should be white */
.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.header:not(.scrolled) .nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-sage);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  margin-left: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.header:not(.scrolled) .hamburger span {
  background-color: white;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-mobile.active .nav-link {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile.active .nav-link:nth-child(1) { transition-delay: 100ms; }
.nav-mobile.active .nav-link:nth-child(2) { transition-delay: 150ms; }
.nav-mobile.active .nav-link:nth-child(3) { transition-delay: 200ms; }
.nav-mobile.active .nav-link:nth-child(4) { transition-delay: 250ms; }
.nav-mobile.active .nav-link:nth-child(5) { transition-delay: 300ms; }
.nav-mobile.active .nav-link:nth-child(6) { transition-delay: 350ms; }

/* ============================================
   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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 12, 0.6) 0%,
    rgba(20, 15, 12, 0.55) 30%,
    rgba(20, 15, 12, 0.65) 60%,
    rgba(20, 15, 12, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-inverse);
  padding: 0 var(--space-lg);
  max-width: 750px;
}

.hero-content .label {
  color: var(--accent-sage-light);
  margin-bottom: var(--space-lg);
  font-size: 0.8rem;
}

.hero-content h1 {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 100%;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero .btn-primary {
  background-color: var(--accent-sage);
}

.hero .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
  background-color: white;
  color: var(--text-primary);
  border-color: white;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.scroll-indicator .chevron {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s var(--ease-in-out) infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   OUR STORY
   ============================================ */
.story {
  background-color: var(--bg-card);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.story-image:hover img {
  transform: scale(1.03);
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.story-text .label {
  margin-bottom: var(--space-md);
  display: block;
}

.story-text h2 {
  margin-bottom: var(--space-lg);
}

.story-text p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.story-text .divider {
  margin: var(--space-xl) 0;
  margin-left: 0;
}

.story-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.story-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.story-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(138, 154, 123, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-sage);
}

.story-feature-icon svg {
  width: 18px;
  height: 18px;
}

.story-feature h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.story-feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   MENU
   ============================================ */
.menu-section {
  background-color: var(--bg-primary);
}

.menu-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.menu-nav-btn {
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}

.menu-nav-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.menu-nav-btn.active {
  background-color: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
}

/* Accordion */
.menu-category {
  border-bottom: 1px solid var(--border-light);
}

.menu-category:first-child {
  border-top: 1px solid var(--border-light);
}

.menu-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
  width: 100%;
  text-align: left;
}

.menu-category-header:hover {
  color: var(--accent-sage);
}

.menu-category-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.menu-category-header .count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: var(--space-sm);
  font-weight: 400;
}

.menu-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.menu-category.open .menu-toggle {
  transform: rotate(180deg);
}

.menu-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.menu-items-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.menu-category.open .menu-items-wrapper {
  max-height: 2000px;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-3xl);
  padding-bottom: var(--space-xl);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px dotted var(--border-light);
  gap: var(--space-md);
}

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

.menu-item-info {
  flex: 1;
  min-width: 0;
}

.menu-item-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.menu-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.menu-item-price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item-variants {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.menu-item-variant {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.menu-item-variant .price {
  font-weight: 600;
  color: var(--accent-terracotta);
  margin-left: var(--space-sm);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background-color: var(--bg-card);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 36, 32, 0.5) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(44, 36, 32, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2001;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--duration-fast) var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--duration-fast) var(--ease-out);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev {
  left: var(--space-lg);
}

.lightbox-next {
  right: var(--space-lg);
}

/* ============================================
   EVENTS — Infinite Auto-Scrolling Carousel
   ============================================ */
.events {
  background-color: var(--bg-primary);
  overflow: hidden;
}

.events-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) 0 var(--space-xl);
}

.events-track {
  display: flex;
  gap: var(--space-lg);
  animation: eventsScroll 40s linear infinite;
  width: max-content;
}

.events-track:hover {
  animation-play-state: paused;
}

@keyframes eventsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.event-card {
  flex: 0 0 340px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  border: 1px solid var(--border-light);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background-color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.event-card-badge .month {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  display: block;
}

.event-card-badge .day {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.event-card-body {
  padding: var(--space-lg);
}

.event-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.event-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.event-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--duration-fast) var(--ease-out);
}

.event-card-link:hover {
  gap: var(--space-sm);
}

.event-card-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   VISIT US
   ============================================ */
.visit {
  background-color: var(--bg-card);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-light);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.visit-info .label {
  display: block;
  margin-bottom: var(--space-md);
}

.visit-info h2 {
  margin-bottom: var(--space-lg);
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.visit-detail:last-of-type {
  border-bottom: none;
}

.visit-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(138, 154, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-sage);
}

.visit-detail-icon svg {
  width: 18px;
  height: 18px;
}

.visit-detail h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.visit-detail p,
.visit-detail a {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.visit-detail a {
  display: inline-block;
  border-bottom: 1px solid var(--accent-sage);
  transition: color var(--duration-fast) var(--ease-out);
}

.visit-detail a:hover {
  color: var(--accent-sage);
}

.visit-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  background-color: var(--accent-sage);
  border-color: var(--accent-sage);
  color: white;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-text {
  color: var(--text-inverse);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 35ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sage-light);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(245, 240, 235, 0.1);
}

.footer-bottom p {
  color: rgba(245, 240, 235, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(245, 240, 235, 0.4);
  font-size: 0.8rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-bottom-links a:hover {
  color: var(--text-inverse);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .story-grid {
    gap: var(--space-2xl);
  }

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

  .visit-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Header */
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  /* Story */
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .story-image {
    order: -1;
  }

  .story-features {
    grid-template-columns: 1fr;
  }

  /* Menu */
  .menu-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-sm);
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .menu-nav::-webkit-scrollbar {
    display: none;
  }

  .menu-nav-btn {
    flex-shrink: 0;
  }

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

  .menu-category-header h3 {
    font-size: 1.3rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: var(--space-sm);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }

  /* Events */
  .event-card {
    flex: 0 0 290px;
  }

  /* Visit */
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-map {
    aspect-ratio: 16/9;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .event-card {
    flex: 0 0 260px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .events-track {
    animation: none;
    overflow-x: auto;
  }
}
