:root {
  --maroon: #5A0F1C;
  --maroon-d: #3e0a13;
  --gold: #C9A54C;
  --gold-l: #E3C777;
  --ivory: #FBF7EF;
  --ivory-d: #F3EBDA;
  --ink: #2a1a1d;
  --wa: #1f9d55;
  --radius: 14px;
  --font-en: "Inter", system-ui, sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
}
html[lang="ta"] {
  --font-en: "Noto Sans Tamil", "Inter", system-ui, sans-serif;
  --font-head: "Noto Sans Tamil", "Playfair Display", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font-en); color: var(--ink);
  background: var(--ivory); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--maroon); }
h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); text-align: center; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section--alt { background: var(--ivory-d); }
.section--dark { background: var(--maroon); color: var(--ivory); }
.section--dark h2, .section--dark h3 { color: var(--gold-l); }
.sub { text-align: center; margin: -.25em 0 1.75em; color: #6b5558; }
.center { text-align: center; }
.link { color: var(--maroon); font-weight: 600; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--maroon); color: var(--ivory); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 8px; }
.brand { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--gold-l); white-space: nowrap; }
.brand span { color: var(--ivory); }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--maroon-d); flex-direction: column; padding: 8px 16px 16px; }
.nav.is-open { display: flex; }
.nav a { padding: 12px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); min-height: 44px; }
.header__actions { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; border: 1px solid var(--gold); border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; color: var(--ivory); border: 0; padding: 8px 12px; min-height: 40px; cursor: pointer; font: inherit; font-size: .85rem; }
.lang button.is-active { background: var(--gold); color: var(--maroon-d); font-weight: 600; }
.icon-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--ivory); font-size: 1.3rem; cursor: pointer; text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-d) 100%); color: var(--ivory); padding: 40px 0 48px; }
.hero__inner { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: var(--gold-l); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold); margin-bottom: .5em; }
.lead { font-size: 1.05rem; opacity: .92; }
.rating { color: var(--gold-l); }

.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 16px 6px 8px; border: 1px solid var(--gold); border-radius: 999px; background: rgba(201,165,76,.15); color: var(--gold-l); font-weight: 600; }
.badge b { display: grid; place-items: center; min-width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--maroon-d); font-family: "Playfair Display", serif; font-size: 1.15rem; }
.hero__logo { width: min(80%, 380px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 0 8px rgba(201,165,76,.18), 0 12px 32px rgba(0,0,0,.4); justify-self: center; }
.card__sub { margin: 4px 0 0; font-size: .85rem; color: var(--gold-l); }

/* Trust band */
.trust { background: var(--ivory); border-bottom: 3px solid var(--gold); padding: 28px 0; text-align: center; }
.trust__label { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #6b5558; margin-bottom: 10px; }
.trust__note { max-width: 640px; margin: 10px auto 0; color: #6b5558; font-size: .95rem; }

/* Experience panel */
.exp { position: relative; margin: 0; overflow: hidden; border: 2px solid var(--gold); border-radius: var(--radius); background: var(--maroon-d); }
.exp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.exp figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 18px; text-align: center; color: var(--ivory); display: flex; flex-direction: column; gap: 2px; background: linear-gradient(transparent, rgba(62,10,19,.92) 55%); }
.exp strong { font-family: "Playfair Display", serif; font-size: clamp(3rem, 12vw, 4.5rem); line-height: 1; color: var(--gold-l); }
.exp span { font-size: 1.15rem; font-weight: 600; color: var(--gold-l); }
.exp small { font-size: .92rem; opacity: .92; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn-row--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--ghost { border-color: var(--gold); color: var(--gold-l); }
#visit .btn--ghost { color: var(--maroon); border-color: var(--maroon); }

/* About */
.about { display: grid; gap: 28px; align-items: center; }
.about img { border-radius: var(--radius); border: 2px solid var(--gold); }
.about h2 { text-align: left; }
.stats { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.stats li { background: var(--ivory-d); border-radius: var(--radius); padding: 12px 6px; display: flex; flex-direction: column; }
.stats strong { font-family: "Playfair Display", serif; font-size: 1.4rem; color: var(--maroon); }
.stats span { font-size: .8rem; }

/* Grids */
.grid { display: grid; gap: 14px; margin-top: 28px; }
.grid--cards { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--gold-l); border-radius: var(--radius); padding: 20px 12px; text-align: center; }
.card h3 { margin: 8px 0 0; }
.card__ico { font-size: 2rem; }
.card--accent { background: var(--maroon); grid-column: 1 / -1; }
.card--accent h3 { color: var(--gold-l); }
.grid--tiles { grid-template-columns: 1fr; }
.tile { background: #fff; border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.tile p { margin: 0; }
.grid--gallery { grid-template-columns: repeat(2, 1fr); }
.thumb { position: relative; padding: 0; border: 2px solid var(--gold-l); border-radius: var(--radius); overflow: hidden; background: none; cursor: zoom-in; }
.thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s; }
.thumb:hover img { transform: scale(1.05); }
.grid--reviews { grid-template-columns: 1fr; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--gold); }
.review p { font-style: italic; }
.review cite { color: var(--maroon); font-weight: 600; font-style: normal; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 18px; }
.steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--maroon-d); margin-bottom: 8px; }
.steps p { margin: 0; opacity: .9; }

