:root {
    --ink: #172026;
    --muted: #5d6873;
    --paper: #fffdf8;
    --soft: #f4f7f1;
    --line: #dbe4dd;
    --green: #176c5a;
    --green-dark: #0e463d;
    --coral: #c55444;
    --amber: #f2b84b;
    --blue: #245f8f;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(23, 32, 38, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

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

input,
textarea,
button {
    font: inherit;
}

.site-header,
.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(219, 228, 221, 0.9);
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(12px);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand__logo,
.admin-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand strong,
.admin-brand span {
    display: block;
    font-size: 1rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav,
.admin-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a,
.admin-header nav a {
    padding: 9px 11px;
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.site-nav a:hover,
.admin-header nav a:hover,
.nav-admin {
    background: var(--soft);
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
    align-items: center;
    min-height: calc(100vh - 82px);
    padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 72px);
    background: var(--green-dark);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 12px;
    background: linear-gradient(90deg, var(--amber), var(--coral), var(--blue), var(--green));
}

.hero__image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.hero__image::before {
    content: "";
    position: absolute;
    width: min(460px, 72vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.hero__image img {
    position: relative;
    width: min(360px, 68vw);
    height: auto;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.22));
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--amber);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero__title {
    margin: 20px 0 0;
    max-width: 760px;
    font-size: clamp(1.25rem, 2.3vw, 2rem);
    font-weight: 700;
}

.hero__intro {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.hero__actions,
.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(197, 84, 68, 0.26);
}

.button--secondary {
    background: var(--white);
    color: var(--green-dark);
    border: 1px solid var(--line);
}

.button--danger {
    background: #8d2f2b;
    color: var(--white);
}

.quick-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.quick-contact a,
.quick-contact p {
    margin: 0;
    padding: 24px clamp(18px, 4vw, 44px);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
}

.quick-contact span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.quick-contact strong {
    display: block;
    margin-top: 4px;
}

.section {
    padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section--tint {
    background: var(--soft);
}

.section__intro {
    max-width: 840px;
    margin-bottom: 34px;
}

.section__intro p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
}

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

.mission-card,
.admin-card,
.message-card,
.volunteer-card,
.profile-card,
.empty-state,
.login-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.mission-card {
    padding: 22px;
}

.mission-card span {
    display: block;
    width: 38px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--amber);
}

.mission-card:nth-child(2n) span {
    background: var(--green);
}

.mission-card:nth-child(3n) span {
    background: var(--coral);
}

.mission-card p {
    margin: 0;
    font-weight: 700;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag-list span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 700;
}

.statement {
    padding: clamp(26px, 4vw, 42px);
    border-left: 6px solid var(--coral);
    background: var(--white);
}

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

.statement strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
}

.action-list {
    display: grid;
    gap: 12px;
}

.action-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: start;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.action-item strong {
    color: var(--blue);
    font-size: 1.8rem;
    line-height: 1;
}

.action-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.section--solidarity {
    background: var(--green);
    color: var(--white);
}

.section--solidarity > div {
    max-width: 920px;
}

.section--solidarity .eyebrow {
    color: var(--amber);
}

.section--solidarity p:last-child {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
}

.contact-copy p {
    color: var(--muted);
}

.contact-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-weight: 800;
}

.contact-form,
.cms-form {
    display: grid;
    gap: 16px;
}

.contact-form {
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfd8d1;
    border-radius: 6px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(36, 95, 143, 0.18);
    border-color: var(--blue);
}

.check-row {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 700;
}

.check-row input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.notice--success {
    color: #134d3e;
    background: #e7f5ec;
    border: 1px solid #b9dbc8;
}

.notice--error {
    color: #7c2d27;
    background: #fff0ec;
    border: 1px solid #efbeb2;
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 28px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-footer p {
    margin: 0;
}

.admin-body {
    background: #f7f8f5;
}

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-box {
    width: min(100%, 440px);
    display: grid;
    gap: 16px;
    padding: 30px;
}

.login-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.login-box h1,
.login-box p {
    margin: 0;
}

.back-link {
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.admin-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 58px;
}

.admin-narrow {
    width: min(720px, calc(100% - 32px));
}

.admin-hero,
.admin-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-hero {
    padding: 28px;
    border-radius: 8px;
    background: var(--green-dark);
    color: var(--white);
}

.admin-hero .eyebrow {
    color: var(--amber);
}

.admin-hero h1,
.admin-page-title h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-hero p:last-child,
.admin-page-title p {
    margin-bottom: 0;
}

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

.admin-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    color: var(--ink);
    text-decoration: none;
}

.admin-card span {
    color: var(--coral);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-card strong {
    font-size: 1.4rem;
}

.admin-card p {
    margin: 0;
    color: var(--muted);
}

.cms-form fieldset {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.cms-form legend {
    padding: 0 6px;
    color: var(--green);
    font-weight: 900;
}

.message-list {
    display: grid;
    gap: 16px;
}

.volunteer-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
    gap: 22px;
    align-items: start;
}

.volunteer-list {
    display: grid;
    gap: 16px;
}

.volunteer-card {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.volunteer-card header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.volunteer-card header strong,
.volunteer-card header span {
    display: block;
}

.volunteer-card header span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.volunteer-card dl,
.profile-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.volunteer-card dl {
    margin: 0;
}

.volunteer-card dt,
.profile-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-card dd {
    margin: 0;
    font-weight: 800;
}

.profile-card {
    padding: 24px;
}

.profile-card div {
    display: grid;
    gap: 5px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.profile-card strong {
    font-size: 1.08rem;
}

.message-card {
    padding: 20px;
}

.message-card header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.message-card header strong,
.message-card header span {
    display: block;
}

.message-card header span {
    color: var(--muted);
    font-size: 0.9rem;
}

.message-card dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.message-card dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.message-card dd {
    margin: 0;
    font-weight: 800;
}

.link-button {
    border: 0;
    background: transparent;
    color: #9d2f29;
    cursor: pointer;
    font-weight: 900;
    text-decoration: underline;
}

.empty-state {
    padding: 28px;
}

.empty-state h2,
.empty-state p {
    margin: 0;
}

.empty-state p {
    margin-top: 6px;
    color: var(--muted);
}

.admin-footer {
    padding: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

@media (max-width: 980px) {
    .hero,
    .contact-section,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero__image {
        order: -1;
        min-height: 220px;
    }

    .mission-grid,
    .admin-grid,
    .volunteer-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header,
    .admin-header,
    .admin-hero,
    .admin-page-title,
    .message-card header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav,
    .admin-header nav {
        justify-content: flex-start;
    }

    .site-nav a,
    .admin-header nav a {
        padding: 8px 9px;
    }

    h1 {
        font-size: 2.7rem;
    }

    .form-grid,
    .mission-grid,
    .admin-grid,
    .volunteer-layout,
    .volunteer-card dl,
    .profile-card,
    .message-card dl,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .action-item {
        grid-template-columns: 48px 1fr;
    }
}
