/* =========================================================
   ereviresco
   PUBLIC DESIGN SYSTEM
   ========================================================= */


/* =========================================================
   LIGHT MODE
   ========================================================= */

:root {
    color-scheme: light;

    --green: #159b35;
    --green-hover: #10842c;
    --green-bright: #42d95c;

    --green-deep: #063c2d;
    --green-dark: #032f23;

    --page: #f7faf8;
    --page-alt: #edf5ef;

    --surface: #ffffff;
    --surface-soft: #f2f7f4;
    --surface-strong: #e7f1eb;

    --text: #12251d;
    --text-soft: #586860;
    --text-muted: #78857e;

    --heading: #063c2d;

    --border: #d8e4dc;
    --border-strong: #bdcec3;

    --input-bg: #ffffff;
    --input-text: #10261d;

    --shadow:
        0 14px 38px
        rgba(3, 47, 35, 0.08);

    --shadow-large:
        0 28px 70px
        rgba(3, 47, 35, 0.14);

    --radius-small: 10px;
    --radius: 16px;
    --radius-large: 24px;

    --container: 1240px;
}


/* =========================================================
   AUTOMATIC DARK MODE
   ========================================================= */

@media (prefers-color-scheme: dark) {

    :root {
        color-scheme: dark;

        --page: #181c19;
        --page-alt: #1d231f;

        --surface: #101311;
        --surface-soft: #171c18;
        --surface-strong: #202722;

        --text: #f1f6f3;
        --text-soft: #aab7b0;
        --text-muted: #839089;

        --heading: #bdf4d6;

        --border: #343c37;
        --border-strong: #48534c;

        --input-bg: #101411;
        --input-text: #f3f7f4;

        --shadow:
            0 16px 40px
            rgba(0, 0, 0, 0.22);

        --shadow-large:
            0 30px 75px
            rgba(0, 0, 0, 0.34);
    }
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    background: var(--page);

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;

    overflow-x: hidden;

    background: var(--page);
    color: var(--text);

    font-family:
        "Manrope",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--heading);

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    letter-spacing: -0.035em;
}

p {
    color: var(--text-soft);
}

::selection {
    background: var(--green);
    color: #ffffff;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
    position: fixed;

    top: 10px;
    left: 10px;

    z-index: 9999;

    padding: 10px 14px;

    background: var(--green-dark);
    color: #ffffff;

    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}


/* =========================================================
   WIDTH SYSTEM
   ========================================================= */

.home-container,
.messages-container,
.updates-section,
.footer-container,
.footer-bottom {
    width: min(92%, var(--container));

    margin-inline: auto;
}


/* =========================================================
   HEADER
   SAME BACKGROUND AS PAGE / HERO
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;

    width: 100%;

    background: #b5f5da !important;

    border-bottom: 1px solid rgba(6, 60, 45, 0.18);

    transition:
        box-shadow 0.25s ease;
}

.site-header.scrolled {
        background: #b5f5da !important;
        box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12);
}
.header-container {
    width: min(95%, 1380px);

    height: 100px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        52px
        minmax(0, 1fr)
        52px;

    align-items: center;
}


/* =========================================================
   CIRCUIT DETAIL
   ========================================================= */

.header-circuit-mark {
    position: relative;

    width: 42px;
    height: 34px;
}

.header-circuit-mark::before,
.header-circuit-mark::after {
    content: "";

    position: absolute;

    height: 2px;

    background: var(--green);
}

.header-circuit-mark::before {
    top: 9px;
    left: 3px;

    width: 27px;
}

.header-circuit-mark::after {
    bottom: 9px;
    left: 12px;

    width: 27px;
}

.header-circuit-mark i {
    position: absolute;

    width: 7px;
    height: 7px;

    background: #b5f5da !important;

    border: 2px solid var(--green);
    border-radius: 50%;
}

.header-circuit-mark i:nth-child(1) {
    left: 0;
    top: 6px;
}

.header-circuit-mark i:nth-child(2) {
    left: 26px;
    top: 6px;
}

