/*
Theme Name: Clansthal Conservancy
Author: OpenAI
Description: Modern coastal conservation theme for Clansthal Conservancy.
Version: 1.1.0
*/

:root {
    --deep: #0b4644;
    --deep-dark: #073331;
    --green: #65866f;
    --green-soft: #dce6db;
    --blue: #9bcceb;
    --sand: #eee9dc;
    --cream: #f8f6ef;
    --white: #ffffff;
    --text: #183d3a;
    --muted: #687875;
    --line: rgba(24, 61, 58, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

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

p {
    margin-top: 0;
}

.cc-wrap,
.wrap {
    width: min(1180px, calc(100% - 60px));
    margin: 0 auto;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--deep);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.site-nav {
    min-height: 98px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
}

.site-branding img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.branding-text {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.site-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-description {
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 33px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: white;
    font-size: 15px;
    font-weight: 650;
    transition: opacity .2s ease;
}

.main-navigation a:hover {
    opacity: .65;
}

.header-cta {
    padding: 11px 20px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 100px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s ease;
}

.header-cta:hover {
    background: white;
    color: var(--deep);
}


/* ==================================================
   HOME â€“ GENERAL
================================================== */

.cc-home {
    overflow: hidden;
}

.cc-section {
    padding: 115px 0;
}

.cc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.cc-label,
.cc-eyebrow {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.cc-label {
    color: var(--green);
}


/* ==================================================
   HERO
================================================== */

.cc-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: white;

    background:
        radial-gradient(
            circle at 82% 19%,
            rgba(155,204,235,.25),
            transparent 26%
        ),
        linear-gradient(
            115deg,
            #083f3d 0%,
            #0b4b48 53%,
            #376762 100%
        );
}

/* subtle logo/wave reference */
.cc-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 230px;
    top: 115px;
    right: -180px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.cc-hero::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 240px;
    top: 165px;
    right: -205px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.cc-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 60px));
    margin: 0 auto;
    padding: 110px 0 105px;
}

.cc-hero .cc-eyebrow {
    color: rgba(255,255,255,.68);
}

.cc-hero h1 {
    max-width: 940px;
    margin: 0 0 32px;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(65px, 7.3vw, 105px);
    line-height: .94;
    font-weight: 400;
    letter-spacing: -.055em;
}

.cc-hero h1 em {
    color: #dce7db;
    font-weight: 400;
}

.cc-hero-text {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255,255,255,.78);
    font-size: 19px;
}


/* ==================================================
   BUTTONS
================================================== */

.cc-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--deep);
    border-radius: 100px;
    background: var(--deep);
    color: white;
    font-size: 14px;
    font-weight: 750;
    transition: .2s ease;
}

.cc-button:hover {
    transform: translateY(-2px);
    background: var(--green);
    border-color: var(--green);
}

.cc-button-light {
    background: white;
    border-color: white;
    color: var(--deep);
}

.cc-button-light:hover {
    background: transparent;
    color: white;
}

.cc-text-link {
    color: white;
    font-size: 14px;
    font-weight: 750;
}

.cc-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--deep);
    font-size: 14px;
    font-weight: 750;
}

.cc-arrow-link span {
    transition: transform .2s ease;
}

.cc-arrow-link:hover span {
    transform: translateX(5px);
}


/* ==================================================
   INTRODUCTION
================================================== */

.cc-intro {
    background: var(--cream);
}

