
/* =====================================
   CORE WEBSITE STYLES
   RR Naik Seva Trust
===================================== */

:root {
    --green: #263b2d;
    --green-2: #344a38;
    --cream: #fffaf0;
    --cream-2: #f7e9cc;
    --red: #c8322b;
    --red-dark: #a92522;
    --gold: #d9b66f;
    --ink: #27332b;
    --muted: #657066;
    --line: #e9dfcc;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}

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

.top-strip {
    padding: 7px 20px;
    text-align: center;
    background: var(--green);
    color: var(--cream);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-copy strong {
    color: var(--green);
    font-size: 1.15rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.75rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.main-nav > a {
    font-size: 0.86rem;
    font-weight: 600;
}

.main-nav > a:hover {
    color: var(--red);
}

.main-nav .account-login,
.main-nav .account-register,
.main-nav .account-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid var(--green);
    border-radius: 8px;
    white-space: nowrap;
}

.main-nav .account-login {
    color: var(--green);
}

.main-nav .account-register {
    color: white;
    background: var(--red);
    border-color: var(--red);
}

.main-nav .account-dashboard {
    background: var(--gold);
    color: var(--green);
    border-color: var(--gold);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--white);
    color: var(--green);
    font-size: 1.3rem;
    cursor: pointer;
}

.site-footer {
    margin-top: 60px;
    padding: 42px 0 18px;
    background: var(--green);
    color: var(--cream);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
}

.footer-brand small {
    color: var(--cream-2);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.copyright {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.2);
    text-align: center;
    font-size: 0.8rem;
}

@media (max-width: 1000px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

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

    .main-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        padding: 7px 0;
    }

    .main-nav .account-login,
    .main-nav .account-register,
    .main-nav .account-dashboard {
        width: 100%;
    }

    .main-nav .account-logout-form {
        display: flex;
        width: 100%;
    }

    .main-nav .account-logout {
        width: 100%;
        min-height: 42px;
    }

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

@media (max-width: 600px) {
    .container {
        width: calc(100% - 28px);
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        font-size: 0.68rem;
    }

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


/* =====================================
   HOMEPAGE DESIGN
===================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 88px;
    background:
        radial-gradient(circle at 85% 15%, rgba(217,182,111,.22), transparent 28%),
        linear-gradient(135deg, #fffaf0 0%, #f7e9cc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--red);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.7;
}

.hero h1 {
    margin: 20px 0;
    max-width: 650px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.hero h1 span,
.about-copy h2 span,
.section-heading h2 span,
.volunteer-copy h2 span {
    color: var(--red);
}

.hero-description,
.about-copy > p,
.section-heading > p,
.volunteer-copy > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

.hero-description {
    max-width: 570px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--red);
    color: white;
}

.button-primary:hover {
    background: var(--red-dark);
    color: white;
}

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

.button-outline:hover {
    background: var(--green);
    color: white;
}

.button-light {
    background: var(--cream);
    color: var(--green);
}

.button-light:hover {
    background: var(--gold);
    color: var(--green);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-note-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--red);
    font-size: 1.2rem;
}

.hero-note p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.7;
}

.hero-note strong {
    color: var(--green);
}

.hero-visual {
    min-width: 0;
}

.hero-art {
    position: relative;
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 180px 180px 28px 28px;
    background: linear-gradient(150deg, #344a38, #263b2d 72%);
    box-shadow: 0 28px 65px rgba(38,59,45,.18);
}

.hero-circle {
    position: absolute;
    border: 1px solid rgba(217,182,111,.3);
    border-radius: 50%;
}

.circle-one {
    width: 360px;
    height: 360px;
}

.circle-two {
    width: 270px;
    height: 270px;
}

.hero-symbol {
    position: absolute;
    top: 35px;
    right: 44px;
    color: rgba(217,182,111,.28);
    font-size: 5rem;
}

.hero-art-content {
    position: relative;
    z-index: 1;
    max-width: 320px;
    padding: 28px;
    text-align: center;
    color: var(--cream);
}

.art-label {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.hero-art-content h2 {
    margin: 18px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
    line-height: 1.2;
}

.hero-art-content p {
    color: #e7e6d9;
    font-size: .9rem;
    line-height: 1.8;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.floating-card-top {
    top: 78px;
    left: -15px;
}

.floating-card-bottom {
    right: -15px;
    bottom: 48px;
}

.floating-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--cream-2);
    color: var(--red);
    font-size: 1.25rem;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--green);
    font-size: .85rem;
}

.floating-card small {
    color: var(--muted);
    font-size: .72rem;
}

.hero-bottom-decoration {
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(38,59,45,.1);
    border-radius: 50%;
}

/* Impact strip */

.impact-strip {
    position: relative;
    z-index: 2;
    background: white;
    border-bottom: 1px solid var(--line);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 25px;
    padding-bottom: 25px;
}

.impact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 8px 14px;
    border-right: 1px solid var(--line);
}

.impact-item:last-child {
    border-right: 0;
}

.impact-symbol {
    color: var(--red);
    font-size: 1.7rem;
}

.impact-item strong {
    color: var(--green);
    font-size: .9rem;
}

.impact-item p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .76rem;
}

