/* mrajesh.com stylesheet (mixed aesthetic: LocalCen v6 editorial structure + mrajesh.com obsidian/bronze-gold identity)
   Part 1: Base theme, warm ivory (light) & obsidian-gold (dark) tokens, typography, header/drawer/footer, cards, showcases, contact, legal, consent
   Part 2: Home hero portrait frame, discipline baseline, editorial quote/pillars & statement blocks
   Part 3: 7-language font isolation & Indic typography (Inter + Lora for Latin, bundled SIL OFL families for te, hi, kn, ta, ml, gu)
   Part 4: Cookie-backed PHP language form buttons */

@font-face { font-family: Inter; src: url('fonts/inter-latin.woff2?v=3100e775e8') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lora; src: url('fonts/lora-normal.woff2?v=ddb8c66035') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lora; src: url('fonts/lora-italic.woff2?v=d824d807d4') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Tokens: Light (Warm Ivory & Burnished Bronze) ----------------------------------------------------------- */
:root {
  --bg: #FAF8F4; --surface: #FFFFFF; --tint: #F2EDE3; --surface-2: #EAE3D5;
  --ink: #171410; --muted: #463F35; --subtle: #5C5447;
  --line: #E2DACB; --line-strong: #CCC0AA; --field-line: #8F826D;
  --accent: #7A5C32; --accent-ink: #76582E; --accent-icon: #8A6A3F; --accent-display: #85663C; --accent-soft: #F3ECE0; --on-accent: #FFFFFF;
  --nav-bg: #0A0A0C; --nav-ink: #F5F2EB; --nav-gold: #CFAE6D; --nav-line: rgb(207 174 109 / .22);
  --danger: #B42318;
  --shadow-sm: 0 1px 2px rgb(23 20 16 / .05);
  --shadow: 0 1px 3px rgb(23 20 16 / .04), 0 8px 24px -16px rgb(92 70 40 / .16);
  --shadow-lg: 0 4px 12px rgb(23 20 16 / .06), 0 24px 48px -26px rgb(92 70 40 / .24);
  --radius: 18px; --radius-sm: 12px; --wrap: 1160px; --pad: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 108px); --header-h: 72px;
  --teal: var(--accent-icon); --teal-soft: var(--accent-soft); --accent-text: var(--accent-ink);
  color-scheme: light;
}

/* ---- Tokens: Dark (Obsidian Ink & Champagne Gold) ------------------------------------------------------------ */
:root[data-theme='dark'] {
  --bg: #0A0A0C; --surface: #131318; --tint: #101014; --surface-2: #1B1B22;
  --ink: #EFECE6; --muted: #B4AEA3; --subtle: #9E978B;
  --line: #27241D; --line-strong: #3E3628; --field-line: #685E4E;
  --accent: #CFAE6D; --accent-ink: #DFC286; --accent-icon: #CFAE6D; --accent-display: #ECD9AD; --accent-soft: #1B1710; --on-accent: #161108;
  --nav-line: rgb(207 174 109 / .24);
  --danger: #F97066;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .45);
  --shadow: 0 2px 6px rgb(0 0 0 / .45), 0 18px 40px -24px rgb(0 0 0 / .85);
  --shadow-lg: 0 4px 12px rgb(0 0 0 / .55), 0 28px 56px -28px rgb(0 0 0 / .92);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0A0A0C; --surface: #131318; --tint: #101014; --surface-2: #1B1B22;
    --ink: #EFECE6; --muted: #B4AEA3; --subtle: #9E978B;
    --line: #27241D; --line-strong: #3E3628; --field-line: #685E4E;
    --accent: #CFAE6D; --accent-ink: #DFC286; --accent-icon: #CFAE6D; --accent-display: #ECD9AD; --accent-soft: #1B1710; --on-accent: #161108;
    --nav-line: rgb(207 174 109 / .24);
    --danger: #F97066;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .45);
    --shadow: 0 2px 6px rgb(0 0 0 / .45), 0 18px 40px -24px rgb(0 0 0 / .85);
    --shadow-lg: 0 4px 12px rgb(0 0 0 / .55), 0 28px 56px -28px rgb(0 0 0 / .92);
    color-scheme: dark;
  }
}

