/* ============================================
   Vlinder — Design System
   Corporate identity from the Vlinder logo:
     brand-blue #445FFC · brand-cyan #32D5D1
   Plus a navy / cream support palette.
   ============================================ */

:root {
    /* Surfaces */
    --navy-900: #0A1929;
    --navy-800: #0F2030;
    --navy-700: #1E3548;
    --navy-600: #2F4A60;
    --navy-500: #3D5C75;
    --navy-300: #758898;
    --navy-200: #A9B6C2;

    /* Brand accents (from Vlinder logo).
       brand-cyan is the primary accent; brand-blue is the supporting accent
       (used in gradients and the "today" trajectory marker). */
    --brand-cyan: #32D5D1;
    --brand-cyan-700: #0B6F66;
    --brand-cyan-600: #11978D;
    --brand-cyan-300: #5BDCC9;
    --brand-blue: #445FFC;
    --brand-blue-600: #3349d6;
    --brand-blue-300: #6b82fc;

    --cream-100: #FAF7F1;
    --cream-200: #F1ECDF;
    --paper: #FFFFFF;

    --ink-900: #0A1929;
    --ink-700: #1E3548;
    --ink-500: #4A5D70;
    --ink-400: #758898;
    --ink-300: #A9B6C2;

    --border-soft: rgba(10, 25, 41, 0.08);
    --border-strong: rgba(10, 25, 41, 0.14);
    --border-dark-soft: rgba(255, 255, 255, 0.08);
    --border-dark-strong: rgba(255, 255, 255, 0.16);

    /* Semantic aliases */
    --color-primary: var(--brand-cyan);
    --color-primary-hover: var(--brand-cyan-600);
    --color-accent: var(--brand-cyan);
    --color-accent-2: var(--brand-cyan);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(10, 25, 41, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 25, 41, 0.08);
    --shadow-lg: 0 24px 60px rgba(10, 25, 41, 0.14);
    --shadow-xl: 0 32px 80px rgba(10, 25, 41, 0.22);

    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--paper);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
sub { font-size: 0.7em; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink-900);

}

::selection { background: var(--brand-cyan); color: #fff; }

/* --- Utility --- */
.skip-link {
    position: absolute; top: -100%; left: var(--space-md);
    background: var(--navy-900); color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 9999; font-size: 0.875rem;
}
.skip-link:focus { top: var(--space-md); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }
.container--narrow { max-width: 880px; }

.text-large { font-size: 1.25rem; line-height: 1.55; font-weight: 400; color: var(--ink-700); }
.text-accent { color: var(--brand-cyan); font-style: italic; }
.text-loss { color: var(--navy-300); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255,255,255,0.25); }
.muted { color: var(--ink-400); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); font-size: 0.85em; }
.mono--dim { color: var(--ink-400); }

/* --- Eyebrow labels (deck-style numbered chapters) --- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem; font-weight: 600;
    color: var(--brand-cyan-700);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: var(--space-lg);
}
.eyebrow--light { color: var(--brand-cyan); }
.eyebrow--accent { color: var(--brand-cyan); }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--transition-slow), transform var(--transition-slow); }
.reveal.visible { opacity: 1; transform: none; }
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.48s; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body); font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.btn-sm { font-size: 0.8125rem; padding: 0.5rem 1.1rem; }
.btn-lg { font-size: 0.9375rem; padding: 0.95rem 1.75rem; }

.btn-primary {
    background: var(--brand-cyan); color: var(--navy-900); border-color: var(--brand-cyan);
}
.btn-primary:hover {
    background: var(--brand-cyan-600); border-color: var(--brand-cyan-600);
    transform: translateY(-1px); box-shadow: 0 10px 28px rgba(50, 213, 209, 0.32);
}
.btn-ghost {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); }
.btn-ghost-light {
    background: transparent; color: var(--cream-100);
    border-color: rgba(255,255,255,0.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.06); border-color: var(--brand-cyan); color: var(--brand-cyan); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 25, 41, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark-soft);
    padding: var(--space-sm) 0;
}
.header-inner { display: flex; align-items: center; gap: var(--space-xl); }
.logo img {
    height: 30px; width: auto;
    /* full-colour mark; the wordmark inside the SVG is white for the dark header */
    transition: var(--transition);
}
.main-nav {
    display: flex; align-items: center;
    gap: var(--space-xl);
    margin-left: auto;
}
.nav-link {
    font-family: var(--font-body); font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.78);
    transition: color var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--brand-cyan);
    transition: width var(--transition);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.header-cta {
    margin-left: var(--space-sm);
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.32);
}
.header-cta:hover {
    background: var(--brand-cyan); border-color: var(--brand-cyan);
    color: var(--navy-900);
    box-shadow: 0 6px 20px rgba(50, 213, 209, 0.4);
    transform: translateY(-1px);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: var(--space-sm); margin-left: auto;
}
.menu-toggle span {
    width: 22px; height: 1.5px;
    background: #fff; border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: var(--navy-900);
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.mobile-nav-link {
    font-family: var(--font-display); font-size: 1.75rem; font-weight: 600;
    color: #fff; letter-spacing: -0.02em;
}
.mobile-nav-link:hover { color: var(--brand-cyan); }
.mobile-nav-cta { margin-top: var(--space-lg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(60% 60% at 20% 30%, rgba(50, 213, 209, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(10, 25, 41, 0.62) 0%, rgba(10, 25, 41, 0.42) 45%, rgba(10, 25, 41, 0.78) 100%);
}
.hero-grain {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    padding-top: 160px; padding-bottom: 200px;
    max-width: 920px;
}
.hero-heading {
    font-size: clamp(2.4rem, 6.4vw, 5.2rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.hero-subtitle {
    font-size: 1.1875rem; line-height: 1.55;
    color: rgba(255,255,255,0.78);
    margin-bottom: var(--space-2xl);
    max-width: 620px;
    font-weight: 400;
}
.hero-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* Hero stats strip */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 2;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(10, 25, 41, 0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-dark-soft);
}
.hero-stat {
    padding: var(--space-xl) var(--space-lg);
    border-right: 1px solid var(--border-dark-soft);
    text-align: center;
}
.hero-stat:last-of-type { border-right: none; }
/* footnote row: the starred figures include investment projects */
.hero-stats-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0 var(--space-lg) var(--space-sm);
    text-align: left;
    font-size: 0.6rem; letter-spacing: 0.02em;
    color: rgba(255,255,255,0.38);
}
.hero-stat-star {
    color: var(--brand-cyan);
    font-size: 0.5em; font-weight: 300;
    vertical-align: 0.75em;
    margin-left: 0.05em;
}
.hero-stat-number {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    color: #fff; letter-spacing: -0.02em;
    line-height: 1;
}
.hero-stat-plus { color: var(--brand-cyan); font-weight: 700; }
.hero-stat-label {
    display: block;
    font-family: var(--font-body); font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: var(--space-sm);
    text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500;
}

/* ============================================
   SECTIONS — base
   ============================================ */
.section { padding: var(--space-4xl) 0; position: relative; }
.section--cream { background: var(--cream-100); }
.section--dark {
    background: var(--navy-900); color: rgba(255,255,255,0.86);
    position: relative;
}
.section--dark::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
    opacity: 0.6;
}

/* About Vlinder: short intro block between hero and portfolio */
.section--about {
    background: var(--paper);
    padding: var(--space-4xl) 0 var(--space-3xl);
}
.section--about .section-subtitle { margin-bottom: 0; }

/* Portfolio section: cream surface with a faded drone aerial backdrop */
.section--portfolio {
    background: var(--cream-100);
    position: relative;
    overflow: hidden;
}
.section--portfolio::before {
    content: '';
    position: absolute; inset: 0;
    background: url("img/projects-bg.jpg") center 30% / cover no-repeat;
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}
.section--portfolio::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        var(--cream-100) 0%,
        rgba(250, 247, 241, 0.55) 18%,
        rgba(250, 247, 241, 0.55) 82%,
        var(--cream-100) 100%);
    z-index: 1;
    pointer-events: none;
}
.section--portfolio > .container { position: relative; z-index: 2; }

