/* Copyright 2026 Frae Futuretech Private Limited — All Rights Reserved (Proprietary)
 *
 * The public temple site's own stylesheet — SITE-5: the design elevation.
 * Loads AFTER the bundled Bootstrap 5.3 dist and the theme bridge; this
 * file carries the devotional signature the approved mockup names (brief
 * §1–§4): the display serif with caps kickers, the gold hairline rule
 * with the diamond centre, generous whitespace, one radius scale, one
 * shadow scale, soft photographic heroes, and the gentle scroll-reveal —
 * an institution, not a fairground.
 *
 * ⛔ RTL groundwork stays as laid (design §5b): CSS LOGICAL properties
 * throughout — margin-inline / padding-inline / inset-inline — never bare
 * left/right; tests/test_rtl_and_languages.py sweeps this file. (D-25:
 * Arabic is de-scoped, but future Indian languages keep the discipline.)
 *
 * ⛔ No raw hex here beyond the one documented #FFFFFF exception (text on
 * photographic scrims) — tests/test_theme_contrast.py sweeps this file.
 * Fonts and Bootstrap are bundled locally; no CDN URL anywhere.
 */

@font-face {
    font-family: 'Vaikunth Sans';
    src: url('/vaikunth_site/static/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Vaikunth Sans';
    src: url('/vaikunth_site/static/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
/* The display serif — Marcellus (OFL, bundled + SBOM-registered): Roman
 * inscriptional capitals; headings only, one weight, spent with restraint. */
@font-face {
    font-family: 'Vaikunth Serif';
    src: url('/vaikunth_site/static/fonts/Marcellus-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/* ── ground: scales and rhythm ──────────────────────────────────────── */
body.vk-site {
    /* one radius scale, one shadow scale (brief §4) */
    --vk-r-sm: 0.375rem;
    --vk-r: 0.625rem;
    --vk-r-lg: 1rem;
    --vk-shadow-1: 0 1px 2px rgba(20, 12, 2, 0.06), 0 2px 8px rgba(20, 12, 2, 0.05);
    --vk-shadow-2: 0 2px 6px rgba(20, 12, 2, 0.08), 0 10px 24px rgba(20, 12, 2, 0.10);
    --vk-shadow-3: 0 6px 16px rgba(20, 12, 2, 0.12), 0 20px 44px rgba(20, 12, 2, 0.14);
    margin: 0;
    min-height: 100vh;
    background: var(--vk-bg);
    color: var(--vk-ink);
    font-family: 'Vaikunth Sans', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;      /* the no-horizontal-scroll law, structurally */
}
.vk-site img { max-inline-size: 100%; }
.vk-serif, .vk-site h1, .vk-site h2, .vk-site h3 {
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-weight: 400;
    line-height: 1.2;
}
.vk-num { font-variant-numeric: tabular-nums; }
/* legacy content wrapper (kept for the login insert + free-page bodies) */
.vk-wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }

/* ── the signature: caps kicker + display serif + the gold rule ─────── */
.vk-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vk-accent);
    margin-block: 0 0.5rem;
}
.vk-display {
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    margin-block: 0;
}
.vk-h {
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    margin-block: 0;
}
/* The gold hairline with the diamond centre — the one motif, used
 * consistently (brief §3). Symmetric, so it needs no mirroring. */
.vk-rule {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    inline-size: min(14rem, 70%);
    margin-block: 0.9rem 0;
}
.vk-rule::before,
.vk-rule::after {
    content: '';
    block-size: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--vk-gold));
}
.vk-rule::after {
    background: linear-gradient(to right, var(--vk-gold), transparent);
}
.vk-rule > i {
    inline-size: 0.45rem;
    block-size: 0.45rem;
    rotate: 45deg;
    background: var(--vk-gold);
    flex: none;
}
.vk-rule-center { margin-inline: auto; }
.vk-rule-on-photo::before,
.vk-rule-on-photo::after { background: linear-gradient(to right, transparent, #FFFFFF); }
.vk-rule-on-photo::after { background: linear-gradient(to right, #FFFFFF, transparent); }
.vk-rule-on-photo > i { background: #FFFFFF; }
.vk-sec-head { text-align: center; margin-block-end: 2rem; }
.vk-sec-head .vk-rule { margin-inline: auto; }
.vk-sec-head-start { text-align: start; }
.vk-sec-head-start .vk-rule { margin-inline: 0; }

/* ── header: ONE professional navbar (brief §1) ─────────────────────── */
/* SITE-5c (CEO, 2026-08-26: "all navbars are light colors. need in some
 * cases to be solid gradient color"): the DEFAULT bar is a SOLID GRADIENT
 * in the theme's deep tones — --vk-nav-grad-a → --vk-nav-grad-b, the
 * theme-supplied pair (deep → deep-pulled-toward-accent; both live in
 * site_themes.css where the AA test measures them). Only the home page,
 * when it opens on the photographic hero, wears .vk-header-overhero: it
 * starts glassy and cross-fades to the gradient once .vk-scrolled lands
 * (the gradient paints on ::before so the swap is one opacity fade).
 *
 * Text on the gradient follows two header-scoped tokens that flip with
 * the state — resting --vk-nav-fg (deep-muted on the gradient, AA-gated
 * on the LIGHTER stop B) and emphasis --vk-nav-fg-strong (deep-ink).
 * Gold was measured and REJECTED as the hover color here: 4.09:1 on
 * chandan's / 3.98:1 on tulsi's stop B — hover goes deep-ink instead.
 * The under-lg collapse panel wears the same gradient ALWAYS (even while
 * a hero home's bar is still glassy): a solid panel reads; a glassy one
 * over content does not. Dropdown panels stay on the solid surface. */
.vk-header {
    --vk-nav-fg: var(--vk-deep-muted);
    --vk-nav-fg-strong: var(--vk-deep-ink);
    --vk-nav-hover: var(--vk-deep-ink);
    --vk-nav-emblem: var(--vk-gold);
    position: sticky;
    inset-block-start: 0;
    z-index: 1030;
    background: color-mix(in srgb, var(--vk-surface) 88%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-block-end: 1px solid color-mix(in srgb, var(--vk-border) 60%, transparent);
    transition: box-shadow 0.25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .vk-header { background: var(--vk-surface); }   /* solid fallback */
}
/* the solid gradient itself — painted on ::before so the overhero state
 * can fade it in/out over the glassy ground */
.vk-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--vk-nav-grad-a), var(--vk-nav-grad-b));
    opacity: 1;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.vk-header .vk-navbar { position: relative; }   /* content above the paint */
/* home over the hero: glassy until scrolled, then the gradient */
.vk-header-overhero:not(.vk-scrolled) {
    --vk-nav-fg: var(--vk-muted);
    --vk-nav-fg-strong: var(--vk-ink);
    --vk-nav-hover: var(--vk-link);
    --vk-nav-emblem: var(--vk-accent);
}
.vk-header-overhero:not(.vk-scrolled)::before { opacity: 0; }
.vk-header.vk-scrolled { box-shadow: var(--vk-shadow-2); }
/* Bootstrap's navbar reads these; site.css loads after the bridge, so
 * the state-following tokens win its ink/muted mapping. */
.vk-header .navbar {
    --bs-navbar-color: var(--vk-nav-fg);
    --bs-navbar-hover-color: var(--vk-nav-hover);
    --bs-navbar-active-color: var(--vk-nav-fg-strong);
    --bs-navbar-brand-color: var(--vk-nav-fg-strong);
    --bs-navbar-brand-hover-color: var(--vk-nav-fg-strong);
}
.vk-navbar { padding-block: 0.4rem; }
.vk-brand { display: flex; align-items: center; gap: 0.65rem; }
.vk-brand-mark { color: var(--vk-nav-emblem); flex: none; }
.vk-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.vk-brand-name {
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}
.vk-brand-tagline {
    color: var(--vk-nav-fg);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}
.vk-nav .nav-link {
    font-size: 0.95rem;
    padding-inline: 0.85rem;
    transition: color 0.2s ease;
}
.vk-nav .nav-link:hover { color: var(--vk-nav-hover); }
.vk-nav .dropdown-menu {
    border-radius: var(--vk-r);
    box-shadow: var(--vk-shadow-2);
    padding: 0.4rem;
}
.vk-nav .dropdown-item { border-radius: var(--vk-r-sm); padding-block: 0.45rem; }
/* Hover-intent on pointer desktops; tap keeps working via the data-API. */
@media (min-width: 992px) and (hover: hover) {
    .vk-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-block-start: 0;
    }
}
.vk-nav-utils { display: flex; align-items: center; gap: 0.6rem; }
.vk-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--vk-nav-fg);
    border: 0;
    background: transparent;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}
.vk-lang-btn:hover { color: var(--vk-nav-hover); }
.vk-staff-login { white-space: nowrap; font-size: 0.85rem; }
/* The quiet outlined staff door follows the header state too — muted
 * frame, emphasis text, a soft fill on hover. AA: the text is always
 * --vk-nav-fg-strong (deep-ink on the gradient / ink on the glassy). */
.vk-header .vk-staff-login {
    --bs-btn-color: var(--vk-nav-fg-strong);
    --bs-btn-border-color: color-mix(in srgb, var(--vk-nav-fg) 65%, transparent);
    --bs-btn-hover-color: var(--vk-nav-fg-strong);
    --bs-btn-hover-bg: color-mix(in srgb, var(--vk-nav-fg-strong) 14%, transparent);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--vk-nav-fg) 90%, transparent);
    --bs-btn-active-color: var(--vk-nav-fg-strong);
    --bs-btn-active-bg: color-mix(in srgb, var(--vk-nav-fg-strong) 20%, transparent);
    --bs-btn-active-border-color: var(--vk-nav-fg);
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--vk-nav-fg) 30%, transparent);
    transition: color 0.2s ease, border-color 0.2s ease;
}
/* Under lg the collapse stacks; it wears the SOLID GRADIENT always (the
 * "same treatment" for the hamburger panel) — re-declaring the two nav
 * tokens on the panel keeps its links deep-toned even while a hero
 * home's bar is still glassy. */
