/* ==========================================================================
   Divine theme (தெய்வீகம்) — temple maroon, kumkum, saffron, sandal and gold.
   Loaded after site.css; overrides tokens and key components.
   ========================================================================== */
:root {
  --maroon: #8a1c2b;
  --maroon-2: #a3263a;
  --maroon-deep: #4a0d18;
  --temple: #5b0f1c;
  --temple-deep: #2e050c;
  --kumkum: #b3202f;
  --saffron: #e8892a;
  --gold: #94661a;
  --gold-2: #c9962f;
  --gold-soft: #f0d28c;
  --gold-bright: #f6d77e;
  --ivory: #f8e8c9;
  --ivory-2: #f1d9ad;
  --paper: #fff8ea;
  --sandal: #fbf0dc;
  --ink: #2b1a14;
  --ink-2: #4f382c;
  --muted: #7a5f4f;
  --line: #e7cc96;
  --line-2: #d6ae66;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 2px 6px rgba(74, 13, 24, .08), 0 14px 32px rgba(122, 64, 10, .10);
  --shadow-2: 0 10px 24px rgba(74, 13, 24, .16), 0 30px 60px rgba(122, 64, 10, .18);
  --glow: 0 0 0 1px rgba(201, 150, 47, .55), 0 0 28px rgba(246, 199, 94, .45);
}

/* ---------- Page background: sandal + kolam ---------- */
body {
  background-color: var(--sandal);
  background-image: radial-gradient(1200px 600px at 50% -200px, rgba(246, 199, 94, .28), transparent 70%), url(../img/kolam.svg);
  background-size: auto, 96px 96px;
  color: var(--ink);
}
h1, h2, h3, h4 { color: var(--temple); }
::selection { background: var(--gold-bright); color: var(--temple-deep); }