.section-heading {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
    max-width: 800px;

}
.section-heading em { font-style: italic; color: var(--brand-cyan-700); font-weight: 700; }
.section-heading--light { color: #fff; }

.section-subtitle {
    font-size: 1.0625rem; line-height: 1.6;
    color: var(--ink-500);
    max-width: 720px;
    margin-bottom: var(--space-3xl);
}
/* two lead paragraphs read as one block, not two sections */
.section-subtitle + .section-subtitle { margin-top: calc(0px - var(--space-3xl) + var(--space-md)); }
.section-subtitle--light { color: rgba(255,255,255,0.65); }
.section-subtitle--lead {
    font-size: 1.1875rem; line-height: 1.65;
    color: var(--ink-700);
    max-width: 820px;
}

.footnote {
    font-size: 0.75rem; color: rgba(255,255,255,0.4);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-top: var(--space-xl);
}

/* ============================================
   CONTEXT (Blue Carbon)
   ============================================ */
.split {
    display: grid; grid-template-columns: 5fr 6fr;
    gap: var(--space-4xl); align-items: end;
    margin-bottom: var(--space-3xl);
}
.split-right p:not(:last-child) { margin-bottom: var(--space-md); }

.context-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}
.context-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.95);
}
.context-image-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(10,25,41,0.55) 0%, rgba(10,25,41,0.15) 45%, rgba(10,25,41,0.7) 100%);
}
.context-image-content {
    position: absolute;
    bottom: var(--space-2xl);
    left: var(--space-2xl);
    right: var(--space-2xl);
    max-width: 520px;
}
.context-image-eyebrow {
    display: inline-block;
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase; letter-spacing: 0.18em;
    padding: 0.35rem 0.75rem;
    background: rgba(10, 25, 41, 0.55);
    border: 1px solid rgba(50, 213, 209, 0.35);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}