.header-circuit-mark i:nth-child(3) {
    right: 0;
    bottom: 6px;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    justify-self: center;

    width: min(455px, 70vw);
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.brand-visibility {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;
}

.brand-logo {
    position: relative;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    filter: none !important;
    opacity: 1 !important;
}


/*
   Keep the exact original logo.
   Dark mode only receives a soft neutral
   halo underneath the image.
*/




/* =========================================================
   THREE DOT MENU
   ========================================================= */

.menu-toggle {
    justify-self: end;

    width: 48px;
    height: 48px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(21, 155, 53, 0.05);

    color: var(--green);

    border:
        1px solid
        var(--border-strong);

    border-radius: 15px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.menu-toggle:hover {
    background:
        rgba(21, 155, 53, 0.10);

    border-color: var(--green);
}

.menu-toggle:active {
    transform: scale(0.94);
}

.menu-dots {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 4px;
}

.menu-dots i {
    width: 6px;
    height: 6px;

    display: block;

    background: var(--green);

    border-radius: 50%;
}


/* =========================================================
   DRAWER BACKDROP
   ========================================================= */

.nav-backdrop {
    position: fixed;

    inset: 0;

    z-index: 1300;

    background:
        rgba(0, 0, 0, 0.56);

    opacity: 0;

    visibility: hidden;
    pointer-events: none;

    backdrop-filter: blur(3px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.nav-backdrop.open {
    opacity: 1;

    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   NAVIGATION DRAWER
   ========================================================= */

.nav-drawer {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1400;

    width: min(420px, 92vw);

    height: 100vh;
    height: 100dvh;

    max-height: 100vh;
    max-height: 100dvh;

    padding:
        24px
        clamp(21px, 4vw, 36px)
        28px;

    display: flex;
    flex-direction: column;

    background: var(--surface);

    border-right:
        1px solid
        var(--border);

    box-shadow:
        30px 0 70px
        rgba(0, 0, 0, 0.23);

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior-y: contain;

    -webkit-overflow-scrolling: touch;

    touch-action: pan-y;

    transform: translateX(-104%);

    transition:
        transform
        0.4s
        cubic-bezier(.22, .8, .28, 1);
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-top {
    flex: 0 0 auto;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid
        var(--border);
}

.drawer-top p {
    margin: 0;

    color: var(--green);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.drawer-close {
    width: 42px;
    height: 42px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: var(--text);

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    font-size: 1.45rem;
}

.drawer-intro {
    flex: 0 0 auto;

    padding: 28px 0 22px;
}

.drawer-intro span {
    color: var(--green);

    font-size: 0.82rem;
    font-weight: 800;
}

.drawer-intro p {
    margin: 8px 0 0;

    font-size: 0.90rem;
}

.drawer-navigation {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;

    border-top:
        1px solid
        var(--border);
}

.drawer-navigation a {
    display: grid;

    grid-template-columns:
        36px
        1fr;

    align-items: center;

    gap: 8px;

    padding: 16px 2px;

    color: var(--text);

    border-bottom:
        1px solid
        var(--border);

    text-decoration: none;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.03rem;
    font-weight: 600;

    opacity: 0;

    transform: translateX(-18px);

    transition:
        color 0.2s ease,
        padding-left 0.2s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.nav-drawer.open
.drawer-navigation a {
    opacity: 1;

    transform: none;
}

.nav-drawer.open
.drawer-navigation a:nth-child(1) {
    transition-delay: 0.06s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(2) {
    transition-delay: 0.09s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(3) {
    transition-delay: 0.12s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(4) {
    transition-delay: 0.15s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(5) {
    transition-delay: 0.18s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(6) {
    transition-delay: 0.21s;
}

.nav-drawer.open
.drawer-navigation a:nth-child(7) {
    transition-delay: 0.24s;
}

.drawer-navigation a span {
    color: var(--green);

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.67rem;
    font-weight: 800;
}

.drawer-navigation a:hover {
    padding-left: 8px;

    color: var(--green);
}

.drawer-action {
    flex: 0 0 auto;

    padding-top: 24px;
}

.drawer-footer {
    flex: 0 0 auto;

    margin-top: 28px;
    padding-top: 24px;

    display: flex;
    flex-direction: column;

    gap: 6px;

    border-top:
        1px solid
        var(--border);

    font-size: 0.78rem;
}

.drawer-footer a {
    color: var(--text-soft);

    text-decoration: none;
}

.drawer-footer span {
    color: var(--text-muted);
}


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

.button,
.primary-button,
.partner-apply-button {
    min-height: 50px;

    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    text-decoration: none;

    font-size: 0.90rem;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover,
.primary-button:hover,
.partner-apply-button:hover {
    transform: translateY(-2px);
}

.button-primary,
.primary-button,
.partner-apply-button {
    background: var(--green);
    color: #ffffff;

    border:
        1px solid
        var(--green);
}

.button-primary:hover,
.primary-button:hover,
.partner-apply-button:hover {
    background: var(--green-hover);

    border-color:
        var(--green-hover);

    box-shadow:
        0 10px 24px
        rgba(21, 155, 53, 0.19);
}

.button-secondary {
    background: transparent;

    color: var(--heading);

    border:
        1px solid
        var(--border-strong);
}

.button-secondary:hover {
    background: var(--surface);

    color: var(--green);

    border-color: var(--green);
}

.button-light {
    background: #ffffff;

    color: var(--green-dark);

    border:
        1px solid
        #ffffff;
}

.button-outline-light {
    background: transparent;

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.66);
}

.button-full {
    width: 100%;
}

.text-link {
    color: var(--green);

    font-weight: 800;

    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    min-height: 70vh;

    background: var(--page);

    color: var(--text);
}

.messages-container {
    margin-top: 20px;
}

.site-message {
    padding: 14px 18px;

    background: var(--surface-soft);

    color: var(--text);

    border:
        1px solid
        var(--border);

    border-left:
        4px solid
        var(--green);

    border-radius: var(--radius-small);
}


/* =========================================================
   SHARED SECTIONS
   ========================================================= */

.home-section {
    padding:
        clamp(70px, 8vw, 110px)
        0;
}

.eyebrow,
.section-label {
    margin: 0 0 14px;

    color: var(--green);

    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.section-heading-centred {
    max-width: 820px;

    margin:
        0
        auto
        48px;

    text-align: center;
}

.section-heading-centred h2 {
    margin: 0;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.35rem
        );

    line-height: 1.02;
}

.section-heading-centred
> p:not(.eyebrow) {
    max-width: 680px;

    margin:
        20px
        auto
        0;

    font-size: 1.04rem;
}


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

.home-hero {
    position: relative;

    overflow: hidden;

    padding:
        clamp(35px, 5vw, 65px)
        0
        clamp(28px, 4vw, 48px);

    background:
        radial-gradient(
            circle at 50% 2%,
            rgba(21, 155, 53, 0.10),
            transparent 36%
        ),
        var(--page);

    border-bottom:
        1px solid
        var(--border);
}

.home-hero::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -310px;

    width: 620px;
    height: 620px;

    transform:
        translateX(-50%);

    border:
        1px solid
        rgba(21, 155, 53, 0.10);

    border-radius: 50%;

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 1;

    max-width: 980px;

    margin-inline: auto;

    text-align: center;
}

.hero-content h1 {
    max-width: 980px;

    margin:
        0
        auto;

    font-size:
        clamp(
            3.2rem,
            7vw,
            6.5rem
        );

    line-height: 0.96;

    letter-spacing: -0.055em;
}

.hero-content h1 span {
    display: block;

    color: var(--green);
}

.hero-description {
    max-width: 720px;

    margin:
        27px
        auto
        0;

    color: var(--text-soft);

    font-size:
        clamp(
            1rem,
            1.7vw,
            1.22rem
        );

    line-height: 1.75;
}

.hero-actions {
    margin-top: 31px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 11px;
}

.hero-trust {
    margin-top: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap:
        10px
        26px;

    color: var(--text-soft);

    font-size: 0.8rem;
    font-weight: 700;
}

.hero-trust span {
    position: relative;

    padding-left: 14px;
}

.hero-trust span::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 6px;
    height: 6px;

    background: var(--green);

    border-radius: 50%;

    transform:
        translateY(-50%);
}


/* =========================================================
   COORDINATED SYSTEM
   ========================================================= */

.hero-process-panel {
    position: relative;

    z-index: 1;

    max-width: 1100px;

    margin:
        clamp(48px, 6vw, 74px)
        auto
        0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #064331,
            #02281e
        );

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}

.process-intro {
    max-width: 700px;

    margin-inline: auto;

    padding:
        38px
        28px
        32px;

    text-align: center;
}

.process-intro .eyebrow {
    color: #72df82;
}

.process-intro h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            1.8rem,
            4vw,
            3rem
        );

    line-height: 1.05;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.11);
}

.process-grid article {
    min-height: 190px;

    padding: 28px 24px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.11);

    transition:
        background 0.22s ease,
        transform 0.22s ease;
}

.process-grid article:last-child {
    border-right: 0;
}

.process-grid article:hover {
    background:
        rgba(255, 255, 255, 0.055);
}

.process-grid article span {
    color: #67d878;

    font-size: 0.72rem;
    font-weight: 800;
}

.process-grid article strong {
    display: block;

    margin-top: 24px;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.1rem;
}

.process-grid article p {
    margin:
        8px
        0
        0;

    color: #b9ccc2;

    font-size: 0.84rem;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.quick-section {
    background: var(--surface);
}

.quick-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.quick-card {
    position: relative;

    min-height: 300px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    overflow: hidden;

    isolation: isolate;

    background:
        linear-gradient(
            145deg,
            var(--surface),
            var(--surface-soft)
        );

    color: var(--text);

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    text-decoration: none;

    box-shadow: var(--shadow);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.quick-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--green),
            var(--green-bright),
            transparent
        );

    transform: scaleX(0.22);

    transition:
        transform 0.3s ease;
}

.quick-card::after {
    content: "";

    position: absolute;

    right: -85px;
    bottom: -85px;

    z-index: -1;

    width: 170px;
    height: 170px;

    background:
        radial-gradient(
            circle,
            rgba(21, 155, 53, 0.17),
            transparent 68%
        );

    transition:
        transform 0.35s ease;
}

.quick-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(21, 155, 53, 0.55);

    box-shadow: var(--shadow-large);
}

.quick-card:hover::before {
    transform: scaleX(1);
}

.quick-card:hover::after {
    transform: scale(1.3);
}

.quick-card:active {
    transform: scale(0.985);
}

.quick-number {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(21, 155, 53, 0.10);

    color: var(--green);

    border:
        1px solid
        rgba(21, 155, 53, 0.23);

    border-radius: 50%;

    font-size: 0.70rem;
    font-weight: 800;
}

.quick-card h3 {
    margin:
        42px
        0
        12px;

    font-size: 1.3rem;
}

.quick-card p {
    margin:
        0
        0
        24px;

    color: var(--text-soft);

    font-size: 0.88rem;
}

.quick-card strong {
    margin-top: auto;

    color: var(--green);

    font-size: 0.82rem;
}


/* =========================================================
   CIRCUIT DIVIDER
   ========================================================= */

.circuit-divider {
    width: min(330px, 72%);

    height: 28px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        9px
        1fr
        9px
        1fr
        9px;

    align-items: center;
}

.circuit-divider span {
    width: 9px;
    height: 9px;

    border:
        2px solid
        var(--green);

    border-radius: 50%;
}

.circuit-divider i {
    height: 1px;

    background: var(--green);
}


/* =========================================================
   FIVE Rs
   ========================================================= */

.five-r-section {
    overflow: hidden;
    background: var(--page);
}

.recovery-circuit {
    position: relative;
    isolation: isolate;

    width: min(820px, 98vw);
    aspect-ratio: 1;

    margin:
        clamp(30px, 4vw, 50px)
        auto
        0;
}


/* Soft energy field behind the system */

.recovery-circuit::after {
    content: "";

    position: absolute;
    inset: 19%;

    z-index: -3;

    background:
        radial-gradient(
            circle,
            rgba(21, 155, 53, 0.18),
            rgba(21, 155, 53, 0.05) 46%,
            transparent 70%
        );

    border-radius: 50%;

    filter: blur(8px);
}


/* =========================================================
   CIRCUIT SVG
   ========================================================= */

.recovery-circuit-lines {
    position: absolute;
    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    overflow: visible;

    pointer-events: none;
}


/* Main clockwise recovery circuit */

.r-cycle-base {
    fill: none;

    stroke:
        rgba(21, 155, 53, 0.30);

    stroke-width: 2;

    stroke-linecap: round;

    stroke-dasharray: 5 8;
}


/* Moving signal around entire recovery cycle */

.r-cycle-flow {
    fill: none;

    stroke:
        rgba(66, 217, 92, 0.75);

    stroke-width: 3;

    stroke-linecap: round;

    stroke-dasharray: 2 34;

    animation:
        recoveryCycleFlow
        7s
        linear
        infinite;

    filter:
        drop-shadow(
            0 0 5px
            rgba(66, 217, 92, 0.45)
        );
}


/* Connections between centre and pathways */

.r-line {
    fill: none;

    stroke:
        rgba(21, 155, 53, 0.32);

    stroke-width: 2.5;

    stroke-linecap: round;

    stroke-dasharray: 5 8;

    transition:
        stroke 0.35s ease,
        stroke-width 0.35s ease,
        filter 0.35s ease;
}

.r-line.active {
    stroke: var(--green-bright);

    stroke-width: 4;

    animation:
        circuitFlow
        3.2s
        linear
        infinite;

    filter:
        drop-shadow(
            0 0 5px
            rgba(66, 217, 92, 0.60)
        );
}


/* =========================================================
   OUTER FIVE R NODES
   ========================================================= */

.r-node {
    position: absolute;

    z-index: 4;

    width: 150px;
    height: 150px;

    padding: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--surface),
            var(--surface-soft)
        );

    color: var(--text);

    border:
        1px solid
        var(--border-strong);

    border-radius: 50%;

    box-shadow:
        var(--shadow),
        inset
        0
        0
        0
        7px
        rgba(21, 155, 53, 0.025);

    transform:
        translate(-50%, -50%);

    transition:
        background 0.28s ease,
        border-color 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.r-node::before {
    content: "";

    position: absolute;
    inset: -7px;

    border:
        1px solid
        transparent;

    border-radius: 50%;
}

.r-node:hover {
    border-color: var(--green);

    transform:
        translate(-50%, -50%)
        scale(1.055);
}

.r-node.active {
    background:
        radial-gradient(
            circle at 34% 24%,
            #4ee267,
            #159b35 65%,
            #10842c
        );

    color: #ffffff;

    border-color:
        var(--green-bright);

    transform:
        translate(-50%, -50%)
        scale(1.07);

    box-shadow:
        0 18px 48px
        rgba(21, 155, 53, 0.30),
        0 0 0 7px
        rgba(66, 217, 92, 0.08);
}

.r-node.active::before {
    border-color:
        rgba(66, 217, 92, 0.50);

    animation:
        activeOrbit
        2.2s
        ease-in-out
        infinite;
}

.r-node span {
    margin-bottom: 7px;

    color: var(--green);

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.r-node.active span {
    color: #effff2;
}

.r-node strong {
    color: inherit;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-size: 1.12rem;
    font-weight: 700;

    letter-spacing: -0.025em;
}


/* Regular pentagon: equal angular spacing around the central circle. */
.r-node-reuse { top: 12.5%; left: 50%; }
.r-node-repair { top: 38.4%; left: 85.67%; }
.r-node-refurbish { top: 80.34%; left: 72.04%; }
.r-node-recover { top: 80.34%; left: 27.96%; }
.r-node-recycle { top: 38.4%; left: 14.33%; }


/* =========================================================
   CENTRE
   ========================================================= */

.r-centre {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 3;

    width: 285px;
    height: 285px;

    padding: 36px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 22%,
            rgba(72, 220, 96, 0.28),
            transparent 43%
        ),
        linear-gradient(
            145deg,
            #07513a,
            #033428
        );

    color: #ffffff;

    border:
        1px solid
        rgba(93, 229, 112, 0.40);

    border-radius: 50%;

    text-align: center;

    transform:
        translate(-50%, -50%);

    box-shadow:
        0 0 0 14px
        rgba(21, 155, 53, 0.055),
        0 28px 65px
        rgba(0, 0, 0, 0.24);
}

.r-centre::before {
    content: "";

    position: absolute;
    inset: 18px;

    border:
        1px solid
        rgba(89, 230, 108, 0.18);

    border-radius: 50%;

    pointer-events: none;
}

.r-centre > span {
    position: relative;

    color: #7ce88d;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.r-centre h3 {
    position: relative;

    margin:
        9px
        0
        12px;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 2rem;
    font-weight: 700;

    line-height: 1;
}

.r-centre p {
    position: relative;

    max-width: 205px;

    margin: 0;

    color: #d2e4da;

    font-size: 0.82rem;
    line-height: 1.55;
}


/* =========================================================
   HELP TEXT
   ========================================================= */

.recovery-circuit-help {
    margin:
        4px
        0
        0;

    color: var(--text-muted);

    text-align: center;

    font-size: 0.82rem;
}


/* =========================================================
   FIVE R ANIMATION
   ========================================================= */

@keyframes circuitFlow {

    to {
        stroke-dashoffset: -52;
    }

}

@keyframes recoveryCycleFlow {

    to {
        stroke-dashoffset: -180;
    }

}

@keyframes activeOrbit {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.50;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

}


/* =========================================================
   FIVE Rs — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .recovery-circuit {
        width: 100vw;

        max-width: 520px;

        margin-left: 50%;

        transform: translateX(-50%);
    }

    .r-node {
        width: 112px;
        height: 112px;

        padding: 10px;
    }

    .r-node span {
        margin-bottom: 4px;

        font-size: 0.70rem;
    }

    .r-node strong {
        font-size: 0.94rem;
    }

    .r-centre {
        width: 205px;
        height: 205px;

        padding: 25px;
    }

    .r-centre > span {
        font-size: 0.70rem;
    }

    .r-centre h3 {
        margin:
            7px
            0
            8px;

        font-size: 1.55rem;
    }

    .r-centre p {
        max-width: 155px;

        font-size: 0.67rem;
        line-height: 1.48;
    }

    .recovery-circuit-help {
        margin-top: 8px;

        font-size: 0.80rem;
    }

}


/* =========================================================
   FIVE Rs — VERY SMALL PHONES
   ========================================================= */

@media (max-width: 370px) {

    .r-node {
        width: 96px;
        height: 96px;
    }

    .r-node strong {
        font-size: 0.82rem;
    }

    .r-node span {
        font-size: 0.62rem;
    }

    .r-centre {
        width: 178px;
        height: 178px;

        padding: 19px;
    }

    .r-centre h3 {
        font-size: 1.35rem;
    }

    .r-centre p {
        max-width: 137px;

        font-size: 0.60rem;
    }

}
/* =========================================================
   COLLECTION LOCATOR
   ========================================================= */

.locator-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #053d2e,
            #022a20
        );
}

.locator-section::after {
    content: "";

    position: absolute;

    right: -160px;
    top: -160px;

    width: 390px;
    height: 390px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}

.locator-heading {
    position: relative;

    z-index: 1;
}

.locator-heading .eyebrow {
    color: #73dc80;
}

.locator-heading h2 {
    color: #ffffff;
}

.locator-heading
> p:not(.eyebrow) {
    color: #bdcec5;
}

.home-locator {
    position: relative;

    z-index: 1;

    max-width: 820px;

    margin-inline: auto;

    padding: 28px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}

.home-locator label {
    display: block;

    margin-bottom: 10px;

    color: var(--text);

    font-size: 0.82rem;
    font-weight: 800;
}

.home-locator-control {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 9px;
}

.home-locator-control button {
    min-width: 145px;
    min-height: 52px;

    padding: 0 22px;

    background: var(--green);
    color: #ffffff;

    border:
        1px solid
        var(--green);

    border-radius: var(--radius-small);

    font-weight: 800;
}


/* =========================================================
   IMPACT
   ========================================================= */

.impact-section {
    background: var(--page-alt);
}

.impact-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.impact-card {
    min-height: 245px;

    padding: 28px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.impact-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(21, 155, 53, 0.5);

    box-shadow: var(--shadow-large);
}

.impact-marker {
    display: block;

    width: 42px;
    height: 4px;

    margin-bottom: 64px;

    background: var(--green);

    border-radius: 20px;
}

.impact-card strong {
    display: block;

    color: var(--heading);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.07rem;
}

.impact-card p {
    margin-bottom: 0;

    font-size: 0.86rem;
}


/* =========================================================
   CMS CONTENT
   ========================================================= */

.cms-home-section {
    padding:
        clamp(70px, 8vw, 105px)
        0;

    background: var(--surface);

    border-top:
        1px solid
        var(--border);
}

.cms-home-section:nth-child(even) {
    background: var(--page);
}

.cms-section-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap:
        clamp(
            40px,
            7vw,
            90px
        );
}

