/* ==========================================================================
   Shruthi & Bharadhwaj — 10 & 11 November 2026, Chennai
   Editorial ivory / vermilion / mustard. Cormorant Garamond + DM Sans.
   ========================================================================== */

:root {
  --paper: #fbf6eb;
  --paper-deep: #f4ead7;
  --card: #fffdf8;
  --ink: #33231a;
  --ink-soft: #6d5a48;
  --verm: #9c3427;
  --verm-deep: #7c281e;
  --mustard: #c9922f;
  --mustard-deep: #8a6512;
  --line: rgba(51, 35, 26, 0.14);
  --line-strong: rgba(124, 40, 30, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}



/* Weather: a compact forecast card beside an editorial monsoon note. */
.weather-section { padding: 5rem 0; border-top: 1px solid var(--line); }
.weather-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.weather-grid > * { min-width: 0; }
.weather-card { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--card); border: 1px solid var(--line-strong); border-top: 3px solid var(--mustard); }
.weather-card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.weather-card h3, .weather-advice h3 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.15; margin-bottom: 1rem; }
.weather-mark { width: 3rem; height: 3rem; color: var(--mustard-deep); flex-shrink: 0; }
#weather-status { font-size: .85rem; color: var(--ink-soft); }
.weather-temperature { font: 500 clamp(4rem, 8vw, 6rem)/1.1 var(--serif); margin-top: 1rem; }
.weather-unit { font-size: .42em; vertical-align: top; line-height: 1.7; }
.weather-condition { color: var(--verm); margin: .3rem 0 1rem; }
.weather-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-block: 1px solid var(--line); padding: 1rem 0; margin: 0 0 1.25rem; }
.weather-metrics dt { font-size: .8rem; color: var(--ink-soft); }
.weather-metrics dd { margin: 0; font-size: 1.3rem; }
.weather-outlook-label { font: 500 .85rem var(--sans); margin-bottom: .8rem; }
.weather-outlook { list-style: none; padding: 0; margin: 0 0 1rem; }
.weather-outlook li { display: grid; grid-template-columns: 1fr auto; gap: .15rem .6rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.weather-outlook li span:last-child { grid-column: 1 / -1; color: var(--ink-soft); }
.weather-source { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: space-between; margin: 1.2rem 0 .75rem; font-size: .8rem; }
.weather-source button { border: 0; border-bottom: 1px solid currentColor; padding: 0; color: var(--verm); background: transparent; font: inherit; cursor: pointer; }
.weather-source button:disabled { opacity: .6; cursor: wait; }
.weather-fineprint { font-size: .75rem; color: var(--ink-soft); }
.weather-advice > p { margin-bottom: 1rem; }
.weather-aside { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--verm); }
.weather-pack { padding-left: 1.2rem; margin: 1.5rem 0; font-size: .95rem; }
.weather-pack li { padding-left: .25rem; margin-bottom: .85rem; }
.weather-advice > a { font-size: .85rem; }
@media (max-width: 760px) {
  .weather-grid { grid-template-columns: 1fr; }
  .weather-section { padding: 3.5rem 0; }
}

/* Allow long ceremony names to wrap without widening narrow screens. */
.hero-grid > *, .customs-grid > *, .gallery-grid > * { min-width: 0; }
.hero { overflow: clip; }
@media (max-width: 679px) {
  html .guide-entry summary { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) 2.1rem; gap: .6rem; }
  .guide-entry .glyph { grid-column: 1; grid-row: 1 / 3; }
  .guide-entry .entry-title { grid-column: 2; overflow-wrap: anywhere; }
  .guide-entry .entry-when { grid-column: 2; margin-left: 0; justify-self: start; font-size: .6rem; }
  .guide-entry .entry-marker, .guide-entry .entry-when + .entry-marker { grid-column: 3; grid-row: 1 / 3; margin-left: 0; }
  .gallery-item { width: 94%; justify-self: center; }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
}

p {
  margin: 0;
}

a {
  color: var(--verm);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--verm-deep);
}

