/* Hindu wedding website - Mangal Mall
   Palette: kumkum maroon, antique gold, ivory, a little mango-leaf green. */
:root {
  --maroon: #5a0f1e;
  --maroon-2: #7a1a2d;
  --kumkum: #9b1c31;
  --gold: #b8893b;
  --gold-soft: #d9b86a;
  --ivory: #fbf5ea;
  --cream: #f4e9d5;
  --ink: #3a2a22;
  --muted: #7a6657;
  --leaf: #3b5d3f;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Nirmala UI", serif;
  --max: 1120px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:lang(hi) { font-family: var(--deva); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--maroon); color: #fff; padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 760px); }
.center { text-align: center; }

/* ---------------------------------------------------------------- navigation */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(90, 15, 30, .96); box-shadow: 0 1px 0 rgba(217, 184, 106, .35); backdrop-filter: blur(6px); }
.nav { height: var(--nav-h); width: min(100% - 2rem, 1240px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: #fff; text-decoration: none; letter-spacing: .04em; }
.brand span span { color: var(--gold-soft); font-style: italic; padding: 0 .1em; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.9rem; }
.menu a { color: #f6ead2; text-decoration: none; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem 0; position: relative; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover::after { transform: scaleX(1); }
.menu-cta { border: 1px solid var(--gold-soft); padding: .5rem 1.1rem !important; border-radius: 2px; }
.menu-cta:hover { background: var(--gold-soft); color: var(--maroon) !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fbeccd; overflow: hidden;
  background-color: #5a0f1e; background-image: radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 55%, rgba(0,0,0,.36) 100%); padding: 10.5rem 1.25rem 5rem; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .7  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-toran { position: absolute; top: var(--nav-h); left: 0; right: 0; height: 96px; background: url("../images/toran.svg") repeat-x top left / auto 96px; z-index: 1; pointer-events: none; }
.hero-mandala { position: absolute; width: min(135vw, 1000px); left: 50%; top: 50%; translate: -50% -50%; opacity: .11; z-index: -1; animation: spin 240s linear infinite; pointer-events: none; }
@keyframes spin { to { rotate: 360deg; } }
.hero-inner { position: relative; max-width: 900px; }
.invocation { font-family: var(--deva); font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--gold-soft); letter-spacing: .05em; }
.kicker { margin-top: 1.6rem; font-size: .85rem; letter-spacing: .32em; text-transform: uppercase; color: #e8d3a6; }
#names { margin-top: .8rem; font-family: var(--serif); font-weight: 500; line-height: 1.02; color: #fff; font-size: clamp(3.2rem, 8.6vw, 6.6rem); letter-spacing: -.01em; }
#names { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .22em; }
#names .amp { font-style: italic; font-weight: 400; color: var(--gold-soft); font-size: .62em; }
.hero-line { margin-top: 1.1rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.7rem); color: #ecd9ae; }
.hero-date { margin-top: 1.4rem; font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.15rem); font-weight: 500; color: #fff; letter-spacing: .04em; }
.hero-place { margin-top: .35rem; font-size: .95rem; color: #e8d3a6; letter-spacing: .04em; }

.count { margin: 2.4rem auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: .75rem; justify-content: center; }
.count div { border: 1px solid rgba(217, 184, 106, .5); padding: .8rem .25rem .6rem; border-radius: 2px; background: rgba(58, 8, 18, .35); }
.count b { display: block; font: 500 clamp(1.8rem, 5vw, 2.5rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.count div > span { display: block; margin-top: .35rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.hero-actions { margin-top: 2.4rem; display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }

.scroll-hint { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid rgba(217, 184, 106, .7); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-soft); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-block; font: 500 .88rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 1rem 1.7rem; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-soft); color: var(--maroon); border-color: var(--gold-soft); }
.btn-gold:hover { background: #ecd08a; border-color: #ecd08a; }
.btn-ghost { color: #fbeccd; border-color: rgba(217, 184, 106, .7); }
.btn-ghost:hover { background: rgba(217, 184, 106, .15); }
.btn-maroon { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.btn-maroon:hover { background: var(--maroon-2); }
.btn-ghost-dark { color: var(--maroon); border-color: var(--maroon); }
.btn-ghost-dark:hover { background: var(--maroon); color: #fff; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section.tint { background: var(--cream); }
.section.dark { background: var(--maroon); color: #f6ead2; }
.section-head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.eyebrow { font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.dark .eyebrow { color: var(--gold-soft); }
.section-head h2 { margin-top: .7rem; font: 500 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); color: var(--maroon); }
.dark .section-head h2 { color: #fff; }
.sub { margin-top: .9rem; color: var(--muted); }
.dark .sub { color: #e2cfa6; }
.divider { margin: 1.8rem auto; }

.invite { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.shloka { margin-top: 1.1rem; font-size: clamp(1.2rem, 2.8vw, 1.55rem); line-height: 1.9; color: var(--maroon); }
.shloka-en { margin-top: .9rem; font: italic 400 1.2rem/1.5 var(--serif); color: var(--muted); }
.lead { font: 400 clamp(1.3rem, 2.6vw, 1.6rem)/1.65 var(--serif); color: var(--ink); }

/* ---------------------------------------------------------------- couple */
.couple { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 4vw, 3.5rem); align-items: start; }
.person { text-align: center; }
.arch { margin: 0 auto; width: min(100%, 300px); aspect-ratio: 600 / 760; border-radius: 999px 999px 8px 8px; overflow: hidden; position: relative; background: var(--ivory);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--gold), 0 18px 40px -22px rgba(90, 15, 30, .5); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.role { margin-top: 1.7rem; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.person h3 { margin-top: .35rem; font: 500 clamp(1.9rem, 3.4vw, 2.4rem)/1.15 var(--serif); color: var(--maroon); }
.about { margin: .9rem auto 0; max-width: 34ch; color: var(--muted); }
.parents { margin-top: 1.1rem; font-size: .95rem; line-height: 1.6; color: var(--ink); padding-top: 1rem; position: relative; }
.parents::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 1px; margin-left: -23px; background: var(--gold); }
.couple-mid { align-self: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding-top: 4rem; }
.couple-mid .line { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); }
.couple-mid .line:first-child { background: linear-gradient(transparent, var(--gold)); }
.couple-mid .diya { width: 22px; height: 22px; border: 1px solid var(--gold); transform: rotate(45deg); position: relative; }
.couple-mid .diya::after { content: ""; position: absolute; inset: 5px; background: var(--gold); }

/* ---------------------------------------------------------------- story */
.story { list-style: none; margin: 0; padding: 0 0 0 2.2rem; position: relative; }
.story::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--gold); opacity: .6; }
.story li { position: relative; padding-bottom: 2.6rem; }
.story li:last-child { padding-bottom: 0; }
.story li::before { content: ""; position: absolute; left: -2.2rem; top: .55rem; width: 15px; height: 15px; background: var(--ivory); border: 1px solid var(--gold); transform: rotate(45deg); }
.story li:last-child::before { background: var(--gold); }
.when { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.story h3 { margin: .25rem 0 .4rem; font: 500 1.8rem/1.2 var(--serif); color: var(--maroon); }
.story p { color: var(--muted); }

/* ---------------------------------------------------------------- events */
.days { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.day { border: 1px solid rgba(217, 184, 106, .4); padding: clamp(1.5rem, 3.5vw, 2.6rem); position: relative; }
.day::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(217, 184, 106, .18); pointer-events: none; }
.day-title { font: 500 1.7rem/1.2 var(--serif); color: #fff; margin-bottom: 1.8rem; }
.day-title .dow { display: block; font: 500 .78rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .2rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid rgba(217, 184, 106, .22); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.medal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-soft); color: var(--gold-soft); font-size: 1.35rem; line-height: 1; box-shadow: inset 0 0 0 3px var(--maroon), inset 0 0 0 4px rgba(217, 184, 106, .45); }
.timeline time { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; }
.timeline h4 { margin: .15rem 0 .25rem; font: 500 1.45rem/1.25 var(--serif); color: #fff; }
.timeline p { font-size: .98rem; color: #e2cfa6; line-height: 1.6; }

/* ---------------------------------------------------------------- venue */
.venue { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.venue-card { background: var(--cream); padding: clamp(1.6rem, 3.5vw, 2.6rem); border-top: 3px solid var(--gold); }
.venue-card h3 { font: 500 clamp(1.7rem, 3vw, 2.2rem)/1.2 var(--serif); color: var(--maroon); }
.venue-card address { font-style: normal; margin: 1rem 0; color: var(--ink); }
.venue-card .note { color: var(--muted); font-size: .95rem; }
.venue-actions { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.venue-info { display: grid; gap: 1.8rem; }
.venue-info h4 { font: 500 1.5rem/1.2 var(--serif); color: var(--maroon); margin-bottom: .4rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(184, 137, 59, .45); }
.venue-info p { margin-top: .5rem; color: var(--muted); font-size: .98rem; }
.venue-info strong { color: var(--ink); font-weight: 500; }
.small { font-size: .88rem !important; }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: .8rem; }
.g { overflow: hidden; background: var(--ivory); border: 1px solid rgba(184, 137, 59, .5); display: block; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.05); }
.g1 { grid-row: span 2; }
.g6 { grid-column: span 3; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30, 6, 12, .93); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; }
.lightbox figcaption { margin-top: .8rem; color: #e8d3a6; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: .3rem .6rem; }

/* ---------------------------------------------------------------- rsvp */
.rsvp { background: var(--ivory); }
.rsvp-form { background: #fff; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid rgba(184, 137, 59, .55); box-shadow: 0 24px 50px -34px rgba(90, 15, 30, .55); display: grid; gap: 1.3rem; position: relative; }
.rsvp-form::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184, 137, 59, .25); pointer-events: none; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend, legend { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); font-weight: 500; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], select, textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--ivory); border: 1px solid #d8c5a3; border-radius: 2px; padding: .85rem .9rem; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(90, 15, 30, .12); background: #fff; }
.field.invalid input { border-color: #b3261e; }
.err { color: #b3261e; font-size: .85rem; min-height: 0; }
.err:empty { display: none; }
.choice { gap: .55rem; }
.radio, .check { display: flex; align-items: center; gap: .65rem; cursor: pointer; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.radio input, .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--maroon); flex: none; }
.fine { font-size: .88rem; color: var(--muted); text-align: center; }
.fine a { color: var(--maroon); }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--maroon); color: #f6ead2; padding: 0 0 3rem; text-align: center; }
.footer-border { height: 28px; background: var(--maroon-2) url("../images/kolam-border.svg") repeat-x center / auto 24px; border-bottom: 1px solid rgba(217, 184, 106, .35); margin-bottom: 3.2rem; }
.foot-names { margin-top: .9rem; font: 500 clamp(2.2rem, 6vw, 3.6rem)/1.1 var(--serif); color: #fff; }
.foot-names i { color: var(--gold-soft); font-weight: 400; }
.foot-date { margin-top: .5rem; letter-spacing: .24em; text-transform: uppercase; font-size: .85rem; color: var(--gold-soft); }
.hash { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: #ecd9ae; }
.thanks { margin: 1rem auto 0; max-width: 46ch; color: #e2cfa6; }
.credit { margin-top: 2.2rem; font-size: .8rem; color: #c9b283; letter-spacing: .08em; }
.credit a { color: var(--gold-soft); }

/* ---------------------------------------------------------------- reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .couple { grid-template-columns: 1fr; gap: 2.5rem; }
  .couple-mid { flex-direction: row; padding: 0; }
  .couple-mid .line { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)) !important; }
  .couple-mid .line:last-child { background: linear-gradient(90deg, var(--gold), transparent) !important; }
  .days, .venue { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 200px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .menu { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--maroon); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(217, 184, 106, .4);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .menu.open { transform: none; visibility: visible; }
  .menu li { border-bottom: 1px solid rgba(217, 184, 106, .18); }
  .menu a { display: block; padding: 1rem 0; }
  .menu-cta { border: 0; margin-top: .6rem; text-align: center; background: var(--gold-soft); color: var(--maroon) !important; border-radius: 2px; padding: .9rem !important; }
  .site-header { background: rgba(90, 15, 30, .96); }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero { padding-top: 8.8rem; }
  .hero-toran { height: 72px; background-size: auto 72px; }
  .count { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g6 { grid-column: span 2; }
  .btn { width: 100%; text-align: center; }
  .hero-actions, .venue-actions { flex-direction: column; }
  .timeline li { grid-template-columns: 44px 1fr; gap: .85rem; }
  .medal { width: 44px; height: 44px; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mandala, .scroll-hint span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .scroll-hint, .hero-toran, .lightbox, .rsvp-form { display: none !important; }
  .hero { min-height: auto; }
}

/* Cormorant defaults to old-style figures; the shorthand `font` resets the setting, so say it again. */
.count b, .day-title, h1, h2, h3, h4 { font-variant-numeric: lining-nums; }

/* ---------------------------------------------------------------- two languages: English / Tamil */
html[data-lang="en"] .ta, html[data-lang="ta"] .en { display: none !important; }

.lang-li { display: flex; align-items: center; }
.lang { display: inline-flex; border: 1px solid rgba(217, 184, 106, .7); border-radius: 999px; padding: 2px; }
.lang button { font: 500 .78rem/1 var(--sans); letter-spacing: .08em; color: #f6ead2; background: none; border: 0; border-radius: 999px; padding: .5rem .8rem; cursor: pointer; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--gold-soft); color: var(--maroon); }
.lang button:not([aria-pressed="true"]):hover { background: rgba(217, 184, 106, .18); }
.lang button[lang="ta"] { font-family: "Noto Sans Tamil", var(--sans); letter-spacing: 0; }

/* Tamil: its own fonts, roomier lines (Tamil glyphs are taller), no wide letter-spacing or capitals */
html[data-lang="ta"] {
  --sans: "Noto Sans Tamil", "Jost", system-ui, sans-serif;
  --serif: "Noto Serif Tamil", "Cormorant Garamond", Georgia, serif;
}
html[data-lang="ta"] body { line-height: 1.85; }
html[data-lang="ta"] h1, html[data-lang="ta"] h2, html[data-lang="ta"] h3, html[data-lang="ta"] h4 { line-height: 1.35; }
html[data-lang="ta"] #names { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.25; font-weight: 500; }
html[data-lang="ta"] .section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
html[data-lang="ta"] .lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.9; }
html[data-lang="ta"] .eyebrow, html[data-lang="ta"] .kicker, html[data-lang="ta"] .role, html[data-lang="ta"] .when,
html[data-lang="ta"] .count span, html[data-lang="ta"] .timeline time, html[data-lang="ta"] .btn, html[data-lang="ta"] .menu a,
html[data-lang="ta"] .field > label, html[data-lang="ta"] legend, html[data-lang="ta"] .foot-date, html[data-lang="ta"] .dow {
  letter-spacing: .03em; text-transform: none;
}
html[data-lang="ta"] .menu { gap: 1.3rem; }
html[data-lang="ta"] .menu a { font-size: .85rem; }
html[data-lang="ta"] .kicker { font-size: .95rem; }
html[data-lang="ta"] .eyebrow { font-size: .95rem; }
html[data-lang="ta"] .hero-line { font-style: normal; }
html[data-lang="ta"] .shloka-en, html[data-lang="ta"] .hash { font-style: normal; }
html[data-lang="ta"] .btn { font-size: .92rem; line-height: 1.3; }
html[data-lang="ta"] .medal .ta { font-family: var(--serif); font-size: 1.15rem; }
html[data-lang="ta"] .timeline h4 { font-size: 1.3rem; }
html[data-lang="ta"] .invocation { font-family: var(--serif); }
html[data-lang="ta"] .brand { font-size: 1.5rem; }

@media (max-width: 820px) {
  .lang-li { padding: .9rem 0 .4rem; justify-content: center; }
  .menu li.lang-li { border-bottom: 0; }
  .lang button { padding: .6rem 1.1rem; }
  html[data-lang="ta"] .menu a { font-size: .95rem; }
}
@media (max-width: 520px) {
  html[data-lang="ta"] #names { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}
.foot-names i { margin: 0 .22em; }
html[data-lang="ta"] .when, html[data-lang="ta"] .role, html[data-lang="ta"] .timeline time, html[data-lang="ta"] .count span, html[data-lang="ta"] .dow { font-size: .92rem; }
html[data-lang="ta"] .count span { font-size: .8rem; }
html[data-lang="ta"] .eyebrow { font-size: 1.02rem; }
