
:root {
  --terracotta: #B85C38;
  --terracotta-light: #D4856A;
  --terracotta-pale: #F5E8E0;
  --gold: #C49A2A;
  --gold-light: #E8C96A;
  --gold-pale: #FAF3DC;
  --green: #2C4A3E;
  --green-mid: #3D6B5C;
  --green-light: #6A9E8A;
  --cream: #F7F0E6;
  --cream-deep: #EDE3D0;
  --ink: #1A1209;
  --ink-mid: #3D2E1A;
  --ink-light: #7A6248;
  --parchment: #FAF5EC;
  --white: #FFFDF8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  min-height: 120px;
  background: linear-gradient(to bottom, rgba(26,18,9,0.95) 0%, rgba(26,18,9,0) 100%);
  transition: background 0.3s, min-height 0.4s ease, padding 0.4s ease;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 500;
  font-style: italic;
  color: #F7F0E6;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--gold-light); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(247,240,230,0.75);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

/* ─── HERO ─── */
#hero {
  height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(44,74,62,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(184,92,56,0.3) 0%, transparent 60%),
    linear-gradient(180deg, rgba(26,18,9,0.95) 0%, rgba(26,18,9,0.7) 50%, rgba(26,18,9,0.98) 100%);
  z-index: 1;
}
.jali-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8C96A' fill-opacity='1'%3E%3Cpath d='M30 0L60 30L30 60L0 30zM30 10L50 30L30 50L10 30z'/%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='60' cy='0' r='3'/%3E%3Ccircle cx='0' cy='60' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem; padding-top: 8rem; max-width: 900px; }
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300; line-height: 0.95;
  color: var(--cream);
  margin-bottom: 0.5rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
.hero-title em { color: var(--gold-light); font-style: italic; font-weight: 300; }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300; font-style: italic;
  color: rgba(247,240,230,0.6);
  margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 1s 0.7s forwards;
}
.hero-ctas { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 0.9s forwards; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border-radius: 2px; border: 1px solid var(--terracotta);
  background: var(--terracotta); color: var(--white);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--terracotta-light); border-color: var(--terracotta-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border-radius: 2px; border: 1px solid rgba(247,240,230,0.3);
  background: transparent; color: rgba(247,240,230,0.75);
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.btn-outline:hover { border-color: rgba(247,240,230,0.7); color: var(--white); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }
.hero-quote {
  position: absolute; bottom: 2.5rem; left: 0; right: 0;
  z-index: 2; text-align: center;
  opacity: 0; animation: fadeUp 1s 1.2s forwards;
}
.hero-quote p {
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem; font-style: italic;
  color: rgba(247,240,230,0.45);
}
.scroll-indicator {
  margin-top: 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scroll-indicator span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(247,240,230,0.3); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(196,154,42,0.6), transparent);
  animation: scrollPulse 2s infinite;
}

/* ─── SECTION SHELLS ─── */
section { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 6rem 3rem; }
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-body {
  font-size: 1.1rem; line-height: 1.8;
  color: var(--ink-light); max-width: 620px;
}

/* ─── TIMELINE ─── */
#timeline { background: var(--ink); }
#timeline .section-title { color: var(--cream); }
#timeline .section-label { color: var(--gold); }
#timeline .section-body { color: rgba(247,240,230,0.6); }
.timeline-track {
  position: relative; margin-top: 4rem;
  display: flex; overflow-x: auto; gap: 0; padding-bottom: 2rem;
  scrollbar-width: thin; scrollbar-color: var(--terracotta) rgba(255,255,255,0.1);
}
.timeline-track::-webkit-scrollbar { height: 3px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 2px; }
.era-card {
  flex: 0 0 260px; padding: 2rem 1.75rem;
  border-right: 1px solid rgba(196,154,42,0.15);
  cursor: pointer; transition: background 0.25s;
  position: relative;
}
.era-card:hover { background: rgba(196,154,42,0.06); }
.era-card.active { background: rgba(184,92,56,0.1); border-right-color: var(--terracotta); }
.era-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); margin-bottom: 1rem;
  box-shadow: 0 0 0 3px rgba(196,154,42,0.2);
}
.era-card.active .era-dot { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(184,92,56,0.3); }
.era-years {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.era-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.75rem; line-height: 1.2;
}
.era-desc {
  font-size: 0.9rem; color: rgba(247,240,230,0.5);
  line-height: 1.6;
}
.era-sites { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.era-site-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; padding: 3px 8px;
  border: 1px solid rgba(196,154,42,0.25);
  color: rgba(247,240,230,0.45); border-radius: 2px;
}