/* General sections */

.section {
    padding: 88px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 75px;
}

.about-visual {
    position: relative;
    padding: 15px 30px 25px 0;
}

.about-card {
    position: relative;
    overflow: hidden;
    min-height: 365px;
    padding: 52px 42px;
    border-radius: 12px 90px 12px 12px;
    background: var(--green);
    color: var(--cream);
    box-shadow: 0 20px 45px rgba(38,59,45,.15);
}

.about-card-decoration {
    position: absolute;
    top: -55px;
    right: 15px;
    color: rgba(217,182,111,.2);
    font-size: 10rem;
}

.about-card .section-kicker {
    color: var(--gold);
}

.about-card h2 {
    position: relative;
    margin: 22px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1.35;
}

.about-card p {
    color: #e4e8dc;
    font-size: .9rem;
    line-height: 1.8;
}

.about-card-line {
    width: 55px;
    height: 3px;
    background: var(--gold);
}

.about-stamp {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: 112px;
    height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--cream);
    border-radius: 50%;
    background: var(--gold);
    color: var(--green);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.about-stamp strong {
    font-size: 1.7rem;
}

.about-copy h2,
.section-heading h2,
.volunteer-copy h2 {
    margin: 13px 0 20px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.2;
}

.about-list {
    display: grid;
    gap: 13px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--green);
    font-size: .9rem;
    font-weight: 600;
}

.about-list li span {
    display: grid;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--green);
}

.text-link,
.card-link {
    color: var(--red);
    font-size: .85rem;
    font-weight: 800;
}

.text-link:hover,
.card-link:hover {
    color: var(--red-dark);
}

/* Focus areas */

.focus-section {
    background: #f8f5ec;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading > p {
    margin-bottom: 0;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.focus-card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    transition: transform .2s ease, box-shadow .2s ease;
}

.focus-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(38,59,45,.1);
}

.focus-card-featured {
    border-top: 4px solid var(--gold);
}

.focus-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    font-size: 1.8rem;
}

.focus-icon-green {
    background: #e8eee5;
    color: var(--green);
}

.focus-icon-gold {
    background: #fbf0d5;
    color: #8a6a25;
}

.focus-icon-red {
    background: #fae9e5;
    color: var(--red);
}

.focus-number {
    position: absolute;
    top: 34px;
    right: 28px;
    color: #cfc8b8;
    font-size: .8rem;
    font-weight: 800;
}

.focus-card h3,
.project-content h3 {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.4;
}

.focus-card p,
.project-content p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.8;
}

