/* ==========================================================================
   Sri Agasthiya Nadi Jothidam — theme: temple night, maroon, gold & parchment
   ========================================================================== */
:root {
  --night: #16070b;
  --night-2: #210a10;
  --maroon-900: #2c0912;
  --maroon-700: #5a1222;
  --maroon-500: #8c1d32;
  --gold: #e0ad45;
  --gold-bright: #f6d68a;
  --gold-deep: #a8761c;
  --parchment: #f7efdf;
  --parchment-2: #efe1c4;
  --paper: #fffaf0;
  --sepia: #2a1a10;
  --ink: #2b1a14;
  --muted: #6d5a4c;
  --light: #f3e7d3;
  --light-muted: rgba(243, 231, 211, .72);
  --wa: #1fa855;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label: "Marcellus", Georgia, serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tamil: "Noto Serif Tamil", "Nirmala UI", serif;
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--maroon-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
[lang="ta"] { font-family: var(--font-tamil); }
::selection { background: var(--gold); color: var(--maroon-900); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }

/* ---------- Icons ---------- */
.ico { display: inline-block; line-height: 1; }
.ico--wa {
  width: 1.15em; height: 1.15em;
  background-color: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
  mask: var(--wa-icon) center / contain no-repeat;
  vertical-align: -.18em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--sm { padding: .55em 1.25em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--maroon-900);
  box-shadow: 0 6px 22px rgba(224, 173, 69, .3);
}
.btn--gold:hover { box-shadow: 0 10px 30px rgba(224, 173, 69, .5); }
.btn--ghost { border-color: rgba(246, 214, 138, .6); color: var(--gold-bright); background: rgba(255,255,255,.03); }
.btn--ghost:hover { background: rgba(246, 214, 138, .12); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(31, 168, 85, .3); }
.btn--wa:hover { background: #18914a; }
.btn--outline { border-color: var(--maroon-500); color: var(--maroon-700); }
.btn--outline:hover { background: var(--maroon-500); color: #fff; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--maroon-500); text-decoration: none;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Loader & progress ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, var(--maroon-900), var(--night) 70%);
  transition: opacity .7s ease, visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__ring, .loader__om { grid-area: 1 / 1; }
.loader__ring {
  width: 130px; height: 130px; border-radius: 50%;
  border: 2px dashed rgba(224, 173, 69, .7);
  animation: spin 6s linear infinite;
}
.loader__ring--inner { width: 96px; height: 96px; border-style: dotted; border-color: rgba(246, 214, 138, .5); animation-direction: reverse; animation-duration: 4s; }
.loader__om { font-size: 2.8rem; color: var(--gold-bright); animation: breathe 1.8s ease-in-out infinite; text-shadow: 0 0 24px rgba(224,173,69,.8); }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--maroon-500), var(--gold), var(--gold-bright));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(224,173,69,.55); } 100% { box-shadow: 0 0 0 18px rgba(224,173,69,0); } }
@keyframes flicker { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1); } 45% { opacity: .75; transform: translate(-50%, -50%) rotate(45deg) scale(.85); } 70% { opacity: .95; transform: translate(-50%, -50%) rotate(45deg) scale(1.1); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: padding .4s var(--ease), background-color .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: .55rem 0;
  background: rgba(22, 7, 11, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(224, 173, 69, .18);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--light); }
.brand__logo {
  position: relative;
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--maroon-500), var(--maroon-900));
  color: var(--gold-bright);
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.brand__logo::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px dashed rgba(224, 173, 69, .6);
  animation: spin 18s linear infinite;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 700 1.35rem/1.1 var(--font-display); color: var(--light); letter-spacing: .01em; }
.brand__text small { font-size: .8rem; color: var(--gold); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) {
  position: relative;
  text-decoration: none; color: var(--light); font-weight: 500; font-size: .98rem;
  padding: .2rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--gold-bright); }
