/* ============================================================
   Kanuma — Sankranthi-inspired fine-dining site
   ============================================================ */

:root {
  /* Sankranthi default palette — cream, maroon, turmeric */
  --bg:        #f6ecd6;
  --bg-soft:   #efe1c2;
  --bg-deep:   #2a1208;
  --ink:       #2a1208;
  --ink-soft:  #5a3a22;
  --ink-mute:  rgba(42, 18, 8, 0.55);
  --maroon:    #5a1818;
  --saffron:   #c97a14;
  --marigold:  #e09124;
  --leaf:      #5a6b22;
  --kumkum:    #8a1a1a;
  --line:      rgba(42, 18, 8, 0.18);
  --line-soft: rgba(42, 18, 8, 0.10);
  --paper:     #fbf5e6;

  --serif: 'Cormorant Garamond', 'Garamond', serif;
  --sans:  'Hanken Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  --telugu:'Tiro Telugu', 'Mandali', serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain everywhere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(90, 24, 24, 0.035) 1px, transparent 1.4px),
    radial-gradient(rgba(90, 24, 24, 0.025) 1px, transparent 1.4px);
  background-size: 14px 14px, 28px 28px;
  background-position: 0 0, 7px 7px;
  mix-blend-mode: multiply;
}

/* ========== TYPE ========== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--maroon);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
}

.eyebrow::before,
.eyebrow::after {
  content: '✦';
  margin: 0 0.7em;
  color: var(--marigold);
  opacity: 0.7;
}

.telugu {
  font-family: var(--telugu);
  font-feature-settings: 'liga';
}

/* ========== LAYOUT ========== */

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

/* ========== TOP NAV ========== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo .nav-logo-en {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .nav-logo-en small {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--maroon); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--maroon);
  transition: all .25s ease;
  transform: translateX(-50%);
}
.nav-links a:hover::after { width: 100%; }

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--maroon);
  color: var(--paper);
  border-radius: 999px;
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(90, 24, 24, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--maroon);
  border-radius: 999px;
}
.btn-ghost:hover {
  background: var(--maroon);
  color: var(--paper);
}

.btn-arrow::after {
  content: '→';
  margin-left: 4px;
  transition: transform .25s ease;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ========== KOLAM / DECORATIVE BORDERS ========== */

.kolam-band {
  display: flex;
  justify-content: center;
  padding: 18px 0;
  color: var(--maroon);
  opacity: 0.7;
}

.kolam-band svg {
  height: 28px;
  width: auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px 0;
  color: var(--saffron);
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  max-width: 200px;
}
.divider svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  /* big faded kolam dot mandala behind */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -55%);
  background-image: radial-gradient(circle, var(--maroon) 1.6px, transparent 2.2px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle, black 0%, black 30%, transparent 65%);
  mask-image: radial-gradient(circle, black 0%, black 30%, transparent 65%);
  opacity: 0.16;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
  align-items: center;
}

.hero-telugu {
  font-family: var(--telugu);
  font-size: clamp(96px, 16vw, 240px);
  font-weight: 400;
  color: var(--maroon);
  line-height: 0.9;
  letter-spacing: 0;
  position: relative;
  margin: 0;
}

.hero-en {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero-tag {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  color: var(--maroon);
  margin: 24px auto 18px;
  max-width: 780px;
}

.hero-blurb {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--marigold);
  border-radius: 50%;
}

/* Floating Sankranthi caricature slots flanking hero */
.hero-flanks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-flank {
  position: absolute;
  pointer-events: auto;
}
.hero-flank.left  { left:  3%; bottom: 8%; width: 200px; height: 240px; }
.hero-flank.right { right: 3%; bottom: 8%; width: 200px; height: 240px; }

.hero-flank image-slot {
  width: 100%;
  height: 100%;
}

/* ========== STORY SECTION ========== */

.story {
  padding: 100px 0;
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.story-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}

.story-image::before {
  /* offset frame */
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid var(--maroon);
  z-index: -1;
  border-radius: 4px;
}

.story-image-caption {
  position: absolute;
  bottom: -28px;
  right: -16px;
  background: var(--bg);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
}