/* ─── HERITAGE ATLAS ─── */
#atlas { background: var(--cream); }
.atlas-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; margin-top: 3rem; min-height: 560px; }
#map {
  height: 560px; border-radius: 4px;
  border: 1px solid var(--cream-deep);
  filter: sepia(0.15) saturate(0.9);
}
.atlas-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.filter-bar {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; padding: 5px 12px;
  border-radius: 2px; border: 1px solid var(--cream-deep);
  background: var(--white); color: var(--ink-light);
  cursor: pointer; transition: all 0.2s;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--terracotta); color: var(--white); border-color: var(--terracotta);
}
.site-list { flex: 1; overflow-y: auto; max-height: 460px; display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin; scrollbar-color: var(--terracotta-pale) transparent;
}
.site-card {
  background: var(--white); padding: 1rem 1.1rem;
  border: 1px solid var(--cream-deep); border-radius: 4px;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-card:hover { border-color: var(--terracotta-light); box-shadow: 0 2px 12px rgba(184,92,56,0.08); }
.site-card.highlighted { border-color: var(--terracotta); }
.site-card-type {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 3px; font-weight: 500;
}
.site-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--ink);
  margin-bottom: 3px;
}
.site-card-meta {
  font-size: 0.82rem; color: var(--ink-light);
}

/* ─── WALKS ─── */
#walks { background: var(--parchment); }
.walks-intro { max-width: 600px; margin-bottom: 3.5rem; }
.walks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.walk-card-outer {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.walk-card-outer:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,18,9,0.1); }
.walk-card-header { padding: 1.5rem 1.5rem 1rem; position: relative; flex-shrink: 0; }
.walk-type-badge {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 2px;
  margin-bottom: 0.75rem;
}
.badge-flagship { background: var(--terracotta-pale); color: var(--terracotta); }
.badge-arch { background: #E8EEF5; color: #2C4A7A; }
.badge-spirit { background: var(--gold-pale); color: #7A5A00; }
.badge-gandhi { background: #EFF5F0; color: var(--green); }
.badge-brit { background: #F5EEF8; color: #5C3D7A; }
.badge-hidden { background: var(--cream-deep); color: var(--ink-mid); }
.walk-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500; color: var(--ink);
  line-height: 1.2; margin-bottom: 0.5rem;
}
.walk-meta-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; }
.walk-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: var(--ink-light);
}
.walk-desc { font-size: 0.95rem; color: var(--ink-light); line-height: 1.65; }
.walk-stops-section { padding: 1rem 1.5rem; background: var(--cream); border-top: 1px solid var(--cream-deep); flex: 1; }
.walk-stops-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-light); margin-bottom: 0.6rem; font-weight: 500;
}
.walk-stops-list { display: flex; flex-direction: column; gap: 0; }
.walk-stop {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.88rem; color: var(--ink-mid);
  padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.4;
}
.walk-stop:last-child { border-bottom: none; }
.stop-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; color: var(--terracotta); font-weight: 500;
  min-width: 16px; margin-top: 2px;
}
.walk-action {
  margin: 1rem 1.5rem 1.5rem;
  display: flex; gap: 8px;
}
.walk-btn {
  flex: 1; padding: 0.65rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; border-radius: 2px;
  border: 1px solid var(--terracotta); transition: all 0.2s;
}
.walk-btn-primary { background: var(--terracotta); color: var(--white); }
.walk-btn-primary:hover { background: var(--terracotta-light); }
.walk-btn-outline { background: transparent; color: var(--terracotta); }
.walk-btn-outline:hover { background: var(--terracotta-pale); }

