/* ─── Responsive base font scale ─────────────────────────────────────────── */
/* The site was designed at ~1700px (80% zoom). At 100% zoom (1366px) we
   scale the root em down slightly so all rem-based sizes shrink proportionally. */
html {
    font-size: clamp(13px, 1.05vw, 16px);
}

body {
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #ffffff;
    --c-action: #0052f5;
    --c-bg: #000000;
    --c-surface: #0D0D0D;
    --c-on-surface: #C0C0C0;
    --c-on-surface-variant: #E8E8E8;
    --c-surface-container: #121212;
    --c-silver: #C0C0C0;
    --c-platinum: #E8E8E8;

    --glass-reflex-dark: 1;
    --glass-reflex-light: 1;
    --saturation: 150%;

    background-color: var(--c-bg);
    color: var(--c-content);
    font-family: 'Inter', sans-serif;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: background-color 400ms cubic-bezier(1, 0.0, 0.4, 1), color 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

body:has(input[value="light"]:checked) {
    --c-glass: #ddddde;
    --c-light: #fff;
    --c-dark: #333;
    --c-content: #111112;
    --c-action: #0052f5;
    --c-bg: #E8E8E9;
    --c-surface: #F5F5F7;
    --c-on-surface: #444446;
    --c-on-surface-variant: #222223;
    --c-surface-container: #EDEDF0;
    --c-silver: #6E6E73;
    --c-platinum: #3A3A3C;

    --glass-reflex-dark: 0.3;
    --glass-reflex-light: 2;
    --saturation: 120%;
}

body:has(input[value="dark"]:checked) {
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #ffffff;
    --c-action: #03d5ff;
    --c-bg: #0d0d0f;
    --c-surface: #141416;
    --c-on-surface: #A1A1AA;
    --c-on-surface-variant: #E4E4E7;
    --c-surface-container: #1E1E21;
    --c-silver: #A1A1AA;
    --c-platinum: #D4D4D8;

    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.5;
    --saturation: 150%;
}

body:has(input[value="dim"]:checked) {
    --c-light: #99deff;
    --c-dark: #20001b;
    --c-glass: hsl(210 20% 50% / 1);
    --c-content: #d5dbe2;
    --c-action: #ff48a9;
    --c-bg: #152433;
    --c-surface: #1b2e40;
    --c-on-surface: #8ca3b8;
    --c-on-surface-variant: #cbd5e1;
    --c-surface-container: #243c54;
    --c-silver: #94a3b8;
    --c-platinum: #e2e8f0;

    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.7;
    --saturation: 200%;
}

body::-webkit-scrollbar {
    display: none;
}

.text-glow {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Liquid Glass Nav Styles */
#main-nav,
#extra-nav {
    will-change: transform;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
}

#main-nav.hidden-nav {
    transform: translate(-50%, -150%) !important;
    opacity: 0;
    pointer-events: none;
}

#extra-nav.hidden-nav {
    transform: translateY(-150%) !important;
    opacity: 0;
    pointer-events: none;
}

.glass-pill {
    position: relative;
    border: none;
    background-color: color-mix(in srgb, var(--c-glass) 8%, transparent);
    backdrop-filter: blur(12px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(12px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition:
        background-color 400ms cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 400ms cubic-bezier(0.23, 1, 0.32, 1),
        padding 300ms ease,
        transform 300ms ease;
}

.glass-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

#main-nav.scrolled .glass-pill,
#extra-nav.scrolled .glass-pill {
    transform: scale(0.95);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
}

/* Responsive Navigation Enhancements */
@media (max-width: 1023px) {
    #main-nav {
        top: auto !important;
        bottom: 2rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    #main-nav.scrolled {
        transform: translateX(-50%) scale(0.95) !important;
    }

    #main-nav.hidden-nav {
        transform: translate(-50%, 150%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #extra-nav {
        top: 1.5rem !important;
        right: 1.5rem !important;
    }

    #extra-nav.hidden-nav {
        transform: translateY(-150%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 768px) {
    #main-nav .glass-pill {
        padding: 0.5rem 1rem !important;
        gap: 0.5rem !important;
    }

    #main-nav .glass-pill a {
        padding: 0.25rem 0.5rem !important;
    }

    #main-nav .glass-pill div.flex {
        gap: 0.25rem !important;
        letter-spacing: 0.15em !important;
    }

    #main-nav .font-display-md {
        margin-right: 0.25rem !important;
        font-size: 0.875rem !important;
    }

    #extra-nav {
        top: 1rem !important;
        right: 1rem !important;
    }

    #extra-nav .glass-pill {
        padding: 0.5rem 1rem !important;
    }

    #extra-nav div.flex {
        gap: 0.25rem !important;
        letter-spacing: 0.15em !important;
    }
}