@media (max-width: 991.98px) {
    .vk-navbar .navbar-collapse {
        --vk-nav-fg: var(--vk-deep-muted);
        --vk-nav-fg-strong: var(--vk-deep-ink);
        --vk-nav-hover: var(--vk-deep-ink);
        --bs-navbar-color: var(--vk-nav-fg);
        --bs-navbar-hover-color: var(--vk-nav-hover);
        --bs-navbar-active-color: var(--vk-nav-fg-strong);
        background: linear-gradient(160deg, var(--vk-nav-grad-a), var(--vk-nav-grad-b));
        border: 1px solid color-mix(in srgb, var(--vk-deep-ink) 18%, transparent);
        border-radius: var(--vk-r);
        margin-block-start: 0.5rem;
        padding: 0.6rem 0.8rem;
        box-shadow: var(--vk-shadow-2);
    }
    .vk-nav-utils {
        border-block-start: 1px solid color-mix(in srgb, var(--vk-deep-ink) 18%, transparent);
        margin-block-start: 0.6rem;
        padding-block-start: 0.7rem;
    }
}
.navbar-toggler.vk-toggler {
    color: var(--vk-nav-fg-strong);
    border-color: color-mix(in srgb, var(--vk-nav-fg) 65%, transparent);
    padding: 0.35rem 0.5rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

/* ── the hero: a moment, not a strip (brief §2) ─────────────────────── */
.vk-hero { position: relative; background: var(--vk-deep); }
.vk-hero-carousel, .vk-hero-carousel .carousel-inner { block-size: clamp(24rem, 66vh, 38rem); }
.vk-hero-carousel .carousel-item { block-size: 100%; }
.vk-hero-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}
/* dark-to-transparent scrim so the overlaid text ALWAYS reads */
.vk-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(14, 9, 2, 0.72), rgba(14, 9, 2, 0.25) 55%, rgba(14, 9, 2, 0.30));
}
.vk-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block-end: clamp(2.5rem, 8vh, 5rem);
    color: #FFFFFF;
    pointer-events: none;          /* the carousel keeps its swipes… */
}
.vk-hero-content a { pointer-events: auto; }   /* …the CTAs keep their clicks */
.vk-hero-kicker { color: #FFFFFF; opacity: 0.92; }
.vk-hero-title { color: #FFFFFF; text-shadow: 0 2px 18px rgba(14, 9, 2, 0.55); }
.vk-hero-tagline {
    color: #FFFFFF;
    opacity: 0.88;
    font-size: 1.05rem;
    margin-block: 0.6rem 0;
    max-inline-size: 38rem;
}
.vk-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.4rem; }
.vk-btn-ghost-light {
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(14, 9, 2, 0.18);
}
.vk-btn-ghost-light:hover, .vk-btn-ghost-light:focus-visible {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.16);
    border-color: #FFFFFF;
}
.vk-hero-caption {
    position: absolute;
    z-index: 6;
    inset-block-end: 0.7rem;
    inset-inline-end: 0.9rem;
    margin: 0;
    color: #FFFFFF;
    background: rgba(14, 9, 2, 0.45);
    border-radius: 999px;
    padding: 0.15rem 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}
