:root {
    --coffee: #6f4e37;
    --coffee-deep: #4f3626;
    --ecru: #c2b280;
    --paper: #f8f3e8;
    --sand: #eadfc7;
    --ink: #2b2118;
    --muted: #675848;
    --line: rgba(111, 78, 55, 0.18);
    --shadow: 0 24px 60px rgba(79, 54, 38, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(194, 178, 128, 0.34), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(111, 78, 55, 0.12), transparent 24%),
        linear-gradient(180deg, #fffaf0 0%, var(--paper) 100%);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.section-shell {
    padding: 5rem 0;
}

.muted-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(194, 178, 128, 0.16));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(111, 78, 55, 0.12);
    background: rgba(248, 243, 232, 0.88);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(111, 78, 55, 0.18);
    box-shadow: var(--shadow);
}

.brand-copy {
    display: grid;
    gap: 0.15rem;
}

.brand-copy strong {
    font-size: 1.06rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coffee-deep);
}

.brand-copy small {
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-weight: 600;
    color: var(--coffee-deep);
}

.site-nav a {
    position: relative;
    padding: 0.4rem 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--coffee);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.mobile-toggle {
    display: none;
    border: 1px solid rgba(111, 78, 55, 0.2);
    background: rgba(255, 255, 255, 0.72);
    color: var(--coffee-deep);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(111, 78, 55, 0.12);
    padding: 0.8rem 1rem 1rem;
    background: rgba(248, 243, 232, 0.98);
}

.mobile-panel.is-open {
    display: grid;
    gap: 0.55rem;
}

.mobile-panel a {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    font-weight: 600;
    color: var(--coffee-deep);
    background: rgba(194, 178, 128, 0.12);
}

.hero {
    padding-top: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero-small {
    padding-bottom: 3rem;
}

.team-hero-grid {
    grid-template-columns: 1fr 0.75fr;
}

.hero-copy h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: var(--coffee-deep);
    margin: 0.4rem 0 1rem;
}

.hero-kicker,
.section-tag,
.card-tag,
.hero-card-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--coffee);
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 64ch;
}

.hero-meta {
    margin-top: 1rem;
    max-width: 65ch;
    color: var(--coffee-deep);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--coffee), var(--coffee-deep));
    color: #fff7ea;
    box-shadow: 0 16px 34px rgba(111, 78, 55, 0.24);
}

.btn-secondary {
    border: 1px solid rgba(111, 78, 55, 0.22);
    background: rgba(255, 255, 255, 0.68);
    color: var(--coffee-deep);
}

.hero-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.hero-notes div,
.hero-card,
.strip-card,
.content-card,
.quote-card,
.agenda-card,
.school-card,
.register-box,
.team-card,
.cause-link-card {
    border: 1px solid rgba(111, 78, 55, 0.14);
    background: rgba(255, 250, 240, 0.9);
    box-shadow: var(--shadow);
}

.hero-notes div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
}

.hero-notes span {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.hero-notes strong {
    color: var(--coffee-deep);
}

.hero-visual {
    display: grid;
    gap: 1rem;
}

.hero-emblem {
    padding: 1.1rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 223, 199, 0.92));
    border: 1px solid rgba(111, 78, 55, 0.14);
    box-shadow: var(--shadow);
}

.hero-emblem img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 8px);
}

.hero-card,
.content-card,
.quote-card,
.agenda-card,
.school-card,
.register-box,
.team-card,
.cause-link-card {
    border-radius: var(--radius-xl);
}

.hero-card {
    padding: 1.4rem;
}

.hero-card h2 {
    color: var(--coffee-deep);
    margin: 0.4rem 0 0.35rem;
    font-size: 1.4rem;
}

.hero-card p {
    color: var(--muted);
}

.panel-strip {
    padding-top: 0;
}

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

.strip-card {
    padding: 1.25rem 1.35rem;
    border-radius: 22px;
}

.strip-card span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.strip-card strong {
    color: var(--coffee-deep);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--coffee-deep);
    line-height: 1.05;
    margin: 0.5rem 0 0.75rem;
}

.section-heading p:last-child {
    color: var(--muted);
    max-width: 68ch;
}

.about-grid,
.founders-grid,
.charity-grid,
.cause-layout,
.register-box,
.footer-grid {
    display: grid;
    gap: 1.2rem;
}

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

.content-card,
.quote-card {
    padding: 1.6rem;
    border-radius: var(--radius-xl);
}

.content-card p,
.quote-card p,
.school-card p,
.agenda-card p,
.hero-card p,
.register-box p {
    color: var(--muted);
}

.content-card p:last-child,
.quote-card p:last-child {
    margin-top: 0.9rem;
}

.quote-card h3,
.school-card h3,
.agenda-name {
    color: var(--coffee-deep);
    margin-bottom: 0.45rem;
}

.quote-card .quote-line {
    color: var(--coffee);
    font-weight: 700;
}

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

.agenda-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 28px;
}

.agenda-card img {
    width: 140px;
    height: 140px;
    border-radius: 22px;
    object-fit: cover;
    border: 1px solid rgba(111, 78, 55, 0.12);
}

.agenda-name {
    font-size: 1.1rem;
    font-weight: 800;
}

.cause-layout {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
}

.cause-copy {
    display: grid;
    gap: 1rem;
}

.cause-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    color: var(--coffee-deep);
}

.cause-link-card {
    padding: 1.1rem;
}

.cause-link-card h3 {
    color: var(--coffee-deep);
    margin-bottom: 0.4rem;
}

.cause-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.cause-gallery img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(111, 78, 55, 0.12);
    box-shadow: var(--shadow);
}

.charity-grid {
    margin-top: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-card {
    padding: 1.4rem;
}

.school-card h3 {
    font-size: 1.25rem;
}

.register-box {
    align-items: center;
    grid-template-columns: 1fr auto;
    padding: 1.5rem;
}

.register-box h2 {
    color: var(--coffee-deep);
    margin: 0.45rem 0 0.4rem;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.team-card {
    overflow: hidden;
}

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

.team-copy {
    padding: 1.2rem 1.3rem 1.4rem;
}

.team-copy h3 {
    color: var(--coffee-deep);
    font-size: 1.3rem;
}

.team-copy p {
    color: var(--coffee);
    font-weight: 700;
}

.site-footer {
    padding: 3rem 0 1.6rem;
    background: linear-gradient(180deg, #5e402d, #3f2b1f);
    color: #fff8eb;
}

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

.footer-grid h3 {
    margin-bottom: 0.7rem;
    color: #f6e5bf;
}

.footer-grid p,
.footer-grid a,
.footer-bottom p {
    color: rgba(255, 248, 235, 0.84);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 248, 235, 0.12);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .team-hero-grid,
    .cause-layout,
    .register-box,
    .about-grid,
    .founders-grid,
    .agenda-grid,
    .charity-grid,
    .team-grid,
    .footer-grid,
    .strip-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card {
        grid-template-columns: 110px 1fr;
    }

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

@media (max-width: 760px) {
    .site-nav {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 14vw, 4.1rem);
    }

    .hero-notes,
    .cause-gallery {
        grid-template-columns: 1fr;
    }

    .section-shell {
        padding: 4rem 0;
    }
}

@media (max-width: 520px) {
    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .hero-actions,
    .register-box {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .agenda-card {
        grid-template-columns: 1fr;
    }

    .agenda-card img {
        width: 100%;
        height: 220px;
    }
}
