:root {
    --navy:        #1B2A4A;
    --navy-mid:    #2C3E6B;
    --navy-pale:   #EEF1F8;

    --gold:        #8b6914;
    --gold-light:  #C9A84C;
    --gold-pale:   #F7F0DF;
    --gold-soft:   #EFE1BE;
    --gold-glow:   rgba(201, 168, 76, 0.12);

    --bg-main:     #FFFFFF;
    --bg-stone:    #F5F3EF;
    --bg-stone-mid:#E8E4DC;

    --ink:         #1A1814;
    --ink-mid:     #3D3A35;
    --ink-soft:    #6B6660;

    --white:       #FFFFFF;
    --glass:       rgba(255, 255, 255, 0.08);
    --glass-dark:  rgba(27, 42, 74, 0.05);

    --font-serif:  'EB Garamond', Georgia, serif;
    --font-sans:   'Inter', system-ui, sans-serif;

    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;

    --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-lift: 0 8px 24px rgba(27, 42, 74, 0.08);
    --shadow-nav:  0 2px 16px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-stone);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a { 
    color: inherit;
    text-decoration: none;
}

.nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-nav);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.nav-title {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1;
}

.nav-title-top {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 550;
    color: var(--white);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-title-sub {
    font-size: 10px;
    color: var(--gold-light);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 8px 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    transition: color 0.18s;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    right: 50%;
    height: 1.5px;
    background: var(--gold-light);
    transition: left 0.22s ease, right 0.22s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: #fff;
    background: var(--glass);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    left: 13px;
    right: 13px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-pill {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-pill .lang-label {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    white-space: nowrap;
    user-select: none;
}

.lang-pill .lang-label:hover {
    color: var(--white);
}

.lang-pill .lang-radio:checked+.lang-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.nav-donate {
    background: var(--gold);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.nav-donate:hover {
    background: #7A5B10;
}

.nav-donate::after {
    display: none;
}

.nav-hamburger {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
    background: var(--navy-mid);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: var(--shadow-nav);
}

.mobile-menu.open {
    max-height: 480px;
}

.mobile-menu-inner {
    padding: 8px 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-menu-inner a {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.12s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
}

.mobile-lang-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.mobile-lang-toggle .mobile-lang-btn {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    user-select: none;
}

.mobile-lang-toggle .mobile-lang-btn:hover {
    color: var(--white);
}

.mobile-lang-toggle .lang-radio:checked+.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-hamburger { display: none; }
    .mobile-menu { display: none; }
}

.hero {
    background: var(--navy);
    padding: 52px 20px 40px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    inset: 0;
    position: absolute;
    text-decoration: none;
    background: radial-gradient(ellipse at 50% -10%, rgba(139, 105, 20, 0.40) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light));
}

.hero-label-line:last-child {
    background: linear-gradient(90deg, var(--gold-light), transparent);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.hero-title-small {
    display: block;
    font-size: clamp(14px, 2vw, 18px);
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 36px;
    font-weight: 300;
}

.ministry-stack {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ministry-block {
    background: var(--bg-main);
    border: 1px solid var(--bg-stone-mid);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
}

.ministry-block:hover {
    border-color: rgba(27, 42, 74, 0.15);
    box-shadow: 0 4px 20px rgba(27, 42, 74, 0.06);
}

.ministry-block.is-open {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.08);
}

.mb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 36px;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(245, 243, 239, 0.3) 100%);
    transition: background 0.2s;
}

.mb-header:hover {
    background: rgba(245, 243, 239, 0.5);
}

.mb-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.mb-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 500;
    color: var(--gold-light);
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s;
}
/* 
.mb-header:hover,
.ministry-block.is-open {
    color: var(--gold-glow);
    transform: scale(1.05);
} */

.mb-title-group { min-width: 0; }

.mb-category {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.mb-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 6px;
}

.mb-title em {
    font-style: italic;
    color: var(--gold);
}

.mb-tagline {
    display: block;
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 400;
    max-width: 560px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .mb-tagline {
        display: none;
    }
}

.mb-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.mb-count {
    font-size: 11px;
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--navy-pale);
    color: var(--navy-mid);
    padding: 3px 10px;
    border-radius: 100px;
}

