@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Phudu:wght@400..900&display=swap');

/* Force exact fonts globally */
h1, h2, h3, h4, h5, h6, .hero-title {
    font-family: 'Phudu', sans-serif !important;
}

body, p, span, a, button, input {
    font-family: 'Instrument Sans', sans-serif !important;
}

/* Header — minimal: logo + single pill Menu trigger at every breakpoint */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: var(--spacing-6) 0;
    z-index: 300;
    background-color: transparent;
    transition: background-color var(--trans-fast), padding var(--trans-fast), transform var(--trans-fast);
    color: var(--color-soft-ivory);
}

.header.is-hidden {
    transform: translateY(-100%) !important;
}

.header.is-scrolled {
    background-color: #1c1917 !important;
    backdrop-filter: none;
    padding: 1rem 3.5rem !important; /* Reduced height, keep horizontal padding */
    border-bottom: none !important;
}
.header.is-scrolled .header-cta-btn {
    display: none !important;
}
body.menu-open .header.is-scrolled {
    background-color: transparent;
    backdrop-filter: none;
    pointer-events: none;
}
body.menu-open .header__logo {
    opacity: 0;
    pointer-events: none;
}
body.menu-open .header__menu-btn {
    pointer-events: auto;
}
.header__container {
    display: flex; justify-content: space-between; align-items: center;
}
.header__logo {
    display: flex; /* match inline */
    height: clamp(40px, 6vw, 60px);
    transition: height var(--trans-fast);
}
.header.is-scrolled .header__logo {
    height: 36px;
}
.header.is-scrolled .header__logo span {
    font-size: 1.0rem !important;
}
.header__logo img {
    height: 100%;
    width: auto;
    display: block;
}

@media (max-width: 991px) {
    .header__logo {
        height: 32px;
    }
    .header__logo span {
        font-size: 0.95rem !important;
    }
}

/* Pill "Menu" trigger — mirrors the split pill + circular icon pattern */
.header__menu-btn {
    display: flex; align-items: center;
    background: var(--color-ivory-soft); color: var(--color-navy);
    border: none; border-radius: 999px; cursor: pointer;
    padding: var(--spacing-2);
    padding-left: var(--spacing-6);
    box-shadow: 0 8px 24px rgba(20,33,58,0.18);
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    position: relative; z-index: 210;
    transition: box-shadow var(--trans-fast);
}
.header__menu-btn:hover { box-shadow: 0 10px 28px rgba(20,33,58,0.28); }
.header__menu-label { margin-right: var(--spacing-4); }
.header__menu-icon {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--color-navy); flex-shrink: 0;
}
.header__menu-icon span {
    display: block; height: 1px; width: 16px; background: var(--color-ivory-soft);
    transition: transform var(--trans-fast), opacity var(--trans-fast);
}
.header__menu-btn[aria-expanded="true"] .header__menu-icon span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.header__menu-btn[aria-expanded="true"] .header__menu-icon span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
/* Full Screen Loader */
body.is-loading {
    overflow: hidden;
}
.page-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-warm-parchment);
    z-index: 9999;
    display: flex;
    justify-content: center; align-items: center;
}
.page-loader__content {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 0 var(--spacing-4);
    display: grid;
    place-items: center;
}
.loader-line-wrap {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
}
.page-loader__title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 15rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-vatican-black);
    margin: 0;
    text-align: center;
    width: 100%;
}
.js-loader-text-2 {
    display: none;
}

/* Hero Section with Splide */
.section--hero-slider {
    position: relative;
    height: 100vh;
    min-height: 620px;
    background-color: var(--color-navy);
    overflow: hidden;
}

/* Background Slider */
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}
.hero-bg-slider .splide__track,
.hero-bg-slider .splide__list,
.hero-bg-slider .splide__slide {
    height: 100%;
    width: 100%;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Foreground Overlay Slider Container */
.hero-slider-container {
    position: absolute;
    bottom: clamp(40px, 10vh, 100px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    z-index: 10;
    padding: 0 clamp(24px, 4vw, 40px);
    color: var(--color-ivory-soft);
}

.hero-content-slider {
    width: 100%;
    padding: 0 clamp(40px, 6vw, 80px);
}
.splide__slide {
    outline: none !important;
    border: none !important;
}
.hero-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    outline: none;
    padding-bottom: var(--spacing-8);
    gap: var(--spacing-6);
}
.hero-card-left {
    flex: none;
}
.hero-card-right {
    flex: none;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .hero-card-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: var(--spacing-16);
    }
    .hero-card-left {
        flex: 1;
        padding-right: var(--spacing-16);
    }
    .hero-card-right {
        flex: 0 0 400px;
    }
}
.hero-card-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: var(--spacing-2);
}
.hero-card-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: var(--spacing-4);
    color: var(--color-ivory-soft);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-card-desc {
    color: rgba(250, 249, 246, 0.9);
    max-width: 500px;
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
}
.hero-cta-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-gold-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--trans-fast);
}
.hero-cta-link::after {
    content: ">";
}
.hero-cta-link:hover {
    color: var(--color-ivory-soft);
}
.hero-slider-container .splide__arrow {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-slider-container .splide__arrow--prev {
    left: 10px;
}
.hero-slider-container .splide__arrow--next {
    right: 10px;
}
.hero-slider-container .splide__arrow svg {
    fill: white;
}
.hero-slider-container .splide__arrow:hover {
    background: rgba(255,255,255,0.3);
}
.hero-slider-container .splide__pagination {
    bottom: -15px;
}
.hero-slider-container .splide__pagination__page {
    background: rgba(255,255,255,0.4);
}
.hero-slider-container .splide__pagination__page.is-active {
    background: var(--color-gold);
}

/* Manifesto Section */
.theme--parchment {
    background-color: var(--color-navy);
    color: var(--color-vatican-black);
}
.theme--navy {
    background-color: var(--color-navy);
    color: var(--color-soft-ivory);
}

.section {
    padding: clamp(60px, 8vw, 100px) 0;
}

.section-eyebrow {
    border-bottom: 1px solid currentColor;
    padding-bottom: var(--spacing-4);
    margin-bottom: clamp(60px, 10vw, 120px);
    display: flex;
    justify-content: flex-start;
    opacity: 0.8;
}

.manifesto__chapter-title {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.manifesto__layout {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
}

.manifesto__text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 300;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.02em;
}

.manifesto__text--highlight {
    color: var(--color-gold-deep);
}

/* Heritage Section */
.heritage__gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(100px, 15vw, 200px);
}
.heritage__exhibit {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.exhibit__year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(8rem, 25vw, 25rem);
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    letter-spacing: -0.02em;
}
.exhibit__frame {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(0,0,0,0.05);
    overflow: hidden;
}
.exhibit__frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.5s ease;
}
.heritage__exhibit:hover .exhibit__frame img {
    transform: scale(1.05);
}
.exhibit__content {
    position: relative; z-index: 2; max-width: 600px;
    margin-top: var(--spacing-8);
}
.exhibit__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 4rem);
    color: var(--color-warm-parchment);
    margin-bottom: var(--spacing-4);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}
.exhibit__desc {
    font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6;
    color: var(--color-charcoal); letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
    .heritage__exhibit { align-items: flex-start; margin-left: 10vw; }
    .heritage__exhibit:nth-child(2) { align-items: flex-end; margin-left: 0; margin-right: 10vw; }
    .heritage__exhibit:nth-child(3) { align-items: center; margin-left: 0; margin-right: 0; }
    
    .exhibit__frame { width: 70%; }
    .heritage__exhibit:nth-child(2) .exhibit__frame { width: 60%; }
    .heritage__exhibit:nth-child(3) .exhibit__frame { width: 80%; }
}

/* Contemplation Section */
.section--contemplation {
    padding: clamp(90px, 12vw, 180px) 0; display: flex; align-items: center; justify-content: center;
    min-height: 40vh;
}
.contemplation__quote {
    font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 4rem);
    text-align: center; max-width: 1000px; margin: 0 auto;
    font-style: italic; color: var(--color-antique-gold);
}

/* Ministry/News/Person Cards */
.grid--3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--spacing-8); }

.ministry-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #000;
    color: var(--color-soft-ivory);
}
.ministry-card__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.ministry-card__bg-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.7; transition: transform 1s ease, opacity 1s ease;
}
.ministry-card:hover .ministry-card__bg-wrap img {
    transform: scale(1.05); opacity: 0.4;
}

.ministry-card__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-8);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}.ministry-card__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: var(--spacing-4);
}
.ministry-card__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-6);
}
.ministry-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-warm-parchment);
    text-decoration: none;
    font-weight: 700;
}


/* Footer */
.footer { 
    background-color: var(--color-vatican-black);
    color: var(--color-soft-ivory);
    padding: clamp(120px, 15vw, 180px) 0 var(--spacing-8) 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__container {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: var(--spacing-24);
}
.footer__logo {
    height: clamp(80px, 10vw, 120px);
    opacity: 0.9;
}
.footer__manifesto {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    font-weight: 300;
    color: var(--color-divine-gold);
}
.footer__bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-8);
}
.footer__nav { 
    display: flex; gap: var(--spacing-8); flex-wrap: wrap; justify-content: center;
}
.footer__nav a { 
    font-family: var(--font-body);
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 0.25em; 
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer__nav a:hover { color: var(--color-divine-gold); }
.footer__copyright {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-top: var(--spacing-4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .heritage__track { flex-direction: column; gap: var(--spacing-8); }
    .timeline-item { width: 100%; flex: 1 1 auto; }
}

/* ===== APPENDED STYLES FOR INNER PAGES ===== */

/* Inner Hero */
.section--inner-hero {
    height: 50vh; min-height: 400px; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.inner-hero__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.inner-hero__bg-image { width: 100%; height: 100%; object-fit: cover; background-color: #333; }
.inner-hero__bg::after {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(20,33,58,0.45) 0%, rgba(20,33,58,0.78) 100%);
}
.inner-hero__container { position: relative; z-index: 10; text-align: center; color: var(--color-ivory-soft); display: flex; flex-direction: column; align-items: center; gap: var(--spacing-4); }

.inner-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}.inner-hero__title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); will-change: clip-path; }

/* Breadcrumbs */
.breadcrumbs {
    padding-top: var(--spacing-8);
    padding-bottom: var(--spacing-8);
    font-size: 0.875rem;
    color: var(--text-muted);
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
    margin: 0;
    padding: 0;
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: var(--spacing-2); }
.breadcrumbs a { color: var(--text-primary); text-decoration: none; transition: color var(--trans-fast); }
.breadcrumbs a:hover { color: var(--color-gold); }

/* Text Block / About Content */
.section--text-block { padding: calc(var(--section-padding) / 2) 0; }
.text-block__content { max-width: 800px; margin: 0 auto; text-align: center; }
.text-block__content h2 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: var(--spacing-8); color: var(--color-antique-gold); }
.text-block__content p { font-size: 1.125rem; margin-bottom: var(--spacing-4); }

/* Grids */
.section-title { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: var(--spacing-16); text-align: center; }
.grid { display: grid; gap: var(--spacing-8); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Person Card */
.person-card { text-align: center; }
.person-card__image { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: var(--spacing-4); background-color: var(--color-antique-gold); }
.person-card__name { font-size: 1.5rem; margin-bottom: var(--spacing-2); }
.person-card__title { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; }

/* Contact Section & Forms */
.contact__container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-16); align-items: start; }
.contact__info h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: var(--spacing-4); color: var(--color-antique-gold); }
.contact__info p { font-size: 1.25rem; margin-bottom: var(--spacing-8); }
.contact__address { font-style: normal; line-height: 1.8; color: var(--text-muted); }

.form { display: flex; flex-direction: column; gap: var(--spacing-8); }
.form__group { display: flex; flex-direction: column; }
.form__label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--spacing-2); color: var(--color-antique-gold); }
.form__input {
    background: transparent; border: none; border-bottom: 1px solid var(--color-antique-gold);
    color: var(--text-primary); font-family: var(--font-body); font-size: 1rem;
    padding: var(--spacing-2) 0; transition: border-color var(--trans-fast);
}
.form__input:focus { outline: none; border-bottom-color: var(--color-vatican-black); }
.form__textarea { resize: vertical; }

