/* Fonts are loaded from each page <head> (preconnect + preload) rather than an
   @import here, which would delay discovery until this file has parsed. */

:root {
  --brown-950: #1C0E08; --brown-900: #2E1503; --brown-800: #3D1F08;
  --brown-700: #5C3010; --brown-600: #7A4220;
  --gold-600: #9B7600; --gold-500: #C49A00; --gold-400: #D4AA20; --gold-300: #E0BE50;
  --gold-200: #ECCF80; --gold-100: #F5E2B0; --gold-50: #FBF4DC;
  --white: #FFFFFF; --cream: #F9F3E8; --parchment: #F2E8D5;
  --text-body: #3A2E25; --text-muted: #6B5A4A;
}

html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Crimson Pro', serif; color: var(--text-body); background: var(--cream); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', serif; margin: 0 0 1rem 0; color: var(--brown-900); }
a { text-decoration: none; color: inherit; }
* { box-sizing: border-box; }

.eyebrow { font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500); }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--brown-900); }
.gold-divider { width: 64px; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); border-radius: 2px; margin: 1.5rem 0; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 100ms; } .stagger-2 { transition-delay: 200ms; } .stagger-3 { transition-delay: 300ms; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.8rem; font-family: 'Cinzel', serif; font-weight: 600; font-size: 0.9rem; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--brown-800), var(--brown-700)); color: var(--gold-400); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(28, 14, 8, 0.3); }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--brown-950); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(196, 154, 0, 0.3); }
.btn-outline { background: transparent; border: 1px solid var(--gold-500); color: var(--gold-500); }
.btn-outline:hover { background: rgba(196, 154, 0, 0.1); transform: translateY(-2px); }

/* Header Elements */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.4s ease; }
.site-header.scrolled { background: rgba(46, 21, 3, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.top-bar { background: var(--brown-950); padding: 0.4rem 5%; display: flex; justify-content: space-between; font-family: 'Cinzel', serif; font-size: 0.65rem; color: var(--gold-200); letter-spacing: 0.05em; transition: height 0.3s, padding 0.3s, opacity 0.3s; }
.site-header.scrolled .top-bar { height: 0; padding: 0 5%; opacity: 0; overflow: hidden; }
.top-bar-left { font-style: italic; color: var(--gold-400); }
.main-nav { padding: 1rem 5%; display: flex; align-items: center; justify-content: space-between; }
.logo-container { display: flex; align-items: center; gap: 1rem; }
.logo-circle { width: 48px; height: 48px; border: 2px solid var(--gold-400); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-size: 1.5rem; }
.logo-text { font-family: 'Cormorant Garamond', serif; color: var(--white); line-height: 1.1; }
.logo-text .en { font-size: 1.2rem; font-weight: 600; }
.logo-text .te { font-size: 0.8rem; color: var(--gold-200); font-family: sans-serif; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--white); text-transform: uppercase; position: relative; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); text-shadow: 0 0 10px rgba(196, 154, 0, 0.4); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold-400); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-logo-img { height: 130px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); transition: height 0.4s ease; }
.site-header.scrolled .nav-logo-img { height: 60px; }

.mobile-toggle { display: none; background: none; border: none; color: var(--gold-400); font-size: 1.5rem; cursor: pointer; z-index: 1001; }
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(28, 14, 8, 0.98); backdrop-filter: blur(15px); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: all; transition-delay: 0s; }
.mobile-menu a { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--white); text-transform: uppercase; transition: color 0.3s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold-400); }

/* Hamburger */
.hamburger { width: 24px; height: 18px; position: relative; display: inline-block; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--gold-400); border-radius: 2px; opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }
.hamburger.open span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.hamburger.open span:nth-child(2) { opacity: 0; left: -20px; }
.hamburger.open span:nth-child(3) { top: 8px; transform: rotate(-135deg); }

/* Footer */
footer { background: var(--brown-950); color: var(--white); position: relative; }
.footer-top-line { height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-200), var(--gold-500)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding: 4rem 5%; }
.footer-col h4 { color: var(--gold-400); font-family: 'Cinzel', serif; font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-col p, .footer-col a { color: var(--gold-100); font-size: 0.95rem; margin-bottom: 0.8rem; opacity: 0.8; transition: opacity 0.3s, color 0.3s; display: block; }
.footer-col a:hover { opacity: 1; color: var(--gold-400); }
.footer-bottom { text-align: center; padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-muted); }

