:root {
    --ink: #123b32;
    --green: #0d6b52;
    --mint: #e9f5ef;
    --leaf: #18a673;
    --gold: #f2b84b;
    --cream: #fbf8ef;
    --muted: #60736d;
    --line: #dbe7e1;
    --white: #fff;
    --shadow: 0 18px 50px rgba(18, 59, 50, .1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #fff;
    line-height: 1.6
}

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

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

.container {
    width: min(1350px, calc(100% - 40px));
    margin: auto
}

.eyebrow {
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--leaf)
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    margin: .2em 0
}

.display {
    font-size: clamp(2.75rem, 6vw, 5.7rem);
    letter-spacing: -.045em
}

.title {
    font-size: clamp(2.15rem, 4vw, 4rem);
    letter-spacing: -.035em
}

.lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 650px
}

.topbar {
    background: var(--ink);
    color: #dbe9e4;
    font-size: .8rem;
    padding: 8px 0
}

.topbar .container {
    display: flex;
    justify-content: space-between
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 30px
}

.brand img {
    width: 210px;
    height: auto
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    font-size: .88rem;
    font-weight: 700
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--leaf)
}

.actions {
    display: flex;
    gap: 10px
}

.nav-links .actions {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .88rem;
    border: 1px solid transparent;
    cursor: pointer
}

.btn-primary {
    background: var(--green);
    color: #fff
}

.btn-primary:hover {
    background: #095642
}

.btn-light {
    background: #fff;
    color: var(--ink)
}

.btn-outline {
    border-color: var(--green);
    color: var(--green);
    background: transparent
}

.btn-gold {
    background: var(--gold);
    color: #30280e
}

.menu {
    display: none;
    border: 0;
    background: var(--mint);
    padding: 10px;
    border-radius: 10px;
    font-size: 1.1rem
}

.hero {
    min-height: 720px;
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 42, 33, .94) 0%, rgba(5, 42, 33, .72) 47%, rgba(5, 42, 33, .08) 72%), url('/assets/pyfp-hero-youth.jpg') center 42%/cover
}

.hero:after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    right: -100px;
    top: -120px
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 850px
}

.hero .lead {
    color: #dcebe6
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px
}

.hero-donate {
    border-color: rgba(255, 255, 255, .65);
    color: #fff
}

.hero-donate:hover {
    background: #fff;
    color: var(--ink)
}

.hero-meta {
    display: flex;
    gap: 42px;
    margin-top: 65px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .25)
}

.hero-meta strong {
    display: block;
    font-size: 1.5rem;
    color: var(--gold)
}

.hero-meta span {
    font-size: .8rem;
    color: #c5d8d2
}

.section {
    padding: 100px 0
}

.section-soft {
    background: var(--cream)
}

.section-green {
    background: var(--ink);
    color: #fff
}

.section-green .lead {
    color: #c8dad4
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px
}

.grid {
    display: grid;
    gap: 24px
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr)
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: .25s;
    box-shadow: 0 1px 0 rgba(18, 59, 50, .03)
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.card-img {
    height: 210px;
    width: 100%;
    object-fit: cover
}

.card-body {
    padding: 24px
}

.card h3 {
    font-size: 1.45rem
}

.card p {
    color: var(--muted);
    font-size: .92rem
}

.link {
    color: var(--green);
    font-weight: 800
}

.link:after {
    content: " →"
}

.number {
    width: 42px;
    height: 42px;
    background: var(--mint);
    color: var(--green);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900
}

.mission {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center
}

.mission-copy {
    display: grid;
    gap: 22px
}

.statement {
    padding: 28px;
    border-left: 4px solid var(--gold);
    background: #fff;
    border-radius: 0 16px 16px 0
}

.statement p {
    margin: 8px 0 0;
    color: var(--muted)
}

.impact-strip {
    background: var(--leaf);
    color: #fff;
    padding: 26px 0
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.impact-items strong {
    font-family: Georgia, serif;
    font-size: 2rem;
    display: block
}

.feature-card {
    position: relative;
    min-height: 380px;
    color: #fff;
    display: flex;
    align-items: end;
    background: #123;
    border: 0
}

.feature-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 43, 33, .95), rgba(6, 43, 33, .05)), var(--bg) center/cover
}

.feature-card .card-body {
    position: relative
}

.date {
    font-weight: 800;
    color: var(--gold);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.award {
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--line)
}

.award .icon {
    font-size: 1.8rem
}

.award h3 {
    font-size: 1.3rem
}

.partner-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    font-weight: 800;
    min-height: 110px;
    display: grid;
    place-items: center;
    color: #557069
}

.cta {
    padding: 64px;
    border-radius: 30px;
    background: var(--green);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden
}

.cta:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, .06);
    right: -70px
}

.cta>* {
    position: relative;
    z-index: 1
}

.page-hero {
    padding: 115px 0 75px;
    background: var(--ink);
    color: #fff
}

.page-hero .lead {
    color: #c9dad5
}

.breadcrumb {
    font-size: .8rem;
    color: #a9c3bb;
    margin-bottom: 25px
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.portrait {
    border-radius: 24px;
    min-height: 520px;
    object-fit: cover
}

.profile {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center
}

.avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    background: var(--mint)
}

.profile small {
    color: var(--muted)
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.tab {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-weight: 750
}

.tab.active {
    background: var(--green);
    color: #fff
}

.form {
    display: grid;
    gap: 16px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

label {
    font-size: .84rem;
    font-weight: 800
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbdad4;
    border-radius: 10px;
    font: inherit;
    margin-top: 6px;
    background: #fff
}

textarea {
    min-height: 130px
}

.notice {
    padding: 16px;
    border-radius: 12px;
    background: #fff4d8;
    border: 1px solid #f1d180;
    color: #6b5616
}

.footer {
    background: #082f27;
    color: #c8d9d4;
    padding: 75px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 55px
}

.footer h3 {
    color: #fff;
    font-family: inherit;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.footer a {
    display: block;
    margin: 9px 0;
    font-size: .88rem
}

.footer .brand img {
    filter: brightness(0) invert(1);
    opacity: .95
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 50px;
    padding-top: 20px;
    font-size: .78rem;
    display: flex;
    justify-content: space-between
}

.empty {
    padding: 30px;
    text-align: center;
    background: var(--mint);
    border-radius: 16px
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--ink);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 99;
    animation: in .3s ease
}

@keyframes in {
    from {
        transform: translateY(20px);
        opacity: 0
    }
}

@media(max-width:980px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 74px;
        background: #fff;
        padding: 24px;
        border-radius: 16px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start
    }

    .nav-links.open {
        display: flex
    }

    .nav-links .actions {
        display: flex;
        width: 100%
    }

    .menu {
        display: block;
        margin-left: auto
    }

    .nav-inner>.actions {
        display: none
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr)
    }

    .mission,
    .split {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    .topbar {
        display: none
    }

    .nav-inner {
        height: 72px
    }

    .brand img {
        width: 170px
    }

    .hero {
        min-height: 680px
    }

    .hero-content {
        padding: 100px 0 55px
    }

    .hero-meta {
        gap: 20px;
        flex-wrap: wrap
    }

    .hero-meta>div {
        width: 42%
    }

    .section {
        padding: 72px 0
    }

    .section-head {
        display: block
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .impact-items,
    .form-row {
        grid-template-columns: 1fr
    }

    .cta {
        padding: 38px 26px;
        display: block
    }

    .cta .btn {
        margin-top: 22px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .copyright {
        display: block
    }

    .display {
        font-size: 3rem
    }

    .portrait {
        min-height: 380px
    }
}