.button {
    display: inline-block; padding: var(--spacing-4) var(--spacing-8);
    background: var(--color-vatican-black); color: var(--color-soft-ivory);
    border: none; font-family: var(--font-body); text-transform: uppercase;
    letter-spacing: 0.1em; cursor: pointer; transition: background var(--trans-fast);
}
.button:hover { background: var(--color-antique-gold); }

/* Responsive Contact */
@media (max-width: 768px) {
    .contact__container { grid-template-columns: 1fr; }
}

/* ============================================================
   FULL-SCREEN MENU — bold split two-column layout
   ============================================================ */
body.menu-open { overflow: hidden; }

.mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    background: #d8c8b8; /* Beige/sand color */
    color: var(--color-navy);
    display: flex; flex-direction: column;
    padding: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    visibility: hidden;
    overflow-y: auto;
}
.mobile-menu.is-open {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.mobile-menu__container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .mobile-menu__container {
        flex-direction: row;
    }
}

.mobile-menu__nav {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 60px);
}

.mobile-menu__aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--color-navy);
    padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 60px);
}
@media (min-width: 768px) {
    .mobile-menu__aside {
        border-top: none;
        border-left: 1px solid var(--color-navy);
    }
}

.mobile-menu__nav a {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-2);
}

.menu-dot {
    opacity: 0;
    font-size: 0.8em;
    margin-right: 15px;
    transition: opacity var(--trans-fast);
}

.mobile-menu__nav a:hover .menu-dot,
.mobile-menu__nav a[aria-current="page"] .menu-dot {
    opacity: 1;
}

.mobile-menu__nav a:hover {
    color: var(--color-navy);
}

.mobile-menu__contact {
    margin-bottom: var(--spacing-8);
}

.mobile-menu__block {
    margin-bottom: var(--spacing-6);
}

.mobile-menu__label {
    font-size: 0.875rem;
    color: var(--color-navy);
    margin-bottom: var(--spacing-1);
    font-weight: 600;
}

.mobile-menu__block address, .mobile-menu__block a {
    font-size: 1rem;
    color: var(--color-navy);
    font-style: normal;
    text-decoration: none;
    font-family: var(--font-body);
    line-height: 1.4;
}

.mobile-menu__social {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    margin-top: auto;
}

.mobile-menu__social a {
    font-size: 1rem;
    color: var(--color-navy);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    padding-top: var(--spacing-4);
    padding-bottom: var(--spacing-4);
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--spacing-2); list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: var(--spacing-2); opacity: 0.4; }
.breadcrumbs a { color: var(--text-muted); transition: color var(--trans-fast); }
.breadcrumbs a:hover { color: var(--color-gold-deep); }
.breadcrumbs [aria-current="page"] { color: var(--color-gold-deep); }

/* ============================================================
   SECTION EYEBROW (chapter label) — generalized from manifesto__chapter
   ============================================================ */
.section-eyebrow {
    display: flex; flex-direction: column; gap: var(--spacing-4);
    font-family: var(--font-body); text-transform: uppercase;
    letter-spacing: 0.25em; font-size: 0.75rem;
    color: var(--color-gold-deep);
    border-top: 1px solid var(--color-gold-deep);
    padding-top: var(--spacing-4);
    margin-bottom: clamp(56px, 8vw, 96px);
}
.theme--dark .section-eyebrow { color: var(--color-gold); border-top-color: rgba(197, 169, 99, 0.4); }

/* ============================================================
   CTA BANNER (final call-to-action before footer)
   ============================================================ */
.section--cta-banner {
    padding: clamp(96px, 14vw, 180px) 0;
    background: var(--color-navy);
    color: var(--color-ivory-soft);
    text-align: center;
}
.cta-banner__eyebrow {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
    color: var(--color-gold); margin-bottom: var(--spacing-8);
}
.cta-banner__heading {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-style: italic; font-weight: 300;
    max-width: 900px; margin: 0 auto var(--spacing-8);
}
.cta-banner__actions { display: flex; gap: var(--spacing-8); justify-content: center; flex-wrap: wrap; margin-top: var(--spacing-8); }

/* ============================================================
   BUTTONS
   ============================================================ */
.button--outline {
    background: transparent; border: 1px solid currentColor; color: inherit;
    display: inline-block; padding: var(--spacing-4) var(--spacing-8);
    font-family: var(--font-body); text-transform: uppercase; font-size: 0.75rem;
    letter-spacing: 0.14em; cursor: pointer; transition: all var(--trans-fast);
}
.button--outline:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy); }
.button--gold { background: var(--color-gold); color: var(--color-navy); border: 1px solid var(--color-gold); }
.button--gold:hover { background: transparent; color: var(--color-gold); }

/* ============================================================
   QUOTE BLOCK (reusable, generalized from contemplation section)
   ============================================================ */
.section--quote {
    padding: clamp(90px, 12vw, 180px) 0; display: flex; align-items: center; justify-content: center;
    min-height: 40vh; text-align: center;
}
.quote-block__text {
    font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 4rem);
    max-width: 1000px; margin: 0 auto var(--spacing-8);
    font-style: italic; color: var(--color-gold-deep); line-height: 1.3;
}
.theme--dark .quote-block__text { color: var(--color-gold); }
.quote-block__cite {
    font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--text-muted);
}

/* ============================================================
   CARD GRIDS — Ministries / Leadership / News / Gallery
   ============================================================ */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.ministry-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--spacing-8);
    border: 1px solid rgba(155,128,78,0.25);
    min-height: 420px;
    overflow: hidden;
}
.ministry-card__bg-wrap { position: absolute; inset: 0; z-index: 0; }
.ministry-card__bg-wrap img, .ministry-card__bg-wrap .placeholder-media { width: 100%; height: 100%; object-fit: cover; }
.ministry-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(20,33,58,0.92) 10%, rgba(20,33,58,0.55) 55%, rgba(20,33,58,0.15) 100%);
}
.ministry-card__title, .ministry-card__desc, .ministry-card__link { position: relative; z-index: 2; }
.ministry-card__title { color: var(--color-ivory-soft); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: auto; }
.ministry-card__desc { color: rgba(250,249,246,0.8); font-size: 0.9375rem; margin: var(--spacing-4) 0 var(--spacing-6); line-height: 1.6; }
.ministry-card__link {
    display: inline-flex; align-items: center; gap: var(--spacing-2);
    color: var(--color-gold); text-transform: uppercase; font-size: 0.7rem;
    letter-spacing: 0.14em; transition: gap var(--trans-fast);
}
.ministry-card__link:hover { gap: var(--spacing-4); }

.person-card { text-align: left; }
.person-card__image-wrap { width: 100%; aspect-ratio: 4/5; margin-bottom: var(--spacing-4); overflow: hidden; }
.person-card__image-wrap img { transition: transform 1s ease; }
.person-card:hover .person-card__image-wrap img { transform: scale(1.05); }
.person-card__image, .person-card__image-wrap .placeholder-media { width: 100%; height: 100%; object-fit: cover; }
.person-card__name { font-size: 1.5rem; margin-bottom: var(--spacing-2); font-style: italic; }
.person-card__title { color: var(--color-gold-deep); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; margin-bottom: var(--spacing-4); }
.person-card__bio { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }
.theme--dark .person-card__title { color: var(--color-gold); }

.news-card { display: flex; flex-direction: column; border-bottom: 1px solid rgba(155,128,78,0.2); padding-bottom: var(--spacing-8); }
.news-card__image-wrap { width: 100%; aspect-ratio: 16/9; margin-bottom: var(--spacing-6); overflow: hidden; }
.news-card__image-wrap .placeholder-media, .news-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.news-card:hover .news-card__image-wrap img { transform: scale(1.05); }
.news-card__meta { display: flex; gap: var(--spacing-4); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-gold-deep); margin-bottom: var(--spacing-2); }
.news-card__title { font-size: clamp(1.375rem, 2.5vw, 1.75rem); margin-bottom: var(--spacing-2); font-style: italic; }
.news-card__excerpt { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: var(--spacing-4); }
.news-card__link { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-gold-deep); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-4); }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-item--tall { aspect-ratio: 3/4; }
.gallery-item--wide { aspect-ratio: 16/9; grid-column: span 2; }
.gallery-item img, .gallery-item .placeholder-media { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.25,1,0.5,1); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__caption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: var(--spacing-4); color: var(--color-ivory-soft);
    font-size: 0.8rem; letter-spacing: 0.04em;
    background: linear-gradient(to top, rgba(20,33,58,0.85), transparent);
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--trans-fast), transform var(--trans-fast);
}
.gallery-item:hover .gallery-item__caption, .gallery-item:focus-within .gallery-item__caption { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   MINISTRY DETAIL (alternating editorial sections)
   ============================================================ */
.ministry-detail {
    display: grid; grid-template-columns: 1fr; gap: var(--spacing-8);
    align-items: center; padding: clamp(56px, 8vw, 112px) 0;
    border-top: 1px solid rgba(155,128,78,0.18);
    scroll-margin-top: 100px;
}
.ministry-detail__media { width: 100%; aspect-ratio: 4/3; }
.ministry-detail__media .placeholder-media { width: 100%; height: 100%; }
.ministry-detail__eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-gold-deep); margin-bottom: var(--spacing-4); display: block; }
.ministry-detail__title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-style: italic; margin-bottom: var(--spacing-4); }
.ministry-detail__overview { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--spacing-4); }
.ministry-detail__objectives { margin: 0 0 var(--spacing-4); padding-left: 1.2em; }
.ministry-detail__objectives li { color: var(--text-muted); margin-bottom: var(--spacing-2); line-height: 1.6; }
.ministry-detail__impact { font-style: italic; color: var(--color-gold-deep); margin-bottom: var(--spacing-4); border-left: 2px solid var(--color-gold-deep); padding-left: var(--spacing-4); }
.ministry-detail__gallery { display: flex; gap: var(--spacing-2); margin-bottom: var(--spacing-6); }
.ministry-detail__gallery .placeholder-media { width: 84px; height: 84px; flex-shrink: 0; }
@media (min-width: 1024px) {
    .ministry-detail { grid-template-columns: 1fr 1fr; gap: var(--spacing-16); }
    .ministry-detail--reverse { direction: rtl; }
    .ministry-detail--reverse > * { direction: ltr; }
}

/* Directory quick-nav (jump links to ministry sections) */
.ministry-jumpnav { display: flex; flex-wrap: wrap; gap: var(--spacing-4); justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.ministry-jumpnav a {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
    border: 1px solid rgba(155,128,78,0.4); padding: var(--spacing-2) var(--spacing-4);
    color: var(--color-gold-deep); transition: all var(--trans-fast);
}
.ministry-jumpnav a:hover { background: var(--color-gold-deep); color: var(--color-ivory-soft); }

/* ============================================================
   TIMELINE (full Heritage page)
   ============================================================ */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px); }
.timeline::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
    background: rgba(155,128,78,0.3); transform: translateX(-50%);
    display: none;
}
.timeline-entry { display: grid; grid-template-columns: 1fr; gap: var(--spacing-8); position: relative; }
.timeline-entry__year {
    font-family: var(--font-heading); font-style: italic; font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 4rem); color: var(--color-gold-deep); line-height: 1;
}
.timeline-entry__media { width: 100%; aspect-ratio: 4/3; }
.timeline-entry__media .placeholder-media, .timeline-entry__media img { width: 100%; height: 100%; object-fit: cover; }
.timeline-entry__title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: var(--spacing-4); font-style: italic; }
.timeline-entry__body { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--spacing-4); }
.timeline-entry__quote { font-style: italic; color: var(--color-gold-deep); border-left: 2px solid var(--color-gold-deep); padding-left: var(--spacing-4); font-size: 0.9375rem; }
.timeline-entry__caption { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--spacing-2); letter-spacing: 0.04em; }