/* ─── AI PLANNER ─── */
#planner { background: var(--green); }
#planner .section-title { color: var(--cream); }
#planner .section-label { color: var(--gold); }
.planner-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.planner-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(232,201,106,0.2); border-radius: 4px; padding: 2rem; }
.planner-field { margin-bottom: 1.5rem; }
.planner-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247,240,230,0.6); display: block; margin-bottom: 0.6rem;
}
.planner-select, .planner-input {
  width: 100%; padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(232,201,106,0.2);
  color: var(--cream); font-family: 'Crimson Pro', serif; font-size: 1rem;
  border-radius: 2px; outline: none; transition: border-color 0.2s;
  appearance: none;
}
.planner-select option { background: var(--green); }
.planner-select:focus, .planner-input:focus { border-color: var(--gold); }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-chip {
  padding: 6px 14px;
  border: 1px solid rgba(232,201,106,0.3);
  border-radius: 2px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: rgba(247,240,230,0.6);
  transition: all 0.2s; background: transparent;
}
.interest-chip.selected { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.planner-submit {
  width: 100%; padding: 1rem;
  background: var(--terracotta); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 2px;
  transition: background 0.2s;
}
.planner-submit:hover { background: var(--terracotta-light); }
.planner-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.planner-result {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(232,201,106,0.15);
  border-radius: 4px; padding: 2rem; min-height: 300px;
  display: flex; flex-direction: column;
}
.result-placeholder {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0.35; text-align: center; gap: 1rem;
}
.result-placeholder-icon { font-size: 3rem; opacity: 0.5; }
.result-placeholder p { font-family: 'Crimson Pro', serif; font-size: 1.05rem; color: var(--cream); font-style: italic; }
.result-content { color: var(--cream); }
.result-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--gold-light);
}
.result-content .result-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: rgba(247,240,230,0.5); margin-bottom: 1.5rem;
}
.result-stops { display: flex; flex-direction: column; gap: 0.75rem; }
.result-stop {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.result-stop:last-child { border-bottom: none; }
.result-stop-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.result-stop-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); font-weight: 500; }
.result-stop-note { font-size: 0.85rem; color: rgba(247,240,230,0.55); line-height: 1.5; }
.loading-dots span {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin: 0 3px;
  animation: dotBounce 1.2s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ─── STORIES ─── */
#stories { background: var(--cream); }
.story-feature-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.story-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 1rem;
}
.story-feature-excerpt { font-size: 0.95rem; color: rgba(247,240,230,0.55); line-height: 1.7; }
.story-feature-read {
  margin-top: 1.5rem; display: inline-block;
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
  color: var(--terracotta-light); letter-spacing: 0.08em; text-transform: uppercase;
}
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; align-items: start; }
.story-feature {
  background: var(--ink); border-radius: 4px; overflow: hidden;
  padding: 2.5rem; cursor: pointer;
  transition: transform 0.2s;
}
.story-feature:hover { transform: translateY(-2px); }
.story-side { display: flex; flex-direction: column; gap: 1rem; }
.story-card {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: 4px; padding: 1.4rem 1.5rem;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.story-card:hover { border-color: var(--terracotta-light); box-shadow: 0 4px 16px rgba(184,92,56,0.07); }
.story-card-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 0.4rem; font-weight: 500;
}
.story-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.3;
}
.story-card-excerpt { font-size: 0.85rem; color: var(--ink-light); line-height: 1.5; margin-top: 0.4rem; }