.cms-section-copy {
    max-width: 590px;
}

.cms-section-grid h2 {
    margin-bottom: 20px;

    font-size:
        clamp(
            2.25rem,
            4vw,
            3.6rem
        );

    line-height: 1.05;
}

.cms-section-text {
    color: var(--text-soft);
}

.cms-section-image {
    overflow: hidden;

    min-height: 350px;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}

.cms-section-image img {
    width: 100%;
    height: 100%;

    min-height: 350px;

    object-fit: cover;
}

.cms-section-no-image {
    display: block;

    max-width: 840px;

    text-align: center;
}

.cms-section-no-image
.cms-section-copy {
    max-width: 760px;

    margin-inline: auto;
}


/* =========================================================
   PARTNER NETWORK
   ========================================================= */

.partner-home-section {
    overflow: hidden;

    background: var(--surface);
}


/* Horizontal carousel viewport */

.partner-carousel {
    position: relative;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding:
        14px
        4vw
        24px;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    touch-action: pan-x pan-y;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            #000 4%,
            #000 96%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            #000 4%,
            #000 96%,
            transparent 100%
        );
}

.partner-carousel::-webkit-scrollbar {
    display: none;
}

.partner-carousel-track {
    width: max-content;

    display: flex;

    align-items: stretch;

    gap: 16px;
}


