:root {
    --purple: #743b8f;
    --purple-dark: #3f205f;
    --purple-soft: #f1edf5;
    --green: #743b8f;
    --green-dark: #3f205f;
    --orange: #f58200;
    --orange-dark: #dd7200;
    --blue: #743b8f;
    --ink: #33224f;
    --muted: #76648d;
    --line: #ded3e6;
    --soft: #f7f6f8;
    --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.012); }
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(244, 124, 32, .22);
    }
    50% {
        box-shadow: 0 14px 34px rgba(244, 124, 32, .38);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
    min-height: 106px;
    width: min(1320px, calc(100% - 36px));
    margin: 16px auto 0;
    padding: 18px 28px;
    border: 1px solid rgba(235, 230, 243, .92);
    border-radius: 10px 10px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(32, 25, 71, .08);
    backdrop-filter: blur(16px);
}
.brand img { width: 252px; max-width: 46vw; display: block; }
.main-nav {
    display: flex;
    min-width: 0;
    justify-content: center;
    gap: clamp(14px, 1.55vw, 24px);
}
.main-nav a {
    color: var(--purple);
    font-size: clamp(.82rem, .78vw, .94rem);
    font-weight: 800;
    padding: 10px 2px;
    white-space: nowrap;
}
.main-nav a.active { color: var(--orange); }
.main-nav.is-static {
    justify-content: flex-end;
}
.header-actions { display: flex; gap: 12px; white-space: nowrap; }
.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-primary { color: #fff; background: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary {
    position: relative;
    overflow: hidden;
    animation: ctaGlow 3.8s ease-in-out infinite;
}
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: translateX(-160%) skewX(-18deg);
    transition: transform .7s ease;
}
.btn-primary:hover {
    transform: translateY(-1px);
}
.btn-primary:hover::after {
    transform: translateX(260%) skewX(-18deg);
}
.btn-secondary { color: var(--green-dark); border-color: var(--line); background: #fff; }
.text-link { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
    position: relative;
    width: min(1320px, calc(100% - 36px));
    min-height: 610px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    gap: clamp(28px, 3.2vw, 56px);
    margin: 14px auto 0;
    padding: clamp(44px, 5vw, 74px) 0 clamp(44px, 5vw, 74px) clamp(42px, 6vw, 90px);
    color: var(--purple);
    overflow: hidden;
    border: 1px solid rgba(116, 59, 143, .12);
    border-top: 0;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(116, 59, 143, .06), transparent 36%),
        linear-gradient(315deg, rgba(245, 130, 0, .08), transparent 30%),
        #fff;
    box-shadow:
        0 28px 80px rgba(63, 32, 95, .13),
        inset 0 1px 0 rgba(255, 255, 255, .92);
}
.hero-cover {
    grid-template-columns: minmax(320px, 540px) 1fr;
    align-items: end;
    min-height: clamp(620px, 72vh, 780px);
    padding: clamp(30px, 5vw, 72px);
    isolation: isolate;
    background: #2f1748;
}
.hero-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(36, 18, 56, .72), rgba(36, 18, 56, .26) 44%, rgba(36, 18, 56, .08)),
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(36, 18, 56, .18));
}
.hero-cover::after {
    display: none;
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.06) brightness(.9);
}
.hero::after {
    content: "";
    position: absolute;
    right: 54px;
    bottom: 46px;
    width: 58px;
    height: 72px;
    border: 2px solid rgba(33, 20, 95, .22);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transform: rotate(-12deg);
}
.hero-content { width: min(720px, 100%); }
.hero-content {
    animation: fadeUp .72s ease both;
}
.hero-cover .hero-content {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    padding: clamp(22px, 3.6vw, 42px);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
    box-shadow:
        0 28px 72px rgba(36, 18, 56, .28),
        inset 0 1px 0 rgba(255, 255, 255, .76);
    backdrop-filter: blur(18px) saturate(1.1);
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.eyebrow.dark { color: var(--orange); }
h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 4.1vw, 5.15rem);
    font-weight: 600;
    line-height: .94;
    letter-spacing: 0;
}
.hero h1 {
    color: #4a2467;
    text-wrap: balance;
}
.hero p {
    max-width: 640px;
    margin: 22px 0 0;
    color: #4f415d;
    font-size: clamp(1rem, 1.02vw, 1.13rem);
    line-height: 1.76;
}
.hero-cover .eyebrow {
    color: #f47c20;
}
.hero-cover h1 {
    color: #3c175c;
}
.hero-cover p {
    color: #3f334d;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 34px; }
.hero .text-link { color: var(--purple); }
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(116, 59, 143, .16);
    border-radius: 999px;
    color: var(--purple-dark);
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 8px 20px rgba(63, 32, 95, .06);
    font-size: .82rem;
    font-weight: 800;
}
.hero-media {
    position: relative;
    min-height: 610px;
    align-self: stretch;
    border-left: 3px solid rgba(244, 124, 32, .64);
    border-radius: 999px 0 0 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.04)),
        url("/cooperativa-assets/coop.png") 36% center / cover no-repeat;
    overflow: hidden;
    animation: fadeUp .82s ease .08s both;
    box-shadow:
        -28px 24px 70px rgba(63, 32, 95, .14),
        inset 18px 0 34px rgba(255, 255, 255, .18);
}
.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    object-position: 36% center;
    filter: saturate(1.16) contrast(1.14) brightness(.94);
    animation: softFloat 7s ease-in-out infinite;
}
.hero-media::before {
    content: "";
    position: absolute;
    inset: 16px auto auto 24px;
    z-index: 2;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: rgba(245, 130, 0, .72);
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(63, 32, 95, .04), transparent 42%),
        linear-gradient(180deg, transparent 76%, rgba(63, 32, 95, .08));
}
.hero-orbit {
    position: absolute;
    right: clamp(18px, 5vw, 58px);
    bottom: clamp(18px, 5vw, 56px);
    z-index: 3;
    width: 172px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    color: #fff;
    background: rgba(63, 32, 95, .72);
    box-shadow: 0 18px 42px rgba(63, 32, 95, .22);
    backdrop-filter: blur(16px);
    animation: softFloat 6s ease-in-out infinite;
}
.hero-cover .hero-orbit {
    z-index: 2;
    right: clamp(22px, 5vw, 64px);
    bottom: clamp(22px, 5vw, 64px);
}
.hero-orbit span {
    display: block;
    color: rgba(255, 255, 255, .76);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}
.hero-orbit strong {
    display: block;
    margin-top: 4px;
    font-size: 1.06rem;
}

.media-hub {
    width: min(1320px, calc(100% - 36px));
    margin: 24px auto 0;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 64px rgba(63, 32, 95, .1);
}
.media-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.media-head h2 {
    max-width: 720px;
    margin: 0;
    color: var(--purple-dark);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 1.02;
}
.story-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--purple-dark);
}
.story-track {
    position: relative;
    min-height: 430px;
}
.story-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 24px;
    padding: clamp(22px, 4vw, 42px);
    color: #fff;
    opacity: 0;
    transform: scale(1.012);
    transition: opacity .38s ease, transform .38s ease;
    pointer-events: none;
}
.story-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.story-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .54;
}
.story-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(63, 32, 95, .92) 0%, rgba(63, 32, 95, .58) 48%, rgba(63, 32, 95, .16) 100%),
        linear-gradient(0deg, rgba(63, 32, 95, .74), transparent 56%);
}
.story-slide div {
    position: relative;
    z-index: 1;
    max-width: 560px;
}
.story-slide span,
.news-card span {
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.story-slide h3 {
    margin: 12px 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: .98;
}
.story-slide p {
    max-width: 520px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    line-height: 1.7;
}
.carousel-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.carousel-control.prev { left: 18px; }
.carousel-control.next { right: 18px; }
.carousel-dots {
    position: absolute;
    left: 42px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.carousel-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
}
.carousel-dots button.active {
    background: var(--orange);
}
.channel-grid {
    display: grid;
    grid-template-columns: .92fr 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.news-card,
.video-card {
    min-height: 230px;
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(63, 32, 95, .06);
}
.news-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(116, 59, 143, .08), rgba(245, 130, 0, .08)),
        #fff;
}
.news-card h3 {
    margin: 10px 0;
    color: var(--purple-dark);
    font-size: 1.35rem;
    line-height: 1.15;
}
.news-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}
.video-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    border: 0;
}
.video-lite {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    padding: 0;
    border: 0;
    background: #120b22;
    cursor: pointer;
    overflow: hidden;
}
.video-lite img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    filter: saturate(1.05) brightness(.84);
    transition: transform .22s ease, filter .22s ease;
}
.video-lite span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(245, 130, 0, .92);
    font-weight: 900;
}
.video-lite:hover img,
.video-lite:focus-visible img {
    transform: scale(1.04);
    filter: saturate(1.12) brightness(.96);
}