.context-image-caption {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.bluecarbon-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}
.bluecarbon-card {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex; flex-direction: column;
}
.bluecarbon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.bluecarbon-card--featured {
    background: var(--navy-900); color: #fff;
    border-color: var(--navy-900);
}
.bluecarbon-card--featured:hover { border-color: var(--brand-cyan); }
.bluecarbon-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cream-200);
}
.bluecarbon-card--featured .bluecarbon-thumb { background: var(--navy-800); }
.bluecarbon-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.bluecarbon-card:hover .bluecarbon-thumb img { transform: scale(1.05); }
.bluecarbon-card > .bluecarbon-tag,
.bluecarbon-card > .bluecarbon-number,
.bluecarbon-card > p { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.bluecarbon-tag {
    display: inline-block;
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--brand-cyan-700);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}
.bluecarbon-card--featured .bluecarbon-tag { color: var(--brand-cyan); }
.bluecarbon-number {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    letter-spacing: -0.03em; line-height: 1;
    margin-bottom: var(--space-md);
    color: var(--ink-900);
}
.bluecarbon-card--featured .bluecarbon-number { color: #fff; }
.bluecarbon-unit { font-size: 0.5em; color: var(--ink-400); margin-left: 0.1em; }
.bluecarbon-card--featured .bluecarbon-unit { color: rgba(255,255,255,0.5); }
.bluecarbon-card > p {
    color: var(--ink-500); font-size: 0.95rem;
    padding-bottom: var(--space-xl);
}
.bluecarbon-card--featured > p { color: rgba(255,255,255,0.7); }

.callouts {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.callout {
    display: flex; align-items: baseline; gap: var(--space-lg);
    padding: var(--space-xl);
    border-left: 3px solid var(--brand-cyan-700);
    background: rgba(50, 213, 209, 0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.callout-figure {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--brand-cyan-700); letter-spacing: -0.02em; line-height: 1;
}
.callout-label { color: var(--ink-700); font-size: 1rem; font-weight: 500; }
.callouts--tri { grid-template-columns: repeat(3, 1fr); }
.footnote--dark { color: var(--ink-400); }

/* ============================================
   DRIVERS (Complication)
   ============================================ */
.drivers-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}
.driver-card {
    padding: var(--space-2xl) var(--space-xl);
    border: 1px solid var(--border-dark-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    transition: var(--transition);
}
.driver-card:hover { border-color: var(--border-dark-strong); transform: translateY(-2px); }
.driver-bar {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}
.driver-bar-fill {
    height: 100%; width: var(--pct);
    /* the smallest share is 3%; without a floor its bar reads as a rendering fault */
    min-width: 16px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}
.driver-pct {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    color: #fff; letter-spacing: -0.03em; line-height: 1;
    margin-bottom: var(--space-md);
}
.driver-pct-unit { color: var(--brand-cyan); font-size: 0.6em; margin-left: 0.05em; }
.driver-card h3 {
    color: #fff; font-size: 1.25rem; font-weight: 700;
    margin-bottom: var(--space-sm);
}
.driver-card p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.55; }

/* ============================================
   REFRAME (manifesto pivot)
   ============================================ */
.section--reframe {
    background: linear-gradient(180deg, var(--cream-100), var(--cream-200));
    padding: var(--space-4xl) 0;
    text-align: center;
}
.manifesto {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--ink-900);
    margin-bottom: var(--space-xl);
}
.manifesto-sub {
    font-size: 1.25rem;
    color: var(--ink-500);
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 500;
}

/* ============================================
   LOOP (Solution)
   ============================================ */
.loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
    margin-top: var(--space-2xl);
}
.loop-card {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    transition: var(--transition);
}
.loop-card:hover { border-color: var(--brand-cyan); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loop-num {
    font-family: var(--font-display); font-weight: 700;
    font-size: 0.875rem; color: var(--brand-cyan-700);
    letter-spacing: 0.15em;
    display: block; margin-bottom: var(--space-md);
}
.loop-card h3 {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--ink-900);
}
.loop-card p { color: var(--ink-500); font-size: 0.95rem; }
.loop-arrow {
    font-family: var(--font-display); font-size: 1.5rem;
    color: var(--brand-cyan-700); align-self: center;
    opacity: 0.55;
}

/* Community photo strip (aligns column-for-column with .loop above) */
.community-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}
.community-spacer {
    align-self: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: transparent;
    pointer-events: none;
    user-select: none;
}
.community-tile {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--cream-200);
}
.community-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.community-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.community-tile:hover img { transform: scale(1.06); }
.community-tile::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 25, 41, 0.65) 100%);
    pointer-events: none;
}
.community-tile figcaption {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    z-index: 1;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 0.35rem 0.7rem;
    background: rgba(10, 25, 41, 0.55);
    border: 1px solid rgba(50, 213, 209, 0.3);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ============================================
   MANGROVES (kept, restyled)
   ============================================ */
.mangroves-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl); align-items: start;
    margin-top: var(--space-2xl);
}
.mangroves-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky; top: 100px;
}
.mangroves-content { display: flex; flex-direction: column; gap: var(--space-2xl); }
.mangrove-fact { display: flex; gap: var(--space-lg); align-items: start; }
.mangrove-fact-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(50, 213, 209, 0.1);
    border-radius: var(--radius-md);
    color: var(--brand-cyan-700);
}
.mangrove-fact-icon svg { width: 22px; height: 22px; }
.mangrove-fact h3 {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: var(--space-xs); color: var(--ink-900);
}
.mangrove-fact p { font-size: 1rem; color: var(--ink-500); line-height: 1.6; }

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}
.project-card {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.project-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-cyan);
    box-shadow: 0 20px 40px rgba(10, 25, 41, 0.12);
}
.project-card-image { position: relative; height: 220px; overflow: hidden; }
.project-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition-slow);
}
.project-card:hover .project-card-image img { transform: scale(1.04); }
.project-card-image--placeholder {
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(80% 80% at 50% 50%, rgba(50, 213, 209, 0.2), transparent 70%),
        var(--navy-700);
    color: var(--brand-cyan);
}
.pipeline-glyph svg { width: 88px; height: 88px; opacity: 0.5; }
.project-card-badge {
    position: absolute; top: var(--space-md); left: var(--space-md);
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase; letter-spacing: 0.14em;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent;
}
.badge-portfolio { background: var(--brand-cyan); color: var(--navy-900); }
.badge-investment { background: rgba(255, 255, 255, 0.9); color: var(--navy-900); }
.badge-pipeline { background: rgba(10, 25, 41, 0.78); color: var(--brand-cyan); border-color: rgba(50, 213, 209, 0.45); }
.project-card-body {
    padding: var(--space-xl);
    flex: 1; display: flex; flex-direction: column;
    color: var(--ink-700);
}
.project-card-location {
    font-size: 0.72rem; font-weight: 600;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
}
.project-card-body h3 {
    font-size: 1.35rem; color: var(--ink-900); font-weight: 700;
    margin-bottom: var(--space-sm);
}
.project-card-body p {
    font-size: 0.9375rem; color: var(--ink-500);
    line-height: 1.55; flex: 1;
}
.project-card-stats {
    display: flex; gap: var(--space-sm); flex-wrap: wrap;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-soft);
}
.project-card-stats span {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
    color: var(--ink-700);
    background: var(--cream-100);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
}

