:root {
    --ink: #082f32;
    --muted: #55706f;
    --paper: #f6fbf7;
    --foam: #e7fff4;
    --lake: #007c89;
    --deep: #064c5c;
    --moss: #6a8f3a;
    --sun: #f7c95f;
    --coral: #ff7b61;
    --shadow: 0 24px 70px rgba(8, 47, 50, .16);
    --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(0, 124, 137, .17), transparent 35rem),
        linear-gradient(135deg, #f9fff8 0%, #edf8f2 42%, #f7fbff 100%);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: Fraunces, Georgia, serif;
    line-height: 1.02;
    margin: 0 0 1rem;
}

h1 { font-size: clamp(3rem, 7vw, 6.8rem); letter-spacing: -.06em; }
h2 { font-size: clamp(1.8rem, 3vw, 3.1rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: .75rem 1rem;
    z-index: 10;
}

.skip-link:focus { top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(18px);
    background: rgba(246, 251, 247, .78);
    border-bottom: 1px solid rgba(8, 47, 50, .08);
}

.nav-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: .9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--lake), #41c2a0);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 124, 137, .28);
}

.brand-logo {
    width: 104px;
    height: 104px;
    display: block;
    object-fit: contain;
    background: transparent;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    margin-top: .1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.nav-links a {
    padding: .72rem .9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #234a4c;
}

.nav-links a.active,
.nav-links a:hover {
    background: white;
    box-shadow: 0 10px 28px rgba(8, 47, 50, .08);
}

.nav-toggle { display: none; }

.hero,
.page-hero,
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 5rem 1.2rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 2rem;
    align-items: center;
    min-height: 740px;
}

.lake-gradient {
    position: relative;
}

.hero-copy,
.page-hero {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--lake);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
}

.lead,
.page-hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 780px;
}

.hero-actions,
.merch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    align-items: center;
    margin-top: 1.6rem;
}