/* ---- Base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.68 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--accent); color: var(--on-accent); }
.button::selection, .button *::selection { background: var(--ink); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: Lora, Georgia, serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.5vw, 4.15rem); letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); letter-spacing: -0.02em; }
h3 { font-size: 1.24rem; letter-spacing: -0.012em; line-height: 1.32; }
h4 { font-family: Inter, system-ui, sans-serif; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.shell { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.eyebrow { font-family: Inter, system-ui, sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.muted { color: var(--subtle); }
.accent-text { color: var(--accent-display); }
.lead, .section-copy { font-size: clamp(1.04rem, 1.45vw, 1.18rem); line-height: 1.75; color: var(--muted); }
.small-copy, .section-footnote { font-size: .92rem; line-height: 1.7; color: var(--muted); }
.section-footnote { margin-top: 24px; }

/* ---- Buttons ------------------------------------------------------------------------------------------------- */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent; background: var(--accent); color: var(--on-accent); font-size: .98rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; text-align: center; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, filter .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); filter: brightness(1.05); color: var(--on-accent); }
.button .icon { width: 18px; height: 18px; }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.button-secondary:hover { filter: none; border-color: var(--accent-ink); color: var(--accent-ink); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--accent-ink); text-align: left; }
.text-link .icon, .card-link .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.text-link:hover .icon, .card-link:hover .icon { transform: translateX(3px); }

/* ---- Pills, tiles, lists ------------------------------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.icon-tile { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent-icon) 24%, transparent); color: var(--accent-icon); }
.icon-tile.large { width: 64px; height: 64px; border-radius: 18px; }
.icon-tile.large .icon { width: 29px; height: 29px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.75; margin-top: 14px; color: var(--muted); }
.check-list .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--accent-icon); }
.check-list strong { color: var(--ink); font-weight: 600; }

/* ---- Sticky obsidian header & brand lockup ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; display: block; padding: 0; border: 0; box-shadow: inset 0 -1px 0 var(--nav-line); background: var(--nav-bg); color: var(--nav-ink); }
.header-row { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 24px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; --mr-mark: var(--accent); --logo-ink: var(--ink); }
:root[data-theme='dark'] .brand { --logo-ink: #EFECE6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .brand { --logo-ink: #EFECE6; } }
.site-header .brand { --mr-mark: var(--nav-gold); --logo-ink: var(--nav-ink); }
.brand-logo { display: block; height: clamp(24px, 6vw, 34px); width: auto; max-width: none; }
.brand-mark { display: block; }
.desktop-nav { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 18px); margin-left: auto; }
.desktop-nav a { position: relative; padding: 10px 8px; color: var(--nav-ink); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.desktop-nav a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; background: var(--nav-gold); transform: scaleX(0); transition: transform .18s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current='page'] { color: var(--nav-gold); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-header :focus-visible { outline-color: var(--nav-gold); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 0; }
.site-header .button { background: var(--nav-gold); color: #161108; border-color: transparent; white-space: nowrap; }
.site-header .button:hover { background: #DEC185; box-shadow: none; filter: none; color: #161108; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid rgb(207 174 109 / .48); border-radius: 999px; background: transparent; color: var(--nav-ink); font-weight: 600; font-size: .92rem; }
.menu-toggle:hover { border-color: var(--nav-gold); color: var(--nav-gold); }
.menu-toggle .icon { width: 20px; height: 20px; }
@media (max-width: 1199.98px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color .15s ease, color .15s ease; }
.icon-btn:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

/* ---- Mobile drawer (<dialog>) --------------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(86vw, 380px); max-width: none; height: 100dvh; max-height: none; padding: max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); box-shadow: -24px 0 60px -20px rgb(0 0 0 / .35); overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; }
.drawer[open] { display: flex; animation: drawer-in .28s cubic-bezier(.2,.8,.2,1); }
.drawer::backdrop { background: rgb(10 10 12 / .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade-in .28s ease; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
html:has(.drawer[open]) { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 18px; }
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.drawer-nav a[aria-current='page'] { color: var(--accent-ink); }
.drawer-nav a[aria-current='page']::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--accent); }
.drawer-actions { display: grid; gap: 10px; margin-top: 28px; }
.drawer-actions .button { width: 100%; }
.drawer-foot { margin-top: auto; padding-top: 28px; color: var(--muted); font-size: .9rem; }

/* ---- Floating theme switcher --------------------------------------------------------------------------------- */
.theme-switcher { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.theme-fab { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow); transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.theme-fab .icon { width: 20px; height: 20px; }
.theme-fab:hover, .theme-fab[aria-expanded='true'] { border-color: var(--accent-ink); transform: translateY(-1px); }
.theme-menu { position: static; margin: 0; padding: 6px; min-width: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); animation: dropup-in .16s ease-out; }
@keyframes dropup-in { from { opacity: 0; transform: translateY(6px); } }
.theme-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 500; text-align: left; }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--tint); color: var(--ink); }
.theme-menu .icon { width: 18px; height: 18px; }
.theme-menu .theme-check { margin-left: auto; visibility: hidden; color: var(--accent-ink); }
.theme-menu [aria-checked='true'] { color: var(--accent-ink); font-weight: 600; }
.theme-menu [aria-checked='true'] .theme-check { visibility: visible; }
html:not(.js) .theme-switcher { display: none; }
@media (max-width: 759.98px) { .footer-bottom { padding-bottom: 64px; } }