/* Nav Active Sliding indicator matching switcher's active pill but sized dynamically via JS */
.nav-active-bg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    border-radius: 99em;
    background-color: color-mix(in srgb, var(--c-glass) 45%, transparent);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition:
        left 400ms cubic-bezier(0.25, 1, 0.5, 1),
        width 400ms cubic-bezier(0.25, 1, 0.5, 1),
        opacity 300ms ease;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 2px 1px 0px -1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -1.5px -1px 0px -1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -2px -6px 1px -5px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -1px 2px 3px -1px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px -4px 1px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 3px 6px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
}




/* Video Player Base Styles */

/* Video Player Base Styles */
.video-play-btn {
    transition: opacity 0.3s ease-out;
}

.glass-play-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(100%);
    -webkit-backdrop-filter: blur(25px) saturate(100%);
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-play-btn:hover {
    background: #c0c0c000;
    transform: scale(1.1);
    border-color: #FFFFFF;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.glass-play-btn:hover svg {
    fill: #000000;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInScale {
    animation: fadeInScale 0.3s ease-out;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: normal;
}

/* Timeline Styles */
.timeline-content {
    opacity: 0.3;
    transition: all 0.6s ease-out;
    transform: translateY(20px);
}

.timeline-content.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    background-color: rgba(192, 192, 192, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-dot.active {
    background-color: #FFFFFF;
    border: 2px solid #000000;
    box-shadow: 0 0 30px 10px rgba(212, 0, 255, 0.4);
    transform: scale(1.3);
}

/* Grid & Content Styles */
.video-grid-container {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
}

.category-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.video-grid-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(40px) saturate(150%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(150%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-grid-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.video-grid-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(192, 192, 192, 0.1),
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
    pointer-events: none;
    z-index: 1;
}

.video-card-wrapper:hover .video-grid-item {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.video-card-wrapper:hover .video-grid-item::after {
    left: 150%;
}





.video-aspect-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-aspect-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    transition: all 0.4s ease;
}



/* Fullscreen Overlay Styles */
#video-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#video-fullscreen-overlay.show {
    opacity: 1;
    visibility: visible;
}

#close-fullscreen {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1010;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#close-fullscreen:hover {
    transform: translateX(-5px);
}

.fullscreen-video-container {
    width: 90vw;
    height: 85vh;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullscreen-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Glass Video ── */
.glass-video {
    width: calc(100% - 32px);
    display: block;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    margin: 16px 16px 0 16px;
    position: relative;
    z-index: 3;
    /* Floating inside the sandwich */
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    /* Premium white border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    /* Subtle depth shadow behind border */
}

#ministry-videos .ministry-card .glass-video {
    width: 90%;
    max-height: 82%;
    margin: 24px auto 0;
    aspect-ratio: 16 / 9;
}

/* Center the play button vertically within the ministry video card */
#ministry-videos .play-button-overlay {
    top: 50% !important;
    transform: translateY(-53%) !important;
    left: 16px;
    right: 16px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ── iOS 26 Liquid Glass Card ── */
.liquid-glass-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2 / 1;
    border-radius: 36px;
    z-index: 10;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#ministry-videos {
    max-width: 80vw;
    margin-inline: auto;
}

#ministry-videos .ministry-card {
    aspect-ratio: 2 / 1;
    min-height: clamp(220px, 28vh, 380px);
}

@media (max-width: 1024px) {
    #ministry-videos .ministry-card {
        aspect-ratio: 2 / 1;
        min-height: clamp(220px, 30vh, 380px);
    }
}

@media (max-width: 768px) {
    #ministry-videos {
        padding-inline: 0.75rem;
    }

    #ministry-videos .ministry-card {
        aspect-ratio: 16 / 9;
        min-height: clamp(220px, 32vh, 360px);
    }
}