::selection {
  background: var(--verm);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--verm);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] {
  scroll-margin-top: 5.5rem;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  background: var(--verm);
  color: var(--paper);
  font: 500 0.9rem var(--sans);
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-250%);
  transition: transform 0.25s var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--paper);
}

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container-narrow {
  max-width: 46rem;
}

/* ---------- Shared section vocabulary ---------- */

section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-head {
  margin-bottom: clamp(2.75rem, 6vw, 4.25rem);
}

.kicker {
  font: 500 0.78rem var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--verm);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(2.3rem, 5.5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.divider {
  display: block;
  width: 200px;
  max-width: 55%;
  height: auto;
  aspect-ratio: 240 / 24;
  color: var(--verm);
  opacity: 0.55;
  margin-top: 1.3rem;
}

.section-note {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--verm);
  color: var(--paper);
  font: 500 0.95rem var(--sans);
  letter-spacing: 0.03em;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--verm-deep);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
}

.btn:hover {
  background: var(--verm-deep);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(124, 40, 30, 0.55);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--verm);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(156, 52, 39, 0.07);
  color: var(--verm-deep);
}

.ext-arrow {
  font-size: 0.9em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 235, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  padding-block: 0.85rem;
}

.monogram {
  font: 600 1.4rem var(--serif);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.monogram span {
  font-style: italic;
  font-weight: 400;
  color: var(--verm);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
}

.site-nav a {
  font: 500 0.9rem var(--sans);
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--verm);
  border-bottom-color: var(--mustard);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 7vw, 4.5rem);
  align-items: center;
}

.hero-kicker {
  color: var(--mustard-deep);
}

.hero-names {
  font-size: clamp(3.1rem, 11.5vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 1.1rem 0 1.5rem;
}

.name-line {
  display: block;
}

.hero-amp {
  display: block;
  font-size: 0.5em;
  font-style: italic;
  font-weight: 400;
  color: var(--verm);
  line-height: 0.9;
  margin: 0.06em 0;
}

.hero-meta {
  font: 500 0.92rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
}

.meta-dot {
  color: var(--mustard);
  font-size: 1.2em;
}

.hero-lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.3rem;
}

/* Hero photo — irregular framing */

.hero-photo {
  position: relative;
  margin: 0;
  width: min(100%, 25rem);
  justify-self: center;
  rotate: 1.4deg;
}

.hero-kolam {
  position: absolute;
  top: -4.2rem;
  right: -3.2rem;
  width: min(52vw, 15rem);
  aspect-ratio: 1;
  color: var(--verm);
  opacity: 0.28;
  z-index: 0;
  animation: kolam-spin 140s linear infinite;
}

.photo-frame {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: 18px 18px 0 -6px rgba(201, 146, 47, 0.4);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-caption {
  margin-top: 1.1rem;
  font: italic 400 1.05rem var(--serif);
  color: var(--ink-soft);
}

.hero-photo .photo-caption {
  text-align: right;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  font: 500 0.66rem var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--verm), transparent);
  transform-origin: top;
  animation: scroll-pulse 2.4s var(--ease-out) infinite;
}

/* ---------- A note from us ---------- */

.note-section {
  padding-block: clamp(1rem, 3vw, 2.5rem);
}

.note-body {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
}

.note-body p + p {
  margin-top: 1.2rem;
}

.drop-cap p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.3em;
  line-height: 0.82;
  color: var(--verm);
  float: left;
  padding: 0.09em 0.14em 0 0;
}

/* ---------- Schedule ---------- */

.schedule-section {
  background: linear-gradient(180deg, transparent, rgba(201, 146, 47, 0.06) 18%, rgba(201, 146, 47, 0.06) 82%, transparent);
}

.days-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.day-block {
  border-top: 2px solid var(--verm);
  padding-top: 1.5rem;
}

.day-block:last-child {
  border-top-color: var(--mustard);
}

.day-label {
  font: 500 0.74rem var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mustard-deep);
}

.day-date {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-style: italic;
  margin-top: 0.4rem;
}