/* Path to 2031 */
.path-2031 {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--space-lg); align-items: center;
    margin-top: var(--space-2xl);
    padding: var(--space-2xl);
    border: 1px solid var(--border-dark-soft);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
}
.path-stat { text-align: center; }
.path-num {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: #fff; letter-spacing: -0.03em; line-height: 1;
    margin-bottom: var(--space-sm);
}
.path-stat--accent .path-num { color: var(--brand-cyan); }
.path-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 0.12em;
    line-height: 1.4;
}
.path-arrow {
    font-size: 1.5rem; color: var(--brand-cyan); opacity: 0.6;
}

/* ============================================
   TRAJECTORY (scale-up to 35,000 ha by 2033)
   ============================================ */
.trajectory {
    margin-top: var(--space-4xl);
    padding: var(--space-xl) 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.trajectory-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}
.trajectory-headline { display: flex; align-items: baseline; gap: var(--space-lg); flex-wrap: wrap; }
.trajectory-multiplier {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.9;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}
.trajectory-headline-text { display: flex; flex-direction: column; gap: var(--space-xs); }
.trajectory-lead {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    color: var(--ink-900); letter-spacing: -0.01em;
}
.trajectory-sub {
    font-size: 0.95rem;
    color: var(--ink-500);
    max-width: 480px;
}

.trajectory-chart {
    width: 100%;
    aspect-ratio: 1000 / 360;
    margin-bottom: var(--space-xl);
}
.trajectory-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }

.traj-curve {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 2.4s cubic-bezier(0.6, 0.04, 0.2, 1);
}
.trajectory.visible .traj-curve { stroke-dashoffset: 0; }

.traj-area { opacity: 0; transition: opacity 1.4s ease 0.8s; }
.trajectory.visible .traj-area { opacity: 1; }

.traj-dot circle { opacity: 0; transition: opacity 0.5s ease, r 0.5s ease; }
.trajectory.visible .traj-dot circle { opacity: 1; }
.trajectory.visible .traj-dot circle:nth-child(1) { transition-delay: 0.6s; }
.trajectory.visible .traj-dot circle:nth-child(2) { transition-delay: 1.2s; }
.trajectory.visible .traj-dot circle:nth-child(3) { transition-delay: 1.8s; }
.trajectory.visible .traj-dot circle:nth-child(4) { transition-delay: 2.4s; animation: traj-pulse 2.4s ease-in-out 2.6s infinite; }

@keyframes traj-pulse {
    0%, 100% { r: 8; opacity: 1; }
    50% { r: 12; opacity: 0.85; }
}

.traj-mlabel text { opacity: 0; transition: opacity 0.5s ease 1.2s; }
.trajectory.visible .traj-mlabel text { opacity: 1; }

.trajectory-legend {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-soft);
}
.trajectory-legend-item {
    display: flex; align-items: flex-start; gap: var(--space-md);
}
.trajectory-legend-dot {
    flex-shrink: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-top: 5px;
}
.trajectory-legend-dot--today { background: var(--brand-blue); box-shadow: 0 0 0 4px rgba(68, 95, 252, 0.18); }
.trajectory-legend-dot--pipeline { background: var(--cream-100); border: 2px solid var(--brand-cyan); }
.trajectory-legend-dot--target { background: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(50, 213, 209, 0.2); }
.trajectory-legend-label {
    display: block;
    font-size: 0.72rem; font-weight: 700;
    color: var(--ink-900);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 2px;
}
.trajectory-legend-value {
    display: block;
    font-size: 0.875rem;
    color: var(--ink-500);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .trajectory-legend { grid-template-columns: 1fr; }
    .trajectory-chart { aspect-ratio: 1000 / 460; }
}

/* ============================================
   VALIDATION
   ============================================ */
.section--validation {
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--cream-100) 100%);
}
.validation-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.validation-card {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.validation-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.validation-card--featured {
    background: var(--navy-900); color: #fff;
    border-color: var(--navy-900);
    position: relative;
}
.validation-card--featured::after {
    content: ''; position: absolute; top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, var(--brand-cyan), transparent 60%);
    opacity: 0.25; pointer-events: none;
}
.validation-card--featured:hover { border-color: var(--brand-cyan); }
.validation-number {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.8rem, 5vw, 4rem);
    color: var(--ink-900); letter-spacing: -0.03em; line-height: 1;
    margin-bottom: var(--space-md);
}
.validation-card--featured .validation-number { color: var(--brand-cyan); }
.validation-num-unit { font-size: 0.55em; color: var(--ink-400); }
.validation-card--featured .validation-num-unit { color: rgba(255,255,255,0.5); }
.validation-label {
    display: block;
    font-size: 0.75rem; font-weight: 600;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-md);
}
.validation-card--featured .validation-label { color: var(--brand-cyan); }
.validation-card p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.55; }
.validation-card--featured p { color: rgba(255,255,255,0.75); }
.validation-card--featured strong { color: #fff; }
/* small link under the Sylvera label, points at the full disclaimer on the Papariko page */
.validation-disclaimer-link {
    display: inline-block;
    margin: calc(-1 * var(--space-sm)) 0 var(--space-md);
    font-size: 0.6rem; letter-spacing: 0.02em;
    color: rgba(255,255,255,0.5);
    text-decoration: underline; text-underline-offset: 2px;
    transition: var(--transition);
}
.validation-disclaimer-link:hover { color: var(--brand-cyan); }
/* the anchor target sits under the fixed header otherwise */
#sylvera-disclaimer { scroll-margin-top: 140px; }

/* Privacy | Disclaimer page */
/* no dark hero behind the header here, and main.js drops .scrolled at the top, so keep it navy */
.page-legal .site-header {
    background: rgba(10, 25, 41, 0.95);
    border-bottom: 1px solid var(--border-dark-soft);
}
/* .section.legal-page so the mobile .section padding shorthand can't zero the header clearance */
.section.legal-page { padding-top: calc(var(--space-4xl) + 4rem); }
.legal-page h2 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--ink-900);
    margin: var(--space-2xl) 0 var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(10, 25, 41, 0.1);
}
.legal-page p { color: var(--ink-700); font-size: 0.98rem; line-height: 1.7; margin-bottom: var(--space-md); max-width: 72ch; }