/* Individual partner */

.home-partner-card {
    flex:
        0
        0
        290px;

    scroll-snap-align: center;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.home-partner-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(21, 155, 53, 0.50);

    box-shadow: var(--shadow-large);
}

.home-partner-logo {
    height: 150px;

    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--surface-soft),
            var(--surface)
        );

    border-bottom:
        1px solid
        var(--border);
}

.home-partner-logo img {
    max-width: 185px;
    max-height: 100px;

    object-fit: contain;
}

.home-partner-logo > span {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--green);
    color: #ffffff;

    border-radius: 50%;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.8rem;
    font-weight: 700;
}

.home-partner-content {
    padding: 23px;

    text-align: center;
}

.home-partner-content h3 {
    margin:
        0
        0
        12px;

    font-size: 1.25rem;
}

.home-partner-content p {
    font-size: 0.86rem;
}

.home-partner-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 13px;
}

.home-partner-tags span {
    padding: 5px 8px;

    background:
        rgba(21, 155, 53, 0.10);

    color: var(--green);

    border-radius: 999px;

    font-size: 0.68rem;
    font-weight: 800;
}

.home-partner-location {
    color:
        var(--text-muted) !important;

    font-size:
        0.77rem !important;
}

.carousel-hint {
    margin:
        4px
        0
        0;

    text-align: center;

    color: var(--text-muted);

    font-size: 0.75rem;
}

.partner-directory-action {
    margin-top: 25px;

    text-align: center;
}


/* =========================================================
   AWARENESS
   ========================================================= */

.awareness-home {
    background: var(--page);
}

.article-grid,
.partner-grid,
.collection-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(270px, 1fr)
        );

    gap: 18px;
}

.article-card,
.partner-card,
.collection-card {
    overflow: hidden;

    background: var(--surface);
    color: var(--text);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.article-card {
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.article-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(21, 155, 53, 0.5);

    box-shadow: var(--shadow-large);
}

.article-card img {
    width: 100%;
    height: 220px;

    object-fit: cover;
}

.article-card-content,
.partner-card-content {
    padding: 24px;
}

.article-card small {
    color: var(--green);

    font-size: 0.72rem;
    font-weight: 800;
}

.article-card h3 {
    margin:
        9px
        0
        12px;

    font-size: 1.3rem;
}

.article-card p {
    font-size: 0.9rem;
}

.article-card a {
    color: var(--green);

    font-weight: 800;

    text-decoration: none;
}

.awareness-empty {
    max-width: 760px;

    margin-inline: auto;

    padding: 32px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    text-align: center;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.home-cta {
    padding:
        clamp(70px, 8vw, 105px)
        0;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 255, 255, 0.18),
            transparent 38%
        ),
        var(--green);

    color: #ffffff;
}

.home-cta-content {
    max-width: 900px;

    text-align: center;
}

.home-cta .eyebrow {
    color: #e1f8e5;
}

.home-cta h2 {
    max-width: 760px;

    margin-inline: auto;

    color: #ffffff;

    font-size:
        clamp(
            2.4rem,
            5vw,
            4.5rem
        );

    line-height: 1.02;
}

.home-cta-actions {
    margin-top: 30px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
}


/* =========================================================
   FORMS
   ========================================================= */

form {
    max-width: 100%;
}

label {
    display: block;

    margin-bottom: 6px;

    color: var(--text);

    font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="url"],
input[type="password"],
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    background: var(--input-bg);
    color: var(--input-text);

    border:
        1px solid
        var(--border-strong);

    border-radius: var(--radius-small);

    outline: 0;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);

    opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);

    box-shadow:
        0
        0
        0
        3px
        rgba(21, 155, 53, 0.14);
}

textarea {
    min-height: 120px;

    resize: vertical;
}

.form-help,
.helptext {
    color: var(--text-soft);

    font-size: 0.86rem;
}


/* =========================================================
   INTERNAL PAGE HEADERS
   ========================================================= */

.updates-header {
    padding:
        clamp(60px, 8vw, 100px)
        4%;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(21, 155, 53, 0.10),
            transparent 40%
        ),
        var(--surface);

    border-bottom:
        1px solid
        var(--border);

    text-align: center;
}

.updates-header > * {
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}

.updates-header h1 {
    margin:
        7px
        auto
        18px;

    font-size:
        clamp(
            2.6rem,
            6vw,
            5rem
        );

    line-height: 1;
}

.updates-header
> p:not(.section-label) {
    max-width: 720px;

    color: var(--text-soft);

    font-size: 1.05rem;
}

.updates-section {
    padding:
        clamp(50px, 7vw, 85px)
        0;
}


/* =========================================================
   GENERAL CARDS
   ========================================================= */