.event-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.event {
  display: grid;
  grid-template-columns: minmax(7.75rem, 10.5rem) 1fr;
  gap: 0.75rem 1.75rem;
  align-items: baseline;
  padding-block: 1.4rem;
  border-bottom: 1px dashed var(--line);
}

.event:first-child {
  padding-top: 0.5rem;
}

.event-time {
  font: 500 clamp(1.65rem, 3vw, 2.05rem)/1.1 var(--serif);
  color: var(--verm);
}

.event-time span {
  font-family: var(--sans);
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.event-name {
  font-size: 1.45rem;
  line-height: 1.2;
}

.event-note {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.timing-note {
  margin-top: 1.75rem;
  background: #f3e6c9;
  background: color-mix(in srgb, var(--mustard) 15%, var(--paper));
  border-left: 3px solid var(--mustard);
  border-radius: 0 6px 6px 0;
  padding: 1.05rem 1.3rem;
  font-size: 0.97rem;
  line-height: 1.65;
}

.timing-note strong {
  color: var(--verm-deep);
}

/* ---------- Venue ---------- */

.venue-feature {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: stretch;
}

.venue-exterior {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  aspect-ratio: 8 / 5;
  min-width: 0;
}

.venue-exterior img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.venue-exterior figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.8rem 1rem;
  color: #fff;
  background: linear-gradient(transparent, rgb(18 22 25 / 78%));
  font-size: 0.9rem;
}

.venue-panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--verm);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.venue-name {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  line-height: 1.15;
}

.venue-address {
  font-style: normal;
  line-height: 1.85;
  margin: 1.15rem 0 1.6rem;
  color: var(--ink);
}

.venue-panel .btn {
  margin-top: 0.25rem;
}

@media (min-width: 760px) {
  .venue-feature {
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.8fr);
  }
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  gap: clamp(2.75rem, 7vw, 4rem);
}

.gallery-item {
  margin: 0;
  width: min(100%, 25rem);
}

.gallery-item .photo-frame {
  box-shadow: 14px 14px 0 -5px rgba(156, 52, 39, 0.14);
}

.gi-1 {
  rotate: -1.3deg;
}

.gi-2 {
  rotate: 1.7deg;
  margin-left: auto;
}

.gi-3 {
  rotate: -0.8deg;
}

.gi-2 .photo-frame img {
  aspect-ratio: 4 / 5;
}

/* Washi-tape detail */
.tape {
  position: relative;
}

.tape::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 112px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(201, 146, 47, 0.34);
  box-shadow: 0 1px 3px rgba(51, 35, 26, 0.1);
  z-index: 2;
}

/* ---------- Customs field guide ---------- */

.customs-grid {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}

.comic-figure {
  margin: 0;
  width: min(100%, 20rem);
  justify-self: center;
  rotate: -1.2deg;
}

.comic-story { display: grid; gap: 2.5rem; align-content: start; }
.comic-scene {
  width: 100%;
  aspect-ratio: 240 / 270;
  background-color: var(--card);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 8px solid var(--card);
  box-shadow: 10px 10px 0 -4px rgba(156, 52, 39, 0.12);
}
/* Row/column crops derived from the original poster; its date footer is never displayed. */
.scene-vratham { background-image: url('/assets/comic-vratham.png'); }
.scene-kasi { background-image: url('/assets/comic-kasi.png'); aspect-ratio: 240 / 300; }
.scene-garlands { background-image: url('/assets/comic-garlands.png'); aspect-ratio: 240 / 300; }
.comic-story .comic-figure { width: min(100%, 16rem); }
.comic-story .comic-figure:nth-child(2) { rotate: 1.5deg; }
.comic-note { font-size: .85rem; color: var(--ink-soft); max-width: 24rem; }
@media (min-width: 680px) and (max-width: 919px) {
  .comic-story { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .comic-note { grid-column: 1 / -1; }
}

.comic-figure .photo-caption {
  max-width: 24rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.98rem;
}

.guide-list {
  border-top: 1px solid var(--line);
}

.guide-entry,
.faq-entry {
  border-bottom: 1px solid var(--line);
}

.guide-entry summary,
.faq-entry summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s;
}

