:root {
    --ink: #14272d;
    --muted: #5d7076;
    --line: #d7e2e4;
    --surface: #ffffff;
    --soft: #f5f8f7;
    --ocean: #00717d;
    --ocean-dark: #063f4b;
    --reef: #c65f47;
    --mangrove: #2e755b;
    --gold: #c79a35;
    --paper: #fbfcfb;
    --shadow: 0 18px 48px rgba(6, 63, 75, 0.11);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 4px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 0.95rem;
    line-height: 1.1;
}

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

.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-group {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border-radius: 8px;
    color: #244047;
    font-size: 0.94rem;
    font-weight: 700;
    padding: 10px 12px;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ocean-dark);
    background: var(--soft);
}

.subnav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    min-width: 236px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.subnav a {
    border-radius: 8px;
    color: #28454d;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 12px;
}

.subnav a:hover {
    color: var(--ocean-dark);
    background: var(--soft);
}

.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.hero {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(4, 39, 47, 0.86), rgba(4, 39, 47, 0.45) 54%, rgba(4, 39, 47, 0.18));
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    width: min(760px, calc(100% - 36px));
    margin-left: clamp(18px, 7vw, 100px);
    padding: 86px 0;
}

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

.hero .eyebrow,
.cta-band .eyebrow {
    color: #ffd46f;
}

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

h1 {
    margin-bottom: 20px;
    font-size: 4.65rem;
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: 2.55rem;
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 12px 18px;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
    color: #fff;
    background: var(--ocean);
}

.button-primary:hover {
    background: var(--ocean-dark);
}

.button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.button-light {
    color: var(--ocean-dark);
    background: #fff;
}

.section,
.split-section,
.page-hero,
.cta-band,
.strategy-wheel {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
}

.section {
    padding: 76px 0;
}

.section-intro,
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: start;
    padding: 76px 0;
}

.intro-copy p,
.split-section p,
.page-hero p {
    color: var(--muted);
    font-size: 1.08rem;
}

.section-heading {
    max-width: 680px;
}

.section-heading.centered {
    margin: 0 auto 38px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cards-grid:not(.four-columns) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-section {
    display: grid;
    gap: 24px;
}

.featured-video-card {
    overflow: hidden;
    width: min(840px, 100%);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(6, 63, 75, 0.06);
}

.video-tabs {
    position: relative;
    display: grid;
}

.video-tab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.video-tab-labels {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 14px 14px 0;
    background: #fff;
}

.video-tab-labels label {
    min-width: 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ocean-dark);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 8px 12px;
    text-align: center;
}

#video-en:checked ~ .video-tab-labels label[for="video-en"],
#video-kh:checked ~ .video-tab-labels label[for="video-kh"] {
    color: #fff;
    border-color: var(--ocean);
    background: var(--ocean);
}

.video-player-stack {
    padding: 14px;
}

.video-panel {
    display: none;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #071f26;
}

#video-en:checked ~ .video-player-stack .video-panel-en,
#video-kh:checked ~ .video-player-stack .video-panel-kh {
    display: block;
}

.video-panel video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-copy {
    padding: 0 24px 24px;
}

.video-copy h3 {
    margin-bottom: 6px;
}

.video-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.info-card,
.panel,
.contact-card,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(6, 63, 75, 0.06);
}

.info-card {
    min-height: 204px;
    padding: 26px;
}

.compact-card {
    min-height: 150px;
}

.info-card p,
.panel p,
.contact-card p {
    color: var(--muted);
}

.card-icon {
    display: block;
    width: 34px;
    height: 6px;
    margin-bottom: 24px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--ocean), var(--reef), var(--gold));
}

.muted-section {
    width: 100%;
    max-width: none;
    padding-left: max(18px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(18px, calc((100vw - var(--max-width)) / 2));
    background: linear-gradient(180deg, #f4f8f7, #edf4f2);
}

.page-hero {
    padding: 86px 0 52px;
}

.page-hero h1 {
    max-width: 900px;
    color: var(--ocean-dark);
    font-size: 3.75rem;
    line-height: 1.04;
}

.page-hero p {
    max-width: 750px;
}

.two-column,
.program-feature,
.contact-layout,
.target-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.panel {
    min-height: 340px;
    padding: 36px;
}

.image-panel {
    overflow: hidden;
    padding: 0;
}

.image-panel img,
.program-feature img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.program-feature {
    align-items: stretch;
}

.program-feature > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-card {
    position: relative;
    min-height: 270px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(6, 63, 75, 0.06);
}

.process-card span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 34px;
    place-items: center;
    border: 1px solid rgba(0, 113, 125, 0.25);
    border-radius: 50%;
    color: var(--ocean);
    font-weight: 800;
}

.process-card h3 {
    font-size: 1.35rem;
}

.process-card p,
.activity-item p,
.workplan-preview p,
.profile-card p {
    color: var(--muted);
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.activity-item {
    display: grid;
    grid-template-columns: 8px 1fr;
    gap: 20px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.activity-item h3,
.activity-item p {
    grid-column: 2;
}

.activity-item h3 {
    margin-bottom: 4px;
}

.activity-item::before {
    grid-row: 1 / span 2;
    width: 8px;
    min-height: 100%;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--ocean), var(--mangrove));
    content: "";
}

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

.profile-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(6, 63, 75, 0.06);
}

