@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #fdf3dc;
  --tint: #f6dfa0;
  --tint-deep: #edc873;
  --ink: #241008;
  --ink-soft: #5c3524;
  --ink-faint: #9c7a5c;
  --accent: #9e1f1f;
  --accent-deep: #6e1414;
  --accent-pastel: #e8b8a0;
  --green: #1f6b40;
  --green-deep: #123d25;
  --green-pastel: #cfe0c8;
  --hairline: #ecd08a;
  --gold: #d1962a;
  --gold-deep: #a6741c;
  --gold-pastel: #f1dca3;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(158, 31, 31, 0.12);
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.6rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
p a, .fine-print a, .tag-note a, .story-placeholder a, .verify-badge a, .journal-entry a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* homepage-only Onam flash — sits above the hero so it's the first thing
   visible, no scrolling needed. SEASONAL: remove along with .onam-spotlight,
   journal/onam-sadya-2026.html, and the ONAM_2026 block in build-site.mjs
   after Onam 2026 (festivities end 30 Aug) */
.home-flash {
  display: block;
  background: linear-gradient(90deg, var(--green-pastel) 0%, var(--gold-pastel) 100%);
  border-bottom: 1px solid var(--hairline);
  animation: dropIn .5s ease both;
}
.home-flash:hover .home-flash-arrow { color: var(--accent-deep); }
.home-flash-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .7rem 1.75rem;
  text-align: center;
}
.home-flash-tag {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
  color: var(--green-deep);
  white-space: nowrap;
}
.home-flash-text { font-size: .87rem; color: var(--ink-soft); }
.home-flash-arrow { font-size: .87rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.onam-spotlight { scroll-margin-top: 5.5rem; }

/* header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(253, 248, 239, 0.93);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  animation: dropIn .5s ease both;
}
.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent); }
.site-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem .5rem .7rem;
  min-height: 44px;
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background .15s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] { background: var(--tint-deep); color: var(--accent-deep); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 720px) {
  .header-inner { align-items: center; gap: .75rem; padding-top: .8rem; padding-bottom: .8rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .4rem 0 .8rem;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 14px 26px rgba(36, 16, 8, 0.12);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
  }
  body.nav-open .site-nav { display: flex; animation: dropIn .2s ease both; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.75rem;
    font-size: .82rem;
  }
  .site-nav a.active { border-bottom: none; padding-bottom: 0; background: var(--tint); }
}

/* hero */
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -6rem;
  left: -8rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint-deep) 0%, rgba(243, 221, 188, 0) 70%);
  animation: blobFloat 14s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-pastel) 0%, rgba(211, 227, 196, 0) 72%);
  animation: blobFloat 11s ease-in-out infinite reverse;
}
.hero-text { animation: riseIn .7s ease both; }
.hero-art {
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: end;
  display: block;
  animation: riseIn .8s ease .1s both, drift 7s ease-in-out 1s infinite;
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-art { max-width: 300px; justify-self: center; }
}
.hub-hero { padding-top: 3rem; padding-bottom: 1.5rem; }
.hub-hero .tag-note { margin-top: 1rem; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2rem, -1.5rem) scale(1.08); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* area/name marquee */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--tint);
  overflow: hidden;
  white-space: nowrap;
  padding: .9rem 0;
}
.marquee-track {
  display: inline-flex;
  gap: 2.2rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
}
.marquee-item::after { content: "✦"; color: var(--gold); font-style: normal; margin-left: 2.2rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 400;
  max-width: 20ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  max-width: 54ch;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}