.form-section,
.device-form,
.form-card,
.tracking-card,
.tracking-result,
.custody-status,
.collection-status,
.detail-card,
.status-card,
.application-card,
.collection-card,
.partner-card,
.outcome-card {
    background: var(--surface);

    color: var(--text);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.form-section,
.device-form,
.form-card,
.tracking-card,
.tracking-result,
.custody-status,
.collection-status,
.detail-card,
.status-card,
.application-card {
    max-width: 900px;

    margin:
        0
        auto
        24px;

    padding:
        clamp(
            22px,
            4vw,
            34px
        );
}


/* =========================================================
   COLLECTION SEARCH
   ========================================================= */

.collection-search,
.tracking-search {
    max-width: 760px;

    margin:
        28px
        auto
        0;

    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 9px;
}

.collection-search button,
.tracking-search button {
    min-width: 135px;

    padding: 11px 20px;

    background: var(--green);

    color: #ffffff;

    border:
        1px solid
        var(--green);

    border-radius: var(--radius-small);

    font-weight: 800;
}

.search-summary {
    margin:
        17px
        0
        28px;

    color: var(--text-soft);

    text-align: center;
}

.collection-card {
    padding: 26px;
}

.collection-card-header h2 {
    margin:
        5px
        0
        6px;
}

.collection-network {
    margin-top: 0;

    color: var(--text-soft);
}

.collection-details {
    margin-top: 20px;
}

.collection-detail {
    display: grid;

    grid-template-columns:
        125px
        1fr;

    gap: 14px;

    padding:
        10px
        0;

    border-bottom:
        1px solid
        var(--border);
}

.collection-instructions,
.collection-protocol {
    margin-top: 20px;

    padding: 16px;

    background: var(--surface-soft);

    border-radius: var(--radius-small);
}


/* =========================================================
   PARTNER DIRECTORY
   ========================================================= */

.partner-category-filter {
    margin:
        28px
        auto
        34px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.category-filter {
    padding: 8px 13px;

    background: var(--surface);

    color: var(--text);

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 700;
}

.category-filter:hover,
.category-filter.active {
    background: var(--green);

    color: #ffffff;

    border-color: var(--green);
}

.partner-logo {
    height: 155px;

    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--surface-soft);

    border-bottom:
        1px solid
        var(--border);
}

.partner-logo img {
    max-width: 180px;
    max-height: 100px;

    object-fit: contain;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin:
        12px
        0
        18px;
}

.partner-tags span {
    padding: 5px 8px;

    background:
        rgba(21, 155, 53, 0.10);

    color: var(--green);

    border-radius: 6px;

    font-size: 0.74rem;
    font-weight: 800;
}


/* =========================================================
   TRACKING
   ========================================================= */

.tracking-result {
    margin-top: 28px;
}

.outcome-card {
    margin-top: 16px;

    padding: 20px;
}

.outcome-heading {
    display: flex;
    justify-content: space-between;

    gap: 15px;
}

.outcome-heading span {
    color: var(--green);

    font-weight: 800;
}

.empty-feed,
.empty-state {
    grid-column: 1 / -1;

    padding: 35px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    text-align: center;
}


/* =========================================================
   TABLES
   ========================================================= */

table {
    width: 100%;

    border-collapse: collapse;

    background: var(--surface);

    color: var(--text);
}

th,
td {
    padding: 12px;

    border:
        1px solid
        var(--border);
}

th {
    background: var(--surface-soft);
}


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

.site-footer {
    position: relative;

    overflow: hidden;

    margin: 0;

    background: #03271e;

    color: #d5e4db;
}

.footer-container {
    position: relative;

    z-index: 2;

    width: min(92%, 1000px);

    margin-inline: auto;

    padding:
        45px
        0
        31px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 6px;

    font-size: 0.84rem;
}

.footer-column strong {
    margin-bottom: 4px;

    color: #ffffff;

    font-size: 0.90rem;
}

.footer-column a {
    color: #c4d5cb;

    text-decoration: none;
}

.footer-column a:hover {
    color: #71df80;
}

.footer-column span {
    color: #9fb4a8;
}

.footer-bottom {
    position: relative;

    z-index: 2;

    width: min(92%, 1000px);

    margin-inline: auto;

    padding:
        18px
        0
        21px;

    display: flex;
    justify-content: space-between;

    gap: 18px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
    margin: 0;

    color: #8fa69a;

    font-size: 0.75rem;
}


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

.footer-circuit {
    position: absolute;

    right: -90px;
    bottom: -25px;

    width: 400px;
    height: 210px;

    opacity: 0.08;

    pointer-events: none;
}

.footer-circuit::before,
.footer-circuit::after {
    content: "";

    position: absolute;

    border:
        1px solid
        #6ce17c;
}

.footer-circuit::before {
    width: 290px;
    height: 75px;

    right: 0;
    top: 45px;

    border-left: 0;
    border-bottom: 0;
}

.footer-circuit::after {
    width: 220px;
    height: 60px;

    right: 70px;
    top: 120px;

    border-left: 0;
    border-top: 0;
}

.circuit-node {
    position: absolute;

    width: 9px;
    height: 9px;

    background: var(--green-bright);

    border-radius: 50%;
}

.node-one {
    right: 0;
    top: 41px;
}

.node-two {
    right: 145px;
    top: 41px;
}

.node-three {
    right: 290px;
    top: 112px;
}

.node-four {
    right: 70px;
    top: 176px;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

[data-reveal] {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;

    transform: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .header-container {
        height: 92px;
    }

    .brand {
        width:
            min(
                370px,
                66vw
            );

        height: 78px;
    }

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

    .process-grid
    article:nth-child(2) {
        border-right: 0;
    }

    .process-grid
    article:nth-child(-n+2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.11);
    }

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

    .cms-section-grid {
        gap: 45px;
    }
}


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

@media (max-width: 700px) {

    body {
        font-size: 16px;
    }


    /* Header */

    .header-container {
        width: 94%;

        height: 88px;

        grid-template-columns:
            43px
            minmax(0, 1fr)
            43px;
    }

    .brand {
        width:
            min(
                300px,
                72vw
            );

        height: 78px;
    }

    .menu-toggle {
        width: 43px;
        height: 43px;

        border-radius: 13px;
    }

    .header-circuit-mark {
        transform:
            scale(0.78);

        transform-origin:
            left center;
    }


    /* Hero */

    .home-hero {
        padding-top: 38px;
    }

    .hero-content h1 {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4.2rem
            );
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;

        max-width: 430px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-trust {
        display: grid;

        gap: 8px;

        justify-content: center;

        text-align: left;
    }


    /* Process */

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

    .process-grid article {
        min-height: 180px;

        padding:
            23px
            18px;
    }


    /* Sections */

    .section-heading-centred h2 {
        font-size:
            clamp(
                2.25rem,
                10vw,
                3.25rem
            );
    }


    /* Quick actions */

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

        gap: 10px;
    }

    .quick-card {
        min-height: 270px;

        padding:
            20px
            18px;
    }

    .quick-card h3 {
        margin-top: 30px;

        font-size: 1.05rem;
    }

    .quick-card p {
        font-size: 0.79rem;
    }

    .quick-card strong {
        font-size: 0.76rem;
    }



    /* Locator */

    .home-locator {
        padding: 20px;
    }

    .home-locator-control {
        grid-template-columns: 1fr;
    }

    .home-locator-control button {
        width: 100%;
    }


    /* Impact */

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

        gap: 10px;
    }

    .impact-card {
        min-height: 225px;

        padding:
            21px
            18px;
    }

    .impact-marker {
        margin-bottom: 42px;
    }

    .impact-card strong {
        font-size: 0.95rem;
    }

    .impact-card p {
        font-size: 0.79rem;
    }


    /* CMS */

    .cms-section-grid {
        grid-template-columns: 1fr;
    }

    .cms-section-copy {
        max-width: 680px;

        text-align: center;
    }

    .cms-section-image,
    .cms-section-image img {
        min-height: 250px;
    }


    /* Partners */

    .partner-carousel {
        width: calc(100% + 8%);

        margin-left: -4%;

        padding-left: 9%;
        padding-right: 9%;
    }

    .home-partner-card {
        flex:
            0
            0
            min(
                78vw,
                310px
            );
    }


    /* CTA */

    .home-cta-actions {
        display: grid;

        grid-template-columns: 1fr;

        max-width: 430px;

        margin-left: auto;
        margin-right: auto;
    }


    /* Searches */

    .collection-search,
    .tracking-search {
        grid-template-columns: 1fr;
    }

    .collection-search button,
    .tracking-search button {
        width: 100%;
    }

    .collection-detail {
        grid-template-columns: 1fr;

        gap: 3px;
    }

    .outcome-heading {
        display: block;
    }


    /* Footer */

    .footer-container {
        padding:
            34px
            0
            25px;

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            27px
            15px;
    }

    .footer-contact {
        grid-column:
            1 / -1;
    }

    .footer-bottom {
        display: block;

        padding:
            17px
            0
            20px;

        text-align: center;
    }

    .footer-bottom p + p {
        margin-top: 5px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 370px) {

    .header-circuit-mark {
       visibility: visible;

       transform: scale(0.65);
       transform-origin: left center;
}

    .header-container {
        grid-template-columns:
            42px
            minmax(0, 1fr)
            42px;
    }

    .brand {
        width: 230px;
    }

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

    .quick-card,
    .impact-card {
        min-height: auto;
    }

    .r-node {
        width: 82px;
        height: 82px;
    }

    .r-centre {
        width: 155px;
        height: 155px;
    }

    .r-centre p {
        font-size: 0.57rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;

        transform: none;
    }

}