.nav-toggle { display: none; position: relative; z-index: 2; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; background: var(--gold-bright); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.85); }
.js [data-reveal="curtain"] { opacity: 1; transform: none; }
.js [data-reveal="none"] { opacity: 1; transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; } [data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--parchment {
  background:
    radial-gradient(circle at 12% 15%, rgba(224,173,69,.12), transparent 35%),
    radial-gradient(circle at 88% 85%, rgba(140,29,50,.07), transparent 40%),
    var(--parchment);
}
.section--night {
  background:
    radial-gradient(circle at 80% 0%, rgba(140,29,50,.35), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(224,173,69,.08), transparent 40%),
    var(--night);
  color: var(--light);
}
.section--sepia {
  background:
    radial-gradient(ellipse at top, rgba(224,173,69,.12), transparent 55%),
    linear-gradient(180deg, #23150d, var(--sepia) 40%, #1c110a);
  color: var(--light);
}
.section--night h2, .section--night h3, .section--sepia h2 { color: var(--light); }

.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(2.8rem, 5vw, 4rem); }
.section__head h2, .about__text h2, .visit__text h2, .contact__info h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--night .section__head p, .section--sepia .section__head p { color: var(--light-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  margin: 0 0 .9rem;
  font: 400 .85rem/1 var(--font-label);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--maroon-500);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section--night .eyebrow, .section--sepia .eyebrow { color: var(--gold); }

.ornament {
  position: relative; display: block;
  width: 170px; height: 1.5px; margin: .2rem auto 1.6rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: flicker 2.8s ease-in-out infinite;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  color: var(--light);
  background:
    radial-gradient(circle at 72% 45%, rgba(140,29,50,.55), transparent 42%),
    radial-gradient(circle at 15% 80%, rgba(224,173,69,.10), transparent 40%),
    linear-gradient(180deg, #12050a, var(--night-2));
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__tamil { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--gold); letter-spacing: .04em; margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  color: var(--light);
  margin-bottom: 1.4rem;
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero__title .word > span { display: inline-block; }
.js .hero__title .word > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms); }
.js .hero__title.is-visible .word > span { transform: none; }
.hero__title .word:nth-last-child(-n+3) > span {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 50%, #ffe9b5 60%, var(--gold));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gold-flow 6s ease-in-out infinite;
}
@keyframes gold-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero__rotator {
  display: grid;
  font: italic 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--font-display);
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
  min-height: 1.4em;
}
.hero__rotator span {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s;
}
.hero__rotator span.is-active { opacity: 1; transform: none; filter: none; }
.hero__rotator span.is-leaving { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
.hero__lead { color: var(--light-muted); font-size: 1.1rem; max-width: 560px; }
.hero__lead strong { color: var(--light); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero__visual { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin-inline: auto; }
.wheel { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 180s linear infinite; overflow: visible; }
.wheel text { font-family: var(--font-tamil); font-size: 13px; fill: var(--gold-bright); fill-opacity: .8; letter-spacing: .02em; }
.hero__portrait {
  position: absolute; inset: 15%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 10px rgba(224,173,69,.12), 0 0 80px rgba(224,173,69,.35), 0 30px 60px rgba(0,0,0,.5);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
.hero__name {
  position: absolute; left: 50%; bottom: 4%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem 1.5rem .6rem .7rem;
  border-radius: 999px;
  background: rgba(22, 7, 11, .82);
  border: 1px solid rgba(224, 173, 69, .45);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  animation: float 5s ease-in-out infinite;
}
.hero__name-om {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-900); font-size: 1.4rem;
}
.hero__name strong { display: block; font: 700 1.3rem/1.1 var(--font-display); color: var(--light); }
.hero__name small { color: var(--gold); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 20px;
  border: 1.5px solid rgba(246, 214, 138, .55);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 2px; background: var(--gold-bright);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  background: linear-gradient(100deg, var(--maroon-900), var(--maroon-700) 50%, var(--maroon-900));
  border-block: 1px solid rgba(224, 173, 69, .3);
  padding: 2.6rem 0;
  color: var(--light);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -.75rem; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(transparent, rgba(224,173,69,.5), transparent); }
.stat__num { display: block; font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--gold-bright); text-shadow: 0 0 24px rgba(224,173,69,.35); }
.stat__label { font-family: var(--font-label); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--light-muted); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.about__collage { position: relative; padding: 0 12% 18% 0; }
.about__img img { width: 100%; border-radius: var(--radius); }
.about__img--main { overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(44, 9, 18, .3); outline: 1.5px solid var(--gold); outline-offset: 10px; }
.about__img--main img { transform: scale(1.1); }
.about__img--accent {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: 8px solid var(--paper);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 25px 50px rgba(44, 9, 18, .35);
}
.js .about__img--accent { transform: translateY(40px) rotate(6deg); }
.js .about__img--accent.is-visible { transform: rotate(3deg); }
.about__seal {
  position: absolute; left: -24px; bottom: 10%;
  width: 96px; height: 96px; display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, var(--maroon-500), var(--maroon-900));
  color: var(--gold-bright); font-size: 2.4rem;
  box-shadow: 0 15px 30px rgba(44,9,18,.4);
}
.about__seal::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px dashed var(--gold);
  animation: spin 20s linear infinite;
}
.about__text .ornament { margin-left: 0; }
.about__text .eyebrow::after { display: none; }
.about__text p { color: var(--muted); font-size: 1.08rem; }
.checklist { margin-top: 1.6rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2.3rem; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: "\2726"; position: absolute; left: 0; top: .05em;
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--maroon-700); color: var(--gold-bright); font-size: .8rem;
}