/* Helper Classes */
.scripture-block { border-left: 3px solid var(--gold-400); background: var(--gold-50); padding: 2rem; margin: 2rem 0; }
.scripture-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; color: var(--brown-900); margin-bottom: 1rem; }
.scripture-cite { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold-600); font-weight: 600; }
.card-stack { border: 1px solid rgba(122,66,32,0.15); border-radius: 14px; background: var(--white); padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

#backToTop { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: var(--gold-400); color: var(--brown-950); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; z-index: 99; box-shadow: 0 4px 12px rgba(0,0,0,0.2); border: none; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-5px); background: var(--gold-300); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-family: 'Cinzel', serif; font-size: 0.8rem; color: var(--brown-800); margin-bottom: 0.5rem; letter-spacing: 0.05em;}
.form-control { width: 100%; padding: 0.8rem 1rem; font-family: 'Crimson Pro', serif; font-size: 1rem; border: 1px solid rgba(122,66,32,0.2); border-radius: 4px; background: var(--white); color: var(--text-body); transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--gold-400); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Global Grid Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.section-pad { padding: 6rem 5%; }
.bg-cream { background: var(--cream); }
.bg-parchment { background: var(--parchment); }
.bg-brown { background: var(--brown-950); color: var(--white); }
.bg-brown-light { background: var(--brown-800); color: var(--white); }
.text-center { text-align: center; }

/* Page Specific Overrides will be inline here */

@media(max-width: 900px) {
  .nav-links { display: none; } .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media(max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .section-title { font-size: 2rem; } }
    
/* --- index.html specific --- */

/* Home Hero */
.hero { height: 100vh; min-height: 600px; padding-top: 160px; position: relative; background: linear-gradient(135deg, var(--brown-950) 0%, var(--brown-900) 50%, var(--brown-800) 100%); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px); pointer-events: none; }
.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 20px; }
.hero-title { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin: 1rem 0; color: var(--white); }
.hero-title .gold-italic { color: var(--gold-400); font-style: italic; display: block; }
.hero-motto { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.5rem; color: var(--gold-200); margin: 2rem 0; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-size: 0.7rem; color: var(--gold-400); }
.scroll-line { width: 1px; height: 40px; background: rgba(196,154,0,0.3); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--gold-400); animation: scrolldown 2s infinite ease-in-out; }
@keyframes scrolldown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
.badge-strip { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(28,14,8,0.8); backdrop-filter: blur(5px); padding: 10px 0; border-top: 1px solid rgba(196,154,0,0.2); display: flex; justify-content: center; gap: 2rem; font-family: 'Cinzel', serif; font-size: 0.75rem; color: var(--gold-200); }
@media(max-width: 600px) { .badge-strip { display: none; } }

/* Stats Bar */
.stats-bar { background: var(--brown-950); padding: 4rem 5%; color: var(--white); display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; border-bottom: 2px solid var(--gold-500); }
.stat-item { text-align: center; flex: 1; min-width: 150px; position: relative; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--gold-400); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-100); text-transform: uppercase; }
.stat-item::after { content:''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--gold-400); transition: width 0.4s ease; }
.stat-item:hover::after { width: 40px; }

/* Bishop Card */
.bishop-card { background: var(--white); border-radius: 14px; padding: 3rem; display: flex; gap: 3rem; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid rgba(122,66,32,0.1); margin: 0 auto; max-width: 1000px; }
@media(max-width: 768px) { .bishop-card { flex-direction: column; text-align: center; } }
.bishop-photo { width: 250px; height: 250px; border-radius: 50%; border: 4px solid var(--gold-400); position: relative; display: flex; align-items: center; justify-content: center; background: var(--parchment); color: var(--gold-500); font-size: 4rem; flex-shrink: 0; }
.bishop-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; image-rendering: auto; }

/* Portrait Photo for Bishop */
.portrait-photo { width: 100%; max-width: 320px; aspect-ratio: 2 / 3; border-radius: 8px; border: 4px solid var(--gold-400); position: relative; display: flex; align-items: center; justify-content: center; background: var(--parchment); color: var(--gold-500); font-size: 4rem; flex-shrink: 0; margin: 0 auto 2rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; image-rendering: auto; }
.portrait-decor { position: absolute; inset: 4px; border: 1px dashed var(--gold-300); z-index: 3; pointer-events: none; border-radius: 4px; }

