:root {
    --white: #FFF9EE;
    --deep-gold: #C47F00;
    --dark-gold: #FFF9EE;
    --black: #1A0F00;
    --cream: #FFF9EE;
    --rust: #B84B00;
    --terracotta: #C25A2A;
    --sand: #FFF9EE;
    --deep-red: #8B1A1A;
    --teal: #1A6B6B;
    --warm-white: #FFF9EE;
    --orange: #DD5C35;
    --yellow: #F1BE49;
    --green: #317039;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--warm-white);
    color: var(--black);
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #317039;
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--yellow);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
}

.nav-logo-text .name {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow);
}

.nav-logo-text .tag {
    font-size: 0.65rem;
    color: var(--sand);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--sand);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--yellow);
}

.nav-cta {

    background: var(--yellow) !important;
    color: var(--black) !important;
    border-radius: 15px !important;
    font-weight: 500 !important;
}

.nav-cta:hover {
    background: var(--deep-gold) !important;
    color: var(--black) !important;
}

.nav-cta::after {
    display: none !important;
}

.ham-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 300;
}

.ham-btn {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* both images on top of each other */
.ham-btn div {
    position: absolute;
    top: 0;
    left: 0;
}

/* show hamburger by default */
.ham-btn div:nth-child(1) {
    opacity: 1;
}

/* hide close by default */
.ham-btn div:nth-child(2) {
    opacity: 0;
}

/* when open → hide hamburger */
.ham-btn.is-open div:nth-child(1) {
    opacity: 0;
}

/* when open → show close */
.ham-btn.is-open div:nth-child(2) {
    opacity: 1;
}


#mobileNav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

#mobileNav.is-open {
    display: flex;
}

#mobileNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.1rem 1.5rem;
    color: #1a2744;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, background 0.2s;
    text-align: center;
}

#mobileNav a:first-child {
    color: var(--yellow);
}

#mobileNav a:last-child {
    border-bottom: none;
}

#mobileNav a:hover,
#mobileNav a.active {
    background: rgba(241, 190, 73, 0.06);
    color: var(--yellow);
}



#mobileNav .nav-cta {
    margin: 0.8rem 1.5rem 1.2rem;
    background: var(--yellow) !important;
    color: var(--black) !important;
    border-radius: 6px;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.5rem !important;
    font-weight: 700 !important;
    border-bottom: none !important;
}

/* HERO */
.team-hero {
    padding-top: 72px;
    background: var(--yellow);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F5A800' stroke-opacity='0.06' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='35'/%3E%3Cpath d='M40 5 L75 40 L40 75 L5 40 Z'/%3E%3Cline x1='40' y1='5' x2='40' y2='75'/%3E%3Cline x1='5' y1='40' x2='75' y2='40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}


.hero-inner {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    border: 1px solid rgba(245, 168, 0, 0.3);
    color: #f5f5f5;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 350;
    margin-bottom: 1rem;
}

.team-hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 100;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 0.7rem;
}

.team-hero h1 em {
    font-family: "Bebas Neue", sans-serif;
    color: #317039;
    font-weight: 100;
    font-style: normal;
}

.team-hero p {
    color: #5B5B5B;
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* SECTION */
.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rust);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-label::before,
.section-label::after {
    content: '';
    height: 1.5px;
    width: 22px;
    background: var(--rust);
    border-radius: 2px;
}

.section-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 100;
    color: var(--black);
    line-height: 1.2;
}

.section-title em {
    font-style: normal;
    font-family: "Bebas Neue", sans-serif;
    color: #317039;
    font-weight: 100;
}

.section-sub {
    color: #5B5B5B;
    font-size: 0.92rem;
    max-width: 600px;
    margin: 0.8rem auto 0;
    line-height: 1.7;
}

/* BOARD MEMBERS GRID */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--sand);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(184, 75, 0, 0.14);
    border-color: rgba(245, 168, 0, 0.3);
}

.member-photo-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--sand);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.06);
}

.member-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 15, 0, 0.3) 0%, transparent 60%);
}

.member-info {
    padding: 1.2rem 1.2rem 1.4rem;
    text-align: center;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-role {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid;
}



/* ADVISORY SECTION */
.advisory-section {
    background: var(--orange);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.advisory-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F5A800' stroke-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3Cline x1='5' y1='30' x2='55' y2='30'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.advisory-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advisory-header {
    text-align: center;
    margin-bottom: 3rem;
}

.advisory-header .section-label {
    color: #f5f5f5;
}

.advisory-header .section-label::before,
.advisory-header .section-label::after {
    background: var(--yellow);
}

.advisory-header .section-title {
    color: var(--cream);
}

.advisory-header .section-sub {
    color: rgba(232, 213, 163, 0.6);
}

.advisory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.advisory-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f2ede4;
    border: 1px solid rgba(245, 168, 0, 0.12);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    transition: all 0.3s;
}

