/* =====================================================================
   Dr. Ankita Mulani | Rich Thinker
   Concept: "The Ink Diary". Midnight ink, warm paper and a gold A+.
   ===================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
    --accent: #f5a524;
    --gold: var(--accent);
    --gold-2: #ffd27a;
    --rose: #ff6b8a;
    --violet: #6c5ce7;
    --ember: #e0533d;

    --ink: #0e0b26;
    --ink-2: #17123a;
    --ink-3: #231c55;
    --paper: #fbf7f0;
    --paper-2: #f3ebdd;

    --bg: var(--paper);
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --text: #1d1838;
    --muted: #6d6789;
    --line: rgba(29, 24, 56, .1);
    --shadow: 0 30px 60px -30px rgba(23, 18, 58, .35);

    --dark-bg: var(--ink);
    --dark-surface: rgba(255, 255, 255, .05);
    --dark-text: #f3efff;
    --dark-muted: #b4aedb;
    --dark-line: rgba(255, 255, 255, .1);

    --f-display: "Fraunces", Georgia, serif;
    --f-body: "Inter", system-ui, sans-serif;
    --f-hand: "Caveat", cursive;

    --radius: 22px;
    --radius-sm: 14px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --header-h: 84px;
    color-scheme: light;
}
html[lang="gu"] { --f-display: "Noto Serif Gujarati", "Fraunces", serif; --f-body: "Anek Gujarati", "Inter", sans-serif; }
html[lang="hi"] { --f-display: "Noto Serif Devanagari", "Fraunces", serif; --f-body: "Anek Devanagari", "Inter", sans-serif; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b0920; --bg-alt: #110e2b; --surface: #17133a; --text: #efeaff; --muted: #a8a2cf;
        --line: rgba(255, 255, 255, .09); --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); --paper: #0b0920; --paper-2: #151135;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0b0920; --bg-alt: #110e2b; --surface: #17133a; --text: #efeaff; --muted: #a8a2cf;
    --line: rgba(255, 255, 255, .09); --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); --paper: #0b0920; --paper-2: #151135;
    color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
    line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ms-auto { margin-left: auto; }

/* grain overlay */
.grain {
    position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- buttons */
.btn {
    --b-bg: transparent; --b-fg: currentColor;
    position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: 999px; border: 0;
    background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-family: var(--f-body); font-size: .98rem; line-height: 1.2;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn i { transition: transform .35s var(--ease); }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-up-right { transform: translateX(4px); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.04rem; }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-gold { --b-bg: linear-gradient(120deg, var(--gold-2), var(--gold) 45%, var(--ember)); --b-fg: #1a1233; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--gold) 70%, transparent); background-size: 200% 100%; }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--gold) 80%, transparent); }
.btn-ghost { --b-fg: currentColor; border: 1.5px solid color-mix(in srgb, currentColor 35%, transparent); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { border: 1.5px solid var(--line); padding: .8rem 1.4rem; }
.btn-line:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.btn-text { padding: .5rem .25rem; background: none; color: var(--muted); }
.btn-text:hover { color: var(--gold); }
.link-arrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--text); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.chip-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: color-mix(in srgb, var(--gold) 15%, transparent); color: color-mix(in srgb, var(--gold) 70%, var(--text)); }
.chip-btn:hover { background: var(--gold); color: var(--ink); }
.pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); font-size: .78rem; font-weight: 600; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hdr-line, var(--line)); background: transparent; }

/* ---------------------------------------------------------------- preloader */
.preloader { display: none; }
.js .preloader {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--ink);
    animation: plAuto .6s 3s forwards;
}
.preloader.is-done { animation: plOut .8s var(--ease) forwards; }
.preloader-inner { display: grid; place-items: center; gap: 1.2rem; }
.preloader-mark { width: 110px; height: 110px; overflow: visible; }
.pl-drop { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.4s var(--ease) forwards; }
.pl-a { fill: var(--gold); opacity: 0; transform-origin: 60px 94px; animation: grow .8s .7s var(--ease) forwards; }
.pl-petal { fill: var(--gold); opacity: 0; transform-origin: 60px 94px; animation: unfoldL .7s 1.1s var(--ease) forwards; }
.pl-petal.r { animation-name: unfoldR; }
.pl-slit { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; opacity: 0; animation: fadeUp .4s 1.3s forwards; }
@keyframes grow { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes unfoldL { from { opacity: 0; transform: rotate(40deg); } to { opacity: .8; transform: none; } }
@keyframes unfoldR { from { opacity: 0; transform: rotate(-40deg); } to { opacity: .8; transform: none; } }
.preloader-word { font-family: "Fraunces", serif; font-style: italic; color: #fff; letter-spacing: .4em; text-transform: uppercase; font-size: .8rem; opacity: 0; animation: fadeUp .8s 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: .8; transform: none; } }
@keyframes plOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes plAuto { to { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- cursor + progress */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 950; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background .3s; }
.cursor-dot { width: 8px; height: 8px; background: var(--gold); margin: -4px 0 0 -4px; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: color-mix(in srgb, var(--gold) 14%, transparent); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }
.scroll-ink { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900; pointer-events: none; }
.scroll-ink span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--violet), var(--rose), var(--gold)); }