.guide-entry summary::-webkit-details-marker,
.faq-entry summary::-webkit-details-marker {
  display: none;
}

.guide-entry summary:hover,
.faq-entry summary:hover {
  background: rgba(201, 146, 47, 0.07);
}

.glyph {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  color: var(--verm);
  opacity: 0.9;
}

.entry-title {
  font: 500 1.35rem/1.25 var(--serif);
  transition: color 0.2s;
}

details[open] .entry-title {
  color: var(--verm);
}

.entry-when,
.entry-area {
  margin-left: auto;
  font: 500 0.68rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32em 0.75em;
  white-space: nowrap;
}

.entry-marker {
  position: relative;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.guide-entry .entry-when + .entry-marker {
  margin-left: 0.9rem;
}

.entry-marker::before,
.entry-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--verm);
}

.entry-marker::before {
  width: 11px;
  height: 1.5px;
}

.entry-marker::after {
  width: 1.5px;
  height: 11px;
  transition: transform 0.3s var(--ease-out);
}

details[open] .entry-marker::after {
  transform: scaleY(0);
}

.entry-body {
  padding: 0.15rem 0 1.6rem;
  color: var(--ink);
}

.guide-entry .entry-body {
  padding-left: 3.2rem;
}

.entry-body p + p {
  margin-top: 0.85rem;
}

.entry-body strong {
  font-weight: 500;
  color: var(--verm-deep);
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-entry .entry-title {
  font-size: 1.22rem;
}

.faq-entry .entry-body p {
  font-size: 0.99rem;
  line-height: 1.75;
}

.faq-entry .entry-body {
  padding-right: 3.1rem;
}

/* ---------- Explore Chennai ---------- */

.explore-section {
  background: linear-gradient(180deg, transparent, rgba(201, 146, 47, 0.06) 18%, rgba(201, 146, 47, 0.06) 82%, transparent);
}

.explore-item,
.explore-entry {
  min-width: 0;
}

.explore-practical {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
  padding: 1.05rem 1.3rem;
  background: #f3e6c9;
  background: color-mix(in srgb, var(--mustard) 15%, var(--paper));
  border-left: 3px solid var(--mustard);
  border-radius: 0 6px 6px 0;
  font-size: 0.97rem;
  line-height: 1.65;
}

.explore-practical strong {
  color: var(--verm-deep);
}

.explore-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.explore-item {
  border-top: 1px solid var(--line);
}

.explore-entry summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.2rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s;
}

.explore-entry summary::-webkit-details-marker {
  display: none;
}

.explore-entry summary:hover {
  background: rgba(201, 146, 47, 0.07);
}

.entry-num {
  flex: none;
  width: 2.2rem;
  font: italic 500 1.55rem/1 var(--serif);
  color: var(--mustard-deep);
}

.explore-entry .entry-title {
  font-size: 1.22rem;
}

.explore-entry .entry-body {
  padding-left: 3.2rem;
  padding-bottom: 1.75rem;
}

.entry-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.8rem 1.75rem;
  margin: 1.15rem 0 0;
  padding: 0.9rem 1.1rem;
  background: #f3e6c9;
  background: color-mix(in srgb, var(--mustard) 11%, var(--paper));
  border-left: 3px solid var(--mustard);
  border-radius: 0 6px 6px 0;
}

.entry-meta dt {
  font: 500 0.66rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard-deep);
}

.entry-meta dd {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 1.05rem;
  font-size: 0.86rem;
}

.entry-links a {
  white-space: nowrap;
}

.food-note {
  margin-top: clamp(2.75rem, 6vw, 4.25rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--verm);
}

.food-note h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.food-note > p {
  line-height: 1.7;
}

.food-note > p:first-of-type {
  margin-top: 1.1rem;
}

.food-note ul {
  margin: 1.4rem 0 1.5rem;
  padding-left: 1.2rem;
}