/* ============================================
   TECH
   ============================================ */
.tech-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.tech-card {
    background: var(--cream-100);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.tech-card:hover { border-color: var(--brand-cyan); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tech-image {
    aspect-ratio: 16 / 9;
    background: var(--navy-900);
    overflow: hidden;
    position: relative;
}
.tech-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.tech-card:hover .tech-image img { transform: scale(1.04); }
.tech-image--dashboard { background: var(--navy-900); }
.tech-image--dashboard svg { width: 100%; height: 100%; display: block; }
.tech-card-body {
    padding: var(--space-2xl);
    flex: 1;
    display: flex; flex-direction: column;
}
.tech-num {
    display: inline-block;
    font-family: var(--font-display); font-weight: 700;
    font-size: 2rem; color: var(--brand-cyan-700);
    letter-spacing: -0.02em; line-height: 1;
    margin-bottom: var(--space-md);
}
.tech-tag {
    display: inline-block;
    font-size: 0.68rem; font-weight: 600;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-sm);
}
.tech-card h3 {
    font-size: 1.35rem; font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--ink-900);
}
.tech-card p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.55; }

.tech-facts {
    list-style: none;
    margin: var(--space-lg) 0 0;
    padding: var(--space-md) 0 0;
    border-top: 1px solid var(--border-soft);
    display: flex; flex-direction: column;
    gap: var(--space-sm);
}
.tech-facts li {
    display: flex; flex-direction: column;
    gap: 2px;
}
.tech-fact-label {
    font-size: 0.68rem; font-weight: 700;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.14em;
}
.tech-fact-value {
    font-size: 0.9rem;
    color: var(--ink-900);
    line-height: 1.45;
}

.tech-card--ledger { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tech-card--ledger .tech-num { color: var(--brand-cyan); }
.tech-card--ledger .tech-tag { color: var(--brand-cyan); }
.tech-card--ledger h3 { color: #fff; }
.tech-card--ledger p { color: rgba(255,255,255,0.7); }

/* End-to-end money-flow visualization */
.flow {
    list-style: none;
    margin: var(--space-lg) 0 0;
    padding: 0;
    position: relative;
}
.flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    align-items: start;
}
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    /* start just below the number circle (8px top padding + 36px circle)
       and run down toward the next one, so it never crosses the number */
    left: 22px; top: 48px; bottom: -4px;
    width: 1px;
    background: linear-gradient(180deg, rgba(50, 213, 209, 0.6) 0%, rgba(50, 213, 209, 0.15) 100%);
}
.flow-num {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(50, 213, 209, 0.08);
    border: 1px solid rgba(50, 213, 209, 0.4);
    color: var(--brand-cyan);
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 1;
    margin-left: 4px;
}
.flow-step--terminal .flow-num {
    background: var(--brand-cyan);
    color: var(--navy-900);
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(50, 213, 209, 0.15);
}
.flow-body {
    display: flex; flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}
.flow-label {
    font-size: 0.68rem; font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase; letter-spacing: 0.14em;
}
.flow-value {
    color: #fff; font-weight: 700; font-size: 1.05rem;
    letter-spacing: -0.005em;
    margin: 2px 0;
}
.flow-step--terminal .flow-value { color: var(--brand-cyan); }
.flow-meta {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    line-height: 1.4;
}
.flow-footer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin-top: var(--space-lg);
    font-style: italic;
    border-top: 1px dashed rgba(255,255,255,0.08);
    padding-top: var(--space-md);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}
.team-card { text-align: left; }
.team-card-photo {
    width: 100%; aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--cream-200);
    transition: var(--transition);
}
.team-card:hover .team-card-photo { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card-photo img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.15) contrast(1.02);
    transition: var(--transition);
}
.team-card:hover .team-card-photo img { filter: none; }
.team-card h3 {
    font-size: 1.0625rem; font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--space-xs);
}
.team-card-role {
    display: block;
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
    color: var(--brand-cyan);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}
.team-card p { font-size: 0.85rem; color: var(--ink-500); line-height: 1.45; }

/* ============================================
   PARTNERS
   ============================================ */