/* ---------------------------------------------------------------- header */
.site-header {
    --hdr-fg: #fff; --hdr-line: rgba(255, 255, 255, .2);
    position: fixed; inset: 0 0 auto; z-index: 800; color: var(--hdr-fg); transition: transform .5s var(--ease), background .4s, box-shadow .4s, color .4s;
}
body:not(.page-home) .site-header:not(.is-scrolled) { --hdr-fg: var(--text); --hdr-line: var(--line); }
.site-header.is-scrolled { --hdr-fg: var(--text); --hdr-line: var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand .logo-mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(245, 165, 36, .3)); transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.brand-img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; }
.brand-tag { font-family: "Fraunces", serif; font-style: italic; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; font-weight: 500; font-size: .95rem; background: none; border: 0; position: relative; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: .3rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease); }
.nav-link:hover::after, .is-active > .nav-link::after { transform: translateX(-50%) scale(1); }
.nav-link:hover { color: var(--gold); }
.nav-link .bi-chevron-down { font-size: .7rem; transition: transform .3s; }
.has-sub:hover .bi-chevron-down, .has-sub:focus-within .bi-chevron-down { transform: rotate(180deg); }
.sub {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 230px; list-style: none; margin: 0; padding: .5rem; border-radius: 18px;
    background: var(--surface); color: var(--text); box-shadow: var(--shadow), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .3s var(--ease);
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; font-weight: 500; }
.sub a i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); }
.sub a:hover, .sub a.is-active { background: color-mix(in srgb, var(--gold) 9%, transparent); }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: .6rem 1.2rem; margin-left: .4rem; font-weight: 600; }
.nav-cta::after { display: none; }
.nav-cta:hover { box-shadow: 0 10px 24px -10px var(--gold); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--hdr-line, var(--line)); }
.lang-switch a { min-width: 34px; height: 30px; padding: 0 .55rem; display: grid; place-items: center; border-radius: 999px; font-size: .82rem; font-weight: 600; opacity: .7; transition: .3s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active { background: var(--gold); color: var(--ink); opacity: 1; }
.lang-switch a[lang="gu"] { font-family: "Anek Gujarati", sans-serif; }
.lang-switch a[lang="hi"] { font-family: "Anek Devanagari", sans-serif; }
.theme-toggle .bi-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .bi-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .bi-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .bi-moon-stars { display: none; }
}
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hdr-line); background: transparent; position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; right: 18px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; right: 13px; transform: rotate(-45deg); }
.menu-open .site-header { --hdr-fg: #fff; --hdr-line: rgba(255, 255, 255, .2); background: transparent; box-shadow: none; backdrop-filter: none; }

.mobile-menu { position: fixed; inset: 0; z-index: 790; visibility: hidden; pointer-events: none; }
.mobile-menu-bg { position: absolute; inset: 0; background: radial-gradient(800px 500px at 100% 0%, rgba(108, 92, 231, .45), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(245, 165, 36, .3), transparent 60%), var(--ink); clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease); }
.mobile-menu-inner { position: relative; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; display: flex; flex-direction: column; color: #fff; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu ol a { display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; font-family: var(--f-display); font-size: clamp(1.8rem, 8vw, 2.8rem); font-weight: 700; transform: translateY(110%); transition: transform .7s var(--ease), color .3s; }
.mobile-menu ol a small { font-family: var(--f-body); font-size: .8rem; color: var(--gold); font-weight: 600; }
.mobile-menu ol a:hover, .mobile-menu ol a.is-active { color: var(--gold); }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1.25rem; opacity: 0; transition: opacity .5s .4s; }
.lang-switch.big { border-color: rgba(255, 255, 255, .2); width: max-content; }
.lang-switch.big a { height: 38px; padding: 0 1rem; font-size: .95rem; }
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu-bg { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu-open .mobile-menu ol a { transform: none; }
.menu-open .mobile-menu-foot { opacity: 1; }
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .burger { display: block; }
    .header-tools { margin-left: auto; }
}
@media (max-width: 520px) {
    :root { --header-h: 70px; }
    .brand .logo-mark { width: 40px; height: 40px; }
    .brand-name { font-size: 1.02rem; }
    .brand-tag { font-size: .66rem; letter-spacing: .2em; }
    .header-tools .lang-switch, .header-tools .theme-toggle { display: none; }
}

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; }
.tone-light { background: var(--bg); color: var(--text); }
.tone-dark {
    --text: var(--dark-text); --muted: var(--dark-muted); --line: var(--dark-line); --surface: var(--dark-surface);
    background: radial-gradient(900px 500px at 10% 0%, rgba(108, 92, 231, .25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(245, 165, 36, .14), transparent 60%), var(--dark-bg);
    color: var(--dark-text);
}
.sec + .sec.tone-light { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }
html[lang="gu"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: .05em; font-size: .98rem; }
.eyebrow-line { width: 36px; height: 1.5px; background: currentColor; }
.sec-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); margin-bottom: .4em; }
.sec-sub { color: var(--muted); font-size: 1.1rem; }
.sec-more { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.sub-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); display: flex; align-items: center; gap: .6rem; margin: 0 0 1.5rem; }
.sub-title i { color: var(--gold); }
.empty-note { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: 1.1rem; }