/* ─── SITE MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,18,9,0.85); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); max-width: 680px; width: 100%;
  border-radius: 4px; overflow: hidden; max-height: 85vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { background: var(--ink); padding: 2rem 2rem 1.5rem; position: relative; }
.modal-type {
  font-family: 'DM Sans', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem; font-weight: 500;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400; color: var(--cream);
}
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px; background: rgba(255,255,255,0.1);
  border: none; color: var(--cream); cursor: pointer; border-radius: 2px;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 2rem; }
.modal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.modal-fact { background: var(--cream); padding: 0.75rem 1rem; border-radius: 2px; }
.modal-fact-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.6rem; color: var(--ink-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px;
}
.modal-fact-value { font-size: 1rem; color: var(--ink); font-weight: 400; }
.modal-desc { font-size: 1rem; color: var(--ink-light); line-height: 1.8; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink); padding: 4rem 3rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--gold-light); margin-bottom: 0.75rem;
}
.footer-brand-desc { font-size: 0.9rem; color: rgba(247,240,230,0.4); line-height: 1.7; }
.footer-col-title {
  font-family: 'DM Sans', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: rgba(247,240,230,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(247,240,230,0.25); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-style: italic; color: rgba(247,240,230,0.3);
}

    /* ─── GUJARATI ANIMATION ─── */
    .gujarati-wrap {
      opacity: 0;
      animation: fadeUp 0.5s 0.15s forwards;
      margin-bottom: 1.8rem;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
      50% { opacity: 0.8; transform: scaleY(1); }
    }
    @keyframes dotBounce {
      0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
      40% { transform: translateY(-6px); opacity: 1; }
    }
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .section-inner { padding: 4rem 1.5rem; }
  .atlas-layout { grid-template-columns: 1fr; }
  #map { height: 380px; }
  .planner-layout { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .walks-grid { grid-template-columns: 1fr; }
}