/* Visit */
.visit { display: grid; gap: 28px; }
.visit h2 { text-align: left; }
.map { width: 100%; min-height: 300px; border: 0; border-radius: var(--radius); }

/* Footer, floating, lightbox */
.footer { background: var(--maroon-d); color: var(--ivory); text-align: center; padding: 24px 0; font-size: .9rem; }
.footer p { margin: 0; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.6rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: grid; place-items: center; z-index: 100; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 12px; right: 12px; min-width: 44px; min-height: 44px; font-size: 1.4rem; background: var(--gold); border: 0; border-radius: 50%; cursor: pointer; }

@media (max-width: 440px) {
  .brand { font-size: .85rem; white-space: normal; line-height: 1.15; max-width: 110px; }
  .header__actions { gap: 2px; }
  .lang button { padding: 8px 9px; font-size: .8rem; }
  .icon-btn, .menu-btn { min-width: 40px; }
}
@media (min-width: 600px) {
  .grid--cards { grid-template-columns: repeat(3, 1fr); }
  .card--accent { grid-column: auto; }
  .grid--tiles, .grid--reviews { grid-template-columns: repeat(2, 1fr); }
  .grid--gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; gap: 18px; background: none; padding: 0; }
  .nav a { border: 0; padding: 8px 0; font-size: .92rem; }
  .hero__inner, .about, .visit { grid-template-columns: 1fr 1fr; }
  .hero { padding: 72px 0; }
  .grid--cards { grid-template-columns: repeat(4, 1fr); }
  .grid--tiles, .grid--reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; color: #fff; font-size: .85rem; font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: left; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; margin-top: 18px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 44px; padding: 8px 16px; border: 1px solid var(--gold); border-radius: 999px; background: #fff; color: var(--maroon); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; }
.chip.is-active { background: var(--maroon); color: var(--gold-l); border-color: var(--maroon); }
.thumb[hidden] { display: none; }
.btn--more { background: transparent; border-color: var(--maroon); color: var(--maroon); cursor: pointer; font: inherit; font-weight: 600; margin-top: 22px; }
.btn--more[hidden] { display: none; }
@media (min-width: 960px) { .filters { justify-content: center; flex-wrap: wrap; } }

/* ===== GSAP version: motion additions ===== */
.header { position: sticky; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-l)); transform-origin: 0 50%; transform: scaleX(0); }
.hero__inner { position: relative; }
.hero h1 .word { display: inline-block; margin-right: .25em; }
.shimmer {
  background: linear-gradient(100deg, var(--gold) 20%, #fff3c4 45%, var(--gold-l) 55%, var(--gold) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
.shimmer-dark {
  background: linear-gradient(100deg, var(--maroon) 30%, #b8860b 50%, var(--maroon) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

.logo-wrap { position: relative; width: min(80%, 380px); aspect-ratio: 1; justify-self: center; }
.logo-wrap__ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), transparent 30%, var(--gold-l) 55%, transparent 80%, var(--gold)); animation: spin 8s linear infinite; filter: blur(1px); opacity: .9; }
.logo-wrap .hero__logo { position: relative; width: 100%; height: 100%; justify-self: auto; box-shadow: 0 12px 32px rgba(0,0,0,.45); border: 4px solid var(--maroon-d); }
.sparkle { position: absolute; background: var(--gold-l); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.card.is-in, .tile.is-in { transition: transform .25s, box-shadow .25s; } /* enabled only after the GSAP reveal finishes */
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(90,15,28,.18); }
.tile:hover { transform: translateX(6px); }
.thumb { display: block; }
.thumb[hidden] { display: none; }
.exp strong, .stats strong { font-variant-numeric: tabular-nums; }

.wa-float { overflow: visible; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .5; animation: pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }

.lightbox { flex-direction: column; }
.lightbox img { max-height: 76vh; max-width: min(92vw, 900px); user-select: none; touch-action: pan-y; }
.lightbox img.lb-in { animation: lbIn .3s ease-out; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox__cap { margin: 10px 0 0; color: var(--gold-l); font-weight: 600; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(201,165,76,.9); color: var(--maroon-d); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

@media (prefers-reduced-motion: reduce) {
  .shimmer, .shimmer-dark, .logo-wrap__ring, .wa-float__pulse { animation: none; }
}

/* The spinning ring's rotated bounding box can poke past the viewport on phones */
.hero { overflow: hidden; }


/* Hero logo is a <picture> (animated WebP, static PNG for reduced motion) */
.logo-wrap picture { display: block; width: 100%; height: 100%; }

/* Trust band: headline + fact badges (no third-party names) */
.trust__headline { margin: 0 0 18px; font-size: clamp(1.4rem, 5.5vw, 2.1rem); }
.trust__badges { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust__badges li { background: #fff; border: 1px solid var(--gold-l); border-radius: var(--radius); padding: 14px 8px; display: flex; flex-direction: column; gap: 2px; }
.trust__badges strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; line-height: 1.2; color: var(--maroon); font-variant-numeric: tabular-nums; }
html[lang="ta"] .trust__badges strong { font-family: var(--font-head); font-size: 1.15rem; }
.trust__badges span { font-size: .82rem; color: #6b5558; }
@media (min-width: 800px) { .trust__badges { grid-template-columns: repeat(4, 1fr); } }

/* Diamond sets: earrings stand sits on the left of the frame, so bias the 4:5 crop that way */
.thumb[data-cat="diamond"] img { object-position: 30% 50%; }
