@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/inter-latin.woff2") format("woff2");
}

:root {
    --font-sans: "Inter", Arial, Helvetica, sans-serif;
    --font-size-h1: clamp(2.65rem, 5vw, 4.75rem);
    --font-size-h2: clamp(2rem, 3.7vw, 3.5rem);
    --font-size-h3: clamp(1.125rem, 1.5vw, 1.35rem);
    --font-size-h4: 1.05rem;
    --font-size-h5: 1rem;
    --font-size-h6: 0.925rem;
    --ink: #17251f;
    --muted: #53645b;
    --paper: #f7f2e8;
    --paper-deep: #eee5d4;
    --surface: #fffdf8;
    --green: #1f6b4d;
    --green-deep: #114b36;
    --green-soft: #d9eadc;
    --coral: #cf624c;
    --coral-soft: #f4d6cb;
    --line: rgba(23, 37, 31, 0.16);
    --shadow: 0 20px 60px rgba(41, 54, 45, 0.12);
    --radius: 22px;
    --radius-small: 12px;
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

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

:focus-visible {
    outline: 3px solid #f2aa43;
    outline-offset: 4px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    color: white;
    background: var(--green-deep);
    border-radius: var(--radius-small);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 74px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 242, 232, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(23, 37, 31, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: inherit;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: white;
    background: var(--coral);
    border-radius: 50% 50% 44% 56%;
    font-size: 0.9rem;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
    font-size: 0.87rem;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav a:not(.nav-cta):hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.nav-cta {
    padding: 9px 15px;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.menu-button {
    display: none;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 700;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 780px;
    height: min(860px, 100dvh);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: white;
    background: var(--green-deep);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center;
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 38, 27, 0.95) 0%, rgba(11, 38, 27, 0.82) 35%, rgba(11, 38, 27, 0.22) 64%, rgba(11, 38, 27, 0.05) 100%),
        linear-gradient(0deg, rgba(11, 38, 27, 0.28), transparent 55%);
}

.hero-inner {
    padding-top: 72px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    color: inherit;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow {
    color: #f8d7a6;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 24px;
    font-size: var(--font-size-h1);
    font-weight: 850;
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

h5 {
    font-size: var(--font-size-h5);
}

h6 {
    font-size: var(--font-size-h6);
}

h1 span {
    display: block;
}

h1 span:first-child {
    color: #f2aa43;
}

.hero-lede {
    max-width: 590px;
    margin-bottom: 32px;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, background-color 160ms ease;
}

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

.button-primary {
    color: var(--green-deep);
    background: #f2aa43;
}

.button-primary:hover {
    background: #ffc265;
}

.button-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.urgent-bar {
    color: white;
    background: var(--coral);
}

.urgent-inner {
    min-height: 90px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.urgent-inner strong {
    font-family: var(--font-sans);
    font-size: 1.08rem;
}

.urgent-inner p {
    margin: 0;
    line-height: 1.45;
}

.urgent-inner a {
    font-weight: 800;
    text-underline-offset: 4px;
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-block: 58px 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.chapter-nav a {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    text-decoration: none;
    border-right: 1px solid var(--line);
    transition: background-color 160ms ease;
}

.chapter-nav a:last-child {
    border-right: 0;
}

.chapter-nav a:hover {
    background: var(--green-soft);
}

.chapter-nav span {
    color: var(--coral);
    font-size: 0.73rem;
    font-weight: 800;
}

.chapter-nav strong {
    margin-block: 5px;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.chapter-nav small {
    color: var(--muted);
    font-size: 0.82rem;
}

.section {
    padding-block: 110px;
}

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

.section-heading.compact {
    margin: 0 0 34px;
    text-align: left;
}

.section-kicker {
    color: var(--coral);
}

.section-heading h2,
.when-copy h2,
.sources-layout h2,
.final-cta h2 {
    margin-bottom: 24px;
    font-size: var(--font-size-h2);
}

.section-heading p:last-child,
.when-copy > p {
    max-width: 680px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 1.08rem;
}

.section-heading.compact p:last-child {
    margin-inline: 0;
}

.fact-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.4fr;
    gap: 28px;
    align-items: stretch;
}

.fact-callout {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 38px;
    color: white;
    background: var(--green-deep);
    border-radius: var(--radius);
}

.fact-callout::before {
    content: "Maiiwasan";
    margin-bottom: auto;
    color: #f2aa43;
    font-family: var(--font-sans);
    font-size: clamp(2.35rem, 3.8vw, 3.75rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 1;
}

.fact-callout strong {
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-size: 1.45rem;
    line-height: 1.15;
}

.fact-callout p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.transmission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.transmission-item {
    min-height: 230px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}

.transmission-item:nth-child(2),
.transmission-item:nth-child(3) {
    background: var(--green-soft);
}

.transmission-item span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 42px;
    place-items: center;
    color: white;
    background: var(--coral);
    border-radius: 50%;
    font-size: 0.77rem;
    font-weight: 800;
}

.transmission-item h3 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.transmission-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.when-section {
    background: var(--surface);
}

.when-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}

.when-copy {
    position: sticky;
    top: 120px;
}

.when-copy > p {
    margin-inline: 0;
}

.warning-note {
    margin-top: 34px;
    padding: 26px;
    background: var(--coral-soft);
    border-left: 5px solid var(--coral);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.warning-note p {
    margin: 8px 0 0;
    color: #603a31;
}

.action-list h3 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.action-list ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.action-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.action-list li:first-child {
    border-top: 1px solid var(--line);
}

.action-list li span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
}

.action-list li p {
    margin: 0;
    line-height: 1.5;
}

.response-strip {
    margin-top: 90px;
    padding: 42px;
    color: white;
    background: var(--green-deep);
    border-radius: var(--radius);
}

.response-strip h3 {
    margin-bottom: 30px;
    color: #f2aa43;
    font-size: 1.5rem;
}

.response-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.response-steps strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
}

.response-steps p,
.response-footnote {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.response-footnote {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

.who-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(42px, 7vw, 90px);
    align-items: center;
}

.who-photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.who-photo img {
    width: 100%;
    height: clamp(380px, 42vw, 520px);
    object-fit: cover;
    object-position: 44% center;
}

.contact-roles {
    display: grid;
    gap: 10px;
}

.role {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.role:first-child {
    border-top: 1px solid var(--line);
}

.role summary {
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.role p {
    margin: 13px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.care-divider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 70px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.care-divider div {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.care-divider div:first-child {
    background: var(--green-soft);
}

.care-divider div:last-child {
    background: var(--coral-soft);
}

.care-divider span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.care-divider strong {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    line-height: 1.2;
}

.directory-section {
    background: var(--paper-deep);
}

.directory-controls {
    display: grid;
    grid-template-columns: auto minmax(300px, 1fr);
    gap: 20px;
    align-items: end;
    margin-bottom: 34px;
}

.directory-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 999px;
}

.directory-tabs button {
    padding: 10px 18px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.directory-tabs button[aria-selected="true"] {
    color: white;
    background: var(--green-deep);
}

.directory-search {
    display: grid;
    gap: 7px;
}

.directory-search span {
    font-size: 0.8rem;
    font-weight: 800;
}

.directory-search input {
    width: 100%;
    min-height: 48px;
    padding: 11px 15px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid rgba(23, 37, 31, 0.3);
    border-radius: var(--radius-small);
}

.directory-search input::placeholder {
    color: #6b756f;
}

.directory-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.directory-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.directory-card[hidden] {
    display: none;
}

.directory-card h3 {
    margin-bottom: 13px;
    font-size: 1.05rem;
    line-height: 1.25;
}

.directory-card p {
    margin-bottom: 18px;
    color: var(--muted);
    line-height: 1.5;
}

.directory-card a,
.directory-card span {
    margin-top: auto;
    color: var(--green-deep);
    font-size: 0.88rem;
    font-weight: 800;
    text-underline-offset: 3px;
}

.directory-empty {
    margin: 30px 0 0;
    padding: 22px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-small);
}

.sources-section {
    padding-block: 80px;
}

.sources-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.sources-layout h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 2.6vw, 2.6rem);
}

.sources-layout p {
    color: var(--muted);
}

.sources-layout details {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sources-layout summary {
    cursor: pointer;
    font-weight: 800;
}

.sources-layout ul {
    margin: 20px 0 0;
    padding-left: 20px;
}

.sources-layout li + li {
    margin-top: 10px;
}

.sources-layout a {
    color: var(--green-deep);
    text-underline-offset: 3px;
}

.final-cta {
    padding-block: 84px;
    color: white;
    background: var(--green-deep);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.final-cta p {
    margin-bottom: 8px;
    color: #f2aa43;
    font-weight: 800;
}

.final-cta h2 {
    max-width: 780px;
    margin-bottom: 0;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.button-light {
    flex: 0 0 auto;
    color: var(--green-deep);
    background: white;
}

.site-footer {
    padding-block: 30px;
    background: var(--paper);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-inner p {
    margin: 0;
}

.footer-inner p:nth-child(2) {
    text-align: center;
}

.footer-brand {
    color: var(--ink);
}

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

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

@media (max-width: 1000px) {
    .site-nav {
        gap: 18px;
        font-size: 0.8rem;
    }

    .urgent-inner {
        grid-template-columns: 1fr auto;
        padding-block: 18px;
    }

    .urgent-inner strong {
        grid-column: 1;
    }

    .urgent-inner p {
        grid-column: 1;
    }

    .urgent-inner a {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .fact-layout,
    .when-grid,
    .who-layout {
        grid-template-columns: 1fr;
    }

    .fact-callout {
        min-height: 360px;
    }

    .when-copy {
        position: static;
    }

    .who-photo img {
        height: clamp(260px, 52vw, 420px);
    }
}

@media (max-width: 820px) {
    :root {
        --shell: min(680px, calc(100% - 28px));
    }

    .site-header {
        height: 66px;
    }

    .menu-button {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset: 66px 0 auto;
        display: grid;
        gap: 0;
        padding: 14px;
        color: var(--ink);
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        transition: transform 180ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
    }

    .site-nav a {
        padding: 13px 10px;
    }

    .nav-cta {
        border: 0;
        border-radius: 0;
    }

    .hero {
        min-height: 760px;
        height: auto;
        align-items: end;
    }

    .hero-image {
        object-position: 66% center;
    }

    .hero-shade {
        background: linear-gradient(0deg, rgba(11, 38, 27, 0.98) 0%, rgba(11, 38, 27, 0.86) 48%, rgba(11, 38, 27, 0.18) 100%);
    }

    .hero-inner {
        padding-block: 300px 64px;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 9.2vw, 3.4rem);
        overflow-wrap: anywhere;
    }

    .urgent-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-block: 20px;
    }

    .urgent-inner strong,
    .urgent-inner p,
    .urgent-inner a {
        grid-column: 1;
        grid-row: auto;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-nav a {
        min-height: 130px;
        border-bottom: 1px solid var(--line);
    }

    .chapter-nav a:nth-child(2) {
        border-right: 0;
    }

    .chapter-nav a:nth-child(3),
    .chapter-nav a:nth-child(4) {
        border-bottom: 0;
    }

    .section {
        padding-block: 82px;
    }

    .section-heading {
        margin-bottom: 44px;
        text-align: left;
    }

    .section-heading p:last-child {
        margin-inline: 0;
    }

    .response-steps,
    .directory-list {
        grid-template-columns: 1fr;
    }

    .care-divider {
        grid-template-columns: 1fr;
    }

    .directory-controls,
    .sources-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 12px;
    }

    .footer-inner p:nth-child(2) {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .hero-actions,
    .button {
        width: 100%;
    }

    .chapter-nav {
        grid-template-columns: 1fr;
    }

    .chapter-nav a {
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .chapter-nav a:nth-child(3) {
        border-bottom: 1px solid var(--line);
    }

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

    .fact-callout,
    .response-strip,
    .care-divider div,
    .directory-card {
        padding: 26px;
    }

    .response-steps {
        gap: 24px;
    }

    .directory-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .directory-tabs button {
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

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