.utility-bar {
    background: var(--forest-900);
    color: rgba(255, 255, 255, .82);
    font-size: .79rem;
}

.utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--content-width), calc(100% - 3rem));
    min-height: 36px;
    margin: 0 auto;
}

.utility-bar p { margin: 0; }
.utility-bar a { color: inherit; text-decoration: none; }
.utility-bar a:hover { color: var(--gold-300); }
.utility-bar__links { display: flex; gap: 1.2rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(18, 59, 42, .08);
    background: rgba(255, 252, 245, .89);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(18, 59, 42, .10); }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(var(--content-width), calc(100% - 3rem));
    min-height: 82px;
    margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.site-nav .brand__mark { width: 140px; height: 80px; }
/* Keep the full ministry mark visible while trimming only its empty canvas. */
.site-nav .brand__mark img { object-fit: cover; object-position: center 56%; transform: none; }
.brand__mark {
    display: grid;
    width: 108px;
    height: 60px;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    background: transparent;
    box-shadow: none;
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand__copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { color: var(--ink-950); font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; }
.brand__tagline { margin-top: .18rem; color: var(--ink-600); font-size: .57rem; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; justify-content: center; gap: .15rem; margin-left: auto; }
.desktop-nav a, .nav-account {
    padding: .55rem .68rem;
    color: var(--ink-700);
    font-size: .91rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.desktop-nav a { border-radius: 10px; }
.desktop-nav a:hover, .desktop-nav a.is-active { background: var(--sage-100); color: var(--forest-900); }
.desktop-nav a.is-active { font-weight: 700; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-account:hover { color: var(--forest-700); }
.nav-logout { margin: 0; }
.nav-logout__button { border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    background: var(--white);
}
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 999px; background: var(--ink-950); transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay { position: fixed; z-index: 44; inset: 0; opacity: 0; visibility: hidden; background: rgba(11, 31, 22, .55); transition: opacity .24s ease, visibility .24s ease; }
.nav-overlay.is-visible { opacity: 1; visibility: visible; }
.nav-drawer {
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    display: flex;
    width: min(390px, 100%);
    height: 100dvh;
    padding: 1.35rem;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream-50);
    box-shadow: -20px 0 50px rgba(18, 59, 42, .18);
    transform: translateX(103%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer { scrollbar-width: thin; scrollbar-color: var(--sage-200) transparent; }
.nav-drawer::-webkit-scrollbar { width: 7px; }
.nav-drawer::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--sage-200); }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.nav-close { width: 42px; height: 42px; border: 1px solid var(--cream-200); border-radius: 12px; background: var(--white); color: var(--ink-950); font-size: 1.7rem; line-height: 1; }
.nav-drawer__eyebrow { margin: 2.25rem 0 .9rem; color: var(--gold-600); font-size: .71rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-drawer__links { display: grid; gap: .3rem; }
.nav-drawer__links a { padding: .75rem .85rem; border-radius: 10px; color: var(--ink-800); font-weight: 700; text-decoration: none; }
.nav-drawer__links a:hover { background: var(--sage-100); color: var(--forest-900); }
.nav-drawer__footer { display: grid; gap: 1rem; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--cream-200); }
.nav-drawer__footer > a:last-child, .nav-drawer__signout button { color: var(--ink-600); font: inherit; font-weight: 600; text-align: center; text-decoration: none; }
.nav-drawer__signout { margin: 0; }
.nav-drawer__signout button { width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }

.site-main { min-height: 63vh; }

.site-footer { margin-top: 6rem; padding: 4.25rem 1.5rem 1.2rem; background: var(--forest-900); color: rgba(255,255,255,.76); }
.site-footer__grid { display: grid; grid-template-columns: 1.55fr .75fr .95fr 1fr; gap: 2.2rem; width: min(var(--content-width), 100%); margin: 0 auto; }
.brand--footer { margin-bottom: 1.15rem; }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__tagline { color: rgba(255,255,255,.58); }
.footer-intro p { max-width: 310px; margin-bottom: 1.1rem; }
.site-footer h2 { margin-bottom: 1rem; color: var(--gold-300); font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); font-size: .92rem; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-300); }
.footer-contact { font-style: normal; }
.footer-contact p { margin-bottom: .35rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; width: min(var(--content-width), 100%); margin: 3rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.55); font-size: .78rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--gold-300); text-decoration: none; }