.spinning-ring { position: absolute; inset: -15px; border-radius: 50%; border: 1px dashed var(--gold-400); animation: spin 20s linear infinite; z-index: 1; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Ministries Grid */
.ministries-sec { padding: 8rem 5%; background: var(--brown-950); color: var(--white); }
.ministry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.m-card { background: var(--brown-900); border-radius: 8px; padding: 2.5rem; position: relative; overflow: hidden; border-top: 4px solid var(--gold-500); transition: transform 0.3s, box-shadow 0.3s; display:block; }
.m-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.m-card h3 { color: var(--white); margin: 1rem 0; font-size: 1.5rem; }
.m-card p { color: var(--gold-100); opacity: 0.8; font-size: 0.95rem; line-height: 1.6; }
.m-icon { font-size: 2.5rem; color: var(--gold-400); margin-bottom: 1rem; }

/* Timeline Strip */
.timeline-strip { display: grid; grid-template-columns: 1fr 1fr; background: var(--brown-800); color: var(--white); }
.timeline-years { padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--brown-900); }
.t-year { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--gold-400); border-left: 2px solid var(--gold-600); padding-left: 1rem; }
.timeline-text { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media(max-width: 900px) { .timeline-strip { grid-template-columns: 1fr; } .timeline-years { padding: 2rem; } .timeline-text { padding: 4rem 2rem; } }

/* Affiliations */
.affil-strip { padding: 4rem 5%; background: var(--brown-950); border-top: 1px solid rgba(255,255,255,0.05); }
.affil-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.affil-item { text-align: center; max-width: 250px; }
.affil-item h4 { color: var(--gold-400); font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.5rem; }
.affil-item p { color: var(--gold-100); font-size: 0.85rem; opacity: 0.7; }

/* --- about.html specific --- */

            /* Page Specific CSS */
            .page-hero {
                padding: 10rem 5% 5rem;
                background: var(--brown-950);
                color: var(--white);
                text-align: center;
                border-bottom: 4px solid var(--gold-500);
            }

            .page-hero h1 {
                color: var(--gold-400);
                font-size: clamp(2.5rem, 5vw, 4rem);
                margin-bottom: 0.5rem;
            }

            .info-card {
                background: var(--brown-900);
                padding: 2.5rem;
                border-radius: 8px;
                color: var(--white);
                border-top: 4px solid var(--gold-500);
            }

            .info-card h3 {
                color: var(--gold-400);
                font-family: 'Cinzel', serif;
                margin-bottom: 1.5rem;
            }

            .info-item {
                display: flex;
                gap: 1rem;
                margin-bottom: 1rem;
                align-items: flex-start;
            }

            .info-item i {
                color: var(--gold-400);
                font-style: normal;
                margin-top: 0.2rem;
            }

            .info-item div {
                font-size: 0.95rem;
                color: var(--gold-100);
                opacity: 0.9;
            }

            .values-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 2rem;
            }

            .value-card {
                border-radius: 8px;
                overflow: hidden;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            }

            .v-header {
                background: var(--brown-800);
                color: var(--gold-400);
                padding: 1.5rem;
                display: flex;
                align-items: center;
                gap: 1rem;
                font-family: 'Cinzel', serif;
                font-size: 1.1rem;
            }

            .v-body {
                background: var(--cream);
                padding: 2rem;
                color: var(--text-body);
                font-size: 0.95rem;
                line-height: 1.6;
                border: 1px solid rgba(122, 66, 32, 0.1);
                border-top: none;
                border-bottom-left-radius: 8px;
                border-bottom-right-radius: 8px;
            }

            .accordion {
                max-width: 800px;
                margin: 0 auto;
            }

            .accordion-item {
                border-bottom: 1px solid rgba(122, 66, 32, 0.1);
            }

            .accordion-header {
                width: 100%;
                text-align: left;
                padding: 1.5rem 0;
                background: none;
                border: none;
                font-family: 'Cinzel', serif;
                font-size: 1.1rem;
                color: var(--brown-900);
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: color 0.3s;
            }

            .accordion-header:hover {
                color: var(--gold-600);
            }

            .accordion-header .icon {
                color: var(--gold-500);
                font-size: 1.5rem;
                font-family: monospace;
            }

            .accordion-body {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
            }

            .accordion-content {
                padding-bottom: 1.5rem;
                color: var(--text-muted);
                line-height: 1.6;
                font-size: 1.05rem;
            }

            .stats-banner {
                background: var(--brown-900);
                padding: 3rem 5%;
                color: var(--white);
                display: flex;
                justify-content: space-around;
                flex-wrap: wrap;
                gap: 2rem;
                text-align: center;
            }

            /* Stats Bar shared classes inside banner */
            .stat-item {
                flex: 1;
                min-width: 150px;
                position: relative;
            }

            .stat-number {
                font-family: 'Cormorant Garamond', serif;
                font-size: 3.5rem;
                color: var(--gold-400);
                line-height: 1;
                margin-bottom: 0.5rem;
            }

            .stat-label {
                font-family: 'Cinzel', serif;
                font-size: 0.8rem;
                letter-spacing: 0.1em;
                color: var(--gold-100);
                text-transform: uppercase;
            }

            .stat-item::after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
                width: 0;
                height: 2px;
                background: var(--gold-400);
                transition: width 0.4s ease;
            }

            .stat-item:hover::after {
                width: 40px;
            }
        
/* --- contact.html specific --- */

/* Page Specific CSS */
.page-hero { padding: 10rem 5% 5rem; background: var(--brown-950); color: var(--white); text-align: center; border-bottom: 4px solid var(--gold-500); }
.page-hero h1 { color: var(--gold-400); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; }

.contact-container { padding: 6rem 5%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { background: var(--brown-950); color: var(--white); padding: 4rem; border-radius: 14px; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-top: 4px solid var(--gold-500); }
.contact-forms { display: flex; flex-direction: column; gap: 3rem; }

.c-logo { font-size: 4rem; color: var(--gold-400); opacity: 0.1; position: absolute; top: 20px; right: 20px; line-height: 1; pointer-events: none; }
.contact-info h2 { color: var(--white); font-size: 2rem; margin-bottom: 0.2rem; }
.contact-info .te-name { color: var(--gold-200); font-size: 0.9rem; margin-bottom: 2rem; }

.c-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.c-item .icon { color: var(--gold-400); font-size: 1.2rem; margin-top: 0.3rem; }
.c-item .text { font-size: 1.05rem; line-height: 1.6; color: var(--gold-50); opacity: 0.9; }
.c-item a { color: var(--gold-400); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.3s; }
.c-item a:hover { text-decoration-color: var(--gold-400); }

.c-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 2rem 0; }

.map-placeholder { width: 100%; height: 250px; background: var(--brown-900); border: 1px dashed rgba(196,154,0,0.3); border-radius: 8px; margin-top: 2rem; display: flex; align-items: center; justify-content: center; color: var(--gold-100); flex-direction: column; gap: 1rem; }

.form-wrapper { background: var(--white); padding: 3rem; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(122,66,32,0.1); }
.form-wrapper h3 { font-size: 1.8rem; color: var(--brown-900); margin-bottom: 0.5rem; }
.form-wrapper p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

@media(max-width: 900px) { .contact-container { grid-template-columns: 1fr; } .contact-info { padding: 3rem 2rem; } .form-wrapper { padding: 2rem; } }

/* --- history.html specific --- */

/* Page Specific CSS */
.page-hero { padding: 10rem 5% 5rem; background: var(--brown-950); color: var(--white); text-align: center; border-bottom: 4px solid var(--gold-500); }
.page-hero h1 { color: var(--gold-400); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; }

