:root {
    --navy: #0b2b5b;
    --navy-dark: #061c3d;
    --navy-soft: #153d75;
    --gold: #d89d16;
    --gold-light: #f3c94b;
    --sky: #dcecff;
    --ink: #14213d;
    --muted: #667085;
    --white: #ffffff;
    --surface: #f6f8fb;
    --border: #e5e7eb;
}

html { scroll-behavior: smooth; }
body {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}
section { scroll-margin-top: 95px; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }

.skip-link {
    position: fixed;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--gold);
    color: var(--navy-dark);
    padding: .65rem 1rem;
    border-radius: .5rem;
    font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header { box-shadow: 0 2px 18px rgba(6, 28, 61, .08); }
.brand-logo {
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(6, 28, 61, .12);
}
.brand-text { line-height: 1.05; }
.brand-name {
    display: block;
    color: var(--navy);
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.brand-subtitle {
    display: block;
    color: var(--navy);
    font-size: clamp(.8rem, 1.4vw, 1.25rem);
    font-weight: 600;
    margin-top: .15rem;
}
.brand-acronym {
    display: block;
    color: var(--gold);
    font-size: clamp(.95rem, 1.7vw, 1.35rem);
    font-weight: 700;
    margin-top: .2rem;
}
.nav-link {
    color: #101828;
    font-weight: 600;
    position: relative;
    padding-inline: .8rem !important;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .15rem;
    height: 3px;
    background: var(--gold);
    border-radius: 10px;
}

.btn {
    border-radius: .75rem;
    font-weight: 400;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
/* COFWCCo button baseline: regular-weight text across all application actions. */
.btn:hover { transform: translateY(-2px); }
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }
.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline-gold {
    color: var(--navy);
    border: 2px solid var(--gold);
    background: rgba(255,255,255,.92);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-dark); }

.hero-section {
    min-height: 640px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 45%, rgba(255,255,255,.15), transparent 30%),
        linear-gradient(100deg, #ffffff 0%, #ffffff 34%, #dcecff 63%, #b9d5f3 100%);
}
.hero-section::after {
    content: "";
    position: absolute;
    width: 55%;
    height: 100%;
    right: 0;
    top: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.05) 42%, rgba(11,43,91,.08) 100%),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85") center/cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 32%, rgba(255,255,255,.42) 53%, rgba(255,255,255,0) 72%);
    z-index: 1;
}
.hero-section .container-xxl { z-index: 2; }
.min-vh-hero { min-height: 640px; }
.eyebrow, .section-kicker {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .14em;
    font-size: .8rem;
    margin-bottom: .75rem;
}
.hero-title {
    color: var(--navy);
    font-size: clamp(3rem, 6vw, 5.25rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.055em;
    margin-bottom: 1.5rem;
}
.hero-title span, .section-title span { color: var(--gold); }
.hero-lead {
    max-width: 620px;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: #344054;
    margin-bottom: 2rem;
}
.hero-values {
    position: absolute;
    right: 4%;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -10px 30px rgba(6, 28, 61, .18);
}
.value-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .75rem;
    line-height: 1.25;
}
.value-item i { color: var(--gold); font-size: 1.75rem; }
.value-item strong { display: block; }
.value-divider { width: 1px; height: 40px; background: rgba(255,255,255,.35); }

.section-padding { padding: 6rem 0; }
.section-title {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.04em;
}
.section-lead { font-size: 1.1rem; color: #475467; }
.section-heading-copy { max-width: 650px; }

.about-card {
    min-height: 300px;
    padding: 3rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, var(--navy), var(--navy-soft));
    color: var(--white);
    box-shadow: 0 20px 50px rgba(11,43,91,.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-card h3 { font-weight: 800; }
.about-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(216,157,22,.18);
    color: var(--gold-light);
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.services-section { background: var(--surface); }
.service-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11,43,91,.11);
    border-color: rgba(216,157,22,.55);
}
.service-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid rgba(216,157,22,.55);
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.service-card h3 { color: var(--navy); font-size: 1.05rem; font-weight: 800; }
.service-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.membership-section { background: var(--surface); padding: 0 0 6rem; }
.membership-panel {
    background: linear-gradient(120deg, var(--navy-dark), var(--navy));
    color: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 25px 55px rgba(11,43,91,.18);
}
.membership-panel h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; }
.membership-panel p { color: rgba(255,255,255,.75); max-width: 720px; }

.news-placeholder {
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.25rem;
    height: 100%;
    background: #fff;
}
.news-placeholder i { color: var(--gold); font-size: 2.2rem; }
.news-placeholder h3 { color: var(--navy); font-size: 1.1rem; font-weight: 800; margin-top: 1rem; }

.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    border-top: 4px solid var(--gold);
}
.footer-quote {
    border-right: 1px solid rgba(255,255,255,.25);
    padding-right: 2rem;
}
.quote-mark { color: var(--gold); font-size: 3rem; line-height: .5; }
.footer-quote p { font-size: 1.1rem; font-weight: 600; }
.footer-quote small { color: var(--gold-light); font-weight: 700; }
.footer-community { font-weight: 700; line-height: 1.5; }
.footer-icon, .footer-contact-item i {
    color: var(--gold);
}
.footer-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 1.4rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}
.footer-contact-item i { font-size: 1.25rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
    color: rgba(255,255,255,.55);
}

@media (max-width: 1199.98px) {
    .hero-section::after { width: 58%; }
    .hero-title { font-size: clamp(3rem, 6vw, 4.6rem); }
    .hero-values { right: 2%; }
}
@media (max-width: 991.98px) {
    .brand-logo { width: 68px; height: 68px; }
    .hero-section { min-height: 700px; }
    .min-vh-hero { min-height: 700px; }
    .hero-section::after { width: 100%; opacity: .32; }
    .hero-overlay {
        background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
    }
    .hero-values { left: 1rem; right: 1rem; justify-content: center; }
    .footer-quote { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); padding: 0 0 1.5rem; }
}
@media (max-width: 575.98px) {
    .container-xxl { padding-inline: 1rem; }
    .brand-text { max-width: 220px; }
    .brand-name { font-size: 1.25rem; }
    .brand-subtitle { font-size: .65rem; }
    .brand-acronym { font-size: .8rem; }
    .hero-section, .min-vh-hero { min-height: 760px; }
    .hero-title { font-size: 3rem; }
    .hero-values {
        padding: .8rem .65rem;
        gap: .55rem;
        border-radius: .9rem .9rem 0 0;
    }
    .value-item { font-size: .58rem; gap: .35rem; }
    .value-item i { font-size: 1.2rem; }
    .value-divider { height: 32px; }
    .section-padding { padding: 4rem 0; }
    .about-card, .membership-panel { padding: 2rem; }
    .membership-panel { flex-direction: column; align-items: flex-start; }
    .footer-contact-item { margin-bottom: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.member-photo-frame {
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
}
.member-photo,
.member-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface);
}
.member-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 4rem;
}
.member-directory-photo {
    width: 48px;
    height: 48px;
    border-radius: .65rem;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface);
}
.member-directory-photo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
}
.member-timeline {
    position: relative;
    margin-left: .5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border);
}
.member-timeline-item {
    position: relative;
    padding-bottom: 1.1rem;
}
.member-timeline-item:last-child { padding-bottom: 0; }
.member-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.95rem;
    top: .3rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gold);
}
.member-timeline-title { font-weight: 600; }
.member-timeline-meta { color: var(--muted); font-size: .8rem; }
