/* Neil Resorts, Ooty — elevated Nilgiris look. Gold is an accent only. Brand name comes from js/config.js. */
:root {
  --tea: #2f4a3c;
  --sage: #7a947f;
  --ivory: #f4efe6;
  --mist: #d7ddd6;
  --clay: #a66b4e;
  --gold: #c4a265;
  --ink: #1c1f1d;
  --ivory-soft: #f8f4ee;
  --tea-deep: #1e3329;
  --shadow: 0 24px 60px rgba(28, 31, 29, 0.1);
  --font-serif: "Fraunces", "Noto Serif Tamil", "Times New Roman", serif;
  --font-sans: "Figtree", "Noto Sans Tamil", "Helvetica Neue", sans-serif;
  --space: clamp(1.35rem, 4.5vw, 2.75rem);
  --wide: 1180px;
  --narrow: 700px;
  --header: 5rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
iframe { border: 0; width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

h1, h2, h3, .wordmark-name {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}

h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); margin: 0 0 0.55em; }
h1 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(2.05rem, 4.8vw, 3.5rem); margin: 0 0 0.5em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; font-weight: 500; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  margin-bottom: 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 0.7rem;
  background: var(--gold);
}

.wrap {
  width: min(calc(100% - 2 * var(--space)), var(--wide));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(calc(100% - 2 * var(--space)), var(--narrow));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--tea);
  color: var(--ivory);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(28, 31, 29, 0.06);
}

.header-inner {
  width: min(calc(100% - 2 * var(--space)), var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ivory);
}

.site-header.is-scrolled .brand,
body.nav-open .brand { color: var(--tea); }

.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-name {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordmark-meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.14rem;
}
.wordmark-desc {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}
.wordmark-place {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.wordmark-meta.has-descriptor .wordmark-place::before {
  content: "·";
  margin-right: 0.45rem;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--gold); }
.site-header.is-scrolled .site-nav a:hover,
body.nav-open .site-nav a:hover { color: var(--clay); }

.site-header .brand,
.site-header .nav-toggle,
.site-header .site-nav { color: var(--ivory); text-shadow: 0 1px 16px rgba(20, 24, 22, 0.35); }
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-toggle,
.site-header.is-scrolled .site-nav,
body.nav-open .site-header .brand,
body.nav-open .site-header .nav-toggle,
body.nav-open .site-nav { text-shadow: none; }
.site-header.is-scrolled .site-nav,
body.nav-open .site-header .nav-toggle,
body.nav-open .site-nav { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--tea-deep) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #d1b480; color: var(--tea-deep) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible,
.map-link:focus-visible,
.scroll-cue:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary { background: var(--tea); color: var(--ivory); }
.btn-primary:hover { background: var(--tea-deep); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(244, 239, 230, 0.45); }
.btn-ghost:hover { background: rgba(244, 239, 230, 0.12); }
.btn-on-light { background: transparent; color: var(--tea); border-color: var(--gold); }
.btn-on-light:hover { background: var(--tea); color: var(--ivory); border-color: var(--tea); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

.hero-media img {
  transform: scale(1.08);
  animation: kenburns 32s ease-out forwards;
  will-change: transform;
}

@keyframes kenburns {
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 31, 29, 0.32) 0%, rgba(28, 31, 29, 0.08) 34%, rgba(28, 31, 29, 0.22) 58%, rgba(28, 31, 29, 0.78) 100%);
}

.hero-copy {
  width: min(calc(100% - 2 * var(--space)), var(--wide));
  margin: 0 auto;
  padding: 7.5rem 0 6.2rem;
}

.hero .eyebrow { color: rgba(244, 239, 230, 0.86); }
.hero .eyebrow::after { background: var(--gold); }
.hero-copy h1,
.hero-copy .lede { text-shadow: 0 10px 40px rgba(20, 24, 22, 0.28); }
.hero-copy .lede {
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(244, 239, 230, 0.92);
  margin-bottom: 1.8rem;
}

.scroll-cue {
  position: absolute;
  right: var(--space);
  bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(244, 239, 230, 0.8);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  50% { transform: scaleY(0.55); opacity: 0.45; transform-origin: top; }
}

/* Lockup */
.brand-lockup {
  display: flex;
  justify-content: center;
  padding: 3.2rem var(--space);
  background: var(--ivory);
  border-bottom: 1px solid rgba(196, 162, 101, 0.28);
}