@media (min-width: 1024px) {
    .timeline::before { display: block; }
    .timeline-entry { grid-template-columns: 1fr 80px 1fr; align-items: center; }
    .timeline-entry__year { grid-column: 2; text-align: center; }
    .timeline-entry__content { grid-column: 1; grid-row: 1; text-align: right; }
    .timeline-entry:nth-child(even) .timeline-entry__content { grid-column: 3; grid-row: 1; text-align: left; order: 3; }
    .timeline-entry:nth-child(even) .timeline-entry__year { order: 2; }
    .timeline-entry:nth-child(odd) .timeline-entry__content { order: 1; }
}

/* ============================================================
   FAQ ACCORDION (native details/summary — no JS required)
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(155,128,78,0.25); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-4);
    padding: var(--spacing-6) 0; cursor: pointer; list-style: none;
    font-family: var(--font-heading); font-size: clamp(1.125rem, 2vw, 1.375rem); font-style: italic;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-family: var(--font-body); font-size: 1.5rem; font-style: normal;
    color: var(--color-gold-deep); transition: transform var(--trans-fast); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding-bottom: var(--spacing-6); color: var(--text-muted); line-height: 1.8; max-width: 640px; }

/* ============================================================
   STEP LIST (Vocations — discernment / formation journey)
   ============================================================ */
.step-list { display: flex; flex-direction: column; gap: var(--spacing-16); counter-reset: step; }
.step-item { display: grid; grid-template-columns: 1fr; gap: var(--spacing-4); position: relative; padding-left: clamp(56px, 8vw, 96px); }
.step-item::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: -0.2em;
    font-family: var(--font-heading); font-style: italic; font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-gold-deep); opacity: 0.6;
}
.step-item__title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: var(--spacing-2); font-style: italic; }
.step-item__desc { color: var(--text-muted); line-height: 1.8; max-width: 640px; }

/* ============================================================
   DEPARTMENT / OFFICE-HOURS LIST (Contact)
   ============================================================ */
.info-list { display: flex; flex-direction: column; gap: var(--spacing-4); }
.info-list dt { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--color-gold-deep); }
.info-list dd { color: var(--text-muted); margin-bottom: var(--spacing-2); }
.info-row { display: flex; justify-content: space-between; gap: var(--spacing-4); padding: var(--spacing-2) 0; border-bottom: 1px solid rgba(155,128,78,0.15); font-size: 0.9375rem; }
.map-frame { width: 100%; aspect-ratio: 16/9; margin-top: var(--spacing-8); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ============================================================
   FOOTER — expanded (newsletter, social, contact columns)
   ============================================================ */
.footer__grid {
    display: grid; grid-template-columns: 1fr; gap: var(--spacing-16);
    text-align: left; width: 100%;
}
.footer__brand-col { text-align: center; }
.footer__col-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-gold); margin-bottom: var(--spacing-4); }
.footer__col p, .footer__col address { color: rgba(255,255,255,0.65); font-size: 0.9375rem; line-height: 1.8; font-style: normal; }
.footer__col a { color: rgba(255,255,255,0.65); }
.footer__col a:hover { color: var(--color-gold); }
.footer__social { display: flex; gap: var(--spacing-4); margin-top: var(--spacing-4); }
.footer__social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
    transition: border-color var(--trans-fast), color var(--trans-fast);
}
.footer__social a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.footer__social svg { width: 14px; height: 14px; fill: currentColor; }
.footer__newsletter-form { display: flex; gap: 0; margin-top: var(--spacing-2); border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer__newsletter-form input {
    flex: 1; background: transparent; border: none; color: var(--color-ivory-soft);
    font-family: var(--font-body); padding: var(--spacing-2) 0; font-size: 0.9375rem;
}
.footer__newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter-form button {
    background: none; border: none; color: var(--color-gold); text-transform: uppercase;
    font-size: 0.7rem; letter-spacing: 0.12em; cursor: pointer; padding: var(--spacing-2) var(--spacing-4);
}

.footer__mission {
    font-family: var(--font-heading); font-style: italic;
    font-size: clamp(1.125rem, 1.8vw, 1.5rem); color: var(--color-ivory-soft);
    max-width: 420px; margin: 0 auto var(--spacing-6); text-align: center; line-height: 1.5;
}
.footer__col nav ul { display: flex; flex-direction: column; gap: var(--spacing-3); list-style: none; }
.footer__col nav a { font-size: 0.9375rem; }
.footer__legal-nav { display: flex; gap: var(--spacing-6); }
.footer__legal-nav a { color: rgba(255,255,255,0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer__legal-nav a:hover { color: var(--color-gold); }

@media (min-width: 768px) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; text-align: left; }
    .footer__brand-col { text-align: left; }
    .footer__mission { text-align: left; margin: 0 0 var(--spacing-6); }
    .footer__social { justify-content: flex-start; }
    .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   UTILITY PAGES (404 / Search / Privacy)
   ============================================================ */
.section--utility { padding: clamp(140px, 18vw, 220px) 0 clamp(90px, 12vw, 160px); text-align: center; min-height: 60vh; }
.utility__code { font-family: var(--font-heading); font-style: italic; font-size: clamp(4rem, 14vw, 10rem); color: var(--color-gold-deep); line-height: 1; }
.utility__title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: var(--spacing-4) 0 var(--spacing-8); }
.utility__text { color: var(--text-muted); max-width: 520px; margin: 0 auto var(--spacing-8); line-height: 1.8; }
.search-form { display: flex; max-width: 480px; margin: 0 auto var(--spacing-16); border-bottom: 1px solid var(--color-gold-deep); }
.search-form input { flex: 1; background: transparent; border: none; padding: var(--spacing-4) 0; font-size: 1.125rem; font-family: var(--font-body); color: var(--text-primary); }
.search-form input:focus { outline: none; }
.search-form button { background: none; border: none; color: var(--color-gold-deep); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; cursor: pointer; }
.legal-content { max-width: 760px; margin: 0 auto; text-align: left; line-height: 1.8; color: var(--text-muted); }
.legal-content h2 { color: var(--text-primary); margin: var(--spacing-16) 0 var(--spacing-4); font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
.legal-content p, .legal-content li { margin-bottom: var(--spacing-4); }
.legal-content ul { padding-left: var(--spacing-8); list-style: disc; }
.legal-content .updated { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-gold-deep); margin-bottom: var(--spacing-16); display: block; }

/* ============================================================
   RESPONSIVE — global container/nav refinements
   ============================================================ */
@media (max-width: 1023px) {
    .contact__container, .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY BOTTOM BAR
   ============================================================ */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--color-warm-parchment);
    color: var(--color-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-navy);
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    height: 48px;
}

.sticky-bottom-bar__left,
.sticky-bottom-bar__middle,
.sticky-bottom-bar__right {
    display: flex;
    align-items: center;
    height: 100%;
}

.sticky-bottom-bar__left {
    padding: 0 var(--spacing-4);
    gap: var(--spacing-4);
    border-right: 1px solid var(--color-navy);
    white-space: nowrap;
}

.sticky-bottom-bar__times {
    display: flex;
    gap: var(--spacing-4);
    border-left: 1px solid var(--color-navy);
    border-right: 1px solid var(--color-navy);
    padding: 0 var(--spacing-4);
}

.sticky-bottom-bar__link {
    color: var(--color-navy);
    text-decoration: none;
}
.sticky-bottom-bar__link:hover {
    text-decoration: underline;
}

.sticky-bottom-bar__middle {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-right: 1px solid var(--color-navy);
}

.sticky-bottom-bar__ticker {
    display: inline-block;
    white-space: nowrap;
    animation: bar-ticker 25s linear infinite;
}
.sticky-bottom-bar__ticker span {
    padding-right: 1rem;
}
@keyframes bar-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sticky-bottom-bar__right {
    padding: 0 var(--spacing-4);
    gap: var(--spacing-4);
    white-space: nowrap;
}

.sticky-bottom-bar__chat-btn {
    background: var(--color-navy);
    color: var(--color-warm-parchment);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sticky-bottom-bar__chat-btn svg {
    width: 16px;
    height: 16px;
}

/* Sticky Cross Widget */
.sticky-cross-widget {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    pointer-events: auto;
    background: var(--color-gold);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.sticky-cross-widget:hover {
    background: var(--color-navy);
    transform: translateY(-50%) scale(1.1);
}
.sticky-cross-widget:hover svg {
    fill: var(--color-gold);
}

@media (max-width: 768px) {
    .sticky-cross-widget {
        display: none; /* Hide on smaller screens to prevent overlap */
    }
}

/* Background Video Utilities */
.has-bg-video {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.bg-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 33, 58, 0.6);
    z-index: 1;
}

/* ==========================================================================
   Heritage Section
   ========================================================================== */
.section--heritage {
    position: relative;
    overflow: hidden;
}

.heritage-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    stroke: var(--color-gold);
    stroke-width: 1.5px;
    fill: none;
}
.heritage-shape--1 {
    top: 5%;
    right: -5%;
    width: 800px;
    height: 800px;
    transform: rotate(15deg);
}
.heritage-shape--2 {
    bottom: 15%;
    left: -10%;
    width: 500px;
    height: 500px;
    transform: rotate(-10deg);
}

.heritage__gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-32);
    margin-top: var(--spacing-24);
    position: relative;
    z-index: 1;
}

.heritage__exhibit {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    align-items: center;
}

@media (min-width: 768px) {
    .heritage__exhibit {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-16);
    }
    .heritage__exhibit:nth-child(even) .exhibit__frame {
        order: 2;
    }
}

.exhibit__year {
    position: absolute;
    top: -40px;
    left: 0;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 14rem);
    color: rgba(197, 169, 99, 0.07);
    line-height: 0.8;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.heritage__exhibit:nth-child(even) .exhibit__year {
    left: auto;
    right: 0;
}

.exhibit__frame {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.exhibit__content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-8);
    background: rgba(12, 23, 39, 0.85); /* theme--navy */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 169, 99, 0.15);
    border-radius: 4px;
}

.exhibit__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    color: var(--color-gold);
    margin-bottom: var(--spacing-4);
}

.exhibit__desc {
    color: rgba(250, 249, 246, 0.9);
}


/* ==========================================================================
   Christian Architectural Motifs
   ========================================================================== */

/* Franciscan Tau Cross Background (Very subtle, 5% opacity) */
.motif-tau-bg {
    position: relative;
}
.motif-tau-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 20 h60 v15 h-20 v45 h-20 v-45 h-20 z' fill='%23c5a963'/%3E%3C/svg%3E");
    background-size: 200px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* Rose Window Radial Pattern Background (Very subtle, 5% opacity) */
.motif-rose-bg {
    position: relative;
}
.motif-rose-bg::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px; width: 500px; height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%23c5a963' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='50' cy='50' r='15' stroke='%23c5a963' stroke-width='1.5' fill='none'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M18 18 L82 82 M18 82 L82 18' stroke='%23c5a963' stroke-width='1'/%3E%3Ccircle cx='50' cy='15' r='8' stroke='%23c5a963' stroke-width='1' fill='none'/%3E%3Ccircle cx='50' cy='85' r='8' stroke='%23c5a963' stroke-width='1' fill='none'/%3E%3Ccircle cx='15' cy='50' r='8' stroke='%23c5a963' stroke-width='1' fill='none'/%3E%3Ccircle cx='85' cy='50' r='8' stroke='%23c5a963' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(15deg);
}

/* Gothic Arch Divider */
.motif-gothic-divider {
    width: 100%;
    height: 60px;
    background-color: var(--color-navy);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 Q 25 0 50 0 Q 75 0 100 100 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 Q 25 0 50 0 Q 75 0 100 100 Z' fill='black'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

/* Decorative Heading Styles */
.section-eyebrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: var(--spacing-8);
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: "──────── ✠ ────────";
    color: var(--color-gold);
    opacity: 0.4;
    font-size: 0.9em;
    letter-spacing: 2px;
    margin: var(--spacing-2) 0;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
}