.story-text h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 28px;
}

.story-text h2 .telugu {
  display: block;
  font-size: 0.55em;
  color: var(--saffron);
  font-weight: 400;
  margin-bottom: 8px;
}

.story-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.story-text p.lede {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--maroon);
  line-height: 1.5;
  margin-bottom: 24px;
}

.story-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.story-pillar { }
.story-pillar svg {
  width: 32px;
  height: 32px;
  color: var(--saffron);
  margin-bottom: 10px;
}
.story-pillar h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 6px;
}
.story-pillar p {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}

/* ========== SANKRANTHI BAND (THREE DAYS) ========== */

.sankranthi {
  background: var(--bg-deep);
  color: var(--paper);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

.sankranthi::before {
  /* faint kolam dot pattern */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(224, 145, 36, 0.18) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.sankranthi h2 {
  color: var(--paper);
  text-align: center;
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 12px;
}
.sankranthi h2 .telugu {
  display: block;
  font-size: 0.55em;
  color: var(--marigold);
  margin-bottom: 8px;
}
.sankranthi-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 68px;
  color: rgba(251, 245, 230, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.three-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.day-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.day-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  position: relative;
}
.day-card-image image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

.day-num {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 48px;
  height: 48px;
  background: var(--marigold);
  color: var(--bg-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  z-index: 5;
}

.day-card h3 {
  color: var(--paper);
  font-size: 32px;
  margin-bottom: 4px;
}
.day-card h3 .telugu {
  font-size: 0.7em;
  color: var(--marigold);
  margin-right: 8px;
}
.day-card .day-meaning {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}
.day-card p {
  color: rgba(251, 245, 230, 0.7);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ========== MENU ========== */

.menu {
  padding: 110px 0 100px;
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.menu-head h2 {
  font-size: clamp(40px, 5vw, 64px);
}
.menu-head h2 .telugu {
  display: block;
  font-size: 0.55em;
  color: var(--saffron);
  margin-bottom: 8px;
}
.menu-head p {
  max-width: 360px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.menu-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 16px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  position: relative;
  transition: color .2s ease;
}
.menu-tab:hover { color: var(--ink); }
.menu-tab[aria-selected="true"] { color: var(--maroon); }
.menu-tab[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--maroon);
}
.menu-tab .ct {
  margin-left: 8px;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
}

.menu-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.menu-panel[data-active="true"] { display: grid; }

.dish {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.dish-row1 {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.dish-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--maroon);
  white-space: nowrap;
}
.dish-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  margin-bottom: 6px;
}
.dish-price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.dish-price::before {
  content: '₹';
  font-size: 0.85em;
  color: var(--saffron);
  margin-right: 2px;
}
.dish-tel {
  font-family: var(--telugu);
  font-size: 16px;
  color: var(--saffron);
  margin-left: 6px;
}
.dish-desc {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 4px 0 0;
}
.dish-tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--ink-mute);
}
.tag.veg     { color: var(--leaf);    border-color: var(--leaf); }
.tag.nonveg  { color: var(--kumkum);  border-color: var(--kumkum); }
.tag.spicy   { color: var(--marigold);border-color: var(--marigold); }
.tag.signature{ color: var(--maroon); border-color: var(--maroon); background: rgba(90, 24, 24, 0.05); }

.menu-foot {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}

/* ========== GALLERY ========== */

.gallery {
  padding: 110px 0;
  background: var(--bg-soft);
  position: relative;
}

.gallery-head {
  text-align: center;
  margin-bottom: 56px;
}
.gallery-head h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 12px;
}
.gallery-head h2 .telugu {
  display: block;
  font-size: 0.55em;
  color: var(--saffron);
  margin-bottom: 8px;
}
.gallery-head p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 14px;
}
.gallery-grid > * { display: block; width: 100%; height: 100%; }

.gal-1 { grid-column: span 5; grid-row: span 4; }
.gal-2 { grid-column: span 4; grid-row: span 3; }
.gal-3 { grid-column: span 3; grid-row: span 3; }
.gal-4 { grid-column: span 4; grid-row: span 3; }
.gal-5 { grid-column: span 3; grid-row: span 4; }
.gal-6 { grid-column: span 5; grid-row: span 3; }
.gal-7 { grid-column: span 4; grid-row: span 3; }

