/* ==========================================================================
   Gurusamy Jothida Illam — public design system
   Maroon / antique gold / ivory. Fonts are bundled locally (SIL OFL).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-malar-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mukta-malar-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-malar-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/mukta-malar-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-malar-tamil-400-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mukta-malar-tamil-500-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-malar-tamil-600-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Mukta Malar"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/mukta-malar-tamil-700-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Serif Tamil"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-tamil-tamil-500-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Serif Tamil"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/noto-serif-tamil-tamil-700-normal.woff2) format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }

/* ---------- Tokens ---------- */
:root {
  --maroon: #5a1220;
  --maroon-2: #6f1a2a;
  --maroon-deep: #3a0a13;
  --gold: #a8792f;          /* text-safe gold on ivory (AA for large text) */
  --gold-2: #c9a15a;
  --gold-soft: #e2c98f;
  --ivory: #fbf6ec;
  --ivory-2: #f3e9d6;
  --paper: #fffdf8;
  --ink: #2a2522;
  --ink-2: #4a413c;
  --muted: #6b5f57;
  --line: #e4d4b6;
  --line-2: #d6c09a;
  --ok: #2f6b3a;
  --warn: #8a5a00;
  --err: #a1202c;

  --f-display: "Cormorant Garamond", "Noto Serif Tamil", Georgia, "Times New Roman", serif;
  --f-tamil-display: "Noto Serif Tamil", "Mukta Malar", serif;
  --f-body: "Mukta Malar", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(58, 10, 19, .06), 0 4px 16px rgba(58, 10, 19, .06);
  --shadow-2: 0 2px 6px rgba(58, 10, 19, .08), 0 18px 40px rgba(58, 10, 19, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.lang-ta body, body.lang-ta { font-size: 1rem; line-height: 1.75; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-2); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; color: var(--maroon-deep); margin: 0 0 .5em; letter-spacing: -.005em; }
:lang(ta) h1, :lang(ta) h2, :lang(ta) h3, :lang(ta) h4,
h1:lang(ta), h2:lang(ta), h3:lang(ta), h4:lang(ta) { font-family: var(--f-tamil-display); font-weight: 700; line-height: 1.4; letter-spacing: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--maroon-deep); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--maroon-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.muted { color: var(--muted); font-size: .92rem; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(4px); }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); margin-top: 1.6em; }
.h4 { font-size: 1.3rem; }
:lang(ta) .h3, .h3:lang(ta) { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--maroon); --fg: #fff; --bd: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.35em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(58, 10, 19, .18); color: var(--fg); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.btn--maroon { --bg: var(--maroon); --fg: #fff; --bd: var(--maroon); }
.btn--maroon:hover { --bg: var(--maroon-2); --bd: var(--maroon-2); }
.btn--gold { --bg: linear-gradient(180deg, #e3c585, #c9a15a); --fg: var(--maroon-deep); --bd: #c9a15a; background: linear-gradient(180deg, #e7cb8e, #c79e55); }
.btn--gold:hover { --fg: var(--maroon-deep); filter: brightness(1.04); }
.btn--outline { --bg: transparent; --fg: var(--maroon); --bd: var(--line-2); }
.btn--outline:hover { --bd: var(--maroon); --bg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fbeedd; --bd: rgba(226, 201, 143, .55); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: var(--gold-soft); }
.btn--sm { min-height: 40px; padding: .45em 1.05em; font-size: .94rem; }
.btn--lg { min-height: 54px; padding: .75em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--maroon); }

/* ---------- Chips / notices ---------- */
.chip { display: inline-flex; align-items: center; gap: .3em; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: .2em .7em; border-radius: 999px; background: var(--ivory-2); color: var(--ink-2); border: 1px solid var(--line); line-height: 1.5; }
.chip--ceremony { background: #f7e4d6; border-color: #e8c7ad; color: #7a2e12; }
.chip--consultation { background: #efe6f0; border-color: #dccbe0; color: #4b2455; }
.chip--warn { background: #fff3d6; border-color: #eed38e; color: var(--warn); }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius-sm); border-left: 4px solid var(--gold-2); background: var(--ivory); font-size: .97rem; }
.notice--gold { border-color: var(--gold-2); background: #fbf1dc; }
.notice--warn { border-color: #d49a1b; background: #fff6e0; color: #5a3d00; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; border: 1px solid; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert--error { background: #fdecee; border-color: #efb5bc; color: #6d1019; }
.alert--error a { color: #6d1019; }
.alert--info { background: #eef3fb; border-color: #c4d4ee; }
.alert:focus { outline: 3px solid #efb5bc; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon-deep); min-width: 0; }
.brand__mark { width: 42px; height: 42px; color: var(--maroon); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__ta { font-family: var(--f-tamil-display); font-weight: 700; font-size: 1.02rem; color: var(--maroon); white-space: nowrap; }
.brand__en { font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; border-radius: 8px; position: relative; }
.site-nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--maroon); }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--maroon); font-size: .95rem; }
.lang-switch svg { width: 18px; height: 18px; }
.lang-switch:hover { border-color: var(--maroon); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; color: var(--maroon); }
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 18px; }
  .no-js .header-inner { flex-wrap: wrap; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 12px var(--gutter) 22px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .site-nav.is-open { display: flex; animation: drop .25s var(--ease); }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .site-nav__list a::after { display: none; }
  .site-nav__actions { flex-wrap: wrap; }
  .site-nav__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__ta { font-size: .9rem; }
  .brand__en { font-size: .8rem; letter-spacing: .05em; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0 12px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
:lang(ta) .eyebrow, .eyebrow:lang(ta) { letter-spacing: .02em; font-size: .88rem; text-transform: none; }
.eyebrow--light { color: var(--gold-soft); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.section--ivory { background: var(--ivory); }
.section--maroon { background: var(--maroon-deep) url(../img/pattern.svg) repeat; color: #f4e7d4; }
.section--maroon h2, .section--maroon h3 { color: #fff4e2; }
.section-head { display: grid; gap: 12px 48px; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.section-head--center { text-align: center; justify-items: center; grid-template-columns: 1fr !important; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
:lang(ta) .section-title, .section-title:lang(ta) { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.section-title--sm { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 28px; }
.section-lead { color: var(--muted); margin: 0; max-width: 46ch; font-size: 1.05rem; }
.section-more { margin: 36px 0 0; text-align: center; }
.group-title { display: flex; align-items: center; gap: 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.group-title--spaced { margin-top: clamp(48px, 7vw, 80px); margin-bottom: 10px; }
.group-note { color: var(--muted); margin-bottom: 28px; max-width: 70ch; }

/* ---------- Hero ---------- */
.hero { position: relative; contain: paint; overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #6b1627 0%, #4a0f1b 42%, #2c070e 100%); color: #f7ead6; overflow: clip; }
.hero__geo { position: absolute; inset: 0; background: url(../img/pattern.svg) repeat; opacity: .8; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, transparent, var(--gold-2) 20%, var(--gold-soft) 50%, var(--gold-2) 80%, transparent); opacity: .7; }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; } }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4.1rem); color: #fff6e6; margin-bottom: .35em; font-weight: 600; }
.lang-ta .hero__title { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.hero__tamil { font-family: var(--f-tamil-display); font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--gold-soft); line-height: 1.6; margin-bottom: 1.1em; }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #ecdcc6; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__modes { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; color: #f1e2cb; font-size: .95rem; }
.hero__modes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__modes svg { width: 20px; height: 20px; color: var(--gold-soft); }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__portrait { position: relative; z-index: 2; margin: 0; width: min(400px, 78vw); }
.hero__portrait picture, .hero__portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 999px 999px 20px 20px; }
.hero__portrait picture { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border-radius: 999px 999px 20px 20px; }
.hero__portrait::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(226, 201, 143, .6); border-radius: 999px 999px 28px 28px; pointer-events: none; }
.hero__name { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); background: var(--paper); color: var(--maroon-deep); border: 1px solid var(--gold-2); border-radius: 12px; padding: 8px 18px; text-align: center; white-space: nowrap; box-shadow: var(--shadow-2); line-height: 1.35; }
.hero__name span { display: block; }
.hero__name span:first-child { font-family: var(--f-tamil-display); font-weight: 700; font-size: .95rem; color: var(--maroon); }
.hero__name span:last-child { font-size: .8rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Chakra (decorative, CSS 3D) ---------- */
.chakra { position: absolute; left: 50%; top: 50%; width: min(640px, 150%); aspect-ratio: 1; transform: translate(-50%, -50%); perspective: 1400px; pointer-events: none; z-index: 1; }
.chakra__float { position: absolute; inset: 0; transform-style: preserve-3d; animation: chakra-float 14s ease-in-out infinite; }
.chakra__wheel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .62; animation: chakra-spin 200s linear infinite; }
.ck-line { fill: none; stroke: #d9b77a; stroke-width: 1; stroke-opacity: .55; }
.ck-strong { stroke-width: 1.6; stroke-opacity: .8; }
.ck-faint { stroke-opacity: .3; }
.ck-dot { fill: #e2c98f; fill-opacity: .6; }
.ck-ta { fill: #f0d9a6; font-family: var(--f-tamil-display); font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.ck-en { fill: #d9b77a; fill-opacity: .75; font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: 2px; text-anchor: middle; dominant-baseline: central; }
.ck-star { fill: rgba(217, 183, 122, .08); stroke: #d9b77a; stroke-opacity: .6; stroke-width: 1; }
.ck-petal { fill: rgba(217, 183, 122, .12); stroke: #d9b77a; stroke-opacity: .55; stroke-width: 1; }
.ck-core { fill: #d9b77a; fill-opacity: .5; }
.chakra__orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(226, 201, 143, .38); transform-style: preserve-3d; }
.chakra__orbit--1 { inset: 4%; animation: orbit-1 38s linear infinite; }
.chakra__orbit--2 { inset: 17%; border-color: rgba(226, 201, 143, .28); animation: orbit-2 26s linear infinite reverse; }
.chakra__orbit--3 { inset: -6%; border-style: dashed; border-color: rgba(226, 201, 143, .22); animation: orbit-3 64s linear infinite; }
.chakra__planet { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d6, #e2c98f 45%, #a8792f); box-shadow: 0 0 18px 4px rgba(226, 201, 143, .45); }
.chakra__planet--sm { width: 10px; height: 10px; top: -5px; left: calc(50% - 5px); }
.chakra__planet--xs { width: 7px; height: 7px; top: -3.5px; left: calc(50% - 3.5px); }
@keyframes chakra-spin { to { transform: rotate(360deg); } }
@keyframes chakra-float { 0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); } 50% { transform: translate3d(0, -10px, 20px) rotateX(4deg); } }
@keyframes orbit-1 { from { transform: rotateX(72deg) rotateY(0deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateY(0deg) rotateZ(360deg); } }
@keyframes orbit-2 { from { transform: rotateX(62deg) rotateY(22deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateY(22deg) rotateZ(360deg); } }
@keyframes orbit-3 { from { transform: rotateX(78deg) rotateY(-14deg) rotateZ(0deg); } to { transform: rotateX(78deg) rotateY(-14deg) rotateZ(360deg); } }
.chakra.is-paused *, .chakra.is-paused { animation-play-state: paused !important; }
@media (max-width: 600px) {
  .hero__visual { min-height: 360px; overflow: hidden; margin: 0 calc(-1 * var(--gutter)); padding: 24px 0 36px; }
  .chakra { width: 128%; }
  .chakra__orbit--3 { display: none; }
}

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; isolation: isolate; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--maroon), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--line); z-index: -1; transition: transform .5s var(--ease); }
.svc-card:hover, .svc-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.svc-card:hover::before, .svc-card:focus-within::before { transform: scaleX(1); }
.svc-card:hover::after { transform: scale(1.15); }
.svc-card--ceremony { background: linear-gradient(180deg, #fffaf1, #fff); }
.svc-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ivory-2); color: var(--maroon); margin-bottom: 18px; }
.svc-card__icon svg { width: 30px; height: 30px; }
.svc-card__title { margin: 0 0 10px; }
.svc-card__title a { text-decoration: none; color: inherit; }
.svc-card__ta { display: block; font-family: var(--f-tamil-display); font-weight: 700; font-size: 1.14rem; line-height: 1.45; color: var(--maroon); }
.svc-card__en { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; color: var(--ink); margin-top: 2px; line-height: 1.2; }
.svc-card__summary { color: var(--ink-2); font-size: .98rem; flex: 1; }
.svc-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.svc-card__more { font-weight: 600; color: var(--maroon); font-size: .95rem; }
.svc-card:hover .arrow { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--gold-2); outline-offset: -3px; border-radius: var(--radius); }

/* ---------- Intro / about ---------- */
.intro__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }
.intro__photo { margin: 0; position: relative; }
.intro__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 25%; box-shadow: var(--shadow-2); }
.intro__photo::after { content: ""; position: absolute; inset: 14px 14px -14px -14px; border: 1px solid var(--gold-2); border-radius: var(--radius); z-index: -1; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.4em 0; padding: .6em 0 .6em 1.2em; border-left: 3px solid var(--gold-2); font-family: var(--f-display); font-size: 1.3rem; font-style: italic; color: var(--maroon-deep); }
.prose blockquote:lang(ta), :lang(ta) .prose blockquote { font-family: var(--f-tamil-display); font-style: normal; font-size: 1.08rem; }
.prose--article { font-size: 1.1rem; }
.prose--article:lang(ta) { font-size: 1.04rem; line-height: 1.85; }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 26px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 500; }
.facts--stack { grid-template-columns: 1fr; }
.about__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; } .about__photos { position: sticky; top: calc(var(--header-h) + 24px); } }
.about__photos { display: grid; gap: 18px; grid-template-columns: 1.4fr 1fr; align-items: end; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-1); }
.about__photo--main img { aspect-ratio: 4 / 5; object-position: 50% 12%; border-radius: 999px 999px var(--radius) var(--radius); }
.about__photo--second img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
.about__name-ta { display: block; font-family: var(--f-tamil-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--maroon); }
.about__name-en { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 4px; }

/* ---------- Expect / steps ---------- */
.expect__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(226, 201, 143, .22); border: 1px solid rgba(226, 201, 143, .22); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .expect__list { grid-template-columns: 1fr 1fr; } }
.expect__item { background: rgba(58, 10, 19, .92); padding: clamp(24px, 3.5vw, 40px); position: relative; }
.expect__num { font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--gold-2); opacity: .55; display: block; margin-bottom: 10px; }
.expect__item h3 { font-size: 1.5rem; }
.expect__item h3:lang(ta), .lang-ta .expect__item h3 { font-size: 1.12rem; }
.expect__item p { color: #e7d6bf; margin: 0; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 820px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
@media (min-width: 820px) {
  .steps__item:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -29px; width: 30px; height: 1px; background: var(--line-2); }
}
.steps__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-2); display: grid; place-items: center; color: var(--maroon); background: var(--ivory); }
.steps__icon svg { width: 24px; height: 24px; }
.steps__n { font-family: var(--f-display); color: var(--gold); font-weight: 700; letter-spacing: .1em; margin: 16px 0 4px; }
.steps__item h3 { font-size: 1.4rem; }
.lang-ta .steps__item h3 { font-size: 1.08rem; }
.steps__item p:last-child { margin: 0; color: var(--ink-2); }
.steps__cta { text-align: center; margin: 40px 0 10px; }
.steps__note { text-align: center; color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--ivory-2); overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--gold-2); }
.post-card__placeholder svg { width: 64px; height: 64px; }
.post-card__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(42, 7, 14, .82); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.post-card__badge svg { width: 14px; height: 14px; }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-card__cat { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.lang-ta .post-card__cat { letter-spacing: 0; text-transform: none; font-size: .84rem; }
.post-card__title { font-size: 1.45rem; margin: 0 0 10px; }
.post-card__title:lang(ta) { font-size: 1.1rem; }
.post-card__title a { color: var(--maroon-deep); text-decoration: none; }
.post-card__excerpt { color: var(--ink-2); font-size: .97rem; flex: 1; }
.post-card__more { font-weight: 600; color: var(--maroon); font-size: .94rem; }
.post-card:hover .arrow { transform: translateX(4px); }
@media (min-width: 1000px) {
  .post-grid--home { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .post-grid--home .post-card--lead { grid-row: span 2; }
  .post-grid--home .post-card:not(.post-card--lead) { flex-direction: row; }
  .post-grid--home .post-card:not(.post-card--lead) .post-card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }
  .post-grid--home .post-card:not(.post-card--lead) .post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .post-card--lead .post-card__title { font-size: 2rem; }
  .post-card--lead .post-card__title:lang(ta) { font-size: 1.4rem; }
  .post-grid:not(.post-grid--home) .post-card--lead { grid-column: 1 / -1; flex-direction: row; }
  .post-grid:not(.post-grid--home) .post-card--lead .post-card__media { flex: 0 0 58%; aspect-ratio: 16 / 10; }
  .post-grid:not(.post-grid--home) .post-card--lead .post-card__body { padding: 36px; justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; } }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; color: var(--maroon-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { margin: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-band { background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.contact-band__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .contact-band__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-band__addr { font-size: 1.15rem; margin: 18px 0 12px; line-height: 1.6; }
.contact-band__hours { color: var(--ink-2); }
.contact-band__actions { display: grid; gap: 14px; }
.contact-tile { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); min-height: 72px; }
a.contact-tile:hover { border-color: var(--gold-2); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--ink); }
.contact-tile > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--maroon); color: var(--gold-soft); flex: none; }
.contact-tile__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.contact-tile__value { display: block; font-weight: 600; font-size: 1.08rem; color: var(--maroon-deep); overflow-wrap: anywhere; }
.contact-tile__value--sm { font-size: .98rem; font-weight: 500; }
.contact { display: grid; gap: 36px; }
.contact__cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact__address { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact__address { grid-template-columns: 1fr 1fr; } }
.address-card, .online-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.address-card { background: var(--ivory) url(../img/pattern.svg); }
.address-card__name { font-family: var(--f-tamil-display); font-weight: 700; color: var(--maroon); font-size: 1.2rem; margin-bottom: 6px; }
.address-card address { font-size: 1.12rem; margin-bottom: 22px; line-height: 1.7; }
.address-card .field-hint { margin-top: 12px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; background: var(--maroon-deep); color: #f4e7d4; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); overflow: clip; }
.page-head__geo { position: absolute; inset: 0; background: url(../img/pattern.svg); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); opacity: .9; }
.page-head::after { content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(226, 201, 143, .25); box-shadow: 0 0 0 40px rgba(226, 201, 143, .04), 0 0 0 90px rgba(226, 201, 143, .03); }
.page-head .container { position: relative; z-index: 1; }
.page-head__title { color: #fff6e6; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0; max-width: 22ch; }
.lang-ta .page-head__title, .page-head__title:lang(ta) { font-size: clamp(1.55rem, 3.6vw, 2.4rem); max-width: 30ch; }
.page-head__subtitle { font-family: var(--f-tamil-display); color: var(--gold-soft); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 8px 0 0; }
.page-head__subtitle:lang(en) { font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; }
.page-head__lead { color: #e7d6bf; max-width: 60ch; margin: 16px 0 0; font-size: 1.07rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.breadcrumb a { color: var(--gold-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb [aria-current] { color: #e7d6bf; }
.breadcrumb--dark a { color: var(--gold); }
.breadcrumb--dark a:hover { color: var(--maroon); }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; gap: 40px; }
@media (min-width: 960px) { .svc-detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; } .svc-detail__aside, .book__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.svc-detail__main > .h3:first-of-type, .svc-detail__main > .notice + .h3 { margin-top: .6em; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; box-shadow: var(--shadow-1); }
.aside-card__ta { font-family: var(--f-tamil-display); font-weight: 700; color: var(--maroon); font-size: 1.15rem; margin: 0; line-height: 1.45; }
.aside-card__en { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; margin: 0 0 6px; }
.aside-card__list { list-style: none; margin: 0 0 6px; padding: 0; border-top: 1px solid var(--line); }
.aside-card__list li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.aside-card__list span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.aside-card__note { color: var(--muted); font-size: .92rem; margin: 0; }
.aside-card__call { text-align: center; font-weight: 600; padding: 6px; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta-band__text { margin: 0; font-size: 1.1rem; max-width: 56ch; }
.cta-band .btn-row { margin: 0; }

/* ---------- Blog tools ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cat-filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cat-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: all .2s; }
.cat-filter a:hover { border-color: var(--maroon); color: var(--maroon); }
.cat-filter a[aria-current] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.blog-search { display: flex; gap: 8px; flex: 1 1 min(100%, 300px); max-width: 420px; min-width: 0; }
.blog-search input { flex: 1; min-width: 0; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.results-line { color: var(--muted); margin: -12px 0 28px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--ivory); }
.empty-state svg { width: 56px; height: 56px; color: var(--gold-2); margin: 0 auto 16px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; color: var(--muted); }

/* ---------- Article ---------- */
.article__head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); background: linear-gradient(180deg, var(--ivory), var(--paper)); }
.article__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 6px 0 16px; }
.article__title:lang(ta) { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
.article__dek { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.article__dek:lang(ta) { font-size: 1.07rem; }
.article__byline { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; font-size: .95rem; }
.article__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-2); }
.article__author { display: block; font-weight: 600; color: var(--maroon-deep); }
.article__date { display: block; color: var(--muted); font-size: .88rem; }
.article__hero, .article__video { margin: 0 auto clamp(28px, 4vw, 48px); max-width: calc(1040px + 2 * var(--gutter)); }
.article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-1); }
.article__hero figcaption, .article__video figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.article__video video { width: 100%; border-radius: var(--radius); background: #140306; box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #140306; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article__foot { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0 clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); }
.preview-bar { background: #fff3cd; color: #5a3d00; text-align: center; padding: 10px; font-weight: 600; border-bottom: 1px solid #eed38e; }
.gallery { margin-top: 40px; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery__link { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory-2); }
.gallery__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__link:hover .gallery__img { transform: scale(1.04); }
.gallery__cap { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 3, 6, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.lightbox__close { display: block; margin: 0 0 10px auto; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 44px; }
.lightbox__cap { color: #f1e2cb; text-align: center; margin: 10px 0 0; }

/* ---------- Booking form ---------- */
.book { display: grid; gap: 40px; }
@media (min-width: 1000px) { .book { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.book-form { display: grid; gap: 24px; }
.book-step { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin: 0; background: #fff; min-width: 0; }
.book-step > legend { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--maroon-deep); padding: 0 10px; }
.lang-ta .book-step > legend { font-family: var(--f-tamil-display); font-size: 1.12rem; }
.book-step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--maroon); color: var(--gold-soft); font-family: var(--f-body); font-size: 1rem; font-weight: 700; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > legend { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); padding: 0; }
.req { color: var(--err); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4a877; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(201, 161, 90, .3); }
.field [aria-invalid="true"], .field[aria-invalid="true"] .choice span, .field[aria-invalid="true"] .slot span { border-color: var(--err) !important; }
.field-hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.field-error { color: var(--err); font-weight: 600; font-size: .92rem; margin: 8px 0 0; display: flex; gap: 6px; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--err); color: #fff; font-size: .75rem; flex: none; margin-top: 2px; }
.field-grid { display: grid; gap: 0 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.field-grid .field:last-child { margin-bottom: 20px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice, .slot { position: relative; cursor: pointer; }
.choice input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span, .slot span { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); font-weight: 500; transition: all .2s; }
.choice input:checked + span, .slot input:checked + span { border-color: var(--maroon); background: var(--maroon); color: #fff; box-shadow: 0 6px 16px rgba(90, 18, 32, .25); }
.choice input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.choice:hover span, .slot:hover span { border-color: var(--maroon); }
.date-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.date-row input { flex: 1 1 200px; max-width: 280px; }
.js [data-show-times] { display: none; }
.slots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); min-height: 50px; }
.slots > .field-hint { grid-column: 1 / -1; margin: 0; }
.slot span { width: 100%; justify-content: center; padding: 8px 10px; }
.slots.is-loading { opacity: .6; }
.slots.is-loading::before { content: ""; grid-column: 1 / -1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--maroon); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-submit { display: grid; gap: 16px; justify-items: start; }
.book-submit__note { display: flex; gap: 10px; color: var(--ink-2); margin: 0; font-size: .95rem; }
.book-submit__note svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.mini-steps li::marker { color: var(--gold); font-weight: 700; }
.mini-steps strong { display: block; }
.mini-steps span { color: var(--muted); font-size: .92rem; }

/* ---------- Done page ---------- */
.done { background: var(--ivory) url(../img/pattern.svg); }
.done__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-2); text-align: center; }
.done__card .summary, .done__card .notice { text-align: left; }
.done__seal { width: 72px; height: 72px; margin: 0 auto 18px; color: var(--ok); }
.done__lead { font-size: 1.15rem; }
.done__ref-label { margin: 24px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 700; }
.done__ref { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: .12em; color: var(--maroon); font-weight: 700; margin-bottom: 24px; }
.done__card .btn-row { justify-content: center; }
.summary { display: grid; gap: 0; margin: 12px 0 20px; border-top: 1px solid var(--line); }
.summary > div { display: grid; grid-template-columns: minmax(110px, 35%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.done__keep { color: var(--muted); }

/* ---------- Errors ---------- */
.error-page { text-align: center; }
.error-page__code { font-family: var(--f-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--gold-2); margin: 0; }
.error-page .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #24060c; color: #d9c7ad; position: relative; padding-bottom: 20px; }
.footer-ornament { height: 40px; background: url(../img/pattern.svg) repeat-x; background-size: 40px 40px; border-bottom: 1px solid rgba(226, 201, 143, .18); opacity: .9; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer-brand__ta { font-family: var(--f-tamil-display); font-weight: 700; font-size: 1.3rem; color: var(--gold-soft); margin: 0; }
.footer-brand__en { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: #fff2de; margin: 0 0 8px; letter-spacing: .04em; }
.footer-brand__who { color: #f1e2cb; font-weight: 500; }
.muted-light { color: #b9a58a; font-size: .95rem; }
.footer-h { font-family: var(--f-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; font-weight: 700; }
.lang-ta .footer-h { letter-spacing: .02em; font-size: .92rem; text-transform: none; }
.footer-h--spaced { margin-top: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: #eadbc4; text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links address { color: #d9c7ad; line-height: 1.6; }
.footer-base { border-top: 1px solid rgba(226, 201, 143, .16); padding-top: 20px; font-size: .86rem; color: #a8957c; display: grid; gap: 6px; }
.footer-base p { margin: 0; }
.footer-disclaimer { max-width: 90ch; }

/* ---------- Mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(58, 10, 19, .1); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--maroon); padding: 0 6px; text-align: center; line-height: 1.2; }
  .mobile-cta__btn svg { width: 18px; height: 18px; flex: none; }
  .mobile-cta__btn--primary { background: var(--maroon); color: #fff; border-color: var(--maroon); }
  .mobile-cta__btn--primary:hover { color: #fff; }
  body { padding-bottom: 76px; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .chakra *, .chakra { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-cta, .chakra, .hero__geo { display: none !important; }
  body { background: #fff; }
}

/* ---------- International editorial refinement ---------- */
:root {
  --maroon: #76243a;
  --maroon-2: #8d2e48;
  --maroon-deep: #172633;
  --gold: #9b6d22;
  --gold-2: #bc8d3b;
  --gold-soft: #e0c17f;
  --ivory: #f3f1eb;
  --ivory-2: #e9e5dc;
  --paper: #fffefa;
  --ink: #1d2933;
  --ink-2: #3e4c57;
  --muted: #68757e;
  --line: #d9dedb;
  --line-2: #c5cdc9;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 2px 8px rgba(23, 38, 51, .06), 0 12px 28px rgba(23, 38, 51, .06);
  --shadow-2: 0 12px 32px rgba(23, 38, 51, .14);
}

body { font-size: 1rem; line-height: 1.7; }
.lang-ta body, body.lang-ta { font-size: 1rem; line-height: 1.85; }
h1, h2, h3, h4 { letter-spacing: 0; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.hero__title { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.01em; }
.hero__lead, .section-lead { font-size: 1.05rem; line-height: 1.75; }
.btn { min-height: 44px; border-radius: 8px; font-size: .95rem; letter-spacing: .01em; }
.btn--lg { min-height: 52px; }
.site-header { background: rgba(255, 254, 250, .96); border-bottom-color: var(--line); }
.brand__en { color: var(--gold); letter-spacing: .12em; }
.site-nav__list a { font-size: .95rem; }
.site-nav__list a[aria-current="page"] { color: var(--maroon); font-weight: 700; }
.lang-switch { border-radius: 8px; font-size: .9rem; }
.hero { background: radial-gradient(110% 100% at 85% 35%, #873049 0%, #5e1e33 44%, #172633 100%); }
.hero::after { height: 4px; }
.section--ivory { background: var(--ivory); }
.svc-card, .post-card, .contact-card, .booking-step, .faq-item { border-radius: var(--radius); box-shadow: 0 1px 0 rgba(23, 38, 51, .04); }
.svc-card:hover, .post-card:hover, .contact-card:hover { box-shadow: var(--shadow-1); }
.form-control, input, select, textarea { border-radius: 8px; }
.lang-ta .ck-en { display: none; }
.lang-en .ck-ta { display: none; }

@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .hero__actions .btn { width: 100%; }
  .btn-row { gap: 10px; }
}