.project-fund {
    width: min(1320px, calc(100% - 36px));
    margin: 24px auto 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(116, 59, 143, .06), transparent 34%),
        #fff;
    box-shadow: 0 22px 64px rgba(63, 32, 95, .1);
}
.project-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.project-head h2 {
    max-width: 820px;
    margin: 0;
    color: var(--purple-dark);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.04;
}
.project-head p:not(.eyebrow) {
    max-width: 780px;
    color: var(--muted);
    line-height: 1.68;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.project-card {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(63, 32, 95, .07);
}
.project-image {
    position: relative;
    min-height: 180px;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.04);
    transition: transform .28s ease;
}
.project-card:hover .project-image img {
    transform: scale(1.035);
}
.project-image span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(63, 32, 95, .82);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}
.project-body {
    display: grid;
    gap: 12px;
    padding: 20px;
}
.project-body h3 {
    margin: 0;
    color: var(--purple-dark);
    font-size: 1.25rem;
    line-height: 1.15;
}
.project-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}
.project-progress {
    display: grid;
    gap: 8px;
}
.project-progress div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.project-progress strong {
    color: var(--orange);
    font-size: 1.35rem;
}
.project-progress span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}
.progress-bar {
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(116, 59, 143, .12);
}
.progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange), var(--purple));
}
.project-contribution-form {
    display: grid;
    grid-template-columns: 1.3fr repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(63, 32, 95, .96), rgba(116, 59, 143, .92)),
        var(--purple-dark);
    color: #fff;
}
.project-contribution-form h3 {
    margin: 0;
    font-size: 1.55rem;
}
.project-contribution-form p:not(.eyebrow) {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.58;
}
.project-contribution-form label {
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
}
.project-contribution-form input,
.project-contribution-form select,
.project-contribution-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}
.project-contribution-form .full {
    grid-column: 2 / -1;
}
.project-contribution-form .btn {
    grid-column: 2 / -1;
    width: fit-content;
    justify-self: end;
}
.form-status {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(245, 130, 0, .46);
    border-radius: 12px;
    color: #fff;
    background: rgba(245, 130, 0, .18);
    line-height: 1.45;
}
.form-status[data-type="success"] {
    border-color: rgba(96, 185, 129, .48);
    background: rgba(96, 185, 129, .16);
}
.form-status[data-type="error"] {
    border-color: rgba(255, 122, 122, .54);
    background: rgba(255, 122, 122, .18);
}
.form-hint {
    margin: -2px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .86rem;
    line-height: 1.45;
}
.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.is-loading {
    opacity: .82;
}
.is-loading button[type="submit"] {
    cursor: wait;
}

@media (max-width: 1240px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .brand img {
        width: 230px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .main-nav.is-static {
        display: flex;
        grid-column: auto;
        width: auto;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    body.menu-open .main-nav,
    body.menu-open .header-actions {
        display: grid;
        gap: 8px;
    }

    body.menu-open .main-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }

    body.menu-open .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: 1px solid rgba(116, 59, 143, .12);
        border-radius: 10px;
        background: #fff;
        text-align: center;
        white-space: normal;
    }

    body.menu-open .header-actions {
        grid-template-columns: 1fr 1fr;
    }

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

    .project-contribution-form {
        grid-template-columns: 1fr 1fr;
    }

    .project-contribution-form > div:first-child,
    .project-contribution-form .full,
    .project-contribution-form .btn {
        grid-column: 1 / -1;
    }
}

.cooperative-lab {
    width: min(1320px, calc(100% - 36px));
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 24px;
    align-items: stretch;
    margin: 24px auto 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(63, 32, 95, .96), rgba(116, 59, 143, .9)),
        #3f205f;
    box-shadow: 0 24px 70px rgba(63, 32, 95, .16);
    overflow: hidden;
}
.lab-copy {
    align-self: center;
    min-width: 0;
}
.lab-copy h2 {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.02;
}
.lab-copy p:not(.eyebrow) {
    max-width: 520px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.75;
}
.lab-panel {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 18px;
    min-height: 360px;
    min-width: 0;
}
.journey-options {
    display: grid;
    gap: 10px;
}
.journey-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .07);
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.journey-option span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--orange);
    background: #fff;
    font-size: .78rem;
}
.journey-option:hover,
.journey-option.active {
    border-color: rgba(245, 130, 0, .72);
    background: rgba(255, 255, 255, .13);
    transform: translateX(4px);
}
.journey-result {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .9)),
        #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 44px rgba(20, 14, 45, .18);
    overflow: hidden;
}
.journey-result::before {
    content: "";
    position: absolute;
    right: -54px;
    top: -54px;
    width: 180px;
    height: 180px;
    border: 28px solid rgba(245, 130, 0, .16);
    border-radius: 50%;
}
.journey-result span {
    position: relative;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.journey-result h3 {
    position: relative;
    max-width: 480px;
    margin: 12px 0;
    color: var(--purple-dark);
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    line-height: 1.08;
}
.journey-result p {
    position: relative;
    max-width: 500px;
    color: var(--muted);
    line-height: 1.68;
}
.journey-result .btn {
    position: relative;
    width: fit-content;
    margin-top: 18px;
}
.lab-panel.pulse .journey-result {
    animation: focusPulse .42s ease;
}
.impact-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.impact-strip div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
}
.impact-strip strong {
    display: block;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}
.impact-strip span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
}

@keyframes focusPulse {
    0% { transform: scale(.985); }
    100% { transform: scale(1); }
}

.section { padding: clamp(52px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.section.alt { background: var(--soft); }
.wrap { width: min(1050px, 100%); margin: 0 auto; }
.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head h2 {
    margin: 0 0 12px;
    color: var(--purple);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    line-height: 1.12;
}
.section-head p { color: var(--muted); line-height: 1.72; font-size: 1.05rem; }
.grid { display: grid; gap: 18px; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid { grid-template-columns: repeat(4, 1fr); }
.card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(32, 25, 71, .04);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--orange));
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(116, 59, 143, .2);
}
a.card:hover,
.card:hover {
    border-color: rgba(244, 124, 32, .45);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(32, 25, 71, .08);
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.62; }
.card-image,
.section-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}
.section-image {
    margin: 0 0 22px;
}
.content-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.content-list strong { color: var(--ink); margin-right: 6px; }
.product-selector {
    display: grid;
    gap: 18px;
}
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-tab {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--purple);
    background: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.product-tab:hover {
    border-color: rgba(244, 124, 32, .55);
    transform: translateY(-1px);
}
.product-tab.active {
    color: #fff;
    border-color: var(--orange);
    background: var(--orange);
}
.product-tab:focus-visible,
.journey-option:focus-visible,
.btn:focus-visible,
.text-link:focus-visible {
    outline: 3px solid rgba(245, 130, 0, .34);
    outline-offset: 3px;
}
.product-panels {
    display: grid;
}
.product-panel {
    display: none;
}
.product-panel.active {
    display: block;
    animation: fadeUp .34s ease both;
}
.product-panel p + p {
    margin-top: 10px;
}
.number-card span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #fff;
    background: var(--orange);
    font-weight: 900;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--purple-dark); background: var(--purple-soft); }
tr:last-child td { border-bottom: 0; }
.notice {
    padding: 16px 18px;
    border-left: 5px solid var(--orange);
    background: #fff5e8;
    color: #704000;
    line-height: 1.6;
}
.form-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-shell label { display: grid; gap: 7px; color: #44564f; font-weight: 700; }
.form-shell input, .form-shell textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}
.form-shell textarea { grid-column: 1 / -1; min-height: 110px; resize: vertical; }

.site-footer {
    width: min(1180px, calc(100% - 28px));
    margin: 24px auto 18px;
    padding: clamp(24px, 4vw, 46px);
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(circle at 14% 8%, rgba(245, 130, 0, .24), transparent 26%),
        radial-gradient(circle at 92% 18%, rgba(255, 255, 255, .1), transparent 22%),
        linear-gradient(135deg, #2f174d 0%, var(--purple-dark) 46%, var(--purple) 100%);
    border: 1px solid rgba(116, 59, 143, .32);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(32, 25, 71, .22);
}
.footer-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.footer-cta span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--orange);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.footer-cta h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 500;
}
.footer-cta p {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.6;
}
.footer-cta .btn {
    min-width: 180px;
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 2.1fr);
    gap: clamp(24px, 4vw, 46px);
    align-items: start;
}
.footer-brand {
    min-width: 0;
}
.footer-brand img {
    width: min(260px, 100%);
    display: block;
    margin-bottom: 18px;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .18));
}
.footer-brand p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.footer-badges a {
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: .78rem;
    font-weight: 900;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    margin: 0;
    color: #fff;
    font-size: .86rem;
    font-weight: 900;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}