.access-badge {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 2px; margin-bottom: 4px;
}
.access-open { background: #EFF5F0; color: #2C6B3A; }
.access-restricted { background: #FDF3E7; color: #8B4E10; }
.tour-badge {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 2px;
  background: #E8EEF5; color: #2C4A7A; margin-left: 4px;
}
.site-card-access { font-size: 0.78rem; color: var(--ink-light); line-height: 1.4; margin-top: 4px; }



/* ─── THE OLD KITCHENS ─── */
#old-kitchens {
  background: #F4EDD8;
  position: relative;
}
#old-kitchens::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, #C17E2A 0px, #C17E2A 8px, transparent 8px, transparent 14px);
  opacity: 0.5;
}
.ok-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #C17E2A; margin-bottom: 0.75rem;
}
.ok-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.1;
  color: #1A1209; margin-bottom: 1rem;
}
.ok-title em { font-style: italic; color: #C17E2A; }
.ok-subtitle {
  font-size: 1.05rem; color: #6B5540; line-height: 1.8;
  max-width: 600px; margin-bottom: 3rem;
}
/* ─── LEGEND GRID ─── */
.ok-legends-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: #C17E2A; border-bottom: 1px solid rgba(193,126,42,0.3);
  padding-bottom: 0.5rem; margin-bottom: 1.5rem;
}
.ok-legend-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 1.25rem; margin-bottom: 3.5rem;
}
.ok-legend-card {
  background: #FFFDF6;
  border: 1px solid rgba(193,126,42,0.2);
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(26,18,9,0.06);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.ok-legend-card:hover {
  box-shadow: 0 6px 24px rgba(26,18,9,0.1);
  transform: translateY(-2px);
}
.ok-legend-body { padding: 1.5rem; }
.ok-legend-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; margin-bottom: 1rem;
}
.ok-legend-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 500; color: #1A1209;
  line-height: 1.15; margin-bottom: 0.2rem;
}
.ok-legend-meta-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0;
}
.ok-legend-desc {
  font-size: 0.92rem; line-height: 1.75; color: #5C4030;
  margin-bottom: 1.25rem;
}
.ok-legend-bottom { display: flex; flex-direction: column; gap: 0.75rem; }
/* ─── SMALL CARDS ─── */
.ok-lane { margin-bottom: 2.5rem; }
.ok-lane-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: #1A1209;
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(193,126,42,0.25);
}
.ok-lane-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.ok-card {
  background: #FFFDF6;
  border: 1px solid rgba(193,126,42,0.18);
  border-radius: 3px; padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 6px rgba(26,18,9,0.04);
}
.ok-card:hover {
  box-shadow: 0 4px 16px rgba(26,18,9,0.08);
  transform: translateY(-1px);
}
.ok-card-head { }
.ok-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: #1A1209;
  line-height: 1.2; margin-bottom: 0.2rem;
}
.ok-card-desc {
  font-size: 0.85rem; color: #5C4030; line-height: 1.65; flex: 1;
}
.ok-card-foot { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; }
.ok-card-meta-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
/* ─── SHARED ELEMENTS ─── */
.ok-cat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: #C17E2A; margin-bottom: 0.25rem;
}
.ok-opened {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; color: #8B6A48; margin-top: 0.2rem;
}
.ok-open-note {
  font-style: italic; color: #A88060; font-size: 0.65rem;
}
.ok-who-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 2px;
  white-space: nowrap;
}
.ok-legacy-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ok-legacy-wrap.ok-legacy-inline { flex-direction: row; align-items: center; gap: 6px; }
.ok-legacy-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.58rem;
  color: #A88060; letter-spacing: 0.08em; text-transform: uppercase;
}
.ok-legacy-bar { display: flex; gap: 3px; }
.ok-legacy-sm .ok-leg-seg { width: 8px; height: 8px; }
.ok-leg-seg {
  width: 10px; height: 10px; border-radius: 1px;
  background: rgba(193,126,42,0.15);
}
.ok-leg-filled { background: #C17E2A; }
.ok-info-block { }
.ok-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #A88060; display: block; margin-bottom: 0.3rem;
}
.ok-info-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.ok-info-item { display: flex; flex-direction: column; }
.ok-info-val { font-size: 0.82rem; color: #3D2010; line-height: 1.4; }
.ok-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.ok-pill {
  font-family: 'DM Sans', sans-serif; font-size: 0.65rem;
  padding: 3px 9px; border-radius: 2px;
  background: rgba(193,126,42,0.1); color: #7A4E00;
  border: 1px solid rgba(193,126,42,0.2);
}
.ok-pill-must {
  background: rgba(184,92,56,0.1); color: #7A3018;
  border-color: rgba(184,92,56,0.25); font-weight: 500;
}
.ok-legend-divider {
  border: none; border-top: 1px solid rgba(193,126,42,0.2);
  margin: 0.75rem 0;
}
@media (max-width: 768px) {
  .ok-legend-grid { grid-template-columns: 1fr; }
  .ok-legend-top { flex-direction: column; gap: 0.75rem; }
  .ok-legend-meta-right { flex-direction: row; align-items: center; }
}


/* ─── FOOD TRAILS ─── */
#food-trails { background: var(--cream); }
.food-trail-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.food-trail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,18,9,0.1);
}
.food-trail-header { padding: 1.5rem 1.5rem 1rem; }
.food-trail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 500;
  color: var(--ink); line-height: 1.2; margin-bottom: 0.5rem;
}
.food-trail-desc {
  font-size: 0.92rem; color: var(--ink-light); line-height: 1.7;
  margin-bottom: 0.75rem;
}
.food-trail-meta-row {
  display: flex; gap: 1rem; align-items: center; margin-bottom: 0;
}
.food-trail-meta-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: var(--ink-light);
}
.food-stops-section {
  padding: 1rem 1.5rem; background: var(--cream);
  border-top: 1px solid var(--cream-deep); flex: 1;
}
.food-stops-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-light);
  margin-bottom: 0.75rem; font-weight: 500;
}
.food-stop {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem; color: var(--ink-mid); line-height: 1.5;
}
.food-stop:last-child { border-bottom: none; }
.food-stop-icon {
  font-size: 1rem; flex-shrink: 0; margin-top: 1px; width: 20px; text-align: center;
}
.food-stop-content { flex: 1; }
.food-stop-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
}
.food-stop-note { font-size: 0.82rem; color: var(--ink-light); margin-top: 1px; }
.food-stop-dish {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 2px;
  background: var(--terracotta-pale); color: var(--terracotta);
  margin-top: 4px;
}
.food-trail-timing {
  padding: 0.75rem 1.5rem 1.25rem;
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; color: var(--ink-light);
  border-top: 1px solid var(--cream-deep);
}
.food-trail-timing strong { color: var(--ink); }