.mb-arrow {
    width: 38px;
    height: 38px;
    /* border: 1.5px solid var(--bg-stone-mid); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: border-color 0.22s, background 0.22s, transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mb-arrow svg {
    width: 18px; height: 18px;
    stroke: var(--navy); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke 0.2s;
}

.mb-header:hover .mb-arrow {
    border-color: var(--navy);
    background: var(--navy-pale);
}

.ministry-block.is-open .mb-arrow {
    transform: rotate(180deg);
    border-color: var(--gold);
    background: var(--gold-pale);
}

.ministry-block.is-open .mb-arrow svg {
    stroke: var(--navy);
}

.mb-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border-top: 1px solid var(--bg-stone-mid);
}

.mb-body-inner {
    padding: 36px;
}

.mb-intro {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--bg-stone-mid);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mb-intro p {
    font-size: 14.5px;
    color: var(--ink-mid);
    line-height: 1.7;
}

.mb-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.15s;
    padding-bottom: 20px;
}

.mb-phone-link:hover { color: var(--gold); }

.mb-phone-link svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.mb-phone-link em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--gold-pale);
    color: var(--gold);
    padding: 1px 7px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.intro-action-btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 100px;
    background: var(--gold);
    color: var(--white);
    transition: background 0.15s;
}

.intro-action-btn:hover { background: #7A5B10; }

.intro-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.15s;
}

.intro-action-link svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.intro-action-link:hover { color: var(--gold); }

.roles-overview {
    margin-bottom: 28px;
}

.roles-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.role-pill {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--bg-stone);
    border: 1px solid var(--bg-stone-mid);
    border-radius: 100px;
    color: var(--navy);
}

.info-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-drop {
    background: var(--bg-stone);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-stone-mid);
    overflow: hidden;
}

.info-drop[open] {
    border-color: rgba(27, 42, 74, 0.2);
}

.info-drop-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}

.info-drop-head::-webkit-details-marker { display: none; }
.info-drop-head:hover { background: rgba(27, 42, 74, 0.04); }
.info-drop[open] .info-drop-head {
    border-bottom: 1px solid var(--bg-stone-mid);
    background: rgba(27, 42, 74, 0.02);
}

.info-drop-head > svg {
    width: 16px; height: 16px;
    stroke: var(--gold); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.drop-arrow {
    margin-left: auto;
    display: flex;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.drop-arrow svg {
    width: 16px; height: 16px;
    stroke: var(--navy); fill: none;
    stroke-width: 2; stroke-linecap: round;
}

.info-drop[open] .drop-arrow { transform: rotate(180deg); }
.info-drop[open] .drop-arrow svg { stroke: var(--gold); }

.info-drop-body {
    padding: 20px 24px;
    background: var(--white);
}

.sched-table {
    display: flex;
    flex-direction: column;
}

.sched-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-stone-mid);
    font-size: 13.5px;
}

.sched-row:last-child { border-bottom: none; }

.sched-row span:first-child { color: var(--ink-soft); font-weight: 500; }
.sched-row span:last-child  { font-family: var(--font-serif); font-size: 16px; color: var(--navy); font-weight: 500; }

.info-location {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.info-note {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 12px;
}

.info-note a { color: var(--gold); font-weight: 600; }
.info-note a:hover { color: var(--navy); }

.group-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.group-card {
    background: var(--bg-stone);
    border: 1px solid var(--bg-stone-mid);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.gc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.gc-time {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-bottom: 2px;
}

.gc-contact {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.group-card a {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
}

.group-card a:hover {
    color: var(--navy); 
}

.desc-list {
    display: flex;
    flex-direction: column;
}

.desc-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--bg-stone-mid);
}

.desc-item:last-child { border-bottom: none; }

.desc-item h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.desc-item p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 680px;
}

/* ─── Contact Cards Grid ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.c-card {
    background: var(--bg-stone);
    border: 1px solid var(--bg-stone-mid);
    border-radius: var(--radius-md);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.c-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.c-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04);
}

.c-card:hover::before {
    transform: scaleX(1); 
}

.c-role {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.3;
    margin-bottom: 2px;
}

.c-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 6px;
}

.c-email {
    font-size: 11.5px;
    color: var(--ink-soft);
    word-break: break-all;
    line-height: 1.4;
    transition: color 0.16s;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--bg-stone-mid);
    display: block;
}

.c-email:hover { color: var(--gold); }
.c-no-email { cursor: default; font-style: italic; }




/** footer and mobile stuff **/
/* stuff for mobile */
@media (max-width: 799px) {
    .masses-section {
        padding: 36px 20px 40px;
    }

    .masses-header {
        margin-bottom: 24px;
    }

    .church-col+.church-col {
        padding-top: 28px;
        border-top: 1px solid var(--stone-mid);
    }

    .masses-actions {
        margin-top: 28px;
    }
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    margin-top: 12px;
}

.mobile-lang-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.mobile-lang-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    overflow: hidden;
}

.mobile-lang-group .mobile-lang-btn {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    user-select: none;
    border-bottom: none !important;
}

.mobile-lang-group .lang-radio:checked+.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* mobile layout sizing  */
@media (max-width: 600px) {
    .nav-inner {
        padding: 0 16px;
        gap: 12px;
        height: 64px;
    }

    .nav-title-top {
        font-size: 14px;
        white-space: normal;
        max-width: 160px;
        line-height: 1.2;
    }

    .nav-title-sub {
        font-size: 8.5px;
    }

    .lang-pill {
        display: none;
    }

    .nav-donate {
        padding: 6px 14px;
        font-size: 12.5px;
    }
    
    .nav-hamburger {
        padding: 8px;
        border-color: rgba(255, 255, 255, 0.15);
    }
}