.vk-hero-carousel .carousel-indicators { z-index: 7; margin-block-end: 0.8rem; }
.vk-hero-carousel .carousel-indicators [data-bs-target] {
    inline-size: 1.6rem;
    block-size: 3px;
    border-radius: 999px;
}
.vk-hero-carousel .carousel-control-prev,
.vk-hero-carousel .carousel-control-next { z-index: 7; inline-size: 8%; }
/* the gold rule closes the hero (brief §2) */
.vk-hero-close { padding-block: 1.1rem 0; }
.vk-hero-close .vk-rule { margin-block: 0; }
/* No hero media: the honest brand band on the deep surface. */
.vk-hero-empty {
    background: var(--vk-deep);
    color: var(--vk-deep-ink);
    text-align: center;
    padding-block: clamp(3rem, 10vh, 5.5rem);
}
.vk-hero-empty .vk-kicker { color: var(--vk-gold); }
.vk-hero-empty .vk-display { color: var(--vk-deep-ink); }

/* ── page-head band: every inner page (brief §3) ────────────────────── */
.vk-page-head {
    background: var(--vk-deep);
    color: var(--vk-deep-ink);
    padding-block: 2.2rem 2.4rem;
    position: relative;
}
.vk-page-head .vk-display { color: var(--vk-deep-ink); }
.vk-page-head .vk-kicker { color: var(--vk-gold); }
.vk-page-head .breadcrumb { margin-block-end: 0.9rem; font-size: 0.82rem; }
.vk-page-head .breadcrumb a { color: var(--vk-deep-muted); text-decoration: none; }
.vk-page-head .breadcrumb a:hover { color: var(--vk-deep-ink); }
.vk-page-head .breadcrumb-item.active { color: var(--vk-deep-muted); }
.vk-page-head .breadcrumb-item + .breadcrumb-item::before { color: var(--vk-deep-muted); }
/* the photographic variant — same band, the page's own hero behind it */
.vk-page-head.vk-page-hero { padding-block: 4rem 2.6rem; background: var(--vk-deep); }
.vk-page-head-img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}
.vk-page-head-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 9, 2, 0.74), rgba(14, 9, 2, 0.35));
}
.vk-page-head .container-xl { position: relative; z-index: 2; }
.vk-page-head.vk-page-hero .vk-display,
.vk-page-head.vk-page-hero .breadcrumb a { color: #FFFFFF; }
.vk-page-head.vk-page-hero .breadcrumb a { opacity: 0.85; }

/* ── sections and rhythm ────────────────────────────────────────────── */
.vk-main { min-height: 40vh; }
.vk-section { padding-block: 2.6rem; }
.vk-section-tight { padding-block: 1.8rem; }
.vk-page-body { padding-block: 2.4rem 3rem; }

/* ── cards: lift, media, temple cards (brief §3) ────────────────────── */
.vk-site .card { border-radius: var(--vk-r); box-shadow: var(--vk-shadow-1); }
.vk-lift { transition: translate 0.18s ease, box-shadow 0.18s ease; }
.vk-lift:hover, .vk-lift:focus-within {
    translate: 0 -3px;
    box-shadow: var(--vk-shadow-2);
}
.vk-card-media {
    inline-size: 100%;
    block-size: 12rem;
    object-fit: cover;
    display: block;
    background: var(--vk-bg);
    border-start-start-radius: var(--vk-r);
    border-start-end-radius: var(--vk-r);
}
.vk-card-title { font-size: 1.2rem; margin-block: 0 0.35rem; }
.vk-card-title a { color: var(--vk-ink); text-decoration: none; }
.vk-card-title a:hover { color: var(--vk-link); }
.vk-icon-line {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    color: var(--vk-muted);
    font-size: 0.9rem;
}
.vk-icon-line svg { flex: none; translate: 0 2px; }
.vk-muted { color: var(--vk-muted); }

/* ── today's darshan: the elevated card row with the "now" pill ─────── */
.vk-darshan-card .card-body { padding: 1.15rem 1.25rem; }
.vk-darshan-temple { font-size: 1.15rem; margin-block-end: 0.6rem; }
.vk-darshan-slot {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-block: 0.42rem;
    border-block-start: 1px solid var(--vk-border);
}
.vk-darshan-slot:first-of-type { border-block-start: 0; }
.vk-darshan-slot svg { color: var(--vk-accent); flex: none; }
.vk-darshan-name { flex: 1; }
.vk-darshan-time { color: var(--vk-muted); font-size: 0.92rem; white-space: nowrap; }
.vk-pill {
    display: inline-block;
    background: var(--vk-accent);
    color: var(--vk-accent-ink);
    border-radius: 999px;
    padding: 0.08rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.vk-chip {
    display: inline-block;
    background: color-mix(in srgb, var(--vk-surface) 40%, var(--vk-bg));
    border: 1px solid var(--vk-border);
    color: var(--vk-muted);
    border-radius: 999px;
    padding: 0.1rem 0.65rem;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* ── the next-utsav feature card (brief §3) ─────────────────────────── */
.vk-utsav-date {
    inline-size: 5.2rem;
    flex: none;
    text-align: center;
    background: var(--vk-accent-soft);
    border-radius: var(--vk-r);
    padding-block: 0.8rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vk-utsav-day {
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--vk-ink);
    font-variant-numeric: tabular-nums;
}
.vk-utsav-month {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vk-ink);
    margin-block-start: 0.3rem;
}

/* ── notices: list-group with the gold pin (brief §3) ───────────────── */
.vk-notices .list-group-item { padding: 1rem 1.2rem; }
.vk-notice-title { font-size: 1.1rem; margin-block: 0; }
.vk-pin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--vk-ink);
    background: var(--vk-accent-soft);
    border: 1px solid color-mix(in srgb, var(--vk-gold) 55%, transparent);
    border-radius: 999px;
    padding: 0.06rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.vk-pin-badge svg { color: var(--vk-gold); }
.vk-notice-body { margin-block-start: 0.5rem; }
.vk-notice-body p:last-child { margin-block-end: 0; }

/* ── gallery: grids and the home teaser ─────────────────────────────── */
.vk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 1rem;
}
.vk-gallery-item {
    margin: 0;
    background: var(--vk-surface);
    border: 1px solid var(--vk-border);
    border-radius: var(--vk-r);
    padding: 0.5rem;
    box-shadow: var(--vk-shadow-1);
}
.vk-gallery-item img {
    inline-size: 100%;
    block-size: 11rem;
    object-fit: cover;
    border-radius: var(--vk-r-sm);
    display: block;
    background: var(--vk-bg);
}
.vk-gallery-item figcaption { padding-block-start: 0.45rem; font-size: 0.85rem; }
.vk-lb-item { position: relative; display: block; }

