/* =========================================================
   MANGROVATE STYLESHEET

   1. Tokens
   2. Base
   3. Layout helpers
   4. Motion
   5. Header and navigation
   6. Buttons and links
   7. Home: hero, why, approach, process, technology, contact
   8. About: hero, story, founders, direction, principles, closing
   9. Footer

   Breakpoints are desktop-first (max-width):
   1099 · 1023 · 900 · 767 · 640 · 420
   Desktop-only extras use min-width: 901 (nav pill) and
   1100 (one-line hero headline).
   ========================================================= */


/* =========================================================
   1. TOKENS
   ========================================================= */

:root {
    --font-sans:
        "Plus Jakarta Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

    --font-display:
        "Fraunces",
        Georgia,
        "Times New Roman",
        serif;

    /* Colours. *-rgb variants are for rgb(var(--x-rgb) / alpha). */
    --background: #f3f5ef;
    --background-rgb: 243 245 239;
    --surface: #e8ede4;
    --surface-mint: #e2ece6;

    --dark-green: #123f35;
    --dark-green-rgb: 18 63 53;
    --forest: #08281f;
    --forest-rgb: 8 40 31;
    --medium-green: #42665b;
    --soft-green: #d6e0d6;

    --gold: #d8b24c;
    --gold-rgb: 216 178 76;
    --gold-bright: #e2b755;
    --gold-bright-rgb: 226 183 85;
    --gold-deep: #a8862f;
    --gold-deep-rgb: 168 134 47;
    --gold-tint: #f4ecd3;

    --text: #23312d;
    --muted-text: #66736e;
    --hero-text: #52625c;
    --white: #ffffff;

    --border: rgb(var(--dark-green-rgb) / 0.16);

    /* Layout */
    --page-width: 1240px;
    --side-padding: clamp(24px, 5vw, 80px);
    --header-height: 92px;

    /* Hero background, shared by both hero shells: soft brand-colour glows
       in place of a photo. The --hero-fade layer sits on top of it so the
       text side stays light. */
    --hero-decor:
        radial-gradient(
            ellipse 55% 65% at 82% 38%,
            rgb(var(--dark-green-rgb) / 0.22) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 45% 55% at 62% 92%,
            rgb(var(--gold-rgb) / 0.2) 0%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            var(--surface-mint) 0%,
            var(--soft-green) 100%
        );

    /* Hero fades, shared by both hero shells */
    --fade-bottom:
        linear-gradient(
            180deg,
            rgb(var(--background-rgb) / 0.06) 0%,
            rgb(var(--background-rgb) / 0.02) 60%,
            rgb(var(--background-rgb) / 0.18) 100%
        );
    --fade-tablet:
        linear-gradient(
            90deg,
            rgb(var(--background-rgb) / 0.98) 0%,
            rgb(var(--background-rgb) / 0.92) 48%,
            rgb(var(--background-rgb) / 0.6) 100%
        );
    --fade-mobile:
        linear-gradient(
            180deg,
            rgb(var(--background-rgb) / 0.96) 0%,
            rgb(var(--background-rgb) / 0.9) 52%,
            rgb(var(--background-rgb) / 0.7) 100%
        );

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

    --reveal-duration: 820ms;
    --reveal-distance: 18px;
    --reveal-start: 80ms;
    --reveal-step: 100ms;
}

@media (max-width: 640px) {

    :root {
        --header-height: 80px;

        --reveal-duration: 620ms;
        --reveal-distance: 14px;
        --reveal-start: 40ms;
        --reveal-step: 80ms;
    }
}


/* =========================================================
   2. BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--background);
    color: var(--text);

    font-family: var(--font-sans);
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

section {
    scroll-margin-top: var(--header-height);
}

main:focus {
    outline: none;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid rgb(var(--gold-rgb) / 0.88);
    outline-offset: 5px;
    border-radius: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--dark-green);
    line-height: 1.08;
}

h1,
h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 500;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.7rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.eyebrow {
    margin-bottom: 24px;

    color: var(--medium-green);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 100;

    padding: 10px 14px;

    border: 1px solid var(--dark-green);
    border-radius: 4px;

    background: var(--background);
    color: var(--dark-green);

    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;

    transform: translateY(-140%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}


/* =========================================================
   3. LAYOUT HELPERS
   ========================================================= */

/* Centred content column used by every section. */
.hero-content,
.about-heading,
.why-content,
.approach-heading,
.approach-card-grid,
.process-heading,
.technology-content,
.founders-content,
.direction-content,
.principles-content {
    width: 100%;
    max-width: var(--page-width);

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   4. MOTION
   ========================================================= */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(var(--reveal-distance));
    }
}

/* Hero content rises in on page load (CSS only). */
@media (prefers-reduced-motion: no-preference) {

    .hero-content > *,
    .about-heading > * {
        --reveal-distance: 14px;

        animation: rise 640ms var(--ease-out) 40ms backwards;
    }

    .hero-content > :nth-child(2),
    .about-heading > :nth-child(2) {
        animation-delay: 100ms;
    }

    .hero-content > :nth-child(3),
    .about-heading > :nth-child(3) {
        animation-delay: 180ms;
    }

    .hero-content > :nth-child(4) {
        animation-delay: 260ms;
    }
}