.stats-strip { background: var(--brown-900); color: var(--white); padding: 5rem 5%; display: flex; align-items: center; justify-content: space-between; gap: 4rem; flex-wrap: wrap; }
.stats-text { flex: 1; min-width: 300px; font-size: 1.1rem; line-height: 1.8; color: var(--gold-100); }
.stats-grid { flex: 1; min-width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.s-box { text-align: center; border: 1px dashed rgba(196,154,0,0.3); padding: 1.5rem; border-radius: 8px; }
.s-box .num { font-size: 2.5rem; font-family: 'Cormorant Garamond', serif; color: var(--gold-400); margin-bottom: 0.5rem; line-height: 1; display:flex; justify-content:center; align-items:center;}
.s-box .lbl { font-size: 0.8rem; font-family: 'Cinzel', serif; color: var(--gold-100); text-transform: uppercase; letter-spacing: 0.1em; }

.timeline-container { position: relative; max-width: 1000px; margin: 4rem auto 0; padding: 2rem 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-500), var(--brown-800)); transform: translateX(-50%); border-radius: 2px; }
.timeline-card { position: relative; width: 45%; padding: 2rem; background: var(--white); border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 3rem; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(122,66,32,0.1); }
.timeline-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.timeline-card::before { content:''; position: absolute; top: 34px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold-500); z-index: 2; }
.timeline-card::after { content:''; position: absolute; top: 40px; width: calc(5% + 11px); height: 2px; background: var(--gold-400); z-index: 1; }

.timeline-card.left { left: 0; }
.timeline-card.left::before { right: -30px; }
.timeline-card.left::after { right: calc(-5% - 20px); width: calc(11% + 22px); }

.timeline-card.right { left: 55%; }
.timeline-card.right::before { left: -30px; }
.timeline-card.right::after { left: calc(-9% - 20px); width: calc(9% + 20px); }

.t-date { font-family: 'Cinzel', serif; font-size: 1.8rem; color: var(--gold-500); margin-bottom: 0.5rem; font-weight: 600; }
.t-summary { font-size: 1.2rem; color: var(--brown-900); font-weight: 600; font-family: 'Cormorant Garamond', serif; }
.t-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.t-details-inner { padding-top: 1rem; color: var(--text-muted); line-height: 1.6; font-size: 1rem; border-top: 1px dashed rgba(122,66,32,0.2); margin-top: 1rem;}
.timeline-card.expanded .t-details { max-height: 500px; }
.expand-hint { font-size: 0.75rem; font-family: 'Cinzel', serif; color: var(--gold-400); margin-top: 1.5rem; display: block; letter-spacing: 0.1em;}
.timeline-card.expanded .expand-hint { color: var(--brown-800); }

@media(max-width: 768px) {
  .timeline-line { left: 20px; }
  .timeline-card { width: calc(100% - 50px); left: 50px !important; }
  .timeline-card::before { left: -38px !important; right: auto !important; }
  .timeline-card::after { width: 30px !important; left: -30px !important; right: auto !important; }
}

/* --- leadership.html specific --- */

/* Page Specific CSS */
.page-hero { padding: 10rem 5% 5rem; background: var(--brown-950); color: var(--white); text-align: center; border-bottom: 4px solid var(--gold-500); }
.page-hero h1 { color: var(--gold-400); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; }

/* Bishop Profile Layout */
.profile-container { display:flex; flex-wrap:wrap; gap:0; max-width:1100px; margin: 0 auto; border-radius:14px; overflow:hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid rgba(122,66,32,0.1); }
.profile-left { background: var(--brown-950); color: var(--white); width: 390px; padding: 4rem 3rem; text-align: center; position: relative; }
.profile-right { background: var(--cream); flex: 1; padding: 4rem; min-width: 300px; }

.bishop-photo { width: 250px; height: 250px; border-radius: 50%; border: 4px solid var(--gold-400); position: relative; display: flex; align-items: center; justify-content: center; background: var(--parchment); color: var(--gold-500); font-size: 4rem; margin: 0 auto 2rem; }
.bishop-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; image-rendering: auto; }
.spinning-ring { position: absolute; inset: -15px; border-radius: 50%; border: 1px dashed var(--gold-400); animation: spin 20s linear infinite; z-index: 1; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.badge-outline { display:inline-block; border: 1px solid var(--gold-400); color: var(--gold-200); padding: 0.4rem 1rem; border-radius: 4px; font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.05em; margin-bottom: 2rem; }

.cred-list { text-align: left; margin-top: 2rem; }
.cred-item { margin-bottom: 1.5rem; }
.cred-item h4 { font-family: 'Cinzel', serif; color: var(--gold-400); font-size: 0.85rem; margin-bottom: 0.3rem; margin-top:0; }
.cred-item p { color: var(--gold-100); font-size: 0.95rem; margin: 0; line-height: 1.5; opacity: 0.9; }

.officer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width:1100px; margin: 0 auto; }
.officer-card { background: var(--white); border-radius: 8px; border: 1px solid rgba(122,66,32,0.1); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
.officer-header { background: var(--brown-900); padding: 3rem 2rem; position: relative; }
.officer-header .photo { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--gold-400); background: var(--brown-800); color: var(--gold-500); display:flex; align-items:center; justify-content:center; font-size:3rem; margin: 0 auto 1.5rem; position:relative;}
.officer-header .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.role-badge { background: var(--gold-500); color: var(--brown-950); font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: bold; padding: 0.3rem 1rem; border-radius: 20px; position:absolute; bottom: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index:2; }
.officer-body { padding: 3rem 2rem 2rem; }
.officer-body h3 { font-size: 1.5rem; color: var(--brown-950); margin-bottom: 0.5rem; }