/* ==========================================================================
   Sacred Background Utilities (Stained Glass, Light Beams, Dust)
   ========================================================================== */

/* Stained Glass Texture Overlay */
.bg-stained-glass {
    position: relative;
}
.bg-stained-glass::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* A subtle, multi-colored low opacity stained glass radial overlay */
    background: radial-gradient(circle at 20% 30%, rgba(198, 161, 91, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(90, 31, 40, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 50% 10%, rgba(31, 47, 77, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Cathedral Shadows Overlay */
.bg-cathedral-shadow {
    position: relative;
}
.bg-cathedral-shadow::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Hard architectural shadows */
    background: linear-gradient(105deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 2%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 22%, rgba(0,0,0,0) 24%);
    pointer-events: none;
    z-index: 0;
}

/* Section Transitions - Church Arch Cutout (Bottom Edge) */
.arch-transition-bottom {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L100 0 L100 80 Q 50 100 0 80 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L100 0 L100 80 Q 50 100 0 80 Z' fill='black'/%3E%3C/svg%3E");
    padding-bottom: clamp(64px, 10vw, 120px) !important;
}

/* Decorative Quote Block */
.sacred-quote {
    position: relative;
    padding: var(--spacing-16) var(--spacing-8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.sacred-quote::before {
    content: "“";
    display: block;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-gold);
    line-height: 0.5;
    opacity: 0.3;
    margin-bottom: var(--spacing-4);
}
.sacred-quote blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.6;
    color: var(--color-charcoal);
}
.sacred-quote .reference {
    display: block;
    margin-top: var(--spacing-6);
    font-size: 1.1rem;
    color: var(--color-gold-deep);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.sacred-quote .reference::after {
    content: "✠";
    display: block;
    margin-top: var(--spacing-2);
    font-size: 0.8rem;
    color: var(--color-gold);
    opacity: 0.6;
}

/* Illuminated Header */
.illuminated-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}
.illuminated-header .ornament {
    display: block;
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-4);
    opacity: 0.8;
}
.illuminated-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-navy);
}

/* Card Gothic Arches */
.news-card__image-wrap {
    border-radius: 50% 50% 0 0 / 20% 20% 0 0;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0 Q 100 0 100 30 L100 100 L0 100 L0 30 Q 0 0 50 0 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0 Q 100 0 100 30 L100 100 L0 100 L0 30 Q 0 0 50 0 Z' fill='black'/%3E%3C/svg%3E");
}
.news-card {
    background: var(--color-ivory-soft);
    border: 1px solid rgba(198, 161, 91, 0.2);
    transition: var(--trans-fast);
}
.news-card:hover {
    background: var(--color-ivory);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-level-1);
    transform: translateY(-5px);
}


/* ==========================================================================
   Monastery Chronicle Heritage & Footer Skyline
   ========================================================================== */

/* Ancient Parchment Texture */
.heritage__exhibit {
    position: relative;
    padding: var(--spacing-8);
    background: var(--color-ivory-soft);
    border: 1px solid rgba(198, 161, 91, 0.3);
    border-radius: 4px;
    box-shadow: inset 0 0 40px rgba(122, 92, 62, 0.05), var(--shadow-level-1);
}
.heritage__exhibit::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle parchment noise */
    background: 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.85\' numOctaves=\'3\' stitchTiles=\'stitch\'/%3E%3C/filter%3E%3Crect width=\'100%25\' height=\'100%25\' filter=\'url(%23noiseFilter)\' opacity=\'0.04\'/%3E%3C/svg%3E');
    pointer-events: none;
}
.heritage__gallery .exhibit__content {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}
.heritage__gallery .exhibit__year {
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: 'Brush Script MT', cursive;
    font-size: clamp(4rem, 10vw, 8rem) !important;
    color: rgba(198, 161, 91, 0.2) !important;
    line-height: 0.8;
}

/* Footer Monastery Skyline */
.footer-skyline {
    width: 100%;
    height: 120px;
    background: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 1000 100\' preserveAspectRatio=\'none\'%3E%3Cpath d=\'M0 100 L0 80 L50 80 L50 40 L60 20 L70 40 L70 80 L150 80 L150 60 L180 30 L210 60 L210 80 L350 80 L350 50 L380 10 L410 50 L410 80 L500 80 L500 30 L550 0 L600 30 L600 80 L750 80 L750 60 L800 60 L800 80 L900 80 L900 40 L950 40 L950 80 L1000 80 L1000 100 Z\' fill=\'rgba(31, 47, 77, 0.4)\'/%3E%3C/svg%3E');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}
.footer {
    position: relative;
}


/* Fix News Card Padding */
.news-card__meta, .news-card__title, .news-card__excerpt, .news-card__link {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
}
.news-card {
    border-radius: 20px;
    overflow: hidden;
}


/* Override Heritage Colors for Parchment */
.heritage__gallery .exhibit__title {
    color: var(--color-navy) !important;
}
.heritage__gallery .exhibit__desc {
    color: var(--color-charcoal) !important;
}
.heritage__exhibit {
    border: 1px solid rgba(198, 161, 91, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}


/* ==========================================================================
   17-Point Checklist Styles
   ========================================================================== */

/* 1. Cathedral Arches for Timeline */
.heritage__gallery .exhibit__frame {
    /* Church window / Cathedral Arch */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
}

/* 2. Manuscript Corners for Cards (News, Ministry, Person) */
.news-card, .ministry-card, .person-card {
    position: relative;
    box-shadow: none !important;
    border: 1px solid rgba(198, 161, 91, 0.4) !important;
    background: var(--color-ivory-soft);
}
.theme--dark .ministry-card {
    background: transparent;
}
/* Corner ornaments */
.manuscript-corners::before, .manuscript-corners::after {
    content: "❦";
    position: absolute;
    font-size: 14px;
    color: var(--color-gold);
    opacity: 0.6;
}
.manuscript-corners::before { top: 4px; left: 4px; }
.manuscript-corners::after { bottom: 4px; right: 4px; }

/* 3. Watermarks in Navy Sections */
.theme--navy {
    position: relative;
}
.theme--navy::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Tau Cross Watermark */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 20 h60 v15 h-20 v45 h-20 v-45 h-20 z' fill='%23c5a963'/%3E%3C/svg%3E") no-repeat center;
    background-size: 50% 50%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* 4. Drop Caps */
.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 4em;
    float: left;
    margin: 0.1em 0.1em -0.1em 0;
    line-height: 0.8;
    color: var(--color-gold);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

/* 5. Sacred Quotes Enhancement */
.sacred-quote {
    position: relative;
    padding-top: var(--spacing-8);
}
.sacred-quote::before {
    content: "“";
    font-family: var(--font-heading);
    font-size: 15rem; /* Enormous */
    color: var(--color-gold);
    line-height: 0.5;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.quote-top-cross {
    display: block;
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-4);
}
.quote-bottom-flourish {
    display: block;
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: var(--spacing-4);
    opacity: 0.6;
}

/* 6. Timeline Years handwritten serif */
.heritage__gallery .exhibit__year {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-size: clamp(6rem, 15vw, 12rem) !important;
    /* Gold foil effect */
    background: linear-gradient(135deg, #e6c888 0%, #C6A15B 50%, #8c6e33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25 !important;
}

/* 7. CTA Halo Glow */
.cta-button-wrapper {
    position: relative;
    display: inline-block;
}
.cta-button-wrapper::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(198, 161, 91, 0.4) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlow 4s infinite alternate;
}
@keyframes pulseGlow {
    from { opacity: 0.5; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

/* 8. Divine Lighting Hero Enhancement */
.hero .candle-glow {
    position: absolute;
    bottom: -10%; left: 50%; transform: translateX(-50%);
    width: 80%; height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(198, 161, 91, 0.3) 0%, transparent 60%);
    pointer-events: none; z-index: 1;
    animation: flicker 6s infinite alternate;
}
@keyframes flicker {
    0% { opacity: 0.8; }
    50% { opacity: 0.6; }
    100% { opacity: 0.9; }
}

/* 9. Team Arch Frames */
.person-card__image-wrap {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
    border: 2px solid var(--color-gold);
    padding: 4px; /* Space for the border */
    background: radial-gradient(circle, rgba(198, 161, 91, 0.2) 0%, transparent 70%); /* Halo */
}
.person-card__image {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 50 L100 150 L0 150 L0 50 Z' fill='black'/%3E%3C/svg%3E");
}

/* 10. Gallery Handcrafted Masonry (Large, Small, Small, Medium, Medium) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--spacing-4);
}
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; } /* Large */
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; } /* Small */
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; } /* Small */
.gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 2; } /* Medium */
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; } /* Medium */

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}


/* Fix Parchment Theme Visibility */
.theme--parchment {
    background-color: var(--color-ivory) !important;
    color: var(--color-navy) !important;
}
.theme--parchment .manifesto__chapter-title,
.theme--parchment .section-eyebrow {
    color: var(--color-gold-deep) !important;
}
.theme--parchment .section-eyebrow::before,
.theme--parchment .section-eyebrow::after {
    color: var(--color-gold-deep) !important;
}

/* Fix Gallery Grid Layout for 4 items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--spacing-4);
}
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; } /* Large */
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; } /* Small */
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; } /* Small */
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 2; } /* Large bottom */


/* Fix Footer Sticky Bar Overlap */
.footer { padding-bottom: 80px; }




/* --- Heritage Alternate Timeline --- */
.heritage-timeline-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-navy);
    color: var(--color-ivory);
    overflow: hidden;
}

/* Background Watermark */
.heritage-timeline-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23f6f2ea" stroke-width="2"/><circle cx="50" cy="50" r="35" fill="none" stroke="%23f6f2ea" stroke-width="1"/><path d="M50 15 L50 85 M15 50 L85 50" stroke="%23f6f2ea" stroke-width="1"/></svg>');
    background-size: 400px;
    background-position: center top;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* Central Gold Line */
.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Animated via GSAP */
    background: linear-gradient(180deg, var(--color-gold) 0%, #ffdf70 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.timeline-wrap {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.timeline-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px; /* Increased spacing */
}

/* Alternate sides */
.timeline-row:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-card-wrapper {
    width: 45%;
    position: relative;
}

/* Large Background Year */
.timeline-bg-year {
    position: absolute;
    top: -20px;
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    font-weight: 700;
    opacity: 0.15;
    background: linear-gradient(to bottom, #d4af37, #8c7320);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.timeline-row:nth-child(odd) .timeline-bg-year { right: 0; }
.timeline-row:nth-child(even) .timeline-bg-year { left: 0; }
.timeline-row.is-active .timeline-bg-year { opacity: 0.3; }

/* The Card */
.timeline-card {
    position: relative;
    z-index: 1;
    background-color: #FFFFFF; /* Parchment */
    /* Subtle noise texture */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
    padding: 1.5rem;
    color: var(--color-navy);
    /* Gothic Arch */
    clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; /* Animated */
    transform: translateY(30px);
}

.timeline-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
}

.timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Center Milestone Dot */
.timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-navy);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.5s ease;
}

.timeline-node svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: rgba(212, 175, 55, 0.4);
    stroke-width: 1.5;
    transition: all 0.5s ease;
}

/* Active Node */
.timeline-row.is-active .timeline-node {
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}
.timeline-row.is-active .timeline-node svg {
    stroke: var(--color-gold);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.8));
}

@media (max-width: 768px) {
    .timeline-center-line { left: 20px; }
    .timeline-node { left: 20px; }
    .timeline-row, .timeline-row:nth-child(even) { flex-direction: column; align-items: flex-end; }
    .timeline-card-wrapper { width: calc(100% - 60px); }
    .timeline-bg-year { font-size: 6rem; left: 0 !important; right: auto !important; }
}



