/* ═══════════════════════════════════════════════════════════
   Sri Sakthi Gold — premium light (ivory + gold) theme
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #fbf8f3;            /* ivory page */
  --bg-2: #f4eee3;          /* warm sand: marquee, footer */
  --white: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf5ec;
  --line: #ebe2d2;
  --line-strong: #dcc9a6;
  --text: #1f1a14;
  --muted: #5f5546;
  --dim: #8b7f6c;
  --gold: #a8741a;          /* readable gold for text/icons on white */
  --gold-soft: #f6ead3;
  --gold-3: #c9962f;
  /* fill gradient (buttons, logo) */
  --gold-grad: linear-gradient(120deg, #f7dfa3 0%, #e6bb5f 35%, #c99130 70%, #ecc878 100%);
  /* ink gradient (gold headline text) — deep enough for contrast on ivory */
  --gold-ink: linear-gradient(120deg, #c38d2c 0%, #9a6614 30%, #6f470f 55%, #b07a20 80%, #c38d2c 100%);
  --green: #1f9d55;
  --shadow-sm: 0 1px 2px rgba(80, 55, 15, .05), 0 6px 20px -8px rgba(80, 55, 15, .10);
  --shadow-md: 0 2px 4px rgba(80, 55, 15, .04), 0 18px 44px -18px rgba(80, 55, 15, .20);
  --shadow-lg: 0 40px 100px -40px rgba(120, 80, 20, .35);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-en: "Manrope", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Noto Serif Tamil", Georgia, serif;
  --font-ta: "Noto Sans Tamil", "Manrope", sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-en); font-size: 17px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: #f0d79c; color: var(--text); }

/* Tamil: never use negative/expanded tracking (it breaks conjuncts like ஸ்ரீ) and give glyphs room */
html[lang="ta"] body { font-family: var(--font-ta); font-size: 16px; line-height: 1.75; }
html[lang="ta"] * { letter-spacing: 0 !important; }
html[lang="ta"] .display, html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 { line-height: 1.35; }
html[lang="ta"] .kicker, html[lang="ta"] .footer h4, html[lang="ta"] .tile small { text-transform: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.gold-text {
  background: var(--gold-ink); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
  padding-block: .06em; /* keeps ascenders/descenders inside the clipped background */
}
@keyframes shine { to { background-position: 200% center; } }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
html[lang="ta"] .serif { font-style: normal; font-family: "Noto Serif Tamil", serif; font-weight: 600; }

/* ── Preloader ───────────────────────────────────────────── */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__ring { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--gold-soft); border-top-color: var(--gold-3); animation: spin 1s linear infinite; }
.preloader__label { margin-top: 18px; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Cursor glow (desktop) ───────────────────────────────── */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(230, 187, 95, .16), transparent 65%);
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ── Header ──────────────────────────────────────────────── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s; }
.header.scrolled {
  padding: 10px 0; background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(80, 55, 15, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .01em; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--gold-grad); color: #3a2706; font-family: var(--font-serif); font-size: 24px; font-style: italic;
  box-shadow: 0 8px 22px -8px rgba(169, 116, 26, .6), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text small { font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s, background .3s; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--gold-soft); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.lang-toggle button { padding: 6px 12px; border-radius: 999px; color: var(--muted); transition: all .3s var(--ease); }
.lang-toggle button.on { background: var(--gold-grad); color: #3a2706; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-grad); background-size: 200% auto; color: #3a2706; box-shadow: 0 12px 30px -12px rgba(169, 116, 26, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 18px 40px -12px rgba(169, 116, 26, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--ghost { border: 1px solid var(--line-strong); background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--gold-3); background: var(--surface-2); }
.btn--dark { background: var(--text); color: #fff; box-shadow: 0 12px 30px -14px rgba(31, 26, 20, .6); }
.btn--dark:hover { background: #2e261d; }
.btn--wa { background: #1f9d55; color: #fff; box-shadow: 0 12px 30px -14px rgba(31, 157, 85, .7); }
.btn--wa:hover { background: #1a8a4a; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 55% at 74% 45%, rgba(236, 200, 120, .38), transparent 70%),
    radial-gradient(40% 40% at 8% 95%, rgba(236, 200, 120, .22), transparent 70%),
    linear-gradient(180deg, #fffdf9, var(--bg));
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__content { position: relative; z-index: 2; max-width: 680px; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.display { font-size: clamp(42px, 7.2vw, 96px); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin: 22px 0; }
html[lang="ta"] .display { font-size: clamp(32px, 5.2vw, 64px); }
.display .serif { font-weight: 400; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 580px; margin: 0 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; }
.hero__trust div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__trust svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold-3); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.rate-chip {
  position: absolute; z-index: 3; right: calc(var(--gutter) + 90px); bottom: 70px;
  padding: 14px 20px 14px 14px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; font-size: 14px;
}
.rate-chip strong { display: block; font-size: 17px; color: var(--text); }
.rate-chip span { color: var(--dim); }
.rate-chip .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); position: relative; z-index: 2; pointer-events: none; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: #4a4033; }
.marquee__track span::after { content: "✦"; color: var(--gold-3); font-size: .6em; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ── Sections ────────────────────────────────────────────── */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg), #f6efe2 30%, #f6efe2 70%, var(--bg)); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold-3); }
.center .kicker::after { content: ""; width: 26px; height: 1.5px; background: var(--gold-3); }
h2.title { font-size: clamp(34px, 5vw, 62px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 18px 0; }
html[lang="ta"] h2.title { font-size: clamp(27px, 3.6vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 62px; left: 8%; right: 8%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.step { position: relative; padding: 30px 26px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease); }
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; position: relative;
  background: var(--gold-grad); color: #3a2706; font-family: var(--font-serif); font-style: italic; font-size: 28px;
  box-shadow: 0 0 0 6px var(--white), 0 12px 26px -10px rgba(169, 116, 26, .6);
}
.step h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s; min-height: 250px; display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(236, 200, 120, .22), transparent 45%); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: auto; background: var(--gold-soft); border: 1px solid var(--line-strong); color: var(--gold); transform: translateZ(40px); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -.01em; transform: translateZ(30px); }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; transform: translateZ(20px); }
.card--wide { grid-column: span 2; }
.card--feature { background: linear-gradient(140deg, #fdf3dc, #ffffff 65%); border-color: var(--line-strong); }

/* split / features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature-list { display: grid; gap: 4px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--line-strong); }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.visual-orb {
  position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, #fffaf0 0%, #f6ead3 60%, #efdcb8 100%); box-shadow: var(--shadow-md);
}
.visual-orb::before {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: conic-gradient(from 0deg, #f7dfa3, #c99130, #7a4f12, #ecc878, #a8741a, #f7dfa3);
  animation: spin 14s linear infinite;
  mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 70%, transparent 71%);
}
.purity-meter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.purity-meter .val { font-size: clamp(56px, 8vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.purity-meter .lbl { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.orb-tag { position: absolute; z-index: 3; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite; }
.orb-tag.t1 { top: 12%; left: 8%; } .orb-tag.t2 { top: 20%; right: 7%; animation-delay: -2s; } .orb-tag.t3 { bottom: 12%; left: 14%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ── Exchange planner (cash + new jewellery) ─────────────── */
.exchange-points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.exchange-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.exchange-points li svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
.exchange-points b { color: var(--text); }
.planner { padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; border: 1px solid var(--line-strong); background: var(--white); box-shadow: var(--shadow-lg); }
.planner h3 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.02em; }
.planner > p { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.planner__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.planner__total label { font-weight: 700; font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); font-size: 20px; line-height: 1; color: var(--gold); display: grid; place-items: center; }
.stepper button:hover { background: var(--gold-soft); }
.stepper input { width: 64px; text-align: center; font: inherit; font-size: 20px; font-weight: 800; border: 0; background: transparent; color: var(--text); outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { font-size: 14px; color: var(--muted); font-weight: 600; }
.split-bar { position: relative; height: 18px; border-radius: 999px; overflow: hidden; display: flex; margin: 26px 0 10px; background: var(--line); }
.split-bar .cash { background: linear-gradient(90deg, #1f9d55, #3cbf74); transition: width .35s var(--ease); }
.split-bar .jewel { background: var(--gold-grad); flex: 1; }
.planner input[type="range"] { width: 100%; margin: 6px 0 4px; accent-color: var(--gold-3); height: 28px; cursor: pointer; }
.planner__hint { font-size: 13px; color: var(--dim); text-align: center; margin-bottom: 20px; }
.planner__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.res { padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.res .n { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.res .n small { font-size: 15px; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.res .t { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.res .t i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.res--cash { background: #effaf3; border-color: #cdeedb; }
.res--cash .n { color: #157a41; } .res--cash .t i { background: #1f9d55; }
.res--jewel { background: #fdf5e3; border-color: var(--line-strong); }
.res--jewel .n { color: var(--gold); } .res--jewel .t i { background: var(--gold-3); }
.planner .btn { width: 100%; }
.planner__note { font-size: 12.5px; color: var(--dim); text-align: center; margin-top: 12px; }

/* districts */
.districts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.districts span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-sm); transition: all .3s var(--ease); }
.districts span:hover { color: #3a2706; background: var(--gold-grad); border-color: transparent; transform: translateY(-3px); }
.districts span.hq { color: #3a2706; background: var(--gold-grad); border-color: transparent; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(38px, 4.5vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat .lbl { margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; font-weight: 400; font-size: 22px; color: var(--gold); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-soft); }
.faq .ans { padding: 0 56px 26px 0; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; border-radius: 32px; padding: clamp(44px, 7vw, 90px); overflow: hidden; text-align: center;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  background: radial-gradient(80% 120% at 50% 0%, rgba(236, 200, 120, .55), transparent 65%), linear-gradient(180deg, #fffaf0, #f7ecd6);
}
.cta-band h2 { font-size: clamp(32px, 5vw, 62px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
html[lang="ta"] .cta-band h2 { font-size: clamp(26px, 3.6vw, 42px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 18px; }
.cta-band .hero__ctas { justify-content: center; }
.cta-band__coins { position: absolute; inset: 0; pointer-events: none; }
.cta-band__coins i { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff4d6, #e6bb5f 45%, #a8741a 100%); box-shadow: inset 0 0 0 4px rgba(255, 244, 214, .5), 0 14px 30px -10px rgba(120, 80, 20, .5); opacity: .8; animation: floaty 7s ease-in-out infinite; }

/* ── Forms ───────────────────────────────────────────────── */
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-strong); background: var(--white); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; }
.form-card > p { color: var(--muted); margin: 0 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: #4a4033; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #e3d8c4; background: #fdfbf7;
  color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, background .3s, box-shadow .3s; outline: none;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a8741a' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-3); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 150, 47, .15); }
.field input::placeholder, .field textarea::placeholder { color: #a99d89; }
.field.invalid input, .field.invalid select { border-color: #d0452c; box-shadow: 0 0 0 4px rgba(208, 69, 44, .1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.form-foot small { color: var(--dim); font-size: 13px; max-width: 320px; display: flex; gap: 8px; align-items: center; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #effaf3; border: 1px solid #bfe8d0; color: #146c3a; }
.form-msg.err { display: block; background: #fdf0ed; border: 1px solid #f3c9bf; color: #a3321d; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* inner pages */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 0%, rgba(236, 200, 120, .4), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(236, 200, 120, .18), transparent 70%), linear-gradient(180deg, #fffdf9, var(--bg)); }
.page-hero .display { font-size: clamp(40px, 6.4vw, 84px); }
html[lang="ta"] .page-hero .display { font-size: clamp(30px, 4.6vw, 56px); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-tiles { display: grid; gap: 14px; }
.tile { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
a.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateX(6px); }
.tile .ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--line-strong); }
.tile .ico svg { width: 24px; height: 24px; }
.tile small { display: block; color: var(--dim); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.tile strong { font-size: 18px; font-weight: 700; word-break: break-word; }
.map-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--white); }
.map-card iframe { display: block; width: 100%; height: 260px; border: 0; filter: saturate(.85); }

/* about */
.about-intro { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.45; letter-spacing: -.015em; font-weight: 600; max-width: 1000px; }
html[lang="ta"] .about-intro { font-size: clamp(19px, 2vw, 26px); line-height: 1.75; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mission .card { min-height: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg-2); position: relative; z-index: 2; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer p { color: var(--muted); margin: 18px 0 0; font-size: 15px; max-width: 320px; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; }
.footer__big {
  display: block; width: fit-content; max-width: 100%; margin: 50px auto 0;
  font-size: clamp(52px, 12vw, 190px); font-weight: 800; letter-spacing: -.05em; line-height: 1.12;
  padding: .04em .06em .1em; text-align: center; user-select: none; white-space: nowrap;
}
html[lang="ta"] .footer__big { font-size: clamp(40px, 9vw, 140px); line-height: 1.45; padding: .1em .08em .16em; }

/* floating action buttons */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(60, 40, 10, .45); transition: transform .3s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .wa { background: #25d366; color: #fff; }
.fab .call { background: var(--gold-grad); color: #3a2706; }
.mobile-bar { display: none; }

/* ── Reveal base (JS enhances) ───────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(40px); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px; background: rgba(251, 248, 243, .98); backdrop-filter: blur(20px); }
  .menu-open .nav a { font-size: 26px; font-weight: 700; color: var(--text); padding: 12px 26px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .split, .contact-grid, .mission { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rate-chip { display: none; }
  .hero { padding-top: 110px; align-items: flex-end; padding-bottom: 60px; }
  .hero__content { max-width: none; }
  .hero__canvas::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(251, 248, 243, 0) 0%, rgba(251, 248, 243, .4) 30%, rgba(251, 248, 243, .9) 55%, var(--bg) 100%); }
  .fab { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(60, 40, 10, .35); }
  .mobile-bar .btn { padding: 13px 10px; }
  body { padding-bottom: 76px; }
  .scroll-hint { display: none; }
  .logo__text { font-size: 15px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .form-grid, .planner__result { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__text small { display: none; }
  html[lang="ta"] .logo__text { font-size: 13px; }
  .lang-toggle button { padding: 6px 10px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__trust { gap: 14px 22px; }
  .faq summary { padding-right: 50px; }
  .faq .ans { padding-right: 0; }
  .planner__total { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* five nav links: make room on mid-size screens (floating call button stays visible) */
@media (max-width: 1180px) and (min-width: 901px) {
  .header__actions .btn { display: none; }
  .nav a { padding: 9px 12px; font-size: 14.5px; }
}

/* Tamil gradient headline: bolder sans reads better than serif at small sizes */
html[lang="ta"] .display .serif, html[lang="ta"] h2.title .serif, html[lang="ta"] .cta-band .serif {
  font-family: "Noto Sans Tamil", sans-serif; font-weight: 800;
}
@media (max-width: 900px) { .hero__canvas { opacity: .55; } }
@media (max-width: 420px) {
  .header__inner { gap: 8px; }
  .logo { gap: 8px; min-width: 0; }
  .logo__mark { width: 36px; height: 36px; font-size: 20px; border-radius: 10px; }
  .logo__text { min-width: 0; white-space: nowrap; font-size: 14px; }
  html[lang="ta"] .logo__text { font-size: 12.5px; }
  .lang-toggle button { padding: 6px 8px; }
  .menu-btn { width: 40px; height: 40px; }
  .menu-btn span { left: 11px; right: 11px; }
  .menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 23px; }
  .menu-open .menu-btn span:nth-child(1), .menu-open .menu-btn span:nth-child(2) { top: 19px; }
}

/* ═══════════════════════════════════════════════════════════
   HERO · ad-banner carousel
   ═══════════════════════════════════════════════════════════ */
.banner-wrap { padding: 100px 0 0; position: relative; }
.banner { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; touch-action: pan-y; --dur: 5500ms; }
.banner__track { display: grid; }
/* all slides share one grid cell, so the banner is as tall as the tallest slide */
.slide {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px;
  min-height: clamp(470px, 62vh, 570px);
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5.5vw, 80px) 76px;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
/* soft dotted texture + slow zoom */
.slide::before {
  content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1.4px); background-size: 22px 22px; opacity: .08;
  mask-image: radial-gradient(70% 80% at 80% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 80% 50%, #000, transparent 75%);
}
.slide.is-active::before { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.slide--maroon { color: #fff7ea; background: radial-gradient(60% 90% at 82% 50%, rgba(240, 197, 100, .38), transparent 62%), linear-gradient(115deg, #4a0b16 0%, #7a1626 55%, #9c2a2a 100%); }
.slide--cream  { color: var(--text); background: radial-gradient(55% 80% at 78% 50%, rgba(255, 255, 255, .95), transparent 62%), linear-gradient(115deg, #fbeccb 0%, #f6dca0 60%, #efc978 100%); }
.slide--green  { color: #effaf4; background: radial-gradient(60% 90% at 82% 50%, rgba(230, 187, 95, .3), transparent 62%), linear-gradient(115deg, #0b3326 0%, #135240 55%, #1b6b52 100%); }
.slide--royal  { color: #eef1ff; background: radial-gradient(60% 90% at 80% 50%, rgba(230, 187, 95, .32), transparent 62%), linear-gradient(115deg, #121a3a 0%, #1f2d63 55%, #2b3f86 100%); }

.slide__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
}
.slide__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f5cf74; box-shadow: 0 0 0 4px rgba(245, 207, 116, .25); }
.slide--cream .slide__chip { background: #fff; border-color: var(--line-strong); color: #7a1626; }
.slide--cream .slide__chip::before { background: #7a1626; box-shadow: 0 0 0 4px rgba(122, 22, 38, .15); }
.slide__title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; margin: 18px 0 14px; }
.slide__title span { color: #f5cf74; }
.slide--cream .slide__title span { color: #7a1626; }
html[lang="ta"] .slide__title { font-size: clamp(26px, 3.3vw, 44px); line-height: 1.38; }
.slide__sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; opacity: .9; max-width: 540px; margin: 0 0 28px; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: #fff; color: var(--text); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5); }
.btn--light:hover { background: #fff8ea; }

/* entrance: text lines rise in one after another, art floats in */
.slide__text > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__text > * { opacity: 1; transform: none; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: .3s; }
.slide__art { position: relative; display: grid; place-items: center; min-height: 300px; opacity: 0; transform: translateX(40px) scale(.94); transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s; }
.slide.is-active .slide__art { opacity: 1; transform: none; }

/* art · coins */
.art-coins { width: min(100%, 400px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); overflow: visible; }
.coin-float { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.art-badge {
  position: absolute; right: 4%; top: 6%; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1.2; transform: rotate(-10deg);
  background: var(--gold-grad); color: #3a2706; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5), inset 0 0 0 4px rgba(255, 255, 255, .35);
  animation: badge 3.2s ease-in-out infinite;
}
.art-badge b { font-size: 17px; font-weight: 800; } .art-badge span { font-size: 13px; font-weight: 700; }
@keyframes badge { 50% { transform: rotate(-4deg) scale(1.05); } }
.art-badge--light { background: #fff; color: #135240; top: auto; bottom: 8%; right: 2%; }

/* art · split (50 → 30 + 20) */
.art-split { display: flex; flex-direction: column; align-items: center; }
.art-split__from, .to { background: #fff; border-radius: 20px; box-shadow: 0 20px 44px -18px rgba(120, 80, 20, .45); text-align: center; }
.art-split__from { padding: 16px 30px; }
.art-split__from b { display: block; font-size: 52px; font-weight: 800; line-height: 1.05; color: #7a1626; }
.art-split__from span, .to span { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.art-split__arrows { width: 220px; height: 66px; }
.art-split__to { display: flex; gap: 16px; }
.to { padding: 16px 18px; min-width: 150px; }
.to b { display: block; font-size: 42px; font-weight: 800; line-height: 1.05; }
.to--cash b { color: #157a41; }
.to--cash i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 4px; border-radius: 50%; background: #e3f6ea; color: #157a41; font-style: normal; font-weight: 800; font-size: 20px; }
.to--jewel b { color: var(--gold); }
.to--jewel svg { width: 40px; height: 40px; margin: 0 auto 4px; }
.slide.is-active .to { animation: pop .6s var(--ease) both; }
.slide.is-active .to--cash { animation-delay: .5s; } .slide.is-active .to--jewel { animation-delay: .65s; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.9); } }

/* art · bank */
.art-bank { width: min(100%, 410px); filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .35)); overflow: visible; }
.lock-open { transform-box: fill-box; transform-origin: 0% 100%; animation: unlock 3s ease-in-out infinite; }
@keyframes unlock { 0%, 30% { transform: none; } 55%, 85% { transform: translateY(-10px) rotate(-18deg); } 100% { transform: none; } }

/* art · purity meter */
.art-meter { position: relative; width: min(78%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.art-meter__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #f7dfa3, #c99130, #7a4f12, #ecc878, #a8741a, #f7dfa3);
  mask: radial-gradient(circle, transparent 60%, #000 61%, #000 72%, transparent 73%); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 72%, transparent 73%);
  animation: spin 12s linear infinite;
}
.art-meter__val { text-align: center; line-height: 1; }
.art-meter__val b { display: block; font-size: clamp(56px, 6vw, 80px); font-weight: 800; color: #f5cf74; letter-spacing: -.03em; }
.art-meter__val span { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: 14px; }
.art-tag { position: absolute; padding: 8px 13px; border-radius: 12px; background: #fff; color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); animation: floaty 5s ease-in-out infinite; }
.art-tag.t1 { top: 2%; left: -14%; } .art-tag.t2 { top: 44%; right: -22%; animation-delay: -1.7s; } .art-tag.t3 { bottom: 0; left: -6%; animation-delay: -3.3s; }

/* controls */
.banner__nav {
  position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--text);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45); opacity: .85; transition: opacity .3s, transform .3s var(--ease);
}
.banner__nav:hover { opacity: 1; transform: scale(1.08); }
.banner__nav svg { width: 20px; height: 20px; }
.banner__nav--prev { left: 14px; } .banner__nav--next { right: 14px; }
.banner__dots { position: absolute; z-index: 5; bottom: 26px; left: clamp(28px, 5.5vw, 80px); display: flex; gap: 8px; }
.banner__dots button { position: relative; width: 38px; height: 5px; padding: 0; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .32); }
.banner__dots button::after { content: ""; position: absolute; inset: 0; width: 0; background: #f5cf74; border-radius: inherit; }
.banner__dots button.on::after { animation: fillbar var(--dur) linear forwards; }
.banner.paused .banner__dots button.on::after { animation-play-state: paused; }
.banner[data-tone="light"] .banner__dots button { background: rgba(58, 39, 6, .18); }
.banner[data-tone="light"] .banner__dots button::after { background: #7a1626; }
@keyframes fillbar { to { width: 100%; } }

/* trust strip under the banner */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 clamp(50px, 7vw, 80px); }
.trust-strip div { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14.5px; font-weight: 700; color: #4a4033; }
.trust-strip svg { width: 22px; height: 22px; flex: none; color: var(--gold); }

@media (max-width: 900px) {
  .banner-wrap { padding-top: 84px; }
  .banner { border-radius: 22px; }
  .slide { grid-template-columns: 1fr; gap: 6px; min-height: 0; padding: 22px 22px 58px; align-content: start; }
  .slide__art { order: -1; min-height: 0; height: 190px; }
  .art-coins, .art-bank { height: 190px; width: auto; }
  .art-badge { width: 84px; height: 84px; right: 6%; top: 2%; } .art-badge b { font-size: 14px; } .art-badge span { font-size: 11px; }
  .art-badge--light { top: auto; bottom: 2%; }
  .art-split { transform: scale(.72); transform-origin: center; margin: -26px 0; }
  .art-meter { width: 170px; }
  .art-meter__val b { font-size: 46px; }
  .art-tag { font-size: 11px; padding: 6px 9px; } .art-tag.t1 { left: -40%; } .art-tag.t2 { right: -48%; } .art-tag.t3 { left: -30%; }
  .slide__sub { margin-bottom: 20px; }
  .banner__nav { display: none; }
  .banner__dots { left: 50%; transform: translateX(-50%); bottom: 22px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-strip div { padding: 12px 14px; font-size: 13.5px; }
}
@media (max-width: 600px) {
  .slide__ctas .btn { flex: 1 1 auto; padding: 13px 18px; }
  .slide__title { font-size: clamp(30px, 8.6vw, 40px); }
  html[lang="ta"] .slide__title { font-size: clamp(23px, 6.6vw, 30px); }
}
@media (prefers-reduced-motion: reduce) {
  .slide__text > *, .slide__art { opacity: 1; transform: none; }
}

/* banner fixes: keep badges/tags off the main art; real mobile sizes for the split diagram */
.art-badge--light { right: auto; left: 4%; bottom: 2%; }
.art-tag.t2 { top: auto; bottom: 18%; right: -20%; }
.slide__ctas .btn { max-width: 100%; }
@media (max-width: 900px) {
  .art-split { transform: none; margin: 0; }
  .art-split__from { padding: 8px 20px; border-radius: 14px; }
  .art-split__from b { font-size: 32px; }
  .art-split__from span, .to span { font-size: 11.5px; }
  .art-split__arrows { width: 150px; height: 40px; }
  .art-split__to { gap: 10px; }
  .to { min-width: 112px; padding: 8px 12px; border-radius: 14px; }
  .to b { font-size: 28px; }
  .to--cash i { width: 26px; height: 26px; font-size: 14px; margin-bottom: 2px; }
  .to--jewel svg { width: 26px; height: 26px; margin-bottom: 2px; }
  .art-badge--light { left: 2%; bottom: 0; }
  .art-tag.t2 { bottom: 30%; right: -48%; }
  .slide__ctas .btn { white-space: normal; text-align: center; line-height: 1.3; }
}
@media (max-width: 600px) {
  .slide__ctas .btn { flex: 1 1 100%; }
}

@media (max-width: 900px) { .slide--cream .slide__art { height: auto; margin-bottom: 12px; } }

/* full-bleed banner: background spans the screen, content aligns with the 1240px container */
.banner { border-radius: 0; box-shadow: none; }
.slide { min-height: clamp(500px, 68vh, 620px); padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.banner__dots { left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
@media (max-width: 900px) { .banner { border-radius: 0; } .slide { min-height: 0; padding: 22px var(--gutter) 58px; } .banner__dots { left: 50%; } }

/* ── banner photos (Gemini-generated, watermark cropped) ───────────────
   Desktop: photo fills the slide, subject on the right, text on the empty left.
   Mobile: cropped subject photo on top, text below on the slide colour. */
.slide::before { display: none; }
.slide { grid-template-columns: minmax(0, 620px) 1fr; min-height: clamp(500px, 40vw, 680px); }
.slide--maroon { --shade: 74, 11, 22; }
.slide--cream  { --shade: 251, 238, 210; }
.slide--green  { --shade: 11, 51, 38; }
.slide--royal  { --shade: 22, 34, 84; }
.slide__bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg) right 40% / cover no-repeat;
}
/* keeps text readable when the photo shifts left on narrower laptops */
.slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .7) 34%, rgba(var(--shade), 0) 58%);
}
.slide.is-active .slide__bg { animation: kenburns 9s ease-out forwards; }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; padding-top: 0; }
  .slide__bg {
    position: relative; inset: auto; z-index: 0; order: -1;
    height: min(64vw, 340px); margin: 0 calc(var(--gutter) * -1) 6px;
    background-image: var(--bg-m); background-position: center 40%;
    -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
  }
  .slide__bg::after { display: none; }
  .slide.is-active .slide__bg { animation: none; }
}

/* slide 4 photo has a hard blue/shop edge at ~50%: blend it into the slide colour */
@media (min-width: 901px) { .slide--royal .slide__bg::after { background: linear-gradient(90deg, rgba(var(--shade), .96) 0%, rgba(var(--shade), .96) 57.5%, rgba(var(--shade), .55) 65%, rgba(var(--shade), 0) 80%); } }

/* ═══════════════════════════════════════════════════════════
   Live gold rate · header ticker + hero rate card
   ═══════════════════════════════════════════════════════════ */
/* header now = ticker strip + nav row; padding moves onto the nav row */
.header, .header.scrolled { padding: 0; }
.header__inner { padding-top: 14px; padding-bottom: 14px; transition: padding .4s var(--ease); }
.header.scrolled .header__inner { padding-top: 8px; padding-bottom: 8px; }

.ratebar { background: #1d1711; color: #e9dcc3; font-size: 13px; border-bottom: 1px solid rgba(245, 207, 116, .22); }
.ratebar__inner { display: flex; align-items: center; gap: 18px; height: 36px; }
.ratebar__title { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f5cf74; white-space: nowrap; }
html[lang="ta"] .ratebar__title { text-transform: none; font-size: 12.5px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.ratebar__items { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ratebar__items::-webkit-scrollbar { display: none; }
.ri { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 16px; white-space: nowrap; border-left: 1px solid rgba(245, 207, 116, .18); }
.ri:first-child { padding-left: 0; border-left: 0; }
.ri em { font-style: normal; font-weight: 600; color: #b9a989; }
.ri b { font-size: 14px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ri small { color: #8b7f6c; }
.ri--hl b { color: #f5cf74; }
.ratebar__time { flex: none; font-size: 12px; color: #8b7f6c; white-space: nowrap; }
.chg { font-size: 12px; font-weight: 800; white-space: nowrap; }
.chg.up { color: #3ddc84; } .chg.down { color: #ff8a7a; }
.ratebar .chg:empty, .rate-panel .chg:empty { display: none; }
.ratebar.flash .ri b { animation: tickflash 1.2s ease; }
@keyframes tickflash { 30% { color: #f5cf74; text-shadow: 0 0 12px rgba(245, 207, 116, .7); } }

/* push page content below the taller header */
.banner-wrap { padding-top: 108px; }
.page-hero { padding-top: 200px; }

/* hero rate card: overlaps the bottom of the banner */
.rate-panel {
  position: relative; z-index: 6; margin-top: -64px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1.55fr auto; gap: 28px; align-items: center;
  padding: 26px 30px; border-radius: 24px; background: var(--white);
  border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -30px rgba(80, 55, 15, .45);
}
.rate-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); }
.rate-panel.flash { animation: panelflash 1.4s ease; }
@keyframes panelflash { 30% { box-shadow: 0 0 0 4px rgba(230, 187, 95, .45), 0 30px 70px -30px rgba(80, 55, 15, .45); } }
.rp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.rp-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.rp-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #e9f8ef; color: #157a41; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rp-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.rp-big { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.rp-big b { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #7a1626; font-variant-numeric: tabular-nums; }
.rp-big .chg { font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.rp-big .chg.up { background: #e9f8ef; color: #157a41; } .rp-big .chg.down { background: #fdeeea; color: #b3341f; }
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rp-grid div { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.rp-grid em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.rp-grid b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rp-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 250px; text-align: right; }
.rp-cta small { font-size: 12px; line-height: 1.45; color: var(--dim); }
/* nothing rendered yet: soft shimmer on the placeholders */
[data-rates]:not(.ready) [data-rate="g22"], [data-rates]:not(.ready) [data-rate="g24"],
[data-rates]:not(.ready) [data-rate="pavun"], [data-rates]:not(.ready) [data-rate="silver"] { opacity: .45; }

/* banner content must clear the overlapping card */
.slide { padding-bottom: 120px; }
.banner__dots { bottom: 88px; }
.trust-strip { margin-top: 16px; }

@media (max-width: 1080px) {
  .rate-panel { grid-template-columns: 1fr 1.4fr; }
  .rp-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; max-width: none; text-align: left; }
}
@media (max-width: 900px) {
  .ratebar__time { display: none; }
  .ratebar__inner { gap: 12px; height: 34px; }
  .header__inner { padding-top: 10px; padding-bottom: 10px; }
  .banner-wrap { padding-top: 98px; }
  .page-hero { padding-top: 160px; }
  .slide { padding-bottom: 58px; }
  .banner__dots { bottom: 22px; }
  .rate-panel { margin-top: 16px; grid-template-columns: 1fr; gap: 16px; padding: 22px 18px 18px; border-radius: 20px; }
  .rp-grid { gap: 8px; }
  .rp-grid div { padding: 10px 10px; border-radius: 12px; }
  .rp-grid em { font-size: 11px; }
  .rp-grid b { font-size: 16px; }
  .rp-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .rp-cta .btn { width: 100%; }
}
@media (max-width: 600px) {
  .ratebar__title > span:last-child { display: none; } /* keep just the live dot; the items speak for themselves */
  .ri { padding: 0 12px; }
}

/* rate card: give the CTA its own column and let long Tamil labels wrap instead of overlapping */
.rate-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(230px, 260px); gap: 24px; }
.rp-head { flex-wrap: wrap; row-gap: 4px; }
.rp-cta .btn { white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 1080px) { .rate-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
@media (max-width: 900px) { .rate-panel { grid-template-columns: 1fr; } }