.button {
    border: 0;
    border-radius: 999px;
    padding: .95rem 1.25rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button.primary {
    background: linear-gradient(135deg, var(--ink), var(--deep));
    color: white;
    box-shadow: 0 18px 36px rgba(8, 47, 50, .24);
}

.button.ghost {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(8, 47, 50, .1);
}

.water-card {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    background: linear-gradient(180deg, #bdebf2 0%, #eaf8e7 42%, #0e8791 43%, #074f63 100%);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.water-card p {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    font-weight: 800;
}

.sun,
.mountain,
.shore,
.water-rings span { position: absolute; }
.sun {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--sun);
    right: 11%;
    top: 12%;
    box-shadow: 0 0 0 30px rgba(247, 201, 95, .18);
}

.mountain {
    bottom: 43%;
    width: 58%;
    height: 42%;
    background: linear-gradient(135deg, #4f7f5b, #c4d28b);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.mountain.one { left: -8%; }
.mountain.two { right: -15%; transform: scale(.9); opacity: .8; }
.shore { inset: auto 0 48% 0; height: 36px; background: #d8c28c; }
.water-rings { position: absolute; inset: 50% 0 0; }
.water-rings span {
    width: 220px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    animation: ripple 4s infinite ease-out;
}
.water-rings span:nth-child(2) { animation-delay: 1.2s; }
.water-rings span:nth-child(3) { animation-delay: 2.4s; }

@keyframes ripple {
    from { transform: translate(-50%, -50%) scale(.3); opacity: .9; }
    to { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.intro-grid,
.topic-strip,
.action-grid,
.merch-grid,
.source-list,
.season-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.glass-card,
.topic-pill,
.selector-card,
.accordion,
.action-card,
.plan-builder,
.quiz-panel,
.merch-card,
.impact-panel,
.impact-calculator,
.calculator-card,
.season-card,
.funding-board,
.funding-list article,
.source-card,
.notice-card {
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(8, 47, 50, .09);
    box-shadow: 0 18px 50px rgba(8, 47, 50, .08);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.card-number,
.merch-badge {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--foam);
    color: var(--deep);
    font-weight: 900;
}

.split-panel,
.quiz-panel,
.impact-panel,
.impact-calculator,
.funding-board,
.plan-builder {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}

.selector-card label,
.check-row {
    display: block;
    font-weight: 900;
    margin-bottom: .6rem;
}

select,
input,
.plan-output {
    width: 100%;
    border: 1px solid rgba(8, 47, 50, .14);
    border-radius: 18px;
    padding: 1rem;
    background: white;
    color: var(--ink);
    font: inherit;
}

.result-box,
.quiz-feedback,
.calculator-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f0fbf7;
    color: var(--ink);
    font-weight: 700;
}

.page-hero.compact { padding-bottom: 2rem; }
.merch-hero { padding-bottom: 1rem; }

.accordion-list {
    display: grid;
    gap: 1rem;
}

.accordion-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-align: left;
    font-size: 1.25rem;
}

.accordion-toggle strong {
    color: var(--lake);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.accordion-panel {
    display: none;
    padding-top: 1rem;
}

.accordion-panel.open { display: block; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

li { margin-bottom: .45rem; color: var(--muted); }
.quiz-options { display: grid; gap: .75rem; }
.quiz-options button {
    border: 1px solid rgba(8, 47, 50, .12);
    border-radius: 18px;
    padding: 1rem;
    background: white;
    color: var(--ink);
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}

.action-grid,
.merch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.action-icon { font-size: 2.2rem; }
.check-row {
    display: flex;
    gap: .6rem;
    align-items: center;
    margin-top: 1rem;
}
.plan-output { min-height: 110px; white-space: pre-line; }

.product-art {
    min-height: 190px;
    border-radius: 24px;
    margin-bottom: 1rem;
    background:
        radial-gradient(circle at 65% 35%, rgba(255, 255, 255, .9), transparent 1.8rem),
        linear-gradient(135deg, #0d6d73, #89c879 48%, #f7c95f);
    display: grid;
    place-items: center;
}
.product-art span {
    width: 90px;
    height: 90px;
    border-radius: 30px 30px 42px 42px;
    border: 10px solid rgba(255, 255, 255, .78);
    transform: rotate(-8deg);
}
.impact-list { margin: 0; }
.calculator-card {
    display: grid;
    gap: 1rem;
}
.calculator-card label {
    display: grid;
    gap: .45rem;
    color: var(--ink);
    font-weight: 900;
}
.calculator-output {
    display: block;
    font-size: clamp(1.3rem, 2.8vw, 2.2rem);
    font-family: Fraunces, Georgia, serif;
    line-height: 1.1;
}
.season-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}
.section-heading { max-width: 720px; }
.season-card {
    position: relative;
    overflow: hidden;
}
.season-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--lake), var(--moss), var(--sun));
}
.season-card span {
    display: inline-flex;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #fff7df;
    color: #7b5c00;
    font-weight: 900;
    margin-bottom: 1rem;
}
.funding-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.source-card a { overflow-wrap: anywhere; color: var(--lake); font-weight: 800; }

.site-footer {
    max-width: 1180px;
    margin: 3rem auto 0;
    padding: 2rem 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(8, 47, 50, .1);
}
.site-footer p { max-width: 720px; }
.site-footer a { font-weight: 900; color: var(--lake); }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .hero,
    .split-panel,
    .quiz-panel,
    .impact-panel,
    .impact-calculator,
    .funding-board,
    .plan-builder,
    .two-col {
        grid-template-columns: 1fr;
    }
    .intro-grid,
    .topic-strip,
    .action-grid,
    .merch-grid,
    .source-list,
    .season-grid,
    .funding-list {
        grid-template-columns: 1fr;
    }
    .hero { min-height: auto; padding-top: 3rem; }
    .water-card { min-height: 390px; }
    .nav-toggle {
        display: inline-flex;
        border: 0;
        border-radius: 999px;
        padding: .7rem 1rem;
        background: var(--ink);
        color: white;
        font-weight: 900;
    }
    .nav-links {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: white;
        border-radius: 22px;
        padding: .7rem;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .site-footer { flex-direction: column; }
}