/* ---- Sections, cards & grids --------------------------------------------------------------------------------- */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading .section-copy { margin-top: 16px; max-width: 680px; }
.section-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }

.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.values-grid article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.values-grid article:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent-icon) 45%, var(--line)); box-shadow: var(--shadow-lg); }
.values-grid h3 { margin: 22px 0 12px; }
.values-grid p { color: var(--muted); font-size: .98rem; line-height: 1.75; }

.note-card { display: flex; align-items: center; gap: 26px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.note-card h2 { font-size: 24px; margin-bottom: 8px; }
.note-card p { color: var(--muted); }
.note-card > .text-link { margin-left: auto; flex-shrink: 0; }

/* Showcase: no picture. The heading stands on the left, the words and points on the right. */
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.showcase-head .eyebrow { margin-bottom: 14px; }
.showcase-copy .section-copy + .section-copy { margin-top: 14px; }
.showcase-copy .check-list { margin-top: 12px; }
.showcase-copy .button-row { margin-top: 28px; }

.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: start; padding-top: 72px; padding-bottom: 92px; }
.faq-section .eyebrow { margin-bottom: 14px; }
.faq-group { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq-group:first-of-type { border-top: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 18px; line-height: 1.45; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; color: var(--accent-icon); line-height: 1; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin-top: 14px; color: var(--muted); line-height: 1.8; }

.closing { padding-top: 0; padding-bottom: var(--section); }
.cx-tinted { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 6vw, 64px); border-radius: calc(var(--radius) + 8px); background: var(--tint); border: 1px solid var(--line); }
.cx-title { font-size: clamp(1.9rem, 4vw, 2.85rem); letter-spacing: -0.02em; line-height: 1.14; }
.cx-text { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 36rem; }
.cx-tinted .button-row { margin-top: 24px; }
.cx-tinted-mark { flex: 0 0 auto; opacity: .92; --mr-mark: var(--accent); }
.cx-tinted-mark .brand-mark { width: clamp(120px, 16vw, 196px); height: auto; }
.cx-combo-mark { display: none; --mr-mark: var(--accent); }
.cx-combo .eyebrow { margin-top: 0; }
@media (max-width: 699.98px) {
  .cx-tinted-mark { display: none; }
  .cx-combo-mark { display: block; }
  .cx-combo-mark .brand-mark { width: 64px; height: 64px; margin: 0 0 14px; }
}