.food-note li {
  margin-bottom: 0.8rem;
  padding-left: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.food-note li strong {
  font-weight: 500;
  color: var(--verm-deep);
}

.food-note > p:last-child {
  font-size: 0.92rem;
}

@media (min-width: 920px) {
  .explore-list {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.75rem, 5vw, 4.5rem);
  }

  .food-note ul {
    columns: 2;
    column-gap: 3rem;
  }

  .food-note li {
    break-inside: avoid;
  }
}

@media (max-width: 679px) {
  html .explore-entry summary {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.1rem;
    gap: 0.35rem 0.7rem;
  }
  .explore-entry .entry-num {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }
  .explore-entry .entry-title {
    grid-column: 2;
    overflow-wrap: anywhere;
  }
  .explore-entry .entry-area {
    grid-column: 2;
    margin-left: 0;
    justify-self: start;
    font-size: 0.6rem;
  }
  .explore-entry .entry-marker {
    grid-column: 3;
    grid-row: 1 / 3;
    margin-left: 0;
  }
  .explore-entry .entry-body {
    padding-left: 0;
  }
  .explore-entry .entry-meta { grid-template-columns: minmax(0, 1fr); }
  .explore-entry .entry-links a { white-space: normal; }
}
@media (max-width: 359px) {
  .day-block, .event-detail { min-width: 0; }
  .event { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.footer-divider {
  margin: 0 auto 1.75rem;
  color: var(--mustard);
  opacity: 0.85;
}

.footer-names {
  font: 500 clamp(1.7rem, 4vw, 2.2rem) var(--serif);
}

.footer-names span {
  font-style: italic;
  font-weight: 400;
  color: var(--verm);
}

.footer-date {
  margin-top: 0.5rem;
  font: 500 0.78rem var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.to-top {
  display: inline-block;
  margin-top: 2.25rem;
  font: 500 0.8rem var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--verm);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s, color 0.2s;
}

.to-top:hover {
  color: var(--verm-deep);
  border-bottom-color: var(--verm);
}

/* ---------- Load-in (CSS-only, runs without JS) ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kolam-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scroll-pulse {
  0% {
    transform: scaleY(0);
  }
  45% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

.hero-copy > * {
  animation: rise 0.9s var(--ease-out) backwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }

.hero-photo {
  animation: rise 1.1s var(--ease-out) 0.4s backwards;
}

/* ---------- Scroll reveal (JS-gated: content visible by default) ---------- */

html.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

html.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Gentle settle for the comic panel — keeps its editorial tilt */
html.js-motion .comic-panel[data-reveal] {
  transform: translateY(28px) rotate(0.8deg);
}

html.js-motion .comic-panel[data-reveal].is-visible {
  transform: translateY(0) rotate(0deg);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy > *,
  .hero-photo {
    animation: none;
  }

  .hero-kolam {
    animation: none;
  }

  .scroll-line {
    animation: none;
  }

  html.js-motion [data-reveal],
  html.js-motion .comic-panel[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 680px) {
  .gallery-grid {
    gap: 3rem;
  }

  .venue-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .hero-photo {
    justify-self: end;
    width: min(100%, 24rem);
  }

  .days-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: start;
  }

  .gallery-item {
    width: auto;
    margin-left: 0;
  }

  .gi-1 {
    grid-column: 1 / 6;
  }

  .gi-2 {
    grid-column: 7 / 12;
    margin-top: 5.5rem;
  }

  .gi-3 {
    grid-column: 3 / 9;
    margin-top: 4.5rem;
  }

  .gi-2 .photo-frame img {
    aspect-ratio: 3 / 4;
  }

  .customs-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6.5fr);
    align-items: start;
  }

  .comic-figure {
    justify-self: start;
    width: min(100%, 21rem);
    position: sticky;
    top: 6.5rem;
  }
}

@media (min-width: 1100px) {
  .comic-figure {
    width: min(100%, 22.5rem);
  }

  .guide-entry .entry-body {
    padding-left: 3.45rem;
  }
}