/* ---------- Header: temple maroon with mango-leaf thoranam ---------- */
.site-header {
  background: linear-gradient(180deg, #5e0f1d 0%, #3d0912 100%);
  border-bottom: 1px solid rgba(240, 210, 140, .45);
  box-shadow: 0 6px 24px rgba(46, 5, 12, .35);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 30px; pointer-events: none;
  background: url(../img/thoranam.svg) repeat-x 0 0 / 64px 30px;
  filter: drop-shadow(0 3px 3px rgba(46, 5, 12, .25));
  transform-origin: top; transition: transform .35s var(--ease), opacity .35s;
}
.site-header.is-scrolled::after { transform: scaleY(0); opacity: 0; }
.brand { color: var(--gold-soft); }
.brand__mark { color: var(--gold-bright); filter: drop-shadow(0 0 8px rgba(246, 215, 126, .5)); }
.brand__en { color: var(--gold-soft); text-shadow: 0 0 18px rgba(246, 215, 126, .35); }
.brand__ta { color: var(--gold-bright); }
.site-nav__list a { color: #f5e2c4; }
.site-nav__list a:hover { color: #fff; }
.site-nav__list a[aria-current="page"] { color: var(--gold-bright); }
.site-nav__list a::after { background: var(--gold-bright); box-shadow: 0 0 10px rgba(246, 215, 126, .8); }
.lang-switch { color: var(--gold-soft); border-color: rgba(240, 210, 140, .45); background: rgba(255, 255, 255, .04); }
.lang-switch:hover { border-color: var(--gold-bright); color: #fff; }
.nav-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(240, 210, 140, .45); color: var(--gold-soft); }
@media (max-width: 1080px) {
  .js .site-nav { background: linear-gradient(180deg, #4a0d18, #2e050c); border-bottom-color: rgba(240, 210, 140, .35); padding-top: 34px; }
  .site-nav__list a { border-bottom-color: rgba(240, 210, 140, .2); }
}

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; }
.btn--gold { background: linear-gradient(180deg, #fbe3a1 0%, #e9b955 55%, #c9962f 100%); color: var(--temple-deep); border-color: #b9862a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(201, 150, 47, .35); }
.btn--gold:hover { color: var(--temple-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 4px rgba(246, 215, 126, .25), 0 10px 26px rgba(201, 150, 47, .45); }
.btn--maroon { --bg: var(--maroon); --bd: var(--maroon); background: linear-gradient(180deg, #a3263a, #6e1322); color: #fff4dc; }
.btn--maroon:hover { color: #fff; box-shadow: 0 0 0 4px rgba(179, 32, 47, .15), 0 10px 24px rgba(110, 19, 34, .35); }
.btn--outline { --fg: var(--maroon); --bd: var(--line-2); background: rgba(255, 248, 234, .7); }
.btn--outline:hover { --bg: var(--paper); }

/* ---------- Eyebrows & section titles with lamp ornament ---------- */
.eyebrow { color: var(--kumkum); }
.eyebrow::before { width: 22px; height: 22px; background: url(../img/divider.svg) no-repeat 50% 50% / 220px 26px; }
.eyebrow--light { color: var(--gold-bright); }
.section-head--center .section-title::after,
.rasi-band .section-title::after {
  content: ""; display: block; width: 240px; max-width: 100%; height: 28px; margin: 14px auto 0;
  background: url(../img/divider.svg) no-repeat center / contain;
}
.rasi-band .section-title::after { margin-left: 0; }
.section-title { text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.section--maroon .section-title, .rasi-band .section-title { text-shadow: 0 0 30px rgba(246, 199, 94, .35); }

/* ---------- Sections ---------- */
.section--ivory {
  background:
    url(../img/mandala.svg) no-repeat right -160px top -160px / 460px,
    url(../img/mandala.svg) no-repeat left -200px bottom -200px / 520px,
    linear-gradient(180deg, #f9e6c2, #f6dfb3);
}
.section--ivory::before { content: ""; position: absolute; inset: 0; background: url(../img/kolam.svg); opacity: .6; pointer-events: none; }
.section--ivory > .container { position: relative; }
.section--maroon {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(232, 137, 42, .25), transparent 70%),
    url(../img/mandala.svg) no-repeat 50% 50% / 900px,
    linear-gradient(180deg, #5b0f1c, #2e050c);
  background-blend-mode: normal, soft-light, normal;
}

/* ---------- Hero: sanctum glow with rotating sun rays ---------- */
.hero {
  background:
    radial-gradient(55% 70% at 78% 45%, rgba(246, 199, 94, .38) 0%, rgba(232, 137, 42, .18) 30%, transparent 62%),
    radial-gradient(120% 100% at 80% 40%, #8e1d2c 0%, #5b0f1c 45%, #2e050c 100%);
}
.hero::before {
  content: ""; position: absolute; left: 78%; top: 46%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(246, 215, 126, .10) 0deg 4deg, transparent 4deg 12deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%); mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
  animation: rays-spin 160s linear infinite;
}
@media (max-width: 959px) { .hero::before { left: 50%; top: 72%; } }
@keyframes rays-spin { to { transform: rotate(360deg); } }
.hero__geo { background: url(../img/kolam.svg) repeat; opacity: .55; filter: brightness(2.2); }
.hero::after { height: 0; }
.hero__title { color: #fff3d6; text-shadow: 0 2px 30px rgba(246, 199, 94, .35); }
.hero__tamil { color: var(--gold-bright); }
.hero__portrait picture { box-shadow: 0 0 0 6px rgba(46, 5, 12, .4), 0 0 0 8px var(--gold-2), 0 0 60px 10px rgba(246, 199, 94, .45), 0 30px 60px rgba(0, 0, 0, .45); }
.hero__portrait::before { inset: -22px; border: 2px solid rgba(246, 215, 126, .75); box-shadow: 0 0 22px rgba(246, 215, 126, .35); }
.hero__name { background: linear-gradient(180deg, #fff8ea, #f6e1b6); border-color: var(--gold-2); }
.ck-line { stroke: #f0cf7e; }
.ck-ta { fill: #ffe3a3; }
.chakra__wheel { opacity: .8; }
.hero .gopuram-band { position: absolute; left: 0; right: 0; bottom: 0; }

/* Gopuram skyline, used at the bottom of the hero and above the footer */
.gopuram-band { height: 120px; background: url(../img/gopuram.svg) no-repeat center bottom / auto 120px; pointer-events: none; }

/* ---------- Service cards: framed temple art ---------- */
.svc-grid { gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.svc-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.svc-card {
  padding: 0; border: 1px solid var(--line-2); border-radius: 22px;
  background: linear-gradient(180deg, #fffaf0, #fbedd2);
  box-shadow: inset 0 0 0 5px #fffaf0, inset 0 0 0 6px rgba(201, 150, 47, .45), var(--shadow-1);
}
.svc-card::before { height: 4px; background: linear-gradient(90deg, var(--kumkum), var(--gold-bright), var(--saffron)); z-index: 3; }
.svc-card::after { display: none; }
.svc-card--ceremony { background: linear-gradient(180deg, #fff6e6, #f9e2c0); }
.svc-card:hover, .svc-card:focus-within { transform: translateY(-6px); box-shadow: inset 0 0 0 5px #fffaf0, inset 0 0 0 6px var(--gold-2), var(--glow), var(--shadow-2); }
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 24px 22px; }
.svc-card__media {
  position: relative; margin: 12px 12px 0; aspect-ratio: 4 / 3.4; max-height: 380px; overflow: hidden;
  border-radius: 999px 999px 12px 12px / 180px 180px 12px 12px;  /* temple arch */
  background: var(--temple-deep);
  box-shadow: 0 0 0 2px var(--gold-2), 0 0 0 6px #fff6e2, 0 0 0 7px rgba(201, 150, 47, .5);
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(1.08) contrast(1.03); }
.svc-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 5, 12, .55)), radial-gradient(80% 60% at 50% 0%, rgba(246, 215, 126, .25), transparent 70%);
}
.svc-card:hover .svc-card__media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.04); }
.svc-card__kind { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.svc-card--img .svc-card__body { padding-top: 34px; text-align: center; align-items: center; }
.svc-card--img .svc-card__icon {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%); margin: 0; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3cc, #f0c45e 60%, #c9962f); color: var(--temple); box-shadow: 0 0 0 3px #fffaf0, 0 0 0 4px var(--gold-2), 0 6px 16px rgba(122, 64, 10, .35);
}
.svc-card--img .svc-card__icon svg { width: 28px; height: 28px; }
.svc-card--img .svc-card__meta { justify-content: center; }
.svc-card__icon { background: radial-gradient(circle at 35% 30%, #fff3cc, #f0d28c); color: var(--temple); border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-2); }
.svc-card__en { color: var(--temple); font-size: 1.4rem; }
.svc-card__ta { color: var(--maroon); }
.svc-card__summary { color: var(--ink-2); }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fffaf0; color: var(--maroon); transition: background .25s, color .25s, border-color .25s; }
.svc-card:hover .svc-card__more { background: var(--maroon); border-color: var(--maroon); color: #fff4dc; }
.chip { background: #fff3da; border-color: var(--line); color: var(--ink-2); }
.chip--ceremony { background: linear-gradient(180deg, #fde2b9, #f6c98c); border-color: #e2a35a; color: #6e2a08; }
.chip--consultation { background: linear-gradient(180deg, #fbe9ef, #f3cfd9); border-color: #e0a5b5; color: #6a1530; }

/* ---------- Rasi chart band ---------- */
.rasi-band {
  color: #f6e4c6; overflow: hidden;
  background: radial-gradient(50% 60% at 70% 50%, rgba(246, 199, 94, .25), transparent 70%), linear-gradient(135deg, #2e050c 0%, #5b0f1c 55%, #3d0912 100%);
}
.rasi-band__mandala { position: absolute; right: -180px; top: 50%; width: 900px; height: 900px; margin-top: -450px; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .22; animation: rays-spin 240s linear infinite; pointer-events: none; }
.rasi-band__grid { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .rasi-band__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.rasi-band .section-title { color: #fff1d0; }
.rasi-band__lead { color: #ecd7b6; font-size: 1.06rem; max-width: 52ch; margin: 18px 0 28px; }
.rasi-chart {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 0; aspect-ratio: 1; width: min(100%, 560px); margin: 0 auto;
  border: 3px solid var(--gold-2); background: rgba(46, 5, 12, .55);
  box-shadow: 0 0 0 6px rgba(46, 5, 12, .6), 0 0 0 8px rgba(246, 215, 126, .6), 0 0 60px rgba(246, 199, 94, .35);
}
.rasi-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 6px;
  border: 1px solid rgba(246, 215, 126, .45); transition: background .3s, box-shadow .3s; min-width: 0;
}
.rasi-cell:hover { background: rgba(246, 199, 94, .16); box-shadow: inset 0 0 24px rgba(246, 215, 126, .35); }
.rasi-cell__glyph { font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", serif; font-size: clamp(1.3rem, 3.4vw, 2rem); line-height: 1; color: var(--gold-bright); text-shadow: 0 0 12px rgba(246, 215, 126, .6); }
.rasi-cell__ta { font-family: var(--f-tamil-display); font-weight: 700; font-size: clamp(.68rem, 1.7vw, .95rem); color: #fff0cc; line-height: 1.3; overflow-wrap: anywhere; }
.rasi-cell__en { font-size: clamp(.6rem, 1.3vw, .76rem); letter-spacing: .08em; text-transform: uppercase; color: #d9b98a; }
.rasi-chart__center {
  grid-row: 2 / 4; grid-column: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(246, 215, 126, .45); position: relative; overflow: hidden;
  background: radial-gradient(circle, rgba(246, 199, 94, .35), rgba(46, 5, 12, .2) 70%);
}
.rasi-chart__center::before { content: ""; position: absolute; inset: 8%; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .55; animation: rays-spin 90s linear infinite; }
.rasi-chart__om { position: relative; font-size: clamp(3rem, 9vw, 5.2rem); line-height: 1; color: var(--gold-bright); text-shadow: 0 0 30px rgba(246, 199, 94, .9), 0 0 4px #fff3cc; }
.rasi-chart__label { position: relative; font-family: var(--f-tamil-display); font-weight: 700; color: #fff0cc; letter-spacing: .1em; margin-top: 6px; }

/* ---------- Intro / about ---------- */
.intro__photo img, .about__photo img { box-shadow: 0 0 0 4px #fff6e2, 0 0 0 6px var(--gold-2), var(--shadow-2); }
.intro__photo::after { border: 2px solid var(--gold-2); inset: 18px 18px -18px -18px; background: url(../img/kolam.svg); }
.facts { border-color: var(--line-2); }
.facts dt { color: var(--kumkum); }

/* ---------- Expect (maroon) ---------- */
.expect__list { background: rgba(246, 215, 126, .35); border-color: rgba(246, 215, 126, .5); border-radius: 22px; box-shadow: 0 0 50px rgba(246, 199, 94, .15); }
.expect__item { background: linear-gradient(180deg, rgba(91, 15, 28, .92), rgba(46, 5, 12, .95)); }
.expect__num { color: var(--gold-bright); opacity: .9; text-shadow: 0 0 20px rgba(246, 199, 94, .6); }

/* ---------- Steps ---------- */
.steps__item, .post-card, .contact-tile, .address-card, .online-card, .aside-card, .book-step, .done__card {
  background: linear-gradient(180deg, #fffaf0, #fcf0d8);
  border-color: var(--line-2);
  box-shadow: inset 0 0 0 4px #fffaf0, inset 0 0 0 5px rgba(201, 150, 47, .35), var(--shadow-1);
}
.steps__item { text-align: center; padding-top: 34px; }
.steps__icon { margin: 0 auto; width: 64px; height: 64px; background: radial-gradient(circle at 35% 30%, #fff3cc, #f0c45e 60%, #c9962f); border: 0; box-shadow: 0 0 0 3px #fffaf0, 0 0 0 4px var(--gold-2), 0 0 24px rgba(246, 199, 94, .55); color: var(--temple); }
.steps__icon svg { width: 30px; height: 30px; }
.steps__n { color: var(--kumkum); }

/* ---------- Post cards ---------- */
.post-card { border-radius: 22px; }
.post-card__media { margin: 10px 10px 0; border-radius: 14px; box-shadow: 0 0 0 1px var(--gold-2); }
.post-card:hover, .post-card:focus-within { box-shadow: inset 0 0 0 4px #fffaf0, inset 0 0 0 5px var(--gold-2), var(--glow), var(--shadow-2); }
.post-card__cat { color: var(--kumkum); }

/* ---------- FAQ ---------- */
.faq__item summary { color: var(--temple); }
.faq__item summary::after { border-color: var(--kumkum); }
.faq__item[open] { background: rgba(255, 250, 240, .6); }

/* ---------- Contact ---------- */
.contact-band { background: radial-gradient(60% 80% at 100% 0%, rgba(246, 199, 94, .25), transparent 60%), linear-gradient(180deg, #fbf0dc, #f6dfb3); }
.contact-tile > svg { background: radial-gradient(circle at 35% 30%, #a3263a, #5b0f1c); color: var(--gold-bright); box-shadow: 0 0 0 2px var(--gold-2); }
.contact-tile__label { color: var(--kumkum); }
.address-card { background: url(../img/mandala.svg) no-repeat right -120px bottom -120px / 320px, linear-gradient(180deg, #fffaf0, #fcf0d8); }

/* ---------- Inner page head ---------- */
.page-head {
  background:
    radial-gradient(45% 90% at 85% 50%, rgba(246, 199, 94, .3), transparent 70%),
    linear-gradient(135deg, #2e050c 0%, #5b0f1c 60%, #7a1626 100%);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.page-head__geo { background: url(../img/kolam.svg); filter: brightness(2.2); opacity: .5; }
.page-head::after { right: -140px; width: 520px; height: 520px; border: 0; box-shadow: none; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .35; animation: rays-spin 200s linear infinite; }
.page-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: url(../img/gopuram.svg) no-repeat center bottom / auto 90px; opacity: .9; z-index: 1; }
.page-head__title { color: #fff1d0; text-shadow: 0 0 30px rgba(246, 199, 94, .35); }
.breadcrumb a { color: var(--gold-bright); }

/* ---------- Service detail: framed deity image ---------- */
.divine-frame { margin: 0 0 24px; }
.divine-frame picture { display: block; border-radius: 999px 999px 18px 18px / 200px 200px 18px 18px; overflow: hidden; background: var(--temple-deep);
  box-shadow: 0 0 0 3px var(--gold-2), 0 0 0 9px #fff6e2, 0 0 0 10px rgba(201, 150, 47, .6), 0 0 50px rgba(246, 199, 94, .45), var(--shadow-2); }
.divine-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.divine-credit { margin-top: 16px; font-size: .74rem; color: var(--muted); text-align: center; line-height: 1.5; }
.divine-credit a { color: var(--muted); }
.notice--gold { background: linear-gradient(90deg, #fbe7bf, #fff6e4); border-color: var(--saffron); }

/* ---------- Blog tools / forms ---------- */
.cat-filter a { background: #fffaf0; border-color: var(--line-2); }
.cat-filter a[aria-current] { background: linear-gradient(180deg, #a3263a, #6e1322); border-color: #6e1322; color: #fff4dc; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea, .blog-search input { background: #fffdf6; border-color: var(--line-2); }
.book-step__n { background: radial-gradient(circle at 35% 30%, #a3263a, #5b0f1c); color: var(--gold-bright); box-shadow: 0 0 0 2px var(--gold-2); }
.choice input:checked + span, .slot input:checked + span { background: linear-gradient(180deg, #a3263a, #6e1322); border-color: #6e1322; color: #fff4dc; }
.article__head { background: radial-gradient(60% 100% at 50% 0%, rgba(246, 199, 94, .3), transparent 70%), linear-gradient(180deg, #f9e6c2, transparent); }

/* ---------- Footer with gopuram skyline ---------- */
.site-footer { display: flow-root; background: radial-gradient(60% 50% at 50% 0%, rgba(232, 137, 42, .22), transparent 70%), linear-gradient(180deg, #2e050c, #1c0307); color: #e8d3b0; }
.footer-ornament { height: 120px; margin-top: -119px; background: url(../img/gopuram.svg) no-repeat center bottom / auto 120px; border: 0; opacity: 1; position: relative; }
.footer-brand__ta, .footer-brand__en { color: var(--gold-bright); text-shadow: 0 0 20px rgba(246, 199, 94, .35); }
.footer-h { color: var(--gold-bright); }
.footer-grid { position: relative; }
.footer-grid::before { content: ""; position: absolute; right: 0; top: 10px; width: 260px; height: 260px; background: url(../img/mandala.svg) no-repeat center / contain; opacity: .12; pointer-events: none; }
.footer-ornament { z-index: 2; }
main > section:last-child { padding-bottom: calc(clamp(56px, 8vw, 104px) + 60px); }

/* ---------- Mobile call bar ---------- */
@media (max-width: 700px) {
  .mobile-cta { background: linear-gradient(180deg, #5e0f1d, #3d0912); border-top: 1px solid var(--gold-2); }
  .mobile-cta__btn { color: var(--gold-soft); border-color: rgba(240, 210, 140, .45); }
  .mobile-cta__btn--primary { background: linear-gradient(180deg, #fbe3a1, #c9962f); color: var(--temple-deep); border-color: #b9862a; }
  .mobile-cta__btn--primary:hover { color: var(--temple-deep); }
  .svc-card__media { aspect-ratio: 4 / 3.6; }
  .gopuram-band, .footer-ornament { background-size: auto 80px; }
  .footer-ornament { height: 80px; margin-top: -79px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .rasi-band__mandala, .rasi-chart__center::before, .page-head::after { animation: none !important; }
}
@media print { .site-header::after, .footer-ornament { display: none !important; } }

/* Placement & focus helpers (no inline styles: CSP) */
.rasi-r1 { grid-row: 1; } .rasi-r2 { grid-row: 2; } .rasi-r3 { grid-row: 3; } .rasi-r4 { grid-row: 4; }
.rasi-c1 { grid-column: 1; } .rasi-c2 { grid-column: 2; } .rasi-c3 { grid-column: 3; } .rasi-c4 { grid-column: 4; }
img.focus-top { object-position: 50% 18%; } img.focus-upper { object-position: 50% 30%; } img.focus-mid { object-position: 50% 45%; } img.focus-low { object-position: 50% 62%; }
@media (max-width: 959px) { .divine-frame { max-width: 420px; margin: 0 auto 32px; } }

/* FAQ: inner spacing so text never touches the edge */
.faq__item summary { padding: 20px 56px 20px 22px; }
.faq__item summary::after { right: 24px; }
.faq__item p { padding: 0 22px; margin-bottom: 24px; }
.faq__item[open] { background: rgba(255, 250, 240, .75); border-radius: 12px; box-shadow: inset 3px 0 0 var(--gold-2); }
@media (max-width: 600px) { .faq__item summary { padding-left: 16px; padding-right: 48px; } .faq__item summary::after { right: 18px; } .faq__item p { padding: 0 16px; } }

/* ==========================================================================
   Typography — international type system
   Inter (UI & body) · Playfair Display (headings) · Cinzel (brand)
   Noto Sans Tamil (Tamil body) · Noto Serif Tamil (Tamil headings)
   ========================================================================== */
:root {
  --f-body: "Inter", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Playfair Display", "Noto Serif Tamil", Georgia, "Times New Roman", serif;
  --f-tamil-display: "Noto Serif Tamil", "Playfair Display", Georgia, serif;
  --f-brand: "Cinzel", "Playfair Display", Georgia, serif;
}
html { font-size: 100%; }
body { font-family: var(--f-body); font-size: 1rem; line-height: 1.7; letter-spacing: -.003em; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
.lang-ta body, body.lang-ta { font-size: 1rem; line-height: 1.85; letter-spacing: 0; }
p { max-width: 72ch; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
: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; letter-spacing: 0; line-height: 1.45; }

/* Brand & navigation */
.brand__en { font-family: var(--f-brand); font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; }
.brand__ta { font-family: var(--f-tamil-display); font-size: 1.08rem; }
.site-nav__list a { font-size: .95rem; font-weight: 500; letter-spacing: .005em; }
.lang-ta .site-nav__list a { font-size: .92rem; }
.btn { font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em; }
.btn--lg { font-size: 1rem; }
.lang-switch, .chip { font-family: var(--f-body); }

/* Eyebrows */
.eyebrow { font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; }
:lang(ta) .eyebrow, .eyebrow:lang(ta) { font-size: .85rem; font-weight: 600; letter-spacing: .01em; }

/* Display scale */
.hero__title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.12; font-weight: 600; letter-spacing: -.015em; }
.lang-ta .hero__title { font-size: clamp(1.65rem, 3.2vw, 2.45rem); line-height: 1.4; }
.hero__tamil { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.lang-ta .hero__tamil { font-family: var(--f-tamil-display); font-style: normal; }
.hero__lead, .section-lead, .page-head__lead, .rasi-band__lead { font-size: clamp(1rem, 1.2vw, 1.075rem); line-height: 1.75; }
.section-title { font-size: clamp(1.85rem, 3.1vw, 2.55rem); line-height: 1.18; }
:lang(ta) .section-title, .section-title:lang(ta) { font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.45; }
.page-head__title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; }
.lang-ta .page-head__title, .page-head__title:lang(ta) { font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.4; }
.group-title { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

/* Cards */
.svc-card__en { font-family: var(--f-display); font-size: 1.22rem; font-weight: 600; line-height: 1.3; }
.svc-card__ta { font-size: 1.06rem; line-height: 1.5; }
.svc-card__summary, .post-card__excerpt { font-size: .94rem; line-height: 1.65; }
.lang-ta .svc-card__summary, .lang-ta .post-card__excerpt { font-size: .92rem; line-height: 1.75; }
.svc-card__more, .post-card__more { font-size: .9rem; }
.chip { font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.post-card__title { font-size: 1.28rem; line-height: 1.3; }
.post-card__title:lang(ta) { font-size: 1.05rem; line-height: 1.5; }
.post-card--lead .post-card__title { font-size: 1.75rem; }
.expect__item h3, .steps__item h3 { font-size: 1.3rem; }
.lang-ta .expect__item h3, .lang-ta .steps__item h3 { font-size: 1.05rem; }
.expect__num { font-family: var(--f-display); font-size: 2.6rem; }
.steps__n { font-family: var(--f-body); font-size: .8rem; letter-spacing: .2em; font-weight: 700; }
.faq__item summary { font-size: 1.02rem; font-weight: 600; font-family: var(--f-body); }
.lang-ta .faq__item summary { font-size: .98rem; }
.prose { font-size: 1rem; }
.prose--article { font-size: 1.075rem; line-height: 1.8; }
.prose blockquote { font-family: var(--f-display); font-size: 1.2rem; }
.aside-card__en { font-family: var(--f-display); font-size: 1.25rem; }
.contact-tile__value { font-size: 1.02rem; }
.contact-tile__label, .facts dt, .footer-h { font-family: var(--f-body); font-size: .72rem; letter-spacing: .16em; font-weight: 600; }
.lang-ta .footer-h, .lang-ta .contact-tile__label { font-size: .86rem; letter-spacing: .01em; }
.footer-brand__en { font-family: var(--f-brand); font-size: 1.25rem; letter-spacing: .1em; }
.book-step > legend { font-family: var(--f-display); font-size: 1.3rem; }
.field > label, .field > legend { font-size: .94rem; }
.rasi-chart__om { font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", serif; }
.rasi-cell__en { font-family: var(--f-body); font-size: clamp(.56rem, 1.1vw, .68rem); letter-spacing: .12em; }
.error-page__code, .done__ref { font-family: var(--f-display); }
@media (max-width: 600px) {
  body { font-size: .97rem; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .section-title { font-size: clamp(1.6rem, 7vw, 2rem); }
}