/* ── the video facade's play badge (UX-SWEEP2) ───────────────────────── */
.vk-play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.vk-play-badge::before {
    content: "";
    inline-size: 3.25rem;
    block-size: 3.25rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--vk-deep) 72%, transparent);
    border: 2px solid var(--vk-gold);
    position: absolute;
}
.vk-play-badge::after {
    content: "";
    border-block-start: 0.55rem solid transparent;
    border-block-end: 0.55rem solid transparent;
    border-inline-start: 0.9rem solid var(--vk-deep-ink);
    margin-inline-start: 0.2rem;
    position: relative;
}

/* ── the gallery lightbox (UX-SWEEP2) — native <dialog> ──────────────── */
.vk-lightbox {
    border: none;
    padding: 0;
    background: transparent;
    inline-size: min(96vw, 72rem);
    max-inline-size: 96vw;
    max-block-size: 94vh;
    overflow: visible;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.vk-lightbox[open] { display: flex; }
.vk-lightbox::backdrop {
    background: rgba(12, 8, 2, 0.88);
}
.vk-lb-figure {
    margin: 0;
    min-inline-size: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vk-lb-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
}
.vk-lb-image {
    max-inline-size: 100%;
    max-block-size: 82vh;
    border-radius: var(--vk-r-sm);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    background: var(--vk-deep);
}
.vk-lb-video {
    border: 0;
    inline-size: min(90vw, 64rem);
    aspect-ratio: 16 / 9;
    max-block-size: 82vh;
    border-radius: var(--vk-r-sm);
    background: var(--vk-deep);
}
.vk-lb-caption {
    color: var(--vk-deep-ink);
    font-size: 0.9rem;
    padding-block-start: 0.6rem;
    text-align: center;
    text-wrap: balance;
}
.vk-lb-close,
.vk-lb-prev,
.vk-lb-next {
    flex: 0 0 auto;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--vk-deep-ink) 35%, transparent);
    background: color-mix(in srgb, var(--vk-deep) 65%, transparent);
    color: var(--vk-deep-ink);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.vk-lb-close:hover,