.profile-source {
    margin-bottom: 16px;
    color: var(--reef);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-card a {
    margin-top: auto;
    color: var(--ocean);
    font-weight: 800;
}

.workplan-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
}

.workplan-preview > div {
    max-width: 760px;
}

.strategy-wheel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 30px 0 92px;
}

.strategy-center,
.strategy-item {
    border-radius: 8px;
}

.strategy-center {
    grid-row: span 2;
    display: grid;
    min-height: 480px;
    place-items: center;
    padding: 44px;
    color: #fff;
    background: radial-gradient(circle at 30% 20%, #2a9b8c, var(--ocean-dark));
    box-shadow: var(--shadow);
    text-align: center;
}

.strategy-center span {
    display: block;
    color: #bdebe4;
    font-weight: 800;
    text-transform: uppercase;
}

.strategy-center strong {
    display: block;
    max-width: 340px;
    font-size: 3.75rem;
    line-height: 0.98;
}

.strategy-item {
    min-height: 229px;
    padding: 30px;
    border: 1px solid var(--line);
    background: #fff;
}

.target-layout {
    align-items: stretch;
}

.target-map {
    display: grid;
    min-height: 460px;
    align-content: end;
    gap: 12px;
    padding: 36px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 69, 82, 0.88), rgba(47, 125, 95, 0.72)),
        url("../images/hero-marine-conservation.png") center/cover;
    box-shadow: var(--shadow);
}

.target-map span {
    color: #ffd46f;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.target-map strong {
    max-width: 520px;
    font-size: 3rem;
    line-height: 1;
}

.target-details {
    display: grid;
    gap: 16px;
}

.target-details article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.target-details p {
    color: var(--muted);
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline .section-heading {
    margin-bottom: 16px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(6, 63, 75, 0.05);
}

.timeline-item span {
    color: var(--reef);
    font-size: 1.5rem;
    font-weight: 800;
}

.timeline-item p {
    margin-bottom: 0;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 90px;
    padding: 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--ocean-dark), var(--mangrove));
    border-radius: 8px;
}

.cta-band h2 {
    max-width: 780px;
    margin-bottom: 0;
}

.contact-layout {
    align-items: start;
}

.contact-card,
.contact-form {
    padding: 32px;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-list a,
.site-footer a {
    color: var(--ocean);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--ocean);
    outline: 3px solid rgba(0, 107, 120, 0.12);
}

.form-success {
    margin: 0 0 8px;
    border-radius: 8px;
    color: #185b3f;
    background: #e8f6ee;
    padding: 14px 16px;
}

.site-footer {
    padding: 58px clamp(18px, 4vw, 54px) 24px;
    color: #d9eeef;
    background: #082f39;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-brand small,
.site-footer p {
    color: #a9c4c8;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--max-width);
    margin: 38px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #a9c4c8;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle-label {
        display: grid;
        gap: 5px;
        width: 44px;
        height: 44px;
        place-content: center;
        border: 1px solid var(--line);
        border-radius: 8px;
        cursor: pointer;
    }

    .nav-toggle-label span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .primary-nav {
        position: absolute;
        top: 82px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .nav-toggle:checked ~ .primary-nav {
        display: flex;
    }

    .nav-group {
        display: grid;
    }

    .nav-group .nav-link {
        width: 100%;
    }

    .subnav {
        position: static;
        display: grid;
        min-width: 0;
        margin: 2px 0 8px 12px;
        padding: 4px 0 4px 10px;
        border-width: 0 0 0 1px;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .section-intro,
    .split-section,
    .two-column,
    .program-feature,
    .contact-layout,
    .target-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .cards-grid:not(.four-columns),
    .process-grid,
    .activity-list,
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strategy-wheel {
        grid-template-columns: 1fr;
    }

    .strategy-center {
        grid-row: auto;
        min-height: 320px;
    }

    h1 {
        font-size: 3.25rem;
    }

    h2,
    .page-hero h1,
    .strategy-center strong,
    .target-map strong {
        font-size: 2.55rem;
    }

    .workplan-preview {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .brand {
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        width: calc(100% - 36px);
        margin: 0 auto;
        padding-top: 120px;
    }

    .hero-media::after {
        background: linear-gradient(180deg, rgba(3, 38, 45, 0.52), rgba(3, 38, 45, 0.86));
    }

    .hero-actions,
    .cta-band,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .section,
    .section-intro,
    .split-section,
    .page-hero {
        padding: 52px 0;
    }

    .cards-grid,
    .cards-grid:not(.four-columns),
    .process-grid,
    .activity-list,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .info-card,
    .panel,
    .contact-card,
    .contact-form,
    .program-feature > div,
    .cta-band,
    .video-copy,
    .process-card,
    .activity-item,
    .profile-card {
        padding: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .video-tab-labels {
        justify-content: stretch;
    }

    .video-tab-labels label {
        flex: 1;
        min-width: 0;
    }

    h1 {
        font-size: 2.45rem;
    }

    h2,
    .page-hero h1,
    .strategy-center strong,
    .target-map strong {
        font-size: 2rem;
    }

    .hero p,
    .intro-copy p,
    .split-section p,
    .page-hero p {
        font-size: 1rem;
    }
}