.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: .86rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.site-footer section {
    min-width: 0;
}
.site-footer a {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, .76);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color .18s ease, transform .18s ease;
}
.site-footer a:hover {
    color: #fff;
    transform: translateX(2px);
}
.footer-muted {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, .56);
    font-size: .94rem;
}
.footer-grid section {
    position: relative;
    padding-top: 14px;
}
.footer-grid section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), rgba(255, 255, 255, .22));
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.55;
}
.document-page {
    background: #f7f6f8;
}
.document-page .site-header {
    position: relative;
}
.document-shell {
    width: min(920px, calc(100% - 32px));
    margin: 34px auto 70px;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid rgba(222, 211, 230, .9);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(63, 32, 95, .08);
}
.document-shell h1 {
    margin-top: 8px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.03;
}
.document-summary {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}
.document-body {
    margin-top: 28px;
    color: var(--ink);
    line-height: 1.78;
}
.document-body p {
    margin: 0 0 16px;
}
.sticky-join {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
    display: grid;
    gap: 2px;
    min-width: 174px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 18px 44px rgba(245, 130, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sticky-join.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.sticky-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(245, 130, 0, .42);
}
.sticky-join span {
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}
.sticky-join strong {
    font-size: .98rem;
}
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease;
}
.js-ready .reveal-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(22px);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 980px) {
    body {
        background: #ffffff;
    }

    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
        width: min(360px, calc(100% - 18px));
        min-height: 58px;
        margin-top: 8px;
        padding: 10px 12px;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 12px 34px rgba(32, 25, 71, .12);
    }

    .brand {
        display: block;
        width: 188px;
        height: 42px;
        overflow: hidden;
    }

    .brand img {
        width: 188px;
        height: 42px;
        object-fit: contain;
        object-position: left center;
    }

    .menu-toggle { display: block; }
    .menu-toggle span {
        width: 18px;
        height: 2px;
        margin: 4px 0;
        background: var(--purple);
    }
    .main-nav, .header-actions { display: none; grid-column: 1 / -1; width: 100%; }
    body.menu-open .main-nav, body.menu-open .header-actions { display: grid; gap: 8px; }
    body.menu-open .main-nav { grid-template-columns: 1fr; }
    .main-nav a { padding: 12px 0; border-top: 0; }
    .cards-grid, .steps-grid, .form-shell { grid-template-columns: 1fr; }
    .product-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
        width: min(360px, calc(100% - 18px));
        min-height: 0;
        gap: 12px;
        padding: 12px;
        border-radius: 0;
        box-shadow: 0 12px 34px rgba(32, 25, 71, .12);
    }

    .hero::after {
        right: 18px;
        top: 166px;
        bottom: auto;
        width: 34px;
        height: 44px;
    }

    .hero-media {
        order: -1;
        width: 100%;
        min-height: 292px;
        border-left: 1px solid rgba(244, 124, 32, .64);
        border-radius: 999px 999px 0 0;
    }

    .hero-media img {
        min-height: 292px;
        object-position: 35% center;
        animation-duration: 8.5s;
    }

    .hero-content {
        padding: 2px 4px 4px;
    }

    .eyebrow {
        margin-bottom: 8px;
        font-size: .52rem;
        letter-spacing: .1em;
        line-height: 1.35;
    }

    h1 {
        max-width: 260px;
        font-size: clamp(1.7rem, 9vw, 2.2rem);
        line-height: .98;
    }

    .hero p {
        max-width: 265px;
        margin-top: 12px;
        font-size: .78rem;
        line-height: 1.55;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 265px;
        margin-top: 14px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 40px;
        justify-content: center;
        padding: 10px 14px;
        font-size: .78rem;
    }

    .hero-actions .text-link {
        justify-self: center;
        font-size: .72rem;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 12px;
    }

    .hero-proof span {
        min-height: 28px;
        padding: 6px 8px;
        font-size: .62rem;
    }

    .hero-orbit {
        right: 12px;
        bottom: 12px;
        width: 132px;
        padding: 10px;
        border-radius: 10px;
    }

    .hero-orbit span {
        font-size: .58rem;
    }

    .hero-orbit strong {
        font-size: .78rem;
    }

    .media-hub {
        width: min(360px, calc(100% - 18px));
        margin-top: 10px;
        padding: 14px 12px;
        border-radius: 18px;
    }

    .media-head {
        display: grid;
        gap: 8px;
        margin-bottom: 14px;
    }

    .media-head h2 {
        font-size: 1.5rem;
    }

    .story-track {
        min-height: 430px;
    }

    .story-slide {
        grid-template-columns: 1fr;
        align-items: end;
        padding: 22px 18px 58px;
    }

    .story-slide h3 {
        font-size: 1.75rem;
    }

    .story-slide p {
        font-size: .86rem;
    }

    .carousel-control {
        width: 34px;
        height: 34px;
        font-size: 1.5rem;
    }

    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }

    .carousel-dots {
        left: 18px;
        bottom: 18px;
    }

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

    .project-fund {
        width: min(100%, calc(100% - 24px));
        margin-top: 10px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .project-head {
        display: grid;
        gap: 8px;
        margin-bottom: 14px;
    }

    .project-head h2 {
        font-size: 1.65rem;
    }

    .project-head p:not(.eyebrow) {
        font-size: .92rem;
        line-height: 1.6;
    }

    .project-grid,
    .project-contribution-form {
        grid-template-columns: 1fr;
    }

    .project-contribution-form .full,
    .project-contribution-form .btn {
        grid-column: 1;
    }

    .project-contribution-form .btn {
        width: 100%;
        justify-self: stretch;
    }

    .cooperative-lab {
        width: min(100%, calc(100% - 24px));
        grid-template-columns: 1fr;
        margin-top: 10px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .lab-copy h2 {
        font-size: 1.6rem;
    }

    .lab-copy p:not(.eyebrow) {
        font-size: .9rem;
        line-height: 1.6;
    }

    .lab-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .journey-option {
        min-height: 54px;
        padding: 12px;
        font-size: .88rem;
    }

    .journey-result {
        padding: 18px;
    }

    .journey-result h3 {
        font-size: 1.35rem;
    }

    .journey-result p {
        font-size: .9rem;
    }

    .impact-strip {
        grid-template-columns: 1fr;
    }

    .section {
        width: min(100%, calc(100% - 24px));
        margin: 0 auto;
        padding: 24px 16px;
        background: #fff;
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
    }

    .section.alt {
        background: #fff;
    }

    .section-head {
        margin: 0 auto 16px;
        text-align: center;
    }

    .section-head h2 {
        font-size: 1.45rem;
    }

    .section-head p {
        font-size: .92rem;
        line-height: 1.55;
    }

    .card {
        padding: 16px 18px;
        box-shadow: 0 4px 12px rgba(63, 32, 95, .04);
    }

    .card h3 {
        font-size: 1.05rem;
    }

    .card p,
    .content-list {
        font-size: .9rem;
        line-height: 1.55;
    }

    .site-footer {
        width: min(100%, calc(100% - 24px));
        margin-bottom: 10px;
        padding: 24px 16px;
        border-radius: 0 0 14px 14px;
        text-align: left;
    }

    .footer-cta {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 16px;
        text-align: left;
    }

    .footer-cta h2 {
        font-size: 1.55rem;
    }

    .footer-cta p {
        font-size: .9rem;
    }

    .footer-cta .btn {
        width: 100%;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-brand img {
        width: 220px;
    }

    .site-footer section {
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .footer-bottom {
        display: grid;
        gap: 8px;
        font-size: .84rem;
    }

    .sticky-join {
        right: 12px;
        bottom: 10px;
        left: 12px;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 12px;
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }

    .sticky-join strong {
        justify-self: center;
        font-size: .86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Premium layer */
body {
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #faf9fb 100%);
}

.site-header {
    border-radius: 18px;
    border-color: rgba(116, 59, 143, .14);
    box-shadow:
        0 18px 48px rgba(63, 32, 95, .1),
        inset 0 1px 0 rgba(255, 255, 255, .88);
}

.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.hero::before {
    content: "";
    position: absolute;
    left: clamp(28px, 6vw, 86px);
    top: 0;
    width: 112px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--orange), var(--purple));
}

.btn-primary {
    box-shadow: 0 14px 30px rgba(245, 130, 0, .26);
}

.btn-secondary {
    box-shadow: 0 8px 20px rgba(63, 32, 95, .06);
}

.card {
    position: relative;
    border-color: rgba(116, 59, 143, .13);
    box-shadow:
        0 16px 40px rgba(63, 32, 95, .055),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(245, 130, 0, .85), rgba(116, 59, 143, .58));
    opacity: .72;
}

.section.alt {
    background:
        linear-gradient(180deg, #faf9fb 0%, #ffffff 100%);
}

.site-footer {
    margin-top: 20px;
    border-radius: 24px;
}

.footer-cta {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

@media (max-width: 980px) {
    .site-header {
        border-radius: 12px;
    }

    .hero {
        margin-top: 8px;
        border-radius: 0 0 18px 18px;
    }

    .hero::before {
        left: 18px;
        width: 76px;
    }

    .hero-media {
        box-shadow: 0 18px 42px rgba(63, 32, 95, .12);
    }

    .card::before {
        left: 14px;
        right: 14px;
    }

    .site-footer {
        border-radius: 18px;
    }
}

@media (max-width: 560px) {
    .hero { min-height: 0; }
    .card { padding: 20px; }
    .section .card { padding: 12px 14px; }
}

/* Public experience refinements */
.site-header {
    width: min(1380px, calc(100% - 36px));
    min-height: 112px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(20px, 2.2vw, 36px);
    padding: 18px 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .74);
    box-shadow: inset 0 0 0 1px rgba(116, 59, 143, .08);
}

.brand img {
    width: 286px;
    max-width: 48vw;
}

.main-nav {
    justify-content: center;
    gap: clamp(16px, 1.35vw, 25px);
}

.main-nav a {
    font-size: clamp(.84rem, .76vw, .96rem);
}

.hero,
.media-hub,
.project-fund,
.pqr-hub,
.cooperative-lab,
.section,
.site-footer {
    width: min(1380px, calc(100% - 36px));
}

h1 {
    font-size: clamp(2.85rem, 3.55vw, 4.55rem);
    line-height: .98;
}

.image-ribbon {
    display: grid;
    grid-template-columns: 1.25fr .9fr .9fr;
    gap: 16px;
    margin-top: 16px;
}

.image-ribbon figure {
    position: relative;
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--purple-dark);
    box-shadow: 0 14px 34px rgba(63, 32, 95, .08);
}

.image-ribbon figure:first-child {
    min-height: 240px;
}

.image-ribbon img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    opacity: .9;
    filter: saturate(1.05) contrast(1.04);
    transition: transform .28s ease;
}

.image-ribbon figure:hover img {
    transform: scale(1.035);
}

.image-ribbon figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #fff;
    background: rgba(63, 32, 95, .74);
    font-size: .86rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.pqr-hub {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(20px, 4vw, 42px);
    margin: 24px auto 0;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(116, 59, 143, .13);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(245, 130, 0, .08), transparent 30%),
        linear-gradient(315deg, rgba(116, 59, 143, .08), transparent 34%),
        #fff;
    box-shadow: 0 22px 64px rgba(63, 32, 95, .1);
}

