*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg-cream:#F6F1E8;
    --bg-soft:#FBF8F2;
    --forest:#1F3328;
    --forest-2:#2D4638;
    --olive:#5D6F52;
    --gold:#B79B62;
    --text:#233126;
    --text-soft:#5E655B;
    --white:#FFFFFF;
    --shadow:0 12px 32px rgba(0,0,0,0.12);
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    font-family:Inter, Arial, sans-serif;
    background:var(--bg-cream);
    color:var(--text);
    line-height:1.7;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.div_link{
    text-decoration:none;
    color:inherit;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:140px;
    padding:14px 24px;
    border-radius:999px;
    border:1.5px solid transparent;
    font-size:.95rem;
    font-weight:600;
    letter-spacing:.04em;
    transition:all .28s ease;
}

.btn-primary{
    background:var(--forest);
    color:var(--white);
}

.btn-primary:hover{
    background:var(--forest-2);
    transform:translateY(-2px);
}

.btn-outline{
    border-color:rgba(255,255,255,0.72);
    color:var(--white);
    background:transparent;
}

.btn-outline:hover{
    background:rgba(255,255,255,0.12);
    border-color:rgba(255,255,255,0.95);
    transform:translateY(-2px);
}

/* Header / nav */
.guidBarFrameWork{
    width:100%;
    height:78px;
    position:fixed;
    top:0;
    left:0;
    z-index:20;
    background:rgba(17,30,22,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav-inner{
    width:min(1240px, 94%);
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.guideBarLogo{
    width:158px;
    height:48px;
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.guideBarLogo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.buttonOuter,
.buttonInter1,
.buttonInter2{
    position:static;
    width:auto;
    height:auto;
}

.buttonOuter{
    display:flex;
    align-items:center;
    gap:18px;
}

.buttonInter1,
.buttonInter2{
    display:flex;
    align-items:center;
    gap:8px;
}

.guideBarButton1,
.guideBarButton2{
    background:transparent;
    color:rgba(255,255,255,0.92);
    width:auto;
    height:auto;
    padding:12px 16px;
    font-size:14px;
    letter-spacing:1.4px;
    font-weight:600;
    border-radius:999px;
    position:relative;
    transition:color .25s ease, background .25s ease;
}

.guideBarButtonText1,
.guideBarButtonText2{
    margin:0;
}

.guideBarButton1::after,
.guideBarButton2::after{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    bottom:8px;
    height:2px;
    background:var(--gold);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .25s ease;
}

.guideBarButton1:hover,
.guideBarButton2:hover{
    color:#DDE8D6;
    background:rgba(255,255,255,0.05);
}

.guideBarButton1:hover::after,
.guideBarButton2:hover::after{
    transform:scaleX(1);
}

/* Hero */
.headerImage{
    width:100%;
}

.headerImageFrame{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.BirdsPageHeaderImage{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 35%;
    transform:scale(1.03);
}

.headerImageOverlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(18,30,24,0.56) 0%,
            rgba(18,30,24,0.24) 42%,
            rgba(18,30,24,0.12) 100%
        );
}

.headerImageContentBox{
    width:min(760px, 90%);
    position:relative;
    margin-left:max(4vw, 32px);
    z-index:2;
    padding-top:88px;
}

.hero-eyebrow{
    display:inline-block;
    margin-bottom:16px;
    color:#E6D4A5;
    font-size:.92rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:700;
}

.PageTitle{
    font-family:"Cormorant Garamond", Georgia, serif;
    font-size:clamp(3.2rem, 7vw, 5rem);
    line-height:1.02;
    color:var(--white);
    margin-bottom:18px;
    max-width:720px;
}

.classDescription{
    width:min(640px,100%);
    font-size:clamp(1.08rem, 2vw, 1.32rem);
    color:rgba(255,255,255,0.92);
    line-height:1.65;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:30px;
}

/* Intro */
.speciesIntroSection{
    padding:90px 0 70px;
    background:var(--bg-soft);
}

.speciesIntroInner{
    width:min(1120px, 92%);
    margin:0 auto;
}

.speciesIntroText{
    max-width:760px;
}

.kicker{
    color:var(--gold);
    font-size:.95rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:700;
    margin-bottom:14px;
}

.speciesIntroText h2{
    font-family:"Cormorant Garamond", Georgia, serif;
    font-size:clamp(2.2rem, 4vw, 3.1rem);
    line-height:1.08;
    color:var(--forest);
    margin-bottom:14px;
}

.speciesIntroText p{
    color:var(--text-soft);
    font-size:1.04rem;
    line-height:1.85;
}

/* Archive */
.speciesArchive{
    background:var(--bg-cream);
    padding-bottom:90px;
}

.SpeciesPageFamilySeparationLine{
    width:min(1200px, 92%);
    margin:0 auto;
    min-height:84px;
    background:transparent;
    display:flex;
    align-items:center;
    gap:20px;
    position:relative;
    padding:28px 0 20px;
}

.SeparationLineFront{
    width:58px;
    height:3px;
    background:var(--gold);
    border-radius:999px;
    flex-shrink:0;
    position:static;
}

.FamilyTitle{
    font-family:"Cormorant Garamond", Georgia, serif;
    font-size:clamp(1.7rem, 2.8vw, 2.2rem);
    color:var(--forest);
    letter-spacing:.04em;
    position:static;
}

.threeImagesModel{
    width:min(1200px, 92%);
    margin:0 auto 20px;
    aspect-ratio:auto;
    background:transparent;
    position:relative;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
    padding-bottom:10px;
}

.imageOuter{
    width:100%;
    height:auto;
    position:relative;
    float:none;
    text-align:left;
    top:auto;
}

.imageInner{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
    background:#ddd;
}

.imageContextBackground{
    width:calc(100% - 24px);
    min-height:58px;
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    transform:none;
    background:rgba(17,30,22,0.72);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(8px);
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
}

.imageContext{
    font-size:1rem;
    line-height:1.35;
    position:static;
    transform:none;
    color:white;
    text-align:center;
    font-weight:500;
}

/* Hide legacy six-image layout if it appears */
.sixImagesModel{
    width:min(1200px, 92%);
    margin:0 auto 24px;
    background:transparent;
    position:relative;
}

/* Footer */
.footerFrame{
    width:100%;
    min-height:auto;
    position:relative;
    background:linear-gradient(180deg, #101913 0%, #16231B 100%);
    padding:72px 0 48px;
    border-top:1px solid rgba(183,155,98,0.28);
}

.footer-inner{
    width:min(1200px, 92%);
    margin:0 auto;
    display:grid;
    grid-template-columns:1.1fr .7fr .95fr;
    gap:36px;
}

.footerLogo{
    width:205px;
    height:88px;
    position:static;
    margin-bottom:18px;
}

.footerLogo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.footerLogoText{
    width:auto;
    height:auto;
    position:static;
    color:rgba(255,255,255,0.8);
    font-size:1rem;
}

.footer-about p{
    color:rgba(255,255,255,0.8);
    max-width:360px;
    margin-top:14px;
}

.footer-col h4{
    font-family:"Cormorant Garamond", Georgia, serif;
    font-size:2rem;
    color:var(--white);
    margin-bottom:16px;
}

.footer-links a,
.footer-contact p{
    display:block;
    color:rgba(255,255,255,0.8);
    margin-bottom:12px;
}

.footer-links a:hover{
    color:#E3D0A1;
}

.footer-socials{
    display:flex;
    gap:14px;
    margin:18px 0 22px;
}

.footerContactLinkbuttton{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.06);
    transition:transform .25s ease, background .25s ease;
}

.footerContactLinkbuttton:hover{
    transform:translateY(-2px) scale(1.05);
    background:rgba(183,155,98,0.2);
}

.footerContactLogo{
    width:22px;
    height:22px;
    object-fit:contain;
}

.footer-bottom{
    width:min(1200px, 92%);
    margin:32px auto 0;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,0.08);
    color:rgba(255,255,255,0.62);
    font-size:.95rem;
}

/* Responsive */
@media screen and (max-width:1080px){
    .footer-inner{
        grid-template-columns:1fr;
    }

    .threeImagesModel{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width:820px){
    .guidBarFrameWork{
        height:auto;
        padding:14px 0;
    }

    .nav-inner,
    .buttonOuter{
        flex-direction:column;
        align-items:flex-start;
    }

    .buttonInter1,
    .buttonInter2{
        flex-wrap:wrap;
    }

    .headerImageFrame{
        min-height:820px;
    }

    .headerImageContentBox{
        margin-left:24px;
        width:calc(100% - 48px);
    }

    .speciesIntroSection{
        padding:76px 0 56px;
    }
}

@media screen and (max-width:640px){
    .threeImagesModel{
        grid-template-columns:1fr;
        gap:18px;
    }

    .SpeciesPageFamilySeparationLine{
        padding:24px 0 16px;
    }

    .FamilyTitle{
        font-size:1.45rem;
    }
}

@media screen and (max-width:560px){
    .guideBarButton1,
    .guideBarButton2{
        padding:10px 12px;
        font-size:13px;
    }

    .speciesArchive{
        padding-bottom:72px;
    }

    .imageContext{
        font-size:.95rem;
    }
}