.vk-lb-prev:hover,
.vk-lb-next:hover { border-color: var(--vk-gold); color: var(--vk-gold); }
.vk-lb-close:focus-visible,
.vk-lb-prev:focus-visible,
.vk-lb-next:focus-visible { outline: 2px solid var(--vk-gold); outline-offset: 2px; }
.vk-lb-close {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
}
/* The lightbox's gentle fade lives in the shared no-preference block at
 * the end of this sheet — under reduced motion the dialog simply IS. */
@media (max-width: 767.98px) {
    /* Narrow screens: the arrows overlay the stage edges instead of
     * spending horizontal room beside it; swipe does the same work. */
    .vk-lightbox { gap: 0; }
    .vk-lb-prev, .vk-lb-next {
        position: fixed;
        inset-block-start: 50%;
        transform: translateY(-50%);
    }
    .vk-lb-prev { inset-inline-start: 0.4rem; }
    .vk-lb-next { inset-inline-end: 0.4rem; }
    .vk-lb-video { inline-size: 96vw; }
}
.vk-teaser-img {
    inline-size: 100%;
    block-size: 10rem;
    object-fit: cover;
    border-radius: var(--vk-r);
    display: block;
    box-shadow: var(--vk-shadow-1);
    background: var(--vk-surface);
}
.vk-album-cover {
    inline-size: 100%;
    block-size: 11rem;
    object-fit: cover;
    display: block;
    background: var(--vk-bg);
    border-start-start-radius: var(--vk-r);
    border-start-end-radius: var(--vk-r);
}
.vk-album-link { color: var(--vk-ink); text-decoration: none; }
.vk-album-link:hover .vk-card-title, .vk-album-link:focus-visible .vk-card-title { color: var(--vk-link); }