.focus-card .card-link {
    display: inline-block;
    margin-top: 12px;
}

/* Mission banner */

.mission-section {
    padding: 55px 0;
    background: var(--green);
    color: var(--cream);
}

.mission-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.mission-inner > div {
    max-width: 720px;
}

.mission-inner .eyebrow {
    color: var(--gold);
}

.mission-inner h2,
.donate-inner h2 {
    margin: 12px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.25;
}

.mission-inner h2 span {
    color: var(--gold);
}

.mission-inner p,
.donate-inner p {
    color: #e4e8dc;
    line-height: 1.8;
}

/* Projects */

.section-heading-row {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
}

.section-heading-row > div {
    max-width: 650px;
}

.section-heading-row > .text-link {
    flex-shrink: 0;
    margin-bottom: 14px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    transition: transform .2s ease, box-shadow .2s ease;
}

.project-visual {
    position: relative;
    display: grid;
    min-height: 195px;
    place-items: center;
    overflow: hidden;
}

.project-visual::before,
.project-visual::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    content: "";
}

.project-visual::after {
    width: 125px;
    height: 125px;
}

.project-visual-one {
    background: linear-gradient(135deg, #526b4d, #263b2d);
}

.project-visual-two {
    background: linear-gradient(135deg, #d9b66f, #a8843f);
}

.project-visual-three {
    background: linear-gradient(135deg, #c94a40, #872923);
}

.project-visual-symbol {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.9);
    font-size: 5rem;
}

.project-label {
    position: absolute;
    bottom: 16px;
    left: 18px;
    color: white;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.project-content {
    padding: 24px;
}

.project-category {
    color: var(--red);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.project-content h3 {
    margin: 10px 0;
    font-size: 1.25rem;
}

.project-content .card-link {
    display: inline-block;
    margin-top: 10px;
}

/* Volunteer */

.volunteer-section {
    overflow: hidden;
    background: var(--cream-2);
}

.volunteer-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 45px;
}

.volunteer-copy > p {
    max-width: 620px;
}

.volunteer-art {
    position: relative;
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50% 50% 15px 15px;
    background: var(--green);
}

.volunteer-heart {
    position: relative;
    z-index: 1;
    color: var(--gold);
    font-size: 7rem;
}

.volunteer-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,250,240,.25);
    border-radius: 50%;
}

.ring-two {
    width: 280px;
    height: 280px;
}

.volunteer-art p {
    position: absolute;
    right: 18px;
    bottom: 16px;
    margin: 0;
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    text-align: right;
}

/* Donation call to action */

.donate-section {
    padding: 60px 0;
    background: var(--red);
    color: white;
}

.donate-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.donate-inner > div {
    max-width: 720px;
}

.donate-inner .eyebrow {
    color: #ffe3a9;
}

.donate-inner h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.donate-inner p {
    margin-bottom: 0;
    color: #fff0ed;
}

.donate-inner .button {
    flex-shrink: 0;
}

/* Responsive homepage */

@media (max-width: 900px) {
    .hero {
        padding: 5px 0 5px;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .hero-art {
        min-height: 370px;
    }

    .floating-card-top {
        left: 5px;
    }

    .floating-card-bottom {
        right: 5px;
    }

    .about-grid {
        gap: 35px;
    }

    .about-card {
        padding: 38px 28px;
    }

    .focus-grid,
    .project-grid {
        gap: 15px;
    }

    .focus-card {
        padding: 25px 20px;
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 5px 0 5px;
    }

    .hero-grid,
    .about-grid,
    .volunteer-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.4rem);
    }

    .hero-art {
        min-height: 370px;
        margin: 20px 8px 0;
    }

    .hero-art-content h2 {
        font-size: 2rem;
    }

    .floating-card-top {
        top: 45px;
    }

    .floating-card-bottom {
        bottom: 25px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .impact-item {
        justify-content: flex-start;
        padding: 14px 8px;
        border-right: 0;
    }

    .impact-item:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .section {
        padding: 58px 0;
    }

    .about-visual {
        padding-right: 12px;
    }

    .about-card {
        min-height: auto;
        padding: 36px 28px;
    }

    .focus-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .focus-card {
        padding: 28px;
    }

    .mission-inner,
    .donate-inner,
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading-row > .text-link {
        margin-bottom: 0;
    }

    .volunteer-art {
        min-height: 260px;
    }

    .donate-inner .button {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .focus-card,
    .project-card {
        transition: none;
    }
}

.registration-section {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 16px;
    background: var(--cream, #f7f2e8);
}

.registration-card {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.registration-card h1 {
    color: var(--green, #174b35);
    margin-bottom: 8px;
}

.registration-card label {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.registration-card input,
.registration-card select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    box-sizing: border-box;
}

.registration-card button {
    width: 100%;
    margin-top: 22px;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: var(--green, #174b35);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.registration-card .alert {
    margin: 12px 0;
    padding: 10px;
    border-radius: 6px;
    background: #f8e7e3;
}

.registration-card .login-link {
    margin-top: 18px;
}

.registration-card small {
    display: block;
    margin-top: 14px;
    color: #666;
}

/* =====================================================
   RESPONSIVE FINISHING OVERRIDES
   RR Naik Seva Trust — desktop, tablet and mobile
   Append-only overrides to preserve the existing design
===================================================== */

html { scroll-behavior: smooth; }
body { overflow-wrap: anywhere; }
img, video, iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { min-width: 0; }
.header-inner, .brand, .main-nav, .hero-grid, .about-grid,
.volunteer-inner, .mission-inner, .donate-inner { min-width: 0; }

/* Wide laptops */
@media (max-width: 1200px) {
    .header-inner { gap: 14px; }
    .brand { gap: 9px; }
    .brand-logo { width: 60px; height: 60px; }
    .brand-copy strong { font-size: 1rem; }
    .brand-copy small { font-size: .7rem; }
    .main-nav { gap: 10px; }
    .main-nav > a { font-size: .8rem; }
    .hero-grid { gap: 32px; }
    .about-grid { gap: 42px; }
}

/* Tablet and compact desktop: use the mobile navigation */
@media (max-width: 1000px) {
    .container { width: min(100% - 32px, 760px); }
    .header-inner {
        position: relative;
        min-height: 84px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
    }
    .brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 58px); }
    .brand-logo { width: 58px; height: 58px; }
    .brand-copy strong { font-size: clamp(.92rem, 2.5vw, 1.12rem); }
    .brand-copy small { font-size: .72rem; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: auto;
    }
    .main-nav {
        display: none;
        flex: 1 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 12px 0 4px;
    }
    .main-nav.open { display: flex; }
    .main-nav > a,
    .main-nav > a:not(.account-login):not(.account-register):not(.account-dashboard):not(.nav-donate) {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: .92rem;
        white-space: normal;
    }
    .main-nav > a:hover { background: var(--cream-2); }
    .main-nav .account-greeting { padding: 8px 12px; white-space: normal; }
    .main-nav .account-login,
    .main-nav .account-register,
    .main-nav .account-dashboard { width: 100%; min-height: 42px; }
    .main-nav .account-logout-form { display: flex; width: 100%; }
    .main-nav .account-logout { width: 100%; min-height: 42px; }

    .hero { padding: 5px 0 5px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
    .hero-art { min-height: 350px; }
    .floating-card-top { left: 5px; }
    .floating-card-bottom { right: 5px; }
    .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .impact-item:nth-child(2) { border-right: 0; }
    .impact-item:nth-child(odd) { border-right: 1px solid var(--line); }
    .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
    .focus-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones and small tablets */
@media (max-width: 680px) {
    .container { width: calc(100% - 28px); }
    .top-strip { padding: 7px 12px; font-size: .7rem; letter-spacing: .03em; }
    .header-inner { min-height: 76px; }
    .brand { gap: 9px; }
    .brand-logo { width: 48px; height: 48px; }
    .brand-copy strong { font-size: .9rem; line-height: 1.2; }
    .brand-copy small { font-size: .65rem; line-height: 1.35; }
    .menu-toggle { width: 42px; height: 42px; flex-basis: 42px; padding: 6px; }

    .hero { padding: 38px 0 48px; }
    .hero-grid, .about-grid, .volunteer-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { gap: 24px; }
    .hero h1 { margin: 14px 0; font-size: clamp(0.15rem, 10vw, 3.25rem); }
    .hero-description, .about-copy > p, .section-heading > p,
    .volunteer-copy > p { font-size: .94rem; line-height: 1.75; }
    .hero-actions { gap: 10px; }
    .button { max-width: 100%; min-height: 44px; padding: 11px 15px; }
    .hero-art { min-height: 320px; margin: 8px 4px 0; border-radius: 120px 120px 20px 20px; }
    .circle-one { width: 270px; height: 270px; }
    .circle-two { width: 205px; height: 205px; }
    .hero-symbol { top: 20px; right: 22px; font-size: 3.5rem; }
    .hero-art-content { padding: 20px; }
    .hero-art-content h2 { font-size: 1.8rem; }
    .hero-art-content p { font-size: .82rem; }
    .floating-card { gap: 8px; padding: 9px 10px; }
    .floating-card-top { top: 28px; left: -2px; }
    .floating-card-bottom { right: -2px; bottom: 20px; }
    .floating-icon { width: 32px; height: 32px; }
    .floating-card strong { font-size: .75rem; }
    .floating-card small { font-size: .65rem; }

    .impact-grid { padding-block: 10px; }
    .impact-item { gap: 8px; padding: 12px 6px; }
    .impact-symbol { font-size: 1.35rem; }
    .impact-item strong { font-size: .78rem; }
    .impact-item p { font-size: .68rem; }
    .section { padding: 52px 0; }
    .about-visual { padding: 0 10px 20px 0; }
    .about-card { min-height: auto; padding: 30px 24px; border-top-right-radius: 65px; }
    .about-card h2 { font-size: 1.7rem; }
    .about-stamp { width: 86px; height: 86px; border-width: 4px; font-size: .48rem; }
    .about-stamp strong { font-size: 1.3rem; }
    .about-copy h2, .section-heading h2, .volunteer-copy h2 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
    .section-heading { margin-bottom: 28px; }
    .focus-grid, .project-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .focus-card { padding: 24px; }
    .mission-section { padding: 42px 0; }
    .mission-inner, .donate-inner, .section-heading-row { align-items: flex-start; flex-direction: column; gap: 18px; }
    .mission-inner h2, .donate-inner h2 { font-size: 1.8rem; }
    .section-heading-row > .text-link { margin-bottom: 0; }
    .volunteer-art { min-height: 230px; }
    .volunteer-heart { font-size: 5.5rem; }
    .donate-section { padding: 44px 0; }
    .donate-inner .button { align-self: flex-start; white-space: normal; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .site-footer { margin-top: 36px; padding-top: 32px; }

    .registration-section { padding: 28px 14px; }
    .registration-card { padding: 24px 18px; }
}

/* Very small phones */
@media (max-width: 380px) {
    .container { width: calc(100% - 22px); }
    .brand-logo { width: 42px; height: 42px; }
    .brand-copy strong { font-size: .8rem; }
    .brand-copy small { font-size: .59rem; }
    .hero h1 { font-size: 2.05rem; }
    .hero-art { min-height: 290px; }
    .floating-card { max-width: 160px; }
    .impact-item { align-items: flex-start; }
    .registration-card { padding: 22px 15px; }
}

/* Keyboard accessibility and reduced motion */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

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