.section--partners { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.partners-logos {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.partners-logos img {
    height: 32px; width: auto;
    opacity: 0.45;
    transition: var(--transition);
    filter: grayscale(100%);
}
.partners-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* ============================================
   CLOSING MANIFESTO
   ============================================ */
.section--closing {
    background:
        radial-gradient(60% 60% at 50% 30%, rgba(50, 213, 209, 0.2), transparent 70%),
        var(--navy-900);
    color: #fff;
    text-align: center;
    padding: var(--space-5xl) 0;
}
.closing-statement {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2rem, 5.4vw, 4rem);
    line-height: 1.1; letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: var(--space-xl);
}
.closing-attribution {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-2xl);
}
.closing-attribution strong { color: #fff; font-weight: 600; }
.closing-cta {
    display: flex; gap: var(--space-md);
    justify-content: center; flex-wrap: wrap;
}

/* ============================================
   PROJECT DETAIL PAGES
   ============================================ */
.project-hero {
    position: relative;
    min-height: 64vh;
    display: flex; align-items: flex-end;
    overflow: hidden;
    background: var(--navy-900);
    padding-top: 80px;
}
.project-hero-bg { position: absolute; inset: 0; z-index: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.04); }
.project-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,25,41,0.55) 0%, rgba(10,25,41,0.2) 35%, rgba(10,25,41,0.85) 100%);
}
.project-hero-content {
    position: relative; z-index: 2;
    padding-top: var(--space-3xl); padding-bottom: var(--space-3xl);
    color: #fff;
    max-width: 920px;
}
.breadcrumb {
    display: flex; align-items: center; gap: 0.6em;
    font-size: 0.78rem; font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-xl);
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.breadcrumb a:hover { color: var(--brand-cyan); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,0.35); }
.breadcrumb-current { color: #fff; }

.project-hero-badges {
    display: flex; flex-wrap: wrap; gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.project-hero-badge {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase; letter-spacing: 0.14em;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent;
}
.badge-status { background: var(--brand-cyan); color: var(--navy-900); }
.badge-location { background: rgba(10, 25, 41, 0.55); color: var(--brand-cyan); border-color: rgba(50, 213, 209, 0.45); }

.project-hero-heading {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: var(--space-md);
}
.project-hero-lead {
    font-size: 1.125rem; line-height: 1.55;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
}

/* Stat strip */
.project-stats {
    background: var(--navy-800);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
}
.project-stats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.project-stat {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.project-stat:last-child { border-right: none; }
.project-stat-value {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: #fff;
    letter-spacing: -0.02em; line-height: 1;
    margin-bottom: var(--space-sm);
}
.project-stat-label {
    display: block;
    font-size: 0.74rem; font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 0.12em;
    line-height: 1.4;
}
.project-stat-label .muted { text-transform: none; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; font-size: 0.72rem; }

/* Certification grid + Sylvera panel */
.cert-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.cert-card {
    padding: var(--space-2xl);
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.cert-card:hover { transform: translateY(-2px); border-color: var(--brand-cyan); box-shadow: var(--shadow-md); }
.cert-tag {
    display: inline-block;
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-cyan-700);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}
.cert-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
}
.cert-card p { font-size: 0.95rem; color: var(--ink-500); line-height: 1.55; margin-bottom: var(--space-md); }
.cert-meta {
    font-size: 0.72rem; color: var(--ink-400);
    text-transform: uppercase; letter-spacing: 0.1em;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-soft);
}
.cert-meta a {
    color: var(--brand-cyan-700);
    text-decoration: none;
    transition: var(--transition);
}
.cert-meta a:hover { color: var(--brand-cyan); }

.sylvera-panel {
    margin-top: var(--space-2xl);
    padding: var(--space-2xl);
    background:
        radial-gradient(80% 80% at 100% 0%, rgba(50, 213, 209, 0.18), transparent 60%),
        var(--navy-900);
    border-radius: var(--radius-lg);
    color: #fff;
    display: grid; grid-template-columns: auto 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.sylvera-rating { text-align: center; padding-right: var(--space-xl); border-right: 1px solid rgba(255,255,255,0.08); }
.sylvera-grade {
    display: block;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--brand-cyan);
    letter-spacing: -0.03em; line-height: 1;
    margin-bottom: var(--space-sm);
}
.sylvera-grade-sep { color: rgba(50, 213, 209, 0.55); margin: 0 0.22em; font-size: 0.6em; font-weight: 600; vertical-align: 0.12em; }
.sylvera-source {
    display: block;
    font-size: 0.7rem; font-weight: 600;
    color: rgba(50, 213, 209, 0.75);
    text-transform: uppercase; letter-spacing: 0.14em;
}
.sylvera-context h3 {
    font-size: 1.35rem; font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}
.sylvera-context p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.55; }
/* legal small print, sits inside the panel so it stays attached to the rating */
.sylvera-disclaimer {
    grid-column: 1 / -1;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.sylvera-disclaimer p {
    font-size: 0.72rem; line-height: 1.6;
    color: rgba(255,255,255,0.45);
    max-width: none;
}
.sylvera-disclaimer p + p { margin-top: var(--space-sm); }
.sylvera-disclaimer strong { color: rgba(255,255,255,0.7); font-weight: 600; }
.sylvera-disclaimer a { color: rgba(50, 213, 209, 0.75); }
.sylvera-disclaimer a:hover { color: var(--brand-cyan); }

/* Impact grid + gallery */
.impact-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.impact-card {
    padding: var(--space-xl);
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.impact-card:hover { transform: translateY(-2px); border-color: var(--brand-cyan); box-shadow: var(--shadow-md); }
.impact-value {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--ink-900);
    letter-spacing: -0.025em; line-height: 1;
    margin-bottom: var(--space-sm);
}
.impact-unit { font-size: 0.55em; color: var(--ink-400); margin-left: 0.1em; }
.impact-label {
    display: block;
    font-size: 0.72rem; font-weight: 700;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-sm);
}
.impact-card p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.5; }

.impact-gallery {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}
.impact-photo {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}
.impact-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.impact-photo:hover img { transform: scale(1.04); }
.impact-photo figcaption {
    position: absolute; bottom: var(--space-sm); left: var(--space-sm);
    font-size: 0.7rem; font-weight: 700;
    color: #fff;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.3rem 0.7rem;
    background: rgba(10, 25, 41, 0.6);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* Methodology timeline */
.timeline {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 28px; left: 28px; right: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
    opacity: 0.4;
    z-index: 0;
}
.timeline-step {
    position: relative; z-index: 1;
    padding-top: var(--space-3xl);
}
.timeline-marker {
    position: absolute;
    top: 0; left: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--brand-cyan);
    color: var(--brand-cyan-700);
    font-family: var(--font-display); font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 6px var(--paper);
}
.timeline-when {
    display: block;
    font-size: 0.72rem; font-weight: 700;
    color: var(--brand-cyan-700);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-sm);
}
.timeline-step h3 {
    font-size: 1.1rem; font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
}
.timeline-step p {
    font-size: 0.9rem; color: var(--ink-500); line-height: 1.55;
}