.pqr-copy {
    align-self: center;
}

.pqr-copy h2 {
    max-width: 560px;
    margin: 0;
    color: var(--purple-dark);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.3vw, 3.45rem);
    line-height: 1.02;
}

.pqr-copy p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.68;
}

.pqr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pqr-actions button {
    min-height: 40px;
    border: 1px solid rgba(116, 59, 143, .16);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--purple-dark);
    background: #fff;
    font: inherit;
    font-size: .84rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(63, 32, 95, .06);
}

.pqr-actions button:hover {
    color: #fff;
    background: var(--purple);
}

.pqr-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 18px;
    background: rgba(63, 32, 95, .96);
    color: #fff;
}

.pqr-form label {
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
}

.pqr-form input,
.pqr-form select,
.pqr-form textarea,
.project-contribution-form input,
.project-contribution-form select,
.project-contribution-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.pqr-form .full,
.pqr-form .btn {
    grid-column: 1 / -1;
}

.pqr-form .btn {
    justify-self: start;
}

@media (min-width: 1500px) {
    .hero,
    .media-hub,
    .project-fund,
    .pqr-hub,
    .cooperative-lab,
    .section,
    .site-footer,
    .site-header {
        width: min(1460px, calc(100% - 56px));
    }

    .story-track {
        min-height: 480px;
    }

    .channel-grid {
        grid-template-columns: 1fr 1.15fr 1.15fr;
    }
}

@media (max-width: 1240px) {
    .brand img {
        width: 238px;
    }
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .brand img {
        width: 260px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    body.menu-open .main-nav,
    body.menu-open .header-actions {
        display: grid;
        gap: 10px;
    }

    body.menu-open .main-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }

    body.menu-open .main-nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: 1px solid rgba(116, 59, 143, .12);
        border-radius: 10px;
        background: #fff;
        text-align: center;
        white-space: normal;
    }

    body.menu-open .header-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .site-header,
    .hero,
    .media-hub,
    .project-fund,
    .pqr-hub,
    .cooperative-lab,
    .section,
    .site-footer {
        width: min(100%, calc(100% - 24px));
    }

    .site-header {
        min-height: 64px;
        padding: 12px 16px;
    }

    .brand {
        width: auto;
        height: auto;
        padding: 4px 6px;
        border-radius: 10px;
    }

    .brand img {
        width: 195px;
        height: auto;
    }

    .hero {
        min-height: 0;
        padding: 20px 16px;
        grid-template-columns: 1fr;
    }

    .hero-cover {
        min-height: 650px;
        align-items: end;
        padding: 18px;
    }

    .hero-cover::before {
        background:
            linear-gradient(180deg, rgba(36, 18, 56, .12), rgba(36, 18, 56, .26) 46%, rgba(36, 18, 56, .64)),
            linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .12));
    }

    .hero-cover .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .68));
    }

    .hero-background {
        object-position: 38% center;
    }

    h1 {
        font-size: clamp(2rem, 7.5vw, 2.6rem);
        line-height: 1.08;
    }

    .hero-media,
    .hero-media img {
        min-height: 240px;
        max-height: 340px;
        border-radius: 16px;
    }

    .image-ribbon,
    .pqr-hub,
    .pqr-form {
        grid-template-columns: 1fr;
    }

    .image-ribbon figure,
    .image-ribbon figure:first-child {
        min-height: 190px;
    }

    .pqr-hub {
        margin-top: 14px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .pqr-copy h2 {
        font-size: 1.65rem;
    }

    .pqr-copy p:not(.eyebrow) {
        font-size: .92rem;
        line-height: 1.6;
    }

    .pqr-form .btn {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    body.menu-open .main-nav,
    body.menu-open .header-actions {
        grid-template-columns: 1fr;
    }

    .brand img {
        width: 175px;
    }

    .site-header {
        min-height: 60px;
        padding: 10px 12px;
    }

    .hero {
        padding: 16px 12px;
    }

    .hero-cover {
        min-height: 690px;
        padding: 12px;
        border-radius: 18px;
    }

    .hero-cover .hero-content {
        padding: 16px;
    }

    .hero-cover .hero-orbit {
        display: none;
    }

    .card {
        padding: 14px 16px;
    }
}

/* Premium cooperative experience layer */
body {
    background:
        radial-gradient(circle at 9% 8%, rgba(245, 130, 0, .08), transparent 24%),
        radial-gradient(circle at 91% 4%, rgba(116, 59, 143, .1), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbf9fc 42%, #ffffff 100%);
}

.site-header {
    border-radius: 18px;
    border-color: rgba(116, 59, 143, .12);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 54px rgba(63, 32, 95, .08);
}

.brand {
    border-radius: 16px;
    background: rgba(255, 255, 255, .62);
    box-shadow:
        inset 0 0 0 1px rgba(116, 59, 143, .08),
        0 12px 32px rgba(63, 32, 95, .06);
}

.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--purple));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.hero-cover {
    width: min(1380px, calc(100% - 36px));
    min-height: clamp(640px, 74vh, 790px);
    margin-top: 14px;
    border-radius: 28px;
    box-shadow:
        0 34px 96px rgba(63, 32, 95, .16),
        inset 0 1px 0 rgba(255, 255, 255, .62);
}

.hero-cover::before {
    background:
        linear-gradient(90deg, rgba(36, 18, 56, .58), rgba(36, 18, 56, .2) 42%, rgba(36, 18, 56, .08)),
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(36, 18, 56, .2));
}

.hero-background {
    transform: scale(1.012) translateY(var(--hero-shift, 0));
    transform-origin: center;
    transition: transform .2s ease-out;
}