.hero-cta { display: flex; gap: 1.75rem; align-items: center; margin-top: 2rem; flex-wrap: wrap; }
.hero-meta {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--bg);
  box-shadow: 0 6px 18px rgba(77, 112, 56, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--green) 100%);
  color: var(--bg);
  box-shadow: 0 10px 24px rgba(77, 112, 56, 0.36);
}
.btn-light { background: var(--bg); color: var(--accent-deep); }
.btn-light:hover { background: var(--tint); color: var(--accent-deep); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.link-arrow {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* dividers — mural-style repeating border motif */
.mural-divider {
  height: 22px;
  margin: 1.4rem 0 0;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22' viewBox='0 0 36 22'%3E%3Cpath d='M0 13 Q9 4 18 13 Q27 22 36 13' fill='none' stroke='%23a6741c' stroke-width='2'/%3E%3Ccircle cx='18' cy='13' r='2.6' fill='%239e1f1f'/%3E%3C/svg%3E");
  opacity: .95;
  animation: pulseGlow 3.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}

/* sections */
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
section.wrap { padding-top: 3rem; padding-bottom: 3rem; }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
}
.section-sub { color: var(--ink-soft); margin-top: .4rem; }
.section-foot { margin-top: 2.2rem; }

/* homepage Onam Sadya spotlight — seasonal. SEASONAL: remove this block
   along with journal/onam-sadya-2026.html and the ONAM_2026 block in
   build-site.mjs after Onam 2026 (festivities end 30 Aug) */
.onam-spotlight {
  background: var(--green-pastel);
  border-radius: 24px;
  padding: 3rem 2.5rem;
}
.onam-spotlight .eyebrow { color: var(--green-deep); }
.onam-spotlight .section-sub { color: #2c4a24; }
.onam-spotlight .card { background: var(--bg); }
.onam-spotlight .card:hover { background: var(--tint); }

/* homepage Malayali spotlight — the lead section, gets a bit more presence */
.malayali-spotlight {
  background: var(--accent-pastel);
  border-radius: 24px;
  padding: 3rem 2.5rem;
}
.malayali-spotlight .eyebrow { color: var(--accent-deep); }
.malayali-spotlight .section-sub { color: #5c3524; }
.malayali-spotlight .card { background: var(--bg); }
.malayali-spotlight .card:hover { background: var(--tint); }

/* homepage Cooks & Catering spotlight — second lead section */
.catering-spotlight {
  background: var(--gold-pastel);
  border-radius: 24px;
  padding: 3rem 2.5rem;
}
.catering-spotlight .eyebrow { color: var(--gold-deep); }
.catering-spotlight .section-sub { color: #5c4319; }
.catering-spotlight .card { background: var(--bg); }
.catering-spotlight .card:hover { background: var(--tint); }

/* secondary "also South Indian" mention — deliberately understated */
.also-south-indian { padding-top: 1rem; padding-bottom: 1rem; text-align: center; }
.also-south-indian .eyebrow { margin-bottom: .5rem; }
.also-links { font-size: .85rem; color: var(--ink-faint); }
.also-links a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.also-links a:hover { color: var(--accent); }
.catering-callout .also-links { font-size: 1rem; font-weight: 600; }
.catering-callout .also-links a { color: var(--gold-deep); text-decoration: none; }
.catering-callout .also-links a:hover { color: var(--accent); }

/* index list (categories) */
.index-list { display: flex; flex-direction: column; gap: .8rem; }
.index-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.15rem 1.5rem;
  background: var(--tint);
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.index-row:hover {
  background: var(--tint-deep);
  transform: translateX(6px) scale(1.015);
  box-shadow: 0 10px 26px rgba(36, 29, 21, 0.1);
}
.index-row:hover .index-title { color: var(--accent-deep); }
.index-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .2s ease;
}
.index-icon img { width: 78%; height: 78%; object-fit: contain; }
.index-row:hover .index-icon { transform: scale(1.08) rotate(-4deg); }

.index-icon-udupi, .page-icon-udupi { background: var(--accent-pastel); }
.index-icon-tamil, .page-icon-tamil { background: var(--green-pastel); }
.index-icon-malayali, .page-icon-malayali { background: var(--green-pastel); }
.index-icon-andhra, .page-icon-andhra { background: var(--accent-pastel); }
.index-icon-mixed, .page-icon-mixed { background: var(--gold-pastel); }
.index-icon-tiffin, .page-icon-tiffin { background: var(--gold-pastel); }
.index-icon-filter-coffee-sweets, .page-icon-filter-coffee-sweets { background: var(--accent-pastel); }
.index-icon-catering, .page-icon-catering { background: var(--gold-pastel); }
.index-body { display: flex; flex-direction: column; gap: .15rem; }
.index-title {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color .15s ease;
}
.index-desc { font-size: .9rem; color: var(--ink-soft); max-width: 56ch; }
.index-count {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .index-row { grid-template-columns: 2.4rem 1fr; gap: .9rem; }
  .index-count { display: none; }
  .index-title { font-size: 1.25rem; }
}

/* place cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.card {
  display: block;
  padding: 1.4rem 1.5rem;
  background: var(--tint);
  border-radius: 14px;
  color: var(--ink);
  overflow: hidden;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card-photo {
  display: block;
  width: calc(100% + 3rem);
  height: 160px;
  object-fit: cover;
  margin: -1.4rem -1.5rem 1rem;
}
.card:hover {
  background: var(--tint-deep);
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 14px 30px rgba(36, 29, 21, 0.14);
}
.card:hover h3 { color: var(--accent-deep); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.card-top h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  transition: color .15s ease;
}
.area-chip {
  flex-shrink: 0;
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.pills { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .4rem 0 .2rem; }
.pill {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
}
.pill + .pill::before { content: "· "; color: var(--ink-faint); margin-right: .4rem; }
.pill-udupi { color: var(--accent-deep); }
.pill-tamil { color: var(--green-deep); }
.pill-malayali { color: var(--green); }
.pill-andhra { color: var(--accent); }
.pill-mixed { color: var(--gold); }
.pill-tiffin { color: var(--gold-deep); }
.pill-filter-coffee-sweets { color: var(--accent-deep); }
.pill-catering { color: var(--gold-deep); }
.card-address { margin: .35rem 0 0; font-size: .87rem; color: var(--ink-soft); }
.sadya-note { margin: .5rem 0 0; font-size: .78rem; font-style: italic; color: var(--ink-faint); }

/* areas */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}
.area-tile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  padding: 1rem 1.3rem;
  background: var(--tint);
  border-radius: 12px;
  color: var(--ink);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.area-tile:hover {
  background: var(--tint-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(36, 29, 21, 0.12);
}
.area-tile:hover h3 { color: var(--accent-deep); }
.area-tile:hover .count { color: var(--gold-deep); }
.area-tile h3 { margin: 0; font-size: 1.12rem; font-weight: 500; transition: color .15s ease; }
.area-tile .count { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* place page */
.page-head { padding-top: 4rem; }
.page-head-with-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.page-head-text { flex: 1; min-width: 0; }
.page-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
.page-icon img { width: 76%; height: 76%; object-fit: contain; }
@media (max-width: 640px) {
  .page-head-with-icon { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .page-icon { width: 5.6rem; height: 5.6rem; }
}
.place-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 400; }
.place-head .pills { margin-top: .6rem; }
.verify-badge {
  margin-top: 1.4rem;
  font-size: .85rem;
  color: var(--ink-soft);
  background: var(--tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: .7rem 1.1rem;
  display: inline-block;
}
.place-photo-wrap { padding-top: 2rem; }
.place-photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .8rem;
}
.place-photo-gallery:has(img:only-child) { grid-template-columns: 1fr; }
.place-photo {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
}
.place-photo-gallery:has(img:only-child) .place-photo { height: auto; max-height: 480px; }
.place-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.place-main h2 {
  font-size: .76rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin: 2.2rem 0 .8rem;
}
.place-main h2:first-child { margin-top: 0; }
.story-placeholder {
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.7;
}
.know-more {
  background: var(--tint);
  border-radius: 16px;
  padding: 1.8rem 2rem;
}
.know-more .eyebrow { margin-bottom: .6rem; }
.know-more p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.7; margin: 0 0 1.3rem; }
.place-side {
  background: var(--tint);
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
}
.place-side h2 {
  font-size: .76rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.detail-list { margin: 0; }
.detail-list dt {
  font-weight: 600;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin-top: 1.1rem;
}
.detail-list dt:first-child { margin-top: 0; }
.detail-list dd { margin: .2rem 0 0; font-size: .95rem; }
.detail-list dd a { color: var(--accent); }

@media (max-width: 760px) {
  .place-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* journal */
.journal-list { display: flex; flex-direction: column; gap: 1rem; max-width: 72ch; padding-bottom: 4rem; }
.journal-entry {
  padding: 2.2rem 2.4rem;
  background: var(--tint);
  border-radius: 16px;
  border-left: 3px solid transparent;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.journal-entry:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 12px 26px rgba(36, 29, 21, 0.1);
}
.journal-date {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .4rem;
}
.journal-entry h2 { margin-top: 0; font-size: 1.7rem; }
.journal-entry p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.journal-feature { display: block; border-left-color: var(--accent); background: var(--gold-pastel); }

/* contribute */
.contribute-form-wrap { padding-bottom: 4rem; }
.contribute-form, .form-success {
  background: var(--tint);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  max-width: 620px;
}
.contribute-form label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.contribute-form .req, .contribute-form .opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: .74rem;
}
.contribute-form .req { color: var(--accent-deep); }
.contribute-form .opt { color: var(--ink-faint); }
.contribute-form input,
.contribute-form textarea,
.contribute-form select {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .85rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid transparent;
  border-radius: 10px;
  outline: none;
}
.contribute-form input:focus,
.contribute-form textarea:focus,
.contribute-form select:focus {
  border-color: var(--accent);
  background-color: #fff;
}
.contribute-form select {
  cursor: pointer;
  padding-right: 2.4rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235c3524' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
}
.contribute-form textarea { resize: vertical; min-height: 110px; }
.form-type-hint {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  margin: -.5rem 0 1.3rem;
}
.form-error { color: #a33b2a; font-size: .85rem; }
.form-actions { display: flex; gap: .9rem; margin-top: 1.4rem; }
.form-actions .btn, .form-success .btn { cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.form-success h2 { font-size: 1.7rem; font-weight: 500; margin-top: 0; }
.form-success p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.4rem; }
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .9rem .35rem .55rem;
  margin-bottom: 1.1rem;
  background: var(--green-pastel);
  color: var(--green-deep);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  animation: popIn .35s ease both;
}
.success-check { color: var(--green-deep); flex-shrink: 0; }
@keyframes popIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 560px) {
  .contribute-form, .form-success { padding: 1.5rem 1.3rem; }
}

/* about */
.narrow { max-width: 66ch; padding-bottom: 4rem; }
.lead {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.narrow p { color: var(--ink-soft); line-height: 1.75; }
.narrow p.lead { color: var(--ink); }
.signoff {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent) !important;
}

.tag-note { font-size: .85rem; color: var(--ink-faint); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-pastel) 0%, var(--tint-deep) 100%);
  color: var(--ink);
  margin-top: 4rem;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip .eyebrow { color: var(--accent-deep); }
.cta-strip h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
}
.cta-strip p { max-width: 60ch; color: #4d5a42; line-height: 1.75; }
.cta-strip .btn { margin-top: 1.4rem; }
.cta-strip .btn-light { background: var(--accent-deep); color: var(--bg); }
.cta-strip .btn-light:hover { background: var(--green); color: var(--bg); }

/* footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3.5rem;
  background: var(--tint);
  margin-top: 0;
}
.cta-strip + .site-footer, main + .site-footer { margin-top: 0; }
.footer-inner p:first-child {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
}
.footer-inner strong { font-style: italic; font-weight: 500; }
.fine-print { font-size: .8rem; color: var(--ink-faint); max-width: 68ch; line-height: 1.7; }

.footer-legal { font-size: .8rem; margin-top: 1.2rem; }
.footer-legal a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.footer-legal a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-legal span { color: var(--ink-faint); margin: 0 .5rem; }

/* legal pages (terms, privacy) */
.legal h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2.6rem 0 .7rem;
}
.legal h2 + p, .legal h2 + ul { margin-top: 0; }
.legal h2[id] { scroll-margin-top: 5.5rem; }
.legal ul {
  color: var(--ink-soft);
  line-height: 1.75;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.legal ul li { margin-bottom: .45rem; }
.legal a { color: var(--accent); }
.legal-meta {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
  margin-top: 1.6rem;
}

/* contribute form consent note */
.form-consent {
  font-size: .78rem;
  color: var(--ink-faint);
  line-height: 1.6;
  margin: 1.1rem 0 0;
}
.form-consent a { color: var(--ink-soft); }

/* ============================================================
   phone
   ============================================================ */

/* A touch device keeps the last :hover state after a tap, so a card you
   tapped stays lifted and tinted when you navigate back to it. Drop the
   hover-only motion there and give a press state instead. */
@media (hover: none) {
  .card:hover,
  .index-row:hover,
  .area-tile:hover,
  .journal-entry:hover,
  .btn:hover,
  .index-row:hover .index-icon { transform: none; }
  .card:hover,
  .index-row:hover,
  .area-tile:hover { background: var(--tint); box-shadow: none; }
  .card:hover h3,
  .index-row:hover .index-title,
  .area-tile:hover h3 { color: var(--ink); }
  .area-tile:hover .count { color: var(--accent); }
  .journal-entry:hover { border-left-color: transparent; box-shadow: none; }
  .journal-feature:hover { border-left-color: var(--accent); }
  .btn-primary:hover { box-shadow: 0 6px 18px rgba(77, 112, 56, 0.28); }

  .card:active,
  .index-row:active,
  .area-tile:active { background: var(--tint-deep); }
  .btn:active { transform: scale(.97); }
}

@media (max-width: 720px) {
  /* 56px of a 375px screen was going to side gutters. Longhands only —
     .wrap carries vertical padding from other rules of equal specificity. */
  .wrap { padding-left: 1.15rem; padding-right: 1.15rem; }
  .home-flash-inner { padding: .6rem 1.15rem; }
  .site-nav a { padding: 0 1.15rem; }

  /* Decorative infinite animations are pure battery and GPU cost here. */
  .hero::before,
  .hero::after,
  .hero-art,
  .mural-divider { animation: none; }
  .marquee-track { will-change: auto; }

  .hero { padding-top: 2.5rem; padding-bottom: 1.5rem; gap: 1.75rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.9rem); max-width: none; }
  .hero-sub { font-size: 1rem; line-height: 1.7; margin-top: 1.1rem; }
  .hero-cta { gap: 1rem; margin-top: 1.5rem; }
  .hero-meta { padding-bottom: 1.5rem; }
  .hero-art { max-width: 250px; }
  .btn { padding: .8rem 1.5rem; }

  .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  section.wrap { padding-top: 2rem; padding-bottom: 2rem; }
  .section-head { margin-bottom: 1.5rem; }
  .section-foot { margin-top: 1.5rem; }

  /* These tinted panels sit inside .wrap, so their own 2.5rem padding was
     stacking on top of the page gutters and squeezing the cards. */
  .onam-spotlight,
  .malayali-spotlight,
  .catering-spotlight { padding: 2rem 1.25rem; border-radius: 18px; }

  .card-grid { grid-template-columns: 1fr; }
  .card { padding: 1.15rem 1.2rem; }
  .card-photo { width: calc(100% + 2.4rem); height: 180px; margin: -1.15rem -1.2rem .9rem; }
  /* Name and area side by side left the name a couple of words wide. */
  .card-top { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .card-top h3 { font-size: 1.2rem; }
  .area-chip { white-space: normal; }

  .area-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin-top: 1.5rem; }
  .area-tile { flex-direction: column; align-items: flex-start; gap: .15rem; padding: .85rem 1rem; }
  .area-tile h3 { font-size: 1rem; }

  .page-head { padding-top: 2.5rem; }
  .place-grid { padding-top: 2rem; padding-bottom: 2.5rem; }
  .place-head .verify-badge { margin-top: 1rem; }
  .place-photo-wrap { padding-top: 1.25rem; }
  .place-photo-gallery { grid-template-columns: 1fr; }
  .place-photo { height: 210px; border-radius: 14px; }
  .place-photo-gallery:has(img:only-child) .place-photo { height: auto; max-height: 300px; }
  .place-side { padding: 1.25rem 1.2rem; }
  .know-more { padding: 1.4rem 1.25rem; }
  .story-placeholder { font-size: 1.08rem; }

  .journal-list { padding-bottom: 2.5rem; }
  .journal-entry { padding: 1.5rem 1.3rem; }
  .journal-entry h2 { font-size: 1.4rem; }
  .journal-entry p { font-size: .98rem; }

  .narrow { padding-bottom: 2.5rem; }
  .lead { font-size: 1.3rem; }

  .cta-strip { margin-top: 2.5rem; padding: 2.75rem 0; }
  .site-footer { padding: 2rem 0 2.5rem; }

  /* Thumb-sized hit areas for the small links. */
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal a,
  .fine-print a,
  .also-links a { display: inline-block; padding: .35rem 0; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; text-align: center; padding: .95rem 1.5rem; }
}