/* =========================================================
   ereviresco
   FINAL FIVE Rs + FORM ACTIONS
   ========================================================= */


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

.button,
a.button,
button.button,
.primary-button,
.partner-apply-button,
.home-locator-control button,
.collection-search button,
.tracking-search button,
button[type="submit"] {
    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-weight: 700;

    letter-spacing: -0.02em;
}


/* =========================================================
   PRIMARY ACTION

   Explicit selectors are intentional.
   They prevent generic form CSS from turning these grey.
   ========================================================= */

.button-primary,
a.button-primary,
button.button-primary,
input.button-primary,
form button.button-primary,
form button[type="submit"].button-primary {
    background: #159b35 !important;

    background-image:
        linear-gradient(
            135deg,
            #20b744,
            #11862e
        ) !important;

    color: #ffffff !important;

    border:
        1px solid
        #159b35 !important;

    box-shadow:
        0 10px 28px
        rgba(21, 155, 53, 0.20);

    opacity: 1;

    cursor: pointer;
}


.button-primary:hover,
a.button-primary:hover,
button.button-primary:hover,
form button[type="submit"].button-primary:hover {
    background: #11862e !important;

    background-image:
        linear-gradient(
            135deg,
            #27c64d,
            #0f7d2a
        ) !important;

    color: #ffffff !important;

    border-color: #11862e !important;

    transform: translateY(-1px);
}


/*
   Disabled buttons may remain visually disabled.
*/

.button-primary:disabled,
button.button-primary:disabled,
form button[type="submit"].button-primary:disabled {
    background: #159b35 !important;

    background-image: none !important;

    color: #ffffff !important;

    opacity: 0.48;

    cursor: not-allowed;
}


/* =========================================================
   SECONDARY ACTIONS

   No grey buttons.
   ========================================================= */

.button-secondary,
a.button-secondary,
button.button-secondary,
.device-add-button,
.add-device-button,
.remove-device,
.remove-device-button {
    background:
        rgba(21, 155, 53, 0.08) !important;

    color:
        #aeeecb !important;

    border:
        1px solid
        rgba(69, 204, 105, 0.48) !important;

    box-shadow: none;
}


.button-secondary:hover,
a.button-secondary:hover,
button.button-secondary:hover,
.device-add-button:hover,
.add-device-button:hover,
.remove-device:hover,
.remove-device-button:hover {
    background:
        rgba(21, 155, 53, 0.16) !important;

    color:
        #d6f8e5 !important;

    border-color:
        #2bc653 !important;
}


/* =========================================================
   FILE INPUT BUTTON

   Browser file controls need their own pseudo-element.
   ========================================================= */

input[type="file"] {
    color: var(--text);

    font-family:
        "Manrope",
        sans-serif;
}


input[type="file"]::file-selector-button {
    margin-right: 12px;

    padding:
        11px
        16px;

    background:
        rgba(21, 155, 53, 0.10);

    color:
        #b7efd0;

    border:
        1px solid
        rgba(69, 204, 105, 0.46);

    border-radius: 7px;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-weight: 600;

    cursor: pointer;
}


input[type="file"]::file-selector-button:hover {
    background:
        rgba(21, 155, 53, 0.18);

    border-color:
        #2bc653;
}


/* =========================================================
   FINAL SUBMISSION ALIGNMENT
   ========================================================= */

.submit-actions,
.form-actions,
.submission-actions,
.final-submit-actions {
    width: 100%;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    margin-top: 26px;
}


.submit-actions button[type="submit"],
.form-actions button[type="submit"],
.submission-actions button[type="submit"],
.final-submit-actions button[type="submit"] {
    margin-left: auto;
}


/*
   Fallback for a submit button that is directly inside
   the main form without an action wrapper.
*/

.ewaste-form > button[type="submit"],
.submission-form > button[type="submit"],
form.ewaste-submission-form > button[type="submit"] {
    display: block;

    width: fit-content;

    margin:
        28px
        0
        0
        auto;
}


/* =========================================================
   FIVE Rs SECTION
   ========================================================= */

.five-r-section {
    position: relative;

    overflow: hidden;

    padding-top:
        clamp(
            62px,
            7vw,
            100px
        );

    padding-bottom:
        clamp(
            62px,
            7vw,
            100px
        );

    background: var(--page);
}


.five-r-section
.section-heading-centred {
    margin-bottom:
        clamp(
            14px,
            2vw,
            24px
        );
}


/* =========================================================
   COMPLETE CIRCUIT

   One geometry for desktop and mobile.
   Only the overall scale changes.
   ========================================================= */

.recovery-circuit {
    position: relative;

    isolation: isolate;

    width:
        min(
            680px,
            92vw
        );

    aspect-ratio: 1 / 1;

    margin:
        12px
        auto
        0;
}


/* =========================================================
   LARGE OUTER ORBIT
   ========================================================= */

.recovery-circuit::before {
    content: "";

    position: absolute;

    inset: 8%;

    z-index: -2;

    border:
        2px dashed
        rgba(21, 155, 53, 0.30);

    border-radius: 50%;

    pointer-events: none;

    animation:
        recoveryOrbitFlow
        24s
        linear
        infinite;
}


/* Centre glow */

.recovery-circuit::after {
    content: "";

    position: absolute;

    inset: 24%;

    z-index: -3;

    background:
        radial-gradient(
            circle,
            rgba(21, 155, 53, 0.18),
            rgba(21, 155, 53, 0.07) 45%,
            transparent 72%
        );

    border-radius: 50%;

    filter: blur(10px);

    pointer-events: none;
}


/* =========================================================
   CURVED CONNECTORS
   ========================================================= */

.recovery-circuit-lines {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;

    pointer-events: none;
}


.r-line {
    fill: none;

    stroke:
        rgba(21, 155, 53, 0.28);

    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 7 10;

    vector-effect:
        non-scaling-stroke;

    opacity: 0.8;

    transition:
        stroke 0.3s ease,
        stroke-width 0.3s ease,
        opacity 0.3s ease;
}