/* --- Leadership / Team Cards Fixes --- */
.person-card {
    text-align: center;
    background: var(--color-ivory) !important;
    border: 1px solid var(--color-gold) !important;
    border-top: none !important;
    padding: 1.5rem !important;
    display: flex;
    flex-direction: column;
}

.person-card__image-wrap {
    width: auto !important;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0% 100%, 0% 25%) !important;
}

.person-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

/* Fix Gallery Overlap */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-4) !important;
    width: 100% !important;
    grid-auto-rows: auto !important;
}
.gallery-item {
    position: relative !important;
    aspect-ratio: 4/3 !important;
    overflow: hidden !important;
    grid-column: auto !important;
    grid-row: auto !important;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .gallery-item.gallery-item--wide { grid-column: span 2 !important; }
}


/* ===== INNER PAGE HERO & SUBPAGE STYLES ===== */
.hero--subpage {
    position: relative;
    min-height: 420px;
    height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
    color: var(--color-warm-parchment);
}
.hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.15);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(12, 23, 39, 0.65) 0%, rgba(12, 23, 39, 0.85) 100%);
}
.hero__content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: #ffffff;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-warm-parchment);
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* Inner Page Text Block & Council Styling */
.text-block__container {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(40px, 6vw, 80px);
}
.text-block__content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: inherit;
}
.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.council-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-gold-muted, #c5a963);
    padding: 1.5rem;
    border-radius: 4px;
}
.theme--parchment .council-card {
    background: rgba(197, 169, 99, 0.08);
    border-color: rgba(197, 169, 99, 0.3);
}
.council-card__role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.council-card__name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0;
}


/* ==========================================================================
   FRANCISCAN HERITAGE GLOBAL CARD DESIGN SYSTEM & ARCHITECTURAL REFINEMENTS
   ========================================================================== */

/* Base Franciscan Card Surface */
.franciscan-card,
.ministry-card,
.person-card,
.news-card,
.vocation-card {
    background-color: #FFFFFF !important; /* Warm Parchment */
    background-image: radial-gradient(rgba(197, 169, 99, 0.05) 1px, transparent 0) !important;
    background-size: 16px 16px !important;
    border: 1px solid rgba(197, 169, 99, 0.4) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 24px -8px rgba(12, 23, 39, 0.06) !important;
    border-radius: 6px !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.6s ease, 
                box-shadow 0.6s ease !important;
    position: relative;
    overflow: hidden;
}

/* Card Hover Elevation (Calm & Elegant 600ms Lift) */
.franciscan-card:hover,
.ministry-card:hover,
.person-card:hover,
.news-card:hover,
.vocation-card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(197, 169, 99, 0.95) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 16px 36px -10px rgba(12, 23, 39, 0.12) !important;
}

/* Image Scale (Slow 1.03x Zoom) */
.ministry-card__bg-wrap img,
.person-card__image-wrap img,
.news-card__image-wrap img,
.vocation-card__image img,
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease !important;
}

.ministry-card:hover .ministry-card__bg-wrap img,
.person-card:hover .person-card__image-wrap img,
.news-card:hover .news-card__image-wrap img,
.vocation-card:hover .vocation-card__image img,
.gallery-item:hover img {
    transform: scale(1.03) !important;
}

/* --------------------------------------------------------------------------
   1. VOCATIONS CARDS (Illuminated Manuscript Panels)
   -------------------------------------------------------------------------- */
.vocation-card {
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
}
.vocation-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 80px 80px 4px 4px !important; /* Cathedral Arch Top */
    border: 1px solid rgba(197, 169, 99, 0.3);
    position: relative;
}
.vocation-card__title {
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    color: var(--color-navy) !important;
    margin-bottom: 0.5rem !important;
}
.vocation-card__divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
    margin-bottom: 1rem;
    opacity: 0.7;
}
.vocation-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: rgba(250, 247, 240, 0.9);
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* --------------------------------------------------------------------------
   2. LEADERSHIP CARDS (Historical Monastery Portraits)
   -------------------------------------------------------------------------- */
.person-card {
    padding: 1.5rem !important;
    text-align: center !important;
}
.person-card__image-wrap {
    width: 80%;
    max-width: 220px;
    margin: 0 auto 1.5rem auto !important;
    aspect-ratio: 3/4;
    border-radius: 120px 120px 4px 4px !important; /* Monastery Arch Frame */
    border: 1px solid rgba(197, 169, 99, 0.6) !important;
    box-shadow: 0 0 20px rgba(197, 169, 99, 0.15) !important;
    overflow: hidden;
    position: relative;
}
.person-card:hover .person-card__image-wrap {
    box-shadow: 0 0 30px rgba(197, 169, 99, 0.35) !important;
}
.person-card__nameplate {
    background: rgba(197, 169, 99, 0.08);
    border: 1px solid rgba(197, 169, 99, 0.25);
    padding: 0.75rem 1rem;
    border-radius: 3px;
    margin-top: 0.5rem;
}
.person-card__name {
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    color: var(--color-navy) !important;
    margin-bottom: 0.25rem !important;
    font-style: normal !important;
}
.person-card__title {
    color: var(--color-gold-deep) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   3. GALLERY (Exhibition Display Frame)
   -------------------------------------------------------------------------- */
.gallery-item {
    border: 1px solid rgba(197, 169, 99, 0.4) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    background-color: #FFFFFF !important;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}
.gallery-item img {
    filter: sepia(0.2) brightness(0.92) contrast(1.05);
}
.gallery-item:hover img {
    filter: sepia(0) brightness(1) contrast(1.05);
}
.gallery-item__caption {
    font-family: var(--font-heading) !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 23, 39, 0.85) 100%) !important;
    padding: 1.5rem 1rem 1rem 1rem !important;
}

/* --------------------------------------------------------------------------
   4. NEWS CARDS (Editorial Journal Articles)
   -------------------------------------------------------------------------- */
.news-card {
    padding: 1.5rem !important;
}
.news-card__image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 60px 60px 4px 4px !important; /* Arch Top */
    border: 1px solid rgba(197, 169, 99, 0.3) !important;
    overflow: hidden;
    margin-bottom: 1.25rem !important;
}
.news-card__date-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-deep);
    border: 1px solid rgba(197, 169, 99, 0.4);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
    background: rgba(197, 169, 99, 0.06);
}
.news-card__title {
    font-family: var(--font-heading) !important;
    font-size: 1.45rem !important;
    color: var(--color-navy) !important;
    margin-bottom: 0.75rem !important;
    font-style: normal !important;
    line-height: 1.3 !important;
}
.news-card__separator {
    width: 35px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: 0.75rem;
    opacity: 0.6;
}
.news-card__excerpt {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: var(--text-muted) !important;
    margin-bottom: 1.25rem !important;
}
.news-card__link {
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    color: var(--color-gold-deep) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* --------------------------------------------------------------------------
   5. SACRED QUOTE & CTA REFINEMENTS
   -------------------------------------------------------------------------- */
.quote-block__text {
    position: relative;
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    color: var(--color-navy) !important;
    line-height: 1.3 !important;
}
.quote-block__text::before {
    content: "“";
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.25;
    position: absolute;
    left: -2.5rem;
    top: -1.5rem;
}
.cta-banner__heading {
    text-shadow: 0 0 40px rgba(197, 169, 99, 0.2);
}

/* Photo Gallery Stack */
.photo-gallery-stack .photo-stack-item:hover { transform: scale(1.15) rotate(0deg) translate(0px, -10px) !important; z-index: 99 !important; }
.photo-gallery-stack .photo-stack-item img { transition: transform 0.4s ease, filter 0.4s ease; }
.photo-gallery-stack .photo-stack-item:hover img { filter: brightness(1.1); }


/* ===== HERITAGE CARDS DESIGN REFINEMENTS ===== */
.timeline-card,
.heritage__exhibit {
    background-color: #FFFFFF !important; /* Parchment Surface */
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(197, 169, 99, 0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='%23c5a963' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3Cpath d='M50 10 L50 90 M10 50 L90 50' stroke='%23c5a963' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E") !important;
    background-size: cover, 120px 120px !important;
    border: 1px solid rgba(197, 169, 99, 0.6) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 32px -10px rgba(12, 23, 39, 0.1) !important;
    border-radius: 6px !important;
    padding: 1.75rem !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease !important;
}

.timeline-card:hover,
.heritage__exhibit:hover {
    transform: translateY(-8px) !important;
    border-color: var(--color-gold) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 20px 40px -12px rgba(12, 23, 39, 0.18) !important;
}

/* Image Gothic Arch Frame */
.timeline-card img,
.exhibit__frame {
    width: 100% !important;
    aspect-ratio: 16/10 !important;
    object-fit: cover !important;
    border-radius: 80px 80px 4px 4px !important; /* Pointed Cathedral Arch */
    border: 1px solid rgba(197, 169, 99, 0.4) !important;
    margin-bottom: 1.25rem !important;
    overflow: hidden;
}

.exhibit__frame img {
    border-radius: 80px 80px 4px 4px !important;
}

/* Heritage Card Header Icon Badge */
.heritage-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(197, 169, 99, 0.12);
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--color-gold-deep);
}

.heritage-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gold-deep);
    fill: none;
    stroke-width: 1.75;
}

.timeline-card h3,
.exhibit__title {
    font-family: var(--font-heading) !important;
    font-size: 1.6rem !important;
    color: var(--color-navy) !important;
    margin-bottom: 0.5rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-card p,
.exhibit__desc {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}


/* ===== FIX HERITAGE CARD YEAR NUMBERS CLIPPING & VISIBILITY ===== */
.heritage__gallery .exhibit__year,
.timeline-bg-year {
    position: absolute !important;
    top: 15px !important;
    right: 25px !important;
    left: auto !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: clamp(3rem, 6vw, 5rem) !important;
    color: var(--color-gold-deep) !important;
    opacity: 0.45 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    z-index: 1 !important;
    pointer-events: none !important;
    -webkit-text-fill-color: var(--color-gold-deep) !important;
}

.heritage__exhibit,
.timeline-card-wrapper,
.timeline-card {
    position: relative !important;
    overflow: visible !important;
}


/* ==========================================================================
   EXACT SCREENSHOT TEMPLATE MATCH STYLES
   ========================================================================== */

:root {
    --color-chocolate: #4A2A18;
    --color-chocolate-hover: #361D10;
    --color-gold-accent: #c5a963;
    --color-dark-navy: #0c1727;
    --color-light-bg: #f8f6f0;
}

/* Header & Nav */
.header-cta-btn {
    background-color: var(--color-chocolate) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: background-color 0.3s ease !important;
}
.header-cta-btn:hover {
    background-color: var(--color-chocolate-hover) !important;
}

/* Red Badges & Highlights */
.badge-chocolate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 42, 24, 0.1);
    color: var(--color-chocolate);
    border: 1px solid rgba(74, 42, 24, 0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.btn-chocolate {
    background-color: var(--color-chocolate) !important;
    color: #ffffff !important;
    padding: 0.85rem 2rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.btn-chocolate:hover {
    background-color: var(--color-chocolate-hover) !important;
    transform: translateY(-2px) !important;
}

.btn-outline-dark {
    border: 1px solid rgba(12, 23, 39, 0.3) !important;
    color: var(--color-navy) !important;
    padding: 0.85rem 2rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
}
.btn-outline-dark:hover {
    background-color: var(--color-navy) !important;
    color: #ffffff !important;
}

/* Dual Image Feature Block */
.dual-image-wrap {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}
.dual-image-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.dual-image-inset {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 3-Column Circular Image Ministry Cards */
.card-circle-top {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-circle-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.card-circle-top__img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--color-gold-accent);
}

/* Stat Counter Strip */
.counter-strip {
    background: var(--color-dark-navy);
    color: #ffffff;
    padding: 3rem 0;
    border-top: 1px solid rgba(197, 169, 99, 0.3);
    border-bottom: 1px solid rgba(197, 169, 99, 0.3);
}
.counter-item__num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold-accent);
    font-weight: 700;
}
.counter-item__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