.cc-intro h2,
.cc-community h2,
.cc-feature h2 {
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(47px, 4.5vw, 68px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.cc-intro h2 em,
.cc-community h2 em,
.cc-feature h2 em {
    color: var(--green);
    font-weight: 400;
}

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

.cc-copy p {
    margin-bottom: 20px;
    font-size: 17px;
}


/* ==================================================
   WHAT WE PROTECT
================================================== */

.cc-protect {
    background: white;
}

.cc-section-heading {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 55px;
}

.cc-section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 4.5vw, 68px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.cc-section-heading > p {
    margin: 0;
    color: var(--muted);
}

.cc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.cc-card {
    min-height: 330px;
    padding: 38px;
    background: var(--cream);
    transition: .25s ease;
}

.cc-card:hover {
    background: #edf1eb;
    transform: translateY(-4px);
}

.cc-card-number {
    margin-bottom: 75px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.cc-card h3 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
}

.cc-card p {
    max-width: 290px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

.cc-card a {
    color: var(--deep);
    font-size: 13px;
    font-weight: 750;
}


/* ==================================================
   CONSERVATION FEATURE
================================================== */

.cc-feature {
    background: var(--sand);
}

.cc-feature-text > p:not(.cc-label) {
    color: var(--muted);
}

.cc-list {
    list-style: none;
    margin: 30px 0 35px;
    padding: 0;
    border-top: 1px solid var(--line);
}

.cc-list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.cc-list li::before {
    content: "â€”";
    margin-right: 12px;
    color: var(--green);
}

.cc-feature-panel {
    position: relative;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 52px;
    background:
        radial-gradient(
            circle at 80% 12%,
            rgba(155,204,235,.42),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #174b48,
            #64806c
        );
    color: white;
}

.cc-feature-panel::before,
.cc-feature-panel::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 190px;
    right: -145px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.cc-feature-panel::before {
    top: 70px;
}

.cc-feature-panel::after {
    top: 115px;
    opacity: .55;
}

.cc-feature-panel span {
    position: relative;
    z-index: 2;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .23em;
}

.cc-feature-panel strong {
    position: relative;
    z-index: 2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 5vw, 75px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: -.05em;
}


/* ==================================================
   COMMUNITY
================================================== */

.cc-community {
    background: white;
}


/* ==================================================
   GET INVOLVED CTA
================================================== */

.cc-cta {
    position: relative;
    overflow: hidden;
    padding: 125px 0 140px;
    background: var(--deep-dark);
    color: white;
}

.cc-cta::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 260px;
    right: -130px;
    top: 120px;
    border: 1px solid rgba(155,204,235,.15);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.cc-cta .cc-wrap {
    position: relative;
    z-index: 2;
}

.cc-cta .cc-label {
    color: var(--blue);
}

.cc-cta h2 {
    max-width: 850px;
    margin: 0 0 25px;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 6vw, 88px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: -.05em;
}

.cc-cta h2 em {
    color: #dce7db;
}

.cc-cta p:not(.cc-label) {
    max-width: 600px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.67);
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: #062a29;
    color: white;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-brand {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.footer-grid p {
    max-width: 470px;
    color: rgba(255,255,255,.56);
    font-size: 14px;
}

.footer-grid h4 {
    margin: 0 0 17px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;
    margin: 7px 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.42);
    font-size: 11px;
}


/* ==================================================
   OTHER PAGES
================================================== */

.page-hero {
    padding: 120px 0 75px;
    background: var(--green-soft);
}

.page-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 6vw, 75px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.content-area {
    width: min(900px, calc(100% - 60px));
    margin: 0 auto;
    padding: 80px 0 110px;
}

.content-area h2 {
    margin-top: 55px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
}

.content-area p,
.content-area li {
    color: var(--muted);
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 980px) {

    .main-navigation {
        display: none;
    }

    .site-nav {
        min-height: 82px;
    }

    .site-branding img {
        width: 58px;
        height: 58px;
    }

    .header-cta {
        margin-left: auto;
    }

    .cc-two-col,
    .cc-section-heading {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cc-cards {
        grid-template-columns: 1fr;
    }

    .cc-card {
        min-height: auto;
    }

    .cc-card-number {
        margin-bottom: 35px;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {

    .cc-wrap,
    .wrap,
    .cc-hero-content,
    .content-area {
        width: calc(100% - 34px);
    }

    .branding-text {
        display: none;
    }

    .header-cta {
        padding: 9px 15px;
        font-size: 12px;
    }

    .cc-section {
        padding: 80px 0;
    }

    .cc-hero {
        min-height: 650px;
    }

    .cc-hero-content {
        padding: 80px 0;
    }

    .cc-hero h1 {
        font-size: 54px;
    }

    .cc-hero-text {
        font-size: 17px;
    }

    .cc-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .cc-intro h2,
    .cc-community h2,
    .cc-feature h2,
    .cc-section-heading h2 {
        font-size: 46px;
    }

    .cc-feature-panel {
        min-height: 350px;
        padding: 32px;
    }

    .cc-feature-panel strong {
        font-size: 52px;
    }

    .cc-cta {
        padding: 90px 0 100px;
    }

    .cc-cta h2 {
        font-size: 52px;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
/* ==================================================
   FOUR-COLUMN PROTECTION CARDS
================================================== */

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

.cc-cards-four .cc-card {
    padding: 32px;
}

.cc-cards-four .cc-card h3 {
    font-size: 27px;
}


/* ==================================================
   OUR STORY
================================================== */

.cc-story {
    background: var(--cream);
}

.cc-story-number {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(155,204,235,.35),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #174b48,
            #789381
        );
    color: white;
}

.cc-story-number::before,
.cc-story-number::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 180px;
    right: -130px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.cc-story-number::before {
    top: 60px;
}

.cc-story-number::after {
    top: 105px;
    opacity: .55;
}

.cc-story-number span,
.cc-story-number strong {
    position: relative;
    z-index: 2;
}

.cc-story-number span {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.cc-story-number strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(80px, 9vw, 130px);
    line-height: .9;
    font-weight: 400;
    letter-spacing: -.06em;
}


/* ==================================================
   LATEST NEWS
================================================== */

.cc-news {
    background: #eef1eb;
}

.cc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cc-news-card {
    overflow: hidden;
    background: white;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.cc-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(24,61,58,.08);
}

.cc-news-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sand);
}

.cc-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.cc-news-card:hover .cc-news-image img {
    transform: scale(1.03);
}

.cc-news-content {
    padding: 30px;
}

.cc-news-date {
    display: block;
    margin-bottom: 14px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.cc-news-content h3 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 400;
}

.cc-news-content p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.cc-news-link {
    color: var(--deep);
    font-size: 13px;
    font-weight: 750;
}

.cc-news-empty {
    grid-column: 1 / -1;
    max-width: 700px;
    padding: 55px;
    background: white;
}

.cc-news-empty h3 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
}

.cc-news-empty p:not(.cc-label) {
    color: var(--muted);
}


/* ==================================================
   RESPONSIVE ADDITIONS
================================================== */

@media (max-width: 1100px) {

    .cc-cards-four {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 980px) {

    .cc-news-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 620px) {

    .cc-cards-four,
    .cc-news-grid {
        grid-template-columns: 1fr;
    }

    .cc-story-number {
        min-height: 320px;
        padding: 32px;
    }

    .cc-news-empty {
        padding: 35px 25px;
    }

}

/* ==================================================
   MOBILE NAVIGATION
================================================== */

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 999px;
    transition: transform .25s ease, opacity .2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-navigation {
    display: none;
    background: var(--deep-dark);
    border-top: 1px solid rgba(255,255,255,.10);
}

.mobile-navigation ul {
    width: min(1180px, calc(100% - 60px));
    margin: 0 auto;
    padding: 16px 0 22px;
    list-style: none;
}

.mobile-navigation li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.mobile-navigation li:last-child {
    border-bottom: 0;
}

.mobile-navigation a {
    display: block;
    padding: 15px 0;
    color: white;
    font-size: 15px;
    font-weight: 700;
}

.mobile-navigation a:hover {
    opacity: .7;
}

@media (max-width: 980px) {

    .site-nav {
        gap: 14px;
    }

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

    .mobile-navigation.is-open {
        display: block;
    }

    .header-cta {
        margin-left: auto;
    }
}

@media (max-width: 620px) {

    .site-nav {
        min-height: 78px;
        gap: 10px;
    }

    .site-branding img {
        width: 52px;
        height: 52px;
    }

    .header-cta {
        padding: 8px 12px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mobile-navigation ul {
        width: calc(100% - 34px);
    }

    .mobile-navigation a {
        padding: 14px 0;
        font-size: 15px;
    }
}
