:root {
    --g:#1e3a34;
    --g2:#2f5d50;
    --c:#e07a5f;
    --c2:#c9603f;
    --s:#f4ede4;
    --m:#81b29a;
    --cream:#fdfaf6;
    --ink:#2a3532;
    --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fdfaf6' d='M0 40C240 90 480 0 720 30s480 60 720 0V80H0Z'/%3E%3C/svg%3E");
    --waveg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231e3a34' d='M0 40C240 0 480 80 720 40s480-40 720 0V80H0Z'/%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans',system-ui,sans-serif;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand b, .strip b {
    font-family: 'Fraunces',Georgia,serif;
}

a {
    color: var(--c2);
}

.topbar {
    background: var(--g);
    color: #cfe3da;
    font-size: .82rem;
    padding: .4rem 0;
}

    .topbar a {
        color: #fff;
        text-decoration: none;
    }

.navbar.bg-white {
    background: rgba(253,250,246,.82) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(30,58,52,.08);
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--c),var(--c2));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    transform: rotate(-8deg);
    box-shadow: 0 6px 14px rgba(224,122,95,.45);
    transition: transform .8s;
}

.navbar-brand:hover .logo {
    transform: rotate(0) rotateY(360deg);
}

.navbar-brand b {
    color: var(--g);
    letter-spacing: .1em;
    font-size: 1.25rem;
}

.navbar-brand small {
    font-size: .62rem;
    color: #7a8b86;
}

.nav-link {
    font-weight: 500;
    color: var(--g) !important;
    border-radius: 30px;
    padding: .5rem .9rem !important;
}

    .nav-link:hover {
        background: var(--s);
    }

    .nav-link.active {
        background: var(--g);
        color: #fff !important;
    }

.dropdown-menu {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(30,58,52,.18);
    padding: .6rem;
}

.dropdown-item {
    border-radius: 10px;
    padding: .5rem .9rem;
}

    .dropdown-item:hover {
        background: var(--s);
    }

    .dropdown-item:active {
        background: var(--c);
    }

@media(min-width:992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: pop .2s;
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}
/* hero */
.hero {
    position: relative;
    padding: 4.5rem 0 7rem;
    background: radial-gradient(circle at 85% 20%,rgba(129,178,154,.35),transparent 45%),radial-gradient(circle at 5% 90%,rgba(224,122,95,.22),transparent 40%),var(--s);
    perspective: 1200px;
}

    .hero:after, .pagehead:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 70px;
        background: var(--wave) center/100% 100% no-repeat;
    }

    .hero h1 {
        font-weight: 800;
        color: var(--g);
        font-size: clamp(2.3rem,6vw,4rem);
        line-height: 1.05;
    }

    .hero .lead {
        color: #4d615b;
        font-size: 1.25rem;
    }