/* ── the governing-body hierarchy (SITE-2, restyled) ────────────────── */
.vk-tree, .vk-tree-children { list-style: none; margin: 0; padding-inline-start: 0; }
.vk-tree > .vk-member + .vk-member { margin-block-start: 1rem; }
.vk-tree-children {
    margin-inline-start: 1.1rem;
    padding-inline-start: 1.2rem;
    border-inline-start: 2px solid var(--vk-border);
}
.vk-member { margin-block-start: 0.6rem; }
.vk-member-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--vk-surface);
    border: 1px solid var(--vk-border);
    border-inline-start: 3px solid var(--vk-gold);
    border-radius: var(--vk-r);
    padding: 0.6rem 0.95rem;
    box-shadow: var(--vk-shadow-1);
}
.vk-member-photo {
    inline-size: 3rem;
    block-size: 3rem;
    border-radius: 50%;
    object-fit: cover;
    background: var(--vk-bg);
}
.vk-member-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vk-accent);
    color: var(--vk-accent-ink);
    font-weight: 700;
    font-size: 1.2rem;
}
.vk-member-text { display: inline-flex; flex-direction: column; }
.vk-member-name { font-weight: 700; }
.vk-member-designation { font-size: 0.88rem; }

/* ── forms (the one public form, floating labels) ───────────────────── */
.vk-form { max-width: 36rem; }
.vk-form .form-control { border-radius: var(--vk-r-sm); }
/* The honeypot: parked off the paint, never display:none (naive bots
 * skip hidden fields; this one stays "visible" to them). */
.vk-field-website {
    position: absolute;
    inset-inline-start: -9999px;
    block-size: 1px;
    overflow: hidden;
}