/* ---- Home hero (executive statement + editorial portrait frame) ---------------------------------------------- */
.home-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 84px); position: relative; }
.hx-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.home-hero-copy { container-type: inline-size; }
.home-hero .hx-title { font-size: max(1.6rem, min(clamp(2.35rem, 4.4vw, 3.8rem), calc(100cqi / var(--title-em, 0.001)))); line-height: 1.12; }
.hx-lead { margin-top: 22px; max-width: 42rem; font-size: clamp(1.06rem, 1.55vw, 1.24rem); line-height: 1.7; color: var(--muted); }
.home-hero .button-row { margin-top: 28px; }
.discipline-line { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--subtle); }
.rotator { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.rotator.is-out { opacity: 0; transform: translateY(.12em); }
@media (prefers-reduced-motion: reduce) { .rotator { transition: none; } }

.portrait-halo { position: relative; max-width: 440px; width: 100%; justify-self: end; margin: 0; }
.portrait-halo::before { content: ''; position: absolute; inset: -14px; border-radius: 30px; background: color-mix(in srgb, var(--accent-icon) 10%, transparent); pointer-events: none; z-index: 0; }
.portrait-halo picture { position: relative; z-index: 1; display: block; border-radius: 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent-icon) 32%, var(--line)); box-shadow: var(--shadow-lg); background: var(--surface); }
.portrait-halo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* ---- Inner page heroes, overlap bio, values strip ------------------------------------------------------------ */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--subtle); font-size: 13px; line-height: 1.6; margin-bottom: 36px; }
.breadcrumbs a:hover { color: var(--accent-ink); }
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 60px); }
.page-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 48px; }
.page-hero-row > div:first-child:last-child { grid-column: 1 / -1; max-width: 900px; }
.page-hero-row.page-hero-photo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 72px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lead { max-width: 710px; margin-top: 22px; }
.page-hero-row > div > .button, .hero-actions { margin-top: 28px; }
.page-emblem { position: relative; width: auto; height: auto; display: grid; place-items: center; justify-self: end; }
.page-emblem > span { display: none; }
.page-emblem > div { display: grid; place-items: center; width: 124px; height: 124px; border-radius: 30px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent-icon) 24%, transparent); box-shadow: var(--shadow); }
.page-emblem .icon { width: 50px; height: 50px; stroke-width: 1.6; color: var(--accent-icon); }
.page-hero-media { margin: 0; }
.page-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--tint); }
.centered .page-hero-row { display: block; text-align: center; }
.centered .page-hero-row > div { margin: auto; }
.centered .lead { margin-inline: auto; }
.centered .button-row { justify-content: center; }
.centered { padding-block: 60px 140px; }