.hero-cover .hero-content {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62)),
        rgba(255, 255, 255, .76);
    box-shadow:
        0 30px 80px rgba(36, 18, 56, .28),
        inset 0 1px 0 rgba(255, 255, 255, .78);
}

.hero-cover .btn-primary,
.header-actions .btn-primary,
.footer-cta .btn-primary,
.sticky-join {
    background: linear-gradient(135deg, #ff8a00, #f58200 48%, #dd6f00);
}

.media-hub,
.project-fund,
.pqr-hub,
.section {
    position: relative;
    border-color: rgba(116, 59, 143, .1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82)),
        rgba(255, 255, 255, .9);
    box-shadow: 0 24px 76px rgba(63, 32, 95, .08);
}

.media-hub::before,
.project-fund::before,
.pqr-hub::before,
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(22px, 5vw, 86px);
    width: 112px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--orange), var(--purple));
}

.media-head h2,
.project-head h2,
.lab-copy h2,
.pqr-copy h2,
.section-head h2 {
    text-wrap: balance;
}

.story-carousel,
.project-card,
.news-card,
.video-card,
.journey-result,
.card,
.pqr-form,
.project-contribution-form,
.footer-cta {
    border-radius: 18px;
}

.story-carousel {
    box-shadow: 0 22px 70px rgba(36, 18, 56, .18);
}

.story-slide img {
    opacity: .68;
    filter: saturate(1.08) contrast(1.04);
}

.story-slide::after {
    background:
        linear-gradient(90deg, rgba(36, 18, 56, .9) 0%, rgba(63, 32, 95, .5) 52%, rgba(36, 18, 56, .1) 100%),
        linear-gradient(0deg, rgba(36, 18, 56, .68), transparent 58%);
}

.news-card,
.video-card,
.project-card,
.card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.news-card:hover,
.video-card:hover,
.project-card:hover,
a.card:hover,
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(63, 32, 95, .12);
}

.project-card {
    grid-template-rows: auto 1fr;
}

.project-image {
    min-height: 220px;
}

.project-image img {
    min-height: 220px;
}

.project-body {
    align-content: start;
    gap: 14px;
}

.progress-bar {
    height: 11px;
    background: rgba(116, 59, 143, .1);
}

.progress-bar i {
    box-shadow: 0 0 20px rgba(245, 130, 0, .34);
}

.cooperative-lab {
    position: relative;
    width: min(1380px, calc(100% - 36px));
    background:
        radial-gradient(circle at 18% 22%, rgba(245, 130, 0, .2), transparent 25%),
        linear-gradient(135deg, #341756 0%, #4d2371 48%, #743b8f 100%);
}

.cooperative-lab::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    border: 34px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.lab-copy,
.lab-panel,
.impact-strip {
    position: relative;
    z-index: 1;
}

.journey-option {
    backdrop-filter: blur(12px);
}

.journey-result {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .88)),
        #fff;
}

.impact-strip div {
    backdrop-filter: blur(12px);
}

.pqr-hub {
    overflow: hidden;
}

.pqr-hub::after {
    content: "";
    position: absolute;
    right: -84px;
    bottom: -96px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(245, 130, 0, .1);
}

.pqr-copy,
.pqr-form {
    position: relative;
    z-index: 1;
}

.pqr-actions button {
    transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.pqr-actions button:hover {
    transform: translateY(-2px);
}

.pqr-form,
.project-contribution-form {
    box-shadow: 0 24px 64px rgba(36, 18, 56, .18);
}

.pqr-form input,
.pqr-form select,
.pqr-form textarea,
.project-contribution-form input,
.project-contribution-form select,
.project-contribution-form textarea,
.form-shell input,
.form-shell textarea {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pqr-form input:focus,
.pqr-form select:focus,
.pqr-form textarea:focus,
.project-contribution-form input:focus,
.project-contribution-form select:focus,
.project-contribution-form textarea:focus,
.form-shell input:focus,
.form-shell textarea:focus {
    border-color: rgba(245, 130, 0, .75);
    box-shadow: 0 0 0 4px rgba(245, 130, 0, .14);
    outline: 0;
}

.section {
    width: min(1380px, calc(100% - 36px));
    margin: 24px auto 0;
    border: 1px solid rgba(116, 59, 143, .1);
    border-radius: 24px;
}

.section.alt {
    background:
        linear-gradient(180deg, rgba(250, 249, 252, .92), rgba(255, 255, 255, .9)),
        #fff;
}

.section-head {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head h2 {
    color: var(--purple-dark);
}

.card {
    border-color: rgba(116, 59, 143, .12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9)),
        #fff;
}

.card-image,
.section-image img {
    border-radius: 14px;
}

.site-footer {
    width: min(1380px, calc(100% - 36px));
    border-radius: 26px;
}

.footer-cta {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)),
        rgba(255, 255, 255, .05);
    backdrop-filter: blur(14px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 980px) {
    .site-header,
    .hero-cover,
    .media-hub,
    .project-fund,
    .cooperative-lab,
    .pqr-hub,
    .section,
    .site-footer {
        width: min(100%, calc(100% - 24px));
    }

    .site-header {
        border-radius: 16px;
    }

    .hero-cover {
        grid-template-columns: minmax(0, 1fr);
        min-height: 700px;
        border-radius: 22px;
        align-items: end;
        justify-items: center;
        padding: 14px;
    }

    .hero-cover::before {
        background:
            linear-gradient(180deg, rgba(36, 18, 56, .08), rgba(36, 18, 56, .18) 38%, rgba(36, 18, 56, .62)),
            linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .12));
    }

    .hero-cover .hero-content {
        width: min(100%, calc(100vw - 60px));
        overflow: hidden;
        padding: 18px;
        border-radius: 18px;
    }

    .hero-background {
        object-position: 24% center !important;
    }

    .hero-cover .hero-orbit {
        display: none;
    }

    .media-hub,
    .project-fund,
    .cooperative-lab,
    .pqr-hub,
    .section,
    .site-footer {
        margin-top: 14px;
        border-radius: 20px;
    }

    .media-head,
    .project-head,
    .footer-cta,
    .footer-main,
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .story-track {
        min-height: 460px;
    }

    .story-slide {
        padding: 24px 18px 64px;
    }

    .project-image,
    .project-image img {
        min-height: 210px;
    }

    .project-contribution-form,
    .pqr-form {
        border-radius: 18px;
    }

    .section {
        padding: 28px 18px;
    }
}

@media (max-width: 560px) {
    .hero-cover {
        grid-template-columns: minmax(0, 1fr);
        min-height: 700px;
        padding: 12px;
        overflow: hidden;
    }

    .hero-cover .hero-content {
        justify-self: start;
        width: min(294px, calc(100% - 24px));
        max-width: 294px;
        margin-inline: 0;
        padding: 16px;
    }

    .hero-cover .hero-content > * {
        min-width: 0;
    }

    .hero-cover h1 {
        max-width: 100%;
        font-size: clamp(1.92rem, 8.6vw, 2.28rem);
        line-height: 1.06;
        text-wrap: wrap;
        overflow-wrap: break-word;
    }

    .hero-cover p {
        max-width: 100%;
        font-size: .86rem;
        overflow-wrap: anywhere;
    }

    .hero-actions,
    .hero-proof {
        max-width: 100%;
    }

    .hero-cover .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-cover .hero-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .hero-cover .hero-actions .text-link {
        display: block;
        text-align: center;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-proof span {
        border-radius: 999px;
        background: rgba(255, 255, 255, .86);
        text-align: center;
    }

    .story-track {
        min-height: 500px;
    }

    .channel-grid,
    .project-grid,
    .lab-panel,
    .impact-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sticky-join {
        right: 12px;
        bottom: 12px;
        left: 12px;
        min-width: 0;
        text-align: center;
    }
}

/* Refined premium header */
.site-header {
    grid-template-columns: auto minmax(360px, 1fr) auto;
    min-height: 78px;
    width: min(1380px, calc(100% - 36px));
    margin-top: 14px;
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(116, 59, 143, .1);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78)),
        rgba(255, 255, 255, .88);
    box-shadow:
        0 18px 58px rgba(63, 32, 95, .1),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand img {
    width: 178px;
    max-width: 34vw;
}

.main-nav {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(116, 59, 143, .1);
    border-radius: 999px;
    background: rgba(247, 243, 250, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.main-nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border-radius: 999px;
    padding: 9px 14px;
    color: rgba(63, 32, 95, .86);
    font-size: .84rem;
    font-weight: 900;
}

.main-nav a::after {
    display: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--orange);
    background: #fff;
    box-shadow: 0 8px 18px rgba(63, 32, 95, .08);
}