.r-line.active {
    stroke: #35d65b;

    stroke-width: 4;

    opacity: 1;

    filter:
        drop-shadow(
            0 0 4px
            rgba(53, 214, 91, 0.45)
        );

    animation:
        circuitFlow
        2.2s
        linear
        infinite;
}


/* =========================================================
   OUTER NODES
   ========================================================= */

.r-node {
    position: absolute;

    z-index: 5;

    width: 126px;
    height: 126px;

    padding: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(21, 155, 53, 0.04),
            transparent 50%
        ),
        #111612;

    color: #f2f5f3;

    border:
        1.5px solid
        rgba(123, 153, 134, 0.42);

    border-radius: 50%;

    box-shadow:
        0 13px 30px
        rgba(0, 0, 0, 0.14),
        inset
        0
        0
        0
        6px
        rgba(21, 155, 53, 0.012);

    transform:
        translate(-50%, -50%);

    transform-origin: center;

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}


.r-node::before {
    content: "";

    position: absolute;

    inset: -7px;

    border:
        1px solid
        transparent;

    border-radius: 50%;

    pointer-events: none;
}


.r-node:hover {
    border-color:
        rgba(54, 210, 89, 0.72);

    transform:
        translate(-50%, -50%)
        scale(1.035);
}


/* =========================================================
   ACTIVE NODE
   ========================================================= */

.r-node.active {
    background:
        radial-gradient(
            circle at 35% 23%,
            #4ce36a,
            #23ca46 44%,
            #159b35 82%
        );

    color: #ffffff;

    border-color:
        rgba(92, 235, 115, 0.88);

    transform:
        translate(-50%, -50%)
        scale(1.04);

    box-shadow:
        0 17px 40px
        rgba(21, 155, 53, 0.27),
        0 0 0 7px
        rgba(21, 155, 53, 0.07);
}


.r-node.active::before {
    border-color:
        rgba(66, 217, 92, 0.48);

    animation:
        activeOrbit
        2.2s
        ease-in-out
        infinite;
}


/* =========================================================
   NODE TYPOGRAPHY
   ========================================================= */

.r-node span {
    margin-bottom: 6px;

    color: #18aa3c;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.07em;
}


.r-node.active span {
    color: #effff2;
}


.r-node strong {
    color: inherit;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-size: 0.96rem;

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -0.025em;

    text-align: center;
}


/* =========================================================
   FINAL NODE GEOMETRY

   These sit deliberately close around the centre.

   Unlike the previous desktop version, they do NOT move
   outward toward the edge of the orbit.
   ========================================================= */

.r-node-reuse {
    top: 16%;
    left: 50%;
}


.r-node-repair {
    top: 37%;
    left: 78%;
}


.r-node-refurbish {
    top: 70%;
    left: 72%;
}


.r-node-recover {
    top: 70%;
    left: 28%;
}


.r-node-recycle {
    top: 37%;
    left: 22%;
}


/* =========================================================
   CENTRE NODE
   ========================================================= */

.r-centre {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 4;

    width: 238px;
    height: 238px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(67, 218, 93, 0.25),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #07533b,
            #043d2e 52%,
            #022c22
        );

    color: #ffffff;

    border:
        1px solid
        rgba(91, 226, 111, 0.40);

    border-radius: 50%;

    text-align: center;

    transform:
        translate(-50%, -50%);

    box-shadow:
        0 0 0 12px
        rgba(21, 155, 53, 0.05),
        0 25px 58px
        rgba(0, 0, 0, 0.22);
}


.r-centre::before {
    content: "";

    position: absolute;

    inset: 17px;

    border:
        1px solid
        rgba(89, 230, 108, 0.18);

    border-radius: 50%;

    pointer-events: none;
}


.r-centre > span {
    position: relative;

    z-index: 1;

    color: #72e487;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.r-centre h3 {
    position: relative;

    z-index: 1;

    margin:
        7px
        0
        9px;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-size: 1.72rem;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.035em;
}


.r-centre p {
    position: relative;

    z-index: 1;

    max-width: 174px;

    margin: 0;

    color: #d5e5dc;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.73rem;

    line-height: 1.5;
}


/* =========================================================
   HELP
   ========================================================= */

.recovery-circuit-help {
    margin:
        2px
        0
        0;

    color: var(--text-muted);

    font-family:
        "Manrope",
        sans-serif;

    font-size: 0.77rem;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .recovery-circuit {
        width:
            min(
                610px,
                94vw
            );
    }


    .r-node {
        width: 112px;
        height: 112px;
    }


    .r-centre {
        width: 215px;
        height: 215px;

        padding: 25px;
    }


    .r-centre h3 {
        font-size: 1.55rem;
    }


    .r-centre p {
        max-width: 155px;

        font-size: 0.68rem;
    }

}


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

   Same arrangement.
   We only shrink it.
   ========================================================= */

@media (max-width: 600px) {

    .five-r-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }


    .five-r-section
    .home-container {
        width: 100%;

        max-width: 100%;

        padding-left: 8px;
        padding-right: 8px;
    }


    .five-r-section
    .section-heading-centred {
        width: 94%;

        margin:
            0
            auto
            12px;
    }


    .recovery-circuit {
        width:
            min(
                96vw,
                500px
            );

        aspect-ratio: 1 / 1;

        margin:
            8px
            auto
            0;
    }


    .recovery-circuit::before {
        inset: 7.5%;

        border-width: 1.5px;
    }


    .r-node {
        width:
            clamp(
                88px,
                24vw,
                108px
            );

        height:
            clamp(
                88px,
                24vw,
                108px
            );

        padding: 8px;
    }


    .r-node span {
        margin-bottom: 4px;

        font-size: 0.59rem;
    }


    .r-node strong {
        font-size:
            clamp(
                0.72rem,
                3.3vw,
                0.88rem
            );
    }


    /*
       Maintain the compact pentagonal structure.
    */

    .r-node-reuse {
        top: 16%;
        left: 50%;
    }


    .r-node-repair {
        top: 37%;
        left: 78%;
    }


    .r-node-refurbish {
        top: 70%;
        left: 72%;
    }


    .r-node-recover {
        top: 70%;
        left: 28%;
    }


    .r-node-recycle {
        top: 37%;
        left: 22%;
    }


    .r-centre {
        width:
            clamp(
                165px,
                46vw,
                195px
            );

        height:
            clamp(
                165px,
                46vw,
                195px
            );

        padding:
            20px;

        box-shadow:
            0 0 0 9px
            rgba(21, 155, 53, 0.05),
            0 20px 42px
            rgba(0, 0, 0, 0.20);
    }


    .r-centre::before {
        inset: 12px;
    }


    .r-centre > span {
        font-size: 0.59rem;
    }


    .r-centre h3 {
        margin:
            5px
            0
            7px;

        font-size:
            clamp(
                1.25rem,
                5.8vw,
                1.48rem
            );
    }


    .r-centre p {
        max-width:
            clamp(
                120px,
                34vw,
                148px
            );

        font-size:
            clamp(
                0.56rem,
                2.45vw,
                0.66rem
            );

        line-height: 1.45;
    }


    .recovery-circuit-help {
        margin-top: 2px;

        font-size: 0.71rem;
    }


    /*
       Final form action stays right-aligned on phones too.
    */

    .submit-actions,
    .form-actions,
    .submission-actions,
    .final-submit-actions {
        justify-content: flex-end;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 370px) {

    .recovery-circuit {
        width: 97vw;
    }


    .r-node {
        width: 82px;
        height: 82px;

        padding: 6px;
    }


    .r-node span {
        font-size: 0.53rem;
    }


    .r-node strong {
        font-size: 0.69rem;
    }


    .r-node-repair {
        left: 77%;
    }


    .r-node-recycle {
        left: 23%;
    }


    .r-centre {
        width: 154px;
        height: 154px;

        padding: 16px;
    }


    .r-centre h3 {
        font-size: 1.17rem;
    }


    .r-centre p {
        max-width: 115px;

        font-size: 0.54rem;
    }

}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes circuitFlow {

    to {
        stroke-dashoffset: -68;
    }

}