/* ---------- Heritage timeline ---------- */
.timeline { position: relative; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(224, 173, 69, .16); }
.timeline__fill {
  position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%);
  background: linear-gradient(var(--gold-bright), var(--gold));
  box-shadow: 0 0 12px var(--gold);
}
.timeline__list { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.era { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.era:nth-child(even) .era__media { order: 2; }
.era__dot {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: var(--sepia);
  border: 2px solid var(--gold);
  transition: background-color .5s, transform .5s var(--ease);
  z-index: 1;
}
.era.is-lit .era__dot { background: var(--gold-bright); transform: scale(1.2); animation: pulse-ring 2s ease-out infinite; }
.era__media {
  position: relative;
  padding: 10px 10px 34px;
  background: #f1e4c8;
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
  --rot: -1.6deg;
  transform: rotate(var(--rot));
  transition: transform .6s var(--ease), box-shadow .6s;
  cursor: zoom-in;
}
.era:nth-child(even) .era__media { --rot: 1.6deg; }
.js .era__media[data-reveal="left"]:not(.is-visible) { transform: translateX(-60px) rotate(-6deg); }
.js .era__media[data-reveal="right"]:not(.is-visible) { transform: translateX(60px) rotate(6deg); }
.js .era__media.is-visible { transform: rotate(var(--rot)); }
.era__media:hover, .js .era__media.is-visible:hover { transform: rotate(0) scale(1.03); box-shadow: 0 35px 70px rgba(0,0,0,.55); }
.era__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.25) contrast(1.02); transition: filter .8s; }
.era__media:hover img { filter: none; }
.era--today .era__media img { object-position: 50% 72%; filter: none; }
.era__media::after {
  content: "\2315  View"; position: absolute; right: 14px; bottom: 7px;
  font: 400 .75rem/1 var(--font-label); letter-spacing: .15em; color: #8a6a3a;
}
.era__body { max-width: 460px; }
.era:nth-child(odd) .era__body { justify-self: start; }
.era:nth-child(even) .era__body { justify-self: end; text-align: right; }
.era__tag {
  display: inline-block; margin-bottom: .7rem;
  padding: .3rem 1rem; border-radius: 999px;
  border: 1px solid rgba(224,173,69,.5);
  font: 400 .78rem/1.2 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.era__body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold-bright); }