.structure-box { background: var(--brown-900); color: var(--white); padding: 3rem; border-radius: 14px; text-align: center; border-top:4px solid var(--gold-400); height:100%; display:flex; flex-direction:column; justify-content:center; }
.structure-box h3 { color: var(--gold-400); font-family: 'Cinzel', serif; }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.pillar-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(196,154,0,0.2); border-radius: 8px; padding: 3rem 2rem; text-align: center; transition: background 0.3s; }
.pillar-card:hover { background: rgba(196,154,0,0.1); }
.pillar-card i { font-size: 3rem; color: var(--gold-400); display: block; margin-bottom: 1.5rem; font-style: normal;}
.pillar-card h3 { color: var(--white); font-family: 'Cinzel', serif; font-size: 1.5rem; margin-bottom: 1rem; }
.pillar-card p { color: var(--gold-100); opacity: 0.8; }
@media(max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } .profile-left { width: 100%; } }

/* --- ministries.html specific --- */

/* Page Specific CSS */
.page-hero { padding: 10rem 5% 5rem; background: var(--brown-950); color: var(--white); text-align: center; border-bottom: 4px solid var(--gold-500); }
.page-hero h1 { color: var(--gold-400); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; }

.ministry-wrapper { background: var(--cream); overflow-x: hidden; }
.min-section { padding: 6rem 5%; display: flex; align-items: center; gap: 5rem; max-width: 1200px; margin: 0 auto; }
.min-section:nth-child(even) { flex-direction: row-reverse; background: var(--parchment); }
.min-section:nth-child(odd) { background: var(--cream); }

.min-wrapper-full:nth-child(odd) { background: var(--cream); }
.min-wrapper-full:nth-child(even) { background: var(--parchment); }

.min-text { flex: 1; min-width: 300px; }
.min-visual { flex: 1; min-width: 300px; position: relative; }

.min-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--brown-900); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--gold-500); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.min-img-placeholder::after { content:''; position: absolute; inset: 0; border: 8px solid var(--white); border-radius: 8px; opacity: 0.1; }

.min-icon-badge { position: absolute; top: -20px; left: -20px; width: 80px; height: 80px; background: var(--gold-400); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--brown-950); box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 4px solid var(--white); z-index: 2; }
.min-wrapper-full:nth-child(even) .min-icon-badge { left: auto; right: -20px; }

.min-title { font-size: 2.5rem; color: var(--brown-900); margin-bottom: 1rem; line-height: 1.1; }
.min-desc { font-size: 1.1rem; line-height: 1.8; color: var(--text-body); margin-bottom: 1.5rem; opacity: 0.9; }

.min-list { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.min-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--brown-800); }
.min-list li::before { content: '✝'; position: absolute; left: 0; top: 0; color: var(--gold-500); font-size: 1rem; }

@media(max-width: 900px) {
  .min-section, .min-section:nth-child(even) { flex-direction: column-reverse; gap: 3rem; }
  .min-icon-badge { top: -20px; left: -20px !important; right: auto !important; }
}


/* =====================================================================
   REFINEMENT LAYER
   Accessibility, the stained-glass hero, and scroll-driven motion.
   Loaded last so it wins over the page-specific blocks above.
   ===================================================================== */

/* --- 1. Accessibility foundations ----------------------------------- */

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 2000;
  background: var(--gold-400); color: var(--brown-950);
  padding: 0.7rem 1.2rem; border-radius: 0 0 6px 6px;
  font-family: 'Cinzel', serif; font-size: 0.85rem;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; }
#main:focus { outline: none; }

/* A visible ring for keyboard users only — mouse clicks stay clean. */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--gold-300); color: var(--brown-950); }

/* Honour the OS "reduce motion" setting across the whole site. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in-up, .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- 2. Reading progress -------------------------------------------- */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1200; pointer-events: none; background: rgba(28, 14, 8, 0.25);
}
.scroll-progress span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-100));
  box-shadow: 0 0 12px rgba(212, 170, 32, 0.6);
}

/* --- 3. Header: ticker, logo, nav ----------------------------------- */

.news-ticker {
  display: flex; align-items: center; gap: 1rem;
  background: var(--gold-200); color: var(--brown-950);
  padding: 0.3rem 5%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'Crimson Pro', serif; font-size: 0.95rem; font-weight: 600;
  transition: height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
}
.site-header.scrolled .news-ticker {
  height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; border-bottom: 0;
}
.ticker-label {
  flex: none;
  font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brown-950); color: var(--gold-400);
  padding: 0.25rem 0.7rem; border-radius: 2px; white-space: nowrap;
}
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerScroll 42s linear infinite; }
.ticker-run { display: flex; flex: none; }
.ticker-item { white-space: nowrap; padding-right: 4rem; position: relative; }
.ticker-item::after {
  content: '\2020'; position: absolute; right: 1.8rem; color: var(--gold-600);
}
/* Pause when a visitor is trying to read it */
.news-ticker:hover .ticker-track,
.news-ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* Crest is cropped now, so it needs far less height than the old padded PNG */
.nav-logo-img { height: 64px; width: auto; }
.site-header.scrolled .nav-logo-img { height: 46px; }
.main-nav { gap: 1.5rem; padding: 0.9rem 4%; }
.nav-links { gap: 1.35rem; flex-wrap: nowrap; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }
.logo-container { flex: none; min-width: 0; }
.logo-text .en { font-size: 1rem; white-space: nowrap; }
.logo-container picture { display: block; flex: none; line-height: 0; }
.logo-text { display: block; }
.logo-text .en, .logo-text .te { display: block; }
.nav-cta { padding: 0.45rem 1.1rem; }
.footer-logo { align-items: center; margin-bottom: 1.5rem; }
.footer-logo-img { height: 84px; width: auto; }
.footer-verse { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; line-height: 1.5; }
.footer-cite { font-family: 'Cinzel', serif; font-size: 0.8rem; color: var(--gold-400); margin-top: 0.5rem; }
.footer-col a.inline-link { display: inline; padding: 0; margin: 0; }

