/* ==========================================================
   CSI Moolachel — Hacker Memorial Church
   ========================================================== */
:root {
    --maroon: #7a1f2b;
    --maroon-dark: #5a1520;
    --maroon-deep: #2b0b10;
    --gold: #c9a14a;
    --gold-light: #e6cf94;
    --ivory: #faf7f2;
    --sand: #f2ece2;
    --ink: #1f1a17;
    --muted: #6b625b;
    --line: #e5ddd1;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(43, 11, 16, .08);
    --shadow-lg: 0 20px 50px rgba(43, 11, 16, .15);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", "Noto Sans Tamil", system-ui, -apple-system, Segoe UI, sans-serif;
    --tamil: "Noto Sans Tamil", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1em; }
.ta { font-family: var(--tamil); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--maroon-deep); color: #eadfd2; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin: 0 auto; }
.divider { width: 64px; height: 2px; background: var(--gold); margin: 18px auto 22px; position: relative; }
.divider::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 10px; height: 10px; background: var(--ivory); border: 2px solid var(--gold);
    transform: translate(-50%, -50%) rotate(45deg);
}
.section-alt .divider::after { background: var(--sand); }
.section-dark .divider::after { background: var(--maroon-deep); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: 14px 28px; border-radius: 999px;
    font-family: var(--sans); font-weight: 600; font-size: .95rem;
    border: 2px solid transparent; cursor: pointer;
    transition: all .25s ease;
}
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--maroon-deep); transform: translateY(-2px); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--maroon-deep); }
.btn-outline-dark { border-color: var(--maroon); color: var(--maroon); }
.btn-outline-dark:hover { background: var(--maroon); color: var(--white); }

/* Topbar */
.topbar { background: var(--maroon-deep); color: #d9c9b6; font-size: .82rem; }
.topbar-inner { display: flex; gap: 28px; align-items: center; padding: 9px 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #d9c9b6; }
.topbar a:hover, .topbar a.topbar-verse { color: var(--gold-light); }
.topbar-verse { margin-left: auto; font-style: italic; color: var(--gold-light); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 247, 242, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--maroon); color: var(--gold-light);
    box-shadow: inset 0 0 0 3px var(--maroon), inset 0 0 0 4px var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--maroon); }
.brand-text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: #bfae9c; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
    position: relative; padding: 8px 14px;
    font-size: .93rem; font-weight: 500; color: var(--ink);
}
.main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--maroon); }
.nav-cta { margin-left: 12px; }

/* Activities dropdown */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > a:not(.btn) { padding-right: 4px; }
.drop-toggle { background: none; border: 0; padding: 8px 10px 8px 2px; cursor: pointer; color: var(--ink); }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.drop-menu {
    position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px;
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover .caret, .nav-drop.open .caret { transform: translateY(1px) rotate(-135deg); }
.main-nav .drop-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: 8px; font-size: .92rem; color: var(--ink);
}
.main-nav .drop-menu a::after { display: none; }
.main-nav .drop-menu a svg { color: var(--gold); flex: none; }
.main-nav .drop-menu a:hover, .main-nav .drop-menu a.current { background: var(--sand); color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; color: var(--maroon); cursor: pointer; padding: 6px; }

/* Hero */
.hero {
    position: relative; min-height: min(88vh, 820px);
    display: flex; align-items: center;
    color: var(--white);
    background: url("../img/church.jpg") center 30% / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(43,11,16,.92) 0%, rgba(90,21,32,.75) 45%, rgba(43,11,16,.25) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: 1.15rem; color: #eadfd2; }
.hero .ta { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 1.4rem;
    border: 1px solid rgba(230, 207, 148, .45);
    background: rgba(255,255,255,.06);
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light);
}