/* Scroll reveal: script.js adds .reveal-ready to <body>, numbers each
   .reveal item within its section (--reveal-index) and adds
   .is-visible to the section when it scrolls into view. */
.reveal-ready .reveal {
    opacity: 0;
}

.reveal-ready .is-visible .reveal {
    opacity: 1;

    animation:
        rise
        var(--reveal-duration)
        var(--ease-out)
        calc(var(--reveal-start) + var(--reveal-index, 0) * var(--reveal-step))
        backwards;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   5. HEADER AND NAVIGATION
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 28px var(--side-padding);
}

/* Full-width frosted bar that fades in once the page scrolls. */
.site-header::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;

    width: 100vw;

    border-bottom: 1px solid rgb(var(--dark-green-rgb) / 0.12);

    background: rgb(var(--background-rgb) / 0.56);
    box-shadow: 0 16px 38px rgb(var(--dark-green-rgb) / 0.06);

    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);

    content: "";
    opacity: 0;

    transform: translateX(-50%);
    transition: opacity 220ms ease;
}

body.has-scrolled .site-header::before,
body.mobile-nav-open .site-header::before {
    opacity: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--dark-green);

    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand-logo {
    flex: 0 0 auto;

    width: 34px;
    height: 39px;

    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
}

.main-navigation a {
    position: relative;

    color: var(--text);

    font-size: 0.92rem;
    text-decoration: none;

    transition: color 180ms ease;
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;

    height: 1px;

    background: var(--dark-green);

    content: "";

    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
}

@media (hover: hover) and (pointer: fine) {

    .main-navigation a:hover {
        color: var(--medium-green);
    }
}

/* Frosted pill keeps the links readable over hero photos
   until the full header background fades in on scroll. */
@media (min-width: 901px) {

    .main-navigation {
        margin-right: -22px;
        padding: 12px 22px;

        border: 1px solid rgb(var(--dark-green-rgb) / 0.08);
        border-radius: 999px;

        background: rgb(var(--background-rgb) / 0.74);

        backdrop-filter: blur(12px) saturate(1.08);
        -webkit-backdrop-filter: blur(12px) saturate(1.08);

        transition:
            background 220ms ease,
            border-color 220ms ease;
    }

    body.has-scrolled .main-navigation {
        border-color: transparent;

        background: transparent;
    }
}