/* split text + reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.is-in .wi, .is-in.wi { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-hero-in] { opacity: 0; transform: translateY(24px); }
.js .is-ready [data-hero-in], .js.is-ready [data-hero-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.ww { transition: opacity .4s, color .4s; }
.js [data-words] .ww { opacity: .18; }
.js [data-words] .ww.on { opacity: 1; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 2.5rem) 0 5rem; overflow: hidden; color: #fff;
    background: linear-gradient(115deg, #0d0a24 0%, #171040 48%, #2a0f2e 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hb-spot { position: absolute; right: -6%; top: 50%; width: 62vw; max-width: 900px; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 165, 36, .32), rgba(224, 83, 61, .14) 45%, transparent 72%); }
.hb-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(100deg, #000 0%, transparent 55%); }
.hb-word { position: absolute; left: 50%; bottom: -.18em; translate: -50% 0; white-space: nowrap; font-family: "Fraunces", serif; font-style: italic; font-weight: 800; font-size: clamp(5rem, 17vw, 16rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); }
.hero-ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.hero-kicker { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.05rem; color: #e6defc; margin-bottom: 1rem; }
.kick-line { width: 44px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-title { font-size: clamp(2.8rem, 1.2rem + 5.6vw, 6.2rem); font-weight: 800; line-height: 1.04; margin-bottom: .1em; color: #fff; }
html[lang="gu"] .hero-title, html[lang="hi"] .hero-title { line-height: 1.22; font-size: clamp(2.6rem, 1.2rem + 5vw, 5.6rem); }
.hero-title .w { padding-bottom: .22em; margin-bottom: -.22em; }
.hero-title .w:last-child .wi { background: linear-gradient(100deg, #ffe3a3, var(--gold) 45%, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sign { position: relative; display: inline-block; margin: .2rem 0 1.4rem; font-family: "Caveat", cursive; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 1; color: var(--gold-2); transform: rotate(-3deg); }
.hero-sign svg { position: absolute; left: 0; right: 0; bottom: -14px; width: 100%; height: 18px; overflow: visible; }
.hero-sign path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.is-ready .hero-sign path { animation: draw 1.2s 1.1s var(--ease) forwards; }
.hero-roles { margin: 0 0 .8rem; font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem); font-weight: 600; color: #fff; min-height: 1.6em; }
.hero-roles .typed { background: linear-gradient(90deg, #fff, #d9cfff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--gold); margin-left: 4px; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 540px; color: #c9c2ea; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-actions .btn-ghost { color: #fff; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats li { display: flex; align-items: center; gap: .7rem; }
.hero-stats i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--gold); font-size: 1.1rem; }
.hero-stats strong { display: block; font-family: "Fraunces", serif; font-size: 1.4rem; line-height: 1; }
.hero-stats small { color: #a9a2cf; font-size: .82rem; }

/* portrait */
.hero-portrait { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; justify-self: center; }
.mandala { position: absolute; inset: -4%; width: 108%; height: 108%; overflow: visible; }
.mandala-rays { stroke: rgba(255, 210, 122, .55); stroke-width: 1.4; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.mandala-petals { fill: rgba(245, 165, 36, .16); stroke: rgba(255, 210, 122, .35); stroke-width: .8; transform-origin: 200px 200px; animation: spin 60s linear infinite reverse; }
.mandala-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 2 6; }
@keyframes spin { to { rotate: 360deg; } }
.portrait-orbit { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 210, 122, .25); animation: spin 14s linear infinite; }
.portrait-orbit i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(245, 165, 36, .18), 0 0 24px 4px rgba(245, 165, 36, .8); }
.portrait { position: absolute; inset: 15%; margin: 0; border-radius: 50%; padding: 6px; background: conic-gradient(from 210deg, #ffe3a3, var(--gold), var(--ember), #7a4cff, #ffe3a3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 80px -10px rgba(245, 165, 36, .45); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 4px solid #140f35; transform: scale(1.0); }
.portrait-plate { position: absolute; left: 50%; bottom: 3%; translate: -50% 0; display: flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem .5rem .5rem; border-radius: 999px; white-space: nowrap; background: rgba(18, 13, 51, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); animation: floaty 7s ease-in-out infinite; }
.pp-mark .logo-mark { width: 40px; height: 40px; display: block; }
.portrait-plate strong { display: block; font-family: var(--f-display); font-size: 1rem; line-height: 1.2; }
.portrait-plate small { color: var(--gold-2); font-size: .78rem; }
.portrait-badge { position: absolute; right: 12%; top: 14%; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; font-size: 1.5rem; color: var(--ink); background: linear-gradient(135deg, #ffe3a3, var(--gold)); box-shadow: 0 0 0 8px rgba(245, 165, 36, .15), 0 18px 30px -10px rgba(245, 165, 36, .7); animation: floaty 6s ease-in-out infinite; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--gold); translate: -50% 0; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
    .hero { text-align: center; padding-top: calc(var(--header-h) + 1rem); }
    .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hero-portrait { order: -1; max-width: 320px; }
    .hero-kicker { justify-content: center; }
    .hero-sub { margin-inline: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-stats { gap: .8rem 1.4rem; }
    .portrait-badge { width: 48px; height: 48px; font-size: 1.15rem; }
    .portrait-plate { scale: .85; bottom: 0; }
    .scroll-cue, .hb-word { display: none; }
}

/* ---------------------------------------------------------------- roles ribbon (single line) */
.sec-ribbon { position: relative; padding: clamp(1.6rem, 3vw, 2.6rem) var(--gutter); background: var(--bg); }
.ribbon {
    position: relative; overflow: hidden; white-space: nowrap; padding: 1.15rem 0; color: #fff; border-radius: 999px; max-width: 1400px; margin: 0 auto;
    background: radial-gradient(60% 160% at 50% 50%, #2e1d66 0%, #140f35 75%);
    box-shadow: 0 0 0 1px rgba(245, 165, 36, .45), 0 0 0 6px color-mix(in srgb, var(--gold) 12%, transparent), 0 24px 50px -24px rgba(23, 18, 58, .6);
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none; }
.ribbon::before { left: 0; background: linear-gradient(90deg, #140f35, transparent); }
.ribbon::after { right: 0; background: linear-gradient(-90deg, #140f35, transparent); }.ribbon-track { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; animation: marquee 42s linear infinite; will-change: transform; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); line-height: 1.35; transition: color .4s, -webkit-text-stroke-color .4s; }
.ribbon-item.solid { background: linear-gradient(100deg, #ffe3a3, var(--gold) 50%, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon-item.outline { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .75); }
.ribbon-item.outline:hover { color: #fff; }
.ribbon-sep { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; }
.ribbon-sep .logo-mark { width: 34px; height: 34px; animation: spin 10s linear infinite; }
@keyframes marquee { to { transform: translateX(-33.333%); } }
.marquee-track { display: inline-flex; gap: 2rem; align-items: center; animation: marquee 50s linear infinite; padding-right: 2rem; will-change: transform; }

/* ---------------------------------------------------------------- rich text */
.richtext-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.img-right .richtext-grid { grid-template-columns: 1.1fr .9fr; }
.img-right .richtext-media { order: 2; }
.no-img .richtext-grid { grid-template-columns: .55fr 1.45fr; }
.richtext-media { position: relative; margin: 0; }
.richtext-media { max-width: 460px; justify-self: center; width: 100%; }
.media-frame { position: relative; z-index: 1; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 70px -35px rgba(23, 18, 58, .55); border: 6px solid var(--surface); }
.media-frame img { object-position: 50% 20%; }
.media-outline { position: absolute; inset: -16px 16px 16px -16px; border-radius: 999px 999px 32px 32px; border: 1.5px solid color-mix(in srgb, var(--gold) 70%, transparent); z-index: 0; }
.media-glow { position: absolute; inset: 10% -12% -6% -12%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 30%, transparent), transparent); filter: blur(10px); z-index: 0; }
.media-cap { position: absolute; z-index: 2; left: -18px; bottom: 9%; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font-family: "Fraunces", serif; font-style: italic; font-size: 1.05rem; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
.media-cap i { color: var(--gold); font-style: normal; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.richtext-media:hover img { transform: scale(1.05); }
.media-stamp { position: absolute; z-index: 2; right: -18px; top: 12%; width: 86px; height: 86px; border-radius: 50%; box-shadow: 0 0 0 6px var(--bg), 0 18px 30px -14px rgba(245, 165, 36, .8); animation: floaty 6s ease-in-out infinite; }
.media-stamp .logo-mark { width: 100%; height: 100%; display: block; }
.richtext-deco { position: relative; display: grid; place-items: center; }
.richtext-deco::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 22%, transparent), transparent); }
.richtext-deco .logo-mark { position: relative; width: min(100%, 280px); height: auto; filter: drop-shadow(0 30px 40px rgba(23, 18, 58, .3)); animation: floaty 7s ease-in-out infinite; }
.sec-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.prose { font-size: 1.12rem; }
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--text); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 40%, transparent) 62%); }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose blockquote { margin: 1.8em 0; padding: .5em 0 .5em 1.4em; border-left: 3px solid var(--gold); font-family: var(--f-display); font-size: 1.3em; font-style: italic; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); border: 0; }
.drop-cap > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .85; padding: .08em .12em 0 0; color: var(--gold); font-weight: 800; }
html[lang="gu"] .drop-cap > p:first-of-type::first-letter, html[lang="hi"] .drop-cap > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-weight: inherit; }
@media (max-width: 860px) {
    .richtext-grid, .img-right .richtext-grid, .no-img .richtext-grid { grid-template-columns: 1fr; }
    .img-right .richtext-media { order: 0; }
    .richtext-deco { display: none; }
    .richtext-media { max-width: 420px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- stats */
.sec-stats { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.stat { padding: 1.8rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 25%, transparent), transparent); opacity: 0; transition: opacity .5s; }
.stat:hover::before { opacity: 1; }
.stat strong { display: block; font-family: "Fraunces", serif; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem); line-height: 1; font-weight: 800; background: linear-gradient(120deg, var(--gold-2), var(--gold), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat strong em { font-style: normal; }
.stat-label { display: block; margin-top: .6rem; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- quote */
.big-quote { margin: 0 auto; max-width: 980px; text-align: center; position: relative; }
.quote-mark { display: block; font-family: "Fraunces", serif; font-size: 9rem; line-height: .6; height: .45em; color: var(--gold); }
.big-quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); line-height: 1.35; font-weight: 600; }
.big-quote figcaption { margin-top: 2rem; }
.sig { font-family: var(--f-hand); font-size: 2rem; color: var(--gold); }
html[lang="gu"] .sig, html[lang="hi"] .sig { font-family: var(--f-display); font-size: 1.3rem; font-style: italic; }

/* ---------------------------------------------------------------- CTA */
.sec-cta { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--bg); }
.cta-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2.2rem, 5vw, 4rem); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.cta-card.tone-light { background: var(--paper-2); }
.cta-copy { position: relative; max-width: 640px; }
.cta-copy h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); }
.cta-copy p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.cta-card .btn { position: relative; }
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orbs i { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: floaty 9s ease-in-out infinite; }
.cta-orbs i:nth-child(1) { width: 260px; height: 260px; background: var(--violet); right: 10%; top: -40%; }
.cta-orbs i:nth-child(2) { width: 200px; height: 200px; background: var(--gold); right: -4%; bottom: -40%; animation-delay: -3s; }
.cta-orbs i:nth-child(3) { width: 160px; height: 160px; background: var(--rose); left: 30%; bottom: -50%; animation-delay: -6s; opacity: .3; }