.brand-lockup img {
  width: min(20rem, 80vw);
  height: auto;
}

/* Sections */
.section { padding: clamp(4.75rem, 11vw, 8.75rem) 0; }
.section-intro { max-width: 38rem; margin-bottom: 2.75rem; }
.section-intro.is-center { text-align: center; margin-inline: auto; }
.section-intro.is-center .eyebrow::after { margin-inline: auto; }
.muted { color: #4c524e; }
.bg-mist { background: linear-gradient(180deg, #ece8de 0%, var(--mist) 100%); }
.bg-tea { background: var(--tea-deep); color: var(--ivory); }
.bg-tea .eyebrow { color: var(--gold); }
.bg-tea .muted { color: rgba(244, 239, 230, 0.78); }

/* Stay */
.stay-editorial {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.4rem;
  align-items: end;
}

.stay-portrait {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stay-portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 40%;
}

.stay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.stay-card,
.experience-card {
  background: var(--ivory-soft);
  border: 1px solid rgba(47, 74, 60, 0.08);
  border-radius: var(--radius);
  padding: 1.7rem 1.45rem 1.8rem;
}

.stay-index,
.experience-index,
.promise-index {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.stay-card p,
.experience-card p { color: #4c524e; font-size: 1rem; }

/* Experiences */
.section-experiences { background: var(--tea-deep); color: var(--ivory); }
.section-experiences .eyebrow { color: var(--gold); }
.section-experiences .muted { color: rgba(244, 239, 230, 0.78); }
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.experience-card {
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid rgba(196, 162, 101, 0.18);
  min-height: 100%;
}
.experience-card p { color: rgba(244, 239, 230, 0.78); }

/* View */
.view-panel {
  width: min(100%, calc(var(--wide) + 6rem));
  margin-inline: auto;
  padding: 0 var(--space);
}

.view-figure {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.view-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 45%;
}

.view-figure figcaption {
  padding: 0.9rem 0.2rem 0;
  font-size: 0.88rem;
  color: #5a615c;
}

.view-copy { margin-top: 2.4rem; max-width: 38rem; }

/* Location */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.distance-list {
  list-style: none;
  margin: 1.4rem 0 1.7rem;
  padding: 0;
  border-top: 1px solid rgba(47, 74, 60, 0.14);
}

.distance-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(47, 74, 60, 0.14);
}

.distance-list strong { font-weight: 600; }

.note {
  font-size: 0.98rem;
  color: #4c524e;
  margin-bottom: 0.7em;
}

.map-card {
  background: var(--ivory-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(47, 74, 60, 0.08);
  box-shadow: var(--shadow);
}

.map-card iframe { height: 22rem; background: var(--mist); }

.map-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem 1.15rem;
}

.map-link {
  color: var(--tea);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.map-link:hover { color: var(--clay); }

/* Rates */
.rate-grid { display: grid; gap: 1rem; }

.rate-card {
  padding: 1.85rem 1.6rem 1.9rem;
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.05);
  border: 1px solid rgba(196, 162, 101, 0.22);
}

.rate-card .when {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.rate-card .price {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.45rem;
}

.rate-card .unit { font-size: 0.95rem; color: rgba(244, 239, 230, 0.75); }

.rate-fine {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.72);
  max-width: 38rem;
}

/* Promise */
.promise-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(47, 74, 60, 0.12);
}

.promise-list li:last-child { border-bottom: 1px solid rgba(47, 74, 60, 0.12); }
.promise-index { margin: 0; padding-top: 0.2rem; }

/* Enquire */
.section-enquire { background: #ebe5d8; }
.enquire-layout {
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

.enquire-form {
  background: var(--ivory-soft);
  border: 1px solid rgba(47, 74, 60, 0.08);
  border-radius: 1.4rem;
  padding: 1.5rem 1.3rem 1.6rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.enquire-form label span,
.form-checks-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
}

.enquire-form input[type="date"],
.enquire-form input[type="number"],
.enquire-form textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(47, 74, 60, 0.18);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.enquire-form textarea { resize: vertical; min-height: 5.5rem; }

.enquire-form input:focus,
.enquire-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: transparent;
}

.form-checks { display: grid; gap: 0.45rem; align-content: end; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.enquire-form .check span,
.check span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  font-size: 0.95rem;
}
.check input { margin-top: 0.25rem; accent-color: var(--tea); }

.form-error {
  color: #8a3a2a;
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

/* FAQ */
.faq { max-width: 42rem; margin: 0 auto; }

details {
  border-top: 1px solid rgba(47, 74, 60, 0.14);
  padding: 0.2rem 0;
}

details:last-of-type { border-bottom: 1px solid rgba(47, 74, 60, 0.14); }

summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.6rem 1.15rem 0;
  font-weight: 600;
  position: relative;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--tea);
  border-bottom: 1.5px solid var(--tea);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after { transform: translateY(-30%) rotate(225deg); }

details p {
  margin: 0 0 1.2rem;
  color: #4c524e;
  padding-right: 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2.2rem 0 6.2rem;
  border-top: 1px solid rgba(47, 74, 60, 0.1);
  color: #5a615c;
  font-size: 0.92rem;
}

.footer-inner {
  width: min(calc(100% - 2 * var(--space)), var(--wide));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.8rem 1.5rem;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo { width: 9.5rem; height: auto; margin: 0 0 0.85rem; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.7rem var(--space) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 -1px 0 rgba(28, 31, 29, 0.06);
}

.mobile-bar .btn { width: 100%; }

/* Reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .stay-grid,
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .rate-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .enquire-layout { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
  .enquire-form { padding: 1.9rem 1.8rem 2rem; }
}

@media (min-width: 980px) {
  .stay-editorial { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: end; }
  .stay-grid,
  .experience-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-copy { padding-bottom: 7rem; }
  .site-footer { padding-bottom: 2.6rem; }
}

@media (max-width: 1099px) {
  .nav-toggle { display: grid; place-items: center; color: var(--ivory); }
  .site-header.is-scrolled .nav-toggle { color: var(--ink); }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 1.5rem;
    background: var(--ivory);
    color: var(--ink);
    box-shadow: 0 18px 30px rgba(28, 31, 29, 0.08);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 0.9rem var(--space);
    color: var(--ink);
  }

  .site-nav .nav-cta {
    margin: 0.6rem var(--space) 0;
    width: calc(100% - 2 * var(--space));
    justify-content: center;
    color: var(--tea-deep) !important;
  }

  .mobile-bar { display: block; }
  .scroll-cue { display: none; }
  .hero-copy { padding-bottom: 5.5rem; }
  #enquire { padding-bottom: 7.5rem; }
  .lang-toggle-menu { display: inline-flex; margin: 0.4rem var(--space) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .scroll-cue::after { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Header tools & language toggle ---------- */
.header-tools { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.5);
  background: rgba(20, 24, 22, 0.18);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle .lang-on { color: var(--gold); }
.lang-toggle .lang-sep { opacity: 0.5; }
.lang-toggle .lang-off { font-family: "Noto Sans Tamil", var(--font-sans); }
html.lang-ta .lang-toggle .lang-off { font-family: var(--font-sans); }
html.lang-ta .lang-toggle .lang-on { font-family: "Noto Sans Tamil", var(--font-sans); }
.lang-toggle:hover { background: rgba(196, 162, 101, 0.22); border-color: var(--gold); }
.lang-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-header.is-scrolled .lang-toggle,
body.nav-open .lang-toggle { color: var(--tea); border-color: rgba(47, 74, 60, 0.3); background: transparent; }
.site-header.is-scrolled .lang-toggle .lang-on,
body.nav-open .lang-toggle .lang-on { color: var(--clay); }
.lang-toggle-menu {
  display: none;
  color: var(--tea) !important;
  border-color: rgba(47, 74, 60, 0.3) !important;
  background: transparent !important;
  font-family: "Noto Sans Tamil", var(--font-sans);
  text-shadow: none;
}
html.lang-ta .lang-toggle-menu { font-family: var(--font-sans); }
@media (min-width: 1100px) {
  .header-tools { order: 3; margin-left: 0; }
  .site-nav { margin-left: auto; margin-right: 0.9rem; }
}

/* ---------- Hero facts ---------- */
.hero-facts {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 1.1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
  max-width: 46rem;
  border-top: 1px solid rgba(244, 239, 230, 0.28);
}
.hero-facts li { display: flex; flex-direction: column; line-height: 1.3; }
.hero-facts strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; color: var(--ivory); }
.hero-facts span { font-size: 0.82rem; color: rgba(244, 239, 230, 0.8); }
@media (min-width: 760px) { .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Gallery ---------- */
.section-gallery { background: var(--ivory-soft); }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.g-item { margin: 0; border-radius: 1.1rem; overflow: hidden; background: var(--mist); position: relative; box-shadow: var(--shadow); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem 0.85rem;
  font-size: 0.85rem; color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(20, 24, 22, 0.72));
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .g-wide img { aspect-ratio: 16 / 8; }
}
@media (min-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .g-wide { grid-column: span 4; }
  .g-wide img { aspect-ratio: 21 / 8; object-position: 50% 38%; }
}

/* ---------- View (text-led) ---------- */
#view .view-copy { max-width: 46rem; margin-top: 1rem; }
#view .view-copy p:first-child { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.4; color: var(--tea-deep); }

/* ---------- Getting here ---------- */
.route-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.route-card {
  padding: 1.6rem 1.45rem 1.7rem;
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.05);
  border: 1px solid rgba(196, 162, 101, 0.22);
}
.route-card p { color: rgba(244, 239, 230, 0.78); font-size: 0.98rem; }
.route-card .route-from { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 0.55rem; }
.route-card .route-time { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.05rem); line-height: 1.1; color: var(--ivory); margin-bottom: 0.7rem; }
.route-card-feature { background: rgba(196, 162, 101, 0.1); border-color: rgba(196, 162, 101, 0.45); }
.epass {
  margin-top: 1.6rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
}
.epass h3 { color: var(--tea-deep); }
.epass p { color: #4c524e; margin: 0; }
.epass a { color: var(--clay); font-weight: 600; }
@media (min-width: 700px) { .route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .route-grid { grid-template-columns: repeat(3, 1fr); } .epass { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 2rem; align-items: center; } .epass h3 { margin: 0; } }

/* ---------- Seasons ---------- */
.season-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.season-card {
  padding: 1.7rem 1.45rem 1.8rem;
  border-radius: var(--radius);
  background: var(--ivory-soft);
  border: 1px solid rgba(47, 74, 60, 0.08);
  border-top: 3px solid var(--gold);
}
.season-card .season-months { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--clay); margin-bottom: 0.6rem; }
.season-card p:last-child { color: #4c524e; font-size: 0.98rem; }
@media (min-width: 700px) { .season-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .season-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Footer extras ---------- */
.footer-brand > span { margin-top: 0.15rem; }
.footer-phone { color: var(--tea); font-weight: 600; text-decoration: none; margin-top: 0.35rem; }
.footer-meta { display: flex; flex-direction: column; gap: 0.4rem; max-width: 28rem; text-align: right; }
.footer-small { font-size: 0.8rem; color: #7a807c; }
@media (max-width: 699px) { .footer-meta { text-align: left; } }

/* ---------- Tamil typography ---------- */
html.lang-ta body { font-family: "Noto Sans Tamil", var(--font-sans); line-height: 1.8; font-size: 1rem; }
html.lang-ta h1, html.lang-ta h2, html.lang-ta h3,
html.lang-ta .route-time, html.lang-ta .hero-facts strong,
html.lang-ta #view .view-copy p:first-child, html.lang-ta .rate-card .price {
  font-family: "Noto Serif Tamil", var(--font-serif);
  letter-spacing: 0;
  line-height: 1.35;
}
html.lang-ta h1 { font-size: clamp(1.85rem, 5.4vw, 4.1rem); }
html.lang-ta .hero-copy .lede { font-size: clamp(0.98rem, 1.8vw, 1.12rem); }
html.lang-ta .eyebrow { font-weight: 500; }
html.lang-ta h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
html.lang-ta h3 { font-size: 1.15rem; }
html.lang-ta .eyebrow, html.lang-ta .route-from, html.lang-ta .season-months,
html.lang-ta .rate-card .when, html.lang-ta .enquire-form label span, html.lang-ta .form-checks-label {
  letter-spacing: 0.02em; text-transform: none; font-size: 0.82rem;
}
html.lang-ta .site-nav { gap: 1.1rem; }
html.lang-ta .site-nav a { font-size: 0.84rem; }
html.lang-ta .btn { font-size: 0.9rem; }
html.lang-ta .wordmark-name, html.lang-ta .wordmark-place { font-family: var(--font-serif); }
html.lang-ta .wordmark-place { font-family: var(--font-sans); }
@media (max-width: 1099px) {
  .lang-toggle-menu { display: inline-flex; margin: 0.5rem var(--space) 0.2rem; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
}