.founder-roles { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-roles li { padding: 5px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent-icon) 22%, transparent); font-size: 13px; font-weight: 600; line-height: 1.5; }
.founder-story { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.founder-story p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.founder-story p + p { margin-top: 16px; }
.statement { margin: 0; padding: 6px 0 6px clamp(20px, 3vw, 32px); border-left: 3px solid var(--accent-icon); }
.statement p { font-family: Lora, Georgia, serif; font-size: clamp(1.32rem, 2.15vw, 1.7rem); line-height: 1.45; font-weight: 500; color: var(--ink) !important; }
.founder-values { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-values li { display: flex; flex-direction: column; gap: 4px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.founder-values strong { font-family: Lora, Georgia, serif; font-size: clamp(1.65rem, 2.6vw, 2.15rem); font-weight: 500; color: var(--accent-display); }
.founder-values span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.founder-overlap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.founder-overlap-photo { grid-column: 1 / span 5; grid-row: 1; margin: 0; }
.founder-overlap-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--accent-icon) 28%, var(--line)); box-shadow: var(--shadow-lg); background: var(--tint); }
.founder-overlap-card { grid-column: 5 / -1; grid-row: 1; position: relative; z-index: 1; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); }
.founder-overlap-card .eyebrow { margin-bottom: 12px; }
.founder-overlap-card h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.founder-overlap-role { margin-top: 8px; color: var(--accent-ink); font-weight: 600; font-size: 16.5px; }
.founder-overlap-quote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-icon); }
.founder-overlap-quote p { font-family: Lora, Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.42; font-weight: 500; color: var(--ink); }
.founder-overlap-why { margin-top: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.founder-overlap-card .button-row { margin-top: 28px; align-items: center; gap: 14px; }

.circle-num { display: inline-block; font-family: Lora, Georgia, serif; font-size: 2rem; font-weight: 500; color: var(--accent-display); line-height: 1; }
.values-grid article .circle-num + h3 { margin-top: 16px; }

/* ---- Contact form -------------------------------------------------------------------------------------------- */
.contact-hero { padding-bottom: clamp(64px, 8vw, 108px); }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.contact-title-row .icon-tile.large { width: 80px; height: 80px; border-radius: 22px; margin: 0; }
.contact-title-row .icon-tile.large .icon { width: 36px; height: 36px; }
.contact-intro .lead { max-width: 540px; }
.contact-intro .contact-context { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-intro .contact-context h2 { font-size: 23px; line-height: 1.35; margin: 0; }
.contact-intro .contact-context > p { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-top: 12px; }
.contact-topics { display: grid; gap: 14px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.contact-topics > div { display: flex; align-items: center; gap: 12px; }
.contact-topics .icon { width: 19px; height: 19px; color: var(--accent-icon); }
.contact-form-card { padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.form-fields { display: grid; gap: 18px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field label { font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.form-field label span { font-weight: 400; color: var(--subtle); }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-width: 0; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; font-size: 16px; line-height: 1.55; }
.form-field input, .form-field select { height: 50px; }
.form-field textarea { resize: vertical; min-height: 124px; max-height: 520px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in srgb, var(--subtle) 78%, var(--bg)); opacity: 1; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-color: transparent; }
.form-field .field-hint { font-size: 13px; line-height: 1.5; color: var(--subtle); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 6px; }
.form-actions .form-note { margin: 0; max-width: 40ch; font-size: 13px; color: var(--subtle); line-height: 1.7; }
.form-note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-actions .button { flex-shrink: 0; }
.form-alert { margin-bottom: 26px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
.form-alert:focus { outline: 2px solid var(--danger); outline-offset: 3px; }
.form-alert h2 { font-family: Inter, system-ui, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.form-alert p, .form-alert li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.form-alert ul { margin: 4px 0 0; padding-left: 20px; list-style: disc; }
.form-alert a { color: var(--danger); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; line-height: 1.5; }
.form-field [aria-invalid='true'] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.form-sent { display: grid; justify-items: start; gap: 14px; padding: 8px 0; }
.form-sent:focus { outline: none; }
.form-sent h2 { font-size: clamp(24px, 3vw, 30px); }
.form-sent p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 46ch; }
.form-sent .button { margin-top: 8px; }

/* ---- Legal pages (Privacy & Terms + Refund Policy) ----------------------------------------------------------- */
.legal-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-jumps a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--accent-ink); font-size: 13px; font-weight: 600; transition: border-color .15s ease, background-color .15s ease; }
.legal-jumps a:hover { border-color: var(--accent-ink); background: var(--accent-soft); }
.legal-content { max-width: 960px; padding-bottom: 100px; }
.legal-content section { margin-bottom: 38px; }
.legal-content h2 { font-size: 27px; line-height: 1.35; margin-bottom: 16px; }
.legal-content p { font-size: 17px; line-height: 1.85; color: var(--muted); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 1.35em; color: var(--muted); font-size: 17px; line-height: 1.85; }
.legal-content li { margin-bottom: 8px; }
.legal-content li::marker { color: var(--accent-icon); }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-content code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--tint); border: 1px solid var(--line); }
.legal-callout { padding: 26px 30px 14px; margin-bottom: 42px; border: 1px solid color-mix(in srgb, var(--accent-icon) 30%, var(--line)); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.legal-callout h2 { font-size: 23px; margin-bottom: 12px; }
.legal-summary { padding: 26px 30px 14px; margin-bottom: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); }
.legal-summary h2 { font-size: 21px; margin-bottom: 12px; }

/* ---- Footer -------------------------------------------------------------------------------------------------- */
.site-footer { padding: clamp(48px, 7vw, 72px) 0 28px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr); }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 28rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-nav h2 { font-family: Inter, system-ui, sans-serif; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.footer-nav a { display: block; padding: 7px 0; color: var(--ink); font-weight: 500; transition: color .15s ease; }
.footer-nav a:hover { color: var(--accent-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--accent-ink); }
.noscript-note { padding-block: 16px; color: var(--muted); }

/* ---- Cookie notice ------------------------------------------------------------------------------------------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-card { pointer-events: auto; width: min(540px, 100%); padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg), 0 12px 40px rgb(0 0 0 / .16); }
.consent-card h2 { font-family: Inter, system-ui, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.consent-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.consent-card a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent-actions .button { min-width: 116px; justify-content: center; }
@media (min-width: 900px) { .consent { bottom: 24px; } }
.footer-cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer-cookies:hover { color: var(--accent-ink); }
.footer-cookies[hidden] { display: none; }

/* ---- Responsive breakpoints ---------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .shell { padding-inline: 24px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-heading > .text-link { flex-shrink: 1; margin-bottom: 0; }
  .values-grid, .founder-values { grid-template-columns: 1fr 1fr; }
  .hx-split, .showcase, .faq-section, .contact-hero-grid, .founder-story, .page-hero-row, .page-hero-row.page-hero-photo, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait-halo { justify-self: start; max-width: 360px; }
  .page-emblem { display: none; }
  .founder-overlap { display: block; }
  .founder-overlap-photo { max-width: 280px; }
  .founder-overlap-card { margin-top: -56px; margin-left: 16px; }
  .note-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px 22px; }
  .note-card > .text-link { grid-column: 2; margin-left: 0; justify-self: start; }
}
@media (max-width: 640px) {
  .shell { padding-inline: 20px; }
  .menu-toggle { padding: 8px 14px; }
  .values-grid, .founder-values, .field-pair, .footer-nav { grid-template-columns: 1fr; }
  .closing-card, .cx-tinted { padding: 32px 24px; }
  .contact-form-card { padding: 26px 22px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .button { width: 100%; }
  .note-card { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .note-card > .text-link { grid-column: 1; }
  .contact-title-row .icon-tile.large { width: 60px; height: 60px; border-radius: 17px; }
  .contact-title-row .icon-tile.large .icon { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover, .values-grid article:hover, .theme-fab:hover { transform: none; }
}
@media print { .site-header, .theme-switcher, .consent, .button-row, .site-footer, dialog { display: none !important; } body { background: #fff; color: #000; } }

/* =======================================================================================================================
   Part 3: Languages & Indic typography (SIL OFL fonts bundled self-hosted per script)
   ======================================================================================================================= */
@font-face { font-family: 'Mandali'; src: url('fonts/mandali.woff2?v=112d2e0e4c') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: 'Ramabhadra'; src: url('fonts/ramabhadra.woff2?v=4a9b19f79c') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; size-adjust: 120%; unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-regular.woff2?v=9e2e5f7726') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-medium.woff2?v=c953ed44ed') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-semibold.woff2?v=341c8ced07') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Poppins'; src: url('fonts/poppins-bold.woff2?v=f13bfce3bf') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Yantramanav'; src: url('fonts/yantramanav-regular.woff2?v=fad2a1cd0d') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Yantramanav'; src: url('fonts/yantramanav-medium.woff2?v=4e6e6e4a60') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Yantramanav'; src: url('fonts/yantramanav-bold.woff2?v=f22e4a3fe4') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Noto Sans Kannada'; src: url('fonts/noto-sans-kannada.woff2?v=c91f1e7b98') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835; }
@font-face { font-family: 'Baloo Tamma 2'; src: url('fonts/baloo-tamma-2.woff2?v=748784f1be') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835; }
@font-face { font-family: 'Hind Madurai'; src: url('fonts/hind-madurai-regular.woff2?v=00979b7634') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Madurai'; src: url('fonts/hind-madurai-medium.woff2?v=25841d9c7c') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Madurai'; src: url('fonts/hind-madurai-semibold.woff2?v=23ce400784') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Madurai'; src: url('fonts/hind-madurai-bold.woff2?v=45756df5b7') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Mukta Malar'; src: url('fonts/mukta-malar-regular.woff2?v=0d7af641f6') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Mukta Malar'; src: url('fonts/mukta-malar-medium.woff2?v=00f877f621') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Mukta Malar'; src: url('fonts/mukta-malar-semibold.woff2?v=ffa2f0f9e2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Mukta Malar'; src: url('fonts/mukta-malar-bold.woff2?v=a3007075cf') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Noto Sans Malayalam'; src: url('fonts/noto-sans-malayalam.woff2?v=c21d9e855d') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0B83, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832; }
@font-face { font-family: 'Anek Malayalam'; src: url('fonts/anek-malayalam.woff2?v=81e57303f6') format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0B83, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832; }
@font-face { font-family: 'Hind Vadodara'; src: url('fonts/hind-vadodara-regular.woff2?v=d5426ef49a') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: 'Hind Vadodara'; src: url('fonts/hind-vadodara-medium.woff2?v=6248d3ec66') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: 'Hind Vadodara'; src: url('fonts/hind-vadodara-semibold.woff2?v=a3460190ff') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: 'Hind Vadodara'; src: url('fonts/hind-vadodara-bold.woff2?v=07c39fa90e') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: 'Baloo Bhai 2'; src: url('fonts/baloo-bhai-2.woff2?v=3bc7a672bb') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }

html:lang(te) body { font-family: Inter, 'Mandali', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(te) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Ramabhadra', 'Mandali', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(hi) body { font-family: Inter, 'Poppins', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(hi) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Yantramanav', 'Poppins', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(kn) body { font-family: Inter, 'Noto Sans Kannada', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(kn) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Baloo Tamma 2', 'Noto Sans Kannada', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(ta) body { font-family: Inter, 'Hind Madurai', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(ta) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Mukta Malar', 'Hind Madurai', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(ml) body { font-family: Inter, 'Noto Sans Malayalam', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(ml) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Anek Malayalam', 'Noto Sans Malayalam', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; font-stretch: 85%; }
html:lang(gu) body { font-family: Inter, 'Hind Vadodara', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html:lang(gu) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { font-family: Lora, Inter, 'Baloo Bhai 2', 'Hind Vadodara', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif; }

html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) body { line-height: 1.75; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(h1, h2, h3, h4, .hx-title, .cx-title, .statement p, .founder-overlap-quote p, .founder-values strong) { letter-spacing: 0; font-weight: 700; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(h1, .hx-title) { line-height: 1.24; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(h2, .cx-title) { line-height: 1.32; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) h3 { line-height: 1.45; }
:where(html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu))) h1 { font-size: clamp(2.05rem, 5vw, 3.6rem); }
:where(html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu))) h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) .page-hero h1 { font-size: clamp(2.05rem, 4.5vw, 3.3rem); }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) .cx-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) .home-hero .hx-title { font-size: max(1.5rem, min(clamp(2.05rem, 4vw, 3.3rem), calc(100cqi / var(--title-em, 0.001)))); }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(.eyebrow, .desktop-nav a, .discipline-line) { letter-spacing: .01em; text-transform: none; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) .eyebrow { font-size: .9rem; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) .desktop-nav a { font-size: .95rem; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(.lead, .section-copy, .hx-lead, .check-list li) { line-height: 1.8; }
html:is(:lang(te), :lang(hi), :lang(kn), :lang(ta), :lang(ml), :lang(gu)) :is(.button, .menu-toggle, .lang-toggle) { line-height: 1.5; }

/* ---- Language switcher (header <details>, mobile drawer, footer) ---------------------------------------------- */
.lang-menu { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid rgb(207 174 109 / .48); border-radius: 999px; color: var(--nav-ink); font-size: .9rem; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; list-style: none; user-select: none; transition: border-color .15s ease, color .15s ease; }
.lang-toggle::-webkit-details-marker { display: none; }
.lang-toggle::marker { content: ''; }
.lang-toggle .icon { width: 18px; height: 18px; color: var(--nav-gold); }
.lang-toggle::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.lang-menu[open] .lang-toggle::after { transform: translateY(1px) rotate(-135deg); }
.lang-toggle:hover, .lang-menu[open] .lang-toggle { border-color: var(--nav-gold); color: var(--nav-gold); }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; display: grid; min-width: 190px; max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lang-list a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--tint); }
.site-header .lang-list :focus-visible { outline-color: var(--accent-ink); }
.lang-list a[aria-current='true'] { color: var(--accent-ink); font-weight: 600; }
.lang-list a[aria-current='true']::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--accent); }
@media (max-width: 420px) { .lang-current { display: none; } .lang-toggle { padding: 8px 12px; } }