/* Service strip */
.service-strip { position: relative; z-index: 2; margin-top: -70px; }
.service-card {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1.1fr repeat(4, 1fr);
    overflow: hidden;
}
.service-card .sc-title {
    background: var(--maroon); color: var(--white);
    padding: 28px; display: flex; flex-direction: column; justify-content: center;
}
.service-card .sc-title h3 { color: var(--white); margin: 0; font-size: 1.7rem; }
.service-card .sc-title span { color: var(--gold-light); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.service-item { padding: 26px 22px; border-left: 1px solid var(--line); }
.service-item small { display: block; color: var(--gold); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.service-item strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--maroon); line-height: 1.2; }
.service-item span { color: var(--muted); font-size: .92rem; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.split-img::before {
    content: ""; position: absolute; inset: 24px -24px -24px 24px;
    border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.stat-badge {
    position: absolute; left: -28px; bottom: 32px;
    background: var(--maroon); color: var(--white);
    padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.stat-badge strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-light); }
.stat-badge span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.stats div { border-left: 2px solid var(--gold); padding-left: 16px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--maroon); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }

/* Vision / Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card {
    padding: 44px; border-radius: var(--radius);
    background: rgba(255,255,255,.04); border: 1px solid rgba(230,207,148,.2);
}
.vm-card .icon-wrap { color: var(--gold); margin-bottom: 18px; }
.vm-card p { color: #d9c9b6; }
.vm-card .ta { color: var(--gold-light); font-size: 1.05rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
    background: var(--white); border-radius: var(--radius);
    padding: 34px; box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
    width: 58px; height: 58px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--gold-light); margin-bottom: 20px;
}
.card h3 { margin-bottom: .2em; }
.card .ta { color: var(--gold); font-size: .9rem; margin-bottom: .7em; }
.card p { color: var(--muted); margin: 0; }

/* Pastors */
.pastor {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.pastor:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pastor-img { aspect-ratio: 4/4.6; overflow: hidden; background: var(--sand); }
.pastor-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform .6s; }
.pastor:hover .pastor-img img { transform: scale(1.05); }
.pastor-body { padding: 24px 20px 28px; }
.pastor-body .role { color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pastor-body h3 { margin: .3em 0 .1em; font-size: 1.45rem; }
.pastor-body .qual { color: var(--muted); font-size: .88rem; margin-bottom: .8em; }
.pastor-body a { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; font-weight: 500; }

/* Committee */
.committee { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
    display: flex; align-items: center; gap: 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 16px;
}
.member .avatar {
    flex: none; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sand); color: var(--maroon);
    font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
}
.member.office .avatar { background: var(--maroon); color: var(--gold-light); }
.member strong { display: block; font-size: .92rem; line-height: 1.3; }
.member span { font-size: .78rem; color: var(--muted); }

/* Events */
.event {
    display: flex; gap: 22px; align-items: flex-start;
    background: var(--white); border-radius: var(--radius);
    padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.event-date {
    flex: none; width: 76px; text-align: center;
    border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
}
.event-date .m { display: block; background: var(--maroon); color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 0; }
.event-date .d { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--maroon); line-height: 1.2; padding: 4px 0 0; }
.event-date .y { display: block; font-size: .75rem; color: var(--muted); padding-bottom: 6px; }
.event h3 { font-size: 1.35rem; margin-bottom: .25em; }
.event-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin-bottom: .6em; }
.event-meta span { display: inline-flex; gap: 5px; align-items: center; }
.event p { color: var(--muted); margin: 0; font-size: .95rem; }
.event-list { display: grid; gap: 20px; }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.event-img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; margin-left: auto; }
.past .event { opacity: .8; }

.empty {
    text-align: center; padding: 48px 20px; color: var(--muted);
    background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* Timeline */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 48px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
    content: ""; position: absolute; top: 6px; width: 16px; height: 16px;
    background: var(--ivory); border: 3px solid var(--gold); border-radius: 50%;
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-year { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--maroon); line-height: 1; }
.tl-item h3 { font-size: 1.25rem; margin: .35em 0 .3em; }
.tl-item p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Quote */
.quote-band {
    position: relative; text-align: center; color: var(--white);
    background: linear-gradient(rgba(43,11,16,.85), rgba(43,11,16,.85)), url("../img/church.jpg") center / cover fixed;
    padding: 110px 0;
}
.quote-band blockquote { margin: 0 auto; max-width: 820px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; line-height: 1.35; }
.quote-band blockquote.votd { font-family: var(--tamil); font-style: normal; font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.8; }
.quote-band .eyebrow { margin-bottom: 1.4rem; }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; color: var(--gold-light); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid a::after {
    content: attr(data-caption); position: absolute; inset: auto 0 0 0;
    padding: 30px 14px 12px; color: var(--white); font-size: .88rem;
    background: linear-gradient(transparent, rgba(43,11,16,.85));
    opacity: 0; transition: opacity .3s;
}
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { opacity: 1; }

