/* =========================================================
   SCSST Nairobi Website Stylesheet
   Theme: Maroon / Gold / Cream
   Clean version - no duplicated sections
   ========================================================= */

/* ---------- Global ---------- */
:root {
    --maroon-dark: #3b0714;
    --maroon: #5b0f1f;
    --maroon-light: #8b1e35;
    --gold: #d4af37;
    --gold-light: #f7d774;
    --cream: #fffaf0;
    --cream-dark: #f8eedc;
    --white: #ffffff;
    --text-dark: #222222;
    --text-muted: #777777;
    --shadow-soft: 0 12px 30px rgba(0,0,0,0.12);
    --shadow-strong: 0 22px 55px rgba(0,0,0,0.28);
}

/* Shared accessibility and content components */
.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 9999;
    padding: .8rem 1rem;
    border-radius: .65rem;
    color: #fff;
    background: #2f0713;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #d8ad50; outline-offset: 3px; }
.section-kicker { color: #8b2240; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.empty-state { padding: clamp(2.5rem, 7vw, 5rem) 1.5rem; border: 1px solid rgba(91,16,38,.12); border-radius: 1.5rem; background: #fff; text-align: center; box-shadow: 0 16px 45px rgba(45,15,24,.07); }
.empty-state > i { display: block; margin-bottom: 1rem; color: #b78932; font-size: 2.6rem; }
.content-card-image { width: 100%; height: 260px; object-fit: cover; }
.content-intro, .donation-intro { max-width: 780px; margin-inline: auto; }
.image-placeholder { min-height: 260px; display: grid; place-items: center; color: #8a6c52; background: linear-gradient(135deg,#f8f2e7,#eee1cc); font-size: 3rem; }
.media-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: 1.15rem; background: #eee6da; box-shadow: 0 14px 35px rgba(46,19,27,.12); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-tile:hover img { transform: scale(1.04); }
.media-zoom { position: absolute; right: .85rem; bottom: .85rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(45,7,18,.78); backdrop-filter: blur(8px); }
.featured-darshan { overflow: hidden; border: 1px solid rgba(91,16,38,.12); border-radius: 1.8rem; background: #fff; box-shadow: 0 24px 65px rgba(45,15,24,.11); }
.featured-darshan-media { position: relative; min-height: 0; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(145deg,#2d0914,#6b1b34); }
.featured-darshan-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.featured-darshan-copy { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.photo-meta { color: #7a6f72; font-size: .88rem; }
.event-date { color: #81213d; font-weight: 800; }
.donation-method { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(91,16,38,.12); border-radius: 1.5rem; background: #fff; box-shadow: 0 16px 45px rgba(45,15,24,.08); }
.method-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1rem; border-radius: 1rem; color: #5b1026; background: #f3dfaa; font-size: 1.45rem; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(91,16,38,.1); }
.detail-row:last-child { border-bottom: 0; }
.detail-row span { min-width: 0; display: grid; }
.detail-row small { color: #776d71; }
.detail-row strong { overflow-wrap: anywhere; }
.copy-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid rgba(91,16,38,.18); border-radius: .7rem; color: #5b1026; background: #fffaf1; font-weight: 700; }

/* Scheduled public announcements with optional live timer */
.public-announcements { padding: 1.25rem 0; color: #fff; background: linear-gradient(130deg,#24050e,#64132c 55%,#2e0713); }
.announcement-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.announcement-heading > span { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: .8rem; color: #3d0b19; background: linear-gradient(135deg,#f5dda0,#c99b43); }
.announcement-heading p, .announcement-heading h2 { margin: 0; }
.announcement-heading p { color: #f2d98e; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.announcement-heading h2 { font-size: 1.15rem; }
.announcement-public-list { display: grid; gap: .8rem; }
.announcement-public-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.25rem; padding: 1rem 1.15rem; border: 1px solid rgba(244,217,149,.25); border-radius: 1rem; background: rgba(255,255,255,.075); backdrop-filter: blur(10px); }
.announcement-public-copy h3 { margin: 0 0 .3rem; color: #fff4d1; font-size: 1rem; }
.announcement-public-copy p { margin: 0; color: rgba(255,255,255,.84); font-size: .9rem; }
.announcement-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .65rem; color: #f2d98e; font-weight: 800; text-decoration: none; }
.announcement-countdown { min-width: 285px; }
.announcement-countdown > p { margin: 0 0 .35rem; color: #f2d98e; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.announcement-countdown > div { display: grid; grid-template-columns: repeat(4,1fr); gap: .35rem; }
.announcement-countdown span { min-width: 3.5rem; padding: .45rem .25rem; border-radius: .65rem; background: rgba(0,0,0,.22); text-align: center; }
.announcement-countdown strong, .announcement-countdown small { display: block; }
.announcement-countdown strong { color: #fff4d1; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.announcement-countdown small { color: rgba(255,255,255,.7); font-size: .62rem; text-transform: uppercase; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease var(--reveal-delay,0ms), transform .65s ease var(--reveal-delay,0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.ng-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 767.98px) {
    .temple-brand-copy small { display: none; }
    .announcement-public-card { grid-template-columns: 1fr; }
    .announcement-countdown { min-width: 0; }
    .featured-darshan-image { height: 100%; }
    .featured-darshan-copy { height: auto; padding: 2rem 1.4rem 2.25rem; }
    .detail-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--cream);
    font-family: Arial, sans-serif;
    color: var(--text-dark);
}

a {
    transition: 0.3s ease;
}

img {
    max-width: 100%;
}

/* ---------- Top Mini Bar ---------- */
.top-mini-bar {
    background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
    color: var(--gold-light);
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(212,175,55,0.35);
}

.top-contact {
    font-size: 13px;
    color: #fff4c2;
}

/* ---------- Navbar ---------- */
.temple-navbar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    border-bottom: 3px solid var(--gold);
    padding: 12px 0;
    z-index: 999;
}

.temple-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 70px;
    height: auto;
    object-fit: contain;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.brand-title {
    display: block;
    color: var(--maroon);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.5px;
}

.temple-brand small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.temple-navbar .nav-link {
    color: var(--maroon-dark) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 14px !important;
    position: relative;
}

.temple-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50px;
    transform: scaleX(0);
    transition: 0.3s ease;
}

.temple-navbar .nav-link:hover,
.temple-navbar .active-link {
    color: var(--maroon-light) !important;
}

.temple-navbar .nav-link:hover::after,
.temple-navbar .active-link::after {
    transform: scaleX(1);
}

.nav-donate-btn {
    background: linear-gradient(135deg, var(--gold), #f5d76e);
    color: var(--maroon-dark);
    font-weight: 900;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 18px rgba(212,175,55,0.35);
    display: inline-block;
}

.nav-donate-btn:hover,
.nav-donate-btn.donate-active {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    transform: translateY(-2px);
}

.custom-toggler {
    border: 2px solid var(--gold);
    padding: 6px 9px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Announcement Ticker ---------- */
.announcement-wrapper {
    display: flex;
    align-items: center;
    background: var(--maroon);
    color: var(--white);
    overflow: hidden;
    position: sticky;
    top: 88px;
    z-index: 998;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.announcement-label {
    background: var(--gold);
    color: var(--maroon-dark);
    font-weight: 900;
    padding: 12px 20px;
    white-space: nowrap;
}

.announcement-ticker {
    flex: 1;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: ticker 50s linear infinite;
}

.announcement-item {
    margin-right: 100px;
    font-size: 15px;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ---------- Hero ---------- */
.home-hero {
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url('../images/temple.webp') center center / cover no-repeat;
    min-height: 100vh;
    color: var(--white);
    position: relative;
}

.home-hero-overlay {
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-logo {
    max-height: 120px;
}

.home-hero h1,
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
}

.home-hero h3 {
    font-size: 2rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f4c542;
}

/* ---------- Buttons ---------- */
.btn-gold {
    background: var(--gold);
    color: var(--maroon-dark);
    font-weight: 800;
    border: none;
}

.btn-gold:hover {
    background: #b99221;
    color: var(--white);
}

/* ---------- General Sections ---------- */
.section-padding {
    padding: 80px 0;
}

.bg-cream {
    background: var(--cream-dark);
}

.bg-maroon {
    background: var(--maroon);
}

.section-title h2 {
    color: var(--maroon);
    font-weight: 800;
}

.section-title p {
    color: var(--text-muted);
}

.page-header {
    background:
        linear-gradient(rgba(91,15,31,0.85), rgba(91,15,31,0.85)),
        url('../images/temple.webp') center / cover no-repeat;
    padding: 90px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
}

/* ---------- Cards ---------- */
.event-card,
.darshan-card,
.latest-darshan,
.contact-card,
.donation-card,
.scripture-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

.event-card h4,
.darshan-card h5,
.contact-card h3,
.donation-card h2,
.donation-card h4,
.scripture-card h4 {
    color: var(--maroon);
    font-weight: 800;
}

.contact-card,
.donation-card,
.scripture-card {
    border-top: 5px solid var(--gold);
}

.timing-card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px;
    border-top: 5px solid var(--gold);
    height: 100%;
    text-align: center;
}

.timing-card h4 {
    color: var(--maroon);
    font-weight: 800;
}

.timing-card h3 {
    color: var(--gold);
    font-weight: 900;
}

.feature-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
}

.feature-box h4 {
    color: var(--gold);
    font-weight: 800;
}

/* ---------- Gallery / Darshan Images ---------- */
.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-box:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 18px;
    background: var(--white);
}

.gallery-info h5 {
    color: var(--maroon);
    font-weight: 800;
    margin-bottom: 5px;
}

.gallery-info p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.gallery-detail-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.darshan-detail-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* ---------- Donation Strip ---------- */
.donation-strip {
    background:
        linear-gradient(rgba(91,15,31,0.9), rgba(91,15,31,0.9)),
        url('../images/temple.webp') center / cover no-repeat;
    color: var(--white);
    padding: 80px 0;
}

.donation-strip h2 {
    font-weight: 900;
}

/* =========================================================
   Special Event Countdown Slider - High-End Professional Version
   Fits seamlessly in one screen fold on all device types
   ========================================================= */
.luxury-countdown-slider {
    position: relative;
    background: radial-gradient(circle at center, #2e0811 0%, #150206 100%);
    padding: 0;
    overflow: hidden;
    height: calc(100vh - 136px); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-slider-wrap {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.luxury-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
    width: 100%;
    height: 100%;
}

.luxury-countdown-card {
    position: relative;
    width: 100%;
    height: 90%;
    margin: 0 24px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    overflow: hidden;
    background: 
        linear-gradient(180deg, rgba(30, 3, 8, 0.85) 0%, rgba(15, 1, 4, 0.95) 100%),
        url("../images/countdown-bg.webp") center center / cover no-repeat;
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.8),
        inset 0 0 100px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-countdown-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.15), transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(139, 30, 53, 0.2), transparent 35%);
    z-index: 1;
}

.luxury-bg-temple {
    position: absolute;
    right: 28px;
    top: 35px;
    bottom: 28px;
    width: 38%;
    background: url("../images/countdown-bg.webp") right center / cover no-repeat;
    opacity: 0.18;
    filter: sepia(80%) saturate(120%);
    z-index: 1;
}

.luxury-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    padding: 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5vh;
}

.luxury-top-ornament {
    color: var(--gold);
    letter-spacing: 6px;
    font-size: clamp(11px, 1.2vh, 14px);
    opacity: 0.75;
    font-weight: 500;
}

.luxury-label {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: clamp(12px, 1.4vh, 15px);
    font-weight: 700;
    opacity: 0.9;
}

.luxury-event-title {
    font-family: 'Cinzel', Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 4.4vh, 46px);
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    max-width: 880px;
    margin: 0 auto;
    color: #ffd76b;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.luxury-date-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(212, 175, 55, 0.07);
    color: #fff4c2;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: clamp(12px, 1.5vh, 15px);
    font-weight: 600;
    margin: 5px auto 15px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.luxury-divider {
    width: 1px;
    height: 14px;
    background: rgba(212, 175, 55, 0.4);
}

.luxury-timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    width: 100%;
    margin: 10px auto;
}

.luxury-time-box {
    position: relative;
    background: linear-gradient(135deg, rgba(54, 7, 17, 0.6) 0%, rgba(26, 2, 7, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.luxury-time-box:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.luxury-time-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.3);
}

.luxury-time-box h2 {
    font-family: 'Cinzel', Georgia, serif;
    color: #ffffff;
    font-size: clamp(28px, 4.6vh, 44px);
    line-height: 1;
    font-weight: 700;
    margin: 0;
}

.luxury-time-box p {
    color: var(--gold-light);
    font-size: clamp(10px, 1.1vh, 11px);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 6px 0 0;
    font-weight: 600;
    opacity: 0.8;
}

.luxury-footer-line {
    max-width: 600px;
    height: 1px;
    margin: 10px auto;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
}

.luxury-footer-temple {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 2px;
    opacity: 0.8;
}

.luxury-footer-text {
    color: #eadfdd;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(9px, 1vh, 11px);
    opacity: 0.7;
}

.luxury-cta {
    display: inline-block;
    margin-top: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--maroon-dark);
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 14px 30px rgba(212,175,55,0.25);
}

.luxury-cta:hover {
    background: var(--white);
    color: var(--maroon);
}

.luxury-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(21, 2, 6, 0.8);
    color: var(--gold-light);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.luxury-arrow:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.luxury-prev { left: 40px; }
.luxury-next { right: 40px; }

.luxury-dots {
    position: absolute;
    bottom: 3.5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 31;
    display: flex;
    align-items: center;
    gap: 10px;
}

.luxury-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.luxury-dot.active {
    background: var(--gold);
    width: 20px;
    border-radius: 4px;
}

.luxury-arrived {
    grid-column: 1 / -1;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 36px;
    padding: 40px;
}

/* ---------- About Page ---------- */
.about-hero {
    background:
        linear-gradient(rgba(35,5,10,0.70), rgba(35,5,10,0.80)),
        url('../images/temple.webp') center center / cover no-repeat;
    color: var(--white);
}

.about-hero-overlay {
    padding: 120px 20px;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #f5d76e);
    color: var(--maroon-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 900;
    margin-bottom: 20px;
}

.about-hero h1 {
    font-size: 58px;
    font-weight: 900;
}

.about-hero p {
    font-size: 20px;
    color: #ffe9a8;
}

.about-intro h2,
.about-story h2 {
    color: var(--maroon);
    font-weight: 900;
    margin-bottom: 20px;
}

.about-intro p,
.about-story p,
.about-final-text {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.about-image-card {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    border: 5px solid var(--gold);
}

.about-image-card img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.about-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    text-align: center;
    border-top: 5px solid var(--gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}

.about-card:hover {
    transform: translateY(-7px);
}

.about-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-card h4 {
    color: var(--maroon);
    font-weight: 900;
}

.about-card p {
    color: #666;
    line-height: 1.7;
}

.about-highlight-box {
    background:
        radial-gradient(circle at top left, rgba(212,175,55,0.25), transparent 40%),
        linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    padding: 45px;
    border-radius: 28px;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 45px rgba(91,15,31,0.25);
}

.about-highlight-box h3 {
    color: var(--gold);
    font-weight: 900;
    font-size: 34px;
}

.about-highlight-box p {
    color: #fff4c2;
}

.about-highlight-box span {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold);
    font-weight: 900;
}

.about-stats {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    padding: 60px 0 35px;
    border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
}

.about-stats h2 {
    color: var(--gold);
    font-weight: 900;
    font-size: 44px;
}

.about-stats p {
    color: #fff4c2;
    font-weight: 700;
}

.about-final-text {
    max-width: 900px;
    margin: auto;
}

.jay-text {
    color: var(--maroon);
    font-weight: 900;
    margin-top: 30px;
}

/* ---------- Futuristic Timeline ---------- */
.future-timeline-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(212,175,55,0.12), transparent 28%),
        linear-gradient(135deg, #24020a, var(--maroon) 55%, #26020a);
    color: var(--white);
}

.future-timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.55;
}

.future-title,
.future-timeline {
    position: relative;
    z-index: 2;
}

.future-title span {
    display: inline-block;
    background: rgba(212,175,55,0.14);
    color: var(--gold-light);
    border: 1px solid rgba(212,175,55,0.45);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.future-title h2 {
    font-size: 46px;
    font-weight: 900;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.future-title p {
    color: #fff4c2;
    font-weight: 600;
    margin-bottom: 55px;
}

.future-timeline {
    max-width: 1050px;
    margin: auto;
    position: relative;
}

.future-timeline::before {
    content: "";
    position: absolute;
    left: 210px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(transparent, var(--gold), #f8dc78, var(--gold), transparent);
    box-shadow: 0 0 22px rgba(212,175,55,0.7);
}

.future-item {
    display: grid;
    grid-template-columns: 165px 90px 1fr;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.future-year {
    background: linear-gradient(135deg, var(--gold), #f8dc78);
    color: var(--maroon-dark);
    font-weight: 900;
    text-align: center;
    padding: 18px 14px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(212,175,55,0.22);
    border: 1px solid rgba(255,255,255,0.35);
}

.future-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f8dc78;
    border: 5px solid var(--maroon);
    box-shadow:
        0 0 0 4px rgba(212,175,55,0.35),
        0 0 25px rgba(212,175,55,0.95);
    justify-self: center;
    z-index: 3;
}

.future-card {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,175,55,0.42);
    border-radius: 24px;
    padding: 24px 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    overflow: hidden;
}

.future-card:hover {
    transform: translateX(8px);
    border-color: #f8dc78;
    box-shadow: 0 24px 55px rgba(0,0,0,0.38);
}

.future-card h4 {
    color: var(--gold-light);
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 10px;
}

.future-card p {
    margin: 0;
    color: #f4e7df;
    line-height: 1.75;
    font-size: 15px;
}

/* ---------- Footer ---------- */
.premium-footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,0.18), transparent 35%),
        linear-gradient(135deg, #2b020d, var(--maroon) 55%, #26020a);
    color: var(--white);
    padding: 80px 0 25px;
    border-top: 5px solid var(--gold);
    overflow: hidden;
}

.premium-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.premium-footer .container {
    position: relative;
    z-index: 2;
}

.footer-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: var(--cream);
    border: 3px solid var(--gold);
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    margin-bottom: 18px;
}

.footer-brand-box h4 {
    color: var(--gold-light);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}

.footer-subtitle {
    color: #fff4c2;
    font-weight: 600;
    font-size: 14px;
}

.footer-text,
.footer-contact-item p {
    color: #eadfdd;
    line-height: 1.7;
    font-size: 15px;
}

.footer-heading {
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: var(--gold);
    border-radius: 50px;
    margin-top: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a,
.temple-footer a {
    color: #f3e7e4;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover,
.temple-footer a:hover {
    color: var(--gold);
    padding-left: 7px;
}

.footer-contact-item {
    margin-bottom: 16px;
}

.footer-contact-item strong {
    color: var(--gold-light);
    display: block;
    margin-bottom: 4px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 25px;
}

.footer-socials a {
    color: var(--maroon-dark);
    background: var(--gold);
    padding: 8px 13px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.footer-socials a:hover {
    background: var(--white);
    color: var(--maroon);
    transform: translateY(-2px);
}

.footer-donate-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #f5d76e);
    color: var(--maroon-dark);
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(212,175,55,0.25);
}

.footer-donate-btn:hover {
    background: var(--white);
    color: var(--maroon);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.8), transparent);
    margin: 35px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #d8c7c3;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.admin-login-link {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    text-decoration: none;
}

.admin-login-link:hover {
    color: var(--gold);
}

/* ---------- Admin Dashboard ---------- */
.admin-page-title {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 28px;
    box-shadow: 0 18px 45px rgba(91,15,31,0.25);
    border: 1px solid rgba(212,175,55,0.45);
}

.admin-page-title h2 {
    font-weight: 900;
    margin: 0;
    font-size: 34px;
}

.admin-page-title p {
    margin: 8px 0 0;
    color: #ffe9a8;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.dash-card {
    background: var(--white);
    border-radius: 24px;
    padding: 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee2bf;
}

.dash-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), transparent 45%);
    pointer-events: none;
}

.dash-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 6px;
    background: linear-gradient(var(--gold), var(--maroon-light));
    border-radius: 50px;
}

.dash-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(91,15,31,0.18);
}

.dash-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5cf;
    border: 2px solid var(--gold);
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(212,175,55,0.22);
    position: relative;
    z-index: 2;
}

.dash-card > div:last-child {
    position: relative;
    z-index: 2;
}

.dash-card span {
    color: var(--maroon);
    font-weight: 900;
    font-size: 15px;
}

.dash-card h3 {
    font-size: 38px;
    font-weight: 900;
    color: #111;
    margin: 6px 0;
}

.dash-card small {
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.dash-card a {
    display: inline-block;
    background: #111827;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.dash-card a:hover {
    background: var(--gold);
    color: var(--maroon-dark);
}

.quick-panel {
    background: var(--white);
    margin-top: 32px;
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--gold);
}

.quick-panel h4 {
    color: var(--maroon);
    font-weight: 900;
    margin-bottom: 18px;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-actions a {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(91,15,31,0.25);
}

.quick-actions a:hover {
    background: linear-gradient(135deg, var(--gold), #f5d76e);
    color: var(--maroon-dark);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .luxury-countdown-slider {
        height: auto;
        min-height: calc(100vh - 136px);
        padding: 40px 0;
    }
    .luxury-countdown-card {
        height: auto;
        padding: 40px 0;
    }
    .luxury-timer-grid {
        gap: 12px;
    }
    .luxury-prev { left: 20px; }
    .luxury-next { right: 20px; }
}

@media (max-width: 768px) {
    .top-mini-bar {
        text-align: center;
        font-size: 12px;
    }

    .top-mini-bar .container {
        flex-direction: column;
        gap: 4px;
    }

    .top-contact {
        display: none;
    }

    .brand-logo {
        width: 54px;
    }

    .brand-title {
        font-size: 19px;
    }

    .temple-brand small {
        font-size: 10px;
    }

    .navbar-collapse {
        background: var(--white);
        margin-top: 14px;
        padding: 15px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    .temple-navbar .nav-link {
        padding: 12px 10px !important;
        border-bottom: 1px solid #f1e4c0;
    }

    .nav-donate-btn {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }

    .announcement-wrapper {
        top: 74px;
    }

    .announcement-label {
        padding: 10px 12px;
        font-size: 12px;
    }

    .announcement-ticker {
        height: 42px;
    }

    .announcement-item {
        font-size: 13px;
        margin-right: 60px;
    }

    .home-hero,
    .home-hero-overlay {
        min-height: 78vh !important;
    }

    .home-hero-overlay {
        padding: 40px 15px !important;
    }

    .hero-logo {
        max-height: 70px !important;
    }

    .home-hero h1,
    .hero-title {
        font-size: 28px !important;
        line-height: 1.12 !important;
        max-width: 92vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
        line-height: 1.35 !important;
        max-width: 90vw !important;
        margin: 10px auto !important;
    }

    .home-hero h3 {
        font-size: 16px !important;
    }

    .home-hero .btn {
        display: block !important;
        width: 90% !important;
        margin: 8px auto !important;
    }

    .page-header {
        padding: 55px 15px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .section-padding {
        padding: 45px 0;
    }

    .gallery-img,
    .gallery-detail-img,
    .darshan-detail-img {
        height: 230px;
    }

    .luxury-countdown-slider {
        height: auto;
        min-height: calc(100vh - 74px);
        padding: 20px 0;
    }

    .luxury-countdown-card {
        margin: 0 12px;
        border-radius: 16px;
    }

    .luxury-inner {
        padding: 10px 20px;
    }

    .luxury-event-title {
        font-size: 26px;
    }

    .luxury-date-pill {
        flex-direction: column;
        gap: 6px;
        padding: 10px 20px;
        border-radius: 12px;
    }

    .luxury-divider {
        display: none;
    }

    .luxury-timer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 340px;
    }

    .luxury-time-box {
        padding: 14px 8px;
    }

    .luxury-arrow {
        display: none;
    }

    .about-hero-overlay {
        padding: 75px 15px;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-image-card img {
        height: 280px;
    }

    .about-highlight-box {
        padding: 30px;
    }

    .about-highlight-box h3 {
        font-size: 26px;
    }

    .future-timeline-section {
        padding: 70px 14px;
    }

    .future-title h2 {
        font-size: 34px;
    }

    .future-title p {
        margin-bottom: 35px;
    }

    .future-timeline::before {
        left: 20px;
    }

    .future-item {
        grid-template-columns: 42px 1fr;
        gap: 14px;
        align-items: start;
        margin-bottom: 26px;
    }

    .future-year {
        grid-column: 2;
        width: fit-content;
        padding: 10px 16px;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .future-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-top: 9px;
        width: 20px;
        height: 20px;
    }

    .future-card {
        grid-column: 2;
        padding: 22px;
        border-radius: 20px;
    }

    .future-card:hover {
        transform: none;
    }

    .future-card h4 {
        font-size: 21px;
    }

    .future-card p {
        font-size: 14px;
    }

    .premium-footer {
        text-align: center;
        padding: 55px 0 25px;
    }

    .footer-heading::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .admin-page-title {
        padding: 24px;
        text-align: center;
    }

    .admin-page-title h2 {
        font-size: 28px;
    }

    .dash-card {
        min-height: auto;
    }

    .quick-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .home-hero h1,
    .hero-title {
        font-size: 26px !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
    }
}

/* Extracted from Includes\footer.php */
/* =========================================================
       SCSST PREMIUM FOOTER
       Responsive from small mobile screens to 4K displays
       ========================================================= */

    .premium-footer,
    .premium-footer * {
        box-sizing: border-box;
    }

    .premium-footer {
        --footer-maroon: #3b0610;
        --footer-maroon-light: #681321;
        --footer-gold: #d9aa34;
        --footer-gold-light: #f9dc83;
        --footer-cream: #fff7df;
        --footer-text: rgba(255, 255, 255, 0.78);
        --footer-border: rgba(245, 208, 111, 0.20);

        position: relative;
        isolation: isolate;
        overflow: hidden;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff;
        background:
            radial-gradient(circle at 9% 20%, rgba(239, 190, 68, 0.14), transparent 25rem),
            radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.06), transparent 22rem),
            linear-gradient(135deg, #2a0309 0%, var(--footer-maroon) 44%, var(--footer-maroon-light) 100%);
        border-top: 1px solid rgba(222, 174, 52, 0.72);
    }

    .premium-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        opacity: 0.06;
        pointer-events: none;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, #000, transparent 88%);
    }

    .premium-footer::after {
        content: "";
        position: absolute;
        inset: auto -15% -55% auto;
        z-index: -1;
        width: min(52vw, 720px);
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(237, 190, 75, 0.13), transparent 66%);
        pointer-events: none;
    }

    .footer-top-wave {
        position: absolute;
        top: -1px;
        left: 0;
        width: 100%;
        height: clamp(18px, 2.5vw, 34px);
        overflow: hidden;
        pointer-events: none;
    }

    .footer-top-wave::before {
        content: "";
        position: absolute;
        left: -5%;
        bottom: 45%;
        width: 110%;
        height: 100%;
        border-radius: 0 0 50% 50%;
        background: #fffdf8;
        box-shadow: 0 5px 0 var(--footer-gold);
    }

    .premium-footer > .container {
        width: min(92%, 1720px);
        max-width: none;
        margin-inline: auto;
        padding-top: clamp(58px, 5vw, 82px);
        padding-bottom: clamp(18px, 2vw, 26px);
    }

    .premium-footer .row {
        --bs-gutter-x: clamp(24px, 3vw, 54px);
        --bs-gutter-y: 12px;
        min-height: 0 !important;
        height: auto !important;
        align-items: flex-start;
    }

    .premium-footer .row > [class*="col-"] {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: clamp(22px, 2.5vw, 34px) !important;
    }

    .footer-brand-box {
        max-width: 500px;
    }

    /* The wrapper creates the circle. The image keeps its natural proportions. */
    .footer-logo-wrap {
        width: clamp(88px, 7vw, 116px);
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        margin-bottom: 22px;
        padding: clamp(7px, 0.7vw, 10px);
        overflow: hidden;
        border: clamp(2px, 0.18vw, 3px) solid var(--footer-gold);
        border-radius: 50%;
        background: linear-gradient(145deg, #fffef8, #f9edd0);
        box-shadow:
            0 15px 34px rgba(0, 0, 0, 0.30),
            inset 0 0 0 2px rgba(255, 255, 255, 0.76);
        transition:
            transform 0.4s cubic-bezier(.2, .8, .2, 1),
            box-shadow 0.4s ease;
    }

    .footer-logo-wrap:hover {
        transform: translateY(-5px) rotate(1.5deg);
        box-shadow:
            0 22px 42px rgba(0, 0, 0, 0.36),
            0 0 26px rgba(219, 172, 49, 0.20);
    }

    .premium-footer .footer-logo {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none;
    }

    .footer-brand-box h4 {
        max-width: 440px;
        margin: 0 0 11px;
        color: var(--footer-gold-light);
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.28rem, 1.45vw, 1.72rem);
        font-weight: 700;
        line-height: 1.25;
        text-wrap: balance;
    }

    .footer-subtitle {
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.90);
        font-size: clamp(0.74rem, 0.72vw, 0.86rem);
        font-weight: 700;
        letter-spacing: 0.055em;
        line-height: 1.5;
        text-transform: uppercase;
    }

    .footer-text,
    .footer-contact-item p {
        margin-bottom: 0;
        color: var(--footer-text);
        font-size: clamp(0.9rem, 0.82vw, 1rem);
        line-height: 1.75;
    }

    .footer-heading {
        position: relative;
        margin: 6px 0 28px;
        padding-bottom: 13px;
        color: #fff3c4;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.08rem, 1.08vw, 1.32rem);
        font-weight: 700;
    }

    .footer-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 48px;
        height: 2px;
        border-radius: 99px;
        background: linear-gradient(90deg, var(--footer-gold), transparent);
        box-shadow: 0 0 12px rgba(219, 172, 49, 0.50);
    }

    .footer-links {
        display: grid;
        gap: 11px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer-links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: var(--footer-text);
        font-size: clamp(0.9rem, 0.82vw, 1rem);
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .footer-links a::before {
        content: "›";
        color: var(--footer-gold-light);
        font-size: 1.2em;
        line-height: 1;
        transition: transform 0.25s ease;
    }

    .footer-links a:hover {
        color: #fff;
        transform: translateX(4px);
    }

    .footer-links a:hover::before {
        transform: translateX(2px);
    }

    .footer-contact-list {
        display: grid;
        gap: 19px;
    }

    .footer-contact-item {
        display: grid;
        grid-template-columns: 37px minmax(0, 1fr);
        gap: 12px;
        align-items: flex-start;
    }

    .footer-contact-icon {
        width: 37px;
        height: 37px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(241, 207, 115, 0.24);
        border-radius: 50%;
        color: var(--footer-gold-light);
        background: rgba(255, 255, 255, 0.06);
        box-shadow: inset 0 0 14px rgba(255, 225, 141, 0.04);
    }

    .footer-contact-content {
        min-width: 0;
    }

    .footer-contact-item strong {
        display: block;
        margin-bottom: 4px;
        color: #fff1be;
        font-size: 0.78rem;
        letter-spacing: 0.055em;
        text-transform: uppercase;
    }

    .footer-contact-item a {
        color: var(--footer-text);
        overflow-wrap: anywhere;
        text-decoration: none;
        transition: color 0.25s ease;
    }

    .footer-contact-item a:hover {
        color: #fff;
    }

    .footer-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 20px 0 24px;
    }

    .footer-socials a {
        min-width: 42px;
        height: 42px;
        padding: 0 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid rgba(245, 211, 119, 0.22);
        border-radius: 999px;
        color: #fff3c6;
        background: rgba(255, 255, 255, 0.065);
        backdrop-filter: blur(8px);
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        transition:
            transform 0.28s ease,
            border-color 0.28s ease,
            background 0.28s ease;
    }

    .footer-socials a:hover {
        color: #2d1700;
        border-color: transparent;
        background: linear-gradient(135deg, #f5d46e, #cc951e);
        transform: translateY(-3px);
    }

    .footer-donate-btn {
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        max-width: 100%;
        padding: 13px 21px;
        border: 1px solid #f6dc8d;
        border-radius: 999px;
        color: #2c1600;
        background: linear-gradient(135deg, #f6d56e, #cb9218);
        box-shadow: 0 12px 27px rgba(0, 0, 0, 0.22);
        font-size: clamp(0.79rem, 0.75vw, 0.9rem);
        font-weight: 900;
        letter-spacing: 0.02em;
        text-decoration: none;
        transition: transform 0.28s ease, filter 0.28s ease;
    }

    .footer-donate-btn::after {
        content: "";
        position: absolute;
        top: -80%;
        left: -45%;
        width: 32%;
        height: 260%;
        transform: rotate(20deg);
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
        transition: left 0.55s ease;
    }

    .footer-donate-btn:hover {
        color: #2c1600;
        transform: translateY(-3px);
        filter: brightness(1.04);
    }

    .footer-donate-btn:hover::after {
        left: 120%;
    }

    .footer-divider {
        width: 100%;
        height: 1px;
        margin: clamp(8px, 1.5vw, 18px) 0 16px;
        background: linear-gradient(90deg, transparent, var(--footer-border), transparent);
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
        align-items: center;
    }

    .footer-bottom p {
        margin: 0;
        color: rgba(255, 255, 255, 0.58);
        font-size: clamp(0.73rem, 0.69vw, 0.84rem);
        line-height: 1.55;
    }

    .footer-bottom p:last-child {
        text-align: right;
    }
@media (min-width: 1920px) {
        .premium-footer > .container {
            width: min(90%, 1840px);
        }
    }

    @media (min-width: 2560px) {
        .premium-footer > .container {
            width: min(88%, 2200px);
        }
    }

    @media (max-width: 991.98px) {
        .footer-brand-box {
            max-width: none;
        }

        .footer-bottom {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 767.98px) {
        .premium-footer > .container {
            width: min(90%, 680px);
            padding-top: 58px;
        }

        .footer-brand-box {
            text-align: center;
        }

        .footer-logo-wrap {
            margin-inline: auto;
        }

        .footer-brand-box h4 {
            margin-inline: auto;
        }

        .footer-heading {
            margin-top: 0;
        }
    }

    @media (max-width: 575.98px) {
        .premium-footer > .container {
            width: min(92%, 520px);
        }

        .footer-logo-wrap {
            width: 86px;
            padding: 7px;
        }

        .footer-bottom {
            grid-template-columns: 1fr;
            justify-items: center;
            text-align: center;
        }

        .footer-bottom p,
        .footer-bottom p:last-child {
            text-align: center;
        }

        .footer-contact-item {
            grid-template-columns: 34px minmax(0, 1fr);
        }

        .footer-contact-icon {
            width: 34px;
            height: 34px;
        }
    }


    /* =========================================================
       MOBILE + SMALL TABLET FOOTER REFINEMENT
       ========================================================= */

    @media (max-width: 767.98px) {
        .premium-footer {
            text-align: left !important;
        }

        .footer-top-wave {
            height: 15px;
        }

        .footer-top-wave::before {
            left: -15%;
            width: 130%;
            bottom: 52%;
            box-shadow: 0 3px 0 var(--footer-gold);
        }

        .premium-footer > .container {
            width: min(100% - 32px, 680px) !important;
            padding-top: 44px !important;
            padding-bottom: 20px !important;
        }

        .premium-footer .row {
            --bs-gutter-x: 0;
            --bs-gutter-y: 0;
            margin-inline: 0 !important;
        }

        .premium-footer .row > [class*="col-"] {
            width: 100% !important;
            max-width: 100% !important;
            margin-bottom: 0 !important;
            padding-inline: 0 !important;
        }

        .premium-footer .row > [class*="col-"]:not(:last-child) {
            padding-bottom: 28px !important;
            margin-bottom: 28px !important;
            border-bottom: 1px solid rgba(245, 211, 119, 0.14);
        }

        .footer-brand-box {
            max-width: 100%;
            text-align: left !important;
        }

        .footer-logo-wrap {
            width: 78px !important;
            margin: 0 0 18px !important;
            padding: 6px !important;
        }

        .footer-brand-box h4 {
            max-width: 100%;
            margin: 0 0 9px !important;
            font-size: clamp(1.24rem, 6.2vw, 1.55rem);
            line-height: 1.22;
            text-align: left !important;
        }

        .footer-subtitle {
            margin-bottom: 12px;
            font-size: 0.69rem;
            line-height: 1.55;
            letter-spacing: 0.035em;
            text-align: left !important;
        }

        .footer-text,
        .footer-contact-item p {
            font-size: 0.9rem;
            line-height: 1.65;
            text-align: left !important;
        }

        .footer-heading {
            margin: 0 0 20px !important;
            padding-bottom: 10px;
            font-size: 1.12rem;
            text-align: left !important;
        }

        .footer-heading::after {
            left: 0 !important;
            transform: none !important;
            width: 42px;
        }

        .footer-links {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px 18px;
        }

        .footer-links a {
            width: 100%;
            font-size: 0.9rem;
        }

        .footer-contact-list {
            gap: 16px;
        }

        .footer-contact-item {
            grid-template-columns: 34px minmax(0, 1fr);
            gap: 11px;
        }

        .footer-contact-icon {
            width: 34px;
            height: 34px;
            font-size: 0.85rem;
        }

        .footer-socials {
            gap: 8px;
            margin: 17px 0 20px;
        }

        .footer-socials a {
            min-width: 38px;
            height: 38px;
            padding: 0 11px;
            font-size: 0.78rem;
        }

        .footer-donate-btn {
            width: 100%;
            max-width: 310px;
            min-height: 44px;
            padding: 11px 17px;
        }

        .footer-divider {
            margin: 4px 0 15px !important;
        }

        .footer-bottom {
            display: flex !important;
            flex-direction: column;
            align-items: flex-start;
            gap: 7px;
            padding-right: 54px;
            text-align: left !important;
        }

        .footer-bottom p,
        .footer-bottom p:last-child {
            width: 100%;
            margin: 0;
            font-size: 0.7rem;
            line-height: 1.5;
            text-align: left !important;
        }
    }

    @media (max-width: 479.98px) {
        .premium-footer > .container {
            width: min(100% - 24px, 440px) !important;
            padding-top: 39px !important;
        }

        .footer-logo-wrap {
            width: 72px !important;
        }

        .footer-brand-box h4 {
            font-size: clamp(1.18rem, 6.6vw, 1.4rem);
        }

        .footer-subtitle {
            font-size: 0.64rem;
        }

        .footer-links {
            grid-template-columns: 1fr 1fr;
            gap: 9px 12px;
        }

        .footer-links a {
            font-size: 0.84rem;
        }

        .footer-socials a span {
            display: none;
        }

        .footer-socials a {
            width: 39px;
            padding: 0;
            border-radius: 50%;
        }
    }

    @media (max-width: 359.98px) {
        .premium-footer > .container {
            width: min(100% - 18px, 340px) !important;
        }

        .footer-links {
            grid-template-columns: 1fr;
        }

        .footer-brand-box h4 {
            font-size: 1.12rem;
        }

        .footer-subtitle {
            font-size: 0.6rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .premium-footer *,
        .premium-footer *::before,
        .premium-footer *::after {
            scroll-behavior: auto !important;
            animation-duration: 0.001ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.001ms !important;
        }
    }

/* =========================================================
   FINAL MOBILE FOOTER DESIGN
   Compact horizontal brand and balanced content cards
   ========================================================= */
@media (max-width: 767.98px) {
    .premium-footer {
        background:
            radial-gradient(circle at 50% -10%, rgba(230,181,53,.13), transparent 18rem),
            linear-gradient(180deg, #35050d 0%, #4b0a14 55%, #35050d 100%) !important;
    }

    .premium-footer > .container {
        width: min(100% - 24px, 560px) !important;
        padding-top: 34px !important;
        padding-bottom: 16px !important;
    }

    .premium-footer .row {
        margin: 0 !important;
        display: block !important;
    }

    .premium-footer .row > [class*="col-"] {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 0 12px !important;
        border: 0 !important;
    }

    .footer-brand-box {
        display: grid !important;
        grid-template-columns: 68px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 5px;
        align-items: center;
        max-width: none !important;
        padding: 15px !important;
        text-align: left !important;
        border: 1px solid rgba(248,220,135,.14);
        border-radius: 16px;
        background: rgba(255,255,255,.035);
        box-shadow: 0 12px 28px rgba(0,0,0,.12);
    }

    .footer-logo-wrap {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 68px !important;
        margin: 0 !important;
        padding: 5px !important;
    }

    .footer-brand-box h4 {
        grid-column: 2;
        margin: 0 !important;
        max-width: none !important;
        font-size: clamp(1.04rem, 5vw, 1.25rem) !important;
        line-height: 1.15 !important;
        text-align: left !important;
    }

    .footer-subtitle {
        grid-column: 2;
        margin: 0 !important;
        font-size: .56rem !important;
        line-height: 1.4 !important;
        letter-spacing: .02em !important;
        text-align: left !important;
    }

    .footer-brand-box .footer-text {
        grid-column: 1 / -1;
        margin-top: 8px !important;
        font-size: .79rem !important;
        line-height: 1.55 !important;
        text-align: left !important;
    }

    .footer-heading {
        margin: 0 0 15px !important;
        padding-bottom: 8px !important;
        font-size: 1rem !important;
        text-align: left !important;
    }

    .footer-heading::after {
        left: 0 !important;
        transform: none !important;
        width: 38px !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px 12px !important;
    }

    .footer-links a {
        padding: 7px 9px;
        border: 1px solid rgba(248,220,135,.10);
        border-radius: 10px;
        background: rgba(255,255,255,.025);
        font-size: .82rem !important;
    }

    .footer-contact-list {
        gap: 13px !important;
    }

    .footer-contact-item {
        grid-template-columns: 31px minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .footer-contact-icon {
        width: 31px !important;
        height: 31px !important;
        font-size: .76rem !important;
    }

    .footer-contact-item strong {
        font-size: .64rem !important;
    }

    .footer-contact-item p,
    .footer-contact-item a,
    .footer-text {
        font-size: .8rem !important;
        line-height: 1.55 !important;
    }

    .footer-socials {
        margin: 14px 0 16px !important;
        gap: 7px !important;
    }

    .footer-socials a {
        min-width: 37px !important;
        height: 37px !important;
        padding: 0 10px !important;
        font-size: .73rem !important;
    }

    .footer-donate-btn {
        width: 100% !important;
        min-height: 43px !important;
        padding: 10px 15px !important;
        font-size: .79rem !important;
    }

    .footer-divider {
        margin: 10px 0 13px !important;
    }

    .footer-bottom {
        display: block !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .footer-bottom p,
    .footer-bottom p:last-child {
        margin: 0 !important;
        font-size: .62rem !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }

    .footer-bottom p + p {
        margin-top: 4px !important;
    }
}

@media (max-width: 390px) {
    .premium-footer > .container {
        width: min(100% - 18px, 390px) !important;
    }

    .footer-brand-box {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 11px;
        padding: 13px !important;
    }

    .footer-logo-wrap {
        width: 60px !important;
    }

    .footer-brand-box h4 {
        font-size: 1rem !important;
    }

    .footer-subtitle {
        font-size: .52rem !important;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
    }

    .footer-socials a span {
        display: none;
    }

    .footer-socials a {
        width: 37px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }
}


/* =========================================================
   FINAL MOBILE ALIGNMENT FIX
   ========================================================= */
@media (max-width: 767.98px) {
    .footer-donate-btn {
        display: flex !important;
        width: min(100%, 320px) !important;
        max-width: 320px !important;
        min-height: 44px !important;
        margin: 18px auto 0 !important;
        padding: 11px 18px !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }

    .footer-donate-btn i,
    .footer-donate-btn span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .footer-bottom p,
    .footer-bottom p:last-child {
        width: 100% !important;
        text-align: center !important;
    }
}


/* Extracted from gallery.php */
.public-gallery {
            padding: 55px 0 70px;
        }

        .public-gallery .gallery-card {
            height: 100%;
            overflow: hidden;
            border: 1px solid rgba(82, 15, 32, 0.10);
            border-radius: 20px;
            background: #ffffff;
            box-shadow: 0 10px 30px rgba(55, 30, 20, 0.08);
            transition:
                transform 0.25s ease,
                box-shadow 0.25s ease;
        }

        .public-gallery .gallery-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 42px rgba(55, 30, 20, 0.14);
        }

        .public-gallery .gallery-cover-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: #eee8df;
        }

        .public-gallery .gallery-cover {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .public-gallery .gallery-card:hover .gallery-cover {
            transform: scale(1.045);
        }

        .public-gallery .gallery-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            gap: 12px;
            color: #6c1326;
            background:
                linear-gradient(
                    135deg,
                    #f8f3ea,
                    #e9dfd0
                );
            font-weight: 700;
        }

        .public-gallery .gallery-placeholder img {
            width: 72px;
            height: 72px;
            object-fit: contain;
            opacity: 0.70;
        }

        .public-gallery .photo-count {
            position: absolute;
            right: 13px;
            bottom: 13px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(36, 17, 22, 0.82);
            color: #ffffff;
            font-size: 0.78rem;
            font-weight: 700;
            backdrop-filter: blur(8px);
        }

        .public-gallery .gallery-content {
            padding: 20px;
        }

        .public-gallery .gallery-category {
            display: inline-block;
            margin-bottom: 10px;
            padding: 6px 10px;
            border-radius: 999px;
            background: #f8ecd0;
            color: #5b1021;
            font-size: 0.74rem;
            font-weight: 800;
        }

        .public-gallery .gallery-title {
            margin: 0;
            color: #2b2224;
            font-size: 1.08rem;
            font-weight: 800;
            line-height: 1.4;
        }

        .public-gallery .empty-state {
            padding: 60px 20px;
            border-radius: 20px;
            background: #ffffff;
            text-align: center;
            box-shadow: 0 10px 30px rgba(55, 30, 20, 0.07);
        }

        @media (max-width: 575.98px) {
            .public-gallery {
                padding: 35px 0 50px;
            }

            .public-gallery .gallery-content {
                padding: 17px;
            }
        }


/* SCSST CONSOLIDATED PUBLIC DESIGN */
/* Centralized homepage styles */
/* =========================================================
   SCSST UNIVERSAL RESPONSIVE SYSTEM
   320px phones to 4K / ultrawide screens
   ========================================================= */
:root {
    --maroon: #4c0712;
    --maroon-deep: #270207;
    --maroon-light: #7a1122;
    --gold: #d8aa35;
    --gold-light: #ffe6a0;
    --cream: #fffaf0;
    --ink: #17130f;
    --muted: #766b60;
    --page-gutter: clamp(14px, 3vw, 56px);
    --content-width: 1800px;
    --section-space: clamp(64px, 7vw, 132px);
    --countdown-height: 640px;
    --radius-sm: clamp(12px, .7vw, 18px);
    --radius-lg: clamp(18px, 1.35vw, 30px);
    --shadow: 0 24px 70px rgba(47, 24, 8, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 20%, rgba(216,170,53,.10), transparent 24rem),
        radial-gradient(circle at 92% 64%, rgba(76,7,18,.08), transparent 28rem),
        #fffdf8;
    font-size: clamp(15px, .82vw, 18px);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

/* Never distort logos, even when older style.css contains fixed dimensions. */
.navbar-brand img,
.navbar img,
.brand-logo,
.hero-logo,
.royal-event-logo {
    object-fit: contain !important;
    object-position: center !important;
    aspect-ratio: auto !important;
}
.navbar-brand img,
.navbar img,
.brand-logo {
    width: auto !important;
    height: auto !important;
    max-width: clamp(62px, 6vw, 96px) !important;
    max-height: clamp(62px, 6vw, 96px) !important;
    flex: 0 0 auto;
}
a { overflow-wrap: anywhere; }
.container {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width)) !important;
    max-width: none !important;
    margin-inline: auto;
}
.row { --bs-gutter-x: clamp(18px, 2vw, 34px); }
::selection { color: #241400; background: #f3cf71; }

/* progress and ambient effects */
.ng-progress { position: fixed; inset: 0 auto auto 0; z-index: 99999; width: 0; height: 3px; background: linear-gradient(90deg,#7c1424,#e4b638,#fff1af); }
.ng-cursor-glow { position: fixed; z-index: 9998; width: min(24vw, 360px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%,-50%); background: radial-gradient(circle,rgba(232,190,79,.14),rgba(232,190,79,.03) 45%,transparent 72%); transition: opacity .25s ease; }
.ng-orb { position: fixed; z-index: -2; width: min(38vw,520px); aspect-ratio: 1; border-radius: 50%; filter: blur(50px); pointer-events: none; opacity: .16; animation: ngFloatOrb 15s ease-in-out infinite alternate; }
.ng-orb-one { left: -14vw; top: 22vh; background: #f2be45; }
.ng-orb-two { right: -16vw; top: 58vh; background: #7b1021; animation-delay: -7s; }
@keyframes ngFloatOrb { from { transform: translate3d(0,-3%,0) scale(.94); } to { transform: translate3d(5%,8%,0) scale(1.08); } }

/* announcement — isolated names prevent conflicts with old style.css */
.scsst-noticebar {
    position: relative;
    inset: auto;
    z-index: 200;
    width: 100%;
    min-height: clamp(40px, 2.8vw, 48px);
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 223, 133, .10), transparent 26rem),
        linear-gradient(90deg, #3b030c 0%, #760f20 50%, #3b030c 100%);
    border-top: 1px solid rgba(226, 181, 61, .78);
    border-bottom: 1px solid rgba(226, 181, 61, .78);
    box-shadow: 0 8px 24px rgba(40, 2, 9, .20);
}
.scsst-noticebar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.08) 42%, transparent 64%);
    transform: translateX(-120%);
    animation: noticeSweep 8s ease-in-out infinite;
}
.scsst-notice-label {
    position: relative;
    z-index: 3;
    min-width: clamp(150px, 12vw, 220px);
    min-height: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 clamp(15px, 1.6vw, 28px);
    color: #321500;
    background: linear-gradient(135deg, #f8d66f 0%, #e9b62f 55%, #c98d12 100%);
    font-size: clamp(.69rem, .74vw, .9rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .015em;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: 10px 0 26px rgba(0,0,0,.22);
}
.scsst-notice-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 18px;
    height: 18px;
    background: #d99e1c;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 5px -5px 12px rgba(0,0,0,.08);
}
.scsst-notice-label i {
    position: relative;
    z-index: 1;
    font-size: 1.05em;
    animation: noticeBell 2.2s ease-in-out infinite;
}
.scsst-notice-window {
    position: relative;
    min-width: 0;
    min-height: inherit;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: clamp(20px, 2vw, 36px);
    mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}
.scsst-notice-track {
    width: max-content;
    display: flex;
    align-items: center;
    will-change: transform;
    animation: scsstNoticeMarquee var(--notice-speed, 34s) linear infinite;
}
.scsst-notice-group {
    flex: 0 0 auto;
    min-width: calc(100vw - clamp(150px, 12vw, 220px));
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: clamp(48px, 5vw, 100px);
    padding-right: clamp(48px, 5vw, 100px);
    white-space: nowrap;
}
.scsst-notice-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff9e8;
    font-size: clamp(.68rem, .72vw, .87rem);
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,.32);
}
.scsst-notice-item::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #f8d66f;
    box-shadow: 0 0 12px rgba(248,214,111,.85);
}
.scsst-notice-item strong {
    color: #ffe384;
    font-weight: 900;
}
.scsst-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffe384;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.scsst-notice-link:hover,
.scsst-notice-link:focus-visible { color: #fff; }
.scsst-notice-countdown {
    padding: 5px 9px;
    border: 1px solid rgba(255,227,132,.28);
    border-radius: 999px;
    background: rgba(0,0,0,.18);
    font-size: .9em;
    font-variant-numeric: tabular-nums;
}
.scsst-noticebar:hover .scsst-notice-track,
.scsst-noticebar:focus-within .scsst-notice-track {
    animation-play-state: paused;
}
@keyframes scsstNoticeMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}
@keyframes noticeBell {
    0%, 65%, 100% { transform: rotate(0); }
    72% { transform: rotate(14deg); }
    79% { transform: rotate(-12deg); }
    86% { transform: rotate(8deg); }
    93% { transform: rotate(-5deg); }
}
@keyframes noticeSweep {
    0%, 62% { transform: translateX(-120%); opacity: 0; }
    70% { opacity: 1; }
    88%, 100% { transform: translateX(120%); opacity: 0; }
}

/* countdown */
.royal-event-slider, .royal-event-slider * { box-sizing: border-box; }
.royal-event-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: clamp(5px,.65vw,12px);
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%,rgba(228,182,56,.14),transparent 34%),linear-gradient(180deg,#12130d,#080905);
}
.royal-slider-shell { position: relative; width: 100%; margin: 0; }
.royal-event-slide { display: none; width: 100%; }
.royal-event-slide.is-active { display: block; animation: royalFade .45s ease; }
.royal-event-card {
    position: relative;
    width: 100%;
    height: var(--countdown-height);
    min-height: 430px;
    overflow: hidden;
    isolation: isolate;
    border: 2px solid rgba(226,187,91,.9);
    border-radius: var(--radius-lg);
    background: #17170f;
    box-shadow: 0 22px 55px rgba(0,0,0,.42);
}
.royal-event-card::before {
    content: "";
    position: absolute;
    inset: -3%;
    z-index: -3;
    background: linear-gradient(90deg,rgba(255,250,224,.98) 0%,rgba(255,248,216,.91) 27%,rgba(255,244,206,.38) 46%,rgba(8,8,4,.12) 70%,rgba(8,8,4,.26) 100%),url("../images/countdown-temple.webp") center/cover no-repeat;
    animation: ngHeroBreath 14s ease-in-out infinite alternate;
}
.royal-event-card::after { content:""; position:absolute; inset:clamp(6px,.55vw,10px); z-index:4; pointer-events:none; border:1px solid rgba(255,239,185,.62); border-radius:calc(var(--radius-lg) - 5px); }
.royal-frame { display:none; }
.royal-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(260px,35%) minmax(0,65%);
    align-items: center;
    padding: clamp(20px,2.7vw,54px) clamp(20px,3.2vw,68px);
}
.royal-event-copy { width:100%; max-width:560px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.royal-event-logo { width:min(100%,clamp(245px,28vw,560px)); max-height:min(54vh,480px); object-fit:contain; filter:drop-shadow(0 8px 14px rgba(0,0,0,.15)); animation:ngLogoFloat 6s ease-in-out infinite; }
.royal-event-title { margin:clamp(7px,1vw,14px) 0 0; color:#392b18; font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.1rem,1.75vw,2.3rem); font-weight:700; line-height:1.08; text-wrap:balance; }
.royal-event-tagline { margin-top:clamp(8px,1vw,16px); color:#6a5738; font-family:Georgia,"Times New Roman",serif; font-size:clamp(.7rem,.84vw,1.05rem); font-style:italic; }
.royal-event-details { align-self:stretch; min-width:0; display:flex; flex-direction:column; justify-content:flex-end; padding:clamp(62px,8vh,105px) 0 clamp(44px,6vh,82px); }
.royal-date-ribbon { position:absolute; top:clamp(18px,2.4vw,38px); right:clamp(18px,3vw,48px); display:inline-flex; align-items:center; justify-content:center; gap:9px; max-width:calc(100% - 36px); padding:8px 14px; border:1px solid rgba(226,194,113,.72); border-radius:999px; color:#fff4c6; background:rgba(20,20,12,.72); backdrop-filter:blur(9px); font:700 clamp(.56rem,.7vw,.82rem)/1.2 Arial,sans-serif; letter-spacing:.035em; white-space:nowrap; text-transform:uppercase; }
.royal-date-ribbon i { color:var(--gold-light); }
.royal-date-divider { width:1px; height:18px; background:rgba(230,189,85,.85); }
.royal-countdown-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(8px,1vw,18px); width:100%; }
.royal-time-cell { position:relative; min-width:0; height:clamp(108px,calc(var(--countdown-height)*.24),220px); padding:clamp(9px,1.2vw,20px); display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; border:2px solid rgba(171,135,52,.88); border-radius:var(--radius-sm); background:linear-gradient(145deg,rgba(17,17,10,.98),rgba(3,3,1,.99)); box-shadow:0 13px 28px rgba(0,0,0,.45),inset 0 0 0 3px rgba(232,199,112,.07); transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.royal-time-cell::before { content:""; position:absolute; inset:5px; border:1px solid rgba(248,220,142,.18); border-radius:inherit; }
.royal-time-icon { display:none; }
.royal-time-value { position:relative; z-index:2; color:var(--gold-light); font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.6rem,5vw,7rem); font-weight:400; line-height:.88; font-variant-numeric:tabular-nums; text-shadow:0 2px 0 #72561e,0 7px 16px rgba(0,0,0,.8); }
.royal-time-label { position:relative; z-index:2; margin-top:clamp(7px,1vh,12px); color:#fff6dc; font-family:Georgia,"Times New Roman",serif; font-size:clamp(.52rem,.64vw,.84rem); letter-spacing:clamp(1px,.15vw,2.4px); text-transform:uppercase; }
.royal-event-link { align-self:center; margin-top:clamp(12px,1.3vw,20px); padding:clamp(9px,.65vw,12px) clamp(18px,1.4vw,28px); display:inline-flex; align-items:center; gap:10px; color:#2d210b; border:1px solid #ffe08a; border-radius:999px; background:linear-gradient(110deg,#b87c20,#f2cc68,#d59a2c); box-shadow:0 10px 24px rgba(0,0,0,.28); font:700 clamp(.62rem,.68vw,.84rem)/1 Arial,sans-serif; letter-spacing:.06em; text-decoration:none; text-transform:uppercase; }
.royal-footer-brand { position:absolute; right:clamp(28px,3vw,52px); bottom:clamp(14px,2vw,28px); z-index:3; max-width:62%; color:#ffe297; font-family:Georgia,"Times New Roman",serif; font-size:clamp(.5rem,.58vw,.76rem); letter-spacing:.1em; text-align:right; text-transform:uppercase; }
.royal-slider-arrow { position:absolute; top:50%; z-index:12; width:clamp(34px,2.4vw,46px); aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(242,204,105,.55); border-radius:50%; color:#f5d675; background:rgba(23,23,13,.76); backdrop-filter:blur(8px); transform:translateY(-50%); cursor:pointer; }
.royal-prev { left:clamp(8px,1vw,20px); } .royal-next { right:clamp(8px,1vw,20px); }
.royal-slider-dots { position:absolute; left:50%; bottom:12px; z-index:15; display:flex; gap:7px; transform:translateX(-50%); }
.royal-slider-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.42); }
.royal-slider-dot.is-active { width:24px; border-radius:999px; background:var(--gold-light); }
.royal-arrived { grid-column:1/-1; padding:36px 18px; color:var(--gold-light); border:2px solid rgba(171,135,52,.88); border-radius:18px; background:rgba(7,7,3,.94); font:700 clamp(1.3rem,3vw,3rem)/1.2 Georgia,serif; text-align:center; text-transform:uppercase; }
@keyframes royalFade { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
@keyframes ngHeroBreath { from { transform:scale(1.015); } to { transform:scale(1.055); } }
@keyframes ngLogoFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* main hero */
.home-hero {
    position: relative;
    min-height: clamp(620px, 78dvh, 920px);
    overflow: hidden;
    isolation: isolate;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: -3%;
    z-index: -1;
    background: inherit;
    background-position: center;
    background-size: cover;
    transform: scale(1.035);
    animation: ngHeroDrift 18s ease-in-out infinite alternate;
}
.home-hero-overlay {
    position: relative;
    display: grid;
    place-items: center;
    min-height: inherit;
    padding: clamp(64px, 8vw, 120px) var(--page-gutter);
    background:
        radial-gradient(circle at 50% 22%, rgba(121, 27, 38, .13), transparent 32%),
        linear-gradient(180deg, rgba(13, 4, 3, .28), rgba(27, 3, 8, .80));
}
.home-hero .container {
    width: min(100%, 1380px) !important;
    max-width: 1380px !important;
    padding-inline: 0;
}
.hero-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: clamp(96px, 8vw, 150px) !important;
    max-height: clamp(96px, 8vw, 150px) !important;
    margin: 0 auto clamp(18px, 2vw, 30px) !important;
    object-fit: contain !important;
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.30));
    animation: ngLogoFloat 6s ease-in-out infinite;
}
.hero-title {
    display: block !important;
    margin: 0 auto clamp(18px, 2vw, 28px) !important;
    max-width: 15ch;
    color: #fff4cf !important;
    background: none !important;
    -webkit-text-fill-color: #fff4cf !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5.15vw, 6.3rem) !important;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
    text-shadow: 0 5px 28px rgba(0,0,0,.62);
    filter: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
}
.hero-subtitle { color:rgba(255,255,255,.82) !important; font-size:clamp(.75rem,1vw,1.15rem); letter-spacing:.12em; text-transform:uppercase; }
.home-hero h3 { color:#ffe8a5; font-family:Georgia,"Times New Roman",serif; font-size:clamp(1rem,1.55vw,1.7rem); }
@keyframes ngHeroDrift { from { transform:scale(1.04) translate3d(-.8%,-.5%,0); } to { transform:scale(1.11) translate3d(.8%,.5%,0); } }

/* universal sections and cards */
.section-padding { position:relative; padding-block:var(--section-space) !important; overflow:clip; }
.section-padding::before { content:""; position:absolute; top:16%; left:50%; width:min(90vw,1300px); height:1px; transform:translateX(-50%); background:linear-gradient(90deg,transparent,rgba(182,135,36,.2),transparent); }
.bg-cream { background:radial-gradient(circle at 82% 20%,rgba(221,178,74,.15),transparent 28rem),linear-gradient(135deg,#fff8e9,#fffdf8) !important; }
.bg-maroon { position:relative; isolation:isolate; background:radial-gradient(circle at 20% 20%,rgba(244,197,83,.16),transparent 28rem),radial-gradient(circle at 85% 80%,rgba(255,255,255,.06),transparent 24rem),linear-gradient(135deg,#36040c,#6c0b1a 55%,#39050d) !important; }
.section-title h2,.donation-strip h2,.bg-maroon h2 { position:relative; display:inline-block; margin-bottom:18px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(2rem,3.3vw,4.4rem); line-height:1.05; letter-spacing:-.035em; }
.section-title h2::after,.bg-maroon h2::after { content:""; position:absolute; left:50%; bottom:-13px; width:64px; height:3px; border-radius:99px; transform:translateX(-50%); background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.section-title p,.donation-strip p { color:var(--muted); font-size:clamp(.95rem,1vw,1.2rem); }
.timing-card,.event-card,.feature-box,.gallery-box { position:relative; height:100%; overflow:hidden; border:1px solid rgba(177,128,31,.20) !important; border-radius:var(--radius-lg) !important; background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,249,236,.66)) !important; box-shadow:var(--shadow) !important; backdrop-filter:blur(16px); transition:transform .4s ease,box-shadow .4s ease; }
.timing-card { padding:clamp(24px,2.2vw,42px) !important; }
.timing-card h3 { color:var(--maroon-light); font-size:clamp(1.6rem,2.1vw,2.7rem); }
.timing-card h4,.event-card h4,.feature-box h4,.gallery-info h5 { font-family:Georgia,"Times New Roman",serif; font-weight:700; }
.event-card .card-img-top { width:100%; height:clamp(210px,17vw,320px) !important; object-fit:cover; }
.event-card .card-body { padding:clamp(22px,1.8vw,34px); }
.feature-box { min-height:clamp(200px,15vw,280px); display:flex; flex-direction:column; justify-content:center; padding:clamp(26px,2vw,38px) !important; color:#fff; border-color:rgba(255,224,145,.19) !important; background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035)) !important; }
.feature-box h4 { color:#ffe6a0; font-size:clamp(1.25rem,1.4vw,1.8rem); }
.feature-box p { color:rgba(255,255,255,.76); }
.gallery-box { min-height:340px; }
.gallery-img { width:100%; height:clamp(220px,18vw,340px); object-fit:cover; }
.gallery-info { padding:clamp(20px,1.5vw,28px) !important; background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,250,239,.96)); }
.bg-cream .img-fluid { width:100%; max-height:720px; object-fit:cover; border:1px solid rgba(180,131,32,.22); box-shadow:0 35px 90px rgba(70,36,8,.18) !important; }

/* buttons and donation */
.btn { position:relative; overflow:hidden; border-radius:999px !important; padding:clamp(.68rem,.75vw,.9rem) clamp(1.2rem,1.35vw,1.75rem); font-size:clamp(.82rem,.76vw,1rem); font-weight:800; letter-spacing:.02em; transition:transform .25s ease,box-shadow .25s ease; }
.btn:hover { transform:translateY(-3px); }
.btn-gold,.btn-light { color:#2e1600 !important; border-color:transparent !important; background:linear-gradient(135deg,#f5d671,#c8941c) !important; box-shadow:0 12px 28px rgba(193,139,19,.28); }
.btn-dark { border-color:transparent !important; background:linear-gradient(135deg,#52101a,#2d0309) !important; box-shadow:0 12px 28px rgba(74,6,17,.22); }
.btn-outline-light { background:rgba(255,255,255,.08); backdrop-filter:blur(10px); }
.donation-strip { position:relative; overflow:hidden; isolation:isolate; padding:clamp(80px,9vw,170px) var(--page-gutter) !important; background:radial-gradient(circle at 20% 20%,rgba(255,221,131,.20),transparent 25rem),radial-gradient(circle at 80% 80%,rgba(255,255,255,.06),transparent 20rem),linear-gradient(135deg,#35040c,#72101f 55%,#3f060f) !important; }
.donation-strip h2,.donation-strip p { color:#fff; }
.donation-strip p { color:rgba(255,255,255,.72); }

/* reveal and top */
[data-ng-reveal] { opacity:0; transform:translate3d(0,34px,0) scale(.985); filter:blur(7px); transition:opacity .85s ease,transform .85s ease,filter .85s ease; transition-delay:var(--ng-delay,0ms); }
[data-ng-reveal].ng-visible { opacity:1; transform:none; filter:none; }
.ng-letter { display:inline-block; opacity:0; transform:translateY(.55em) rotateX(-70deg); transform-origin:center bottom; animation:ngLetterIn .72s ease forwards; animation-delay:calc(var(--i)*34ms + 120ms); }
@keyframes ngLetterIn { to { opacity:1; transform:none; } }
.ng-top { position:fixed; right:clamp(14px,1.3vw,24px); bottom:clamp(14px,1.3vw,24px); z-index:999; width:clamp(42px,2.8vw,52px); aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(255,224,144,.48); border-radius:50%; color:#fff4c3; background:rgba(63,5,15,.82); opacity:0; visibility:hidden; transform:translateY(12px); transition:.3s ease; }
.ng-top.is-visible { opacity:1; visibility:visible; transform:none; }


/* refined motion — premium but lightweight */
.royal-event-slide.is-active .royal-event-copy {
    animation: countdownCopyIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.royal-event-slide.is-active .royal-event-details {
    animation: countdownDetailsIn .9s .12s cubic-bezier(.2,.8,.2,1) both;
}
.royal-event-slide.is-active .royal-time-cell {
    animation: countdownCellIn .72s cubic-bezier(.2,.8,.2,1) both;
}
.royal-event-slide.is-active .royal-time-cell:nth-child(1) { animation-delay:.18s; }
.royal-event-slide.is-active .royal-time-cell:nth-child(2) { animation-delay:.26s; }
.royal-event-slide.is-active .royal-time-cell:nth-child(3) { animation-delay:.34s; }
.royal-event-slide.is-active .royal-time-cell:nth-child(4) { animation-delay:.42s; }
.royal-time-cell::after {
    content:"";
    position:absolute;
    inset:-130% -45%;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(115deg,transparent 42%,rgba(255,238,180,.15) 50%,transparent 58%);
    transform:translateX(-65%) rotate(8deg);
    animation:countdownShine 6s ease-in-out infinite;
}
.royal-time-cell:nth-child(2)::after { animation-delay:.55s; }
.royal-time-cell:nth-child(3)::after { animation-delay:1.1s; }
.royal-time-cell:nth-child(4)::after { animation-delay:1.65s; }
.event-card .card-img-top,
.gallery-img,
.bg-cream .img-fluid {
    transition:transform .75s cubic-bezier(.2,.75,.2,1), filter .75s ease, box-shadow .75s ease;
}
.btn::after {
    content:"";
    position:absolute;
    top:-100%;
    left:-55%;
    width:34%;
    height:300%;
    pointer-events:none;
    transform:rotate(20deg);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
    transition:left .62s ease;
}
.btn:hover::after { left:125%; }
@keyframes countdownCopyIn {
    from { opacity:0; transform:translate3d(-24px,0,0) scale(.98); filter:blur(7px); }
    to { opacity:1; transform:none; filter:none; }
}
@keyframes countdownDetailsIn {
    from { opacity:0; transform:translate3d(24px,0,0) scale(.98); filter:blur(7px); }
    to { opacity:1; transform:none; filter:none; }
}
@keyframes countdownCellIn {
    from { opacity:0; transform:translateY(24px) scale(.94); }
    to { opacity:1; transform:none; }
}
@keyframes countdownShine {
    0%, 65% { transform:translateX(-65%) rotate(8deg); opacity:0; }
    74% { opacity:1; }
    100% { transform:translateX(65%) rotate(8deg); opacity:0; }
}

/* tablet */
@media (max-width: 991.98px) {
    :root { --section-space: clamp(58px, 10vw, 92px); }
    .royal-event-card { height:auto; min-height:var(--countdown-height); }
    .royal-inner { display:flex; flex-direction:column; justify-content:center; gap:clamp(12px,2vh,22px); padding:clamp(18px,3vw,30px) 16px 66px; }
    .royal-event-copy { max-width:460px; }
    .royal-event-logo { width:min(68vw,390px); max-height:min(31vh,320px); }
    .royal-event-details { align-self:auto; width:min(100%,760px); padding:0; }
    .royal-date-ribbon { position:relative; top:auto; right:auto; align-self:center; margin-inline:auto; }
    .royal-countdown-grid { margin-top:14px; }
    .royal-time-cell { height:clamp(100px,14vh,155px); }
    .royal-footer-brand { right:50%; bottom:15px; max-width:86%; text-align:center; transform:translateX(50%); }
    .home-hero { background-attachment:scroll; }
}

/* phone */
@media (max-width: 620px) {
    :root { --page-gutter: 14px; --section-space: 62px; }
    .scsst-noticebar { min-height: 40px; grid-template-columns: 48px minmax(0,1fr); }
    .scsst-notice-label { min-width:48px; width:48px; padding:0; }
    .scsst-notice-label span { display:none; }
    .scsst-notice-label::after { right:-7px; width:14px; height:14px; }
    .scsst-notice-window { padding-left:18px; }
    .scsst-notice-group { min-width:calc(100vw - 48px); justify-content:flex-start; gap:42px; padding-right:42px; }
    .scsst-notice-item { font-size:.66rem; }
    .royal-event-slider { padding:5px; }
    .royal-event-card { min-height:max(540px,var(--countdown-height)); border-radius:15px; }
    .royal-event-card::before { background:linear-gradient(180deg,rgba(255,250,224,.97) 0%,rgba(255,247,214,.86) 36%,rgba(12,12,5,.22) 65%,rgba(8,8,3,.38) 100%),url("../images/countdown-temple.webp") center/cover no-repeat; }
    .royal-inner { gap:10px; padding:14px 8px 56px; }
    .royal-event-logo { width:min(77vw,285px); max-height:220px; }
    .royal-event-title { font-size:clamp(1rem,4.6vw,1.35rem); }
    .royal-event-tagline { font-size:.66rem; }
    .royal-date-ribbon { padding:7px 9px; gap:6px; font-size:.49rem; }
    .royal-countdown-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; width:min(100%,410px); margin:9px auto 0; }
    .royal-time-cell { height:clamp(84px,12.5vh,116px); padding:7px; }
    .royal-time-value { font-size:clamp(2.15rem,13vw,3.5rem); }
    .royal-time-label { margin-top:5px; font-size:.47rem; }
    .royal-event-link { margin-top:10px; padding:9px 16px; font-size:.57rem; }
    .royal-footer-brand { bottom:10px; font-size:.41rem; letter-spacing:.05em; }
    .royal-slider-arrow { top:auto; bottom:7px; width:30px; transform:none; }
    .royal-prev { left:8px; } .royal-next { right:8px; }
    .royal-slider-dots { bottom:17px; }
    .home-hero { min-height:clamp(520px,76dvh,760px); }
    .home-hero-overlay { padding-block:64px; }
    .hero-title { max-width: 12ch; font-size:clamp(2.15rem,10vw,4rem) !important; line-height:1.05; }
    .hero-logo { max-width:110px !important; max-height:110px !important; }
    .home-hero .btn { display:flex; width:min(100%,300px); justify-content:center; margin:9px auto !important; }
    .section-title h2,.donation-strip h2,.bg-maroon h2 { font-size:clamp(1.9rem,8vw,3rem); }
    .gallery-img,.event-card .card-img-top { height:230px !important; }
    .ng-cursor-glow { display:none; }
}

/* very small / short screens */
@media (max-width: 360px) {
    .royal-event-logo { width:min(73vw,235px); max-height:185px; }
    .royal-time-cell { height:82px; }
    .royal-time-value { font-size:2.05rem; }
    .royal-date-ribbon { max-width:95%; }
}
@media (min-width: 992px) and (max-height: 760px) {
    .royal-event-logo { max-height:255px; }
    .royal-event-details { padding-top:52px; padding-bottom:38px; }
    .royal-time-cell { height:clamp(96px,16vh,135px); }
}

/* 2K and 4K scaling */
@media (min-width: 2200px) {
    :root { --content-width: 2100px; --page-gutter: 64px; }
    body { font-size:19px; }
}
@media (min-width: 3000px) {
    :root { --content-width: 2860px; --page-gutter: 90px; --section-space: 150px; }
    body { font-size:22px; }
    .home-hero .container { max-width:2200px !important; }
    .royal-inner { grid-template-columns:minmax(420px,34%) minmax(0,66%); }
}

@media (hover:hover) and (pointer:fine) {
    .royal-time-cell:hover { transform:translateY(-7px) scale(1.015); border-color:rgba(255,223,132,.96); box-shadow:0 20px 45px rgba(0,0,0,.58),0 0 30px rgba(226,185,82,.12); }
    .timing-card:hover,.event-card:hover,.feature-box:hover,.gallery-box:hover { transform:translateY(-8px); box-shadow:0 34px 80px rgba(63,33,10,.18) !important; }
    .event-card:hover .card-img-top,.gallery-box:hover .gallery-img { transform:scale(1.07); filter:saturate(1.08) contrast(1.04); }
    .bg-cream .img-fluid:hover { transform:translateY(-8px) scale(1.012); box-shadow:0 44px 100px rgba(70,36,8,.24) !important; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
    [data-ng-reveal] { opacity:1; transform:none; filter:none; }
}

/* SCSST Nairobi — public design system v3 */
:root {
    --s-ink: #1c1215;
    --s-maroon: #68152f;
    --s-maroon-dark: #310713;
    --s-maroon-soft: #8c2948;
    --s-gold: #c99b43;
    --s-gold-light: #f4d995;
    --s-ivory: #fffdf8;
    --s-sand: #f4ede1;
    --s-muted: #75686b;
    --s-line: rgba(77, 25, 41, .12);
    --s-shadow: 0 24px 70px rgba(52, 17, 29, .12);
    --s-shadow-hover: 0 34px 90px rgba(52, 17, 29, .19);
    --s-radius: 26px;
    --s-ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--s-ink);
    background:
        radial-gradient(circle at 5% 20%, rgba(201, 155, 67, .10), transparent 27rem),
        radial-gradient(circle at 94% 65%, rgba(104, 21, 47, .07), transparent 30rem),
        var(--s-ivory);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: .2;
    background-image: radial-gradient(rgba(92, 41, 56, .18) .6px, transparent .6px);
    background-size: 18px 18px;
}

img { max-width: 100%; }
a { transition: color .25s ease, background .25s ease, transform .25s var(--s-ease), box-shadow .25s ease; }
::selection { color: var(--s-maroon-dark); background: var(--s-gold-light); }

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--s-maroon-dark);
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Navigation */
.temple-navbar {
    min-height: 82px;
    padding: 9px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(201, 155, 67, .3) !important;
    background: rgba(255, 253, 248, .88) !important;
    box-shadow: 0 12px 40px rgba(48, 13, 25, .075) !important;
    backdrop-filter: blur(22px) saturate(150%);
}
.temple-navbar.is-scrolled { background: rgba(255, 253, 248, .97) !important; box-shadow: 0 14px 45px rgba(48, 13, 25, .13) !important; }
.temple-brand { gap: 13px !important; }
.brand-logo { width: 58px !important; max-width: 58px !important; height: 58px !important; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(50, 10, 24, .14)); }
.brand-title { color: var(--s-maroon-dark) !important; font-family: Georgia, "Times New Roman", serif; font-size: 1.32rem !important; letter-spacing: -.025em !important; }
.temple-brand small { max-width: 280px; color: var(--s-muted) !important; font-size: .66rem !important; letter-spacing: .035em; }
.temple-navbar .nav-link { margin: 0 2px; padding: 10px 12px !important; border-radius: 10px; color: #3d292f !important; font-size: .82rem !important; font-weight: 750 !important; }
.temple-navbar .nav-link::after { display: none !important; }
.temple-navbar .nav-link:hover,
.temple-navbar .nav-link.active-link { color: var(--s-maroon) !important; background: rgba(104, 21, 47, .065); }
.nav-donate-btn { min-height: 44px; padding: 10px 20px !important; border: 1px solid rgba(111, 73, 14, .15); color: #311d00 !important; background: linear-gradient(135deg, #f5dda0, #c99b43) !important; box-shadow: 0 12px 25px rgba(160, 110, 28, .2) !important; }
.nav-donate-btn:hover { color: #fff !important; background: linear-gradient(135deg, var(--s-maroon-soft), var(--s-maroon-dark)) !important; transform: translateY(-2px); }
.custom-toggler { width: 46px; height: 46px; padding: 8px !important; border: 1px solid var(--s-line) !important; border-radius: 13px !important; }
.custom-toggler:focus { box-shadow: 0 0 0 4px rgba(104, 21, 47, .1) !important; }

/* Page mastheads */
.page-header,
.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 390px;
    display: grid;
    place-items: center;
    padding: 90px 20px !important;
    color: #fff;
    background: linear-gradient(115deg, rgba(31, 3, 12, .93), rgba(104, 21, 47, .68)), url('../images/temple.webp') center 46% / cover no-repeat !important;
}
.page-header::before,
.about-hero::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: -1;
    border: 1px solid rgba(244, 217, 149, .35);
    border-radius: 22px;
}
.page-header::after,
.about-hero::after {
    content: "SCSST • NAIROBI";
    position: absolute;
    bottom: 28px;
    color: rgba(244, 217, 149, .7);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .28em;
}
.page-header h1,
.about-hero h1 { margin: 0; color: #fff8e6; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5.4rem) !important; font-weight: 600 !important; line-height: 1; letter-spacing: -.045em; text-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.about-hero-overlay { padding: 0 !important; }
.about-hero p { color: rgba(255, 248, 230, .75) !important; }
.about-badge { border: 1px solid rgba(244, 217, 149, .38); color: var(--s-gold-light) !important; background: rgba(255,255,255,.08) !important; backdrop-filter: blur(10px); }

/* Homepage hero */
.home-hero { min-height: 88svh !important; background: linear-gradient(180deg, rgba(19,2,8,.32), rgba(19,2,8,.88)), url('../images/temple.webp') center 42% / cover no-repeat !important; }
.home-hero-overlay { min-height: 88svh !important; padding: 110px 20px !important; }
.hero-logo { width: 112px !important; max-height: 112px !important; margin-bottom: 26px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.38)); }
.hero-title { max-width: 12ch; margin-inline: auto; color: #fff8e8 !important; font-family: Georgia, "Times New Roman", serif !important; font-size: clamp(3rem, 7.1vw, 7rem) !important; font-weight: 500 !important; line-height: .96 !important; letter-spacing: -.055em; text-wrap: balance; }
.hero-subtitle { margin-top: 24px; color: var(--s-gold-light) !important; font-size: clamp(.84rem, 1.5vw, 1.08rem) !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.home-hero h3 { max-width: 650px; margin: 16px auto 0; color: rgba(255,255,255,.73); font-size: clamp(.95rem, 1.5vw, 1.18rem) !important; font-weight: 400 !important; }

/* Shared sections */
.section-padding { padding: clamp(76px, 9vw, 138px) 0 !important; }
.bg-cream { background: linear-gradient(180deg, #f6efe4, #fffaf2) !important; }
.bg-maroon { background: radial-gradient(circle at 8% 10%, rgba(244,217,149,.11), transparent 23rem), linear-gradient(140deg, #160208, #4d0d22 58%, #21040d) !important; }
.section-title h2,
.about-intro h2,
.about-story h2 { color: var(--s-maroon-dark) !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4.4vw, 4.6rem); font-weight: 500 !important; line-height: 1.05; letter-spacing: -.045em; }
.section-title p { color: var(--s-muted); }
.section-title::before { content: "ॐ"; display: block; margin-bottom: 8px; color: var(--s-gold); font-family: Georgia, serif; font-size: 1.4rem; }

/* Cards and content */
.card,
.timing-card,
.gallery-box,
.about-card,
.about-image-card,
.contact-card,
.donation-card,
.future-card,
.public-gallery .gallery-card {
    overflow: hidden;
    border: 1px solid var(--s-line) !important;
    border-radius: var(--s-radius) !important;
    background: rgba(255, 255, 255, .86) !important;
    box-shadow: var(--s-shadow) !important;
    backdrop-filter: blur(14px);
    transition: transform .5s var(--s-ease), box-shadow .5s ease, border-color .5s ease !important;
}
.card:hover,
.timing-card:hover,
.gallery-box:hover,
.about-card:hover,
.public-gallery .gallery-card:hover { border-color: rgba(201,155,67,.42) !important; transform: translateY(-9px) !important; box-shadow: var(--s-shadow-hover) !important; }
.card-body { padding: 28px !important; }
.event-card .card-img-top { height: 280px; object-fit: cover; transition: transform .85s var(--s-ease); }
.darshan-card .card-img-top { height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .85s var(--s-ease); }

/* Homepage Darshan and gallery directory */
.home-devotional-section { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 15%,rgba(210,164,61,.13),transparent 26rem),linear-gradient(180deg,#fffaf0,#f7eee0); }
.home-media-heading { display: flex; margin-bottom: 2rem; align-items: end; justify-content: space-between; gap: 2rem; }
.home-media-heading > div > span { display: inline-flex; align-items: center; gap: .45rem; color: #8b2240; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.home-media-heading h2 { margin: .5rem 0 .35rem; color: var(--s-maroon-dark); font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.2rem,4vw,4.4rem); font-weight: 500; letter-spacing: -.045em; }
.home-media-heading p { max-width: 680px; margin: 0; color: var(--s-muted); }
.home-media-heading > a { display: inline-flex; flex: 0 0 auto; padding: .7rem .9rem; align-items: center; gap: .5rem; border-bottom: 1px solid #a87a22; color: #631a31; font-size: .78rem; font-weight: 850; text-decoration: none; }
.home-darshan-card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); overflow: hidden; border: 1px solid rgba(104,21,47,.13); border-radius: 2rem; background: rgba(255,255,255,.9); box-shadow: 0 28px 70px rgba(62,23,36,.12); }
.home-darshan-visual { position: relative; display: block; min-width: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #2e0b17; }
.home-darshan-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--s-ease); }
.home-darshan-visual > span { position: absolute; inset: auto 1rem 1rem auto; display: inline-flex; padding: .65rem .8rem; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: rgba(46,7,20,.78); backdrop-filter: blur(10px); font-size: .7rem; font-weight: 800; }
.home-darshan-visual:hover img { transform: scale(1.035); }
.home-darshan-copy { display: flex; min-width: 0; padding: clamp(2rem,4vw,3.5rem); flex-direction: column; justify-content: center; }
.home-media-label { display: inline-flex; width: max-content; max-width: 100%; padding: .42rem .65rem; align-items: center; gap: .4rem; border-radius: 999px; color: #54162a; background: #f4dda0; font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.home-darshan-date { display: flex; margin: 1.25rem 0 .4rem !important; align-items: center; gap: .45rem; color: #827277 !important; font-size: .78rem; }
.home-darshan-copy h3 { margin: 0 0 .8rem; color: #42111f; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.7rem,2.5vw,2.8rem); }
.home-darshan-copy > p:not(.home-darshan-date) { display: -webkit-box; overflow: hidden; margin: 0; color: #67595e; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.home-darshan-stats { display: flex; margin: 1.25rem 0; flex-wrap: wrap; gap: .55rem; }
.home-darshan-stats span { display: inline-flex; padding: .45rem .6rem; align-items: center; gap: .35rem; border-radius: .6rem; color: #65585d; background: #f7f3ef; font-size: .68rem; font-weight: 750; }
.home-media-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.home-gallery-section { background: linear-gradient(180deg,#fff,#fbf6ee); }
.home-gallery-subheading { display: flex; margin: 2rem 0 .85rem; align-items: baseline; gap: .75rem; }
.home-gallery-subheading span { color: #55162b; font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.home-gallery-subheading p { margin: 0; color: #8a7d81; font-size: .75rem; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.home-gallery-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid rgba(104,21,47,.11); border-radius: 1.25rem; color: inherit; background: #fff; box-shadow: 0 14px 38px rgba(55,21,32,.075); text-decoration: none; transition: transform .3s ease,box-shadow .3s ease; }
.home-gallery-card:hover { color: inherit; box-shadow: 0 22px 48px rgba(55,21,32,.13); transform: translateY(-5px); }
.home-gallery-card > div { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #eee5db; }
.home-gallery-card > div img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--s-ease); }
.home-gallery-card:hover > div img { transform: scale(1.05); }
.home-gallery-card > div .home-media-label { position: absolute; left: .75rem; bottom: .75rem; }
.home-gallery-card > section { display: flex; min-height: 148px; padding: 1rem 1.05rem; flex-direction: column; }
.home-gallery-card h3 { margin: .2rem 0 .65rem; color: #471322; font-family: Georgia,"Times New Roman",serif; font-size: 1.15rem; }
.home-gallery-card section > p { display: flex; margin: 0; align-items: center; gap: .35rem; color: #87787d; font-size: .7rem; }
.home-gallery-parent { overflow: hidden; color: #8b2240 !important; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.home-gallery-card footer { display: flex; margin-top: auto; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; color: #817478; font-size: .68rem; }
.home-gallery-card footer b { display: inline-flex; margin-left: auto; align-items: center; gap: .35rem; color: #6a1b34; }
.home-gallery-footer { display: flex; margin-top: 2rem; justify-content: center; }
@media (max-width: 991.98px) { .home-darshan-card { grid-template-columns: 1fr; } .home-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .home-media-heading { align-items: flex-start; flex-direction: column; gap: .8rem; } .home-media-heading > a { padding-left: 0; } .home-darshan-card { border-radius: 1.3rem; } .home-darshan-copy { padding: 1.5rem 1.2rem 1.75rem; } .home-media-actions > * { width: 100%; justify-content: center; } .home-gallery-grid { grid-template-columns: 1fr; } .home-gallery-subheading { align-items: flex-start; flex-direction: column; gap: .2rem; } }
.darshan-placeholder { height: 280px; }
.event-card:hover .card-img-top,
.darshan-card:hover .card-img-top { transform: scale(1.055); }
.timing-card { min-height: 245px; padding: 34px !important; text-align: left !important; }
.timing-card h4,
.event-card h4,
.darshan-card h5,
.gallery-info h5,
.about-card h4 { color: var(--s-maroon-dark) !important; font-family: Georgia, "Times New Roman", serif; font-weight: 600 !important; }
.timing-card h3 { color: var(--s-maroon) !important; }
.gallery-img,
.gallery-cover { height: 300px !important; object-fit: cover; transition: transform .85s var(--s-ease) !important; }
.gallery-box:hover .gallery-img,
.gallery-card:hover .gallery-cover { transform: scale(1.06); }
.gallery-info,
.public-gallery .gallery-content { padding: 24px !important; background: rgba(255,255,255,.95) !important; }
.feature-box { position: relative; min-height: 250px; padding: 34px !important; overflow: hidden; border: 1px solid rgba(244,217,149,.16) !important; border-radius: var(--s-radius) !important; color: rgba(255,255,255,.7); background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.018)) !important; transition: transform .45s var(--s-ease), background .45s ease; }
.feature-box:hover { transform: translateY(-8px); background: linear-gradient(155deg, rgba(244,217,149,.12), rgba(255,255,255,.025)) !important; }
.feature-box h4 { margin-top: 55px; color: var(--s-gold-light) !important; font-family: Georgia, serif; font-size: 1.55rem; }

/* Forms, buttons and detail images */
.form-control,
.form-select { min-height: 52px; border: 1px solid var(--s-line); border-radius: 14px; background: #fffdf9; }
textarea.form-control { min-height: 150px; }
.form-control:focus,
.form-select:focus { border-color: rgba(104,21,47,.48); box-shadow: 0 0 0 .25rem rgba(104,21,47,.1); }
.btn { border-radius: 999px !important; font-weight: 750 !important; }
.btn-dark { border: 0 !important; background: linear-gradient(135deg, var(--s-maroon-soft), var(--s-maroon-dark)) !important; box-shadow: 0 12px 28px rgba(68, 10, 30, .22); }
.btn-gold { border: 0 !important; color: #301d00 !important; background: linear-gradient(135deg, #f5dda0, #c99b43) !important; }
.btn:hover { transform: translateY(-2px); }
.gallery-detail-img,
.darshan-detail-img { width: 100%; height: 360px !important; border: 1px solid var(--s-line); border-radius: 20px !important; object-fit: cover; box-shadow: var(--s-shadow) !important; }
.contact-card,
.donation-card { max-width: 960px; margin-inline: auto; border-top: 1px solid var(--s-line) !important; }
.donation-strip { padding: clamp(90px, 11vw, 160px) 0 !important; background: linear-gradient(110deg, rgba(20,2,8,.94), rgba(104,21,47,.77)), url('../images/temple.webp') center / cover no-repeat !important; }
.donation-strip h2 { font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 500 !important; }

/* About and timeline */
.about-image-card { border: 1px solid var(--s-line) !important; }
.about-highlight-box { border: 1px solid rgba(244,217,149,.3) !important; border-radius: 28px !important; background: radial-gradient(circle at 0 0, rgba(244,217,149,.16), transparent 35%), linear-gradient(140deg, #25040e, #6a1731) !important; }
.about-stats { border: 0 !important; background: linear-gradient(135deg, var(--s-maroon-dark), var(--s-maroon-soft)) !important; }
.future-timeline-section { background: radial-gradient(circle at 10% 10%, rgba(244,217,149,.12), transparent 26rem), linear-gradient(140deg, #150207, #4b0b20) !important; }
.future-year { color: var(--s-gold-light) !important; }

/* Homepage notice and event countdown */
.scsst-noticebar { border-color: rgba(201,155,67,.45) !important; background: linear-gradient(90deg, #23040d, #711731, #23040d) !important; }
.scsst-notice-label { background: linear-gradient(135deg, #f5dda0, #c99b43) !important; }
.royal-event-slider { padding: 12px !important; background: #160309 !important; }
.royal-event-card { border-color: rgba(244,217,149,.45) !important; border-radius: 30px !important; box-shadow: 0 30px 90px rgba(0,0,0,.42) !important; }
.royal-time-cell { border-color: rgba(244,217,149,.34) !important; border-radius: 18px !important; background: linear-gradient(145deg, rgba(65,12,29,.96), rgba(15,2,7,.98)) !important; }
.royal-time-value { color: var(--s-gold-light) !important; }

/* Footer */
.premium-footer { border: 0 !important; background: radial-gradient(circle at 80% 0, rgba(201,155,67,.12), transparent 30rem), linear-gradient(145deg, #180208, #360713) !important; }
.footer-top-wave { opacity: .3; }
.footer-heading { color: var(--s-gold-light) !important; font-family: Georgia, serif !important; font-weight: 600 !important; }
.footer-links a { color: rgba(255,255,255,.7) !important; }
.footer-links a:hover { color: var(--s-gold-light) !important; transform: translateX(4px); }
.footer-logo { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.footer-donate-btn { background: linear-gradient(135deg, #f5dda0, #c99b43) !important; }

/* Reveal motion */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--s-ease), transform .8s var(--s-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .temple-navbar .navbar-collapse { margin-top: 12px; padding: 14px; border: 1px solid var(--s-line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--s-shadow); }
    .temple-navbar .nav-link { padding: 12px 14px !important; }
    .nav-donate-btn { width: 100%; margin-top: 8px; }
    .page-header, .about-hero { min-height: 330px; }
}

@media (max-width: 575.98px) {
    .temple-navbar { min-height: 72px; }
    .brand-logo { width: 49px !important; height: 49px !important; }
    .brand-title { font-size: 1.05rem !important; }
    .temple-brand small { display: none !important; }
    .home-hero, .home-hero-overlay { min-height: 82svh !important; }
    .section-padding { padding: 66px 0 !important; }
    .card-body, .timing-card { padding: 23px !important; }
    .gallery-img, .gallery-cover { height: 250px !important; }
    .gallery-detail-img, .darshan-detail-img { height: 280px !important; }
    .royal-event-slider { padding: 6px !important; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Special-event viewport fit: one permanent event, no carousel motion. */
.royal-event-slider {
    min-height: 0 !important;
    padding: clamp(5px, .55vw, 10px) !important;
}

.royal-slider-shell,
.royal-event-slide,
.royal-event-slide.is-active {
    height: var(--countdown-height, min(780px, calc(100svh - 185px))) !important;
    min-height: 0 !important;
}

.royal-event-card {
    height: 100% !important;
    min-height: 0 !important;
}

.royal-event-slide.is-active,
.royal-event-slide.is-active .royal-event-copy,
.royal-event-slide.is-active .royal-event-details,
.royal-event-slide.is-active .royal-time-cell,
.royal-event-logo,
.royal-time-cell::after {
    animation: none !important;
}

.royal-slider-arrow,
.royal-slider-dots {
    display: none !important;
}

@media (min-width: 992px) and (max-height: 900px) {
    .royal-inner {
        grid-template-columns: minmax(230px, 34%) minmax(0, 66%) !important;
        padding: clamp(14px, 2vw, 32px) clamp(24px, 3vw, 52px) !important;
    }
    .royal-event-logo {
        width: min(100%, 390px) !important;
        max-height: min(38vh, 275px) !important;
    }
    .royal-event-title { font-size: clamp(1rem, 1.55vw, 1.8rem) !important; }
    .royal-event-details { padding: clamp(50px, 7vh, 72px) 0 clamp(30px, 4vh, 46px) !important; }
    .royal-time-cell { height: clamp(88px, calc(var(--countdown-height) * .22), 150px) !important; }
    .royal-time-value { font-size: clamp(2.6rem, 4.6vw, 5rem) !important; }
}

@media (max-width: 991.98px) {
    .royal-slider-shell,
    .royal-event-slide,
    .royal-event-slide.is-active { height: var(--countdown-height, calc(100dvh - 112px)) !important; }
    .royal-event-card { height: 100% !important; min-height: 0 !important; }
}

/* Keep the special-event artwork balanced inside the fitted desktop panel. */
@media (min-width: 992px) {
    .royal-event-logo {
        max-height: min(480px, calc(var(--countdown-height) * .55)) !important;
    }
}

/* Compact portrait phones without letting any timer content escape the panel. */
@media (max-width: 620px) and (max-height: 760px) {
    .royal-inner { gap: 4px !important; padding: 8px 6px 34px !important; }
    .royal-event-logo { width: min(58vw, 200px) !important; max-height: 150px !important; }
    .royal-event-title { margin-top: 4px !important; font-size: clamp(.84rem, 4vw, 1rem) !important; }
    .royal-event-tagline { margin-top: 4px !important; font-size: .58rem !important; }
    .royal-date-ribbon { padding: 5px 8px !important; }
    .royal-countdown-grid { gap: 5px !important; margin-top: 6px !important; }
    .royal-time-cell { height: clamp(66px, 10.5vh, 80px) !important; }
    .royal-time-value { font-size: clamp(1.8rem, 10vw, 2.7rem) !important; }
    .royal-time-label { margin-top: 3px !important; }
    .royal-footer-brand { bottom: 6px !important; }
}

/* Landscape phones and short tablets use two columns to preserve usable scale. */
@media (min-width: 621px) and (max-width: 991.98px) and (max-height: 600px) {
    .royal-inner {
        display: grid !important;
        grid-template-columns: minmax(150px, 34%) minmax(0, 66%) !important;
        gap: 10px !important;
        padding: 8px 18px 28px !important;
    }
    .royal-event-copy { max-width: 260px !important; }
    .royal-event-logo { width: min(24vw, 150px) !important; max-height: 125px !important; }
    .royal-event-title { margin-top: 3px !important; font-size: clamp(.82rem, 2.2vw, 1rem) !important; }
    .royal-event-tagline { display: none !important; }
    .royal-event-details { width: 100% !important; padding: 34px 0 10px !important; }
    .royal-date-ribbon { top: 8px !important; right: 14px !important; padding: 5px 8px !important; }
    .royal-countdown-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 5px !important; margin-top: 0 !important; }
    .royal-time-cell { height: clamp(62px, 19vh, 82px) !important; padding: 5px !important; }
    .royal-time-value { font-size: clamp(1.65rem, 5.8vw, 2.7rem) !important; }
    .royal-time-label { margin-top: 3px !important; font-size: .42rem !important; }
    .royal-footer-brand { bottom: 5px !important; font-size: .38rem !important; }
}

/* The temple hero fills the visible area below the sticky navigation. */
.home-hero,
.home-hero-overlay {
    height: var(--home-hero-height, calc(100dvh - 100px)) !important;
    min-height: 0 !important;
}
.home-hero-overlay {
    overflow: hidden;
    padding: clamp(20px, 3.5vh, 48px) var(--page-gutter) !important;
}
.home-hero .container {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.home-hero .hero-logo {
    max-width: clamp(64px, 11vh, 112px) !important;
    max-height: clamp(64px, 11vh, 112px) !important;
    margin-bottom: clamp(8px, 1.6vh, 18px) !important;
}
.home-hero .hero-title {
    max-width: 22ch !important;
    margin-bottom: clamp(8px, 1.7vh, 18px) !important;
    font-size: clamp(2rem, min(6.2vw, 8.2vh), 7rem) !important;
    line-height: .96 !important;
}
.home-hero .hero-subtitle {
    margin: 0 !important;
    font-size: clamp(.68rem, min(1.2vw, 1.8vh), 1.08rem) !important;
}
.home-hero h3 {
    margin: clamp(6px, 1.2vh, 12px) auto 0 !important;
    font-size: clamp(.82rem, min(1.35vw, 2vh), 1.18rem) !important;
}
.home-hero .mt-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(10px, 2vh, 20px) !important;
}
.home-hero .btn {
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 20px;
}

@media (max-width: 620px) {
    .home-hero-overlay { padding: 14px var(--page-gutter) !important; }
    .home-hero .hero-title { max-width: 18ch !important; }
    .home-hero .mt-4 { width: min(100%, 300px); flex-direction: column; gap: 7px; }
    .home-hero .btn { width: 100% !important; min-height: 40px; padding: 7px 16px; }
}

@media (max-height: 600px) {
    .home-hero-overlay { padding-block: 8px !important; }
    .home-hero .hero-logo { max-width: 48px !important; max-height: 48px !important; margin-bottom: 5px !important; }
    .home-hero .hero-title { margin-bottom: 5px !important; font-size: clamp(1.45rem, 7vh, 2.5rem) !important; line-height: .9 !important; }
    .home-hero .hero-subtitle { font-size: .6rem !important; }
    .home-hero h3 { margin-top: 4px !important; font-size: .75rem !important; }
    .home-hero .mt-4 { flex-direction: row; width: auto; gap: 6px; margin-top: 6px !important; }
    .home-hero .btn { width: auto !important; min-height: 32px; padding: 5px 12px; font-size: .68rem; }
}

/* Mandir timings — devotional bento grid. */
.timings-section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(82px, 8vw, 128px) !important;
    background:
        radial-gradient(circle at 8% 14%, rgba(213, 161, 55, .16), transparent 26rem),
        radial-gradient(circle at 94% 84%, rgba(104, 21, 47, .10), transparent 30rem),
        linear-gradient(145deg, #fffdf8 0%, #f8f0e3 52%, #fffaf2 100%);
}
.timings-section::before {
    content: "";
    top: 42px;
    left: 50%;
    width: min(84vw, 1180px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(177, 128, 31, .36), transparent);
}
.timings-section::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: -190px;
    z-index: -1;
    width: 520px;
    aspect-ratio: 1;
    border: 1px solid rgba(177, 128, 31, .10);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 24px, rgba(177, 128, 31, .035) 25px 26px);
}
.timings-section > .container { position: relative; z-index: 1; }
.timings-heading { max-width: 760px; margin: 0 auto clamp(42px, 5vw, 70px); }
.timings-heading::before { display: none !important; }
.timings-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(177, 128, 31, .24);
    border-radius: 999px;
    color: #6a1731;
    background: rgba(255,255,255,.7);
    box-shadow: 0 10px 28px rgba(72, 28, 15, .06);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.timings-heading h2 { display: block !important; margin-bottom: 14px !important; }
.timings-heading h2::after { display: none !important; }
.timings-heading p { margin: 0; }
.timings-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; color: #b5812d; }
.timings-ornament span { width: 72px; height: 1px; background: linear-gradient(90deg, transparent, rgba(181,129,45,.7)); }
.timings-ornament span:last-child { transform: scaleX(-1); }
.timings-ornament i { font-size: 1.05rem; }
.timings-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
}
.timings-grid > .timing-card { grid-column: span 2; }
.timings-grid > .timing-card:nth-last-child(2):nth-child(3n + 1),
.timings-grid > .timing-card:last-child:nth-child(3n + 2) { grid-column: span 3; }
.timings-grid > .timing-card:only-child { grid-column: 2 / span 4; }
.timing-card {
    --timing-accent: #b9852d;
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: clamp(25px, 2.2vw, 36px) !important;
    overflow: hidden;
    border: 1px solid rgba(119, 70, 26, .14) !important;
    border-radius: 28px !important;
    text-align: left !important;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--timing-accent) 13%, transparent), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,249,237,.88)) !important;
    box-shadow: 0 24px 60px rgba(70, 32, 17, .10), inset 0 1px 0 rgba(255,255,255,.85) !important;
}
.timing-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--timing-accent), transparent);
}
.timing-card--evening { --timing-accent: #7e2947; }
.timing-card--darshan { --timing-accent: #c49332; }
.timing-card--sabha { --timing-accent: #9c5c35; }
.timing-card-top { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; }
.timing-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--timing-accent) 28%, transparent);
    border-radius: 17px;
    color: #fffaf0;
    background: linear-gradient(145deg, color-mix(in srgb, var(--timing-accent) 82%, #fff), var(--timing-accent));
    box-shadow: 0 13px 25px color-mix(in srgb, var(--timing-accent) 23%, transparent);
    font-size: 1.2rem;
    transition: transform .4s var(--s-ease), box-shadow .4s ease;
}
.timing-type { color: #856f65; font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.timing-sequence { color: color-mix(in srgb, var(--timing-accent) 28%, transparent); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; }
.timing-card-body { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding-top: 23px; }
.timing-card .timing-name { margin: 0 !important; color: #3f101e !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 1.55vw, 1.85rem) !important; font-weight: 650 !important; line-height: 1.15; }
.timing-time { margin: 8px 0 15px; color: #741936; font-size: clamp(1.75rem, 2.35vw, 2.75rem); font-weight: 850; line-height: 1.05; letter-spacing: -.035em; }
.timing-description { margin: 0; color: #5f5551; font-size: clamp(.86rem, .82vw, 1rem); line-height: 1.72; }
.timing-card-corner {
    position: absolute;
    right: -45px;
    bottom: -48px;
    width: 130px;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--timing-accent) 14%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 0 18px color-mix(in srgb, var(--timing-accent) 4%, transparent), 0 0 0 38px color-mix(in srgb, var(--timing-accent) 3%, transparent);
}
.timings-empty { grid-column: 1 / -1; }

@media (hover: hover) and (pointer: fine) {
    .timing-card:hover .timing-icon { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 18px 32px color-mix(in srgb, var(--timing-accent) 30%, transparent); }
}
@media (max-width: 991.98px) {
    .timings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timings-grid > .timing-card,
    .timings-grid > .timing-card:nth-last-child(2):nth-child(3n + 1),
    .timings-grid > .timing-card:last-child:nth-child(3n + 2),
    .timings-grid > .timing-card:only-child { grid-column: auto; }
    .timings-grid > .timing-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .timings-section { padding-block: 66px !important; }
    .timings-heading { margin-bottom: 36px; }
    .timings-grid { grid-template-columns: 1fr; gap: 16px; }
    .timings-grid > .timing-card,
    .timings-grid > .timing-card:last-child:nth-child(odd) { grid-column: auto; }
    .timing-card { min-height: 0; padding: 22px !important; border-radius: 22px !important; }
    .timing-icon { width: 46px; height: 46px; border-radius: 14px; }
    .timing-card-body { padding-top: 19px; }
    .timing-description { line-height: 1.62; }
}

/* Featured Daily Darshan — full, uncropped portrait in a shrine-inspired frame. */
.darshan-feature-section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(76px, 8vw, 128px) !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(209, 158, 56, .16), transparent 28rem),
        radial-gradient(circle at 92% 78%, rgba(104, 21, 47, .11), transparent 30rem),
        linear-gradient(145deg, #fffdf8, #f7eee0 56%, #fff9ef);
}
.darshan-feature-section::before,
.darshan-feature-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(180, 131, 32, .10);
    border-radius: 50%;
}
.darshan-feature-section::before { left: -230px; top: -250px; width: 540px; aspect-ratio: 1; box-shadow: 0 0 0 34px rgba(180,131,32,.025), 0 0 0 72px rgba(180,131,32,.018); }
.darshan-feature-section::after { right: -180px; bottom: -220px; width: 450px; aspect-ratio: 1; box-shadow: 0 0 0 26px rgba(104,21,47,.025), 0 0 0 60px rgba(104,21,47,.018); }
.darshan-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    min-height: clamp(650px, 67vw, 820px);
    overflow: hidden;
    border: 1px solid rgba(137, 83, 27, .18);
    border-radius: clamp(28px, 2.4vw, 42px);
    background: rgba(255,252,245,.82);
    box-shadow: 0 38px 100px rgba(64, 27, 15, .15), inset 0 1px 0 rgba(255,255,255,.9);
}
.darshan-feature-visual {
    position: relative;
    min-width: 0;
    display: grid;
    place-items: center;
    padding: clamp(24px, 3vw, 48px);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #3d101c, #7b2941 48%, #351019);
}
.darshan-feature-backdrop {
    position: absolute;
    inset: -8%;
    z-index: -3;
    width: 116%;
    height: 116%;
    object-fit: cover;
    object-position: center;
    filter: blur(26px) saturate(.8) brightness(.62);
    opacity: .55;
    transform: scale(1.08);
}
.darshan-feature-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,226,148,.30), transparent 34%),
        linear-gradient(180deg, rgba(24,3,8,.10), rgba(24,3,8,.62));
}
.darshan-feature-halo {
    position: absolute;
    top: 9%;
    left: 50%;
    z-index: -1;
    width: min(70%, 500px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,225,142,.35);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 18px rgba(255,225,142,.045), 0 0 70px rgba(255,212,102,.18);
}
.darshan-feature-frame {
    position: relative;
    width: min(100%, 650px);
    height: 100%;
    max-height: 740px;
    min-height: 560px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(10px, 1vw, 16px);
    overflow: hidden;
    border: 1px solid rgba(255,229,163,.64);
    border-radius: 28px 28px 18px 18px;
    background: rgba(25,4,9,.34);
    box-shadow: 0 28px 65px rgba(0,0,0,.34), inset 0 0 0 5px rgba(255,255,255,.045);
}
.darshan-feature-frame::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    border: 1px solid rgba(255,229,163,.22);
    border-radius: 21px 21px 12px 12px;
}
.darshan-feature-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 710px;
    object-fit: contain;
    object-position: center top;
    border-radius: 18px 18px 10px 10px;
    filter: saturate(1.03) contrast(1.02);
}
.darshan-feature-photo-label {
    position: absolute;
    left: 50%;
    bottom: clamp(30px, 3.3vw, 52px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(255,230,163,.45);
    border-radius: 999px;
    color: #fff0bf;
    background: rgba(35,5,13,.78);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: translateX(-50%);
}
.darshan-feature-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(46px, 5vw, 92px);
    background:
        radial-gradient(circle at 100% 0, rgba(211,160,58,.13), transparent 34%),
        linear-gradient(145deg, rgba(255,253,248,.96), rgba(250,241,226,.90));
}
.darshan-feature-copy::before {
    content: "ॐ";
    position: absolute;
    right: clamp(22px, 3vw, 50px);
    top: clamp(18px, 3vw, 45px);
    color: rgba(171, 119, 35, .13);
    font-family: Georgia, serif;
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    line-height: 1;
}
.darshan-feature-kicker {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 13px;
    border: 1px solid rgba(150, 91, 26, .18);
    border-radius: 999px;
    color: #7a2340;
    background: rgba(255,255,255,.68);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.darshan-feature-date { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; color: #8b7569; font-size: .84rem; font-weight: 650; }
.darshan-feature-copy h2 { margin: 0; color: #3d0d1b; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5.2vw, 6rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.darshan-feature-ornament { display: flex; align-items: center; gap: 9px; margin: 20px 0 25px; color: #bd8c35; }
.darshan-feature-ornament span { width: 54px; height: 1px; background: linear-gradient(90deg, #bd8c35, transparent); }
.darshan-feature-ornament span:first-child { transform: scaleX(-1); }
.darshan-feature-copy h3 { margin: 0 0 9px; color: #31151d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 1.75vw, 2rem); font-weight: 650; }
.darshan-feature-description { max-width: 55ch; margin: 0; color: #635852; line-height: 1.75; }
.darshan-feature-blessing { max-width: 42ch; margin: 25px 0 28px; padding: 15px 0 15px 18px; border-left: 2px solid #c5943a; color: #7b6255; font-family: Georgia, "Times New Roman", serif; font-size: clamp(.9rem, .92vw, 1.08rem); font-style: italic; line-height: 1.6; }
.darshan-feature-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid #741936;
    border-radius: 999px;
    color: #fffaf0;
    background: linear-gradient(135deg, #7b1738, #470916);
    box-shadow: 0 15px 30px rgba(89, 11, 35, .22);
    font-weight: 800;
    text-decoration: none;
    transition: transform .3s var(--s-ease), box-shadow .3s ease;
}
.darshan-feature-link i { transition: transform .3s var(--s-ease); }
.darshan-feature-link:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px rgba(89,11,35,.28); }
.darshan-feature-link:hover i { transform: translateX(4px); }

@media (max-width: 991.98px) {
    .darshan-feature-card { grid-template-columns: 1fr; }
    .darshan-feature-visual { min-height: 720px; }
    .darshan-feature-frame { width: min(100%, 590px); height: 650px; min-height: 0; }
    .darshan-feature-copy { padding: 56px clamp(28px, 7vw, 68px) 64px; text-align: center; align-items: center; }
    .darshan-feature-kicker, .darshan-feature-link { align-self: center; }
    .darshan-feature-date, .darshan-feature-ornament { justify-content: center; }
    .darshan-feature-blessing { text-align: left; }
}
@media (max-width: 620px) {
    .darshan-feature-section { padding-block: 58px !important; }
    .darshan-feature-card { border-radius: 26px; }
    .darshan-feature-visual { min-height: 520px; padding: 18px; }
    .darshan-feature-frame { width: 100%; height: 480px; border-radius: 22px 22px 14px 14px; }
    .darshan-feature-image { max-height: 450px; }
    .darshan-feature-photo-label { bottom: 27px; font-size: .6rem; }
    .darshan-feature-copy { padding: 42px 22px 48px; }
    .darshan-feature-copy h2 { font-size: clamp(2.7rem, 14vw, 4rem); }
    .darshan-feature-copy::before { font-size: 4rem; }
    .darshan-feature-blessing { margin-block: 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .scsst-notice-track {
        animation: none !important;
        transform: none !important;
    }
    .scsst-notice-window { overflow-x: auto; }
    .scsst-notice-group[aria-hidden="true"] { display: none; }
}

/* Event details and itinerary */
.event-card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.event-itinerary-available { display: inline-flex; width: max-content; margin: 0 0 1rem; padding: .38rem .6rem; align-items: center; gap: .35rem; border-radius: 999px; color: #6f4a05; background: #fff3cc; font-size: .72rem; font-weight: 800; }
.event-details-page { background: linear-gradient(180deg,#fffaf0,#fff 32rem); }
.event-details-hero { position: relative; min-height: clamp(560px,64vh,700px); overflow: hidden; display: flex; align-items: center; color: #fff; background: linear-gradient(145deg,#68142e,#2d0712); isolation: isolate; }
.event-details-hero-bg { position: absolute; z-index: -2; inset: -22px; width: calc(100% + 44px); height: calc(100% + 44px); object-fit: cover; object-position: center; opacity: .4; filter: blur(14px) saturate(.78); transform: scale(1.03); }
.event-details-hero-shade { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 76% 48%,rgba(183,123,36,.2),transparent 33%),linear-gradient(110deg,rgba(31,3,11,.98) 3%,rgba(62,9,25,.92) 48%,rgba(28,3,10,.82)); }
.event-details-hero-layout { position: relative; display: grid; grid-template-columns: minmax(0,.84fr) minmax(420px,1.16fr); align-items: center; gap: clamp(2rem,5vw,5.5rem); padding-block: clamp(2.75rem,4.5vw,4.25rem); }
.event-details-hero-layout.without-poster { grid-template-columns: minmax(0,900px); }
.event-details-hero-content { min-width: 0; }
.event-details-back { display: inline-flex; margin-bottom: clamp(1.5rem,4vw,3rem); align-items: center; gap: .45rem; color: #f6dfa0; font-weight: 800; text-decoration: none; }
.event-details-back:hover { color: #fff; }
.event-details-kicker { display: flex; align-items: center; gap: .5rem; color: #f5d77c; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.event-details-hero h1 { max-width: 760px; margin: .65rem 0 1.4rem; color: #fff7df; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.7rem,5.2vw,5.35rem); line-height: .98; text-wrap: balance; }
.event-details-meta { display: flex; flex-wrap: wrap; gap: .7rem; }
.event-details-meta span { display: inline-flex; padding: .65rem .85rem; align-items: center; gap: .45rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.9); background: rgba(38,5,15,.34); backdrop-filter: blur(12px); font-size: .82rem; font-weight: 700; }
.event-details-poster { position: relative; overflow: hidden; width: 100%; margin: 0; border: 1px solid rgba(247,217,140,.32); border-radius: clamp(1.1rem,2.2vw,1.75rem); background: rgba(15,2,7,.68); box-shadow: 0 32px 75px rgba(0,0,0,.38),0 0 0 8px rgba(255,255,255,.035); }
.event-details-poster a { display: grid; min-height: 240px; padding: clamp(.4rem,.8vw,.7rem); place-items: center; background: rgba(8,1,4,.4); }
.event-details-poster img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(60vh,600px); border-radius: calc(clamp(1.1rem,2.2vw,1.75rem) - .5rem); object-fit: contain; }
.event-details-poster figcaption { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; padding: .52rem .72rem; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff4d5; background: rgba(35,4,13,.78); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 800; pointer-events: none; }
.event-details-content { position: relative; z-index: 2; margin-top: -2.2rem; }
.event-details-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.42fr); align-items: start; gap: 1.25rem; }
.event-details-card { padding: clamp(1.5rem,4vw,2.5rem); border: 1px solid rgba(106,43,62,.12); border-radius: 1.5rem; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(64,22,35,.1); }
.event-section-label { display: block; color: #a17418; font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.event-details-card h2,.event-itinerary-heading h2 { margin: .35rem 0 1rem; color: #4a1023; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.8rem,4vw,2.7rem); }
.event-details-copy { margin-bottom: 1.5rem; color: #5f5356; font-size: 1.02rem; line-height: 1.85; }
.event-quick-info dl { display: grid; gap: 0; margin: 0; }
.event-quick-info dl > div { padding: 1rem 0; border-bottom: 1px solid rgba(106,43,62,.1); }
.event-quick-info dl > div:last-child { border-bottom: 0; }
.event-quick-info dt { display: flex; align-items: center; gap: .45rem; color: #986d16; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.event-quick-info dd { margin: .3rem 0 0; color: #3f2830; font-weight: 800; }
.event-itinerary-section { margin-top: clamp(2rem,5vw,4rem); padding: clamp(1.4rem,4vw,2.7rem); border: 1px solid rgba(158,112,19,.19); border-radius: 1.6rem; background: linear-gradient(145deg,#fffdf8,#fff7e5); box-shadow: 0 20px 60px rgba(85,47,12,.08); }
.event-itinerary-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.event-itinerary-heading h2 { margin-bottom: .35rem; }
.event-itinerary-heading p { margin: 0; color: #716468; }
.event-itinerary-heading > i { display: grid; width: 68px; height: 68px; flex: 0 0 68px; place-items: center; border-radius: 1.1rem; color: #57142a; background: linear-gradient(145deg,#f8e4a9,#d7ae45); font-size: 1.8rem; box-shadow: 0 12px 28px rgba(126,84,8,.15); }
.event-itinerary-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(340px,1.2fr); align-items: start; gap: 1.25rem; margin-top: 1.6rem; }
.event-itinerary-grid.single-column { grid-template-columns: 1fr; }
.event-itinerary-text,.event-itinerary-image { overflow: hidden; margin: 0; border: 1px solid rgba(106,43,62,.11); border-radius: 1.2rem; background: #fff; box-shadow: 0 12px 35px rgba(55,20,31,.06); }
.event-itinerary-text { padding: clamp(1.2rem,3vw,2rem); }
.event-itinerary-text h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: #56152a; font-size: 1.2rem; }
.event-itinerary-text > div { color: #55484c; font-size: .98rem; line-height: 1.95; }
.event-itinerary-image a { display: block; padding: .8rem; background: #f5f0eb; }
.event-itinerary-image img { display: block; width: 100%; max-height: 900px; border-radius: .8rem; object-fit: contain; background: #fff; }
.event-itinerary-image figcaption { display: flex; padding: .75rem 1rem; align-items: center; justify-content: center; gap: .4rem; color: #75686c; font-size: .72rem; }
.event-itinerary-empty { display: grid; min-height: 200px; margin-top: 1.5rem; place-items: center; align-content: center; color: #8d7b64; }
.event-itinerary-empty i { color: #c69b3c; font-size: 2.5rem; }
.event-itinerary-empty p { margin: .7rem 0 0; font-weight: 800; }

@media (max-width: 900px) {
    .event-details-hero { min-height: 0; }
    .event-details-hero-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 4.5rem; }
    .event-details-hero-layout.without-poster { grid-template-columns: 1fr; }
    .event-details-hero h1 { max-width: 850px; }
    .event-details-poster { width: min(100%,760px); }
    .event-details-poster img { max-height: none; }
    .event-details-grid,.event-itinerary-grid { grid-template-columns: 1fr; }
    .event-details-content { margin-top: -1.2rem; }
}
@media (max-width: 576px) {
    .event-details-hero-layout { gap: 1.5rem; padding-block: 2rem 3.25rem; }
    .event-details-back { margin-bottom: 1.4rem; }
    .event-details-hero h1 { font-size: clamp(2.35rem,12vw,3.45rem); line-height: 1; }
    .event-details-meta { align-items: stretch; flex-direction: column; }
    .event-details-meta span { width: max-content; max-width: 100%; }
    .event-details-poster a { min-height: 170px; padding: .35rem; }
    .event-details-poster figcaption { right: .65rem; bottom: .65rem; padding: .42rem .6rem; }
    .event-details-card,.event-itinerary-section { border-radius: 1.15rem; }
    .event-itinerary-heading > i { width: 52px; height: 52px; flex-basis: 52px; font-size: 1.35rem; }
}

/* About page — heritage editorial layout */
.about-page { overflow: hidden; background: #fffaf2; }
.about-page .about-hero { min-height: min(760px,calc(100svh - 82px)); padding: 0 !important; place-items: stretch; background: linear-gradient(100deg,rgba(25,2,8,.96) 4%,rgba(67,9,26,.82) 52%,rgba(32,3,11,.42)),url('../images/temple.webp') center 43% / cover no-repeat !important; }
.about-page .about-hero::before { inset: 18px; border-radius: 30px; }
.about-page .about-hero::after { content: "SHREE CUTCH SATSANG SWAMINARAYAN TEMPLE"; bottom: 30px; right: clamp(28px,5vw,76px); }
.about-hero-overlay { width: 100%; display: flex; align-items: center; background: radial-gradient(circle at 18% 36%,rgba(211,164,68,.13),transparent 24rem); }
.about-hero-content { position: relative; padding-block: clamp(70px,7vw,100px) clamp(72px,8vw,110px); text-align: left; }
.about-hero-mark { width: clamp(70px,6vw,90px); height: clamp(70px,6vw,90px); margin-bottom: 15px; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,.38)); }
.about-page .about-badge { display: flex; width: max-content; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.about-page .about-hero h1 { max-width: 920px; font-size: clamp(3.2rem,7.2vw,7.25rem) !important; line-height: .91; text-align: left; text-wrap: balance; }
.about-page .about-hero p { max-width: 680px; margin: 18px 0 0; color: rgba(255,248,230,.76) !important; font-size: clamp(.96rem,1.35vw,1.18rem); line-height: 1.75; text-align: left; }
.about-hero-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 780px; margin-top: 26px; border-top: 1px solid rgba(244,217,149,.2); }
.about-hero-facts > div { min-width: 0; padding: 14px 24px 0 0; }
.about-hero-facts strong,.about-hero-facts span { display: block; }
.about-hero-facts strong { color: #f3d88f; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.7rem,3vw,2.7rem); font-weight: 500; }
.about-hero-facts span { color: rgba(255,255,255,.65); font-size: .73rem; font-weight: 650; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #8b2341; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.about-heritage { position: relative; background: radial-gradient(circle at 5% 10%,rgba(207,157,59,.12),transparent 27rem),#fffaf2; }
.about-heritage-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); align-items: center; gap: clamp(44px,7vw,105px); }
.about-heritage-visual { position: relative; min-height: 590px; margin: 0; padding: 14px; border: 1px solid rgba(138,82,26,.18); border-radius: 34px 34px 130px 34px; background: rgba(255,255,255,.6); box-shadow: 0 35px 90px rgba(60,26,19,.14); }
.about-heritage-visual::before { content: ""; position: absolute; inset: -22px 38px 38px -22px; z-index: -1; border: 1px solid rgba(190,137,36,.2); border-radius: 46px 46px 145px 46px; }
.about-heritage-visual img { width: 100%; height: 590px; border-radius: 24px 24px 116px 24px; object-fit: cover; object-position: center 50%; }
.about-heritage-visual figcaption { position: absolute; left: 32px; bottom: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff4d2; background: rgba(43,4,15,.78); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 750; }
.about-heritage-seal { position: absolute; top: 34px; right: -34px; width: 112px; aspect-ratio: 1; display: grid; place-content: center; border: 7px double rgba(91,20,41,.66); border-radius: 50%; color: #4d1024; background: linear-gradient(145deg,#f7dda0,#c99b43); box-shadow: 0 18px 40px rgba(76,34,12,.22); text-align: center; transform: rotate(6deg); }
.about-heritage-seal span,.about-heritage-seal strong { display: block; }
.about-heritage-seal span { font-size: .58rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.about-heritage-seal strong { font-family: Georgia,serif; font-size: 1.65rem; }
.about-heritage-copy h2,.about-section-heading h2,.about-legacy-copy h2,.about-future-card h2 { margin: 13px 0 24px; color: #3a0918; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.5rem,4.7vw,5.15rem); font-weight: 500; line-height: .99; letter-spacing: -.05em; text-wrap: balance; }
.about-heritage-copy > p { color: #65575b; line-height: 1.82; }
.about-heritage-copy .about-lead { color: #4d333a; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.12rem,1.4vw,1.3rem); line-height: 1.65; }
.about-devotion-note { display: flex; align-items: center; gap: 14px; margin-top: 29px; padding: 17px 18px; border-left: 3px solid #c7993c; color: #744c22; background: linear-gradient(90deg,rgba(223,183,95,.15),transparent); font-family: Georgia,serif; font-style: italic; }
.about-devotion-note i { color: #9e6c1d; font-size: 1.4rem; }
.about-journey { position: relative; isolation: isolate; padding: clamp(90px,10vw,145px) 0; overflow: hidden; color: #fff; background: radial-gradient(circle at 12% 0,rgba(219,173,81,.16),transparent 29rem),radial-gradient(circle at 90% 100%,rgba(161,50,83,.2),transparent 29rem),linear-gradient(145deg,#190209,#4c0a20 58%,#25040e); }
.about-journey::before { content: "ॐ"; position: absolute; right: -2vw; top: -5rem; z-index: -1; color: rgba(255,224,146,.035); font-family: Georgia,serif; font-size: clamp(18rem,36vw,40rem); line-height: 1; }
.about-section-heading { max-width: 780px; margin: 0 auto clamp(42px,6vw,72px); text-align: center; }
.about-section-heading p { max-width: 640px; margin: 0 auto; color: #78696e; line-height: 1.75; }
.about-section-heading-light .about-eyebrow { color: #edcf83; }
.about-section-heading-light h2 { color: #fff5da; }
.about-section-heading-light p { color: rgba(255,255,255,.63); }
.about-timeline-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: journey; }
.about-timeline-card { position: relative; min-height: 300px; padding: 30px; overflow: hidden; border: 1px solid rgba(244,217,149,.15); border-radius: 24px; background: linear-gradient(150deg,rgba(255,255,255,.085),rgba(255,255,255,.025)); backdrop-filter: blur(10px); transition: transform .35s ease,border-color .35s ease,background .35s ease; }
.about-timeline-card:hover { border-color: rgba(244,217,149,.4); background: linear-gradient(150deg,rgba(244,217,149,.13),rgba(255,255,255,.035)); transform: translateY(-6px); }
.about-timeline-icon { display: grid; width: 48px; height: 48px; margin-bottom: 42px; place-items: center; border: 1px solid rgba(244,217,149,.24); border-radius: 15px; color: #edcf83; background: rgba(244,217,149,.08); font-size: 1.15rem; }
.about-timeline-card time { display: block; margin-bottom: 8px; color: #edcf83; font-size: .67rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.about-timeline-card h3 { margin: 0 0 12px; color: #fff7df; font-family: Georgia,serif; font-size: 1.45rem; }
.about-timeline-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .87rem; line-height: 1.72; }
.about-timeline-card::after { counter-increment: journey; content: "0" counter(journey); position: absolute; right: 20px; top: 14px; color: rgba(244,217,149,.06); font-family: Georgia,serif; font-size: 5rem; }
.about-pillars { background: radial-gradient(circle at 90% 20%,rgba(157,41,74,.08),transparent 26rem),#fffaf2; }
.about-pillar-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.about-pillar-card { position: relative; min-height: 350px; padding: 32px 28px; overflow: hidden; border: 1px solid rgba(99,37,55,.1); border-radius: 26px; background: #fff; box-shadow: 0 22px 60px rgba(61,19,31,.085); transition: transform .35s ease,box-shadow .35s ease; }
.about-pillar-card::before { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--pillar-color,#c99b43); }
.about-pillar-card:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(61,19,31,.14); }
.about-pillar-card > i { display: grid; width: 60px; height: 60px; margin: 65px 0 24px; place-items: center; border-radius: 18px; color: #fff; background: var(--pillar-color,#c99b43); font-size: 1.45rem; box-shadow: 0 14px 28px rgba(70,20,35,.16); }
.about-pillar-number { position: absolute; right: 22px; top: 18px; color: rgba(67,14,31,.075); font-family: Georgia,serif; font-size: 4.5rem; line-height: 1; }
.about-pillar-card h3 { margin: 0 0 11px; color: #3b0b19; font-family: Georgia,serif; font-size: 1.75rem; }
.about-pillar-card p { margin: 0; color: #716469; font-size: .9rem; line-height: 1.7; }
.about-pillar-bhakti { --pillar-color:#9b294b; }
.about-pillar-seva { --pillar-color:#b98326; }
.about-pillar-sanskar { --pillar-color:#315f70; }
.about-pillar-satsang { --pillar-color:#6e4b83; }
.about-legacy { padding: clamp(30px,5vw,65px) 0 clamp(90px,10vw,145px); background: #fffaf2; }
.about-legacy-card { display: grid; grid-template-columns: minmax(140px,.28fr) minmax(0,1fr) minmax(260px,.47fr); gap: clamp(28px,5vw,70px); align-items: center; padding: clamp(34px,5vw,72px); border: 1px solid rgba(244,217,149,.23); border-radius: 34px; color: #fff; background: radial-gradient(circle at 0 0,rgba(244,217,149,.15),transparent 30rem),linear-gradient(140deg,#26040e,#68152f); box-shadow: 0 35px 90px rgba(59,10,25,.22); }
.about-legacy-year { display: grid; width: 150px; aspect-ratio: 1; place-content: center; border: 1px solid rgba(244,217,149,.34); border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 10px rgba(244,217,149,.035); }
.about-legacy-year small,.about-legacy-year strong { display: block; }
.about-legacy-year small { color: rgba(255,255,255,.55); font-size: .6rem; letter-spacing: .18em; }
.about-legacy-year strong { color: #f3d88f; font-family: Georgia,serif; font-size: 2.7rem; }
.about-legacy-copy .about-eyebrow { color: #edcf83; }
.about-legacy-copy h2 { color: #fff6dc; font-size: clamp(2.2rem,3.8vw,4.3rem); }
.about-legacy-copy p { color: rgba(255,255,255,.67); line-height: 1.76; }
.about-legacy-facts { display: grid; grid-template-columns: repeat(2,1fr); margin: 0; border: 1px solid rgba(244,217,149,.16); border-radius: 20px; overflow: hidden; }
.about-legacy-facts > div { min-width: 0; padding: 23px 18px; border-right: 1px solid rgba(244,217,149,.12); border-bottom: 1px solid rgba(244,217,149,.12); }
.about-legacy-facts > div:nth-child(2n) { border-right: 0; }
.about-legacy-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.about-legacy-facts dt { color: #f3d88f; font-family: Georgia,serif; font-size: 1.65rem; font-weight: 500; }
.about-legacy-facts dd { margin: 4px 0 0; color: rgba(255,255,255,.55); font-size: .68rem; }
.about-future { padding-block: clamp(70px,8vw,110px) !important; background: radial-gradient(circle at 50% 0,rgba(208,158,62,.17),transparent 24rem),linear-gradient(180deg,#f5ecdd,#fffaf2); }
.about-future-card { position: relative; max-width: 1120px; min-height: 500px; display: grid; grid-template-columns: 210px minmax(0,1fr); gap: clamp(28px,5vw,70px); align-items: center; margin: 0 auto; padding: clamp(42px,6vw,80px); overflow: hidden; border: 1px solid rgba(222,183,101,.22); border-radius: 36px; color: #fff; background: radial-gradient(circle at 5% 10%,rgba(244,217,149,.16),transparent 24rem),linear-gradient(140deg,#24030d,#68162f); box-shadow: 0 35px 90px rgba(59,10,25,.22); text-align: left; }
.about-future-card::after { content: "ॐ"; position: absolute; right: -35px; bottom: -80px; color: rgba(244,217,149,.045); font-family: Georgia,serif; font-size: 18rem; line-height: 1; }
.about-future-logo { position: relative; z-index: 1; display: grid; width: 190px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(244,217,149,.27); border-radius: 50%; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 12px rgba(244,217,149,.025); }
.about-future-logo img { width: 116px !important; height: 116px !important; margin: 0 auto !important; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,.3)); }
.about-future-copy { position: relative; z-index: 1; }
.about-future-copy .about-eyebrow { color: #edcf83; }
.about-page .about-future-card h2 { max-width: 760px; margin: 12px 0 20px; color: #fff6dc; font-size: clamp(2.5rem,4.6vw,5rem); }
.about-future-card p { max-width: 700px; margin: 0; color: rgba(255,255,255,.66); font-size: .96rem; line-height: 1.78; }
.about-future-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.about-future-copy .about-future-actions { justify-content: flex-start; }
.about-future-actions .btn { display: inline-flex; min-height: 52px; align-items: center; gap: 10px; padding-inline: 24px; }
.about-outline-button { border: 1px solid rgba(244,217,149,.34) !important; color: #fff2cf !important; background: rgba(255,255,255,.045) !important; }
.about-outline-button:hover { color: #3b0a19 !important; background: #fff2cf !important; }
.about-jay { position: relative; z-index: 1; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -5px; color: #edcf83; font-family: Georgia,serif; font-size: clamp(1.35rem,2vw,1.85rem); font-style: italic; font-weight: 500; }
.about-jay span { width: clamp(38px,7vw,90px); height: 1px; background: linear-gradient(90deg,transparent,rgba(244,217,149,.5)); }
.about-jay span:last-child { transform: scaleX(-1); }

@media (max-width: 1199.98px) {
    .about-pillar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .about-pillar-card { min-height: 300px; }
    .about-pillar-card > i { margin-top: 42px; }
    .about-legacy-card { grid-template-columns: 140px minmax(0,1fr); }
    .about-legacy-facts { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .about-page .about-hero { min-height: 690px; }
    .about-heritage-grid { grid-template-columns: 1fr; }
    .about-heritage-visual { width: min(100%,700px); min-height: 540px; margin-inline: auto; }
    .about-heritage-visual img { height: 540px; }
    .about-timeline-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .about-page .about-hero { min-height: 680px; }
    .about-page .about-hero::before { inset: 9px; border-radius: 20px; }
    .about-page .about-hero::after { left: 24px; right: 24px; bottom: 24px; text-align: center; font-size: .52rem; letter-spacing: .17em; }
    .about-hero-content { padding-block: 68px 80px; }
    .about-page .about-hero h1 { font-size: clamp(3rem,14vw,4.2rem) !important; }
    .about-hero-facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; max-width: 100%; }
    .about-hero-facts > div { display: block; padding: 14px 8px 0 0; }
    .about-hero-facts strong { font-size: 1.5rem; }
    .about-hero-facts span { font-size: .6rem; line-height: 1.35; }
    .about-heritage-visual { min-height: 420px; border-radius: 26px 26px 82px 26px; }
    .about-heritage-visual img { height: 420px; border-radius: 18px 18px 70px 18px; }
    .about-heritage-seal { right: 12px; top: 20px; width: 88px; }
    .about-heritage-seal strong { font-size: 1.3rem; }
    .about-heritage-visual figcaption { left: 25px; bottom: 25px; max-width: calc(100% - 50px); }
    .about-timeline-grid,.about-pillar-grid { grid-template-columns: 1fr; }
    .about-timeline-card { min-height: 0; }
    .about-timeline-icon { margin-bottom: 28px; }
    .about-pillar-card { min-height: 280px; }
    .about-legacy-card { grid-template-columns: 1fr; text-align: center; }
    .about-legacy-year { margin-inline: auto; }
    .about-legacy-facts { grid-column: auto; text-align: left; }
    .about-future-card { min-height: 0; grid-template-columns: 1fr; gap: 26px; padding: 38px 24px; border-radius: 26px; text-align: center; }
    .about-future-logo { width: 124px; margin-inline: auto; }
    .about-future-logo img { width: 78px !important; height: 78px !important; }
    .about-future-card h2 { font-size: clamp(2.35rem,11.5vw,3.8rem); }
    .about-future-copy .about-future-actions { justify-content: center; }
    .about-jay { grid-column: auto; margin-top: 4px; }
}
@media (max-width: 420px) {
    .about-page .about-hero { min-height: 680px; }
    .about-hero-mark { width: 68px; height: 68px; }
    .about-heritage-visual { min-height: 350px; padding: 9px; }
    .about-heritage-visual img { height: 350px; }
    .about-heritage-seal { width: 78px; }
    .about-legacy-card { padding: 30px 20px; border-radius: 25px; }
    .about-legacy-facts > div { padding: 18px 13px; }
}

/* About history: Kirinyaga Road to Langata */
.about-history-page .about-hero h1 { max-width: 1000px; }
.about-history-page .about-journey::before,
.about-history-page .about-future-card::after { content: "\0950"; }
.about-temples { position: relative; background: radial-gradient(circle at 92% 8%,rgba(127,29,58,.09),transparent 28rem),linear-gradient(180deg,#f8efe1,#fffaf2); }
.about-temple-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,3vw,38px); }
.about-temple-card { overflow: hidden; border: 1px solid rgba(92,28,47,.12); border-radius: 32px; background: rgba(255,255,255,.92); box-shadow: 0 28px 80px rgba(61,19,31,.11); }
.about-temple-art,.about-temple-photo { position: relative; height: clamp(330px,30vw,455px); overflow: hidden; margin: 0; }
.about-temple-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.about-temple-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(33,4,12,.83)); }
.about-temple-photo figcaption { position: absolute; z-index: 1; left: clamp(24px,4vw,42px); bottom: 30px; display: grid; color: #fff; }
.about-temple-photo figcaption span,.about-temple-era { color: #efd185; font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.about-temple-photo figcaption strong { color: #fff7df; font-family: Georgia,serif; font-size: clamp(2.7rem,5vw,4.8rem); font-weight: 500; line-height: 1; }
.about-temple-photo figcaption small { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; }
.about-temple-art-old { display: grid; place-content: center; isolation: isolate; color: #fff7df; background: radial-gradient(circle at 50% 30%,rgba(243,210,129,.2),transparent 18rem),linear-gradient(145deg,#23030c,#69152f); text-align: center; }
.about-temple-art-old::before { content: ""; position: absolute; z-index: -1; left: 13%; right: 13%; bottom: -23%; height: 72%; border: 2px solid rgba(244,217,149,.12); border-bottom: 0; border-radius: 50% 50% 0 0; box-shadow: 0 0 0 34px rgba(244,217,149,.025),0 0 0 68px rgba(244,217,149,.018); }
.about-temple-art-old::after { content: "KIRINYAGA ROAD  ·  NAIROBI"; position: absolute; right: 24px; bottom: 20px; left: 24px; color: rgba(255,255,255,.3); font-size: .56rem; font-weight: 850; letter-spacing: .22em; }
.about-temple-art-old img { position: relative; z-index: 1; width: 104px; height: 104px; margin: 16px auto 8px; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,.35)); }
.about-temple-art-old strong { font-family: Georgia,serif; font-size: clamp(3rem,6vw,5.4rem); font-weight: 500; line-height: .9; }
.about-temple-art-old small { margin-top: 10px; color: rgba(255,255,255,.7); font-weight: 750; }
.about-temple-copy { padding: clamp(28px,4vw,48px); }
.about-temple-label { display: inline-flex; align-items: center; gap: 7px; color: #9a6e19; font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.about-temple-copy h3 { margin: 10px 0 20px; color: #3a0918; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.35rem,4vw,4.2rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.about-temple-copy > p { color: #685a5f; font-size: .94rem; line-height: 1.82; }
.about-temple-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(91,29,48,.1); }
.about-temple-footer address { margin: 0; color: #806f74; font-size: .76rem; font-style: normal; line-height: 1.55; }
.about-temple-footer a { display: inline-flex; align-items: center; gap: 7px; color: #721b37; font-size: .75rem; font-weight: 800; text-decoration: none; }
.about-temple-footer a:hover { color: #b27f1f; }
.about-history-page .about-timeline-card { min-height: 285px; }
.about-history-page .about-timeline-icon { margin-bottom: 30px; }
.about-timeline-card.is-present { border-color: rgba(241,205,117,.44); background: linear-gradient(145deg,rgba(232,190,91,.2),rgba(255,255,255,.045)); }
.about-timeline-card.is-present .about-timeline-icon { color: #3d0b1a; background: #edcf83; }
.about-build-card .about-legacy-year strong { max-width: 110px; font-size: 1.9rem; line-height: 1; }
.about-sources { background: radial-gradient(circle at 12% 85%,rgba(204,153,54,.12),transparent 25rem),#f6ecdd; }
.about-sources-card { display: grid; grid-template-columns: minmax(250px,.65fr) minmax(0,1.35fr); gap: clamp(32px,6vw,90px); padding: clamp(34px,5vw,68px); border: 1px solid rgba(103,36,56,.12); border-radius: 32px; background: rgba(255,255,255,.82); box-shadow: 0 26px 70px rgba(62,24,34,.08); }
.about-sources-heading h2 { margin: 12px 0 18px; color: #3a0918; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.25rem,4vw,4.3rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.about-sources-heading p { color: #74676b; line-height: 1.75; }
.about-source-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.about-source-grid a { position: relative; display: flex; min-height: 118px; flex-direction: column; justify-content: center; padding: 20px 48px 20px 20px; border: 1px solid rgba(91,29,48,.1); border-radius: 17px; color: #3c1723; background: #fff; text-decoration: none; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.about-source-grid a:hover { border-color: rgba(164,113,20,.4); box-shadow: 0 15px 35px rgba(66,24,36,.09); transform: translateY(-3px); }
.about-source-grid span { margin-bottom: 5px; color: #9b701e; font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.about-source-grid strong { font-size: .88rem; line-height: 1.45; }
.about-source-grid a > i { position: absolute; top: 20px; right: 18px; color: #8d2845; }
.about-source-note { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; margin: 0; padding-top: 4px; color: #85767a; font-size: .72rem; line-height: 1.55; }
.about-source-note i { margin-top: 2px; color: #aa7a20; }

@media (max-width: 991.98px) {
    .about-temple-grid,.about-sources-card { grid-template-columns: 1fr; }
    .about-temple-art,.about-temple-photo { height: 390px; }
    .about-sources-heading { max-width: 680px; }
}
@media (max-width: 767.98px) {
    .about-history-page .about-hero h1 { font-size: clamp(2.75rem,13vw,4.1rem) !important; }
    .about-temple-card { border-radius: 24px; }
    .about-temple-art,.about-temple-photo { height: 300px; }
    .about-temple-footer { align-items: flex-start; flex-direction: column; }
    .about-history-page .about-timeline-card { min-height: 0; }
    .about-source-grid { grid-template-columns: 1fr; }
    .about-sources-card { padding: 28px 20px; border-radius: 24px; }
}
@media (max-width: 420px) {
    .about-temple-art,.about-temple-photo { height: 255px; }
    .about-temple-art-old img { width: 76px; height: 76px; }
    .about-temple-copy { padding: 25px 20px; }
}

/* Footer brand title matches the current logo-free footer markup. */
.premium-footer .footer-brand-box > * { min-width: 0; }
.premium-footer .footer-brand-title {
    position: static !important;
    width: auto !important;
    max-width: 440px;
    margin: 0 0 11px !important;
    color: var(--footer-gold-light,#f9dc83) !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: clamp(1.28rem,1.45vw,1.72rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    transform: none !important;
}
.premium-footer .footer-subtitle {
    position: static !important;
    width: auto !important;
    transform: none !important;
}

@media (max-width: 767.98px) {
    .premium-footer .footer-brand-box {
        display: block !important;
        padding: 18px !important;
    }
    .premium-footer .footer-brand-title {
        max-width: 100% !important;
        margin-bottom: 9px !important;
        font-size: clamp(1.2rem,6vw,1.5rem) !important;
        line-height: 1.2 !important;
    }
    .premium-footer .footer-subtitle {
        display: block !important;
        margin: 0 0 12px !important;
        font-size: .65rem !important;
        line-height: 1.5 !important;
        letter-spacing: .035em !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .premium-footer .footer-brand-box .footer-text {
        display: block !important;
        margin: 0 !important;
    }
}

@media (max-width: 390px) {
    .premium-footer .footer-brand-box { padding: 15px !important; }
    .premium-footer .footer-brand-title { font-size: 1.18rem !important; }
    .premium-footer .footer-subtitle { font-size: .6rem !important; }
}

/* Shared Gallery and Daily Darshan image viewer. */
.media-tile .gallery-detail-img,
.media-tile .darshan-detail-img {
    width: 100% !important;
    height: 100% !important;
    padding: 6px;
    object-fit: contain !important;
    background: radial-gradient(circle at 50% 42%, #fffaf0, #eadfce);
}
body.image-lightbox-open { overflow: hidden; }
.image-lightbox[hidden] { display: none !important; }
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 44px);
    opacity: 0;
    color: #fff;
    background: radial-gradient(circle at 50% 35%, rgba(109, 30, 54, .36), transparent 40rem), rgba(12, 2, 6, .94);
    backdrop-filter: blur(14px);
    transition: opacity .2s ease;
}
.image-lightbox.is-open { opacity: 1; }
.image-lightbox-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-lightbox-figure {
    position: relative;
    width: min(1180px, calc(100vw - 150px));
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.image-lightbox .image-lightbox-image {
    flex: 0 1 auto;
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(100vh - 150px) !important;
    max-height: calc(100dvh - 150px) !important;
    border: 1px solid rgba(247, 219, 149, .28);
    border-radius: clamp(10px, 1.4vw, 20px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .62);
    object-fit: contain !important;
}
.image-lightbox-meta {
    position: static;
    width: min(100%, 820px);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .88);
    background: rgba(24, 3, 10, .72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
    font-size: .82rem;
}
.image-lightbox-caption {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.image-lightbox-counter { flex: 0 0 auto; color: #f5d98f; font-weight: 800; }
.image-lightbox-close,
.image-lightbox-nav {
    position: absolute;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(247, 219, 149, .3);
    border-radius: 50%;
    color: #fff;
    background: rgba(75, 12, 31, .78);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.image-lightbox-close:hover,
.image-lightbox-nav:hover,
.image-lightbox-close:focus-visible,
.image-lightbox-nav:focus-visible {
    border-color: #f5d98f;
    color: #261000;
    background: #f5d98f;
    outline: none;
    transform: scale(1.06);
}
.image-lightbox-close { top: 0; right: 0; }
.image-lightbox-prev { top: 50%; left: 0; transform: translateY(-50%); }
.image-lightbox-next { top: 50%; right: 0; transform: translateY(-50%); }
.image-lightbox-prev:hover,
.image-lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.image-lightbox-loader {
    position: absolute;
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, .2);
    border-top-color: #f5d98f;
    border-radius: 50%;
    opacity: 0;
    animation: image-lightbox-spin .75s linear infinite;
}
.image-lightbox.is-loading .image-lightbox-loader { opacity: 1; }
.image-lightbox.is-loading .image-lightbox-image { opacity: .25; }
@keyframes image-lightbox-spin { to { transform: rotate(360deg); } }

@media (max-width: 767.98px) {
    .image-lightbox { padding: 8px; }
    .image-lightbox-figure {
        width: 100%;
        height: 100%;
        padding-top: 48px;
    }
    .image-lightbox .image-lightbox-image {
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 150px) !important;
        max-height: calc(100dvh - 150px) !important;
    }
    .image-lightbox-close,
    .image-lightbox-nav { width: 44px; height: 44px; }
    .image-lightbox-close { top: 2px; right: 2px; }
    .image-lightbox-prev { left: 2px; }
    .image-lightbox-next { right: 2px; }
    .image-lightbox-meta {
        width: calc(100% - 8px);
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-lightbox { transition: none; }
    .image-lightbox-loader { animation: none; }
}

/* Gallery collections: Collection/Event -> Albums -> Images. */
.gallery-directory { background: radial-gradient(circle at 92% 4%, rgba(203, 158, 65, .13), transparent 28rem), linear-gradient(180deg, #fffaf2, #f7efe3); }
.gallery-directory-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.7rem;
}
.gallery-directory-heading > div > span,
.gallery-group-intro > span {
    display: block;
    margin-bottom: .45rem;
    color: #8f2142;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.gallery-directory-heading h2 {
    margin: 0;
    color: #3d0a1a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}
.gallery-directory-heading p { max-width: 680px; margin: .7rem 0 0; color: #74676b; }
.gallery-directory-heading > i { color: rgba(128, 29, 58, .13); font-size: clamp(3.2rem, 7vw, 6rem); }
.gallery-standalone-heading { margin-top: clamp(4rem, 8vw, 7rem); }
.gallery-collection-card { position: relative; }
.gallery-collection-card::after {
    content: "";
    position: absolute;
    inset: 10px -7px -8px 12px;
    z-index: -1;
    border: 1px solid rgba(109, 25, 50, .11);
    border-radius: 22px;
    background: rgba(255, 255, 255, .55);
}
.gallery-collection-card .gallery-cover-wrapper { aspect-ratio: 16 / 9; }
.gallery-collection-mark {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .48rem .72rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    color: #fff7e3;
    background: rgba(55, 6, 21, .78);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    backdrop-filter: blur(10px);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.gallery-collection-card .gallery-title { color: #4f0d23 !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.gallery-card-description { display: -webkit-box; overflow: hidden; margin: .7rem 0 0; color: #75686d; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.65; }
.gallery-collection-stats { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid rgba(101, 30, 51, .1); color: #75686d; font-size: .77rem; font-weight: 750; }
.gallery-collection-stats span,.gallery-collection-stats b { display: inline-flex; align-items: center; gap: .35rem; }
.gallery-collection-stats b { margin-left: auto; color: #7d1737; }
.gallery-group-header { min-height: clamp(360px, 48vh, 520px) !important; }
.gallery-public-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: #f5dc94; font-size: .82rem; font-weight: 800; text-decoration: none; }
.gallery-public-back:hover { color: #fff; }
.gallery-group-albums { background: linear-gradient(180deg, #fffaf3, #f8f0e5); }
.gallery-group-intro { max-width: 940px; margin: 0 auto clamp(3rem, 7vw, 6rem); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(116, 34, 57, .12); border-radius: 24px; background: rgba(255, 255, 255, .82); box-shadow: 0 18px 55px rgba(60, 17, 29, .08); text-align: center; }
.gallery-group-intro p { margin: 0; color: #5f5357; font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.8; }
.public-gallery .gallery-cover-wrapper { aspect-ratio: 16 / 9; }
.public-gallery .gallery-cover { height: 100% !important; }

@media (max-width: 575.98px) {
    .gallery-directory-heading { align-items: flex-start; }
    .gallery-directory-heading > i { display: none; }
    .gallery-collection-stats b { width: 100%; margin-left: 0; }
}