/* ─── LEAFLET ICON RESET — prevents blank boxes before CSS fully loads ─── */
.leaflet-div-icon { background: transparent !important; border: none !important; }
.leaflet-marker-icon, .leaflet-marker-shadow { background: transparent !important; border: none !important; }

/* ─── DECORATIVE ORNAMENT ─── */
.ornament { text-align: center; margin: 1.5rem 0; color: var(--gold); opacity: 0.4; font-size: 1.2rem; letter-spacing: 0.5rem; }

/* Multi-page document shell; homepage styles remain untouched. */
.doc-page{min-height:100vh;background:var(--parchment)}
.doc-nav{position:sticky;top:0;z-index:1000;min-height:auto;padding:1rem 3rem;background:var(--ink);display:flex;align-items:center;justify-content:space-between}
.doc-nav .nav-links{display:flex}.doc-main{max-width:1050px;margin:0 auto;padding:5rem 3rem 7rem}.doc-kicker{font-family:'DM Sans',sans-serif;font-size:.68rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--terracotta);margin-bottom:1rem}.doc-title{font-family:'Cormorant Garamond',serif;font-size:clamp(2.7rem,7vw,5.5rem);font-weight:300;line-height:1;color:var(--ink);margin-bottom:1.2rem}.doc-lede{font-size:1.18rem;line-height:1.8;color:var(--ink-light);max-width:760px;margin-bottom:2.5rem}.doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem;margin-top:2rem}.doc-card{display:block;background:var(--white);border:1px solid var(--cream-deep);border-radius:4px;padding:1.4rem;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s,border-color .2s}.doc-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(26,18,9,.09);border-color:var(--terracotta-light)}.doc-card h2,.doc-card h3{font-family:'Cormorant Garamond',serif;font-size:1.45rem;font-weight:500;line-height:1.2;margin:.35rem 0}.doc-card p{font-size:.95rem;line-height:1.6;color:var(--ink-light)}.doc-meta{font-family:'DM Sans',sans-serif;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--terracotta)}.doc-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:2rem 0}.doc-fact{background:var(--cream);padding:1rem 1.1rem;border-radius:3px}.doc-fact b{display:block;font-family:'DM Sans',sans-serif;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-light);margin-bottom:.3rem}.doc-body{font-size:1.08rem;line-height:1.85;color:var(--ink-mid)}.doc-body p{margin:0 0 1.25rem}.doc-body h2{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:400;margin:2.5rem 0 .8rem}.doc-body ul,.doc-body ol{margin:1rem 0 1.5rem 1.4rem}.doc-body li{margin:.45rem 0}.doc-back{display:inline-block;margin-top:3rem;font-family:'DM Sans',sans-serif;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--terracotta);text-decoration:none}.doc-section-copy>.section-inner{padding:0;max-width:none}.doc-section-copy .reveal{opacity:1;transform:none}.doc-footer{background:var(--ink);padding:2rem 3rem;text-align:center;color:rgba(247,240,230,.45);font-size:.85rem}
@media(max-width:900px){.doc-nav{padding:1rem 1.5rem}.doc-nav .nav-links{display:none}.doc-main{padding:3.5rem 1.5rem 5rem}}