.lightbox {
    position: fixed; inset: 0; z-index: 100; display: none;
    align-items: center; justify-content: center; padding: 30px;
    background: rgba(15, 5, 7, .94);
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; border-radius: 8px; }
.lightbox p { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #eee; }
.lightbox button { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: #fff; cursor: pointer; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.info-list { display: grid; gap: 18px; margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic {
    flex: none; width: 48px; height: 48px; border-radius: 12px;
    display: grid; place-items: center; background: var(--maroon); color: var(--gold-light);
}
.info-item small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.info-item strong, .info-item a { font-weight: 500; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px;
    font: inherit; font-size: .95rem; color: var(--ink);
    background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,161,74,.15); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.alert-success { background: #e8f4ea; color: #1e5b2b; border: 1px solid #bfdfc5; }
.alert-error { background: #fbeaea; color: #8a1f1f; border: 1px solid #f0c4c4; }

/* Page hero */
.page-hero {
    position: relative; padding: 110px 0 90px; text-align: center; color: var(--white);
    background: linear-gradient(rgba(43,11,16,.86), rgba(90,21,32,.86)), url("../img/church.jpg") center 35% / cover;
}
.page-hero h1 { color: var(--white); margin-bottom: .2em; }
.page-hero .lead { color: #e6d9cb; margin: 0 auto; }

/* CTA */
.cta { background: var(--maroon); color: var(--white); border-radius: 20px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(230,207,148,.08); }
.cta h2 { color: var(--white); margin: 0 0 .2em; }
.cta p { color: #ead9c7; margin: 0; }

/* Activity detail */
.activity-layout { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.activity-main { min-width: 0; }
.eyebrow .ta, .topbar-verse .ta { letter-spacing: 0; text-transform: none; font-style: normal; }
.activity-head > div { min-width: 0; }
.activity-head { display: flex; gap: 20px; align-items: center; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.activity-head .card-icon { margin: 0; width: 68px; height: 68px; flex: none; }
.activity-head h2 { margin: 0; }
.activity-head .ta { margin: 0; color: var(--gold); font-size: 1.05rem; }
.sub-title { font-size: 1.8rem; margin-bottom: 22px; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.leader {
    display: flex; align-items: center; gap: 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
    box-shadow: var(--shadow);
}
.leader .avatar {
    flex: none; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--maroon); color: var(--gold-light);
    font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
}
.leader small { display: block; color: var(--gold); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.leader strong { display: block; font-size: 1rem; line-height: 1.35; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th { background: var(--maroon); color: var(--white); text-align: left; padding: 12px 16px; font-weight: 600; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.data-table tr:nth-child(even) td { background: var(--ivory); }
.activity-side { display: grid; gap: 24px; position: sticky; top: 110px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h4 { font-size: 1.4rem; margin-bottom: 14px; }
.side-links { display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .93rem; }
.side-links a svg { color: var(--gold); flex: none; }
.side-links a:hover { background: var(--sand); color: var(--maroon); }
.side-links a.current { background: var(--maroon); color: var(--white); }
.side-links a.current svg { color: var(--gold-light); }
.side-cta { background: var(--maroon); border-color: var(--maroon); color: #ead9c7; }
.side-cta h4 { color: var(--white); }
.card-link { color: inherit; display: block; }
.card-link:hover { color: inherit; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--maroon); }

/* Footer */
.site-footer { background: var(--maroon-deep); color: #bfae9c; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.4fr; gap: 40px; padding: 72px 20px 48px; }
.site-footer h4 { color: var(--white); font-family: var(--serif); font-size: 1.35rem; margin-bottom: 1rem; }
.footer-about { margin-top: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a, .footer-contact a { color: #bfae9c; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 20px; font-size: .83rem; }
.footer-bottom a { color: #8f7f70; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .service-card { grid-template-columns: repeat(2, 1fr); }
    .service-card .sc-title { grid-column: 1 / -1; }
    .grid-4, .committee, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .topbar-verse { display: none; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: 80px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ivory); border-bottom: 1px solid var(--line);
        padding: 10px 20px 24px; box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: -1;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .main-nav a:not(.btn)::after { display: none; }
    .nav-cta { margin: 16px 0 0; justify-content: center; }
    .main-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-drop { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-drop > a:not(.btn) { flex: 1; border-bottom: 0; }
    .drop-toggle { padding: 14px 8px; }
    .drop-menu {
        position: static; flex-basis: 100%; min-width: 0; display: none;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 8px; background: transparent;
    }
    .drop-menu::before { display: none; }
    .nav-drop.open .drop-menu { display: block; }
    .nav-drop:hover .caret { transform: translateY(-2px) rotate(45deg); }
    .nav-drop.open .caret { transform: translateY(1px) rotate(-135deg); }
    .main-nav .drop-menu a { padding: 10px 12px; border-bottom: 0; }
    .split, .contact-grid, .vm-grid, .activity-layout { grid-template-columns: 1fr; gap: 48px; }
    .activity-side { position: static; }
    .grid-3, .events-grid { grid-template-columns: 1fr 1fr; }
    .stat-badge { left: 16px; }
    .split-img::before { inset: 16px -12px -16px 12px; }
    .timeline::before { left: 8px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 40px 40px; }
    .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}
@media (max-width: 620px) {
    .section { padding: 68px 0; }
    .container { padding: 0 16px; }
    .topbar-inner { gap: 14px; padding: 8px 16px; font-size: .76rem; flex-wrap: wrap; }
    .brand-text strong { font-size: 1.3rem; }
    .brand-text small { font-size: .62rem; }
    .hero { min-height: 80vh; }
    .service-card, .grid-3, .grid-4, .events-grid, .committee, .form-row, .footer-grid, .leaders { grid-template-columns: 1fr; }
    .service-item { border-left: 0; border-top: 1px solid var(--line); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
    .stats strong { font-size: 1.7rem; }
    .vm-card, .form-card, .cta { padding: 28px 22px; }
    .event { flex-wrap: wrap; }
    .event-img { width: 100%; height: 160px; margin: 0; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
    .quote-band { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}
@media (max-width: 620px) {
    .service-card { grid-template-columns: 1fr 1fr; }
    .service-card .sc-title { grid-column: 1 / -1; padding: 18px 22px; }
    .service-item { padding: 16px 18px; border-top: 1px solid var(--line); }
    .service-item:nth-child(odd) { border-left: 1px solid var(--line); }
    .service-item strong { font-size: 1.5rem; }
}
/* Original diocese logo */
.brand-logo { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 50%; background: #fff; }
.site-footer .brand-logo { width: 60px; height: 60px; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
@media (max-width: 620px) { .brand-logo { width: 46px; height: 46px; } }
/* Hero: text on the left, buttons at the right end, vertically centred */
.hero { padding: 60px 0 130px; }
.hero > .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero .hero-actions { flex-direction: column; flex: none; gap: 14px; margin: 0; }
.hero .hero-actions .btn { min-width: 220px; justify-content: center; }
.hero .hero-actions .btn-outline { backdrop-filter: blur(4px); background: rgba(255,255,255,.08); }
@media (max-width: 900px) {
    .hero > .container { flex-direction: column; align-items: flex-start; gap: 0; }
    .hero .hero-actions { flex-direction: row; flex-wrap: wrap; margin-top: 1.6rem; }
    .hero .hero-actions .btn { min-width: 0; }
}
@media (max-width: 620px) { .hero { padding: 40px 0 110px; } }
/* School page */
.school-intro { display: flex; align-items: center; gap: 32px; max-width: 820px; margin: 0 auto; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.school-seal { width: 110px; height: 110px; flex: none; }
.school-motto { font-style: italic; color: var(--maroon); margin-bottom: .2em; }
.school-intro .lead { margin: 0; }
.mgmt-card { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.mgmt-card .avatar { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--gold-light); font-family: var(--serif); font-weight: 700; font-size: 1.9rem; }
.mgmt-card small { color: var(--gold); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.mgmt-card h3 { margin: .35em 0 .15em; font-size: 1.45rem; }
.mgmt-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.highlights { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.highlights .card { grid-column: span 2; }
.highlights .card:nth-child(4) { grid-column: 2 / span 2; }
.facilities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.facility { text-align: center; padding: 30px 14px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(230,207,148,.2); transition: background .3s, transform .3s; }
.facility:hover { background: rgba(230,207,148,.08); transform: translateY(-4px); }
.facility span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid rgba(230,207,148,.4); color: var(--gold-light); }
.facility strong { color: #fff; font-weight: 500; font-size: .95rem; }
.school-gallery { grid-template-columns: repeat(3, 1fr); }
.school-gallery a { aspect-ratio: 3 / 4; }
@media (max-width: 1080px) { .facilities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .highlights { grid-template-columns: 1fr 1fr; }
    .highlights .card, .highlights .card:nth-child(4) { grid-column: auto; }
}
@media (max-width: 620px) {
    .school-intro { flex-direction: column; text-align: center; padding: 28px 22px; border-left: 0; border-top: 4px solid var(--gold); }
    .highlights, .school-gallery { grid-template-columns: 1fr; }
    .facilities { grid-template-columns: 1fr 1fr; }
}
/* Keep the menu on one line at mid widths */
.main-nav a, .brand-text strong, .brand-text small { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) {
    .main-nav a:not(.btn) { padding: 8px 9px; font-size: .88rem; }
    .main-nav a:not(.btn)::after { left: 9px; right: 9px; }
    .drop-toggle { padding: 8px 6px 8px 0; }
    .nav-cta { margin-left: 6px; padding: 9px 14px; font-size: .82rem; }
    .brand { gap: 10px; }
    .brand-logo { width: 48px; height: 48px; }
    .brand-text strong { font-size: 1.35rem; }
    .brand-text small { font-size: .62rem; letter-spacing: .1em; }
}
@media (min-width: 901px) and (max-width: 1020px) {
    .nav-cta { display: none; }
}
/* ---------- Search ---------- */
.header-inner { position: relative; }
.search-toggle {
    flex: none; width: 42px; height: 42px; margin-left: 10px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer;
    background: transparent; border: 1px solid var(--line); color: var(--maroon);
    transition: background .2s, color .2s, border-color .2s;
}
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.search-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.search-panel.open { opacity: 1; visibility: visible; transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.search-form svg { color: var(--gold); flex: none; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 10px 4px; color: var(--ink); outline: none; }

.search-big { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 28px; padding: 8px 8px 8px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.search-big:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,161,74,.15); }
.search-big svg { color: var(--gold); flex: none; }
.search-big input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 10px 0; outline: none; color: var(--ink); }
.search-hint { text-align: center; color: var(--muted); }
.search-hint p { margin-bottom: 10px; }
.chip { display: inline-block; margin: 4px; padding: 7px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.chip:hover { border-color: var(--gold); color: var(--maroon); }
.search-summary { text-align: center; color: var(--muted); }
.search-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; }
.search-tabs a { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.search-tabs a span { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: .75rem; }
.search-tabs a:hover { border-color: var(--gold); }
.result-group { max-width: 860px; margin: 0 auto 48px; scroll-margin-top: 110px; }
.result-group > h2 { font-size: 1.9rem; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.result { display: block; padding: 18px 22px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.result:hover { color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow); }
.result-type { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.result h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; color: var(--maroon); margin: 2px 0 4px; }
.result p { margin: 0; color: var(--muted); font-size: .93rem; }
mark { background: #f6e7bd; color: inherit; padding: 0 2px; border-radius: 3px; }
.muted-note { color: var(--muted); font-size: .9rem; }
.verse-results { display: grid; gap: 10px; }
.verse-result { padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; }
.verse-result strong { color: var(--maroon); font-size: .92rem; }
.verse-result p { margin: 4px 0 0; line-height: 1.8; }
@media (max-width: 900px) {
    .search-toggle { order: 2; margin-left: auto; margin-right: 6px; }
    .nav-toggle { order: 3; }
}
@media (max-width: 620px) {
    .search-big { border-radius: 16px; flex-wrap: wrap; padding: 10px 14px; }
    .search-big .btn { width: 100%; justify-content: center; }
}
.search-panel .btn { transition: background .2s, transform .2s; }
/* Footer worship times: name left, time right */
.footer-worship { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer-worship li { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.footer-worship li:first-child { padding-top: 0; }
.footer-worship small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); line-height: 1.4; }
.footer-worship span { line-height: 1.4; }
.footer-worship time { flex: none; white-space: nowrap; color: var(--gold-light); font-weight: 500; }
/* Committee page */
.drop-menu.drop-sm { min-width: 230px; }
.clergy-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.clergy { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.clergy img { width: 96px; height: 116px; object-fit: cover; object-position: center 12%; border-radius: 10px; flex: none; }
.clergy small { color: var(--gold); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.clergy h3 { font-size: 1.25rem; margin: .2em 0 .1em; }
.clergy p { color: var(--muted); font-size: .85rem; margin: 0 0 .4em; }
.clergy a { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; font-weight: 500; }
.bearers-table td { vertical-align: top; padding: 16px 18px; }
.bearers-table td:first-child { width: 34%; }
.bearer-activity { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--maroon); }
.bearer-activity svg { color: var(--gold); }
.bearers-table .ta { display: block; margin: 2px 0 0 28px; font-size: .85rem; color: var(--muted); }
.bearer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.bearer-list li { font-size: .93rem; }
.bearer-list span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 1080px) { .clergy-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
    .clergy-row, .bearer-list { grid-template-columns: 1fr; }
    .bearers-table thead { display: none; }
    .bearers-table tr, .bearers-table td { display: block; width: auto !important; }
    .bearers-table td:first-child { padding-bottom: 4px; border-top: 1px solid var(--line); }
    .bearers-table td + td { border-top: 0; padding-top: 4px; }
}
/* Committee terms */
.term-dates { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .92rem; }
.term-dates svg { color: var(--gold); }
.archive-note { background: #fbf3df; border-bottom: 1px solid #efdcae; color: #6d5413; font-size: .93rem; }
.archive-note .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.archive-note a { margin-left: auto; font-weight: 600; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.term-card { display: block; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.term-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.term-card strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--maroon); margin: 8px 0 2px; }
.term-card span { display: block; font-size: .85rem; color: var(--muted); }
.term-card small { display: block; margin-top: 8px; font-size: .78rem; color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.term-badge { display: inline-block !important; padding: 2px 12px; border-radius: 999px; font-size: .7rem !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.term-current { background: #e8f4ea; color: #1e5b2b !important; }
.term-past { background: var(--sand); color: var(--muted) !important; }
.term-upcoming { background: #fbf3df; color: #8a6514 !important; }
/* Leadership page: filter on the left, content on the right */
.leadership-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.leadership-main { min-width: 0; }
.filter-side { position: sticky; top: 110px; }
.filter-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.filter-card h4 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; margin: 0 6px 14px; }
.filter-card h4 svg { color: var(--gold); }
.filter-list { display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.filter-list a small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.filter-list a:hover { background: var(--sand); color: var(--maroon); }
.filter-list a.active { background: var(--maroon); color: #fff; }
.filter-list a.active small { color: var(--gold-light); }
.filter-label { margin: 14px 12px 4px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.block-head { margin-bottom: 22px; }
.block-head h2 { font-size: 2rem; margin-bottom: .2em; }
.block-head .eyebrow { margin-bottom: .4rem; }
.clergy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.clergy .period { display: flex; align-items: center; gap: 5px; color: var(--maroon); font-weight: 500; }
.clergy .period svg { color: var(--gold); }
.officer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.officer-grid .mgmt-card { padding: 26px 16px; }
.officer-grid .mgmt-card .avatar { width: 58px; height: 58px; font-size: 1.5rem; }
.officer-grid .mgmt-card h3 { font-size: 1.2rem; }
.committee-3 { grid-template-columns: repeat(3, 1fr); }
.archive-note-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; padding: 14px 18px; border-radius: 12px; background: #fbf3df; border: 1px solid #efdcae; color: #6d5413; font-size: .93rem; }
.archive-note-box a { margin-left: auto; font-weight: 600; }
@media (max-width: 1080px) {
    .clergy-grid { grid-template-columns: 1fr; }
    .committee-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .leadership-layout { grid-template-columns: 1fr; gap: 28px; }
    .filter-side { position: static; }
    .filter-card { padding: 14px; }
    .filter-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
    /* period filter becomes a row of chips */
    .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
    .filter-list a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
    .filter-list a small { display: none; }
    .filter-label { display: none; }
}
@media (max-width: 620px) {
    .officer-grid, .committee-3 { grid-template-columns: 1fr; }
}
/* ---------- Live stream ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.topbar-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-live.on { color: #fff !important; background: #d32f2f; padding: 2px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .06em; }
.topbar-live.on .live-dot, .live-pill .live-dot, .live-status.is-live .live-dot { animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.live-bar { display: block; background: #b71c1c; color: #fff; }
.live-bar:hover { background: #a31515; color: #fff; }
.live-bar-inner { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; font-size: .95rem; }
.live-bar-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-bar-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px; border-radius: 999px; background: #fff; color: #d32f2f; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.live-page .live-pill { background: #d32f2f; color: #fff; }
.live-page .live-pill.off { background: var(--sand); color: var(--muted); letter-spacing: .06em; }
.live-head { text-align: center; margin-bottom: 26px; }
.live-head h2 { margin: 12px 0 6px; }
.live-head .muted-note { display: inline-flex; align-items: center; gap: 6px; }
.video-frame { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-times { max-width: 960px; margin: 48px auto 0; text-align: center; }
.live-times h3 { margin-bottom: 18px; }
.live-times-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.live-times-grid div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.live-times-grid small { display: block; color: var(--gold); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.live-times-grid strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--maroon); }
.live-times-grid span { font-size: .88rem; color: var(--muted); }
@media (max-width: 620px) {
    .live-bar-inner { font-size: .85rem; gap: 10px; }
    .live-bar-cta { display: none; }
}
/* Home banner while live: the stream plays in the banner */
.hero-live { min-height: 0; padding: 56px 0 140px; background: radial-gradient(ellipse at 70% 30%, #5a1520 0%, #2b0b10 70%); }
.hero-live::before { display: none; }
.hero-live > .container.hero-live-grid { display: grid; grid-template-columns: 1fr 1.75fr; gap: 48px; align-items: center; }
.hero-live-text h1 { color: #fff; font-size: clamp(2.2rem, 3.6vw, 3.3rem); margin: 18px 0 .3em; }
.hero-live-text p { color: #e6d9cb; }
.hero-live-text .ta { color: var(--gold-light); margin-bottom: .8rem; }
.hero-live .live-pill { background: #d32f2f; color: #fff; font-size: .8rem; padding: 5px 14px; }
.sound-hint { font-size: .88rem; color: #cbb9a6 !important; padding: 10px 14px; border: 1px dashed rgba(230,207,148,.3); border-radius: 10px; display: inline-block; }
.hero-live-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero-live-video .video-frame { max-width: none; box-shadow: 0 30px 70px rgba(0,0,0,.5); outline: 3px solid rgba(211,47,47,.7); outline-offset: 4px; }
@media (max-width: 900px) {
    .hero-live > .container.hero-live-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-live-video { order: -1; }
    .hero-live { padding: 28px 0 120px; }
}
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(230,207,148,.3); color: var(--gold-light); }
.footer-social a:hover { background: var(--gold); color: var(--maroon-deep); border-color: var(--gold); }