/* Mobile Navigation Drawer Upgrade */
@media (max-width: 899px) {
    .mobile-menu {
        display: block;
        max-height: none;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(27, 42, 74, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 150;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        overflow-y: auto;
        box-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-inner {
        padding: 24px 20px 48px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-menu-inner a {
        font-size: 18px;
        font-weight: 500;
        padding: 14px 18px;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-sm);
        transition: background 0.2s, padding-left 0.2s, color 0.2s;
    }

    .mobile-menu-inner a:last-of-type {
        border-bottom: none;
    }
}

@media (hover: hover) {
    .mobile-menu-inner a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        padding-left: 24px;
    }
}

.mobile-menu-inner a:active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Category Filter Styles */
.filter-section {
    background: var(--bg-main);
    border-bottom: 1px solid var(--bg-stone-mid);
    padding: 16px 20px;
    position: sticky;
    top: 64px;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.03);
}

.filter-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Category Filter Tabs */
.filter-wrapper {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-scroll {
    display: flex;
    gap: 8px;
    padding-bottom: 2px;
}

.filter-pill {
    background: var(--bg-stone);
    border: 1px solid var(--bg-stone-mid);
    color: var(--ink-mid);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}

@media (hover: hover) {
    .filter-pill:hover {
        background: var(--bg-stone-mid);
        color: var(--navy);
    }
}

.filter-pill.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

/* Mobile Spacing and Grid Polish overrides */
@media (max-width: 599px) {
    .hero {
        padding: 40px 16px 32px;
    }
    
    .hero h1 {
        font-size: 28px;
    }

    .ministry-stack {
        padding: 16px 12px 64px;
        gap: 12px;
    }

    .ministry-block {
        border-radius: var(--radius-md);
    }

    .mb-header {
        padding: 16px 14px;
        gap: 12px;
    }

    .mb-num {
        font-size: 32px;
    }

    .mb-title {
        font-size: 20px;
    }

    .mb-tagline {
        display: block; /* show tagline on mobile! */
        font-size: 12px;
        line-height: 1.4;
        margin-top: 4px;
        color: var(--ink-soft);
    }

    .mb-header-right {
        gap: 8px;
    }

    .mb-count {
        display: none; /* Hide 'Learn More' pill on small screens since arrow is enough and screen is narrow */
    }

    .mb-arrow {
        width: 32px;
        height: 32px;
    }

    .mb-arrow svg {
        width: 14px;
        height: 14px;
    }

    .mb-body-inner {
        padding: 16px 14px;
    }

    .mb-intro {
        padding-bottom: 20px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .mb-intro p {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .mb-phone-link {
        font-size: 14px;
        padding-bottom: 12px;
        display: flex;
        width: 100%;
        justify-content: flex-start;
    }

    .mb-phone-link:last-of-type {
        padding-bottom: 20px;
    }

    .info-drop-head {
        padding: 12px 14px;
        font-size: 13px;
        gap: 8px;
    }

    .info-drop-body {
        padding: 16px 14px;
    }

    .sched-row {
        padding: 8px 0;
        font-size: 12.5px;
    }

    .sched-row span:last-child {
        font-size: 14px;
    }

    .desc-item {
        padding: 12px 0;
    }

    .desc-item h4 {
        font-size: 16px;
    }

    .desc-item p {
        font-size: 12.5px;
    }

    /* Cards optimizations */
    .contact-grid {
        grid-template-columns: 1fr; /* single column cards */
        gap: 10px;
    }

    .group-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .c-card {
        padding: 14px;
        border-radius: var(--radius-md);
        background: var(--bg-stone);
        min-height: 48px;
    }

    .c-role {
        font-size: 9.5px;
        margin-bottom: 2px;
    }

    .c-name {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .c-email {
        font-size: 12px;
        padding-top: 10px;
        margin-top: 8px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--navy);
        font-weight: 600;
        border-top: 1px solid var(--bg-stone-mid);
    }
    
    .c-email::before {
        content: '\f0e0';
        font-family: FontAwesome;
        font-size: 12px;
        color: var(--gold);
    }

    .group-card {
        padding: 12px 14px;
    }

    .group-card a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12.5px;
        padding: 6px 0;
        min-height: 36px;
    }
}

/* Hover-only device optimizations to prevent stuck touches */
@media (hover: hover) {
    .c-card:hover {
        border-color: rgba(201, 168, 76, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04);
    }
    .c-card:hover::before {
        transform: scaleX(1); 
    }
    .c-email:hover { color: var(--gold); }
    
    .mb-header:hover {
        background: rgba(245, 243, 239, 0.5);
    }
    .mb-header:hover .mb-arrow {
        border-color: var(--navy);
        background: var(--navy-pale);
    }
    .footer-socials .fa:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        transform: translateY(-2px);
    }
}

/* Footer layout rules */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 44px 24px 28px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    padding: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.12s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: var(--gold-light);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials .fa {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

@media (min-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}