/* ── tables (documents, calendar, weekly darshan, past members) ─────── */
.vk-table-card {
    background: var(--vk-surface);
    border: 1px solid var(--vk-border);
    border-radius: var(--vk-r);
    box-shadow: var(--vk-shadow-1);
    overflow: hidden;
    overflow-x: auto;      /* wide tables scroll inside, never the page */
}
.vk-table-card .table { margin-block-end: 0; }
.vk-table-card .table th {
    color: var(--vk-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}
.vk-table-card .table th, .vk-table-card .table td {
    padding: 0.6rem 0.9rem;
    text-align: start;
}
.vk-seva-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.vk-utsav-date-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── footer: the brand band + multi-column deep surface (brief §3 +
 * CEO 2026-08-26). The band speaks the staff login stage's imagery
 * language — the sunrise plate under a deep theme-toned veil (a raster
 * alone would fight the six themes; the veil keeps every theme's own
 * deep). The lockup sits on a light plate because its navy dies on a
 * dark field (the login stage's own recorded lesson). Without
 * vaikunth_theme installed the gradient alone paints the band. ──────── */
.vk-footer {
    background: var(--vk-deep);
    color: var(--vk-deep-ink);
    padding-block: 0 1.4rem;
    margin-block-start: 3rem;
}
.vk-footer-brandband {
    background:
        linear-gradient(to bottom,
            color-mix(in srgb, var(--vk-deep) 76%, transparent),
            color-mix(in srgb, var(--vk-deep) 94%, transparent) 88%,
            var(--vk-deep)),
        var(--vk-deep) url('/vaikunth_site/static/img/footer-band.jpg');
    background-size: auto, cover;
    /* footer-band.jpg is the login plate's temple-and-water zone, CROPPED
     * below the artwork's own baked lockup (a %-position slice re-exposed
     * it at tablet aspect ratios — the double-logo trap, deterministically
     * closed at the asset). Derivative of the product's own artwork,
     * generated from vaikunth_theme's vaikunth-login-2.jpg.
     *
     * VK-CAP-DARSHAN-NOTICE (CEO, 2026-08-26): the imagery anchors to the
     * TOP of the asset — its 40%-down slice cropped the shikhara and its
     * flag out of the band. `left top` keeps the temple itself when a
     * narrow viewport must crop horizontally (the temple lives in the
     * asset's left third); on wider viewports the full width shows and
     * the anchor is invisible. */
    background-position: center, left top;
    background-repeat: no-repeat;
    padding-block: 2.4rem 1.1rem;
}
/* SITE-5c (CEO, 2026-08-26, superseding SITE-5b's bottom-right sign-off):
 * the band is pure imagery — nothing sits on it; the container only holds
 * the height open so the background breathes. VK-CAP-DARSHAN-NOTICE: the
 * height now scales with the viewport so the temple — shikhara to
 * waterline — is FULLY visible in the cover slice, not a 40%-band of it. */
.vk-footer-brandband .container-xl {
    min-height: clamp(9rem, 24vw, 20rem);
}
/* The sign-off plate now LEADS the identity column (start-aligned, first
 * in reading order — the CEO's swap), still ONE anchor to frae.ai:
 * aria-labelled, visible focus ring, and a subtle hover — a sign-off,
 * not a button. Size unchanged from the approved 5.25rem cap. */
.vk-footer-signoff {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: var(--vk-r-sm);
    margin-block-end: 0.9rem;
}
.vk-footer-signoff:focus-visible {
    outline: 2px solid var(--vk-gold);
    outline-offset: 5px;
}
.vk-footer-lockup {
    inline-size: min(5.25rem, 30%);
    background: #FFFFFF;
    border-radius: var(--vk-r-sm);
    padding: 0.45rem 0.6rem;
    box-shadow: var(--vk-shadow-1);
    transition: box-shadow 0.18s ease;
}
.vk-footer-signoff:hover .vk-footer-lockup { box-shadow: var(--vk-shadow-2); }
.vk-footer-productline {
    margin-block: 0;
    color: var(--vk-deep-ink);
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    text-align: start;
}
.vk-footer-frae {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.vk-footer-signoff:hover .vk-footer-productline,
.vk-footer-signoff:focus-visible .vk-footer-productline { color: var(--vk-gold); }
@media (prefers-reduced-data: reduce) {
    .vk-footer-brandband { background: var(--vk-deep); }
}
.vk-footer-columns { padding-block-start: 2.5rem; }
/* SITE-5c: the society name (diya and all) now leads the REACH US column,
 * above the location — sized for the narrower column. Scoped under
 * .vk-footer so the deep-ink wins the `.vk-footer p` muted rule. */
.vk-footer .vk-footer-brandline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-size: 1.05rem;
    color: var(--vk-deep-ink);
    margin-block: 0 0.7rem;
}
.vk-footer-brandline svg { color: var(--vk-gold); flex: none; }
/* VK-CAP-DARSHAN-NOTICE (CEO, 2026-08-26): the lockup column moved LAST —
 * after Reach us; the identity column now opens with the trust's own
 * tagline, given a little serif presence so the column does not read as
 * an afterthought (the society NAME stays leading Reach us, per 5c). */
.vk-footer .vk-footer-tagline {
    font-family: 'Vaikunth Serif', 'Vaikunth Sans', serif;
    font-size: 1.05rem;
    color: var(--vk-deep-ink);
    margin-block: 0 0.6rem;
}
.vk-footer-madeby { display: flex; }
.vk-footer-madeby .vk-footer-signoff { margin-block-end: 0; }
@media (min-width: 768px) {
    .vk-footer-madeby { justify-content: flex-end; }
    .vk-footer-madeby .vk-footer-signoff { align-items: flex-end; }
    .vk-footer-madeby .vk-footer-productline { text-align: end; }
}

/* ── the darshan notice sheets (VK-CAP-DARSHAN-NOTICE) — the 2021
 * management sheet in the site's own language: sections as ruled tables,
 * the ACTIVE notice wearing the accent, the signature signing off. ──── */
.vk-notice-sheet-active {
    border-color: var(--vk-accent);
    box-shadow: 0 0 0 1px var(--vk-accent), var(--vk-shadow-1);
}
.vk-notice-sec {
    font-size: 1rem;
    margin-block: 0.9rem 0.45rem;
}
.vk-notice-sec-sub {
    font-family: 'Vaikunth Sans', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vk-muted);
    margin-block: 0.9rem 0.45rem;
}
.vk-notice-signature {
    text-align: end;
    font-style: italic;
    color: var(--vk-muted);
    margin-block: 0.9rem 0;
}
.vk-notice-past { margin-block-start: 1.2rem; }
.vk-notice-past summary {
    cursor: pointer;
    color: var(--vk-muted);
    font-size: 0.9rem;
}
.vk-past-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.vk-past-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.8rem;
    justify-content: space-between;
    padding-block: 0.4rem;
    border-block-start: 1px solid var(--vk-border);
}
.vk-darshan-sec { margin-block: 0.55rem 0.1rem; }
.vk-footer h3 {
    font-family: 'Vaikunth Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vk-deep-muted);
    margin-block: 0 0.9rem;
}
.vk-footer p { color: var(--vk-deep-muted); font-size: 0.92rem; }
.vk-footer-links { list-style: none; margin: 0; padding: 0; }
.vk-footer-links li { margin-block-end: 0.45rem; }
.vk-footer a { color: var(--vk-deep-muted); text-decoration: none; }
.vk-footer a:hover, .vk-footer a:focus-visible {
    color: var(--vk-deep-ink);
    text-decoration: underline;
}
.vk-footer-contact { list-style: none; margin: 0; padding: 0; color: var(--vk-deep-muted); font-size: 0.92rem; }
.vk-footer-contact li { display: flex; gap: 0.5rem; margin-block-end: 0.45rem; }
.vk-footer-contact svg { flex: none; translate: 0 4px; color: var(--vk-gold); }
.vk-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    border-block-start: 1px solid color-mix(in srgb, var(--vk-deep-ink) 16%, transparent);
    margin-block-start: 2.2rem;
    padding-block-start: 1.1rem;
    font-size: 0.85rem;
    color: var(--vk-deep-muted);
}
.vk-footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }

/* ── scroll-reveal: gentle, once, inert under reduced motion ────────── */
/* Hidden state exists ONLY when the script is live (html.vk-js) AND the
 * visitor has no reduced-motion preference — no JS, no hiding; reduced
 * motion, no motion (brief §3: an institution, not a fairground). */
@media (prefers-reduced-motion: no-preference) {
    .vk-js .vk-reveal {
        opacity: 0;
        translate: 0 12px;
        transition: opacity 0.4s ease-out, translate 0.4s ease-out;
    }
    .vk-js .vk-reveal.vk-in { opacity: 1; translate: 0 0; }
    /* The gallery lightbox's fade — motion is opt-in here too. */
    .vk-lightbox[open] { animation: vk-lb-in 160ms ease-out; }
    @keyframes vk-lb-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .vk-lift, .vk-lift:hover, .vk-lift:focus-within {
        transition: none;
        translate: none;
    }
    .vk-header, .vk-header::before { transition: none; }
}

/* ── the 404 and small furniture ────────────────────────────────────── */
.vk-empty-note { color: var(--vk-muted); }
.vk-login-back { text-align: center; padding-block: 0.8rem; }

/* ── quiet empty states ─────────────────────────────────────────────── */
.vk-empty-note {
    text-align: center;
    padding-block: 2.5rem;
}