.era__body p { color: var(--light-muted); font-size: 1.05rem; }
.era__body em { color: var(--light); }
.era__body .link-arrow { color: var(--gold); }

/* ---------- Readings ---------- */
.readings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; perspective: 1200px; }
.reading {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 2.4rem 2rem 2rem;
  background: var(--paper);
  border: 1px solid rgba(168, 118, 28, .25);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(44, 9, 18, .07);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow .4s, border-color .4s;
}
.js .reading.is-visible { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, box-shadow .4s, border-color .4s, opacity .9s var(--ease); }
.reading::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(224,173,69,.18), transparent 45%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.reading:hover { box-shadow: 0 25px 50px rgba(44, 9, 18, .16); border-color: rgba(224,173,69,.7); }
.reading:hover::before { opacity: 1; }
.reading__num {
  position: absolute; top: .6rem; right: 1.2rem;
  font: 700 4.2rem/1 var(--font-display);
  color: transparent; -webkit-text-stroke: 1px rgba(168, 118, 28, .35);
}
.reading__sym {
  position: relative;
  width: 64px; height: 64px; display: grid; place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--maroon-500), var(--maroon-900));
  color: var(--gold-bright); font-size: 1.8rem;
}
.reading__sym::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px dashed rgba(168, 118, 28, .55);
  transition: transform 1.2s var(--ease);
}
.reading:hover .reading__sym::after { transform: rotate(180deg); }
.reading h3 { font-size: 1.75rem; }
.reading p { color: var(--muted); }
.reading .link-arrow { margin-top: auto; }

/* ---------- Kandams (palm leaves) ---------- */
.leaves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.leaf {
  position: relative; height: 200px;
  padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1000px;
  font: inherit; color: inherit; text-align: center;
}
.leaf:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 22px; }
.leaf__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.leaf:hover .leaf__inner { transform: rotateY(12deg) translateY(-4px); }
.leaf.is-flipped .leaf__inner { transform: rotateY(180deg); }
.leaf__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.2rem 1.4rem;
  border-radius: 22px / 40px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.leaf__front {
  color: var(--maroon-900);
  background:
    radial-gradient(circle at 12% 50%, rgba(60,30,10,.55) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 50%, rgba(60,30,10,.55) 0 4px, transparent 5px),
    repeating-linear-gradient(180deg, rgba(120, 80, 30, .09) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #f0d9a4, #d9b26a 60%, #c99a4f);
  box-shadow: inset 0 0 0 1px rgba(120, 80, 30, .35), 0 12px 28px rgba(0,0,0,.35);
}
.leaf__ta { font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: var(--maroon-700); }
.leaf__no { font: 400 .75rem/1.4 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: #6f4a1c; margin: .3rem 0 .2rem; }
.leaf__title { font: 700 1.3rem/1.15 var(--font-display); }
.leaf__back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--maroon-700), var(--maroon-900));
  border: 1px solid rgba(224, 173, 69, .5);
  color: var(--light);
  font-size: .95rem; line-height: 1.5;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
}