/* Mobile overlay now lives on <body> so it can cover the fixed header */
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
body.menu-open { overflow: hidden; }

/* Faint crest watermark behind the overlay links */
.mobile-menu::before {
  content: '\2720'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 46vh; line-height: 1; color: var(--gold-400);
  opacity: 0.05; pointer-events: none;
}
/* Links rise in one after another once the overlay opens */
.mobile-menu a {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.3s ease;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.open a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu.open a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu.open a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu.open a:nth-child(5) { transition-delay: 260ms; }
.mobile-menu.open a:nth-child(6) { transition-delay: 310ms; }
.mobile-menu.open a:nth-child(7) { transition-delay: 360ms; }
.mobile-menu.open a:nth-child(8) { transition-delay: 410ms; }

/* --- 4. Hero: stained glass, light shafts, motes -------------------- */

.hero { padding-top: 150px; }
.hero-stage {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
  opacity: var(--hero-fade, 1);
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform, opacity;
}
.hero-overlay { z-index: 3; }
.hero-content { z-index: 4; }

/* Volumetric shafts falling from above the rose window */
.hero-rays {
  position: absolute; top: -40%; left: 50%; width: 190vmax; height: 190vmax;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg,
    rgba(245, 226, 176, 0.10) 0deg 2.5deg,
    rgba(245, 226, 176, 0.00) 2.5deg 13deg);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, rgba(0,0,0,0.95), transparent 58%);
  mask-image: radial-gradient(circle at 50% 22%, rgba(0,0,0,0.95), transparent 58%);
  animation: rayDrift 120s linear infinite;
}
@keyframes rayDrift { to { transform: translateX(-50%) rotate(360deg); } }

.rose-wrap {
  position: absolute; top: 46%; left: 50%;
  width: min(82vh, 720px); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}
.rose-wrap::before {
  content: ''; position: absolute; inset: -18%;
  background: radial-gradient(circle, rgba(212, 170, 32, 0.22), transparent 62%);
  animation: roseGlow 9s ease-in-out infinite;
}
.rose-window {
  position: relative; width: 100%; height: 100%;
  opacity: 0.42;
  filter: drop-shadow(0 0 40px rgba(212, 170, 32, 0.3));
}

/* Keeps the headline readable over the glass without hiding it */
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 34% at 50% 52%, rgba(28, 14, 8, 0.82), rgba(28, 14, 8, 0.35) 55%, transparent 78%),
    linear-gradient(180deg, rgba(28, 14, 8, 0.55) 0%, transparent 28%, transparent 70%, rgba(28, 14, 8, 0.7) 100%);
}
.rose-ring { transform-box: view-box; transform-origin: 200px 200px; }
.rose-ring-outer { animation: roseSpin 300s linear infinite; }
.rose-ring-inner { animation: roseSpin 190s linear infinite reverse; }
@keyframes roseSpin { to { transform: rotate(360deg); } }
@keyframes roseGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.hero-motes { position: absolute; inset: 0; }

.hero-actions { display: flex; gap: 1.5rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: block; width: 26px; height: 52px;
  border: 1px solid rgba(212, 170, 32, 0.45); border-radius: 14px;
}
.hero-scroll-line {
  position: absolute; top: 8px; left: 50%; width: 2px; height: 10px;
  margin-left: -1px; border-radius: 2px; background: var(--gold-400);
  animation: cueDrop 2.2s ease-in-out infinite;
}
.hero-scroll-cue:hover { border-color: var(--gold-300); }
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(22px); opacity: 0; }
}

/* --- 5. Reveals & parallax ------------------------------------------ */

.fade-in-up { transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1); }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }

/* Text that wipes in behind a gold edge */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

[data-parallax] { transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }

/* --- 6. Typography craft -------------------------------------------- */

.dropcap::first-letter {
  float: left; font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 4.2rem; line-height: 0.78; margin: 0.35rem 0.7rem 0 0;
  color: var(--gold-600);
}
.section-title { letter-spacing: -0.01em; }

/* Small gold cross that draws itself in beside a section eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--gold-500); opacity: 0.7;
}
.text-center .eyebrow::after {
  content: ''; width: 22px; height: 1px; background: var(--gold-500); opacity: 0.7;
}

/* --- 7. Cards, stats, gallery --------------------------------------- */