.drawer-lang { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.drawer-lang a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: .95rem; font-weight: 500; line-height: 1.5; }
.drawer-lang a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.drawer-lang a[aria-current='true'] { border-color: var(--accent-ink); color: var(--accent-ink); font-weight: 600; }

.footer-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.footer-lang .icon { width: 18px; height: 18px; color: var(--accent-icon); }
.footer-lang a { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.5; }
.footer-lang a:hover { color: var(--accent-ink); }
.footer-lang a[aria-current='true'] { color: var(--ink); font-weight: 600; }

/* =======================================================================================================================
   Part 4: Language menu as a form (PHP site cookie persistence)
   ======================================================================================================================= */
.lang-list button, .drawer-lang button, .footer-lang button { appearance: none; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.lang-list button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.lang-list button:hover, .lang-list button:focus-visible { background: var(--tint); }
.lang-list button[aria-current='true'] { color: var(--accent-ink); font-weight: 600; }
.lang-list button[aria-current='true']::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--accent); }
.drawer-lang button { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: .95rem; font-weight: 500; line-height: 1.5; }
.drawer-lang button:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.drawer-lang button[aria-current='true'] { border-color: var(--accent-ink); color: var(--accent-ink); font-weight: 600; }
.footer-lang button { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.5; }
.footer-lang button:hover { color: var(--accent-ink); }
.footer-lang button[aria-current='true'] { color: var(--ink); font-weight: 600; }