/* Interactive Donation Selector Card */
.donation-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: var(--color-navy);
}
.donation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.donation-btn {
    border: 1px solid rgba(12, 23, 39, 0.2);
    padding: 0.75rem 0;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.donation-btn.active, .donation-btn:hover {
    background: var(--color-chocolate);
    color: #ffffff;
    border-color: var(--color-chocolate);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.25rem 0;
}
.faq-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ===== FLOATING CONTACT DOCK (CHAT / CALL / EMAIL) =====
   BEM: .cta-dock, .cta-dock__trigger, .cta-dock__menu, .cta-dock__item,
   .cta-dock__link, .cta-dock__item-icon, .cta-dock__item-label.
   Trigger glyph is a Tau cross — the mark St. Francis signed his letters
   with — rather than a generic "+"/message icon, so the affordance carries
   the Franciscan identity instead of a stock chat-widget look. */
.cta-dock {
    position: fixed;
    right: var(--spacing-8, 32px);
    bottom: var(--spacing-8, 32px);
    z-index: 850;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cta-dock__menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-3, 12px);
    margin: 0 0 var(--spacing-3, 12px);
    padding: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
}

.cta-dock.is-open .cta-dock__menu {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.cta-dock__item {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-dock.is-open .cta-dock__item { opacity: 1; transform: translateY(0) scale(1); }

/* Stagger outward from the trigger on open, mirror inward on close */
.cta-dock.is-open .cta-dock__item:nth-last-child(1) { transition-delay: 0s; }
.cta-dock.is-open .cta-dock__item:nth-last-child(2) { transition-delay: 0.05s; }
.cta-dock.is-open .cta-dock__item:nth-last-child(3) { transition-delay: 0.1s; }
.cta-dock:not(.is-open) .cta-dock__item:nth-last-child(1) { transition-delay: 0.1s; }
.cta-dock:not(.is-open) .cta-dock__item:nth-last-child(2) { transition-delay: 0.05s; }
.cta-dock:not(.is-open) .cta-dock__item:nth-last-child(3) { transition-delay: 0s; }

.cta-dock__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 var(--spacing-4, 16px) 0 6px;
    border-radius: 999px;
    background: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(26, 15, 8, 0.16);
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.cta-dock__link:hover,
.cta-dock__link:focus-visible {
    background: #4A2A18;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 15, 8, 0.35);
}

.cta-dock__item-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4A2A18;
    color: #e6c888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.cta-dock__item-icon svg { width: 18px; height: 18px; }

.cta-dock__link:hover .cta-dock__item-icon,
.cta-dock__link:focus-visible .cta-dock__item-icon {
    background: #e6c888;
    color: #4A2A18;
}

.cta-dock__item-label {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4A2A18;
    white-space: nowrap;
    transition: color 0.4s ease;
}

.cta-dock__link:hover .cta-dock__item-label,
.cta-dock__link:focus-visible .cta-dock__item-label {
    /* !important needed: a legacy sitewide rule ("a:hover span { color:
       #4A2A18 !important }") forces every hovered anchor's <span> back to
       chocolate brown, which would otherwise make this label invisible
       against its own chocolate hover background. */
    color: #FFFFFF !important;
}

.cta-dock__trigger {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #e6c888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-dock__trigger:hover,
.cta-dock__trigger:focus-visible {
    background: transparent;
    color: #4A2A18;
    transform: translateY(-3px) scale(1.05);
    box-shadow: none;
}

.cta-dock__glyph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-dock__glyph svg { width: 24px; height: 24px; }

.cta-dock__glyph--close { opacity: 0; transform: rotate(-45deg) scale(0.6); }
.cta-dock.is-open .cta-dock__glyph--tau { opacity: 0; transform: rotate(45deg) scale(0.6); }
.cta-dock.is-open .cta-dock__glyph--close { opacity: 1; transform: rotate(0) scale(1); }

/* Idle breathing halo — draws the eye without ever being fast or jerky */
.cta-dock__pulse {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .cta-dock__pulse { animation: cta-dock-pulse 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
}

.cta-dock.is-open .cta-dock__pulse { animation: none; opacity: 0; }

@keyframes cta-dock-pulse {
    0% { transform: scale(0.85); opacity: 0; }
    30% { opacity: 0.55; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cta-dock__trigger,
    .cta-dock__link,
    .cta-dock__item,
    .cta-dock__item-icon,
    .cta-dock__item-label,
    .cta-dock__glyph {
        transition-duration: 0.01ms !important;
    }
    .cta-dock__pulse { display: none; }
}

@media (max-width: 576px) {
    .cta-dock { right: var(--spacing-4, 16px); bottom: var(--spacing-4, 16px); }
    .cta-dock__trigger { width: 56px; height: 56px; }
    .cta-dock__link { height: 44px; }
}

/* Top Contact Header Bar */
.top-contact-bar {
    background: #080f1a;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    padding: 0.4rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-contact-bar a { color: var(--color-gold); text-decoration: none; margin-left: 0.5rem; }


/* ===== PREVENT HORIZONTAL SCROLLBAR GLOBALLY ===== */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

header, section, main, footer, .container {
    max-width: 100% !important;
}

.header > div,
section > div {
    box-sizing: border-box !important;
}


/* ULTIMATE HORIZONTAL SCROLL DESTROYER */
html, body, main, header, footer, section, div, nav, article {
    box-sizing: border-box !important;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

header {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ===== ELIMINATE HORIZONTAL SCREEN FLOATING / SWIPING ===== */
html, body {
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

#site-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}


/* ===== MOUSE-POINTED RADIAL CREAM FILL BUTTON EFFECT ===== */
a, button, .btn-chocolate, .btn-outline-dark, .header-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
}

a > *, button > * {
    position: relative;
    z-index: 2;
}

.ripple-fill {
    position: absolute !important;
    background-color: #FFFFFF !important; /* Warm Cream / Parchment */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Text color flips to dark chocolate brown when cream fills the button */
a:hover, button:hover, .btn-chocolate:hover, .header-cta-btn:hover {
    color: #4A2A18 !important;
}
a:hover span, button:hover span {
    color: #4A2A18 !important;
}


/* ===== CLEAN BULLETPROOF PURE CSS BUTTON HOVER FILL ===== */
a.btn-chocolate, a.btn-outline-dark, .header-cta-btn, button {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease, background-color 0.4s ease !important;
}

/* Cream fill pseudo-element */
a.btn-chocolate::before, .header-cta-btn::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 320% !important;
    height: 320% !important;
    background-color: #FFFFFF !important; /* Cream Parchment */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s ease-out !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

a.btn-chocolate:hover::before, .header-cta-btn:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

a.btn-chocolate:hover, .header-cta-btn:hover {
    color: #4A2A18 !important;
}

/* Remove any broken ripple elements */
.ripple-fill { display: none !important; }


/* ===== WORKING BUTTON HOVER CREAM FILL ANIMATION ===== */
.btn-fill-animation,
a.btn-chocolate,
.header-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
}

.btn-fill-outline {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
}

.btn-fill-animation::before,
a.btn-chocolate::before,
.header-cta-btn::before,
.btn-fill-outline::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 320% !important;
    height: 320% !important;
    background-color: #FFFFFF !important; /* Cream Parchment */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s ease-out !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.btn-fill-animation:hover::before,
a.btn-chocolate:hover::before,
.header-cta-btn:hover::before,
.btn-fill-outline:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.btn-fill-animation:hover,
a.btn-chocolate:hover,
.header-cta-btn:hover,
.btn-fill-outline:hover {
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}


/* ===== WATERMARK MEDIUM SPEED MARQUEE TICKER ===== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0 1rem 0;
    position: relative;
    user-select: none;
    pointer-events: none;
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: marquee-scroll 28s linear infinite;
    will-change: transform;
}

.marquee-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(3.5rem, 6.5vw, 5.5rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: rgba(74, 42, 24, 0.04) !important;
    -webkit-text-stroke: 1.5px rgba(74, 42, 24, 0.12) !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}


/* ===== COMPLETE BUTTON LAYOUT & HOVER ANIMATION FIX ===== */
.btn-fill-animation {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
    padding: 0.95rem 2.2rem !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: 'DM Sans', sans-serif !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
    cursor: pointer !important;
}

.btn-fill-outline {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    padding: 0.95rem 2.2rem !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: 'DM Sans', sans-serif !important;
    backdrop-filter: blur(4px) !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
    cursor: pointer !important;
}

.btn-fill-animation::before,
.btn-fill-outline::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 320% !important;
    height: 320% !important;
    background-color: #FFFFFF !important; /* Cream Parchment */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s ease-out !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.btn-fill-animation:hover::before,
.btn-fill-outline:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.btn-fill-animation:hover,
.btn-fill-outline:hover {
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}


/* ===== FIXED CONTINUOUS SINGLE-LINE MARQUEE TICKER ===== */
.marquee-container {
    width: 100% !important;
    overflow: hidden !important;
    padding: 3rem 0 1rem 0 !important;
    position: relative !important;
    user-select: none !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.marquee-content {
    display: flex !important;
    width: max-content !important;
    white-space: nowrap !important;
    animation: marquee-scroll 25s linear infinite !important;
}

.marquee-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: rgba(0, 0, 0, 0.04) !important;
    -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.12) !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    padding-right: 3rem !important;
    display: inline-block !important;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== RED CURSOR FOLLOWER DOT ===== */
.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #c8102e; /* Red Dot */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(200, 16, 46, 0.6);
}

.custom-cursor-follower {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(200, 16, 46, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
}


/* ===== ABSOLUTE ZERO HORIZONTAL SCROLLBAR GUARANTEE ===== */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-wrapper, main, section, header, footer {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ===== SINGLE CLEAN VERTICAL SCROLLBAR (NO DOUBLE SCROLLBAR) ===== */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    height: auto !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-wrapper, main {
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}


/* ===== MASTER 100% WIDTH NO SCROLLBAR RESET ===== */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-wrapper, main, section, header, footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}


/* ===== UNIVERSAL CREAM WHITE BUTTON HOVER FILL ANIMATION ===== */
.btn-fill-animation, 
.btn-fill-outline, 
.header-cta-btn, 
a.btn-chocolate, 
a.btn-outline-dark, 
button, 
.button {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
}

.btn-fill-animation {
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
}

.btn-fill-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(4px) !important;
}

/* Ensure inner text and icons stay above the expanding cream fill */
.btn-fill-animation > *, 
.btn-fill-outline > *, 
.header-cta-btn > *, 
a.btn-chocolate > *, 
button > * {
    position: relative !important;
    z-index: 3 !important;
    transition: color 0.4s ease !important;
}

/* Expanding Cream White Circle Pseudo-Element */
.btn-fill-animation::before,
.btn-fill-outline::before,
.header-cta-btn::before,
a.btn-chocolate::before,
a.btn-outline-dark::before,
button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 350% !important;
    height: 350% !important;
    background-color: #FFFFFF !important; /* Cream White */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Hover State - Scale Cream Circle to 100% and flip text to dark chocolate brown */
.btn-fill-animation:hover::before,
.btn-fill-outline:hover::before,
.header-cta-btn:hover::before,
a.btn-chocolate:hover::before,
a.btn-outline-dark:hover::before,
button:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.btn-fill-animation:hover,
.btn-fill-outline:hover,
.header-cta-btn:hover,
a.btn-chocolate:hover,
a.btn-outline-dark:hover,
button:hover {
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
}

.btn-fill-animation:hover *,
.btn-fill-outline:hover *,
.header-cta-btn:hover *,
a.btn-chocolate:hover *,
button:hover * {
    color: #4A2A18 !important;
}


/* ===== PERMANENT KILL FOR HORIZONTAL SCROLLBAR ===== */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

header, section, main, div, footer, nav {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ===== MASTER BUTTON UI & RESPONSIVE LAYOUT SYSTEM ===== */
.btn-fill-animation:hover {
    background-color: #FFFFFF !important;
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.btn-fill-animation:hover * {
    color: #4A2A18 !important;
}

.btn-fill-outline:hover {
    background-color: #FFFFFF !important;
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.btn-fill-outline:hover * {
    color: #4A2A18 !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .hero-buttons-row {
        flex-direction: column !important;
        width: 100% !important;
    }
    .btn-fill-animation, .btn-fill-outline {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ===== ABOUT US PHOTO GLANCING / SHINE SWEEP HOVER ANIMATION ===== */
.about-img-container {
    overflow: hidden !important;
    border-radius: 24px !important;
}

.about-img-container img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-img-container:hover img {
    transform: scale(1.03) !important; /* Subtle inner zoom, zero lifting */
}

/* Diagonal Light Sheen Glare Sweep */
.about-img-container::after {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 70% !important;
    height: 200% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    z-index: 8 !important;
}

.about-img-container:hover::after {
    left: 150% !important;
}

/* Small Inset Video Card Shine */
.about-video-card {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.4s ease !important;
}

.about-video-card:hover {
    transform: scale(1.02) !important;
}


/* ===== COMPREHENSIVE MOBILE & TABLET RESPONSIVE SYSTEM ===== */
.mobile-nav-drawer.active {
    right: 0 !important;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-toggle {
        display: inline-flex !important;
    }
    .header-cta-btn {
        display: none !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding-top: 2rem !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    .hero-buttons-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.85rem !important;
    }
    .btn-fill-animation, .btn-fill-outline {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .marquee-text {
        font-size: 2.5rem !important;
    }
}


/* ===== MASTER CREAM WHITE EXPANDING HOVER FILL ANIMATION ===== */
.btn-fill-animation, 
.btn-fill-outline, 
.header-cta-btn, 
a.btn-chocolate, 
a.btn-outline-dark, 
button {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
    cursor: pointer !important;
}

.btn-fill-animation, a.btn-chocolate, .header-cta-btn {
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
}

.btn-fill-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(4px) !important;
}

/* Custom View All Buttons for Gallery, News, Blogs */
.btn-view-all {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease !important;
    cursor: pointer !important;
    background-color: transparent !important;
    color: #4A2A18 !important; /* Brown color instead of charcoal */
    border: 1.5px solid #4A2A18 !important; /* Brown border */
}

.btn-view-all > * {
    position: relative !important;
    z-index: 3 !important;
    transition: color 0.4s ease !important;
}

.btn-view-all::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 380% !important;
    height: 380% !important;
    background-color: #4A2A18 !important; /* Solid Brown Fill on hover */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.btn-view-all:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.btn-view-all:hover {
    color: #e6c888 !important; /* Gold text on brown background */
    border-color: #4A2A18 !important;
    transform: translateY(-2px) !important;
}

.btn-view-all:hover > * {
    color: #e6c888 !important;
}

/* Ensure text and icons sit on top layer z-index 3 */
.btn-fill-animation > *, 
.btn-fill-outline > *, 
.header-cta-btn > *, 
a.btn-chocolate > *, 
button > * {
    position: relative !important;
    z-index: 3 !important;
    transition: color 0.4s ease !important;
}

/* Expanding Cream White Circle */
.btn-fill-animation::before,
.btn-fill-outline::before,
.header-cta-btn::before,
a.btn-chocolate::before,
a.btn-outline-dark::before,
button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 380% !important;
    height: 380% !important;
    background-color: #FFFFFF !important; /* Cream White Fill */
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Hover Animation Trigger */
.btn-fill-animation:hover::before,
.btn-fill-outline:hover::before,
.header-cta-btn:hover::before,
a.btn-chocolate:hover::before,
a.btn-outline-dark:hover::before,
button:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.btn-fill-animation:hover,
.btn-fill-outline:hover,
.header-cta-btn:hover,
a.btn-chocolate:hover,
a.btn-outline-dark:hover,
button:hover {
    color: #4A2A18 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.btn-fill-animation:hover *,
.btn-fill-outline:hover *,
.header-cta-btn:hover *,
a.btn-chocolate:hover *,
button:hover * {
    color: #4A2A18 !important;
}


/* ===== FORCE SOLID WHITE BUTTON TEXT & ARROW ===== */
.btn-fill-animation, 
.btn-fill-outline, 
.btn-fill-animation span, 
.btn-fill-outline span {
    color: #ffffff !important;
}

.btn-fill-animation:hover, 
.btn-fill-outline:hover {
    color: #4A2A18 !important;
}

.btn-fill-animation:hover span, 
.btn-fill-outline:hover span {
    color: #4A2A18 !important;
}


/* ===== EXACT TYPOGRAPHY SYSTEM (PHUDU & INSTRUMENT SANS) ===== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Phudu:wght@400..900&display=swap');

:root {
    --font-heading: 'Phudu', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Phudu', sans-serif !important;
}

body, p, span, a, button, input, textarea, .font-body {
    font-family: 'Instrument Sans', sans-serif !important;
}

/* Master Hero Heading Specs */
h1.hero-title, .hero-grid h1 {
    font-family: 'Phudu', sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(2.8rem, 4.5vw, 65px) !important;
    line-height: 65px !important;
    color: #ffffff !important;
}

/* Master Hero Body Paragraph Specs */
.hero-grid p {
    font-family: 'Instrument Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: #ffffff !important;
}

body {
    background-color: #FFFFFF !important;
}


/* ===== MASTER PREMIUM LUXURY BUTTON SYSTEM ===== */
.btn-fill-animation, 
.btn-fill-outline, 
.header-cta-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.9rem 2.2rem !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    font-family: 'Instrument Sans', sans-serif !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.header-cta-btn {
    padding: 0.75rem 1.4rem !important;
    font-size: 0.78rem !important;
}

/* Base Primary Button: Chocolate Brown (#4A2A18) */
.btn-fill-animation, 
.header-cta-btn {
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
}

.btn-fill-animation *, 
.header-cta-btn * {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

/* Premium Gold Elevation Hover (#e6c888) */
.btn-fill-animation:hover, 
.header-cta-btn:hover {
    background-color: #e6c888 !important;
    border-color: #e6c888 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(74, 42, 24, 0.45) !important;
}

.btn-fill-animation:hover *, 
.header-cta-btn:hover * {
    color: #2a160b !important; /* Rich Dark Brown Text on Hover */
}

/* Base Outlined Button: Frosted Glass */
.btn-fill-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px) !important;
}

.btn-fill-outline * {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

/* Premium White Fill Hover */
.btn-fill-outline:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.35) !important;
}

.btn-fill-outline:hover * {
    color: #2a160b !important; /* Rich Dark Brown Text on Hover */
}

/* Arrow Micro-Interaction */
.btn-arrow {
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.95rem !important;
}

.btn-fill-animation:hover .btn-arrow,
.btn-fill-outline:hover .btn-arrow,
.primary-btn-pill:hover .btn-arrow,
.secondary-btn-pill:hover .btn-arrow,
.hover-scale-btn:hover .btn-arrow,
a:hover .btn-arrow,
.header-cta-btn:hover .btn-arrow {
    transform: rotate(45deg) !important;
}


/* ===== ANIMATED LINK UNDERLINE & GSAP UTILITIES ===== */
.desktop-nav a {
    position: relative !important;
}

.desktop-nav a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #e6c888 !important;
    transition: width 0.3s ease !important;
}

.desktop-nav a:hover::after {
    width: 100% !important;
}


/* ===== MASTER PREMIUM VERTICAL SLIDE-UP GOLD FILL HOVER SYSTEM ===== */
.btn-fill-animation, 
.header-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    background-color: #4A2A18 !important;
    color: #ffffff !important;
    border: 1px solid #4A2A18 !important;
    border-radius: 6px !important;
    padding: 0.95rem 2.3rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: 'Instrument Sans', sans-serif !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    z-index: 1 !important;
}

.btn-fill-animation::before,
.header-cta-btn::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-color: #e6c888 !important; /* Franciscan Gold Fill */
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2 !important;
}

.btn-fill-animation:hover::before,
.header-cta-btn:hover::before {
    transform: translateY(0) !important;
}

.btn-fill-animation span,
.header-cta-btn span {
    position: relative !important;
    z-index: 3 !important;
    color: #ffffff !important;
    transition: color 0.35s ease !important;
}

.btn-fill-animation:hover span,
.header-cta-btn:hover span {
    color: #2a160b !important; /* Dark Chocolate Text on Gold */
}

.btn-fill-animation:hover,
.header-cta-btn:hover {
    border-color: #e6c888 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(74, 42, 24, 0.4) !important;
}

/* Outlined Frosted Button */
.btn-fill-outline {
    position: relative !important;
    overflow: hidden !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 6px !important;
    padding: 0.95rem 2.3rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: 'Instrument Sans', sans-serif !important;
    backdrop-filter: blur(8px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    z-index: 1 !important;
}

.btn-fill-outline::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-color: #ffffff !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2 !important;
}

.btn-fill-outline:hover::before {
    transform: translateY(0) !important;
}

.btn-fill-outline span {
    position: relative !important;
    z-index: 3 !important;
    color: #ffffff !important;
    transition: color 0.35s ease !important;
}

.btn-fill-outline:hover span {
    color: #2a160b !important;
}

.btn-fill-outline:hover {
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.35) !important;
}


/* ===== PERMANENTLY KILL SCROLLBARS ON HEADER AND HERO SECTIONS ===== */
html, body, #site-wrapper, main#main-content {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

header.header, 
.header, 
.hero-section,
.hero-section div {
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Ensure no inner vertical scrollbar on hero card */
.hero-section > div {
    overflow: hidden !important;
    height: 92vh !important;
    min-height: 560px !important;
    max-height: 820px !important;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
    background: #4A2A18;
    border-radius: 4px;
}


/* ===== ABSOLUTE KILL UNWANTED HERO SCROLLBAR ===== */
.hero-section, 
.hero-section *, 
.hero-section > div, 
.hero-grid {
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.hero-section > div::-webkit-scrollbar,
.hero-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* ===== FIX WORD SPAN FONT INHERITANCE (PHUDU FONT PRESERVATION) ===== */
.gsap-heading-word {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

/* ===== FIX UNWANTED EXTRA VERTICAL SCROLL ===== */
html {
    height: 100% !important;
    overflow-y: scroll !important;
}

body {
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background-color: #FFFFFF !important;
}

.hero-section {
    padding: 1.2rem 1.5rem 0 1.5rem !important;
    background-color: #FFFFFF !important;
    box-sizing: border-box !important;
}

.hero-section > div {
    height: calc(100vh - 3rem) !important;
    max-height: calc(100vh - 3rem) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.hero-grid {
    padding: 2rem 3rem 2.2rem 3rem !important;
}

.hero-grid h1 {
    font-family: 'Phudu', sans-serif !important;
    font-weight: 600 !important;
}


/* ===== REMOVE BUTTON HOVER VERTICAL LIFT ===== */
.btn-fill-animation:hover, 
.btn-fill-outline:hover, 
.header-cta-btn:hover,
.gsap-reveal-btn:hover {
    transform: none !important;
}


/* ===== PERMANENTLY DESTROY EXTRA HERO SCROLLBAR ===== */
html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
}

.hero-section, 
.hero-section *, 
.hero-section > div,
.hero-grid {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.hero-section::-webkit-scrollbar,
.hero-section > div::-webkit-scrollbar,
.hero-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}


/* ===== REMOVE SHADOW BEHIND HERO TITLE ===== */
.hero-section h1,
.hero-section h1 *,
.gsap-heading-word {
    text-shadow: none !important;
    filter: none !important;
}


/* ===== ABSOLUTE KILL HEADER SCROLLBAR & LAYER BIBLE BEHIND COUNTER ===== */
header.header, 
header.header * {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

header.header::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.hero-bible-img {
    z-index: 5 !important;
}


/* ===== NEWS CARD TEXT LINK HOVER SYSTEM ===== */
.news-text-link:hover {
    color: #4A2A18 !important;
}

.news-text-link:hover .btn-arrow {
    transform: rotate(45deg) !important;
    color: #4A2A18 !important;
}


/* ===== NEWS CARD PHOTO GLANCE / LIGHT SHIMMER ANIMATION ===== */
.blog-card > div {
    position: relative !important;
    overflow: hidden !important;
}

.blog-card > div::after {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.blog-card:hover > div::after {
    left: 150% !important;
}

/* Ensure Bible PNG is strictly behind counter text (z-index: 5 vs 20) */
.hero-bible-img {
    z-index: 5 !important;
}


/* ===== HERO CENTER BIBLE PNG & GENTLE FLOATING ANIMATION ===== */
.hero-bible-img {
    position: absolute !important;
    top: 48% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    width: 140px !important;
    pointer-events: none !important;
}


/* ===== CUSTOM MOUSE CURSOR COLOR: CHOCOLATE BROWN (#4A2A18) ===== */
.custom-cursor-dot {
    background-color: #4A2A18 !important;
    box-shadow: 0 0 10px rgba(74, 42, 24, 0.5) !important;
}

.custom-cursor-follower {
    border: 1.5px solid rgba(74, 42, 24, 0.5) !important;
    background-color: rgba(74, 42, 24, 0.04) !important;
}

.custom-cursor-follower.cursor-hovering {
    transform: translate(-50%, -50%) scale(1.5) !important;
    background-color: rgba(74, 42, 24, 0.1) !important;
    border-color: rgba(74, 42, 24, 0.8) !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s, border-color 0.2s !important;
}
.custom-cursor-dot.cursor-hovering {
    transform: translate(-50%, -50%) scale(0) !important;
}


/* ===== HERO CENTER-RIGHT BIBLE PNG (95px SIZE) ===== */
.hero-bible-img {
    position: absolute !important;
    top: 48% !important;
    right: 12% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 95px !important;
    pointer-events: none !important;
}


/* ===== HERO BIBLE POSITIONED UPWARD ABOVE PARAGRAPH ===== */
.hero-bible-img {
    position: absolute !important;
    top: 28% !important;
    right: 9% !important;
    left: auto !important;
    transform: none !important;
    z-index: 2 !important;
    width: 90px !important;
    pointer-events: none !important;
}


/* ===== MINISTRY CARDS GLANCE SHIMMER ANIMATION ===== */
.ministry-card::after {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.ministry-card:hover::after {
    left: 150% !important;
}

.ministry-text-link:hover {
    color: #e6c888 !important;
}

.ministry-text-link:hover span {
    transform: translate(3px, -3px) !important;
}


    
    .section-eyebrow {
        margin-bottom: 3rem !important;
    }
}


/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES (FINAL)
   ============================================================ */
@media (max-width: 991px) {
    /* Section Wrappers Grid to Stack */
    section > div, 
    footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Catch inline grids in both index and about pages */
    [style*="grid-template-columns: 1fr 1.05fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 1.1fr 0.8fr 1.1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Ensure auto-fit grids also stack on smaller screens */
    [style*="minmax(400px, 1fr)"],
    [style*="minmax(300px, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Exceptions */
    .hero-metrics-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Specific Section Overrides */
    #hero-section, .section--hero-slider {
        min-height: 100vh !important;
    }
    
    #hero-section > div:last-child {
        position: relative !important;
        bottom: auto !important;
        transform: none !important;
        left: 0 !important;
        width: 100% !important;
        margin-top: 4rem !important;
    }

    section {
        padding: 4rem 0 !important;
    }

    #welcome-section,
    #about-section,
    #mission-section,
    #daily-mass-section,
    #news-section {
        padding: 4rem 1.5rem !important;
    }

    #about-section > div,
    #mission-section > div,
    #daily-mass-section > div,
    #welcome-section > div,
    #news-section > div {
        padding: 0 !important;
    }

    .daily-mass-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .bible-quote-parallax {
        padding: 6rem 1.5rem !important;
    }
    
    .bible-quote-parallax h3 {
        font-size: 2.2rem !important;
    }

    /* Footer */
    footer > div > div:first-child {
        text-align: center !important;
        align-items: center !important;
    }
    
    footer .footer-social-icons {
        justify-content: center !important;
    }

    footer [style*="text-align: left"] {
        text-align: center !important;
    }
}
@media (max-width: 576px) {
    .hero-metrics-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   ROBUST MOBILE RESPONSIVENESS OVERRIDES
   ============================================================ */
@media (max-width: 991px) {
    /* Force ANY grid with multiple fractional or pixel columns to 1fr */
    [style*="grid-template-columns: 1fr"],
    [style*="grid-template-columns: 2fr"],
    [style*="grid-template-columns: 1.1fr"],
    [style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Force specific flex containers to stack */
    /* The split info box in about.html */
    [style*="display: flex; gap: 2rem; position: relative"] {
        flex-direction: column !important;
    }
    

    #bible-quote-section {
        margin: 0 1rem 3rem 1rem !important;
        padding: 4rem 0 !important;
    }

    /* The Welcome Section layout fixes */
    #welcome-section {
        padding: 4rem 1.5rem !important;
    }
    
    /* About Us & Our Mission overall padding */
    #about-section > div,
    #mission-section > div,
    section[id$="-section"] > div {
        padding: 0 1.5rem !important;
    }
    
    /* Remove huge top/bottom paddings globally */
    section {
        padding: 4rem 0 !important;
    }
    
    /* Ensure images inside these grids don't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* The Bible quote section */
    .bible-quote-parallax {
        padding: 4rem 1.5rem !important;
    }
    
    .bible-quote-parallax h3 {
        font-size: 2rem !important;
    }

    /* Footer stacking */
    footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        align-items: center !important;
    }
    footer .footer-social-icons {
        justify-content: center !important;
    }
    footer [style*="text-align: left"] {
        text-align: center !important;
    }


    /* Flexbox Cards stacking */
    [style*="display: flex"][style*="gap: 2rem"] {
        flex-direction: column !important;
    }
    
    /* But prevent nav from stacking */
    .desktop-nav, .footer__nav {
        flex-direction: row !important;
    }

    /* News & Ministries Cards */
    [class*="grid--"] {
        grid-template-columns: 1fr !important;
    }
}


/* ===== RECENT UI FIXES ===== */
/* Reduce empty space between contact section and blogs section */
#blogs-section {
    padding-top: 1.5rem !important;
}

/* Fix CTA dock trigger */
.cta-dock__trigger:hover::before {
    display: none !important;
    transform: none !important;
}

/* Make the CTA dock icon dark brown (#4A2A18) instead of red */
.cta-dock__glyph--tau img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(30%) saturate(2716%) hue-rotate(346deg) brightness(95%) contrast(90%) !important;
}



.cta-dock__trigger {
    background: transparent !important;
}
.cta-dock__trigger:hover, 
.cta-dock__trigger:focus, 
.cta-dock__trigger:active {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}
.cta-dock__trigger::after, .cta-dock__trigger::before {
    display: none !important;
}


    #bible-quote-section {
        max-width: 1320px !important;
        margin: 0 auto 4rem auto !important;
        width: calc(100% - 6rem) !important;
        box-sizing: border-box !important;
    }
    
    @media (max-width: 991px) {
        #bible-quote-section {
            width: calc(100% - 3rem) !important;
            margin: 0 auto 3rem auto !important;
        }
    }



.priest-zoom {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-trigger:hover .priest-zoom,
.hover-trigger:hover .about-img-container img {
    transform: scale(1.03) !important;
}
.hover-trigger:hover .about-img-container::after {
    left: 150% !important;
}

/* ===== HERO GRID RESPONSIVE LAYOUT ===== */
.hero-grid-layout {
    position: relative; 
    z-index: 10; 
    width: 100%; 
    padding: 2.2rem 3rem 2.8rem 3rem; 
    display: grid; 
    grid-template-columns: 1.15fr 0.85fr; 
    gap: 3.5rem; 
    align-items: flex-end; 
    box-sizing: border-box; 
    overflow: visible !important;
}

@media (max-width: 991px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 6rem 1.5rem 2rem 1.5rem; /* more padding top to clear header */
    }
    
    .hero-grid-layout h1 {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons-row {
        gap: 1rem !important;
    }
    
    .hero-grid-layout > div:nth-child(2) > p {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-grid-layout > div:nth-child(2) > div {
        /* Stats strip */
        padding-top: 1rem !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0.5rem;
    }
    
    .hero-grid-layout > div:nth-child(2) > div > div {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    
    .hero-grid-layout > div:nth-child(2) > div > div:first-child {
        padding-left: 0 !important;
    }
    
    .hero-grid-layout > div:nth-child(2) > div > div > div:first-child {
        font-size: 1.6rem !important;
    }
    
    .hero-grid-layout > div:nth-child(2) > div > div > div:last-child {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 575px) {
    .hero-grid-layout > div:nth-child(2) > div {
        grid-template-columns: 1fr !important;
        border-top: none !important;
        gap: 1rem;
    }
    
    .hero-grid-layout > div:nth-child(2) > div > div {
        border-right: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        padding: 0.8rem 0 0 0 !important;
    }
}

@media (max-width: 991px) {
    .gallery-grid-layout {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 575px) {
    .gallery-grid-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive Grid Overrides */
.responsive-grid-about {
    grid-template-columns: 1fr 1.05fr !important;
}
.responsive-grid-2 {
    grid-template-columns: 1fr 1fr !important;
}
.responsive-grid-contact {
    grid-template-columns: 0.9fr 1.1fr !important;
}
.responsive-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}
.responsive-grid-footer {
    grid-template-columns: 1.1fr 0.8fr 1.1fr 1.2fr !important;
}

@media (max-width: 991px) {
    .responsive-grid-about,
    .responsive-grid-contact,
    .responsive-grid-footer {
        grid-template-columns: 1fr !important;
    }
    .responsive-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .responsive-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .responsive-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 991px) {
    .header-cta-btn {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hero-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        padding: 8rem 1.5rem 3rem 1.5rem !important;
        gap: 2rem !important;
        align-items: center !important;
        text-align: center !important;
    }
    .hero-grid-layout > div {
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    .hero-buttons-row {
        margin-top: 1.5rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }
    .hero-grid-layout .js-hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-grid-layout .responsive-grid-3 {
        display: flex !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        border-top: none !important;
        padding-top: 0 !important;
    }
    .hero-grid-layout .responsive-grid-3 > div {
        border-right: none !important;
        padding: 0 !important;
    }
}

/* Mobile Logo Size & Drawer Scroll Fixes */
@media (max-width: 991px) {
    .header__logo img {
        width: 24px !important;
        height: auto !important;
    }
    .header__logo span {
        font-size: 0.9rem !important;
    }
    .mobile-nav-drawer {
        overflow-y: auto !important;
    }
}

/* Mobile fixes for image stacking in split image sections */
@media (max-width: 991px) {
    .about-img-container {
        width: 100% !important;
        height: 100% !important;
    }
    .hover-trigger[style*="height: 650px;"] {
        height: 500px !important;
    }
    .hover-trigger[style*="height: 600px;"] {
        height: 450px !important;
    }
}

/* Responsive classes for Mission Section Images */
.mission-church-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 58%;
    height: 90%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-priest-container {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (max-width: 991px) {
    .mission-church-img {
        width: 100% !important;
        height: 100% !important;
    }
    .mission-priest-container {
        width: 70% !important;
    }
}

/* Enquiry Section Mobile Order Fix */
@media (max-width: 991px) {
    .responsive-grid-contact {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
}

/* About Us page - Our Values section mobile fix */
@media (max-width: 991px) {
    .about-church-img {
        width: 100% !important;
        height: 100% !important;
    }
    .about-priest-img {
        width: 75% !important;
    }
}

@media (max-width: 768px) {
    .hero-bible-img,
    #welcome-scroll-bible-container {
        display: none !important;
    }
}