.doc-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding: var(--space-xl) var(--space-2xl);
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.doc-link:hover {
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.doc-link-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(50, 213, 209, 0.1);
    color: var(--brand-cyan-700);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.doc-link-icon svg { width: 24px; height: 24px; }
.doc-link-body { display: flex; flex-direction: column; gap: 4px; }
.doc-link-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1rem; color: var(--ink-900); line-height: 1.3;
}
.doc-link-meta {
    font-size: 0.875rem; color: var(--ink-500); line-height: 1.45;
}
.doc-link-cta {
    font-family: var(--font-display); font-weight: 600;
    font-size: 0.875rem; color: var(--brand-cyan-700);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .project-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .project-stat { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cert-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-gallery { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .timeline::before { display: none; }
    .sylvera-panel { grid-template-columns: 1fr; }
    .sylvera-rating { border-right: none; padding-right: 0; padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.08); }
    .doc-link { grid-template-columns: auto 1fr; padding: var(--space-lg); gap: var(--space-md); }
    .doc-link-cta { grid-column: 1 / -1; text-align: right; }
}

/* ============================================
   NEWS RIBBON (slim "Latest" strip under hero)
   ============================================ */
.news-ribbon {
    display: block;
    background: var(--brand-cyan);
    color: var(--navy-900);
    border-bottom: 1px solid rgba(10, 25, 41, 0.10);
    transition: var(--transition);
}
.news-ribbon:hover { background: var(--brand-cyan-300); }
.news-ribbon-inner {
    display: flex; align-items: center; gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    flex-wrap: wrap;
}
.news-ribbon-tag {
    display: inline-flex; align-items: center; gap: 0.5em;
    font-size: 0.7rem; font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase; letter-spacing: 0.16em;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(10, 25, 41, 0.22);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.news-ribbon-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--navy-900);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.news-ribbon-text {
    font-size: 0.9375rem;
    color: rgba(10, 25, 41, 0.82);
    flex: 1; min-width: 0;
}
.news-ribbon-text strong { color: var(--navy-900); font-weight: 700; }
.news-ribbon-cta {
    font-size: 0.85rem; font-weight: 700;
    color: var(--navy-900);
    flex-shrink: 0;
    transition: var(--transition);
}
.news-ribbon:hover .news-ribbon-cta { transform: translateX(3px); }

/* ============================================
   NEWS SECTION
   ============================================ */
.section--news {
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--cream-100) 100%);
}
.news-featured {
    display: block;
    margin: var(--space-3xl) 0 var(--space-2xl);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 80% at 90% 0%, rgba(50, 213, 209, 0.16), transparent 60%),
        radial-gradient(60% 60% at 0% 100%, rgba(68, 95, 252, 0.18), transparent 60%),
        var(--navy-900);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.news-featured:hover {
    transform: translateY(-3px);
    border-color: rgba(50, 213, 209, 0.4);
}
.news-featured-body { max-width: 720px; }
.news-featured-tag {
    display: inline-flex; align-items: center; gap: 0.5em;
    font-size: 0.7rem; font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase; letter-spacing: 0.16em;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(50, 213, 209, 0.4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
}
.news-featured-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-cyan);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
.news-featured h3 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}
.news-featured p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin-bottom: var(--space-lg);
}
.news-featured-cta {
    display: inline-flex; align-items: center; gap: 0.4em;
    font-size: 0.9rem; font-weight: 600;
    color: var(--brand-cyan);
    transition: var(--transition);
}
.news-featured:hover .news-featured-cta { transform: translateX(3px); }

.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.news-card {
    display: flex; flex-direction: column;
    padding: var(--space-xl);
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-md);
}
.news-card-tag {
    display: inline-block; align-self: flex-start;
    font-size: 0.68rem; font-weight: 700;
    color: var(--ink-400);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: var(--space-md);
}
.news-more { margin-top: var(--space-xl); }
.news-more-link {
    font-size: 0.9375rem; font-weight: 600;
    color: var(--brand-cyan-700);
    transition: var(--transition);
}
.news-more-link:hover { color: var(--brand-cyan); }
.news-card h3 {
    font-size: 1.0625rem; font-weight: 700;
    color: var(--ink-900);
    line-height: 1.35;
    margin-bottom: var(--space-md);
    flex: 1;
}
.news-card-link {
    font-size: 0.85rem; font-weight: 600;
    color: var(--brand-cyan-700);
    transition: var(--transition);
}
.news-card:hover .news-card-link { color: var(--brand-cyan); }

/* ============================================
   ADVISORS (sub-block inside Team)
   ============================================ */
.advisors {
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-soft);
}
.advisors-heading {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
    max-width: 720px;
    letter-spacing: -0.01em;
}
.advisors-note {
    font-size: 0.95rem;
    color: var(--ink-500);
    max-width: 640px;
}
.advisors-note a {
    color: var(--brand-cyan-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.advisors-note a:hover { color: var(--brand-cyan); }
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}
.advisors-grid .team-card-photo {
    width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}
@media (max-width: 600px) {
    .advisors-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.86);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-dark-soft);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 0.9fr 1.1fr 0.85fr 1.3fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border-dark-soft);
}
.footer-logo { margin-bottom: var(--space-lg); filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.55); max-width: 320px; line-height: 1.55; }
.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.75rem; font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-sm);
    text-transform: uppercase; letter-spacing: 0.12em;
}
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--brand-cyan); }
.footer-address {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    margin-top: var(--space-sm);
}

/* registry pointer that sits under a section's lead text */
.section-registry {
    margin-top: var(--space-md);
    font-size: 0.8125rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-400);
}
.section-registry a { color: var(--brand-cyan-700); transition: var(--transition); }
.section-registry a:hover { color: var(--brand-cyan); }