/* ========== VISIT ========== */

.visit {
  padding: 110px 0;
}

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

.visit-text h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 18px;
}
.visit-text h2 .telugu {
  display: block;
  font-size: 0.55em;
  color: var(--saffron);
  margin-bottom: 8px;
}
.visit-text > p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 32px;
  max-width: 480px;
}

.visit-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 36px;
}
.visit-info .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 6px;
}
.visit-info .value {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.4;
}
.visit-info a { color: var(--maroon); text-decoration: none; }
.visit-info a:hover { text-decoration: underline; }

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line-soft);
}
.hours-list li:last-child { border: none; }
.hours-list .day { color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.hours-list .time { color: var(--ink); }

/* Reservation form */
.reserve-card {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--line);
  position: relative;
}
.reserve-card::before {
  /* corner ornament */
  content: '';
  position: absolute;
  top: 16px; right: 16px; width: 28px; height: 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23c97a14' stroke-width='1.4'><circle cx='14' cy='14' r='3'/><circle cx='14' cy='14' r='8'/><circle cx='14' cy='14' r='13'/></svg>") no-repeat center / contain;
  opacity: 0.7;
}

.reserve-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 4px;
  color: var(--maroon);
}
.reserve-card .reserve-sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  transition: border-color .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 60px; }

.reserve-card .btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.reserve-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}
.reserve-success.shown { display: block; }
.reserve-success svg { width: 48px; height: 48px; color: var(--leaf); margin-bottom: 12px; }
.reserve-success h4 { font-family: var(--serif); font-size: 28px; color: var(--maroon); margin-bottom: 8px; }
.reserve-success p { color: var(--ink-mute); font-size: 14px; margin: 0; }

/* ========== FOOTER ========== */

.footer {
  background: var(--bg-deep);
  color: rgba(251, 245, 230, 0.7);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
.footer-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  filter: invert(1) sepia(0.5) saturate(2);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(251, 245, 230, 0.6);
  max-width: 320px;
  margin: 0;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marigold);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  display: block;
  color: rgba(251, 245, 230, 0.7);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(251, 245, 230, 0.12);
  font-size: 12px;
  color: rgba(251, 245, 230, 0.45);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (max-width: 980px) {
  .nav-links { display: none; }
  .shell { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .story-grid,
  .visit-grid,
  .three-days,
  .menu-panel,
  .footer-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .visit-info { grid-template-columns: 1fr; }
  .hero-flank { display: none; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .gal-1, .gal-2, .gal-3, .gal-4, .gal-5, .gal-6, .gal-7 {
    grid-column: span 6; grid-row: span 3;
  }
}

/* ========== ANIMATION ========== */

[data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
[data-fade].in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-slow { animation: spin-slow 60s linear infinite; }

/* ========== IMAGE REPLACEMENTS ========== */

/* Hero flanks */
.hero-flank-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Story image */
.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Day-card images */
.day-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Gallery */
.gallery-cell {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-cell:hover .gallery-img { transform: scale(1.04); }

/* ========== ANIMATIONS ========== */

/* --- Floating spark / marigold petal particles (Hero) --- */
@keyframes float-spark {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.9; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-340px) translateX(var(--drift, 20px)) scale(0.25); opacity: 0; }
}

.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.spark {
  position: absolute;
  bottom: 15%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 8px 2px var(--saffron);
  animation: float-spark var(--dur, 5s) ease-in var(--delay, 0s) infinite;
}

.spark.s1 { left: 12%;  --delay: 0s;    --dur: 6s;   --drift: 18px;  }
.spark.s2 { left: 22%;  --delay: 1.3s;  --dur: 5.5s; --drift: -14px; }
.spark.s3 { left: 35%;  --delay: 0.7s;  --dur: 7s;   --drift: 22px;  width:5px; height:5px; }
.spark.s4 { left: 50%;  --delay: 2.1s;  --dur: 5s;   --drift: -10px; }
.spark.s5 { left: 63%;  --delay: 0.4s;  --dur: 6.5s; --drift: 16px;  }
.spark.s6 { left: 76%;  --delay: 1.8s;  --dur: 5.8s; --drift: -20px; width:5px; height:5px; }
.spark.s7 { left: 86%;  --delay: 0.9s;  --dur: 6.2s; --drift: 12px;  }
.spark.s8 { left: 44%;  --delay: 3s;    --dur: 4.8s; --drift: -18px; width:4px; height:4px; background: var(--saffron); }

/* --- Ember particles (Sankranthi dark section) --- */
@keyframes ember-rise {
  0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-500px) translateX(var(--edrift, 30px)) rotate(180deg) scale(0.1); opacity: 0; }
}