.header-actions {
    align-items: center;
    gap: 8px;
}

.header-actions .btn {
    min-height: 46px;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: .94rem;
}

.header-actions .btn-secondary {
    background: rgba(255, 255, 255, .6);
}

.menu-toggle {
    display: none;
    width: auto;
    height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(245, 130, 0, .22);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a00, #f58200 48%, #dd6f00);
    box-shadow: 0 14px 30px rgba(245, 130, 0, .24);
}

.menu-toggle strong {
    color: #fff;
    font-size: .84rem;
    font-weight: 900;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
        position: sticky;
        border-radius: 24px;
        padding: 10px 12px 10px 16px;
    }

    .menu-toggle {
        position: relative;
        top: auto;
        right: auto;
        z-index: 4;
        display: inline-flex !important;
        flex-shrink: 0;
        transform: none;
    }

    .brand img {
        width: 168px;
        max-width: 56vw;
    }

    body.menu-open .main-nav {
        width: 100%;
        justify-self: stretch;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(247, 243, 250, .9);
    }

    body.menu-open .main-nav a {
        min-height: 42px;
        border: 1px solid rgba(116, 59, 143, .1);
        background: rgba(255, 255, 255, .72);
    }

    body.menu-open .main-nav a.active {
        background: #fff;
    }

    body.menu-open .header-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.menu-open .header-actions .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .site-header {
        width: min(100%, calc(100% - 24px));
        min-height: 64px;
        margin-top: 10px;
        padding: 10px 12px 10px 14px;
        border-radius: 20px;
    }

    .brand img {
        width: 148px;
        max-width: 58vw;
    }

    body.menu-open .main-nav {
        grid-template-columns: 1fr;
    }

    body.menu-open .header-actions {
        grid-template-columns: 1fr;
    }
}

/* Cooperative project contribution journey */
.project-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 22px;
}

.project-flow div {
    position: relative;
    min-height: 118px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(116, 59, 143, .12);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
        rgba(255, 255, 255, .9);
    box-shadow: 0 16px 42px rgba(63, 32, 95, .07);
}

.project-flow div::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -18px;
    z-index: 1;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), rgba(116, 59, 143, .26));
}

.project-flow div:last-child::after {
    display: none;
}

.project-flow span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    background: var(--purple-dark);
    font-size: .72rem;
    font-weight: 900;
}

.project-flow strong {
    display: block;
    color: var(--purple-dark);
    font-size: 1rem;
}

.project-flow p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.project-card {
    position: relative;
}

.project-card::after {
    content: "Seleccionado";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--purple));
    box-shadow: 0 12px 28px rgba(63, 32, 95, .22);
    font-size: .72rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
}

.project-card.is-selected {
    border-color: rgba(245, 130, 0, .72);
    box-shadow:
        0 28px 76px rgba(63, 32, 95, .14),
        0 0 0 4px rgba(245, 130, 0, .12);
}

.project-card.is-selected::after {
    opacity: 1;
    transform: translateY(0);
}

.project-contribution-form {
    position: relative;
    margin-top: 28px;
    overflow: hidden;
}

.project-contribution-form::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(245, 130, 0, .16);
}

.project-contribution-form > * {
    position: relative;
    z-index: 1;
}

.project-selected {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
}

.project-selected span {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-selected strong {
    color: #fff;
    font-size: .98rem;
    line-height: 1.28;
}

@media (max-width: 980px) {
    .project-flow {
        grid-template-columns: 1fr;
    }

    .project-flow div {
        min-height: 0;
    }

    .project-flow div::after {
        top: auto;
        right: auto;
        bottom: -12px;
        left: 28px;
        width: 2px;
        height: 14px;
        background: linear-gradient(180deg, var(--orange), rgba(116, 59, 143, .26));
    }
}

/* Professional viewport calibration */
:root {
    --public-shell: min(1760px, calc(100vw - clamp(32px, 6vw, 96px)));
}

.site-header,
.hero-cover,
.media-hub,
.project-fund,
.cooperative-lab,
.pqr-hub,
.section,
.site-footer {
    width: var(--public-shell);
}

.hero-cover {
    grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
    min-height: clamp(590px, 70vh, 760px);
    padding: clamp(34px, 4.2vw, 62px);
}

.hero-cover .hero-content {
    width: min(520px, 100%);
    padding: clamp(28px, 3.1vw, 44px);
}

.hero-cover h1 {
    font-size: clamp(3rem, 3.35vw, 4.35rem);
    line-height: 1;
    text-wrap: balance;
}

.hero-cover p {
    max-width: 520px;
    font-size: clamp(.98rem, .92vw, 1.08rem);
    line-height: 1.68;
}

.hero-actions {
    gap: 14px;
    margin-top: 28px;
}

.hero-proof {
    margin-top: 24px;
}

.hero-background {
    object-position: center center;
}

@media (min-width: 1600px) {
    .hero-cover {
        grid-template-columns: minmax(420px, .74fr) minmax(0, 1.26fr);
        min-height: clamp(650px, 72vh, 820px);
        padding: clamp(48px, 4.4vw, 76px);
    }

    .hero-cover .hero-content {
        width: min(560px, 100%);
    }

    .hero-cover h1 {
        font-size: clamp(3.55rem, 3.05vw, 4.65rem);
    }
}

@media (max-width: 1240px) {
    :root {
        --public-shell: min(100%, calc(100vw - 24px));
    }

    .hero-cover {
        grid-template-columns: minmax(0, 1fr);
        align-items: end;
    }

    .hero-cover .hero-content {
        width: min(560px, calc(100vw - 72px));
    }

    .hero-cover h1 {
        font-size: clamp(2.55rem, 5.4vw, 3.65rem);
    }
}

@media (max-width: 560px) {
    :root {
        --public-shell: min(100%, calc(100vw - 24px));
    }

    .menu-toggle {
        width: 44px;
        justify-content: center;
        gap: 0;
        padding: 0;
        flex-direction: column;
    }

    .menu-toggle strong {
        display: none;
    }

    .menu-toggle span {
        display: block;
        margin: 3px auto;
    }
}

/* Mobile app experience calibration */
@media (max-width: 980px) {
    html {
        scroll-padding-top: 92px;
    }

    body {
        background:
            radial-gradient(circle at 18% -4%, rgba(245, 130, 0, .12), transparent 30%),
            radial-gradient(circle at 96% 8%, rgba(116, 59, 143, .12), transparent 34%),
            linear-gradient(180deg, #fffaf5 0%, #ffffff 24%, #fbf8ff 100%);
        padding-bottom: 84px;
    }

    :root {
        --public-shell: calc(100vw - 20px);
    }

    .site-header {
        position: sticky;
        top: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: var(--public-shell);
        min-height: 66px;
        margin-top: 8px;
        padding: 9px 66px 9px 14px;
        border-radius: 24px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 18px 46px rgba(63, 32, 95, .14);
    }

    .brand {
        flex: 0 1 auto;
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .brand img {
        width: 128px;
        max-width: 42vw;
        height: auto;
        object-fit: contain;
    }

    .menu-toggle {
        display: inline-flex !important;
        flex: 0 0 46px;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 4;
        width: 46px;
        height: 46px;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
        border: 1px solid rgba(116, 59, 143, .16);
        border-radius: 16px;
        background: rgba(241, 237, 245, .9);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
    }

    .menu-toggle strong {
        display: none;
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        margin: 3px auto;
        border-radius: 999px;
        background: var(--purple-dark);
    }

    body.menu-open .site-header {
        align-items: flex-start;
        border-radius: 24px;
    }

    body.menu-open .main-nav,
    body.menu-open .header-actions {
        display: grid;
        flex: 0 0 100%;
        width: 100%;
    }

    body.menu-open .main-nav {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(116, 59, 143, .12);
    }

    .main-nav a {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 10px 8px;
        border-radius: 14px;
        background: rgba(247, 246, 248, .86);
        color: var(--purple-dark);
        font-size: .78rem;
    }

    .main-nav a.active {
        background: rgba(245, 130, 0, .12);
        color: var(--orange-dark);
    }

    .main-nav a::after {
        display: none;
    }

    body.menu-open .header-actions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 8px;
    }

    .header-actions .btn {
        width: 100%;
        min-height: 44px;
        border-radius: 14px;
        font-size: .86rem;
    }

    .hero-cover {
        width: var(--public-shell);
        min-height: calc(100svh - 90px);
        margin-top: 10px;
        padding: 12px;
        align-items: end;
        border-radius: 30px;
        border: 1px solid rgba(116, 59, 143, .2);
        box-shadow: 0 24px 62px rgba(63, 32, 95, .18);
    }

    .hero-cover::before {
        background:
            linear-gradient(180deg, rgba(36, 18, 56, .05) 0%, rgba(36, 18, 56, .22) 42%, rgba(36, 18, 56, .72) 100%),
            linear-gradient(90deg, rgba(36, 18, 56, .18), rgba(36, 18, 56, .02));
    }

    .hero-background {
        object-position: 45% center;
        filter: saturate(1.08) contrast(1.02) brightness(.84);
    }

    .hero-cover .hero-content {
        width: min(100%, calc(100vw - 44px));
        max-width: none;
        margin: 0;
        padding: 18px;
        border-radius: 24px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58)),
            rgba(255, 255, 255, .62);
        box-shadow:
            0 24px 64px rgba(36, 18, 56, .32),
            inset 0 1px 0 rgba(255, 255, 255, .86);
        backdrop-filter: blur(22px) saturate(1.18);
    }

    .hero-cover .eyebrow {
        margin-bottom: 8px;
        font-size: .68rem;
    }

    .hero-cover h1 {
        max-width: 100%;
        font-size: clamp(2.02rem, 8.6vw, 2.62rem);
        line-height: 1.04;
    }

    .hero-cover p {
        max-width: 100%;
        margin-top: 12px;
        color: rgba(51, 34, 79, .88);
        font-size: .91rem;
        line-height: 1.54;
    }

    .hero-cover .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: none;
        margin-top: 16px;
    }

    .hero-cover .hero-actions .btn,
    .hero-cover .hero-actions .text-link {
        width: 100%;
        min-height: 46px;
        border-radius: 16px;
        font-size: .88rem;
    }

    .hero-cover .hero-actions .text-link {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(116, 59, 143, .16);
        background: rgba(255, 255, 255, .66);
        text-decoration: none;
    }

    .hero-proof {
        display: flex;
        gap: 8px;
        max-width: none;
        margin: 16px -2px 0;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .hero-proof::-webkit-scrollbar {
        display: none;
    }

    .hero-proof span {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 7px 11px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .78);
        font-size: .7rem;
        white-space: nowrap;
    }

    .hero-cover .hero-orbit {
        display: none;
    }

    .media-hub,
    .project-fund,
    .cooperative-lab,
    .pqr-hub,
    .section,
    .site-footer {
        width: var(--public-shell);
        border-radius: 26px;
        border: 1px solid rgba(116, 59, 143, .1);
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 18px 48px rgba(63, 32, 95, .08);
    }

    .media-hub,
    .project-fund,
    .cooperative-lab,
    .pqr-hub,
    .section {
        margin-top: 14px;
        padding: 22px 16px;
    }

    .media-head,
    .project-head,
    .section-head {
        text-align: left;
    }

    .media-head h2,
    .project-head h2,
    .lab-copy h2,
    .pqr-copy h2,
    .section-head h2 {
        font-size: clamp(1.55rem, 7vw, 2.05rem);
        line-height: 1.08;
    }

    .media-head p,
    .project-head p,
    .lab-copy p:not(.eyebrow),
    .pqr-copy p:not(.eyebrow),
    .section-head p {
        font-size: .94rem;
        line-height: 1.62;
    }

    .story-track {
        min-height: min(520px, 78vh);
        border-radius: 24px;
    }

    .story-slide {
        padding: 24px 18px 64px;
    }

    .channel-grid,
    .project-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(268px, 82vw);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        margin-inline: -16px;
        padding: 0 16px 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .channel-grid::-webkit-scrollbar,
    .project-grid::-webkit-scrollbar {
        display: none;
    }

    .channel-card,
    .project-card {
        scroll-snap-align: start;
        border-radius: 22px;
    }

    .project-flow {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-flow div {
        min-height: 0;
        padding: 14px;
        border-radius: 18px;
    }

    .project-contribution-form,
    .pqr-form,
    .form-shell {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 24px;
    }

    .project-contribution-form label,
    .pqr-form label,
    .form-shell label {
        gap: 7px;
        font-size: .82rem;
    }

    .project-contribution-form input,
    .project-contribution-form select,
    .project-contribution-form textarea,
    .pqr-form input,
    .pqr-form select,
    .pqr-form textarea,
    .form-shell input,
    .form-shell textarea {
        min-height: 48px;
        border-radius: 15px;
        font-size: .95rem;
    }

    .project-contribution-form textarea,
    .pqr-form textarea,
    .form-shell textarea {
        min-height: 112px;
    }

    .project-contribution-form .btn,
    .pqr-form .btn,
    .form-shell .btn {
        width: 100%;
        min-height: 50px;
        border-radius: 16px;
    }

    .lab-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 24px;
    }

    .journey-options {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(190px, 68vw);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .journey-options::-webkit-scrollbar {
        display: none;
    }

    .journey-option {
        scroll-snap-align: start;
        min-height: 64px;
        border-radius: 18px;
    }

    .journey-result {
        border-radius: 22px;
    }

    .sticky-join {
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: grid;
        grid-template-columns: auto 1fr;
        width: auto;
        min-height: 58px;
        padding: 10px 14px;
        border-radius: 20px;
        text-align: left;
    }
}