/* Ministry cards: a gold sheen sweeps across on hover */
.m-card { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.m-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(236, 207, 128, 0.14) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.m-card:hover::after, .m-card:focus-visible::after { transform: translateX(120%); }
.m-card:hover h3 { color: var(--gold-200); }

.stat-number { font-variant-numeric: tabular-nums; }

.zoom-img { transition: transform 0.45s ease; }
.zoom-img:hover { transform: scale(1.06); }

picture { display: contents; }

/* --- 8. Forms -------------------------------------------------------- */

.form-control.is-invalid { border-color: #A33227; background: #FFF6F4; }
.form-status {
  margin: 1rem 0 0; font-family: 'Cinzel', serif; font-size: 0.8rem;
  color: var(--brown-700);
}
.form-status.is-error { color: #A33227; }

/* --- 9. Surface texture & section craft ------------------------------ */

/* A faint paper grain over the whole site — reads as manuscript stock
   rather than flat screen colour. Fixed so it never scrolls with content. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 900; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

/* Illuminated rule that separates the light sections */
.section-pad + .section-pad { position: relative; }
.section-pad + .section-pad::before {
  content: '\2720'; position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--gold-500);
  background: var(--cream); border: 1px solid rgba(196, 154, 0, 0.35);
}
.bg-parchment + .bg-parchment::before { background: var(--parchment); }

/* Ministry cards get illuminated corner brackets on hover */
.m-card::before {
  content: ''; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid var(--gold-400);
  clip-path: polygon(0 0, 26px 0, 26px 1px, 1px 1px, 1px 26px, 0 26px,
                     0 100%, 26px 100%, 26px calc(100% - 1px), 1px calc(100% - 1px), 1px calc(100% - 26px), 0 calc(100% - 26px),
                     100% 0, calc(100% - 26px) 0, calc(100% - 26px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) 26px, 100% 26px,
                     100% 100%, calc(100% - 26px) 100%, calc(100% - 26px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 26px), 100% calc(100% - 26px));
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.m-card:hover::before, .m-card:focus-visible::before { opacity: 0.85; transform: scale(1); }
/* Drawn line-art rather than emoji, which rendered inconsistently per platform */
.m-icon { display: block; height: 46px; margin-bottom: 1.2rem; }
.m-icon svg {
  width: 46px; height: 46px;
  fill: none; stroke: var(--gold-400); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.35s ease, filter 0.45s ease;
}
.m-card:hover .m-icon svg, .m-card:focus-visible .m-icon svg {
  transform: translateY(-5px) scale(1.08);
  stroke: var(--gold-300);
  filter: drop-shadow(0 6px 14px rgba(212, 170, 32, 0.45));
}

/* Bishop profile: name, post-nominals and office each get their own line so a
   long degree list can no longer break mid-title. */
.profile-name {
  font-size: 1.7rem; line-height: 1.25;
  margin: 0 0 0.5rem; color: var(--white);
}
.profile-degrees {
  font-family: 'Cinzel', serif; font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--gold-200); margin-bottom: 0.9rem; text-wrap: balance;
}
.profile-rank {
  font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.05em;
  color: var(--gold-400); margin-bottom: 1.5rem;
}
.profile-left .portrait-photo { margin-bottom: 1.75rem; }

/* Same icons on the ministry pages, drawn dark against the gold badge */
.min-icon-badge svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--brown-950); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

/* The rose window leans a little toward the pointer */
.rose-wrap {
  transform: translate(-50%, -50%) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-stage { perspective: 1100px; }

/* Hairline dividers between the statistics */
.stats-bar .stat-item + .stat-item::before {
  content: ''; position: absolute; left: -1rem; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 54px;
  background: linear-gradient(180deg, transparent, rgba(196, 154, 0, 0.45), transparent);
}

/* Oversized illuminated quote mark on scripture blocks */
.scripture-block { position: relative; overflow: hidden; }
.scripture-block::before {
  content: '\201C'; position: absolute; top: -1.6rem; right: 0.6rem;
  font-family: 'Cormorant Garamond', serif; font-size: 9rem; line-height: 1;
  color: var(--gold-400); opacity: 0.18; pointer-events: none;
}

/* Gold sweep across buttons */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.55s ease;
}
.btn:hover::after { left: 130%; }

/* Timeline years lift and brighten */
.t-year { transition: border-color 0.3s ease, transform 0.3s ease, color 0.3s ease; }
.t-year:hover { border-left-color: var(--gold-300); transform: translateX(6px); color: var(--gold-300); }

/* Whole page eases in rather than snapping */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.5s ease-out both; }

/* --- 10. Responsive --------------------------------------------------- */

/* Drop the wordmark first — the crest alone still identifies the church and
   it buys the nav ~150px before anything has to collapse. */
@media (max-width: 1200px) {
  .logo-text { display: none; }
  .nav-links { gap: 1.15rem; }
}
/* Eight nav items plus a CTA stop fitting below this */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .logo-text { display: block; }
}
@media (max-width: 900px) {
  .nav-logo-img { height: 54px; }
  .site-header.scrolled .nav-logo-img { height: 42px; }
  .rose-wrap { width: min(92vw, 440px); }
  .hero { padding-top: 130px; }
  .stats-bar .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 600px) {
  .news-ticker { font-size: 0.85rem; }
  .ticker-label { font-size: 0.62rem; }
  .hero-actions { gap: 1rem; }
  .hero-actions .btn { width: 100%; }
  .dropcap::first-letter { font-size: 3.2rem; }
  .logo-text .en { font-size: 0.9rem; }
  .scripture-block::before { font-size: 6rem; }
}