@keyframes recoveryOrbitFlow {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes activeOrbit {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.07);
        opacity: 1;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .recovery-circuit::before,
    .r-line.active,
    .r-node.active::before {
        animation: none !important;
    }

}

/* =========================================================
   IMPACT DASHBOARD — LIVE STATISTICS
   ========================================================= */

.impact-card {
    position: relative;
}

/* Hide any remaining decorative dashes */

.impact-card .impact-marker {
    display: none !important;
}

/* Numbers replace the original green markers */

.impact-card .impact-number {
    display: block;

    width: fit-content;

    margin: 0 0 18px;

    padding: 0;

    color: #19b447;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-size: clamp(2.5rem, 4vw, 3.8rem);

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.055em;

    font-variant-numeric: tabular-nums;
}

/* Weight unit */

.impact-card .impact-number small {
    display: inline;

    margin-left: 5px;

    color: #19b447;

    font-size: 0.35em;

    font-weight: 700;

    letter-spacing: 0;
}

/* Statistic heading */

.impact-card h3 {
    margin: 0 0 12px;

    color: #b4ead3;

    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;

    font-size: clamp(1rem, 1.6vw, 1.2rem);

    font-weight: 700;
}

/* Maintain comfortable spacing */

.impact-card p {
    margin: 0;

    line-height: 1.65;
}

/* Mobile */

@media (max-width: 600px) {

    .impact-card .impact-number {
        font-size: 2.7rem;

        margin-bottom: 14px;
    }

    .impact-card .impact-number small {
        font-size: 0.34em;
    }

}

/* Full-size header slides away on downward scroll and returns on upward scroll. */
.site-header { transition: transform .28s ease, box-shadow .25s ease; }
.site-header.header-hidden { transform: translateY(-105%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Compact sections and top-aligned, two-axis card browsing. */
.home-section,
.cms-home-section {
    padding: clamp(32px, 4vw, 56px) 0;
}
.home-section .section-heading-centred {
    margin-bottom: 24px;
}
.home-section .section-heading-centred > p:not(.eyebrow) {
    margin-top: 12px;
}
.updates-header {
    padding: clamp(28px, 4vw, 48px) 4%;
}
.impact-grid.impact-scroll-window,
.article-grid.article-scroll-rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: max-content;
    grid-auto-columns: minmax(245px, 29%);
    align-items: start;
    align-content: start;
    gap: 14px;
    height: 245px;
    max-height: none;
    padding: 12px 8px 16px;
    overflow: auto;
    scroll-snap-type: none;
    touch-action: pan-x pan-y;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.impact-grid.impact-scroll-window > .impact-card {
    display: block;
    align-self: start;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 14px;
    box-sizing: border-box;
}
/* Fit Impact cards to their content instead of reserving empty height. */
.impact-grid.impact-scroll-window {
    height: auto;
    max-height: 200px;
}
.impact-scroll-window .impact-card .impact-number {
    margin-bottom: 10px;
}
.impact-scroll-window .impact-card h3 {
    margin-bottom: 8px;
}
.impact-scroll-window > .impact-card[data-reveal],
.article-scroll-rail > .article-card[data-reveal] {
    opacity: 1;
    transform: none;
}
.impact-scroll-window > .impact-card:hover,
.article-scroll-rail > .article-card:hover {
    transform: none;
}
.article-grid.article-scroll-rail {
    grid-auto-columns: minmax(260px, min(78vw, 350px));
    height: 420px;
}
.article-scroll-rail > .article-card {
    min-width: 0;
    height: auto;
    align-self: start;
}
.articles-scroll-window {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(310px, 1fr));
    grid-auto-rows: max-content;
    align-items: start;
    align-content: start;
    gap: 16px;
    max-height: min(65vh, 680px);
    overflow: auto;
    padding: 14px;
    touch-action: pan-x pan-y;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.articles-scroll-window > .feed-post {
    min-width: 0;
    align-self: start;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.articles-scroll-window .post-header {
    margin-bottom: 12px;
}
.articles-scroll-window .post-image {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 760px) {
    .impact-grid.impact-scroll-window {
        grid-auto-columns: minmax(235px, 78vw);
    }
    .article-grid.article-scroll-rail {
        grid-auto-columns: minmax(250px, 80vw);
        height: 360px;
    }
    .articles-scroll-window {
        grid-template-columns: repeat(2, minmax(265px, 80vw));
    }
}

/* Loop copies use the same cards and two-axis viewport as the original content. */
.horizontal-loop {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    overflow-anchor: none;
}
.articles-scroll-window.horizontal-loop {
    grid-template-columns: none;
    grid-auto-columns: minmax(310px, calc((100% - 16px) / 2));
}
@media (max-width: 760px) {
    .articles-scroll-window.horizontal-loop {
        grid-auto-columns: minmax(265px, 80vw);
    }
}

/* Compact, clearly actionable homepage links. */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.quick-actions .quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid #159b35;
    border-radius: 10px;
    background: #159b35;
    background-image: linear-gradient(135deg, #20b744, #11862e);
    color: #ffffff;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: .9rem;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, box-shadow .15s ease;
}
.quick-actions .quick-action:hover {
    background: #11862e;
    background-image: linear-gradient(135deg, #27c64d, #0f7d2a);
    border-color: #11862e;
}
.quick-actions .quick-action:focus-visible,
.impact-content-scroll:focus-visible {
    outline: 3px solid var(--heading);
    outline-offset: 4px;
}
.quick-actions .quick-action:active { background: #0f7d2a; }

/* Impact stories use the same two-axis, looping rail as image cards. */
.impact-content-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: max-content;
    grid-auto-columns: minmax(260px, min(82vw, 360px));
    align-items: start;
    align-content: start;
    gap: 16px;
    max-height: 420px;
    padding: 8px 4px 16px;
    margin-bottom: 24px;
    overflow: auto;
    touch-action: pan-x pan-y;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.impact-story {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}
.impact-story-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background: var(--surface-soft);
}
.impact-story-copy { padding: 18px; }
.impact-story-copy h3 {
    margin: 0 0 12px;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.3;
    color: var(--heading);
}
.impact-story-copy .impact-story-description,
.impact-story-copy .impact-story-description p {
    margin: 0 0 12px;
    font-size: .9rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-soft);
    overflow-wrap: anywhere;
}
.impact-story-copy .button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: .9rem;
}
.impact-section .impact-figures-note {
    margin: 0 0 8px;
    text-align: center;
    font-size: .85rem;
    line-height: 1.5;
    color: var(--text-soft);
}
@media (max-width: 600px) {
    .quick-actions { gap: 10px; }
    .quick-actions .quick-action { flex: 1 1 145px; padding: 12px; font-size: .9rem; }
}

/* Brand rule: text on filled green surfaces stays white in every state. */
.button-primary,
.primary-button,
.partner-apply-button,
.quick-actions .quick-action,
.home-locator-control button,
.collection-search button,
.tracking-search button,
.category-filter:hover,
.category-filter.active,
.r-node.active,
.r-node.active span,
.r-node.active strong,
.home-partner-logo > span,
.skip-link,
.home-cta,
.home-cta .eyebrow,
.home-cta h2,
.home-cta p,
.home-cta .button-outline-light {
    color: #ffffff;
}

.button-primary :is(span, strong),
.primary-button :is(span, strong),
.partner-apply-button :is(span, strong),
.quick-action :is(span, strong) {
    color: inherit;
}

/* Keep action link text white across link states and theme overrides. */
.quick-actions a.quick-action,
.quick-actions a.quick-action:visited,
.quick-actions a.quick-action:hover,
.quick-actions a.quick-action:focus,
.quick-actions a.quick-action:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}