/* Phone: full-screen menu behind a toggle button. */
@media (max-width: 640px) {

    body.mobile-nav-open {
        overflow: hidden;
    }

    .site-header {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .brand {
        gap: 8px;

        font-size: 1.18rem;
    }

    .brand-logo {
        width: 28px;
        height: 32px;
    }

    .nav-toggle {
        position: relative;
        z-index: 2;

        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 36px;
        padding: 0;

        border: 0;

        background: transparent;
        color: var(--dark-green);

        cursor: pointer;
    }

    .nav-toggle span {
        display: block;

        width: 18px;
        height: 1px;

        border-radius: 999px;

        background: currentColor;

        transition:
            transform 220ms ease,
            opacity 220ms ease;
    }

    .nav-toggle span + span {
        margin-top: 6px;
    }

    .nav-toggle:focus-visible {
        outline: 2px solid rgb(var(--gold-rgb) / 0.88);
        outline-offset: 4px;
        border-radius: 999px;
    }

    body.mobile-nav-open .nav-toggle span:first-child {
        transform: translateY(3.75px) rotate(45deg);
    }

    body.mobile-nav-open .nav-toggle span:last-child {
        transform: translateY(-3.75px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;

        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        padding: 34px var(--side-padding) 42px;

        border-top: 1px solid rgb(var(--dark-green-rgb) / 0.12);

        background: rgb(var(--background-rgb) / 0.96);

        backdrop-filter: blur(18px) saturate(1.08);
        -webkit-backdrop-filter: blur(18px) saturate(1.08);

        opacity: 0;
        pointer-events: none;
        visibility: hidden;

        transform: translateY(-10px);
        transition:
            opacity 220ms ease,
            transform 220ms ease,
            visibility 220ms ease;
    }

    body.mobile-nav-open .main-navigation {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;

        transform: translateY(0);
    }

    .main-navigation a {
        width: 100%;
        padding: 9px 0;

        color: var(--text);

        font-size: clamp(2rem, 9vw, 3.4rem);
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1.08;
    }

    .main-navigation a::after {
        display: none;
    }

    .main-navigation a.active {
        color: var(--medium-green);
    }

    .main-navigation::after {
        margin-top: auto;
        padding-top: 36px;

        color: var(--medium-green);

        content: "Mangrove restoration in Indonesia";

        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }
}


/* =========================================================
   6. BUTTONS AND LINKS
   ========================================================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border: 1px solid var(--dark-green);

    background: var(--dark-green);
    color: var(--white);

    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        translate 180ms ease;
}

.primary-button:hover {
    background: transparent;
    color: var(--dark-green);

    box-shadow: 0 14px 30px rgb(var(--dark-green-rgb) / 0.14);

    translate: 0 -2px;
}

.primary-button:focus-visible {
    box-shadow: 0 0 0 5px rgb(var(--gold-rgb) / 0.16);
}

.text-link {
    color: var(--dark-green);

    font-size: 0.94rem;
    font-weight: 700;
    text-underline-offset: 5px;

    transition:
        color 180ms ease,
        text-decoration-thickness 180ms ease;
}

@media (hover: hover) and (pointer: fine) {

    .text-link:hover {
        color: var(--medium-green);
    }
}


/* =========================================================
   7. HOME — HERO
   ========================================================= */

.home-hero-shell {
    --hero-fade:
        linear-gradient(
            90deg,
            rgb(var(--background-rgb) / 0.97) 0%,
            rgb(var(--background-rgb) / 0.9) 24%,
            rgb(var(--background-rgb) / 0.66) 44%,
            rgb(var(--background-rgb) / 0.3) 64%,
            rgb(var(--background-rgb) / 0.04) 100%
        );

    position: relative;

    min-height: 100svh;
    padding-top: var(--header-height);

    overflow: hidden;

    background-image:
        var(--hero-fade),
        var(--hero-decor);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero-shell::after {
    position: absolute;
    inset: 0;
    z-index: 0;

    background: var(--fade-bottom);

    content: "";
    pointer-events: none;
}

.hero {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    min-height: calc(100svh - var(--header-height));
    padding: 52px var(--side-padding) 78px;
}

.hero h1 {
    max-width: 1180px;
    margin-bottom: 28px;

    font-size: clamp(2.75rem, 6.2vw, 5.4rem);
    letter-spacing: -0.02em;
    line-height: 1.04;
}

.hero-line {
    display: inline-block;
}

.hero-introduction {
    max-width: 650px;
    margin-bottom: 34px;

    color: var(--hero-text);

    font-size: 1.16rem;
    line-height: 1.58;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

@media (min-width: 1100px) {

    .hero-line {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {

    .home-hero-shell {
        --hero-fade: var(--fade-tablet);

        background-position: 58% center;
    }

    .hero h1 {
        max-width: 820px;

        font-size: 4.05rem;
    }

    .hero-introduction {
        max-width: 600px;

        font-size: 1.08rem;
    }
}

@media (max-width: 640px) {

    .home-hero-shell {
        --hero-fade: var(--fade-mobile);

        min-height: auto;

        background-position: center center;
    }

    .hero {
        padding-top: 46px;
        padding-bottom: 66px;
    }

    .hero h1 {
        font-size: 3.05rem;
        line-height: 1.08;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   7. HOME — WHY THIS MATTERS
   ========================================================= */

.why-section {
    position: relative;

    display: flex;
    align-items: center;

    padding: 104px 48px 96px;

    background: var(--background);
}

.why-content {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, 0.82fr);
    align-items: start;
    column-gap: clamp(48px, 7vw, 116px);
    row-gap: 0;
}

.why-heading .eyebrow {
    margin-bottom: 16px;

    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.why-heading h2 {
    max-width: 690px;
    margin-bottom: 28px;

    font-size: 2.75rem;
    letter-spacing: 0;
    line-height: 1.15;
}

.why-heading h2 span {
    display: block;
}

.why-heading > p:not(.eyebrow) {
    max-width: 590px;

    color: var(--muted-text);

    font-size: 1.02rem;
    line-height: 1.62;
}

.why-copy {
    padding-top: 34px;
}

.why-copy p {
    max-width: 560px;
    margin-bottom: 12px;

    font-size: 0.94rem;
    line-height: 1.75;
}

.why-copy p:last-child {
    margin-bottom: 0;
}

.why-stat-grid {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;

    margin-top: 56px;
    padding-top: 36px;

    border-top: 1px solid var(--border);
}

.why-stat {
    position: relative;

    min-width: 0;
    padding-bottom: 18px;
}

.why-stat::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background: var(--gold);

    content: "";
    pointer-events: none;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--ease-out);
}

.why-stat strong {
    display: block;

    margin-bottom: 8px;

    color: var(--dark-green);

    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;

    transition:
        color 220ms ease,
        translate 280ms var(--ease-out);
}

.why-stat span {
    display: block;

    max-width: 200px;

    color: var(--muted-text);

    font-size: 0.8rem;
    line-height: 1.375;
}

@media (hover: hover) and (pointer: fine) {

    .why-stat:hover::before {
        transform: scaleX(1);
    }

    .why-stat:hover strong {
        color: var(--medium-green);

        translate: 0 -3px;
    }
}

@media (max-width: 1023px) {

    .why-heading h2 {
        font-size: 2.25rem;
    }

    .why-copy p {
        font-size: 0.875rem;
    }

    .why-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-stat strong {
        font-size: 1.875rem;
    }

    .why-stat span {
        font-size: 0.75rem;
    }
}

@media (max-width: 900px) {

    .why-content {
        grid-template-columns: 1fr;
    }

    .why-copy {
        padding-top: 0;
    }
}

@media (max-width: 767px) {

    .why-section {
        padding: 72px 24px;
    }

    .why-heading h2 {
        font-size: 1.5rem;
    }

    .why-stat-grid {
        margin-top: 24px;
        padding-top: 24px;
    }
}

@media (max-width: 640px) {

    .why-heading h2 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .why-heading h2 span {
        display: inline;
    }

    .why-stat {
        padding: 0;
    }
}


/* =========================================================
   7. HOME — APPROACH
   ========================================================= */

.approach-section {
    padding: 120px var(--side-padding);

    border-top: 1px solid rgb(255 255 255 / 0.08);
    border-bottom: 1px solid rgb(255 255 255 / 0.08);

    background-image:
        linear-gradient(
            180deg,
            var(--forest) 0%,
            var(--dark-green) 100%
        );
    background-position: center center;
    background-size: cover;
    color: rgb(255 255 255 / 0.72);
}

.approach-heading {
    margin-bottom: 46px;
}

.approach-heading .eyebrow {
    color: var(--gold);
}

.approach-heading h2 {
    max-width: 680px;
    margin-bottom: 14px;

    color: var(--white);

    font-size: clamp(2.65rem, 3.4vw, 3.3rem);
    letter-spacing: 0;
    line-height: 1.04;
}

.approach-heading > p:not(.eyebrow) {
    max-width: 610px;

    color: rgb(255 255 255 / 0.68);

    font-size: 1rem;
}

.approach-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px clamp(32px, 4vw, 64px);
}

.approach-card {
    position: relative;

    padding: 30px 0 0;

    border-top: 1px solid rgb(255 255 255 / 0.16);
}

/* Gold rule that draws across the top on hover. */
.approach-card::before {
    position: absolute;
    top: -1px;
    left: 0;

    width: 100%;
    height: 1px;

    background: var(--gold);

    content: "";

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 420ms var(--ease-out);
}

.approach-number {
    display: block;

    margin-bottom: 22px;

    color: var(--gold);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.approach-card h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.12;
}

.approach-card p {
    margin-bottom: 26px;

    color: rgb(255 255 255 / 0.68);

    font-size: 0.98rem;
}

.approach-card ul {
    display: grid;
    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.approach-card li {
    position: relative;

    padding-left: 18px;

    color: rgb(255 255 255 / 0.82);

    font-size: 0.92rem;
}

.approach-card li::before {
    position: absolute;
    top: 0.72em;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 999px;

    background: var(--gold);

    content: "";
}

@media (hover: hover) and (pointer: fine) {

    .approach-card:hover::before {
        transform: scaleX(1);
    }
}

@media (max-width: 900px) {

    .approach-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .approach-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .approach-heading {
        margin-bottom: 32px;
    }

    .approach-heading h2 {
        font-size: 2.15rem;
    }

    .approach-card {
        padding-top: 26px;
    }
}


/* =========================================================
   7. HOME — PROCESS
   ========================================================= */

.process-section {
    padding: 92px var(--side-padding);

    border-bottom: 1px solid var(--border);

    background: var(--background);
}

.process-heading {
    margin-bottom: 42px;
}

.process-heading h2 {
    max-width: 880px;
    margin-bottom: 20px;

    font-size: clamp(2.6rem, 4.8vw, 5rem);
    letter-spacing: 0;
}

.process-heading > p:not(.eyebrow) {
    max-width: 760px;

    color: var(--muted-text);

    font-size: 1.08rem;
}

/* Wide screens: one horizontal timeline. */
.process-steps {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 24px;

    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 0;

    list-style: none;
}

.process-step {
    position: relative;

    min-width: 0;
}

/* Connector from this step's marker to the next one. */
.process-step:not(:last-child)::after {
    position: absolute;
    top: 18px;
    right: -12px;
    left: 48px;

    height: 1px;

    background: rgb(var(--dark-green-rgb) / 0.22);

    content: "";
}

.process-step span {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    margin-bottom: 24px;

    border: 1px solid rgb(var(--dark-green-rgb) / 0.22);
    border-radius: 999px;

    background: var(--background);
    color: var(--medium-green);

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;

    transition:
        background 220ms ease,
        border-color 220ms ease,
        color 220ms ease;
}

.process-step h3 {
    min-height: 2.4em;
    margin-bottom: 10px;

    font-size: 1rem;
    letter-spacing: 0;
}

.process-step p {
    margin: 0;

    color: var(--muted-text);

    font-size: 0.88rem;
    line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {

    .process-step:hover span {
        border-color: rgb(var(--gold-rgb) / 0.5);

        background: var(--gold-tint);
        color: var(--dark-green);
    }
}

/* Narrower screens: vertical timeline. */
@media (max-width: 1099px) {

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;

        max-width: 680px;
        margin-left: 0;
    }

    .process-step {
        padding: 0 0 30px 58px;
    }

    .process-step:not(:last-child)::after {
        top: 42px;
        right: auto;
        bottom: 0;
        left: 18px;

        width: 1px;
        height: auto;
    }

    .process-step span {
        position: absolute;
        top: 0;
        left: 0;

        margin-bottom: 0;
    }

    .process-step h3 {
        min-height: auto;
        padding-top: 6px;
    }
}

@media (max-width: 640px) {

    .process-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .process-heading {
        margin-bottom: 34px;
    }

    .process-heading h2 {
        font-size: 2.45rem;
    }
}


/* =========================================================
   7. HOME — TECHNOLOGY
   ========================================================= */

.technology-section {
    padding: 86px var(--side-padding);

    border-bottom: 1px solid var(--border);

    background: var(--surface);
}

.technology-content {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);
    gap: clamp(48px, 6vw, 96px);
}

.technology-copy h2 {
    max-width: 580px;
    margin-bottom: 20px;

    font-size: clamp(2.1rem, 3.1vw, 3.4rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.technology-copy > p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 0;

    color: var(--muted-text);

    font-size: 1.02rem;
    line-height: 1.62;
}

.technology-figure {
    max-width: 540px;
    margin: 40px 0 0;

    overflow: hidden;

    border-radius: 6px;

    aspect-ratio: 4 / 3;
}

.technology-figure img {
    height: 100%;

    object-fit: cover;
}

.technology-points {
    display: grid;
    align-content: center;
    gap: 0;
}

.technology-point {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 8px;

    padding: 30px 0;

    border-top: 1px solid var(--border);

    transition: border-color 220ms ease;
}

.technology-point:last-child {
    border-bottom: 1px solid var(--border);
}

.technology-point > span {
    padding-top: 0.5em;

    color: var(--gold-deep);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.technology-point h3,
.technology-point p,
.technology-point .metric-list {
    grid-column: 2;
}

.technology-point h3 {
    margin-bottom: 0;

    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.technology-point p {
    max-width: 620px;
    margin-bottom: 0;

    color: var(--muted-text);

    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pilot metric chips (markup is commented out in index.html until v2.0). */
.metric-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.metric-list span {
    display: inline-flex;
    align-items: center;

    min-height: 32px;
    padding: 0 11px;

    border: 1px solid rgb(var(--dark-green-rgb) / 0.14);
    border-radius: 999px;

    background: rgb(255 255 255 / 0.46);
    color: var(--dark-green);

    font-size: 0.78rem;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {

    .technology-point:hover {
        border-top-color: rgb(var(--gold-deep-rgb) / 0.6);
    }
}

@media (max-width: 900px) {

    .technology-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 640px) {

    .technology-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .technology-content {
        gap: 36px;
    }

    .technology-point {
        grid-template-columns: 1fr;
    }

    .technology-point h3,
    .technology-point p,
    .technology-point .metric-list {
        grid-column: auto;
    }

    .technology-point > span {
        margin-bottom: 18px;
    }
}


/* =========================================================
   7. HOME — CONTACT
   ========================================================= */

.contact-section {
    padding: 140px var(--side-padding);

    text-align: center;
}

.contact-section h2 {
    max-width: 800px;
    margin-right: auto;
    margin-bottom: 25px;
    margin-left: auto;
}

.contact-section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 40px;

    color: var(--muted-text);

    font-size: 1.08rem;
}

@media (max-width: 640px) {

    .contact-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

/* Button label slides up to reveal the email address on hover. */
.contact-cta-button {
    min-width: 236px;
    overflow: hidden;
}

.contact-cta-inner {
    position: relative;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 1.4em;

    overflow: hidden;

    line-height: 1.4em;
}

.contact-cta-label,
.contact-cta-hover {
    display: block;

    width: 100%;

    text-align: center;
    white-space: nowrap;

    transition:
        transform 260ms var(--ease-out),
        opacity 220ms ease;
}

.contact-cta-hover {
    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;

    transform: translateY(100%);
}

@media (hover: hover) and (pointer: fine) {

    .contact-cta-button:hover .contact-cta-label {
        opacity: 0;

        transform: translateY(-100%);
    }

    .contact-cta-button:hover .contact-cta-hover {
        opacity: 1;

        transform: translateY(0);
    }
}

/* Touch screens show the email address directly. */
@media (hover: none), (pointer: coarse) {

    .contact-cta-label {
        display: none;
    }

    .contact-cta-hover {
        position: static;

        opacity: 1;

        transform: none;
    }
}


/* =========================================================
   8. ABOUT — HERO
   ========================================================= */

.about-hero-shell {
    --about-hero-scale: 1;
    --hero-fade:
        linear-gradient(
            90deg,
            rgb(var(--background-rgb) / 0.99) 0%,
            rgb(var(--background-rgb) / 0.96) 28%,
            rgb(var(--background-rgb) / 0.78) 48%,
            rgb(var(--background-rgb) / 0.18) 76%
        );

    position: relative;

    min-height: 100vh;
    padding-top: var(--header-height);

    overflow: hidden;

    background: var(--background);
}

/* Background layer; script.js zooms it slightly as the page scrolls. */
.about-hero-shell::before {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: var(--hero-decor);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    content: "";
    pointer-events: none;

    transform: scale(var(--about-hero-scale));
    transform-origin: center;
    will-change: transform;
}

.about-hero-shell::after {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image:
        var(--fade-bottom),
        var(--hero-fade);

    content: "";
    pointer-events: none;
}

.about-hero {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    min-height: calc(100vh - var(--header-height));
    padding: 80px var(--side-padding) 110px;
}

.about-heading h1 {
    max-width: 760px;
    margin-bottom: 28px;

    font-size: clamp(3.6rem, 6vw, 6.3rem);
}

.about-intro {
    max-width: 520px;

    color: var(--muted-text);

    font-size: 1.05rem;
}

@media (max-width: 900px) {

    .about-hero-shell {
        --hero-fade: var(--fade-tablet);
    }

    .about-hero {
        min-height: auto;
    }
}

@media (max-width: 640px) {

    .about-hero-shell {
        --hero-fade: var(--fade-mobile);

        min-height: auto;
    }
}


/* =========================================================
   8. ABOUT — STORY
   ========================================================= */

.story-section {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, 0.92fr);
    gap: clamp(50px, 8vw, 120px);

    padding: 120px var(--side-padding);

    background: var(--dark-green);
}

.story-image-wrapper,
.story-content {
    align-self: start;
}

.story-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-caption {
    margin-top: 16px;

    color: rgb(255 255 255 / 0.62);

    font-size: 0.82rem;
}

.story-content .eyebrow {
    color: #a9c0b6;
}

.story-content h2 {
    max-width: 620px;
    margin-bottom: 0;

    color: var(--white);
}

.story-content p:not(.eyebrow) {
    color: rgb(255 255 255 / 0.72);

    font-size: 1.02rem;
}

/* Timeline: a faint rail, plus a gold line that draws down it
   when script.js adds .is-drawn / milestone .is-visible. */
.story-timeline {
    position: relative;

    margin: 48px 0 0;
    padding: 4px 0 0 28px;

    list-style: none;
}

.story-timeline::before,
.story-timeline::after {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;

    width: 1px;

    content: "";
}

.story-timeline::before {
    background: rgb(255 255 255 / 0.16);
}

.story-timeline::after {
    background: rgb(var(--gold-bright-rgb) / 0.34);

    pointer-events: none;

    transform-origin: top;
}

.story-milestone {
    position: relative;

    padding-bottom: 30px;
}

.story-milestone:not(:last-child) {
    margin-bottom: 28px;

    border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.story-milestone:last-child {
    padding-bottom: 0;
}

.story-milestone::before {
    position: absolute;
    top: 4px;
    left: -33px;
    z-index: 1;

    width: 9px;
    height: 9px;

    border: 1px solid rgb(var(--gold-rgb) / 0.76);
    border-radius: 999px;

    background: var(--dark-green);

    content: "";
}

.story-milestone::after {
    position: absolute;
    top: 15px;
    bottom: -29px;
    left: -28px;

    width: 1px;

    background: rgb(var(--gold-bright-rgb) / 0.22);

    content: "";
    pointer-events: none;

    transform-origin: top;
}

.story-milestone:last-child::after {
    bottom: 0;
}

.story-date {
    display: block;

    margin-bottom: 10px;

    color: rgb(var(--gold-rgb) / 0.92);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.story-copy {
    max-width: 610px;
}

.story-milestone h3 {
    margin-bottom: 10px;

    color: var(--white);

    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0;
}

.story-milestone p {
    max-width: 610px;
    margin: 0;

    color: rgb(255 255 255 / 0.68);

    font-size: 0.98rem;
    line-height: 1.68;
}

/* Animated state, only when script.js sets .timeline-reveal-ready
   (so the timeline is fully visible without JS or with reduced motion). */
body.timeline-reveal-ready .story-timeline::after {
    transition:
        opacity 420ms ease,
        transform 1250ms var(--ease-soft);
}

body.timeline-reveal-ready .story-milestone::after {
    transition:
        opacity 360ms ease,
        transform 700ms var(--ease-soft);
}

body.timeline-reveal-ready .story-timeline:not(.is-drawn)::after,
body.timeline-reveal-ready .story-milestone:not(.is-visible)::after {
    opacity: 0;

    transform: scaleY(0);
}

body.timeline-reveal-ready .story-date {
    transition:
        opacity 560ms ease,
        transform 560ms var(--ease-soft);
}

body.timeline-reveal-ready .story-copy {
    transition:
        opacity 620ms ease,
        transform 620ms var(--ease-soft);
}

body.timeline-reveal-ready .story-milestone:not(.is-visible) .story-date {
    opacity: 0;

    transform: translateY(12px);
}

body.timeline-reveal-ready .story-milestone:not(.is-visible) .story-copy {
    opacity: 0;

    transform: translateX(-10px);
}

body.timeline-reveal-ready .story-milestone.is-visible .story-date {
    transition-delay: 80ms;
}

body.timeline-reveal-ready .story-milestone.is-visible .story-copy {
    transition-delay: 190ms;
}

@media (max-width: 900px) {

    .story-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .story-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .story-timeline {
        margin-top: 36px;
        padding-left: 0;
    }

    .story-timeline::before,
    .story-timeline::after,
    .story-milestone::before,
    .story-milestone::after {
        display: none;
    }

    .story-milestone,
    .story-milestone:not(:last-child) {
        margin-bottom: 24px;
        padding-bottom: 24px;

        border-bottom: 1px solid rgb(255 255 255 / 0.12);
    }

    .story-milestone:last-child {
        margin-bottom: 0;
        padding-bottom: 0;

        border-bottom: 0;
    }
}


/* =========================================================
   8. ABOUT — FOUNDERS
   ========================================================= */

.founders-section {
    padding: 110px var(--side-padding);

    border-bottom: 1px solid var(--border);

    background: var(--background);
}

.founders-heading {
    margin-bottom: 46px;
}

.founders-heading h2 {
    max-width: 760px;

    font-size: clamp(2.4rem, 4.6vw, 4.9rem);
    letter-spacing: 0;
}

.founder-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 36px);

    margin: 0;
    padding: 0;

    list-style: none;
}

.founder-profile {
    min-width: 0;
}

.founder-photo-link {
    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 8px;

    background: var(--dark-green);

    text-decoration: none;
}

.founder-photo {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;

    border-radius: 8px;

    background: var(--soft-green);

    object-fit: cover;
    object-position: center 25%;

    transition: transform 420ms var(--ease-out);
}

/* Per-photo crop adjustments. */
.founder-photo--fanny {
    object-position: 58% 25%;
}

.founder-photo--ahda {
    object-position: 44% 25%;
}

.founder-link-label {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgb(var(--forest-rgb) / 0) 48%,
            rgb(var(--forest-rgb) / 0.78) 100%
        );
    color: var(--white);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0;

    transition: opacity 260ms ease;
}

.founder-link-label > span {
    font-size: 1rem;
    line-height: 1;
}

.founder-profile h3 {
    margin: 18px 0 7px;

    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

.founder-profile p {
    max-width: 250px;
    margin: 0;

    color: var(--muted-text);

    font-size: 0.92rem;
    line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {

    .founder-profile:hover .founder-photo {
        transform: translateY(-4px);
    }

    .founder-photo-link:hover .founder-photo,
    .founder-photo-link:focus-visible .founder-photo {
        transform: scale(1.035);
    }

    .founder-photo-link:hover .founder-link-label,
    .founder-photo-link:focus-visible .founder-link-label {
        opacity: 1;
    }
}

/* Touch screens always show the LinkedIn label. */
@media (hover: none), (pointer: coarse) {

    .founder-link-label {
        padding: 16px;

        opacity: 1;
    }
}

@media (max-width: 900px) {

    .founder-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 28px;
    }
}

@media (max-width: 640px) {

    .founders-section {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .founders-heading {
        margin-bottom: 34px;
    }

    .founders-heading h2 {
        font-size: 2.45rem;
    }

    .founder-list {
        gap: 36px 20px;
    }

    .founder-profile h3 {
        margin-top: 16px;

        font-size: 0.98rem;
    }

    .founder-profile p {
        font-size: 0.86rem;
    }
}

@media (max-width: 420px) {

    .founder-list {
        grid-template-columns: 1fr;
    }

    .founder-profile p {
        max-width: 320px;
    }
}


/* =========================================================
   8. ABOUT — DIRECTION (VISION AND MISSION)
   ========================================================= */

.direction-section {
    padding: 112px 48px;

    border-bottom: 1px solid rgb(255 255 255 / 0.08);

    background: var(--forest);
    color: var(--white);
}

.direction-top {
    display: grid;
    grid-template-columns: 1fr;
}

.direction-eyebrow,
.direction-label {
    margin-bottom: 12px;

    color: var(--gold-bright);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.direction-header h2 {
    max-width: 66rem;

    color: var(--white);

    font-size: 3.5rem;
    letter-spacing: 0;
    line-height: 1.1;
}

.direction-divider {
    margin: 40px 0 48px;

    border-top: 1px solid rgb(255 255 255 / 0.15);
}

.direction-bottom {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 64px;
}

.vision-block {
    grid-column: span 5;
}

.mission-block {
    grid-column: span 7;
}

.vision-block .direction-label {
    margin-bottom: 16px;
}

.vision-statement {
    max-width: 560px;
    margin: 0;

    color: var(--white);

    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.375;
}

.mission-block .direction-label {
    margin-bottom: 24px;
}

.mission-list {
    display: grid;
    gap: 24px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mission-item:not(:last-child) {
    padding-bottom: 24px;

    border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.mission-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;

    margin-bottom: 12px;
}

.mission-heading span {
    flex: 0 0 auto;

    color: var(--gold-bright);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

.mission-heading h3 {
    margin: 0;

    color: var(--white);

    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.28;
}

.mission-item p {
    max-width: 600px;
    margin: 0;

    color: rgb(209 250 229 / 0.78);

    font-size: 0.98rem;
    line-height: 1.625;
}

@media (max-width: 1023px) {

    .direction-header h2 {
        font-size: 3rem;
        line-height: 1.15;
    }

    .direction-bottom {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-block,
    .mission-block {
        grid-column: auto;
    }

    .vision-statement {
        font-size: 1.875rem;
    }
}

@media (max-width: 900px) {

    .vision-statement {
        max-width: 720px;
    }
}

@media (max-width: 767px) {

    .direction-section {
        padding: 64px 24px;
    }

    .direction-header h2 {
        font-size: 1.875rem;
    }

    .direction-divider {
        margin: 18px 0;
    }

    .vision-statement {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {

    .mission-heading {
        gap: 12px;
    }

    .mission-item {
        padding-bottom: 24px;
    }

    .mission-heading h3 {
        font-size: 1.12rem;
    }

    .mission-item p {
        font-size: 0.94rem;
    }
}


/* =========================================================
   8. ABOUT — PRINCIPLES
   ========================================================= */

.principles-section {
    padding: 112px 48px;

    border-bottom: 1px solid var(--border);

    background: var(--surface-mint);
}

.principles-heading {
    max-width: 850px;
    margin-bottom: 48px;
}

.principles-eyebrow {
    margin-bottom: 14px;

    color: var(--gold-deep);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.principles-heading h2 {
    max-width: 820px;
    margin: 0;

    font-size: 2.9rem;
    letter-spacing: 0;
    line-height: 1.08;
}

.principles-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.principle-item {
    display: grid;
    grid-template-columns:
        56px
        minmax(240px, 0.9fr)
        minmax(0, 1.6fr);
    align-items: start;
    column-gap: 28px;
    row-gap: 12px;

    padding: 34px 0;

    border-top: 1px solid rgb(var(--dark-green-rgb) / 0.12);
}

.principle-item:last-child {
    padding-bottom: 0;
}

.principle-number {
    color: var(--gold-deep);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
}

.principle-item h3 {
    margin: 0;

    font-family: var(--font-display);
    font-size: 1.72rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.18;
}

.principle-item p {
    max-width: 690px;
    margin: 0;

    color: var(--dark-green);

    font-size: 0.96rem;
    line-height: 1.68;
}

@media (max-width: 1023px) {

    .principles-heading h2 {
        font-size: 2.65rem;
    }

    .principle-item {
        grid-template-columns: 1fr;
        align-items: normal;
        column-gap: 12px;

        padding: 30px 0;
    }

    .principle-item h3 {
        font-size: 1.45rem;
    }

    .principle-item p {
        max-width: 680px;
    }
}

@media (max-width: 767px) {

    .principles-section {
        padding: 64px 24px;
    }

    .principles-heading {
        margin-bottom: 42px;
    }

    .principles-heading h2 {
        font-size: 2.2rem;
    }

    .principle-item {
        padding: 24px 0;
    }
}


/* =========================================================
   8. ABOUT — CLOSING
   ========================================================= */

.closing-statement {
    padding: 150px var(--side-padding);

    text-align: center;
}

.closing-statement blockquote {
    max-width: 950px;
    margin: 0 auto 50px;

    color: var(--dark-green);

    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

@media (max-width: 640px) {

    .closing-statement {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}


/* =========================================================
   9. FOOTER
   ========================================================= */

.site-footer {
    border-top: 1px solid rgb(255 255 255 / 0.1);

    background: var(--forest);
    color: rgb(255 255 255 / 0.72);
}

.site-footer-inner {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.85fr)
        minmax(340px, 1.15fr)
        minmax(180px, 0.55fr);
    gap: clamp(42px, 7vw, 96px);

    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 72px var(--side-padding) 58px;
}

.site-footer p {
    margin: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;

    color: var(--white);

    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
}

.footer-brand-logo {
    flex: 0 0 auto;

    width: 40px;
    height: 46px;
    padding: 4px;

    border-radius: 6px;

    background: rgb(255 255 255 / 0.94);

    object-fit: contain;
}

.footer-brand-block > p:not(.footer-copyright) {
    max-width: 270px;
    margin-bottom: 30px;
}

.footer-copyright {
    color: rgb(255 255 255 / 0.48);

    font-size: 0.78rem;
}

.footer-heading {
    margin-bottom: 20px;

    color: rgb(255 255 255 / 0.74);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.footer-partner > p {
    margin-bottom: 10px;

    color: rgb(255 255 255 / 0.58);

    font-size: 0.84rem;
}

.footer-logo-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    min-height: 72px;
}

.footer-logo-image {
    width: auto;
    max-width: 100%;

    object-fit: contain;
}

.footer-logo-ugm {
    height: 64px;
}

.footer-logo-wwf {
    height: 70px;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-navigation a,
.footer-contact-link {
    width: fit-content;

    color: rgb(255 255 255 / 0.68);

    font-size: 0.92rem;
    text-decoration: none;

    transition:
        color 180ms ease,
        translate 180ms ease;
}

.footer-navigation a:hover,
.footer-contact-link:hover {
    color: var(--white);

    translate: 3px 0;
}

.footer-contact-link {
    display: inline-block;

    margin-top: 16px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 24px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 4px;

    transition: translate 180ms ease;
}

.footer-social-link:hover {
    translate: 0 -2px;
}

.footer-social-link:focus-visible {
    outline: 1px solid rgb(255 255 255 / 0.56);
    outline-offset: 4px;
}

.footer-social-icon {
    display: block;

    width: 18px;
    height: 18px;

    background-color: rgb(255 255 255 / 0.62);

    transition: background-color 180ms ease;
}

.footer-social-link:hover .footer-social-icon {
    background-color: var(--white);
}

.footer-social-icon-linkedin {
    -webkit-mask: url("../../images/logo/linkedin_logo.svg") center / contain no-repeat;
    mask: url("../../images/logo/linkedin_logo.svg") center / contain no-repeat;
}

@media (max-width: 900px) {

    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand-block > p:not(.footer-copyright) {
        max-width: 360px;
    }
}

@media (max-width: 640px) {

    .site-footer-inner {
        padding-top: 58px;
        padding-bottom: 48px;
    }

    .footer-partner-grid {
        grid-template-columns: 1fr;
    }
}