/* =====================================================================
   PAGE HERO — Animated diagonal texture overlay
   ===================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 18px,
    rgba(212,170,32,0.03) 18px,
    rgba(212,170,32,0.03) 19px
  );
  pointer-events: none; z-index: 0;
  animation: heroTextureDrift 60s linear infinite;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
  z-index: 1;
}
.page-hero > * { position: relative; z-index: 2; }
@keyframes heroTextureDrift {
  from { background-position: 0 0; }
  to   { background-position: 100px 100px; }
}

/* =====================================================================
   BLOG CARDS
   ===================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(122,66,32,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.14);
}

/* Gold sheen sweep on hover */
.blog-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(236,207,128,0.13) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.blog-card:hover::after { transform: translateX(120%); }

.blog-card-img {
  width: 100%; height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; flex-shrink: 0; }

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.blog-chip {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

.blog-date {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.blog-read-time {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-left: auto;
}

.blog-card-title {
  font-size: 1.45rem;
  color: var(--brown-900);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-title { color: var(--gold-600); }

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(122,66,32,0.1);
  padding-top: 1rem;
  margin-top: auto;
}
.blog-card-author {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--brown-700);
}
.blog-card-link {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--gold-600);
  letter-spacing: 0.04em;
  transition: color 0.3s, gap 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card-link:hover { color: var(--gold-400); gap: 0.7rem; }

/* =====================================================================
   GALLERY — Filter + Masonry-style grid + Lightbox
   ===================================================================== */

.gallery-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(122,66,32,0.25);
  border-radius: 30px;
  background: transparent;
  color: var(--brown-700);
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--brown-950);
  border-color: var(--brown-950);
  color: var(--gold-400);
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 1.25rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 3px solid var(--white);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
  vertical-align: bottom;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,14,8,0.82) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--gold-200);
  letter-spacing: 0.06em;
}
.gallery-item-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  width: 48px; height: 48px;
  background: rgba(212,170,32,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.gallery-item-zoom svg {
  width: 22px; height: 22px;
  stroke: var(--brown-950); stroke-width: 2.2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(16,8,4,0.96);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.lightbox-overlay.open {
  opacity: 1; visibility: visible; pointer-events: all;
  transition-delay: 0s;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 76vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 2px solid rgba(212,170,32,0.3);
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--gold-200);
  letter-spacing: 0.08em;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -3rem; right: 0;
  width: 40px; height: 40px;
  background: rgba(212,170,32,0.15);
  border: 1px solid rgba(212,170,32,0.4);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(212,170,32,0.3); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(212,170,32,0.15);
  border: 1px solid rgba(212,170,32,0.4);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(212,170,32,0.3); }
.lightbox-prev { right: calc(100% + 1rem); }
.lightbox-next { left: calc(100% + 1rem); }
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { top: auto; transform: none; bottom: -4rem; position: relative; }
  .lightbox-inner { gap: 0.5rem; }
  .gallery-grid { columns: 2 200px; }
}
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* Gallery item hidden state for filter */
.gallery-item.hidden {
  display: none;
}

/* =====================================================================
   FORM VALIDATION STATES
   ===================================================================== */

.form-control.is-invalid {
  border-color: #c0392b;
  background-color: #fff8f8;
}
.form-control.is-invalid:focus { border-color: #c0392b; }

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  background: rgba(196,154,0,0.1);
  border: 1px solid rgba(196,154,0,0.35);
  color: var(--brown-800);
}
.form-status.is-error {
  background: rgba(192,57,43,0.08);
  border-color: rgba(192,57,43,0.35);
  color: #922b21;
}

/* =====================================================================
   FOOTER SOCIAL ICONS
   ===================================================================== */

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(212,170,32,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  opacity: 1 !important;
  padding: 0; margin: 0;
}
.footer-social a:hover {
  background: rgba(212,170,32,0.18);
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-3px);
}
.footer-social svg {
  width: 16px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =====================================================================
   LEGAL PAGES (privacy, terms) — styled prose
   ===================================================================== */

.legal-page-hero {
  padding: 10rem 5% 4rem;
  background: var(--brown-950);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.legal-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 18px,
    rgba(212,170,32,0.04) 18px,
    rgba(212,170,32,0.04) 19px
  );
  pointer-events: none;
}
.legal-page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
}
.legal-page-hero > * { position: relative; z-index: 2; }
.legal-page-hero h1 { color: var(--gold-400); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 0.5rem; }
.legal-page-hero .eyebrow { color: var(--gold-200); }

.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.07);
  padding: 3.5rem 4rem;
  border: 1px solid rgba(122,66,32,0.08);
}
@media (max-width: 600px) {
  .legal-prose { padding: 2rem 1.5rem; }
}

.legal-date {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(122,66,32,0.12);
}

.legal-section {
  margin-bottom: 2.5rem;
}
.legal-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--brown-800);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  margin-top: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold-400);
}
.legal-section p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}
.legal-section ul {
  font-family: 'Crimson Pro', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0.5rem 0 0 1.5rem;
  padding: 0;
}
.legal-section li { margin-bottom: 0.4rem; }

.legal-contact-box {
  background: var(--parchment);
  border: 1px solid rgba(122,66,32,0.15);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
}
.legal-contact-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--brown-800);
  margin: 0 0 0.75rem;
}
.legal-contact-box p {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.7;
}
.legal-contact-box a { color: var(--gold-600); }

/* =====================================================================
   MAP EMBED
   ===================================================================== */

.map-embed {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  border: 1px solid rgba(212,170,32,0.25);
  margin-top: 2rem;
  overflow: hidden;
  display: block;
}
.map-embed iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