.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ember {
  position: absolute;
  bottom: 5%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 6px 2px rgba(224, 145, 36, 0.8);
  animation: ember-rise var(--edur, 6s) ease-in var(--edelay, 0s) infinite;
}

.ember.e1  { left: 8%;   --edelay: 0s;    --edur: 7s;   --edrift: 25px;  }
.ember.e2  { left: 16%;  --edelay: 1.4s;  --edur: 5.5s; --edrift: -20px; width:3px; height:3px; }
.ember.e3  { left: 27%;  --edelay: 0.6s;  --edur: 8s;   --edrift: 35px;  background: rgba(201,122,20,0.9); }
.ember.e4  { left: 40%;  --edelay: 2.2s;  --edur: 6s;   --edrift: -15px; }
.ember.e5  { left: 52%;  --edelay: 0.3s;  --edur: 7.5s; --edrift: 20px;  width:3px; height:3px; }
.ember.e6  { left: 64%;  --edelay: 1.7s;  --edur: 5.8s; --edrift: -28px; }
.ember.e7  { left: 75%;  --edelay: 0.9s;  --edur: 6.8s; --edrift: 18px;  background: rgba(201,122,20,0.8); }
.ember.e8  { left: 84%;  --edelay: 2.8s;  --edur: 5.2s; --edrift: -22px; width:3px; height:3px; }
.ember.e9  { left: 33%;  --edelay: 3.5s;  --edur: 6.5s; --edrift: 30px;  }
.ember.e10 { left: 58%;  --edelay: 1.1s;  --edur: 7.2s; --edrift: -12px; width:4px; height:4px; }

/* --- Flame flicker (Bhogi day card) --- */
@keyframes flame-flicker {
  0%   { transform: scaleY(1)    scaleX(1)    skewX(0deg);   }
  20%  { transform: scaleY(1.08) scaleX(0.95) skewX(-2deg);  }
  40%  { transform: scaleY(0.96) scaleX(1.04) skewX(1.5deg); }
  60%  { transform: scaleY(1.05) scaleX(0.97) skewX(-1deg);  }
  80%  { transform: scaleY(0.98) scaleX(1.02) skewX(1deg);   }
  100% { transform: scaleY(1)    scaleX(1)    skewX(0deg);   }
}

@keyframes flame-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(224,145,36,0.6)); }
  50%       { filter: drop-shadow(0 0 14px rgba(224,145,36,0.9)); }
}

.day-card-image { position: relative; }

.flame-wrap {
  position: absolute;
  bottom: 10px;
  right: 14px;
  width: 36px;
  height: 54px;
  pointer-events: none;
  z-index: 6;
}

.flame-svg {
  width: 100%;
  height: 100%;
  animation: flame-flicker 0.7s ease-in-out infinite,
             flame-glow     1.4s ease-in-out infinite;
  transform-origin: bottom center;
}

/* --- Kolam pulse glow (hero backdrop) --- */
@keyframes kolam-pulse {
  0%, 100% { opacity: 0.14; }
  50%       { opacity: 0.22; }
}
.hero::before {
  animation: kolam-pulse 6s ease-in-out infinite;
}

/* --- Nav logo subtle shimmer on hover --- */
@keyframes shimmer-text {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.nav-logo:hover .nav-logo-en {
  background: linear-gradient(
    90deg,
    var(--maroon) 30%,
    var(--saffron) 50%,
    var(--maroon) 70%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 1.5s linear forwards;
}