/* small print, e.g. the Sylvera ratings disclaimer */
.section--disclaimer { padding-top: 0; padding-bottom: var(--space-2xl); }
.disclaimer {
    font-size: 0.75rem; line-height: 1.6;
    color: var(--ink-400);
    max-width: 76ch;
}
.disclaimer strong { color: var(--ink-700); font-weight: 600; }
/* the nav "Contact us" link lands here; keep the heading clear of the sticky header */
#contact { scroll-margin-top: 120px; }
.footer-bottom { padding-top: var(--space-xl); text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .tech-card--ledger { grid-column: 1 / -1; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 900px) {
    .main-nav, .header-cta { display: none; }
    .menu-toggle { display: flex; }

    /* Hero: stack stats below content instead of absolutely overlapping the CTA */
    .hero { min-height: auto; }
    .hero-content { padding-top: 116px; padding-bottom: var(--space-3xl); }
    .hero-stats {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        backdrop-filter: none; -webkit-backdrop-filter: none;
        background: rgba(10, 25, 41, 0.9);
    }
    .hero-stat {
        border-bottom: 1px solid var(--border-dark-soft);
        padding: var(--space-lg) var(--space-md);
    }
    /* three stats in two columns: the third spans the row */
    .hero-stat:nth-child(2n) { border-right: none; }
    .hero-stat:last-of-type { grid-column: 1 / -1; border-right: none; }
    .hero-stats-note { padding-top: var(--space-md); }

    .section { padding: var(--space-4xl) 0; }

    .split { grid-template-columns: 1fr; gap: var(--space-xl); }
    .bluecarbon-grid { grid-template-columns: 1fr; }
    .callouts { grid-template-columns: 1fr; }
    .drivers-grid { grid-template-columns: 1fr; }

    .loop { grid-template-columns: 1fr; }
    .loop-arrow { transform: rotate(90deg); justify-self: center; }

    .community-strip { grid-template-columns: 1fr; }
    .community-spacer { display: none; }

    .mangroves-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .mangroves-image img { position: static; }

    .projects-grid { grid-template-columns: 1fr; }
    .path-2031 { grid-template-columns: 1fr; gap: var(--space-md); }
    .path-arrow { transform: rotate(90deg); }

    .validation-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .news-grid { grid-template-columns: 1fr; }
    .news-ribbon-inner { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
    .news-ribbon-text { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    /* left/right only — the `padding` shorthand here would reset the hero's
       padding-top to 0 and let content slide under the fixed header */
    .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
    .hero-heading { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stat { padding: var(--space-md); }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }

    /* Trim the generous desktop rhythm so phones scroll less to reach Projects */
    .section { padding: var(--space-3xl) 0; }
    .section--reframe, .section--closing { padding: var(--space-3xl) 0; }
    .section-subtitle { margin-bottom: var(--space-2xl); }

    .partners-logos { gap: var(--space-xl); justify-content: center; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
    .closing-cta { flex-direction: column; align-items: stretch; }
    .closing-cta .btn { width: 100%; }

    /* Blue-carbon stat band reads better stacked with a touch less padding */
    .callout { padding: var(--space-lg); }
    .callout-figure { font-size: 2.4rem; }
}

/* ============================================
   V2 · SUPPORTED BY — two rows, optical sizing
   ============================================ */
.partners-rows {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.partners-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}
.partners-row + .partners-row { padding-top: 0; }
.partners-row--marks { justify-content: flex-start; gap: var(--space-3xl); padding-top: 0; }

.plogo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.plogo { max-width: 100%; }
.plogo img {
    display: block; width: auto; max-width: 100%;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: var(--transition);
}
.plogo img:hover { opacity: 1; filter: grayscale(0%); }
/* light-toned marks wash out under grayscale; darken them back to the row's weight */
.plogo--fsd img,
.plogo--idc img,
.plogo--hus img { filter: grayscale(100%) brightness(0.45) contrast(1.45); }
/* Julius Bär is a light grey serif wordmark; it needs weight, not contrast */
.plogo--jb img,
.plogo--ci img { filter: grayscale(100%) brightness(0.55) contrast(1.3); }
/* thin line-art marks: a light touch, or the hairlines break up */
.plogo--hb img,
.plogo--kic img { filter: grayscale(100%) brightness(0.72) contrast(1.15); }
.plogo--hb img:hover,
.plogo--kic img:hover { filter: grayscale(0%); }
.plogo--fsd img:hover,
.plogo--idc img:hover,
.plogo--hus img:hover,
.plogo--jb img:hover,
.plogo--ci img:hover { filter: grayscale(0%); }

/* optical weight, not pixel width: equalised by area, then corrected
   for each lockup's internal padding (Climate-KIC carries a lot). */
.plogo--jb  img { height: 28px; }
.plogo--hb  img { height: 44px; }
.plogo--soa img { height: 48px; }
.plogo--kic img { height: 66px; }
.plogo--ci  img { height: 36px; }
.plogo--fe  img { height: 28px; }
.plogo--fsd img { height: 40px; }
.plogo--hus img { height: 58px; }
.plogo--ryp img { height: 36px; }
.plogo--idc img { height: 56px; }

.pmark {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-400);
    opacity: 0.6;
    transition: var(--transition);
}
.pmark:hover { color: var(--ink-700); opacity: 1; }

@media (max-width: 900px) {
    .partners-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); padding: var(--space-lg) 0; }
    .partners-row + .partners-row { padding-top: 0; }
    .pmark { font-size: 0.8rem; letter-spacing: 0.12em; }
}
@media (max-width: 560px) {
    /* phones: ignore the two 5-logo rows and flow all ten logos as 2 per row */
    .partners-rows {
        display: grid; grid-template-columns: repeat(2, 1fr);
        align-items: center; justify-items: center;
        gap: var(--space-xl) var(--space-lg);
        padding: var(--space-lg) 0;
    }
    .partners-row { display: contents; }
}

/* V2 · the header CTA is now a plain "Contact us" nav link to the footer,
   so the hero button carries the contact CTA on every viewport. */