.advisory-card:hover {
    background: rgba(245, 168, 0, 0.07);
    border-color: rgba(245, 168, 0, 0.28);
    transform: translateX(4px);
}

.adv-icon {
    font-size: 0.8rem;
    color: #5b5b5b;
    margin-top: 3px;
    flex-shrink: 0;
    opacity: 0.8;
}

.adv-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a0f00;
    margin-bottom: 3px;
}

.adv-role {
    font-size: 0.78rem;
    color: #5b5b5b;
    line-height: 1.4;
}

/* CTA */
.join-cta {
    background: linear-gradient(135deg, var(--rust) 0%, var(--black) 60%);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px;
}

.join-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.join-cta h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--cream);
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.join-cta h2 em {
    color: var(--yellow);
    font-style: italic;
}

.join-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.btn-gold {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 13px 32px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245, 168, 0, 0.35);
}

.btn-gold:hover {
    background: var(--deep-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 168, 0, 0.5);
}

/* ─── FOOTER WRAPPER ─────────────────────────────── */
.footer-up {
    background: var(--cream);
}

.footer-up img {
    display: block;
    width: 100%;
}

.site-footer {
    margin-top: -4px;
    background: var(--green);
    color: var(--white);

    padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
}



/* ─── MAIN GRID ──────────────────────────────────── */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 3px 2fr;
    gap: 0 clamp(32px, 5vw, 72px);
    position: relative;
    z-index: 1;
}

/* ─── DIVIDER ────────────────────────────────────── */
.footer-divider {
    background: var(--white-line);
    width: 1.5px;
    align-self: stretch;
    margin-top: 12px;
}

/* ─── LEFT COLUMN ────────────────────────────────── */
.footer-brand {
    padding-bottom: 40px;
}

.footer-headline {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 100;
    font-size: clamp(52px, 9vw, 100px);
    line-height: 0.92;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.footer-headline span {
    color: var(--gold);
    display: inline-block;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--white-dim);
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--yellow);
}

/* ─── RIGHT SECTION ──────────────────────────────── */
.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding-bottom: 40px;
}

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 6px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    text-decoration: none;
    color: var(--white-dim);
    font-size: clamp(11px, 1.15vw, 13px);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

/* ─── SOCIAL ICONS ───────────────────────────────── */
.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-icon:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ─── BOTTOM BAR ─────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid var(--white-line);
    margin-top: 8px;
    padding: 22px 0;
    position: relative;
    z-index: 1;
}

.footer-address {
    color: var(--white-dim);
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.65;
}

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Tablet: ~768px */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 3px 1.6fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-divider {
        display: none;
    }

    .footer-brand {
        border-bottom: 1px solid var(--white-line);
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .footer-right {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 32px;
    }
}

/* Mobile: ~480px */
@media (max-width: 480px) {
    .footer-right {
        grid-template-columns: 1fr;
        gap: 32px;
    }


}

@media (max-width: 360px) {
    .footer-headline {
        font-size: 44px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1.2rem;
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .advisory-grid {
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding: 3rem 1.2rem;
    }

    .advisory-section {
        padding: 3rem 1.2rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.2rem;
    }

    .join-cta {
        padding: 3rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .member-name {
        font-size: 0.88rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}

/* ── HAMBURGER ── */
/* ── HAMBURGER ── */
.ham-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 300;
}

.ham-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #F5A800;
    border-radius: 2px;
    transition: transform .28s ease, opacity .28s ease;
    transform-origin: 0 50%;
}

.ham-btn.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -1px);
}

.ham-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.ham-btn.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 1px);
}

#mobileNav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

#mobileNav.is-open {
    display: flex;
}

#mobileNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.1rem 1.5rem;
    color: #1a2744;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, background 0.2s;
    text-align: center;
}

#mobileNav a:last-child {
    border-bottom: none;
}

#mobileNav a:hover,
#mobileNav a.active {
    color: #F5A800;
}

#mobileNav .nav-cta {
    margin: 0.8rem 6rem 1.2rem;
    background: var(--yellow) !important;
    color: var(--black) !important;
    border-radius: 22px !important;
    text-align: center;
    justify-content: center;
    padding: 15px 4rem;
    font-weight: 700 !important;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    nav {
        height: 64px !important;
        padding: 0 1.2rem !important;
    }

    .ham-btn {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }
}

/* ====== END HAMBURGER ====== */

/* ── RESPONSIVE team ── */
@media (max-width: 1024px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .advisory-grid {
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding: 3rem 1.2rem;
    }

    .advisory-section {
        padding: 3rem 1.2rem;
    }

    .join-cta {
        padding: 3rem 1.2rem;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .7rem;
    }

    .member-name {
        font-size: .82rem;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .advisory-card {
        padding: .9rem 1rem;
    }
}

@media (max-width: 360px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .team-hero h1 {
        font-size: 1.4rem;
    }
}