/* ---------------------------------------------------------------- highlights */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.highlight-card { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; transform-style: preserve-3d; }
.highlight-card:hover { border-color: color-mix(in srgb, var(--gold) 60%, transparent); box-shadow: var(--shadow); }
.highlight-card > i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.5rem; margin-bottom: 1.3rem; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); transform: translateZ(30px); }
.highlight-card:nth-child(2) > i { background: linear-gradient(135deg, #ffb3c4, var(--rose)); }
.highlight-card:nth-child(3) > i { background: linear-gradient(135deg, #c3bbff, var(--violet)); color: #fff; }
.highlight-card:nth-child(4) > i { background: linear-gradient(135deg, #9ff0d6, #00b894); }
.highlight-card h3 { font-size: 1.35rem; }
.highlight-card p { color: var(--muted); margin: 0; }
.hl-num { position: absolute; right: 1.4rem; top: 1.1rem; font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--line); }

/* ---------------------------------------------------------------- books */
.book-shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); justify-content: center; gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.book-card { display: flex; flex-direction: column; gap: 1.6rem; }
.book-3d { position: relative; display: block; perspective: 1400px; padding: 1rem 1.5rem 2rem; }
.book { position: relative; width: 78%; margin: 0 auto; aspect-ratio: 2/3; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(4deg); transition: transform .9s var(--ease); }
.book-3d:hover .book, .book-3d:focus-visible .book { transform: rotateY(-8deg) rotateX(2deg) translateY(-10px); }
.book-cover { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; transform: translateZ(14px); box-shadow: inset 4px 0 8px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .05); background: var(--book); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .15) 60%, transparent); }
.book-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 55%); transform: translateX(-100%); transition: transform 1.1s var(--ease); }
.book-3d:hover .book-shine { transform: translateX(100%); }
.book-spine { position: absolute; top: 0; bottom: 0; left: 0; width: 28px; transform-origin: left; transform: rotateY(-90deg) translateX(-14px); background: linear-gradient(90deg, color-mix(in srgb, var(--book) 60%, #000), var(--book)); border-radius: 3px 0 0 3px; }
.book-pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 26px; transform-origin: right; transform: rotateY(90deg) translateX(13px); background: repeating-linear-gradient(90deg, #fffdf6 0 2px, #e9e1cf 2px 3px); }
.book-shadow { position: absolute; left: 18%; right: 12%; bottom: .4rem; height: 26px; background: radial-gradient(closest-side, rgba(10, 6, 30, .45), transparent); filter: blur(4px); transition: transform .9s var(--ease), opacity .9s; }
.book-3d:hover .book-shadow { transform: scale(.85); opacity: .7; }
.book-cover-art { position: absolute; inset: 0; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .25), transparent 50%), linear-gradient(160deg, var(--book), color-mix(in srgb, var(--book) 40%, #120d33)); }
.book-cover-art .bc-top { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.book-cover-art strong { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); line-height: 1.2; }
.book-cover-art .bc-aplus { align-self: flex-end; font-family: var(--f-hand); font-size: 2.4rem; color: var(--gold-2); transform: rotate(-12deg); }
.book-meta { text-align: center; }
.book-role { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
html[lang="gu"] .book-role, html[lang="hi"] .book-role { letter-spacing: .03em; font-size: .9rem; }
.book-meta h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.book-meta h3 a:hover { color: var(--gold); }
.book-meta p { color: var(--muted); font-size: .98rem; }
.book-links { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* book detail */
.book-hero { position: relative; padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; background: radial-gradient(900px 600px at 20% 40%, color-mix(in srgb, var(--book) 35%, transparent), transparent 60%), var(--bg); }
.book-hero-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.book-hero-bg span { font-family: var(--f-display); font-weight: 800; font-size: 22vw; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line); opacity: .8; }
.book-hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.book-3d.big .book { width: min(100%, 360px); }
.book-alt { font-family: "Fraunces", serif; font-style: italic; color: var(--muted); font-size: 1.3rem; margin-top: -.3em; }
.book-intro { font-size: 1.2rem; color: var(--muted); max-width: 600px; }
.book-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 2rem 0; }
.book-actions .btn-ghost { color: var(--text); }
.book-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; margin: 0; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.book-facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.book-facts dd { margin: 0; font-weight: 600; }
.pdf-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.pdf-frame iframe { width: 100%; height: min(85vh, 1000px); border: 0; }
@media (max-width: 860px) { .book-hero-grid { grid-template-columns: 1fr; text-align: center; } .book-actions { justify-content: center; } .book-intro { margin-inline: auto; } .book-3d.big .book { width: 240px; } }

/* ---------------------------------------------------------------- videos */
.video-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.video-bento .is-feature { grid-column: span 2; grid-row: span 2; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; margin-bottom: 4rem; }
.reel-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 1.2rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.reel-row > * { scroll-snap-align: start; }
.video-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; background: var(--ink-2); overflow: hidden; }
.is-vertical .video-thumb { aspect-ratio: 9/16; }
.is-feature .video-thumb { aspect-ratio: auto; flex: 1; min-height: 280px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.video-card:hover .video-thumb img { transform: scale(1.06); filter: brightness(.8); }
.video-thumb-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; text-align: center; color: #fff; background: linear-gradient(160deg, #f58529, #dd2a7b 45%, #515bd4); }
.platform-facebook .video-thumb-art { background: linear-gradient(160deg, #1877f2, #0b3d91); }
.video-thumb-art i { font-size: 2.6rem; }
.video-thumb-art em { font-style: normal; font-weight: 600; font-size: .95rem; }
.video-play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 2rem; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); transition: transform .4s var(--ease); animation: pulse 2.4s infinite; }
.video-play i { margin-left: 4px; }
.video-card:hover .video-play { transform: scale(1.12); background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.video-platform { position: absolute; top: .8rem; left: .8rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.platform-youtube .video-platform { background: #ff0033; }
.video-info { padding: 1.1rem 1.2rem 1.3rem; }
.video-cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.video-info h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.08rem; line-height: 1.4; margin: .3rem 0 .5rem; }
.is-feature .video-info h3 { font-family: var(--f-display); font-size: 1.6rem; }
.video-info p { color: var(--muted); font-size: .95rem; }
.video-ext { font-size: .82rem; color: var(--muted); }
.video-ext:hover { color: var(--gold); }
@media (max-width: 900px) { .video-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-bento { grid-template-columns: 1fr; } .video-bento .is-feature { grid-column: auto; grid-row: auto; } .is-feature .video-thumb { aspect-ratio: 16/9; min-height: 0; } }

.video-modal { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 1rem; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 6, 24, .88); backdrop-filter: blur(8px); animation: fade .4s; }
.video-modal-frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; animation: zoomIn .5s var(--ease); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.video-modal.is-vertical .video-modal-frame { width: auto; height: min(88vh, 860px); aspect-ratio: 9/16; max-width: 100%; }
.video-modal-player, .video-modal-player iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #000; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }

/* ---------------------------------------------------------------- timeline */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before, .timeline-progress { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: var(--line); }
.timeline-progress { background: linear-gradient(var(--violet), var(--rose), var(--gold)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; width: 50%; padding: 0 3.2rem 2.6rem 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 3.2rem; }
@media (min-width: 761px) { .tl-item:not(:first-child) { margin-top: -4.5rem; } }
.tl-node { position: absolute; right: -24px; top: .6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); color: var(--gold); font-size: 1.15rem; z-index: 1; transition: background .4s, color .4s, transform .4s var(--ease); }
.tone-dark .tl-node { background: var(--ink); }
.tl-item:nth-child(even) .tl-node { right: auto; left: -24px; }
.tl-item:hover .tl-node { background: var(--gold); color: var(--ink); transform: scale(1.12) rotate(-10deg); }
.tl-card { padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.tl-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.tl-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.tl-year { font-family: "Fraunces", serif; font-size: 1.8rem; font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--gold), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--violet) 14%, transparent); color: color-mix(in srgb, var(--violet) 70%, var(--text)); }
.type-award .tl-type { background: color-mix(in srgb, var(--gold) 18%, transparent); color: color-mix(in srgb, var(--gold) 60%, var(--text)); }
.tl-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.tl-card p { color: var(--muted); margin: 0 0 .3rem; font-size: .97rem; }
.tl-org { font-weight: 600; color: var(--text) !important; font-size: .9rem !important; }
.tl-img { display: block; margin-top: .8rem; border-radius: 12px; overflow: hidden; }
.tl-img img { width: 100%; max-height: 220px; object-fit: cover; }
@media (max-width: 760px) {
    .timeline::before, .timeline-progress { left: 22px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; margin: 0; padding: 0 0 2rem 4rem; }
    .tl-node, .tl-item:nth-child(even) .tl-node { left: 0; right: auto; width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------- thoughts */
.thoughts-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.deck-hint { color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.thoughts-layout .sec-more { text-align: left; margin-top: 1.5rem; }
@media (max-width: 860px) { .thoughts-layout .sec-more { text-align: center; } }
.thought-deck { position: relative; height: clamp(380px, 48vw, 470px); perspective: 1200px; }
.thought-card {
    --tc: var(--gold);
    position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.6rem, 4vw, 2.6rem);
    border-radius: 28px; color: #fff; overflow: hidden; cursor: grab; user-select: none; touch-action: pan-y;
    background: var(--tbg, none) center / cover, radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .28), transparent 50%), linear-gradient(150deg, var(--tc), color-mix(in srgb, var(--tc) 35%, #120d33));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .15);
    transition: transform .7s var(--ease), opacity .7s;
}
.thought-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .25)); pointer-events: none; }
.thought-card:active { cursor: grabbing; }
.thought-card blockquote { position: relative; margin: 0; font-family: var(--f-display); font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem); line-height: 1.45; font-weight: 600; text-shadow: 0 2px 20px rgba(0, 0, 0, .15); }
.tc-mark { font-family: var(--f-hand); font-size: 3rem; line-height: 1; opacity: .9; transform: rotate(-10deg); width: max-content; }
.thought-card figcaption { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
.tc-by { font-weight: 600; opacity: .95; }
.tc-theme { padding: .2rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 600; }
.tc-actions { position: absolute; top: 1.3rem; right: 1.3rem; display: flex; gap: .4rem; }
.tc-actions button, .tc-actions a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: inherit; backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.tc-actions button:hover, .tc-actions a:hover { background: rgba(255, 255, 255, .4); transform: scale(1.08); }
.deck-next { position: absolute; left: 50%; bottom: -28px; translate: -50% 0; z-index: 50; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 1.4rem; box-shadow: 0 14px 30px -12px var(--gold); }
.deck-next:hover i { animation: spin .8s var(--ease); }
.today-quote { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); line-height: 1.35; }
.thought-wall { columns: 3 300px; column-gap: 1.2rem; }
.thought-tile { --tc: var(--gold); break-inside: avoid; margin: 0 0 1.2rem; padding: 1.8rem 1.6rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.thought-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tc); }
.thought-tile:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.thought-tile .tc-mark { color: var(--tc); font-family: "Fraunces", serif; font-size: 4rem; line-height: .6; display: block; height: .5em; }
.thought-tile blockquote { margin: .6rem 0 1rem; font-family: var(--f-display); font-size: 1.22rem; line-height: 1.55; font-weight: 600; }
.thought-tile figcaption { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.thought-tile .tc-theme { background: color-mix(in srgb, var(--tc) 16%, transparent); color: var(--text); }
.thought-tile .tc-actions { position: static; }
.thought-tile .tc-actions button, .thought-tile .tc-actions a { background: color-mix(in srgb, var(--tc) 14%, transparent); width: 34px; height: 34px; }
@media (max-width: 860px) { .thoughts-layout { grid-template-columns: 1fr; } .thought-deck { margin-bottom: 2rem; } }

/* ---------------------------------------------------------------- testimonials, gallery, articles */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 1.2rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.testimonial { scroll-snap-align: start; margin: 0; padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--gold); display: flex; gap: 2px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial img, .testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 700; }
.testimonial small { display: block; color: var(--muted); }
.gallery-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 0 var(--gutter) 1rem; scrollbar-width: none; cursor: grab; }
.strip-item { flex: 0 0 auto; height: clamp(220px, 30vw, 340px); border-radius: var(--radius); overflow: hidden; }
.strip-item img { height: 100%; width: auto; object-fit: cover; transition: transform .8s var(--ease); }
.strip-item:hover img { transform: scale(1.06); }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1rem; }
.masonry-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.masonry-item.is-wide { grid-column: span 2; }
.masonry-item.is-tall { grid-row: span 2; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.masonry-item:hover img { transform: scale(1.07); }
.masonry-cap { position: absolute; inset: auto 0 0; padding: 2rem 1rem .9rem; color: #fff; font-size: .92rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); transform: translateY(100%); transition: transform .5s var(--ease); }
.masonry-item:hover .masonry-cap { transform: none; }
@media (max-width: 560px) { .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .masonry-item.is-wide { grid-column: span 2; } }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.article-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; height: 100%; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--violet), var(--ink-2)); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-img-art { display: grid; place-items: center; height: 100%; font-family: "Fraunces", serif; font-size: 8rem; color: var(--gold); }
.article-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-body h3 { font-size: 1.3rem; margin: 0; }
.article-body h3 a:hover { color: var(--gold); }
.article-body p { color: var(--muted); font-size: .97rem; flex: 1; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; font-size: .85rem; color: var(--muted); }
.article-page { padding-bottom: 4rem; }
.article-hero { padding: calc(var(--header-h) + 3rem) 0 2.5rem; }
.article-author { display: flex; align-items: center; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article-author img, .article-author .logo-mark { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.article-author strong { display: block; }
.article-author small { color: var(--gold); font-style: italic; }
.article-cover { margin: 0 auto 3rem; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article-content { font-size: 1.16rem; }
.article-source { color: var(--muted); font-style: italic; }
.article-end { text-align: center; margin-top: 3rem; }
.article-end span { font-family: var(--f-hand); font-size: 3rem; color: var(--gold); display: inline-block; transform: rotate(-10deg); }

/* ---------------------------------------------------------------- social wall */
.social-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
@media (max-width: 520px) { .social-wall { grid-template-columns: 1fr 1fr; } .social-card { min-height: 180px; padding: 1.2rem; } }
.social-card { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border-radius: var(--radius); color: #fff; overflow: hidden; min-height: 210px; transition: transform .5s var(--ease), box-shadow .5s; }
.social-card:hover { box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .6); }
.social-card > i { font-size: 2rem; margin-bottom: auto; }
.social-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: transform .6s var(--ease); }
.social-card:hover::after { transform: scale(1.6); }
.social-card strong { font-family: "Fraunces", serif; font-size: 2.4rem; line-height: 1; }
.sc-label { font-weight: 700; margin-top: 1rem; }
.social-card small { opacity: .8; }
.sc-cta { margin-top: .8rem; font-size: .88rem; font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; }
.sc-instagram { background: linear-gradient(135deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.sc-youtube { background: linear-gradient(135deg, #ff4d4d, #c4002b); }
.sc-facebook { background: linear-gradient(135deg, #3b8cff, #0b49b5); }
.sc-pratilipi { background: linear-gradient(135deg, #f6a33a, #e0533d); }
.sc-twitter { background: linear-gradient(135deg, #2b2b2b, #000); }
.social-icons { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social-icons a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); font-size: 1.1rem; transition: background .3s, color .3s, border-color .3s; }
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------------- filters */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-bar button { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: .92rem; transition: .3s; }
.filter-bar button:hover { border-color: var(--gold); }
.filter-bar button.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-item.is-hidden { display: none !important; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; background: var(--bg); }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ph-word { position: absolute; right: -2vw; bottom: -.28em; font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 15vw, 13rem); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--gold) 22%, transparent); }
.ph-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.ph-orb.o1 { width: 420px; height: 420px; background: var(--violet); left: -120px; top: -160px; opacity: .25; }
.ph-orb.o2 { width: 320px; height: 320px; background: var(--gold); right: 10%; top: -120px; opacity: .2; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; position: relative; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .65rem; }
.page-title { position: relative; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); font-weight: 800; max-width: 15ch; }
html[lang="gu"] .page-title, html[lang="hi"] .page-title { line-height: 1.25; }
.page-intro { position: relative; max-width: 640px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-cards { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .8rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
a.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-card i { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.contact-card.wa i { background: #25d36622; color: #1faa52; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card strong { font-size: 1.02rem; word-break: break-word; }
.contact-main { padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.type-picker { border: 0; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.type-picker legend { font-weight: 600; margin-bottom: .6rem; color: var(--muted); font-size: .9rem; }
.type-chip input { position: absolute; opacity: 0; pointer-events: none; }
.type-chip span { display: inline-block; padding: .55rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: .3s; }
.type-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.type-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; display: block; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 1.45rem 1rem .55rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.field > span { position: absolute; left: 1rem; top: 1rem; color: var(--muted); pointer-events: none; transition: .25s var(--ease); font-size: 1rem; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field input[type=date] + span { top: .45rem; font-size: .74rem; color: var(--gold); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--ember); }
.contact-form:not(.is-seminar) .seminar-only { display: none; }
.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-ok { color: #1faa52; }
.form-status.is-err { color: var(--ember); }
.btn.is-loading { pointer-events: none; opacity: .7; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--ink); color: #d7d2f5; overflow: hidden; }
.site-footer .brand-name { color: #fff; }
.footer-marquee { padding: 2.2rem 0 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); overflow: hidden; white-space: nowrap; }
.footer-marquee .marquee-track { animation-duration: 50s; }
.footer-marquee span { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 6vw, 7rem); line-height: 1.2; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .25); transition: color .5s; }
.footer-marquee span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.footer-marquee .star { font-size: 2rem; color: var(--gold); -webkit-text-stroke: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1.2rem; max-width: 340px; color: #b4aedb; }
.footer-sign { font-family: var(--f-display); font-style: italic; color: var(--gold) !important; font-size: 1.15rem; }
.footer-title { font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
html[lang="gu"] .footer-title, html[lang="hi"] .footer-title { letter-spacing: .04em; font-size: 1rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { position: relative; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold); padding-left: .6rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; }
.footer-contact i { color: var(--gold); }
.footer-contact a:hover { color: var(--gold); }
.footer-lang { margin-top: 1.4rem; border-color: rgba(255, 255, 255, .15); }
.footer-lang a { padding: 0 .8rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: #8f88bd; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(255, 255, 255, .15); background: transparent; padding: .5rem 1rem; border-radius: 999px; color: #d7d2f5; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- lightbox + error */
.lightbox { position: fixed; inset: 0; z-index: 985; display: grid; place-items: center; background: rgba(8, 6, 24, .94); padding: 3rem 4rem; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 12px; animation: zoomIn .4s var(--ease); }
.lightbox figcaption { color: #e9e5ff; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav.prev { left: 1rem; } .lightbox-nav.next { right: 1rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 600px) { .lightbox { padding: 4rem .5rem; } .lightbox-nav { top: auto; bottom: 1rem; } }
.error-page { min-height: 90vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 0 4rem; }
.error-page .page-title { margin-inline: auto; }
.error-page .page-intro { margin: 0 auto 2rem; }
.error-code { font-family: "Fraunces", serif; font-weight: 800; font-size: clamp(7rem, 22vw, 15rem); line-height: 1; display: flex; justify-content: center; align-items: center; gap: .1em; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.err-a { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--gold); color: var(--ink); -webkit-text-stroke: 0; font-size: .55em; animation: floaty 4s ease-in-out infinite; }
.err-a b { font-size: .7em; }

/* ---------------------------------------------------------------- motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js [data-hero-in] { opacity: 1; transform: none; }
    .wi { transform: none; }
    .js [data-words] .ww { opacity: 1; }
    .marquee-track { animation: none; }
}

/* ---------------------------------------------------------------- developer credit */
.dev-credit { color: #8f88bd; }
.dev-credit a { font-weight: 800; letter-spacing: .12em; color: #fff; transition: color .3s; }
.dev-credit a:hover { color: var(--gold); }
.tm-a { position: relative; display: inline-block; }
.tm-a sup { position: absolute; left: 100%; top: -.15em; margin-left: 1px; font-size: .5em; font-weight: 700; letter-spacing: 0; line-height: 1; }
@media (max-width: 560px) { .footer-bottom { justify-content: center; text-align: center; } }
@media (max-width: 560px) { .media-cap { left: 0; font-size: .95rem; } .media-stamp { right: 0; width: 66px; height: 66px; } .media-outline { inset: -10px 10px 10px -10px; } }