@media (max-width: 380px) {
    .hero-cover .hero-content {
        padding: 16px;
        border-radius: 22px;
    }

    .hero-cover h1 {
        font-size: clamp(2rem, 10vw, 2.45rem);
    }

    .hero-cover p {
        font-size: .9rem;
    }

    .brand img {
        width: 116px;
    }
}

@media (max-width: 980px) {
    .site-header > .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 50 !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(63, 32, 95, .16) !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #743b8f, #3f205f) !important;
        box-shadow: 0 12px 26px rgba(63, 32, 95, .24) !important;
    }

    .site-header > .menu-toggle span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        margin: 3px auto !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }

    body.menu-open .site-header {
        max-height: calc(100svh - 24px);
        overflow-y: auto;
        padding-bottom: 14px;
    }

    body.menu-open .main-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        max-height: none !important;
        min-height: 0 !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(116, 59, 143, .12) !important;
        background: transparent !important;
    }

    body.menu-open .main-nav a {
        display: flex !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 8px !important;
        border: 1px solid rgba(116, 59, 143, .1) !important;
        border-radius: 15px !important;
        background: #f8f5fb !important;
        color: #3f205f !important;
        font-size: .78rem !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        text-decoration: none !important;
        opacity: 1 !important;
    }

    body.menu-open .main-nav a.active {
        border-color: rgba(245, 130, 0, .28) !important;
        background: rgba(245, 130, 0, .12) !important;
        color: #dd7200 !important;
    }

    body.menu-open .header-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    body.menu-open .header-actions .btn {
        display: flex !important;
        min-height: 46px !important;
        border-radius: 15px !important;
        font-size: .86rem !important;
    }

    .site-footer {
        margin-top: 18px;
        margin-bottom: 96px;
        padding: 0;
        overflow: hidden;
        border-color: rgba(63, 32, 95, .12);
        background: linear-gradient(180deg, #3f205f, #27123e);
        box-shadow: 0 22px 54px rgba(63, 32, 95, .16);
    }

    .footer-cta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 18px;
        border-radius: 0;
        background:
            radial-gradient(circle at 88% 0%, rgba(245, 130, 0, .28), transparent 34%),
            rgba(255, 255, 255, .05);
    }

    .footer-cta span {
        font-size: .72rem;
    }

    .footer-cta h2 {
        max-width: 100%;
        font-size: clamp(1.55rem, 7.8vw, 2.1rem);
        line-height: 1.08;
    }

    .footer-cta p {
        font-size: .92rem;
        line-height: 1.58;
    }

    .footer-cta .btn {
        width: 100%;
        min-height: 48px;
        border-radius: 16px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 18px 8px;
    }

    .footer-brand img {
        width: 150px;
        margin-bottom: 12px;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: .9rem;
        line-height: 1.58;
    }

    .footer-badges,
    .footer-social {
        gap: 8px;
    }

    .footer-badges a,
    .footer-social a {
        min-height: 34px;
        padding: 8px 11px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .09);
        font-size: .76rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-grid section {
        padding: 14px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .footer-grid section::before {
        display: none;
    }

    .site-footer h2 {
        margin-bottom: 8px;
        font-size: .76rem;
        letter-spacing: .08em;
    }

    .site-footer a,
    .footer-muted {
        margin: 6px 0;
        font-size: .88rem;
        line-height: 1.42;
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 0;
        padding: 16px 18px 20px;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .footer-bottom p {
        font-size: .78rem;
    }

    .sticky-join {
        z-index: 30;
        grid-template-columns: 1fr;
        gap: 2px;
        min-height: 54px;
        padding: 9px 14px;
        border-radius: 18px;
        box-shadow: 0 16px 36px rgba(245, 130, 0, .3);
    }

    .sticky-join span {
        font-size: .68rem;
    }

    .sticky-join strong {
        font-size: .9rem;
    }

    .sticky-join:not(.is-visible) {
        display: none !important;
    }

    .sticky-join.is-visible {
        display: grid !important;
    }
}

/* ============================================================
   Editorial hero and header
   Header como banda institucional continua. Hero en dos columnas: texto
   editorial off-white a la izquierda (41.9%) y fotografia a la derecha
   (58.1%). La imagen deja de ser fondo con texto encima y pasa a ser una
   fotografia contenida, sin overlay, sin card y sin cristal.
   ============================================================ */

/* ---------- Header: banda institucional ---------- */
.site-header {
    min-height: 68px;
    margin-top: 0;
    padding: 0 clamp(14px, 1.8vw, 26px);
    gap: clamp(16px, 2vw, 34px);
    border: 0;
    border-bottom: 1px solid rgba(63, 32, 95, .09);
    border-radius: 0;
    background: rgba(255, 255, 255, .93);
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(1.04);
}

.brand img {
    width: 196px;
    max-width: 36vw;
}

/* Menu: sin capsula, con filo de activo y separadores finos */
.main-nav {
    gap: clamp(2px, .6vw, 8px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.main-nav a,
.main-nav a:hover,
.main-nav a.active {
    min-height: 0;
    padding: 20px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(63, 32, 95, .76);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .005em;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--purple-dark);
}

.main-nav a::after {
    display: block;
    content: "";
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    height: 2px;
    border-radius: 0;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

/* Botones del header: sobrios, no capsulas */
.header-actions { gap: 10px; }

.header-actions .btn,
body.menu-open .header-actions .btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 3px;
    font-size: .88rem;
    font-weight: 800;
}

.header-actions .btn-secondary {
    border: 1px solid rgba(63, 32, 95, .16);
    background: transparent;
}

/* CTA: sin pulso infinito ni barrido de brillo permanente */
.btn-primary,
.hero-cover .btn-primary,
.footer-cta .btn-primary {
    border-radius: 3px;
    animation: none;
    background: linear-gradient(180deg, #f8890c, #e27600);
    box-shadow: 0 8px 20px rgba(176, 80, 0, .24);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #e27600, #cf6a00);
    box-shadow: 0 10px 24px rgba(176, 80, 0, .3);
}

/* ---------- Hero: contenedor unico, foto protagonista ----------
   Un solo volumen: la foto toma el 72% de la retícula y el panel el 28%, con
   20-80px de solapamiento, asi que la foto se lee entre 64% y 67% y el panel
   entre 33% y 36%: nunca 50/50. El panel no es una card: comparte radio con
   el contenedor, no lleva radio en el borde del solapamiento y su sombra cae
   hacia la foto, no hacia abajo. La retícula de tablet vive en el bloque de
   980px y la de movil en el de 768px, ambos posteriores. */
.hero-cover {
    align-items: stretch;
    gap: 0;
    grid-template-columns: minmax(0, 2.57fr) minmax(0, 1fr);
    min-height: clamp(520px, 60vh, 640px);
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: clamp(18px, 1.35vw, 22px);
    background: #fbf9fc;
    box-shadow: 0 18px 44px -34px rgba(63, 32, 95, .32);
    overflow: hidden;
}

/* Columna real del grid, imagen fija: se anula el parallax (--hero-shift). */
.hero-background {
    position: static;
    inset: auto;
    z-index: 0;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    filter: saturate(.94) contrast(1.03);
}

.hero-cover::before,
.hero-cover::after {
    display: none;
}

/* Panel editorial: degradado minimo en el borde de contacto y sombra lateral
   muy suave. Sin cristal, sin blur, sin radio en el lado del solapamiento. */
.hero-cover .hero-content {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    margin-left: clamp(-80px, -4.6vw, -20px);
    padding: clamp(26px, 2.6vw, 38px);
    border: 0;
    border-radius: 0 clamp(18px, 1.35vw, 22px) clamp(18px, 1.35vw, 22px) 0;
    background:
        linear-gradient(90deg, rgba(63, 32, 95, .06), rgba(63, 32, 95, 0) 22%),
        #fbf9fc;
    box-shadow: -20px 0 42px -22px rgba(63, 32, 95, .24);
    backdrop-filter: none;
    animation: none;
}

/* Filete de marca: da identidad naranja sin gritar */
.hero-cover .eyebrow {
    margin-bottom: 12px;
    color: #a85500;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.hero-cover .eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--orange);
}

/* Panel al 30-35%: la medida ronda las 21-22 columnas, que es el techo del
   tamaño para 3 lineas ("Haz parte de una / comunidad que / impulsa tus
   proyectos") sin que el texto pese mas que la foto. */
.hero-cover h1 {
    max-width: 22ch;
    color: var(--purple-dark);
    font-size: clamp(1.7rem, 2.45vw, 2.25rem);
    line-height: 1.08;
    text-shadow: none;
}

.hero-cover p {
    max-width: 40ch;
    margin-top: 14px;
    color: rgba(63, 32, 95, .8);
    line-height: 1.66;
}

.hero-cover .hero-actions {
    gap: 20px;
    margin-top: 24px;
}

.hero-cover .hero-actions .text-link {
    padding-bottom: 3px;
    border-bottom: 1px solid #a85500;
    color: var(--purple-dark);
    font-weight: 700;
    text-decoration: none;
}

/* Sellos: jerarquia secundaria con punto de marca, sin barras ni pastillas */
.hero-cover .hero-proof {
    gap: 18px;
    margin-top: 22px;
}

.hero-proof span {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: rgba(63, 32, 95, .68);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-proof span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

/* La placa "Comunidad activa" duplica el mensaje del titulo: se retira */
.hero-orbit {
    display: none;
}

/* ---------- Responsive ----------
   El solapamiento y el radio son fluidos, asi que no hace falta un tramo
   especial para tablet: 769px mantiene el solapamiento (~20px) y desktop
   llega a 56px. Por debajo de 769px se apila: fotografia arriba, texto
   debajo, sin solapamiento. El header colapsa a 980px y va aparte. */
@media (max-width: 980px) {
    html {
        scroll-padding-top: 72px;
    }

    /* Tablet: foto al 61/39 de la retícula y alto recortado, porque una
       panoramica 2.6:1 en una columna de ~470px pierde mas cuanto mas alto.
       El bloque apilado de 768px viene despues y la pisa. */
    .hero-cover {
        grid-template-columns: minmax(0, 1.54fr) minmax(0, 1fr);
        min-height: clamp(460px, 52vh, 560px);
    }

    .site-header {
        position: sticky;
        top: 0;
        min-height: 60px;
        margin-top: 0;
        padding: 0 56px 0 12px;
        border-radius: 0;
        box-shadow: none;
    }

    .brand img {
        width: 140px;
        max-width: 44vw;
    }

    .site-header > .menu-toggle {
        top: 7px !important;
        right: 8px !important;
        border-radius: 4px !important;
        box-shadow: none !important;
    }
}

@media (max-width: 768px) {
    .hero-cover {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        border-radius: 18px;
    }

    .hero-background {
        height: clamp(240px, 62vw, 440px);
    }

    .hero-cover .hero-content {
        grid-column: 1;
        grid-row: 2;
        margin-left: 0;
        padding: 26px 20px;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-cover h1 {
        max-width: 18ch;
        font-size: clamp(1.85rem, 7vw, 2.35rem);
    }

    .hero-cover p {
        max-width: 100%;
        margin-top: 14px;
        line-height: 1.62;
    }

    .hero-cover .hero-actions {
        gap: 14px;
        margin-top: 24px;
    }

    .hero-cover .hero-actions .btn,
    .hero-cover .hero-actions .text-link {
        min-height: 46px;
        font-size: .88rem;
    }

    .hero-cover .hero-proof {
        gap: 12px 18px;
        margin-top: 22px;
    }

    .hero-proof span {
        font-size: .66rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        min-height: 56px;
        padding-right: 52px;
    }

    .brand img {
        width: 124px;
        max-width: 42vw;
    }

    .hero-cover .hero-content {
        padding: 24px 16px;
    }

    .hero-cover h1 {
        font-size: clamp(1.75rem, 8vw, 2.15rem);
    }

    .hero-cover p {
        font-size: .9rem;
    }

    .hero-proof span {
        font-size: .62rem;
    }
}