/* ---------- Process path ---------- */
.path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: step; }
.path::before {
  content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.8s var(--ease);
}
.path.is-visible::before, html:not(.js) .path::before { transform: scaleX(1); }
.path__step { position: relative; text-align: center; }
.js .path__step { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .path.is-visible .path__step { opacity: 1; transform: none; }
.path__step:nth-child(2) { transition-delay: .3s; }
.path__step:nth-child(3) { transition-delay: .6s; }
.path__step:nth-child(4) { transition-delay: .9s; }
.path__step:nth-child(5) { transition-delay: 1.2s; }
.path__num {
  position: relative; z-index: 1;
  width: 70px; height: 70px; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--maroon-500), var(--maroon-900));
  color: var(--gold-bright);
  font: 700 1.9rem/1 var(--font-display);
  box-shadow: 0 0 0 6px var(--parchment), 0 0 0 7.5px rgba(168,118,28,.5);
  transition: transform .4s var(--ease);
}
.path__step:hover .path__num { transform: scale(1.1) rotate(-8deg); }
.path__step h3 { font-size: 1.45rem; }
.path__step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.visit__media {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(224,173,69,.08), 0 40px 80px rgba(0,0,0,.5);
  cursor: zoom-in;
}
.visit__media img { width: 100%; transition: transform 1.2s var(--ease); }
.visit__media:hover img { transform: scale(1.05); }
.js .visit__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--maroon-700), var(--maroon-900));
  transform-origin: top;
  transition: transform 1.4s var(--ease) .15s;
  pointer-events: none;
}
.js .visit__media.is-visible::after { transform: scaleY(0); }
.js .visit__media img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .visit__media.is-visible img { transform: scale(1); }
.js .visit__media.is-visible:hover img { transform: scale(1.05); }
.visit__text .eyebrow::after { display: none; }
.visit__tamil { font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--gold); margin-bottom: 1.2rem; }
.visit__text > p { color: var(--light-muted); font-size: 1.06rem; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.trust li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(224,173,69,.18);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.trust li:hover { background: rgba(224,173,69,.08); border-color: rgba(224,173,69,.45); transform: translateY(-3px); }
.trust__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(224,173,69,.12); color: var(--gold-bright); }
.trust__ico svg, .modes__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; color: var(--light); font-weight: 600; line-height: 1.3; }
.trust small { color: var(--light-muted); font-size: .88rem; line-height: 1.4; display: block; margin-top: .2rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: var(--paper); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(168,118,28,.25); }
.testimonial blockquote { margin: 0 0 1rem; font: italic 500 1.25rem/1.5 var(--font-display); }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .6; color: var(--gold); }
.testimonial figcaption { font-weight: 600; color: var(--maroon-700); }
.testimonial figcaption small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.booking__card {
  position: relative;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(168,118,28,.25);
  box-shadow: 0 20px 45px rgba(44, 9, 18, .08);
}
.booking__card--dark {
  background: radial-gradient(circle at 100% 0%, rgba(224,173,69,.18), transparent 50%), linear-gradient(160deg, var(--maroon-700), var(--maroon-900));
  border-color: rgba(224,173,69,.4);
  color: var(--light);
}
.booking__card--dark h3 { color: var(--light); }
.booking__card--dark p { color: var(--light-muted); }
.booking__card--dark a:not(.btn) { color: var(--gold-bright); }
.booking__step { font: 400 .78rem/1 var(--font-label); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-deep); }
.booking__card--dark .booking__step { color: var(--gold); }
.booking__card h3 { font-size: 2rem; margin-top: .5rem; }
.modes { display: grid; gap: .8rem; margin: 1.2rem 0 1.8rem; }
.modes li {
  display: flex; gap: 1rem; align-items: center;
  padding: .9rem 1.1rem; border-radius: 14px;
  background: var(--parchment);
  transition: transform .3s var(--ease), background-color .3s;
}
.modes li:hover { transform: translateX(6px); background: var(--parchment-2); }
.modes__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--maroon-700); color: var(--gold-bright); }
.modes strong { display: block; color: var(--maroon-900); }
.modes span { color: var(--muted); font-size: .94rem; }
.booking__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pay {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  padding: 1.2rem 1.3rem; margin: 1.2rem 0;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px dashed rgba(224,173,69,.55);
}
.pay__label { width: 100%; font: 400 .75rem/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pay__number { flex: 1; font: 700 1.9rem/1.2 var(--font-display); color: var(--gold-bright); white-space: nowrap; letter-spacing: .02em; }
.pay__now { margin-bottom: 1rem; }
.pay__note { font-size: .94rem; margin: 0; }

/* ---------- Countries marquee ---------- */
.reach {
  padding: 2.4rem 0;
  background: linear-gradient(90deg, var(--maroon-900), var(--maroon-700), var(--maroon-900));
  border-block: 1px solid rgba(224,173,69,.3);
  overflow: hidden;
}
.reach__title { text-align: center; margin: 0 0 1.2rem; font: 400 .85rem/1 var(--font-label); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; white-space: nowrap; font: italic 500 1.7rem/1.2 var(--font-display); color: var(--light); }
.marquee__track li::after { content: "\2726"; margin: 0 1.6rem; font-size: .9rem; font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(168,118,28,.3); }
.faq__item { border-bottom: 1px solid rgba(168,118,28,.3); }
.faq__q {
  position: relative; width: 100%;
  padding: 1.35rem 3rem 1.35rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.4rem/1.3 var(--font-display); color: var(--maroon-900);
  transition: color .3s;
}
.faq__q:hover { color: var(--maroon-500); }
.faq__q::after {
  content: "+"; position: absolute; right: .2rem; top: 50%;
  width: 34px; height: 34px; margin-top: -17px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(168,118,28,.5); color: var(--gold-deep);
  font: 400 1.4rem/1 var(--font-body);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq__item.is-open .faq__q::after { transform: rotate(135deg); background: var(--maroon-700); color: var(--gold-bright); border-color: var(--maroon-700); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 3rem 1.4rem 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.contact__info .eyebrow::after { display: none; }
.contact__info > p { color: var(--light-muted); font-size: 1.06rem; }
.contact__list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list small { display: block; color: var(--gold); font: 400 .74rem/1.4 var(--font-label); letter-spacing: .18em; text-transform: uppercase; }
.contact__list a, .contact__list div > span { font-weight: 600; color: var(--light); text-decoration: none; font-size: 1.05rem; }
.contact__list a:hover { color: var(--gold-bright); }
.contact__ico {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(224,173,69,.45); color: var(--gold-bright); font-size: 1.3rem;
}
.contact__ico--wa { background: var(--wa); border-color: var(--wa); }
.contact__ico--wa::after { content: ""; width: 24px; height: 24px; background: #fff; -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat; }

.form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(224,173,69,.3);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.form h3 { font-size: 2rem; color: var(--light); margin: 0 0 .3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1.5rem 1rem .55rem;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--light);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(224,173,69,.25);
  border-radius: 12px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,173,69,.18); background-color: rgba(0,0,0,.35); }
.field > span {
  position: absolute; left: 1rem; top: 1.05rem;
  color: var(--light-muted); font-size: 1rem;
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s var(--ease), color .25s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select > span { top: .4rem; font-size: .74rem; color: var(--gold); letter-spacing: .04em; }
.form__error { color: #ff9b8a; font-size: .92rem; margin: 0; }
.form__error:empty { display: none; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: #0e0407; color: var(--light-muted); padding-top: 4.5rem; }
.footer__mandala {
  position: absolute; right: -120px; top: -80px;
  width: 460px; height: 460px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px dashed rgba(224,173,69,.12);
  font-size: 15rem; color: rgba(224,173,69,.05);
  animation: spin 120s linear infinite;
  pointer-events: none;
}
.footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { font: 400 .85rem/1 var(--font-label); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer ul { display: grid; gap: .55rem; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold-bright); }
.footer__tag { font: italic 500 1.35rem/1.4 var(--font-display); color: var(--gold-bright); margin-top: 1.4rem; max-width: 380px; }
.footer__bottom { position: relative; border-top: 1px solid rgba(224,173,69,.12); padding: 1.4rem 0; text-align: center; font-size: .88rem; }
.footer__bottom p { margin: .2rem 0; }
.footer__disclaimer { opacity: .7; }

/* ---------- Floating dock & back-to-top ---------- */
.dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(160%); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}
.dock.is-shown { transform: none; opacity: 1; }
.dock__btn {
  position: relative;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%;
  color: #fff; text-decoration: none; font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  transition: transform .3s var(--ease);
}
.dock__btn:hover { transform: scale(1.1); }
.dock__btn--call { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-900); }
.dock__btn--wa { background: var(--wa); }
.dock__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: pulse-wa 2.2s ease-out infinite; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.6); } 100% { box-shadow: 0 0 0 18px rgba(31,168,85,0); } }
.dock__label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  padding: .35rem .8rem; border-radius: 8px;
  background: var(--night); color: var(--light); font-size: .85rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.dock__btn:hover .dock__label { opacity: 1; transform: translate(0, -50%); }