.tag {
    background: #fff;
    color: var(--c2);
    font-weight: 600;
    white-space: normal;
    text-align: left;
    border-radius: 30px;
    padding: .6rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.hero .ph {
    border-radius: 220px 220px 28px 28px;
    min-height: 340px;
    box-shadow: 0 30px 60px -20px rgba(30,58,52,.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

    .hero .ph:after {
        content: "";
        position: absolute;
        inset: -14px;
        border: 2px dashed var(--c);
        border-radius: 234px 234px 40px 40px;
        z-index: -1;
        transform: translateZ(-20px);
    }

.hero .ratio-16x9 {
    --bs-aspect-ratio:110%;
}

@keyframes float {
    50% {
        translate: 0 -12px;
    }
}
/* buttons */
.btn {
    border-radius: 40px;
    font-weight: 600;
    padding: .7rem 1.6rem;
}

.btn-teal {
    background: linear-gradient(135deg,var(--c),var(--c2));
    color: #fff;
    border: 0;
    box-shadow: 0 5px 0 #9a4529,0 12px 20px rgba(201,96,63,.35);
    transition: transform .12s,box-shadow .12s;
}

    .btn-teal:hover {
        color: #fff;
        transform: translateY(-2px);
    }

    .btn-teal:active {
        transform: translateY(4px);
        box-shadow: 0 1px 0 #9a4529;
    }

.btn-outline-teal {
    border: 2px solid var(--g);
    color: var(--g);
    background: #fff;
}

    .btn-outline-teal:hover {
        background: var(--g);
        color: #fff;
    }
/* marquee */
.marq {
    background: var(--g);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: .7rem 0;
    transform: rotate(-1deg);
    margin: -1.2rem -2% 0;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

    .marq div {
        display: inline-block;
        animation: mq 30s linear infinite;
        letter-spacing: .2em;
        font-size: .85rem;
    }

    .marq span {
        color: var(--c);
        margin: 0 1rem;
    }

@keyframes mq {
    to {
        transform: translateX(-50%);
    }
}
/* stats */
.strip {
    background: none;
    padding: 2.5rem 0 1rem;
}

    .strip .container > .row {
        background: #fff;
        border-radius: 24px;
        padding: 1.4rem .5rem;
        box-shadow: 0 20px 45px rgba(30,58,52,.12);
        margin: 0 !important;
    }

    .strip b {
        font-size: 2.4rem;
        color: var(--c2);
        text-shadow: none;
    }

    .strip [class*=col] {
        color: #6c7d78;
        font-size: .9rem;
    }
/* headings */
.sec {
    color: var(--g);
    font-weight: 700;
    position: relative;
    padding-bottom: .7rem;
    margin-bottom: 1.3rem;
}

    .sec:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 64px;
        height: 5px;
        background: linear-gradient(90deg,var(--c),var(--m));
        border-radius: 5px;
    }

.text-teal {
    color: var(--c2) !important;
}

.bg-soft {
    background: var(--s);
    position: relative;
}
/* activity cards */
.act {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 0;
    border-radius: 20px;
    padding: 1.3rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(30,58,52,.08);
    border-top: 4px solid var(--m);
}

    .act span {
        flex: 0 0 auto;
        font-family: Fraunces,serif;
        font-size: 2.6rem;
        line-height: .9;
        font-weight: 800;
        color: var(--c);
        background: none;
        height: auto;
        width: auto;
        display: block;
        opacity: .85;
    }

    .act p {
        margin: 0;
    }

.svc {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin-bottom: .8rem;
    box-shadow: 0 6px 18px rgba(30,58,52,.08);
    border-left: 5px solid var(--c);
}

    .svc i {
        color: var(--c2);
    }

.card {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30,58,52,.1);
}

.commit {
    background: linear-gradient(135deg,var(--g),var(--g2));
    color: #fff;
    border-radius: 20px;
    padding: 1.4rem;
    margin-top: 1.5rem;
}

    .commit i {
        color: var(--c);
    }

.decl {
    background: var(--s);
    border-radius: 16px;
    padding: 1.1rem;
    font-size: .92rem;
    border-left: 5px solid var(--c);
}
/* placeholders */
.ph {
    background: radial-gradient(circle at 30% 20%,#fff6,transparent 50%),linear-gradient(135deg,#cfe3d8,#f1d9cd);
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #5c7269;
    font-size: .85rem;
    min-height: 120px;
    box-shadow: 0 10px 26px rgba(30,58,52,.14);
}

    .ph.ratio > span {
        position: absolute;
        inset: 0;
        display: grid;
        place-content: center;
    }

    .ph i {
        font-size: 2.2rem;
        color: var(--g2);
    }

.ratio-4x3 {
    --bs-aspect-ratio:75%;
}

.ratio-1x1 {
    --bs-aspect-ratio:100%;
}
/* page header */
.pagehead {
    position: relative;
    /*background: radial-gradient(circle at 90% 10%,rgba(224,122,95,.4),transparent 40%),linear-gradient(135deg,var(--g),var(--g2));*/
    background: radial-gradient(circle at 90% 10%, rgba(224, 122, 95, .4), transparent 40%), linear-gradient(135deg, #265b50, #a7533a);
    color: #fff;
    padding: 3.2rem 0 5rem;
    overflow: hidden;
}

    .pagehead h1 {
        font-weight: 800;
        font-size: clamp(1.9rem,5vw,3rem);
    }

    .pagehead:before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(129,178,154,.25);
        right: 8%;
        top: -90px;
    }

main > .container:first-child, main > .container-fluid:first-child {
    position: relative;
    z-index: 2;
}
/* tabs */
.tabnav {
    gap: .5rem;
    flex-wrap: wrap;
    background: #fff;
    padding: .5rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(30,58,52,.1);
    display: inline-flex;
    margin-top: -2.5rem;
}

    .tabnav .nav-link {
        color: var(--g) !important;
        background: none;
    }

        .tabnav .nav-link.active {
            background: linear-gradient(135deg,var(--c),var(--c2));
            color: #fff !important;
            box-shadow: 0 4px 10px rgba(201,96,63,.4);
        }

ul.tick {
    list-style: none;
    padding: 0;
}

    ul.tick li {
        padding-left: 1.8rem;
        position: relative;
        margin-bottom: .45rem;
    }

        ul.tick li:before {
            content: "\F26A";
            font-family: bootstrap-icons;
            position: absolute;
            left: 0;
            color: var(--c);
        }

.ectable {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30,58,52,.1);
}

    .ectable thead {
        background: var(--c);
        color: #fff;
    }

.sign {
    border-left: 4px solid var(--c);
    padding-left: 1rem;
    font-family: Fraunces,serif;
}

.caps {
    text-transform: uppercase;
}

.form-control {
    border-radius: 14px;
    padding: .75rem 1rem;
    border: 1.5px solid #dfe6e2;
    background: #fff;
}


.form-select {
    border-radius: 14px;
    padding: .75rem 1rem;
}


    .form-control:focus, .form-select:focus {
        border-color: var(--c);
        box-shadow: 0 0 0 .25rem rgba(224,122,95,.2);
    }

form.row {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem .8rem 1.8rem;
    box-shadow: 0 14px 36px rgba(30,58,52,.1);
    margin: 0;
}
/* CTA */
.cta {
    background: radial-gradient(circle at 90% 0,rgba(224,122,95,.45),transparent 45%),var(--g);
    color: #fff;
    border-radius: 32px;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 2rem 0 4rem;
    box-shadow: 0 25px 50px rgba(30,58,52,.35);
}

    .cta h2 {
        font-weight: 800;
        font-size: clamp(1.6rem,4vw,2.5rem);
    }
/* footer */
footer {
    position: relative;
    background: var(--g);
    color: #cfe3da;
    margin-top: 80px;
}

    footer:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -79px;
        height: 80px;
        background: var(--waveg) center/100% 100% no-repeat;
    }

    footer h5 {
        color: #fff;
        font-family: Fraunces,serif;
    }

.soc {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    color: #fff;
    margin-left: .4rem;
    text-decoration: none;
    transition: transform .2s,background .2s;
}

    .soc:hover {
        background: var(--c);
        transform: translateY(-5px) rotate(-8deg);
    }
/* floating donate */
.fdonate {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    background: linear-gradient(135deg,var(--c),var(--c2));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 40px;
    padding: .8rem 1.2rem;
    box-shadow: 0 8px 20px rgba(201,96,63,.5);
    animation: pulse 2.5s infinite;
}

    .fdonate:hover {
        color: #fff;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(224,122,95,.6),0 8px 20px rgba(201,96,63,.5);
    }

    70%,100% {
        box-shadow: 0 0 0 18px rgba(224,122,95,0),0 8px 20px rgba(201,96,63,.5);
    }
}
/* 3D */
.tilt {
    transform-style: preserve-3d;
    transition: transform .25s ease,box-shadow .25s ease;
    will-change: transform;
}

    .tilt:hover {
        box-shadow: 0 24px 45px rgba(30,58,52,.25);
    }

.reveal {
    opacity: 0;
    transform: perspective(900px) translateY(40px) rotateX(-12deg);
}

    .reveal.in {
        opacity: 1;
        transform: none;
        transition: opacity .7s,transform .7s cubic-bezier(.2,.8,.2,1);
    }

@media(prefers-reduced-motion:reduce) {
    .hero .ph, .fdonate, .marq div {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media(max-width:575px) {
    .hero {
        padding-top: 2.5rem;
    }

    .tabnav {
        border-radius: 24px;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .fdonate span {
        display: none;
    }
}

.hero-art {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

    .hero-art img {
        display: block;
        width: 100%;
        aspect-ratio: 600/660;
        object-fit: cover;
        border-radius: 220px 220px 28px 28px;
        box-shadow: 0 30px 60px -20px rgba(30,58,52,.5);
    }

    .hero-art:after {
        content: "";
        position: absolute;
        inset: -14px;
        border: 2px dashed var(--c);
        border-radius: 234px 234px 40px 40px;
        z-index: -1;
    }

@media(prefers-reduced-motion:reduce) {
    .hero-art {
        animation: none;
    }
}

.ph.ratio > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