/* Layer 1: Bend/Refraction (Backdrop-blur + SVG Liquid Displacement Warp) */
.liquid-glass--bend {
    position: absolute;
    inset: 0;
    border-radius: 36px;
    backdrop-filter: blur(1.2px) saturate(1.6) brightness(1.08);
    -webkit-backdrop-filter: blur(1.2px) saturate(1.6) brightness(1.08);
    filter: url(#glass-blur);
    z-index: 0;
    pointer-events: none;
}

/* Layer 2: Frost roughness & deep physical drop shadows */
.liquid-glass--face {
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background:
        /* Frost: Grayscale micro-noise overlay */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' result='noise'/%3E%3CfeColorMatrix type='matrix' values='0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        rgba(255, 255, 255, 0.07);

    box-shadow:
        /* Dispersion (Chromatic splitting) */
        inset 0 0 15px rgba(255, 0, 100, 0.04),
        inset -6px -6px 15px rgba(0, 150, 255, 0.04),
        inset 6px 6px 15px rgba(255, 255, 0, 0.02),
        /* Double-layer soft contact drop shadow */
        0 12px 36px rgba(0, 0, 0, 0.35),
        0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
    transition: box-shadow 0.4s ease;
}

/* Layer 3: Glass edge boundaries & specular reflections */
.liquid-glass--edge {
    position: absolute;
    inset: 0;
    border-radius: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.50);
    border-left-color: rgba(255, 255, 255, 0.35);
    border-right-color: rgba(255, 255, 255, 0.10);
    border-bottom-color: rgba(255, 255, 255, 0.06);

    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.70),
        inset 2px 2px 6px rgba(255, 255, 255, 0.30),
        inset 0 -2px 4px rgba(0, 0, 0, 0.40),
        inset -2px 0 4px rgba(0, 0, 0, 0.20);
    z-index: 2;
    pointer-events: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Layer 4: Glass reflections (glare, flares) sweeping over the video */
.liquid-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 0, 100, 0.30) 25%,
            rgba(255, 255, 255, 0.95) 45%,
            rgba(255, 255, 255, 1.00) 50%,
            rgba(255, 255, 255, 0.95) 55%,
            rgba(0, 150, 255, 0.30) 75%,
            transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
}

.liquid-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background:
        /* Physical glare reflection sweep */
        linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 80%),
        /* Holographic prism sweep */
        linear-gradient(135deg, rgba(255, 0, 128, 0.02) 0%, rgba(0, 128, 255, 0.02) 50%, rgba(255, 255, 0, 0.01) 100%);
    pointer-events: none;
    z-index: 4;
}

/* Hover dynamic responses on individual glass layers */
.liquid-glass-card:hover .liquid-glass--face {
    box-shadow:
        /* Enhanced shimmers on hover */
        inset 0 0 20px rgba(255, 0, 100, 0.08),
        inset -8px -8px 20px rgba(0, 150, 255, 0.08),
        inset 8px 8px 20px rgba(255, 255, 0, 0.04),
        /* Advanced dynamic drop shadow to look closer to viewer */
        0 24px 54px rgba(0, 0, 0, 0.45),
        0 6px 18px rgba(0, 0, 0, 0.20);
}

.liquid-glass-card:hover .liquid-glass--edge {
    border-color: rgba(255, 255, 255, 0.25);
    border-top-color: rgba(255, 255, 255, 0.70);
    border-left-color: rgba(255, 255, 255, 0.50);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.90),
        inset 2px 2px 8px rgba(255, 255, 255, 0.45),
        inset 0 -2.5px 5px rgba(0, 0, 0, 0.45),
        inset -2.5px 0 5px rgba(0, 0, 0, 0.25);
}

/* ── Glass Card Content ── */
.glass-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 26px 24px;
}

.glass-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.glass-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.80));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 #fff;
}

.glass-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.glass-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
}

.glass-title {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
}

.glass-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: -0.1px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.glass-line {
    height: 0.5px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 20px;
}

.glass-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 14px;
    font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.90);
    color: rgba(0, 0, 0, 0.78);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 #fff;
    transition:
        transform 0.14s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.10s ease;
}

.glass-btn:hover {
    background: #fff;
    transform: scale(1.02);
}

.glass-btn:active {
    transform: scale(0.97);
}


/* ── Features Section Top Fade ── */
#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* Section Black Fade Overlay — vertical + horizontal edge fades */
.section-fade-overlay {
    background:
        linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, #000000 100%),
        linear-gradient(to bottom, #000000 0%, #000000 5%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 84%, #000000 95%, #000000 100%);
    pointer-events: none;
}

/* ── Work / Videos Section Bottom Fade — mirrors the top exactly ── */
#work::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 14%;
    background:
        linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, #000000 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, #000000 100%);
    pointer-events: none;
    z-index: 5;
}