.to-top {
  position: fixed; right: 30px; bottom: 166px; z-index: 89;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(224,173,69,.6); background: rgba(22,7,11,.85); color: var(--gold-bright);
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background-color .3s;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--maroon-700); }

/* ---------- Lightbox ---------- */
.lightbox {
  max-width: min(1100px, 94vw); max-height: 94vh;
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 3, 5, .9); backdrop-filter: blur(6px); }
.lightbox[open] { animation: zoom-in .45s var(--ease); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); border: 1px solid rgba(224,173,69,.4); }
.lightbox__caption { margin: 1rem auto 0; max-width: 700px; text-align: center; color: var(--light-muted); font-size: .95rem; }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--maroon-900); color: var(--gold-bright);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
@keyframes zoom-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .readings, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .leaves { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .path::before { display: none; }
  .nav { gap: 1.2rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: radial-gradient(circle at 70% 20%, rgba(140,29,50,.5), transparent 50%), rgba(18, 5, 9, .97);
    opacity: 0; visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  .nav a:not(.btn) { font: 600 2rem/1.2 var(--font-display); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; } .nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open a:nth-child(4) { transition-delay: .15s; } .nav.is-open a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open a:nth-child(6) { transition-delay: .25s; }
  .nav .btn { margin-top: 1rem; font-size: 1.05rem; padding: .85em 1.8em; }

  .hero { padding-top: 6.5rem; text-align: center; }
  .hero__grid, .about__grid, .visit__grid, .contact, .booking { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(420px, 88vw); }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__scroll { display: none; }
  .about__collage { max-width: 560px; margin: 0 auto; }
  .visit__media { max-width: 480px; margin: 0 auto; }

  .timeline__line { left: 15px; }
  .era { grid-template-columns: 1fr; gap: 1.4rem; padding-left: 46px; }
  .era:nth-child(even) .era__media { order: 0; }
  .era__dot { left: 15px; top: 0; }
  .era:nth-child(even) .era__body { justify-self: start; text-align: left; }
  .era__body { max-width: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .dock {
    right: auto; left: 50%; bottom: 14px;
    flex-direction: row; gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(22, 7, 11, .9);
    border: 1px solid rgba(224,173,69,.35);
    backdrop-filter: blur(10px);
    transform: translate(-50%, 160%);
  }
  .dock.is-shown { transform: translate(-50%, 0); }
  .dock__btn { width: auto; height: 48px; padding: 0 1.4rem; gap: .5rem; display: flex; align-items: center; border-radius: 999px; font-size: 1.2rem; box-shadow: none; }
  .dock__btn:hover { transform: none; }
  .dock__label { position: static; opacity: 1; transform: none; background: none; padding: 0; color: inherit; font-size: 1rem; }
  .dock__btn:hover .dock__label { transform: none; }
  .to-top { right: 16px; bottom: 84px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .eyebrow { letter-spacing: .18em; font-size: .78rem; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .stat:nth-child(3)::before { display: none; }
  .readings, .testimonials, .trust { grid-template-columns: 1fr; }
  .leaves { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .leaf { height: 210px; }
  .leaf__back { font-size: .86rem; padding: 1rem; }
  .leaf__title { font-size: 1.12rem; }
  .path { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .brand__logo { width: 44px; height: 44px; font-size: 1.45rem; }
  .brand__text strong { font-size: 1.15rem; }
  .about__seal { width: 76px; height: 76px; font-size: 1.9rem; left: -8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .faq__q { font-size: 1.2rem; }
  .hero__name strong { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .path__step, .js .hero__title .word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .path::before { transform: none; }
  .js .visit__media::after { display: none; }
  .js .visit__media img { transform: none; }
}
