@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
    --near-black: #0e0f0c;
    --wise-green: #9fe870;
    --dark-green: #163300;
    --light-mint: #e2f6d5;
    --pastel-green: #cdffad;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --border: rgba(14,15,12,0.12);
    --font: 'Inter', Helvetica, Arial, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background: var(--white);
    font-feature-settings: "calt";
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

h1, h2, h3, h4 {
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: normal;
    font-feature-settings: "calt";
    color: var(--near-black);
}

h1 { font-size: clamp(3rem, 6vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
h4 { font-size: 1.375rem; line-height: 1.23; font-weight: 600; letter-spacing: -0.39px; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.108px;
    font-feature-settings: "calt";
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    padding: 14px 28px;
    transition: transform 0.15s ease;
    text-decoration: none;
}
.btn:hover { transform: scale(1.05); text-decoration: none; }
.btn:active { transform: scale(0.95); }

.btn-primary {
    background: var(--wise-green);
    color: var(--dark-green);
}
.btn-secondary {
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-mark {
    background: var(--wise-green);
    color: var(--dark-green);
    font-weight: 900;
    font-size: 0.875rem;
    border-radius: 9999px;
    padding: 6px 10px;
    line-height: 1;
    font-feature-settings: "calt";
}
.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--near-black);
    font-feature-settings: "calt";
}
.primary-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.primary-nav a {
    display: block;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--near-black);
    transition: background 0.15s;
    font-feature-settings: "calt";
}
.primary-nav a:hover,
.primary-nav a.active {
    background: rgba(211,242,192,0.4);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: all 0.2s;
}

.site-footer {
    background: var(--near-black);
    color: var(--white);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .site-logo .logo-text { color: var(--white); }
.footer-tagline {
    margin-top: 16px;
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.site-footer h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--wise-green); }
.footer-contact address { color: rgba(255,255,255,0.8); font-size: 0.9375rem; line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--wise-green); }
.footer-contact p + p { margin-top: 8px; }
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { color: var(--gray); font-size: 0.875rem; margin-bottom: 6px; }
.footer-bottom a { color: var(--gray); text-decoration: underline; }
.footer-disclaimer { font-size: 0.8125rem !important; }

.hero {
    padding: 100px 0 80px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}
.hero h1 { margin-bottom: 24px; }
.hero-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-dark);
    margin-bottom: 36px;
    line-height: 1.5;
}
.hero-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 80px 0; }
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 12px;
}
.section-heading { margin-bottom: 48px; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    border-radius: 30px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14,15,12,0.1);
    text-decoration: none;
}
.card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}
.card-title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: -0.39px;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}
.card-excerpt { color: var(--warm-dark); font-size: 1rem; line-height: 1.5; flex: 1; }
.card-meta { margin-top: 16px; font-size: 0.875rem; color: var(--gray); font-weight: 600; }

.feature-strip {
    background: var(--near-black);
    color: var(--white);
    padding: 80px 0;
}
.feature-strip h2 { color: var(--white); }
.feature-strip .section-label { color: var(--gray); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.feature-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 32px;
}
.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--wise-green);
    line-height: 0.85;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}
.feature-item h3 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--white);
    margin-bottom: 12px;
}
.feature-item p { color: rgba(255,255,255,0.7); font-size: 1rem; }

.contact-section { background: var(--light-surface); padding: 80px 0; }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-form {
    background: var(--white);
    border-radius: 30px;
    border: 1px solid var(--border);
    padding: 40px;
}
.contact-form h3 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: -0.39px;
    margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--warm-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--near-black);
    background: var(--white);
    transition: border-color 0.15s;
    font-feature-settings: "calt";
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 8px; }

.article-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--border); }
.article-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--near-black); }
.breadcrumb-sep { color: var(--gray); }
.article-meta { margin-top: 20px; font-size: 0.9375rem; color: var(--gray); font-weight: 600; }

.article-body { padding: 64px 0; }
.article-content {
    max-width: 720px;
    margin: 0 auto;
}
.article-content h2 { font-size: 2.5rem; margin-bottom: 20px; margin-top: 48px; }
.article-content h3 { font-size: 1.75rem; margin-bottom: 16px; margin-top: 36px; }
.article-content p { margin-bottom: 1.25rem; font-size: 1.125rem; line-height: 1.7; }
.article-content ul, .article-content ol { margin: 0 0 1.25rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; font-size: 1.125rem; line-height: 1.7; }
.article-content a { color: var(--dark-green); text-decoration: underline; }
.article-figure {
    margin: 36px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--gray);
    background: var(--light-surface);
}
.article-related { background: var(--light-surface); padding: 64px 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }

.page-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--border); }
.page-content { padding: 64px 0; max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 2rem; margin-bottom: 16px; margin-top: 40px; }
.page-content h3 { font-size: 1.5rem; margin-bottom: 12px; margin-top: 28px; }
.page-content p { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { margin: 0 0 1.25rem 1.5rem; }
.page-content li { margin-bottom: 0.5rem; font-size: 1.0625rem; line-height: 1.6; }
.page-content a { color: var(--dark-green); text-decoration: underline; }

.highlight-box {
    background: var(--light-mint);
    border-left: 4px solid var(--wise-green);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 28px 0;
}
.highlight-box p { font-weight: 600; color: var(--dark-green); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.team-card {
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 28px;
    background: var(--white);
}
.team-card h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.team-card .role { font-size: 0.875rem; color: var(--dark-green); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.9375rem; color: var(--warm-dark); margin: 0; line-height: 1.55; }

.articles-index { padding: 80px 0; }
.articles-list { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.article-list-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    border-radius: 30px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.2s;
}
.article-list-item:hover { box-shadow: 0 8px 24px rgba(14,15,12,0.08); }
.article-list-image { aspect-ratio: 4/3; overflow: hidden; }
.article-list-image img { width: 100%; height: 100%; object-fit: cover; }
.article-list-body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.article-list-body h2 { font-size: 1.625rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.39px; margin-bottom: 10px; }
.article-list-body p { font-size: 1rem; color: var(--warm-dark); line-height: 1.55; margin-bottom: 16px; }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 600px;
    background: var(--near-black);
    color: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 20px 24px;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.9375rem; color: rgba(255,255,255,0.85); margin: 0; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--wise-green); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.9375rem; }

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { order: -1; max-height: 340px; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .article-hero-inner { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .article-list-item { grid-template-columns: 1fr; }
    .article-list-image { aspect-ratio: 16/9; }
    .article-list-body { padding: 20px; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .articles-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .feature-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
        z-index: 99;
    }
    .primary-nav.open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 4px; }
    .header-inner { position: relative; }
}
