/* =====================================================================
   Home hero ("hx") – the company's front door.
   Composition: copy on the start side; framed field photo with a floating figure on the other;
   the official brand device bleeds in from the bottom corner; light travels from charcoal to deep green.
   ===================================================================== */
.hx {
    --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='4' y1='20' x2='20' y2='4' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2352BA63'/%3E%3Cstop offset='1' stop-color='%23A3EF7E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M21 3C10 3 3.5 8.5 3.5 16.5c0 1.4.3 2.7.8 3.8C5.6 17 8.6 13.6 13 11c-3.3 2.9-5.2 6-6 9.6 1 .3 2 .4 3 .4 8.5 0 11.5-8 11-18z'/%3E%3Cpath fill='none' stroke='%23202522' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round' d='M4.4 20.4C8 14.5 12.5 10 18 6.5'/%3E%3C/svg%3E");
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--brand-off-white);
    padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 116px);
    background:
        radial-gradient(
            55% 75% at 20% 62%,
            color-mix(in srgb, var(--brand-green) 30%, transparent),
            transparent 72%
        ),
        radial-gradient(
            45% 55% at 96% 6%,
            color-mix(in srgb, var(--brand-light-green) 12%, transparent),
            transparent 70%
        ),
        linear-gradient(
            125deg,
            var(--brand-charcoal) 0%,
            color-mix(
                    in srgb,
                    var(--brand-deep-green) 55%,
                    var(--brand-charcoal)
                )
                52%,
            var(--brand-deep-green) 100%
        );
}
/* brand device bleeding from the bottom-left corner */
.hx::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: -3%;
    bottom: -6%;
    width: min(980px, 78vw);
    aspect-ratio: 556/240;
    background: url("brand-device.png") no-repeat center/contain;
    opacity: 0.16;
}
/* soft bottom fade into the next section */
.hx::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0 0;
    height: 90px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent,
        color-mix(in srgb, var(--brand-deep-green) 70%, transparent)
    );
}

.hx-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 76px);
}

/* ---- Copy ---- */
.hx h1 {
    margin: 22px 0 20px;
    font-size: clamp(34px, 4.7vw, 60px);
    line-height: 1.3;
    font-weight: 700;
    color: var(--brand-off-white);
    text-wrap: balance;
}
.hx h1 em {
    font-style: normal;
    color: var(--brand-light-green);
    background: linear-gradient(
        transparent 64%,
        color-mix(in srgb, var(--brand-light-green) 24%, transparent) 64%
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 4px;
}
.hx-lead {
    margin: 0 0 32px;
    max-width: 590px;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 2.05;
    font-weight: 300;
    color: color-mix(in srgb, var(--brand-off-white) 88%, transparent);
}
.hx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s,
        background-color 0.2s,
        border-color 0.2s,
        box-shadow 0.2s,
        color 0.2s;
}
.hx-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: translate 0.25s;
}
.hx .hx-btn-primary {
    background: var(--brand-light-green);
    color: var(--brand-charcoal);
    box-shadow: 0 12px 30px
        color-mix(in srgb, var(--brand-light-green) 28%, transparent);
}
.hx .hx-btn-primary:hover {
    background: var(--brand-off-white);
    transform: translateY(-2px);
}
.hx .hx-btn-primary:hover svg {
    translate: -4px 0;
}
.hx .hx-btn-ghost {
    background: transparent;
    color: var(--brand-off-white);
    border-color: color-mix(in srgb, var(--brand-off-white) 42%, transparent);
}
.hx .hx-btn-ghost:hover {
    background: color-mix(in srgb, var(--brand-off-white) 12%, transparent);
    border-color: var(--brand-off-white);
    transform: translateY(-2px);
}
.hx a:focus-visible {
    outline: 3px solid var(--brand-light-green);
    outline-offset: 3px;
}

/* ---- Visual: the photo deck (cards themselves: deck.css) ---- */
.hx-visual {
    position: relative;
}
.hx-deck {
    position: relative;
    aspect-ratio: 5/5.5;
    width: min(100%, 520px);
    margin-inline: auto;
    margin-block: 0 6px;
    touch-action: pan-y;
}

.hx-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.hx-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-off-white) 35%, transparent);
    cursor: pointer;
    transition:
        width 0.3s,
        background-color 0.3s;
}
.hx-dot[aria-current="true"] {
    width: 30px;
    background: var(--brand-light-green);
}
.hx-dot:focus-visible {
    outline: 3px solid var(--brand-light-green);
    outline-offset: 3px;
}

.hx-chip {
    position: absolute;
    z-index: 30;
    top: 26px;
    inset-inline-start: -22px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 20px 13px 16px;
    border-radius: 18px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
.hx-chip-ico {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        var(--leaf) center/24px no-repeat,
        var(--brand-soft-green);
}
.hx-chip strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--brand-deep-green);
}
.hx-chip small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--brand-grey);
}

@media (prefers-reduced-motion: no-preference) {
    .hx-copy > * {
        animation: hxRise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
    }
    .hx-copy > *:nth-child(2) {
        animation-delay: 0.07s;
    }
    .hx-copy > *:nth-child(3) {
        animation-delay: 0.14s;
    }

    .hx-visual {
        animation: hxRise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both;
    }
    .hx-chip {
        animation: hxFloat 6s ease-in-out 1s infinite;
    }
}
@keyframes hxRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes hxFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 980px) {
    .hx-grid {
        grid-template-columns: 1fr;
    }
    .hx-deck {
        aspect-ratio: 5/4;
        width: min(100%, 560px);
    }
    .hx-visual {
        width: 100%;
        max-width: 620px;
        margin-inline: auto;
    }
    .hx-chip {
        inset-inline-start: 14px;
        top: -22px;
    }
}
@media (max-width: 560px) {
    .hx-btn {
        flex: 1 1 100%;
    }
    .hx-chip strong {
        font-size: 24px;
    }
}
@media print {
    .hx {
        background: #fff;
        color: #000;
    }
    .hx::before,
    .hx::after {
        display: none;
    }
}

/* ---- Deck: fan toward the left, room for it, and interaction ---- */
.hx-visual {
    padding-inline-end: clamp(34px, 4.2vw, 64px);
}
@media (max-width: 980px) {
    .hx-visual {
        padding-inline-end: 34px;
    }
}
@media (max-width: 560px) {
    .hx-visual {
        padding-inline-end: 24px;
    }
}

/* ---- GSCES figures floating over the photos ---- */
.hx-chip-ico--icon {
    display: grid;
    place-items: center;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
}
.hx-chip-ico--icon svg {
    width: 22px;
    height: 22px;
}
.hx-chip strong {
    direction: ltr;
    text-align: start;
    white-space: nowrap;
    font-family: var(--brand-font);
}
.hx-chip--cred strong {
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.hx-chip--cred small {
    line-height: 1.5;
}
.hx-chip-eyebrow {
    margin: 0 0 2px !important;
    font-size: 11.5px !important;
    font-weight: 700;
    color: var(--brand-deep-green) !important;
}
/* first chip keeps its place (top, on the text side); the others orbit the deck */
.hx-chip-2 {
    top: auto;
    bottom: 92px;
    inset-inline-start: -40px;
}
.hx-chip-3 {
    top: -16px;
    inset-inline-start: auto;
    inset-inline-end: 46px;
}
@media (prefers-reduced-motion: no-preference) {
    .hx-chip-2 {
        animation-delay: 2.2s;
    }
    .hx-chip-3 {
        animation-delay: 4.1s;
    }
}
@media (max-width: 980px) {
    .hx-chip-2 {
        bottom: 76px;
        inset-inline-start: 10px;
    }
    .hx-chip-3 {
        top: -18px;
        inset-inline-end: 40px;
    }
}
@media (max-width: 560px) {
    .hx-chip {
        padding: 10px 14px 10px 12px;
        gap: 10px;
    }
    .hx-chip-ico {
        width: 36px;
        height: 36px;
    }
    .hx-chip-ico--icon svg {
        width: 19px;
        height: 19px;
    }
    .hx-chip strong {
        font-size: 22px;
    }
    .hx-chip small {
        font-size: 12px;
    }
}

/* credential chips on small screens: compact, and out of each other's way */
@media (max-width: 980px) {
    .hx-chip--cred strong {
        font-size: 16px;
    }
    .hx-chip-2 {
        inset-inline-start: auto;
        inset-inline-end: 6px;
        bottom: 86px;
    }
}
@media (max-width: 560px) {
    .hx-chip--cred {
        padding: 8px 12px 8px 10px;
        gap: 9px;
        max-width: calc(100% - 28px);
    }
    .hx-chip--cred strong {
        font-size: 14px;
    }
    .hx-chip-eyebrow {
        font-size: 10.5px !important;
    }
    .hx-chip--cred small {
        font-size: 11px;
    }
    .hx-chip--cred .hx-chip-ico {
        width: 32px;
        height: 32px;
    }
    .hx-chip--cred .hx-chip-ico--icon svg {
        width: 17px;
        height: 17px;
    }
    .hx-chip-1 {
        top: -18px;
        inset-inline-start: 8px;
    }
    .hx-chip-2 {
        bottom: 74px;
        inset-inline-end: 2px;
    }
}

/* credential chips that carry the certificate's own logo instead of text */
.hx-chip-body {
    display: block;
    min-width: 0;
}
.hx-chip-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 6px 0 4px;
}
.hx-chip-logos img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 104px;
    object-fit: contain;
}
.hx-chip--logos {
    padding: 12px 20px 12px 18px;
}
@media (max-width: 560px) {
    .hx-chip-logos img {
        height: 28px;
        max-width: 76px;
    }
    .hx-chip-logos {
        gap: 10px;
    }
}

/* =====================================================================
   Credential cards – one floating card per certificate / licence, set around the photo deck:
   right-top, left-top, right-middle, left-bottom (alternating sides so the composition stays balanced).
   ===================================================================== */
.hx-chip--cred {
    --w: 236px;
    width: max-content;
    max-width: var(--w);
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 18px;
    top: auto;
    bottom: auto;
    inset-inline: auto;
}
.hx-chip--cred .hx-chip-body {
    display: block;
    min-width: 0;
}
.hx-chip--cred strong {
    display: block;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--brand-deep-green);
    white-space: nowrap;
}
.hx-chip--cred small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--brand-grey);
}
.hx-chip--cred .hx-chip-eyebrow {
    margin: 0 0 1px !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand-deep-green) !important;
}
.hx-chip--cred .hx-chip-ico {
    width: 42px;
    height: 42px;
}
.hx-chip-logo {
    flex: none;
    display: block;
    height: 40px;
    width: auto;
    max-width: 78px;
    object-fit: contain;
}

/* placement (RTL: inline-start is the right edge, inline-end the left edge) */
.hx-chip--cred.hx-chip-1 {
    top: 22px;
    inset-inline-start: -40px;
}
.hx-chip--cred.hx-chip-2 {
    top: -20px;
    inset-inline-end: 34px;
}
.hx-chip--cred.hx-chip-3 {
    top: 44%;
    inset-inline-start: -42px;
}
.hx-chip--cred.hx-chip-4 {
    bottom: 112px;
    inset-inline-end: -16px;
}

@media (prefers-reduced-motion: no-preference) {
    .hx-chip--cred.hx-chip-1 {
        animation-delay: 0s;
    }
    .hx-chip--cred.hx-chip-2 {
        animation-delay: 1.4s;
    }
    .hx-chip--cred.hx-chip-3 {
        animation-delay: 2.6s;
    }
    .hx-chip--cred.hx-chip-4 {
        animation-delay: 3.8s;
    }
}

/* tablet / phone: the cards leave the photo and form a tidy 2×2 grid under the deck */
@media (max-width: 980px) {
    .hx-visual {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .hx-deck,
    .hx-dots {
        flex: 0 0 100%;
    }
    .hx-dots {
        margin-top: 26px;
        margin-bottom: 6px;
    }
    .hx-chip--cred.hx-chip,
    .hx-chip--cred.hx-chip-1,
    .hx-chip--cred.hx-chip-2,
    .hx-chip--cred.hx-chip-3,
    .hx-chip--cred.hx-chip-4 {
        position: relative;
        inset: auto;
        animation: none;
        flex: 1 1 calc(50% - 6px);
        width: auto;
        max-width: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }
}
@media (max-width: 560px) {
    .hx-chip--cred.hx-chip {
        padding: 10px 12px 10px 10px;
        gap: 9px;
    }
    .hx-chip--cred strong {
        font-size: 15px;
    }
    .hx-chip--cred small {
        font-size: 11px;
    }
    .hx-chip--cred .hx-chip-eyebrow {
        font-size: 10px !important;
    }
    .hx-chip--cred .hx-chip-ico {
        width: 34px;
        height: 34px;
    }
    .hx-chip--cred .hx-chip-ico--icon svg {
        width: 18px;
        height: 18px;
    }
    .hx-chip-logo {
        height: 32px;
        max-width: 56px;
    }
}

/* =====================================================================
   LIGHT THEME – hero and figures follow the identity's colour balance:
   Warm Off White carries the page (60%), Soft Green Tint frames the visual and the figures,
   Charcoal speaks (headings), Deep Green acts (buttons, accents), Light Green only highlights.
   This block supersedes the earlier dark treatment above.
   ===================================================================== */
.hx {
    color: var(--brand-charcoal);
    padding-bottom: clamp(92px, 9vw, 148px);
    background:
        radial-gradient(
            48% 62% at 22% 52%,
            color-mix(in srgb, var(--brand-soft-green) 95%, transparent),
            transparent 72%
        ),
        radial-gradient(
            38% 48% at 100% 0%,
            color-mix(in srgb, var(--brand-soft-green) 80%, transparent),
            transparent 70%
        ),
        var(--brand-off-white);
}
.hx::before {
    left: -4%;
    bottom: 6%;
    opacity: 0.3;
}
/* a soft-green wave carries the hero into the figures section */
.hx::after {
    z-index: -1;
    height: clamp(52px, 6vw, 88px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 88' preserveAspectRatio='none'%3E%3Cpath fill='%23E8F5E9' d='M0 52C260 8 520 88 760 48s420-40 680-6v46H0z'/%3E%3C/svg%3E")
        no-repeat center bottom/100% 100%;
}

/* copy */
.hx h1 {
    color: var(--brand-charcoal);
}
.hx h1 em {
    color: var(--brand-deep-green);
    background: linear-gradient(
        transparent 64%,
        color-mix(in srgb, var(--brand-light-green) 55%, transparent) 64%
    );
}
.hx-lead {
    color: color-mix(
        in srgb,
        var(--brand-charcoal) 78%,
        var(--brand-off-white)
    );
}
.hx .hx-btn-primary {
    background: var(--brand-deep-green);
    color: var(--brand-off-white);
    box-shadow: 0 14px 30px
        color-mix(in srgb, var(--brand-deep-green) 28%, transparent);
}
.hx .hx-btn-primary:hover {
    background: color-mix(
        in srgb,
        var(--brand-deep-green) 82%,
        var(--brand-charcoal)
    );
    transform: translateY(-2px);
}
.hx .hx-btn-ghost {
    color: var(--brand-charcoal);
    border-color: color-mix(in srgb, var(--brand-charcoal) 30%, transparent);
}
.hx .hx-btn-ghost:hover {
    background: var(--brand-soft-green);
    border-color: var(--brand-deep-green);
    color: var(--brand-deep-green);
    transform: translateY(-2px);
}
.hx a:focus-visible,
.hx-dot:focus-visible,
.hx-card:focus-visible {
    outline-color: var(--brand-deep-green);
}

/* the visual sits on a soft-green panel so the off-white cards stand out */
.hx-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -34px -8px -40px;
    border-radius: 46px;
    background: linear-gradient(
        160deg,
        var(--brand-soft-green),
        color-mix(
            in srgb,
            var(--brand-light-green) 16%,
            var(--brand-soft-green)
        )
    );
    border: 1px solid color-mix(in srgb, var(--brand-green) 22%, transparent);
}
.hx-dot {
    background: color-mix(in srgb, var(--brand-charcoal) 20%, transparent);
}
.hx-dot[aria-current="true"] {
    background: var(--brand-deep-green);
}
.hx-chip {
    border: 1px solid
        color-mix(in srgb, var(--brand-deep-green) 14%, transparent);
    box-shadow: 0 16px 38px rgba(32, 37, 34, 0.16);
}

/* certificate with a logo: the logo alone, no text */
.hx-chip--logo-only {
    width: auto;
    max-width: none;
    padding: 14px 20px;
    justify-content: center;
}
.hx-chip--logo-only .hx-chip-logo {
    height: 56px;
    width: auto;
    max-width: 150px;
    min-width: 56px;
    object-fit: contain;
}
@media (max-width: 980px) {
    .hx-chip--logo-only {
        justify-content: center;
    }
    .hx-chip--logo-only .hx-chip-logo {
        height: 48px;
        max-width: 100%;
    }
}
@media (max-width: 560px) {
    .hx-chip--logo-only .hx-chip-logo {
        height: 38px;
    }
}

/* =====================================================================
   HERO REFINEMENT – background and copy column
   Background: a fine dot grid that fades out toward the edges, two soft light pools, and the brand device.
   Copy: larger headline, a lead set off by a green rule, a button with its own arrow disc, and compact spacing.
   ===================================================================== */
.hx-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.hx-bg::before,
#page-home .gh-stats::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        color-mix(in srgb, var(--brand-deep-green) 26%, transparent) 1.1px,
        transparent 1.7px
    );
    background-size: 26px 26px;
}
.hx-bg::before {
    -webkit-mask-image: radial-gradient(
        62% 80% at 62% 46%,
        #000 0,
        transparent 78%
    );
    mask-image: radial-gradient(62% 80% at 62% 46%, #000 0, transparent 78%);
}
#page-home .hx:has(~ .gh-stats) .hx-bg::before {
    mask-image:
        radial-gradient(62% 80% at 62% 46%, currentColor, transparent 78%),
        linear-gradient(
            to top,
            transparent,
            currentColor clamp(64px, 9vw, 132px)
        );
    mask-composite: intersect;
}
.hx-bg::after {
    content: "";
    position: absolute;
    inset-inline-end: -8%;
    top: -18%;
    width: min(640px, 52vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        color-mix(in srgb, var(--brand-light-green) 34%, transparent),
        transparent
    );
    filter: blur(6px);
}
.hx {
    background:
        radial-gradient(
            44% 58% at 24% 54%,
            color-mix(in srgb, var(--brand-soft-green) 96%, transparent),
            transparent 74%
        ),
        linear-gradient(
            180deg,
            var(--brand-off-white) 0%,
            color-mix(
                    in srgb,
                    var(--brand-soft-green) 38%,
                    var(--brand-off-white)
                )
                100%
        );
}

/* copy column */
.hx-copy {
    position: relative;
    max-width: 640px;
}
.hx h1 {
    margin: 0 0 26px;
    font-size: clamp(36px, 4.3vw, 60px);
    line-height: 1.22;
    letter-spacing: 0;
}
.hx h1 em {
    display: inline-block;
    padding-inline: 6px;
    border-radius: 8px;
}
.hx-lead {
    position: relative;
    max-width: 560px;
    margin: 0 0 36px;
    padding-inline-start: 22px;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 2.05;
}
.hx-lead::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(
        180deg,
        var(--brand-green),
        var(--brand-light-green)
    );
}
.hx-actions {
    gap: 12px;
}
.hx .hx-btn {
    min-height: 58px;
    font-size: 16px;
}
.hx .hx-btn-primary {
    padding-inline: 30px 10px;
}
.hx .hx-btn-primary svg {
    box-sizing: content-box;
    width: 17px;
    height: 17px;
    padding: 8px;
    border-radius: 50%;
    background: var(--brand-light-green);
    color: var(--brand-charcoal);
}
.hx .hx-btn-primary:hover svg {
    translate: -3px 0;
    background: var(--brand-off-white);
}
.hx .hx-btn-ghost {
    padding-inline: 28px;
    background: color-mix(in srgb, var(--brand-off-white) 70%, transparent);
    backdrop-filter: blur(4px);
}

@media (max-width: 980px) {
    .hx-copy {
        max-width: none;
    }
}
@media (max-width: 560px) {
    .hx h1 {
        font-size: clamp(34px, 10vw, 44px);
    }
    .hx-lead {
        padding-inline-start: 16px;
    }
    .hx .hx-btn-primary {
        padding-inline: 26px 10px;
    }
}

/* the hero shares the top bar's colour (Soft Green Tint); light pools keep it from looking flat */
.hx {
    background:
        radial-gradient(
            46% 60% at 24% 54%,
            color-mix(in srgb, var(--brand-off-white) 70%, transparent),
            transparent 72%
        ),
        radial-gradient(
            40% 50% at 100% 0%,
            color-mix(in srgb, var(--brand-light-green) 22%, transparent),
            transparent 70%
        ),
        var(--brand-soft-green);
}
.hx-bg::after {
    display: none;
}
.hx-visual::before {
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--brand-off-white) 62%, var(--brand-soft-green)),
        color-mix(in srgb, var(--brand-off-white) 35%, var(--brand-soft-green))
    );
    border-color: color-mix(in srgb, var(--brand-green) 30%, transparent);
}

/* headline: smaller, so it reads in two lines and leaves the white space to breathe */
.hx h1 {
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.3;
    text-wrap: pretty;
}
.hx h1 em {
    display: block;
    width: fit-content;
    margin-top: 6px;
}
@media (max-width: 560px) {
    .hx h1 {
        font-size: clamp(30px, 8.6vw, 38px);
    }
}
@media (min-width: 981px) {
    .hx-grid {
        grid-template-columns: 1.32fr 1fr;
    }
    .hx-copy {
        max-width: 700px;
    }
    .hx h1 {
        font-size: clamp(32px, 3.4vw, 50px);
    }
}

/* the brand device sits on the right (the copy side) */
.hx::before {
    left: auto;
    right: -4%;
}

/* the brand device starts from the bottom edge exactly like the loading screen */
.hx::before {
    left: auto;
    bottom: auto;
    inset-block-end: -7vmin;
    inset-inline-start: -12vmin;
    inset-inline-end: auto;
    width: clamp(320px, 68vw, 1040px);
    aspect-ratio: 548/244;
    background: var(--brand-device) center/contain no-repeat;
    opacity: 0.14;
}
.hx::after {
    display: none;
} /* the wave now has the section's own colour and would hide the foot of the device */

/* ---- final composition ----
   The hero fills the first screen, so its brand device sits on the very same spot as the loading screen's:
   when the loader fades out the background does not move. (--hx-top is the height of the bars above the hero, set in hero.js.) */
.hx {
    display: grid;
    align-content: center;
    min-height: calc(100svh - var(--hx-top, 113px));
}
/* the slider keeps its original size; the text is what gets smaller */
@media (min-width: 981px) {
    .hx-grid {
        grid-template-columns: 1.05fr 1fr;
    }
    .hx-copy {
        max-width: 640px;
    }
    .hx h1 {
        font-size: clamp(30px, 2.95vw, 44px);
    }
    .hx-lead {
        font-size: clamp(15px, 1.15vw, 17px);
    }
}

/* Same spot as the loader no matter how tall the hero is: the device is placed from the top of the hero so that
   its foot lands 7vmin below the bottom edge of the first screen (exactly the loader's rule). */
.hx {
    --dw: clamp(320px, 68vw, 1040px);
}
.hx::before {
    inset-block-end: auto;
    top: calc(100svh - var(--hx-top, 113px) + 7vmin - var(--dw) * 244 / 548);
    width: var(--dw);
}

.hx::before {
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0,
        #000 52%,
        transparent 100%
    );
    mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%);
}

/* GSCES in figures */
#page-home .gh-stats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(28px, 3.8vw, 48px);
    background: var(--brand-figures-surface);
    color: var(--brand-charcoal);
}
#page-home .hx ~ .gh-stats {
    background: linear-gradient(
        to bottom,
        var(--brand-soft-green),
        color-mix(
                in srgb,
                var(--brand-soft-green) 76%,
                var(--brand-figures-surface)
            )
            clamp(28px, 4vw, 64px),
        var(--brand-figures-surface) clamp(125px, 15vw, 220px)
    );
}
#page-home .gh-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    display: none; /* the concentric rings were removed: the background stays clean */
}
#page-home .gh-stats::after {
    z-index: -1;
    opacity: 0.48;
    pointer-events: none;
    mask-image: radial-gradient(
        ellipse at 58% 22%,
        currentColor,
        transparent 76%
    );
}
#page-home .hx ~ .gh-stats::after {
    mask-image:
        radial-gradient(ellipse at 58% 22%, currentColor, transparent 76%),
        linear-gradient(
            to bottom,
            transparent,
            currentColor clamp(68px, 10vw, 144px)
        );
    mask-composite: intersect;
}
.figures-heading {
    margin: 0 auto clamp(19px, 3vw, 34px);
    text-align: center;
}
#page-home .figures-heading h2 {
    margin: 0 0 7px;
    color: var(--brand-deep-green);
    font-size: clamp(26px, 3vw, 39px);
    line-height: 1.2;
}
.figures-heading p {
    margin: 0;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 400;
}

.figures-network {
    position: relative;
    --figures-emblem-size: clamp(86px, 12vw, 132px);
    max-width: 920px;
    margin-inline: auto;
}
.figures-network-art {
    margin-bottom: 24px;
}
.figures-branches {
    display: none;
}
.figures-branch-pulse {
    opacity: 0;
}
.figures-emblem {
    width: var(--figures-emblem-size);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: transparent;
    touch-action: manipulation;
}
.figures-emblem:enabled {
    cursor: pointer;
}
.figures-emblem:disabled {
    cursor: default;
}
.figures-emblem:focus-visible {
    outline: 2px solid var(--brand-deep-green);
    outline-offset: 6px;
}
.figures-symbol {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
.figures-symbol img {
    position: absolute;
    top: 0;
    left: 0;
    width: 273.34%;
    max-width: none;
    height: auto;
}

.figures-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}
.figures-card {
    position: relative;
    gap: 10px;
    min-width: 0;
    min-height: 100px;
    padding: 9px 12px;
    border: 1px solid
        color-mix(in srgb, var(--brand-deep-green) 13%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--brand-off-white) 95%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 19px
        color-mix(in srgb, var(--brand-charcoal) 12%, transparent);
    text-align: start;
}
.figures-card strong {
    color: var(--brand-deep-green);
    font: 700 clamp(25px, 3vw, 36px)/1 var(--brand-font);
}
.figures-card .figures-value--text {
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.25;
    text-wrap: pretty;
}
.figures-card-label {
    display: block;
    margin-top: 4px;
    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 400;
    line-height: 1.25;
}
.figures-card div {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
    .figures-network--tree .figures-network-art {
        position: absolute;
        inset: 0;
        margin: 0;
    }
    .figures-network--tree .figures-branches {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        mask-image: radial-gradient(
            circle,
            transparent calc(var(--figures-emblem-size) * 0.46),
            currentColor calc(var(--figures-emblem-size) * 0.46 + 1px)
        );
    }
    .figures-branches path {
        fill: none;
        stroke-width: 5;
        stroke-linecap: round;
    }
    .figures-branch-base {
        stroke: color-mix(
            in srgb,
            var(--brand-green) 62%,
            var(--brand-soft-green)
        );
    }
    .figures-branch-pulse {
        stroke: var(--brand-light-green);
        stroke-dasharray: 14 112;
    }
    .figures-network--tree .figures-layout {
        pointer-events: none;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
        grid-template-rows: repeat(var(--rows, 3), minmax(112px, 1fr));
        row-gap: 0;
    }
    .figures-network--tree .figures-card {
        pointer-events: auto;
        grid-row: var(--row);
        margin-block: 10px;
    }
    .figures-network--tree .figures-card[data-side="right"] {
        grid-column: 1;
    }
    .figures-network--tree .figures-card[data-side="left"] {
        grid-column: 3;
    }
}

@media (max-width: 1023px) {
    .figures-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 420px) {
    .figures-layout {
        gap: 9px;
    }
    .figures-card {
        padding: 8px;
    }
}

.figures-card--featured {
    border-color: color-mix(in srgb, var(--brand-deep-green) 37%, transparent);
}
.figures-card-icon {
    width: clamp(30px, 4vw, 44px);
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
}
.figures-card-icon svg {
    width: 72%;
    height: auto;
}
.figures-icon-fill {
    fill: color-mix(in srgb, var(--brand-green) 34%, transparent);
}
.figures-card-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
}
.figures-card-trigger:disabled {
    display: none;
}
.figures-card-trigger:focus-visible {
    outline: 2px solid var(--brand-deep-green);
    outline-offset: 3px;
}
.figures-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .figures-network:has([data-branch="right-1"]:hover)
        [data-stats-branch="right-1"]
        .figures-branch-base,
    .figures-network:has([data-branch="right-2"]:hover)
        [data-stats-branch="right-2"]
        .figures-branch-base,
    .figures-network:has([data-branch="right-3"]:hover)
        [data-stats-branch="right-3"]
        .figures-branch-base,
    .figures-network:has([data-branch="right-4"]:hover)
        [data-stats-branch="right-4"]
        .figures-branch-base,
    .figures-network:has([data-branch="right-5"]:hover)
        [data-stats-branch="right-5"]
        .figures-branch-base,
    .figures-network:has([data-branch="right-6"]:hover)
        [data-stats-branch="right-6"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-1"]:hover)
        [data-stats-branch="left-1"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-2"]:hover)
        [data-stats-branch="left-2"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-3"]:hover)
        [data-stats-branch="left-3"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-4"]:hover)
        [data-stats-branch="left-4"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-5"]:hover)
        [data-stats-branch="left-5"]
        .figures-branch-base,
    .figures-network:has([data-branch="left-6"]:hover)
        [data-stats-branch="left-6"]
        .figures-branch-base {
        stroke: var(--brand-green);
        stroke-width: 8;
    }
}
@media (max-width: 340px) {
    .figures-layout {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    [data-stats-section] {
        --figures-burst-time: 0.82s;
        --figures-idle-period: 3.5s;
    }
    .figures-branch-base {
        stroke-dasharray: 100;
        stroke-dashoffset: 0;
        transition:
            stroke-dashoffset 0.64s ease-out,
            stroke 0.18s,
            stroke-width 0.18s;
    }
    .figures-card:hover {
        border-color: var(--brand-green);
    }
    .is-awaiting .figures-branch-base {
        stroke-dashoffset: 100;
    }
    .figures-card {
        transition:
            opacity 0.28s,
            translate 0.28s,
            border-color 0.2s;
    }
    .is-awaiting .figures-card {
        opacity: 0;
        translate: 0 8px;
    }
    .is-replaying .figures-card {
        transition-delay: calc(250ms + 40ms * var(--figure-row, 0));
    }
    .is-replaying .figures-emblem {
        animation: figures-emblem-pulse 0.85s ease-out;
    }
    .is-in-view .figures-branch-pulse {
        animation: figures-energy var(--figures-idle-period) ease-out infinite;
    }
    .is-in-view .figures-card {
        animation: figures-card-idle-glow var(--figures-idle-period) ease-out
            infinite;
    }
    .is-replaying .figures-branch-pulse {
        animation: figures-burst var(--figures-burst-time) linear both;
    }
    .is-replaying .figures-card {
        animation: figures-card-glow 0.55s var(--figures-burst-time) ease-out
            both;
    }
    [data-stats-section] .is-card-pulsing .figures-branch-pulse {
        animation: figures-burst 0.62s linear both;
    }
    [data-stats-section] .figures-card.is-card-pulsing {
        animation: figures-card-glow 0.43s 0.62s ease-out both;
    }
}

@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
    [data-stats-section] .figures-card.is-card-pulsing {
        animation-delay: 0.15s;
    }
}

@keyframes figures-emblem-pulse {
    0%,
    100% {
        scale: 1;
    }
    35% {
        scale: 1.08;
    }
}
@keyframes figures-energy {
    0% {
        stroke-dashoffset: 14;
        opacity: 0;
    }
    5%,
    26% {
        opacity: 1;
    }
    31%,
    100% {
        stroke-dashoffset: -103;
        opacity: 0;
    }
}
@keyframes figures-burst {
    0% {
        stroke-dashoffset: 14;
        opacity: 0;
    }
    13%,
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -103;
        opacity: 0;
    }
}
@keyframes figures-card-glow {
    42% {
        scale: 1.03;
        box-shadow: 0 8px 22px
            color-mix(in srgb, var(--brand-green) 30%, transparent);
        border-color: var(--brand-green);
    }
}

@keyframes figures-card-idle-glow {
    0%,
    31%,
    48%,
    100% {
        scale: 1;
    }
    37% {
        scale: 1.015;
        border-color: var(--brand-green);
    }
}

/* Field introduction */
#page-home .gh-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(44px, 7vw, 94px);
    background: var(--brand-off-white);
}
#page-home .gh-stats + .gh-about {
    background: linear-gradient(
        var(--brand-figures-surface),
        var(--brand-off-white) 130px
    );
}
#page-home .gh-about::before {
    content: "";
    position: absolute;
    z-index: -1;
    /* the brand device at exactly the loader's size, opacity, offset and foot fade */
    inset-block-end: -7vmin;
    inset-inline-start: -12vmin;
    width: clamp(320px, 68vw, 1040px);
    aspect-ratio: 548 / 244;
    background: var(--brand-device) center / contain no-repeat;
    opacity: 0.14;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0,
        #000 52%,
        transparent 100%
    );
    mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%);
}
.gh-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
}
.gh-about-copy {
    max-width: 560px;
}
#page-home .gh-about-copy h2 {
    margin: 0 0 18px;
    color: var(--brand-deep-green);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.25;
    text-wrap: balance;
}
#page-home .gh-about-copy .gh-body {
    margin: 0 0 14px;
    color: color-mix(in srgb, var(--brand-charcoal) 80%, var(--brand-grey));
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.85;
}
#page-home .gh-about-copy .gh-about-action {
    width: auto;
    min-height: 44px;
    margin-block: 5px 0;
    border-radius: 9px;
}
#page-home .gh-about-copy .gh-group {
    margin: 18px 0 0;
    padding-top: 12px;
    border-color: color-mix(in srgb, var(--brand-deep-green) 18%, transparent);
    color: var(--brand-charcoal);
}
.gh-about-image {
    display: grid;
    align-content: start;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--brand-charcoal);
    box-shadow: 0 12px 34px
        color-mix(in srgb, var(--brand-charcoal) 15%, transparent);
}
.gh-about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}
.gh-about-image figcaption {
    padding: 11px 16px;
    border-inline-start: 3px solid var(--brand-green);
    color: var(--brand-off-white);
    font-size: 13px;
}

@media (max-width: 820px) {
    .gh-about-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .gh-about-copy {
        max-width: 620px;
    }
    .gh-about-image img {
        aspect-ratio: 16 / 10;
    }
}

/* Home content below the introduction */
#page-home {
    --home-line: color-mix(in srgb, var(--brand-deep-green) 16%, transparent);
    --home-muted: color-mix(
        in srgb,
        var(--brand-charcoal) 76%,
        var(--brand-grey)
    );
}
#page-home :is(#home-services, #home-sectors, #gh-projects, #gh-why, #gh-trust) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 86px);
    --dot: color-mix(in srgb, var(--brand-deep-green) 24%, transparent);
    --dot-x: 100%;
}
/* Section backgrounds: soft tonal washes that blend into their neighbours, plus a faded dot grid that alternates sides. */
#page-home #home-services {
    background: var(--brand-soft-green);
}
#page-home #home-sectors {
    --dot-x: 0%;
    background: var(--brand-off-white);
}
#page-home #gh-projects {
    background: var(--brand-soft-green);
}
#page-home #gh-why {
    --dot-x: 0%;
    background: var(--brand-off-white);
}
#page-home #gh-trust {
    background: var(--brand-off-white);
}
#page-home :is(#home-services, #home-sectors, #gh-projects, #gh-why, #gh-trust)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(
        circle,
        var(--dot) 1.3px,
        transparent 1.8px
    );
    background-size: 24px 24px;
    /* fades out toward every edge so a section's dots never start or stop abruptly against its neighbour */
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 22%,
            #000 78%,
            transparent
        ),
        radial-gradient(
            ellipse 62% 80% at var(--dot-x) 50%,
            #000,
            transparent 80%
        );
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 22%,
            #000 78%,
            transparent
        ),
        radial-gradient(
            ellipse 62% 80% at var(--dot-x) 50%,
            #000,
            transparent 80%
        );
    mask-composite: intersect;
}
#page-home .gh-home-heading {
    min-inline-size: 0;
    max-inline-size: 38rem;
    text-align: start;
}
#page-home :is(#home-services, #home-sectors, #gh-projects, #gh-trust) .gh-end {
    margin-block-start: 24px;
    text-align: start;
}

#page-home .gh-expertise-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 14px 24px;
    margin-block-end: var(--home-heading-space);
}
#page-home .gh-expertise-link {
    flex: none;
    width: auto;
    min-height: 44px;
    border-color: var(--home-line);
    color: var(--brand-deep-green);
    background: var(--brand-off-white);
}
#page-home .gh-expertise-link:hover {
    border-color: var(--brand-deep-green);
}

/* Expertise areas (tabs + service cards) and sector solutions (expanding cards). Light palette, brand green accents only. */
#page-home .gh-expertise-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
}
#page-home .gh-expertise-icon svg { width: 58%; height: auto; }
#page-home .gh-expertise-icon--lg { width: 58px; border-radius: 16px; background: var(--brand-green); color: var(--brand-off-white); }
#page-home .gh-panels > [hidden] { display: none; }

/* 1. Areas of expertise */
#page-home .gh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: clamp(16px, 2.4vw, 26px); }
#page-home .gh-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 6px 18px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    font-size: 14.5px;
    font-weight: 400;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}
#page-home .gh-chip-ico { display: grid; place-items: center; color: var(--brand-deep-green); }
#page-home .gh-chip:hover { border-color: var(--brand-green); }
#page-home .gh-chip:focus-visible { outline: 2px solid var(--brand-deep-green); outline-offset: 2px; }
#page-home .gh-chip[aria-selected="true"] {
    border-color: var(--brand-green);
    background: var(--brand-green);
    color: var(--brand-charcoal);
    font-weight: 700;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--brand-green) 30%, transparent);
}
#page-home .gh-chip[aria-selected="true"] .gh-chip-ico { color: var(--brand-charcoal); }

#page-home .gh-grp:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
    gap: clamp(12px, 1.6vw, 18px);
    align-items: stretch;
}
#page-home .gh-grp-lead {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid color-mix(in srgb, var(--brand-green) 55%, transparent);
    border-radius: 22px;
    background: linear-gradient(160deg, var(--brand-off-white), color-mix(in srgb, var(--brand-green) 22%, var(--brand-soft-green)));
}
#page-home .gh-grp-lead h3 { margin: 6px 0 0; color: var(--brand-charcoal); font-size: clamp(21px, 2.3vw, 28px); line-height: 1.3; }
#page-home .gh-grp-lead small { color: var(--brand-deep-green); font-size: 14px; font-weight: 400; }
#page-home .gh-grp-lead p { margin: 4px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.85; }
#page-home .gh-grp-more { align-self: end; margin-block-start: 10px; color: var(--brand-deep-green); font-size: 14.5px; font-weight: 700; }
#page-home .gh-grp-more:hover { text-decoration: underline; text-underline-offset: 5px; }

#page-home .gh-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 14px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: svc;
}
#page-home .gh-svc-grid li { display: flex; }
#page-home .gh-svc {
    position: relative;
    display: grid;
    gap: 8px;
    align-content: space-between;
    width: 100%;
    min-height: 118px;
    padding: 16px 16px 14px;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    transition: border-color .2s, box-shadow .2s, translate .2s;
}
#page-home .gh-svc-n { color: var(--brand-green); font-size: 22px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
#page-home .gh-svc strong { font-size: 15px; line-height: 1.55; }
#page-home .gh-svc .gh-go { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; color: var(--brand-deep-green); opacity: .35; transition: opacity .2s, translate .2s; }
#page-home .gh-svc:is(:hover, :focus-visible) { border-color: var(--brand-green); box-shadow: 0 14px 28px color-mix(in srgb, var(--brand-green) 20%, transparent); translate: 0 -2px; }
#page-home .gh-svc:is(:hover, :focus-visible) .gh-go { opacity: 1; translate: -3px 0; }

/* 2. Sector solutions: a row of cards; the chosen one opens wide */
#page-home .gh-fan { display: flex; gap: 10px; align-items: stretch; }
#page-home .gh-fan-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 68px;
    min-width: 0;
    min-height: 410px;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--brand-off-white), var(--brand-soft-green));
    overflow: hidden;
    transition: flex-basis .45s ease, border-color .2s, box-shadow .3s;
}
#page-home .gh-fan-card:hover { border-color: var(--brand-green); }
#page-home .gh-fan-card:has(> [aria-selected="true"]) {
    flex: 1 1 0;
    border-color: var(--brand-green);
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand-green) 20%, var(--brand-soft-green)), var(--brand-off-white) 70%);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--brand-green) 22%, transparent);
}
#page-home .gh-fan-tab {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: none;
    color: var(--brand-charcoal);
    text-align: start;
}
#page-home .gh-fan-tab:focus-visible { outline: 2px solid var(--brand-deep-green); outline-offset: -3px; border-radius: 18px; }
#page-home .gh-fan-tab strong { writing-mode: vertical-rl; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
#page-home .gh-fan-tab[aria-selected="true"] {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 24px 26px 6px;
}
#page-home .gh-fan-tab[aria-selected="true"] .gh-expertise-icon { width: 58px; border-radius: 16px; background: var(--brand-green); color: var(--brand-off-white); }
#page-home .gh-fan-tab[aria-selected="true"] strong { writing-mode: horizontal-tb; white-space: normal; font-size: clamp(22px, 2.4vw, 30px); }
#page-home .gh-fan-panel[hidden] { display: none; }
#page-home .gh-fan-panel:not([hidden]) { display: grid; flex: 1; gap: 16px; align-content: start; padding: 4px 26px 26px; }
#page-home .gh-fan-panel p { max-width: 54ch; margin: 0; color: var(--home-muted); font-size: 15.5px; line-height: 1.9; }
#page-home .gh-fan-links small { display: block; margin-block-end: 8px; color: var(--brand-deep-green); font-size: 13px; font-weight: 700; }
#page-home .gh-fan-links ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#page-home .gh-fan-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 14px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    font-size: 13.5px;
    transition: border-color .2s, color .2s;
}
#page-home .gh-fan-links a:hover { border-color: var(--brand-green); color: var(--brand-deep-green); }
#page-home .gh-fan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
#page-home .gh-fan-actions .btn { width: auto; min-height: 46px; }
#page-home .gh-sector-ghost { color: var(--brand-deep-green); font-size: 14.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
#page-home .gh-sector-contact { margin-block: 20px 0; text-align: start; }

/* polish: fuller service cards, no half-empty last row, richer sector card */
#page-home .gh-svc { align-content: start; gap: 6px; }
#page-home .gh-svc strong { margin-block-start: 10px; }
#page-home .gh-svc-sum { color: var(--home-muted); font-size: 13px; font-weight: 300; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 901px) {
    #page-home .gh-svc-grid li:last-child:nth-child(3n + 2) { grid-column: span 2; }
    #page-home .gh-svc-grid li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
#page-home .gh-fan-card { min-height: 380px; }
#page-home .gh-fan-tab { position: relative; }
#page-home .gh-fan-no { margin-block-start: auto; color: var(--brand-green); font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
#page-home .gh-fan-tab[aria-selected="true"] .gh-fan-no { display: none; }
#page-home .gh-fan-needs small { display: block; margin-block-end: 8px; color: var(--brand-deep-green); font-size: 13px; font-weight: 700; }
#page-home .gh-fan-needs ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
#page-home .gh-fan-needs li { position: relative; padding-inline-start: 24px; color: var(--brand-charcoal); font-size: 14.5px; line-height: 1.6; }
#page-home .gh-fan-needs li::before { content: "✓"; position: absolute; inset-inline-start: 0; inset-block-start: 1px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-green); color: var(--brand-off-white); font-size: 11px; line-height: 1; }
#page-home .gh-fan-panel:not([hidden]) { border-block-start: 0; }
#page-home .gh-fan-actions { padding-block-start: 6px; border-block-start: 1px solid var(--home-line); padding-block-start: 16px; }
@media (max-width: 900px) { #page-home .gh-fan-no { display: none; } }

@media (max-width: 900px) {
    #page-home .gh-grp:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
    #page-home .gh-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* sector cards stack as an accordion */
    #page-home .gh-fan { flex-direction: column; }
    #page-home .gh-fan-card { flex: none; min-height: 0; }
    #page-home .gh-fan-card:has(> [aria-selected="true"]) { flex: none; }
    #page-home .gh-fan-tab { flex-direction: row; justify-content: flex-start; padding: 12px 16px; }
    #page-home .gh-fan-tab strong { writing-mode: horizontal-tb; white-space: normal; font-size: 16px; }
    #page-home .gh-fan-tab[aria-selected="true"] { padding: 16px 16px 4px; }
    #page-home .gh-fan-panel:not([hidden]) { padding: 4px 16px 20px; }
}
@media (max-width: 820px) {
    #page-home .gh-expertise-heading { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
    /* chips become one swipeable row */
    #page-home .gh-chips { flex-wrap: nowrap; overflow-x: auto; padding-block-end: 8px; scrollbar-width: thin; scrollbar-color: var(--brand-green) transparent; }
    #page-home .gh-chip { flex: none; }
}
@media (max-width: 520px) {
    #page-home .gh-svc-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Selected project portfolio */
#page-home .gh-project-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 25px);
}
#page-home .gh-project-preview {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    text-decoration: none;
}
#page-home .gh-project-visual {
    aspect-ratio: 16 / 8.4;
    overflow: hidden;
    background: var(--brand-soft-green);
}
#page-home .gh-project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
#page-home .gh-project-visual--cover img { object-fit: contain; padding: 12px; }
#page-home .gh-project-visual--empty {
    background: url('device.svg') center / 46% auto no-repeat, var(--brand-soft-green);
}
#page-home .gh-project-preview-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(15px, 2vw, 22px);
}
#page-home .gh-project-sector {
    display: block;
    margin-block-end: 5px;
    color: var(--brand-deep-green);
    font-size: 12px;
    font-weight: 700;
}
#page-home .gh-project-preview h3 {
    margin: 0;
    color: var(--brand-charcoal);
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.36;
    text-wrap: balance;
}
#page-home .gh-project-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-block-start: 7px;
    color: var(--home-muted);
    font-size: 12px;
}
#page-home .gh-project-location svg { flex: none; color: var(--brand-deep-green); }
#page-home .gh-project-preview p {
    margin: 8px 0 12px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
}
#page-home .gh-project-metric {
    display: inline-block;
    margin-block-start: auto;
    margin-block-end: 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
    font-size: 12px;
}
#page-home .gh-project-preview-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px clamp(15px, 2vw, 23px);
    border-block-start: 1px solid var(--home-line);
    color: var(--brand-deep-green);
    font-size: 13px;
    font-weight: 700;
}
#page-home .gh-project-preview:is(:hover, :focus-visible) { border-color: var(--brand-deep-green); }
#page-home .gh-project-preview:focus-visible { outline: 2px solid var(--brand-deep-green); outline-offset: 3px; }
#page-home .gh-project-preview:is(:hover, :focus-visible) .gh-project-preview-action { background: var(--brand-soft-green); }
@media (max-width: 860px) {
    #page-home .gh-project-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    #page-home .gh-project-showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
    #page-home .gh-project-visual img { transition: transform .28s ease-out; }
    #page-home .gh-project-preview:is(:hover, :focus-visible) .gh-project-visual img { transform: scale(1.035); }
}

/* Scientific expertise */
#page-home .gh-why-heading {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px clamp(24px, 5vw, 72px);
    overflow: hidden;
    padding: clamp(24px, 3.7vw, 48px);
    border-radius: 22px 22px 0 0;
    background: var(--brand-deep-green);
    background: linear-gradient(110deg, color-mix(in srgb, var(--brand-deep-green) 82%, var(--brand-charcoal)), var(--brand-deep-green));
    color: var(--brand-off-white);
}
#page-home .gh-why-heading::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-start: -32px;
    inset-block-end: -48px;
    width: clamp(200px, 33%, 400px);
    aspect-ratio: 556 / 240;
    background: url('device.svg') center / contain no-repeat;
    opacity: .18;
    pointer-events: none;
}
#page-home .gh-why-heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.28;
    text-wrap: pretty;
}
#page-home .gh-why-heading p {
    margin: 0;
    padding-inline-start: clamp(18px, 3vw, 36px);
    border-inline-start: 1px solid color-mix(in srgb, currentColor 32%, transparent);
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.9;
}
#page-home .gh-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-block-start: 0;
    border-radius: 0 0 22px 22px;
    background: var(--home-line);
}
#page-home .gh-value {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(16px, 2.25vw, 30px);
    background: var(--brand-off-white);
}
#page-home .gh-value-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}
#page-home .gh-value-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(38px, 3.4vw, 46px);
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
}
#page-home .gh-value h3 {
    margin: 0;
    color: var(--brand-charcoal);
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.4;
}
#page-home .gh-value-description {
    margin: 10px 0 14px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.7;
}
#page-home .gh-benefit {
    margin: auto 0 0;
    padding-inline-start: 10px;
    border-inline-start: 2px solid var(--brand-green);
    color: var(--brand-deep-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}
@media (max-width: 920px) {
    #page-home .gh-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
    #page-home .gh-why-heading { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    #page-home .gh-why-heading p { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 560px) {
    #page-home .gh-why-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Certificates and licences, gathered inside a wreath of two interlaced boughs; no card around it */
#page-home .wr-stage { position: relative; max-width: 620px; margin: 18px auto 0; }
#page-home .wr-stage + .wr-stage { margin-block-start: 26px; }
#page-home .wr-art { display: block; width: 100%; height: auto; }
#page-home .wr-g1 { fill: color-mix(in srgb, var(--brand-deep-green) 82%, var(--brand-charcoal)); }
#page-home .wr-g2 { fill: color-mix(in srgb, var(--brand-deep-green) 55%, var(--brand-green)); }
#page-home .wr-g3 { fill: color-mix(in srgb, var(--brand-green) 62%, var(--brand-grey)); }
#page-home .wr-g4 { fill: color-mix(in srgb, var(--brand-green) 42%, var(--brand-soft-green)); }
#page-home .wr-fold { fill: var(--brand-charcoal); opacity: .13; }
#page-home .wr-veins { fill: none; stroke: var(--brand-soft-green); stroke-width: 1.1; stroke-linecap: round; opacity: .55; }
#page-home .wr-trunk--a { fill: color-mix(in srgb, var(--brand-deep-green) 74%, var(--brand-charcoal)); }
#page-home .wr-trunk--b { fill: color-mix(in srgb, var(--brand-deep-green) 88%, var(--brand-green)); }
#page-home .wr-twig { fill: color-mix(in srgb, var(--brand-deep-green) 66%, var(--brand-grey)); }
#page-home .wr-sway { animation: wr-sway 4.8s ease-in-out infinite alternate; }
@keyframes wr-sway { from { rotate: -4deg; } to { rotate: 4deg; } }
#page-home .wr-cluster { position: absolute; inset: 24% 19%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4%; margin: 0; padding: 0; list-style: none; }
#page-home .wr-logo { position: relative; width: 29%; aspect-ratio: 1.7; color: color-mix(in srgb, var(--brand-deep-green) 70%, var(--brand-charcoal)); }
#page-home .wr-stage--few .wr-cluster { inset: 26% 23%; gap: 9% 10%; }
#page-home .wr-stage--few .wr-logo { width: 41%; }
/* logos are worn in deep green; pointing at one (or tapping it) brings back its own colours */
#page-home .wr-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease, scale .3s ease; }
#page-home .wr-logo.is-dressed img:not(.gh-ink, .gh-true), #page-home .wr-logo img.gh-true { opacity: 0; }
#page-home .wr-logo.is-colour img.gh-true { opacity: 1; }
#page-home .wr-logo.is-colour img.gh-ink { opacity: 0; }
@media (hover: hover) {
    #page-home .wr-logo:hover img { scale: 1.1; }
    #page-home .wr-logo:hover img.gh-true { opacity: 1; }
    #page-home .wr-logo:hover img.gh-ink { opacity: 0; }
}
@media (max-width: 700px) {
    #page-home .wr-cluster, #page-home .wr-stage--few .wr-cluster { inset: 20% 18%; }
    #page-home .wr-logo { width: 45%; aspect-ratio: 2; }
}
@media (prefers-reduced-motion: reduce) {
    #page-home .wr-sway { animation: none; }
}

/* areas: the side card is gone, the service cards use the full width; the tabs share the row evenly */
#page-home .gh-grp:not([hidden]) { display: block; }
#page-home .gh-chips { display: flex; flex-wrap: nowrap; gap: 10px; }
#page-home .gh-chip {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 60px;
    padding: 8px 14px;
    border-radius: 18px;
    text-align: center;
    line-height: 1.4;
}
@media (max-width: 900px) {
    #page-home .gh-chips { overflow-x: auto; padding-block-end: 8px; scrollbar-width: thin; scrollbar-color: var(--brand-green) transparent; }
    #page-home .gh-chip { flex: none; min-height: 50px; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
}

/* areas: the tab bar becomes a side list (right), the service cards sit beside it */
#page-home .gh-chip-txt { display: grid; gap: 1px; min-width: 0; text-align: start; }
#page-home .gh-chip-txt small { color: var(--brand-deep-green); font-size: 12.5px; font-weight: 400; }
#page-home .gh-chip-go { display: none; }
@media (min-width: 901px) {
    #page-home [data-explorer="service"] { display: grid; grid-template-columns: minmax(250px, .36fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: start; }
    #page-home [data-explorer="service"] .gh-chips { flex-direction: column; flex-wrap: nowrap; gap: 8px; margin: 0; overflow: visible; }
    #page-home [data-explorer="service"] .gh-chip {
        flex: none;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        min-height: 66px;
        padding: 10px 14px;
        border-radius: 18px;
        text-align: start;
    }
    #page-home [data-explorer="service"] .gh-chip-ico { width: 40px; aspect-ratio: 1; border-radius: 12px; background: var(--brand-soft-green); }
    #page-home [data-explorer="service"] .gh-chip strong,
    #page-home [data-explorer="service"] .gh-chip-txt > span { font-size: 15px; line-height: 1.45; }
    #page-home [data-explorer="service"] .gh-chip[aria-selected="true"] .gh-chip-ico { background: color-mix(in srgb, var(--brand-off-white) 55%, transparent); }
    #page-home [data-explorer="service"] .gh-chip[aria-selected="true"] .gh-chip-txt small { color: var(--brand-charcoal); }
    #page-home [data-explorer="service"] .gh-chip-go { display: block; margin-inline-start: auto; font-size: 20px; line-height: 1; opacity: .45; }
    #page-home [data-explorer="service"] .gh-chip[aria-selected="true"] .gh-chip-go { opacity: 1; }
    #page-home [data-explorer="service"] .gh-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(3n + 2),
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(3n + 1) { grid-column: auto; }
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    #page-home .gh-chip-ico { display: none; }
    #page-home .gh-chip-txt small { display: none; }
}

/* areas, reference layout: slimmer side list, three service cards per row with number + check badges, arrow at the foot */
@media (min-width: 901px) {
    #page-home [data-explorer="service"] { grid-template-columns: minmax(210px, .26fr) minmax(0, 1fr); }
    #page-home [data-explorer="service"] .gh-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(odd) { grid-column: auto; }
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(3n + 2) { grid-column: span 2; }
    #page-home [data-explorer="service"] .gh-svc-grid li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
#page-home .gh-svc { gap: 8px; align-content: start; min-height: 150px; padding: 14px 16px 16px; }
#page-home .gh-svc-top { display: flex; align-items: center; gap: 8px; }
#page-home .gh-svc-n {
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--brand-soft-green);
    color: var(--brand-deep-green);
    font-size: 14px;
    line-height: 1.5;
}
#page-home .gh-svc-check {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-green);
    color: var(--brand-off-white);
    font-size: 13px;
    line-height: 1;
}
#page-home .gh-svc strong { margin-block-start: 6px; font-size: 15.5px; }
#page-home .gh-svc-sum { -webkit-line-clamp: 3; }
#page-home .gh-svc .gh-go { position: static; align-self: end; justify-self: start; margin-block-start: auto; opacity: .55; }

/* areas: a wider side list so names fit on one or two lines; icon boxes keep their size */
@media (min-width: 901px) {
    #page-home [data-explorer="service"] { grid-template-columns: minmax(290px, .36fr) minmax(0, 1fr); }
    #page-home [data-explorer="service"] .gh-chip-ico { flex: none; width: 42px; height: 42px; }
}

/* service card badge: number and check read as one switch (a pill track with the knob at its end) */
#page-home .gh-svc-top {
    align-self: start;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 3px 14px 3px 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-green) 20%, var(--brand-soft-green));
}
#page-home .gh-svc-n { padding: 0; background: none; color: var(--brand-charcoal); font-size: 15px; line-height: 1; }
#page-home .gh-svc-check { order: -1; width: 26px; height: 26px; box-shadow: 0 2px 6px color-mix(in srgb, var(--brand-green) 45%, transparent); transition: translate .25s; }
#page-home .gh-svc:is(:hover, :focus-visible) .gh-svc-check { translate: 2px 0; }

/* switch badge refinement: compact track, even padding, clear outline, knob with a soft ring */
#page-home .gh-svc-top {
    gap: 8px;
    min-width: 70px;
    justify-content: space-between;
    padding: 3px 12px 3px 3px;
    border: 1px solid color-mix(in srgb, var(--brand-green) 38%, transparent);
    background: color-mix(in srgb, var(--brand-green) 14%, var(--brand-off-white));
}
#page-home .gh-svc-n { min-width: 22px; text-align: center; font-size: 14.5px; font-variant-numeric: tabular-nums; }
#page-home .gh-svc-check { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 22%, transparent); }

/* badge spacing: number clear of the edge, knob set slightly inward; arrow on the left */
#page-home .gh-svc-top { gap: 12px; min-width: 84px; padding: 4px 18px 4px 6px; }
#page-home .gh-svc .gh-go { justify-self: end; }
#page-home .gh-svc-check { order: 0; }
#page-home .gh-svc:is(:hover, :focus-visible) .gh-svc-check { translate: none; }
#page-home .gh-svc-check { transition: none; }

/* tighter cards: arrow moves up beside the badge (left corner) so no empty strip is left at the foot */
#page-home .gh-svc { min-height: 0; padding: 16px 18px 18px; }
#page-home .gh-svc .gh-go { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; align-self: auto; justify-self: auto; margin: 0; }

/* duotone icons (same look as the figures cards): soft green fill under a deep-green line */
.icon-duo-fill { fill: color-mix(in srgb, var(--brand-green) 34%, transparent); }
#page-home .gh-chip[aria-selected="true"] .icon-duo-fill,
#page-home .gh-fan-tab[aria-selected="true"] .icon-duo-fill { fill: color-mix(in srgb, var(--brand-off-white) 45%, transparent); }

/* Sector solutions: tile picker on the right, detail panel beside it */
#page-home .gh-sx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(14px, 2vw, 22px); align-items: start; }
#page-home .gh-sx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 12px); }
#page-home .gh-sx-tab {
    position: relative;
    display: grid;
    gap: 12px;
    justify-items: start;
    align-content: space-between;
    min-height: 124px;
    padding: 14px;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: var(--brand-off-white);
    color: var(--brand-charcoal);
    text-align: start;
    transition: border-color .2s, background-color .2s, box-shadow .25s;
}
#page-home .gh-sx-tab strong { font-size: 14px; font-weight: 700; line-height: 1.55; }
#page-home .gh-sx-no { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; color: var(--brand-grey); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
#page-home .gh-sx-tab:hover { border-color: var(--brand-green); }
#page-home .gh-sx-tab:focus-visible { outline: 2px solid var(--brand-deep-green); outline-offset: 2px; }
#page-home .gh-sx-tab[aria-selected="true"] {
    border-color: var(--brand-green);
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand-green) 22%, var(--brand-soft-green)), var(--brand-off-white));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--brand-green) 22%, transparent);
}
#page-home .gh-sx-ico { display: grid; place-items: center; flex: none; width: 44px; aspect-ratio: 1; border-radius: 13px; background: var(--brand-soft-green); color: var(--brand-deep-green); }
#page-home .gh-sx-tab[aria-selected="true"] .gh-sx-ico { background: var(--brand-green); color: var(--brand-off-white); }
#page-home .gh-sx-tab[aria-selected="true"] .icon-duo-fill { fill: color-mix(in srgb, var(--brand-off-white) 45%, transparent); }
#page-home .gh-sx-ico--lg { width: 64px; border-radius: 18px; background: var(--brand-green); color: var(--brand-off-white); }
#page-home .gh-sx-ico--lg .icon-duo-fill { fill: color-mix(in srgb, var(--brand-off-white) 45%, transparent); }

#page-home .gh-sx-panel[hidden] { display: none; }
#page-home .gh-sx-panel:not([hidden]) {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid color-mix(in srgb, var(--brand-green) 55%, transparent);
    border-radius: 24px;
    background: linear-gradient(160deg, var(--brand-off-white) 55%, color-mix(in srgb, var(--brand-green) 16%, var(--brand-soft-green)));
    box-shadow: 0 20px 40px color-mix(in srgb, var(--brand-green) 14%, transparent);
    color: var(--brand-charcoal);
}
#page-home .gh-sx-head { display: flex; align-items: center; gap: 16px; }
#page-home .gh-sx-head small { color: var(--brand-deep-green); font-size: 13px; font-weight: 700; }
#page-home .gh-sx-head h3 { margin: 2px 0 0; color: var(--brand-charcoal); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
#page-home .gh-sx-lead { margin: 0; color: var(--home-muted); font-size: 15.5px; line-height: 1.9; }
#page-home .gh-sx-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#page-home .gh-sx-box { padding: 16px; border: 1px solid var(--home-line); border-radius: 16px; background: var(--brand-off-white); }
#page-home .gh-sx-box small { display: block; margin-block-end: 10px; color: var(--brand-deep-green); font-size: 13px; font-weight: 700; }
#page-home .gh-sx-box ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
#page-home .gh-sx-box li { position: relative; padding-inline-start: 24px; font-size: 14px; line-height: 1.7; padding-block: 4px; }
#page-home .gh-sx-box li::before { content: "✓"; position: absolute; inset-inline-start: 0; inset-block-start: 7px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-green); color: var(--brand-off-white); font-size: 10px; line-height: 1; }
#page-home .gh-sx-services li { padding: 0; border-bottom: 1px dashed var(--home-line); }
#page-home .gh-sx-services li::before { display: none; }
#page-home .gh-sx-services li:last-child { border-bottom: 0; }
#page-home .gh-sx-services a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--brand-charcoal); transition: color .2s; }
#page-home .gh-sx-services a span:last-child { color: var(--brand-deep-green); opacity: .5; }
#page-home .gh-sx-services a:hover { color: var(--brand-deep-green); }
#page-home .gh-sx-services a:hover span:last-child { opacity: 1; }

@media (max-width: 900px) {
    #page-home .gh-sx { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    #page-home .gh-sx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #page-home .gh-sx-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    #page-home .gh-sx-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* picker and detail panel share one height: tiles stretch, the panel's boxes absorb the difference */
#page-home .gh-sx { align-items: stretch; }
#page-home .gh-sx-tabs { grid-auto-rows: 1fr; }
#page-home .gh-sx-panels { display: grid; }
#page-home .gh-sx-panel:not([hidden]) { grid-template-rows: auto auto 1fr auto; align-content: stretch; }
#page-home .gh-sx-cols { align-items: stretch; }
@media (max-width: 900px) {
    #page-home .gh-sx-panel:not([hidden]) { grid-template-rows: none; }
}
#page-home .gh-sx-tab { align-content: start; gap: 8px; }
#page-home .gh-sx-tab strong { margin-block-start: 6px; }
#page-home .gh-sx-sum { color: var(--home-muted); font-size: 12.5px; font-weight: 300; line-height: 1.75; }
#page-home .gh-sx-tab[aria-selected="true"] .gh-sx-sum { color: var(--brand-charcoal); }
@media (max-width: 560px) { #page-home .gh-sx-sum { display: none; } }

/* sector tiles with a photo background: charcoal fade at the foot keeps the name readable */
#page-home .gh-sx-tab {
    align-content: space-between;
    gap: 10px;
    border-color: transparent;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--brand-charcoal) 86%, transparent) 8%, color-mix(in srgb, var(--brand-charcoal) 28%, transparent) 70%),
        var(--sx-img) center / cover no-repeat;
    color: var(--brand-off-white);
    overflow: hidden;
}
#page-home .gh-sx-tab strong { margin: 0; color: var(--brand-off-white); }
#page-home .gh-sx-tab .gh-sx-ico { background: color-mix(in srgb, var(--brand-off-white) 20%, transparent); color: var(--brand-off-white); backdrop-filter: blur(6px); }
#page-home .gh-sx-tab .icon-duo-fill { fill: color-mix(in srgb, var(--brand-off-white) 40%, transparent); }
#page-home .gh-sx-no { color: color-mix(in srgb, var(--brand-off-white) 85%, transparent); }
#page-home .gh-sx-tab:hover { border-color: var(--brand-green); }
#page-home .gh-sx-tab[aria-selected="true"] {
    border-color: var(--brand-green);
    background:
        linear-gradient(to top, color-mix(in srgb, var(--brand-charcoal) 80%, transparent) 8%, color-mix(in srgb, var(--brand-green) 26%, transparent) 75%),
        var(--sx-img) center / cover no-repeat;
    box-shadow: 0 0 0 2px var(--brand-green), 0 16px 30px color-mix(in srgb, var(--brand-green) 28%, transparent);
}
#page-home .gh-sx-tab[aria-selected="true"] .gh-sx-ico { background: var(--brand-green); color: var(--brand-off-white); backdrop-filter: none; }
#page-home .gh-sx-tab[aria-selected="true"] .gh-sx-sum { display: none; }

/* ===== Sector stage: fixed frame, photo hero, every sector fits the same size ===== */
#page-home .gh-sx { --sx-h: clamp(540px, 46vw, 600px); align-items: start; }
@media (min-width: 901px) {
    #page-home .gh-sx-tabs { height: var(--sx-h); grid-template-rows: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
    #page-home .gh-sx-panels { height: var(--sx-h); }
}
#page-home .gh-sx-panel:not([hidden]) {
    display: grid;
    grid-template-rows: clamp(170px, 17vw, 210px) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--brand-green) 55%, transparent);
    border-radius: 26px;
    background: var(--brand-off-white);
    box-shadow: 0 24px 48px color-mix(in srgb, var(--brand-green) 16%, transparent);
    animation: sx-in .5s ease both;
}
@keyframes sx-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes sx-zoom { from { scale: 1.1; } to { scale: 1; } }

#page-home .gh-sx-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px clamp(18px, 2.4vw, 28px); overflow: hidden; isolation: isolate; }
#page-home .gh-sx-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--sx-img) center / cover no-repeat; animation: sx-zoom 1.1s ease both; }
#page-home .gh-sx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--brand-charcoal) 88%, transparent) 4%, color-mix(in srgb, var(--brand-charcoal) 30%, transparent) 62%, color-mix(in srgb, var(--brand-green) 18%, transparent)); }
#page-home .gh-sx-idx { position: absolute; inset-block-start: 16px; inset-inline-end: clamp(18px, 2.4vw, 28px); padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--brand-off-white) 35%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand-off-white) 16%, transparent); backdrop-filter: blur(8px); color: var(--brand-off-white); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
#page-home .gh-sx-idx b { font-weight: 700; }
#page-home .gh-sx-title { display: flex; align-items: center; gap: 14px; }
#page-home .gh-sx-title h3 { margin: 0; color: var(--brand-off-white); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; }
#page-home .gh-sx-hero .gh-sx-ico--lg { width: 56px; border-radius: 16px; background: var(--brand-green); color: var(--brand-off-white); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-green) 28%, transparent); }

#page-home .gh-sx-body { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; min-height: 0; padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 28px); }
#page-home .gh-sx-lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.85; }
#page-home .gh-sx-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; min-height: 0; }
#page-home .gh-sx-box { min-height: 0; padding: 0 0 0 18px; border: 0; border-radius: 0; background: none; overflow: hidden; }
#page-home .gh-sx-box + .gh-sx-box { padding: 0 18px 0 0; border-inline-end: 1px solid var(--home-line); }
#page-home .gh-sx-box small { display: flex; align-items: center; gap: 8px; margin-block-end: 10px; color: var(--brand-deep-green); font-size: 13px; font-weight: 700; }
#page-home .gh-sx-box small::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--brand-green); }
#page-home .gh-sx-box li { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.65; }
#page-home .gh-sx-services li { display: block; }
#page-home .gh-sx-services a { padding: 6px 0; }
#page-home .gh-sx-services a span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#page-home .gh-sx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-block-start: 14px; border-top: 1px solid var(--home-line); }
#page-home .gh-sx-actions .btn { width: auto; min-height: 46px; }

@media (max-width: 900px) {
    #page-home .gh-sx-panels { height: auto; }
    #page-home .gh-sx-panel:not([hidden]) { height: auto; }
}
@media (max-width: 560px) {
    #page-home .gh-sx-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    #page-home .gh-sx-box, #page-home .gh-sx-box + .gh-sx-box { padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #page-home .gh-sx-panel:not([hidden]), #page-home .gh-sx-hero::before { animation: none; }
}
#page-home .gh-sx-services a span:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; text-overflow: clip; font-size: 13.5px; line-height: 1.6; }
#page-home .gh-sx-services a { padding: 5px 0; }

/* square photo tiles; the detail panel takes its height from the tile grid */
@media (min-width: 901px) {
    #page-home .gh-sx { align-items: stretch; }
    #page-home .gh-sx-tabs { height: auto; grid-template-rows: none; grid-auto-rows: auto; align-content: start; }
    #page-home .gh-sx-tab { aspect-ratio: 1 / 1; min-height: 0; }
    #page-home .gh-sx-panels { position: relative; height: auto; min-height: 540px; }
    #page-home .gh-sx-panel:not([hidden]) { position: absolute; inset: 0; height: auto; }
}
/* body text and buttons */
#page-home .gh-sx-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
#page-home .gh-sx-box { padding: 0; padding-inline-end: 18px; }
#page-home .gh-sx-box + .gh-sx-box { padding: 0; padding-inline-start: 18px; border-inline-end: 0; border-inline-start: 1px solid var(--home-line); }
#page-home .gh-sx-services a span:first-child { -webkit-line-clamp: 3; }
#page-home .gh-sx-actions { justify-content: flex-end; }

/* the brand leaf (same mark as the header menu and footer) replaces the plain check / dash bullets */
#page-home .gh-sx-box li:not(.x)::before { content: ""; width: 18px; height: 18px; border-radius: 0; background: var(--leaf) center / contain no-repeat; inset-block-start: 6px; }
#page-home .gh-sx-box li { padding-inline-start: 28px; }
#page-home .gh-sx-services li { padding-inline-start: 0; }
#page-home .gh-sx-services li::before { display: none; }
#page-home .gh-sx-box small::before { width: 16px; height: 16px; border-radius: 0; background: var(--leaf) center / contain no-repeat; }
#page-home .gh-sx-services a span:last-child { opacity: .9; }

#page-home .gh-sx { --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='4' y1='20' x2='20' y2='4' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2352BA63'/%3E%3Cstop offset='1' stop-color='%23A3EF7E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M21 3C10 3 3.5 8.5 3.5 16.5c0 1.4.3 2.7.8 3.8C5.6 17 8.6 13.6 13 11c-3.3 2.9-5.2 6-6 9.6 1 .3 2 .4 3 .4 8.5 0 11.5-8 11-18z'/%3E%3Cpath fill='none' stroke='%23202522' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round' d='M4.4 20.4C8 14.5 12.5 10 18 6.5'/%3E%3C/svg%3E"); }

/* leaf on the main section headings (same mark as the header menu), photo hero absorbs spare height, compact buttons */
#page-home { --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='4' y1='20' x2='20' y2='4' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2352BA63'/%3E%3Cstop offset='1' stop-color='%23A3EF7E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M21 3C10 3 3.5 8.5 3.5 16.5c0 1.4.3 2.7.8 3.8C5.6 17 8.6 13.6 13 11c-3.3 2.9-5.2 6-6 9.6 1 .3 2 .4 3 .4 8.5 0 11.5-8 11-18z'/%3E%3Cpath fill='none' stroke='%23202522' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round' d='M4.4 20.4C8 14.5 12.5 10 18 6.5'/%3E%3C/svg%3E"); }
#page-home .gh-sx-panel:not([hidden]) { grid-template-rows: minmax(170px, 1fr) auto; }
#page-home .gh-sx-body { gap: 14px; }
#page-home .gh-sx-cols { align-self: start; }
#page-home .gh-sx-actions { padding-block-start: 12px; gap: 10px 18px; }
#page-home .gh-sx-actions .btn { min-height: 38px; padding: 6px 18px; font-size: 13.5px; }
#page-home .gh-sx-actions .gh-sector-ghost { font-size: 13.5px; }

/* leaf only on the "key needs" title; bullets are checks again and the services title keeps the dash */
#page-home .gh-sx-box li:not(.x)::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-green); color: var(--brand-off-white); font-size: 10px; line-height: 1; inset-block-start: 7px; }
#page-home .gh-sx-box li { padding-inline-start: 24px; }
#page-home .gh-sx-services li { padding-inline-start: 0; }
#page-home .gh-sx-services li::before { display: none; }
#page-home .gh-sx-box small::before { width: 18px; height: 3px; border-radius: 3px; background: var(--brand-green); }
#page-home .gh-sx-box:first-child small::before { width: 16px; height: 16px; border-radius: 0; background: var(--leaf) center / contain no-repeat; }

/* no check marks or arrows in the lists; service links reveal the brand leaf on hover (same effect as the footer); both box titles carry the leaf */
#page-home .gh-sx-box li::before { content: none !important; display: none !important; }
#page-home .gh-sx-box li { padding-inline-start: 0; }
#page-home .gh-sx-box small::before { width: 16px; height: 16px; border-radius: 0; background: var(--leaf) center / contain no-repeat; }
#page-home .gh-sx-services a { position: relative; padding-inline-start: 24px; transition: color .2s, transform .25s ease; }
#page-home .gh-sx-services a > span:last-child { display: none; }
#page-home .gh-sx-services a::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 9px;
    width: 16px;
    height: 16px;
    background: var(--leaf) center / contain no-repeat;
    transform: rotate(-35deg) scale(.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
#page-home .gh-sx-services a:is(:hover, :focus-visible) { color: var(--brand-deep-green); transform: translateX(-3px); }
#page-home .gh-sx-services a:is(:hover, :focus-visible)::before { opacity: 1; transform: rotate(0) scale(1); }

/* actions live on the photo (bottom, opposite the title) to shorten the card; narrower picker column makes the whole block shorter */
#page-home .gh-sx-hero { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 18px; }
#page-home .gh-sx-hero .gh-sx-actions { margin-inline-start: auto; padding: 0; border: 0; gap: 8px 16px; flex-direction: row-reverse; }
#page-home .gh-sx-hero .gh-sx-actions .btn { min-height: 36px; padding: 5px 16px; font-size: 13px; }
#page-home .gh-sx-hero .gh-sector-ghost { color: var(--brand-off-white); font-size: 13px; text-decoration-color: color-mix(in srgb, var(--brand-off-white) 60%, transparent); }
#page-home .gh-sx-hero .gh-sector-ghost:hover { color: var(--brand-light-green); }
#page-home .gh-sx-panel:not([hidden]) { grid-template-rows: minmax(190px, 1fr) auto; }
@media (min-width: 901px) {
    #page-home .gh-sx { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    #page-home .gh-sx-panels { min-height: 460px; }
}
@media (min-width: 901px) {
    #page-home .gh-sx { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
    #page-home .gh-sx-tab { padding: 11px; gap: 6px; }
    #page-home .gh-sx-tab strong { font-size: clamp(12px, 1.05vw, 14px); line-height: 1.45; }
    #page-home .gh-sx-tab .gh-sx-ico { width: clamp(34px, 3.2vw, 44px); }
    #page-home .gh-sx-tab .gh-sx-ico svg { width: 56%; height: auto; }
}

/* numbered key needs (01, 02, 03) */
#page-home .gh-sx-box:first-child ul { counter-reset: need; }
#page-home .gh-sx-box:first-child li { position: relative; counter-increment: need; padding-inline-start: 34px; }
#page-home .gh-sx-box:first-child li::before {
    content: counter(need, decimal-leading-zero) !important;
    display: block !important;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 4px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--brand-green);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

/* hero: the number and the sector name share the top line (no icon); the actions sit at the foot */
#page-home .gh-sx-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: center; gap: 0 14px; }
#page-home .gh-sx-hero .gh-sx-idx { position: static; grid-column: 1; grid-row: 1; justify-self: start; }
#page-home .gh-sx-hero .gh-sx-title { grid-column: 2; grid-row: 1; }
#page-home .gh-sx-hero .gh-sx-title .gh-sx-ico { display: none; }
#page-home .gh-sx-hero .gh-sx-actions { grid-column: 1 / -1; grid-row: 3; margin: 0; justify-content: flex-start; }
#page-home .gh-sx-title h3 { font-size: clamp(20px, 2vw, 26px); }

/* ===== Sector stage: finishing pass ===== */
/* photo: top and bottom fades keep both the title and the buttons legible; hairline of light at the edge */
#page-home .gh-sx-hero { padding: 18px clamp(18px, 2.4vw, 26px) 20px; }
#page-home .gh-sx-hero::after {
    background:
        linear-gradient(to bottom, color-mix(in srgb, var(--brand-charcoal) 62%, transparent), transparent 38%),
        linear-gradient(to top, color-mix(in srgb, var(--brand-charcoal) 82%, transparent), transparent 55%),
        linear-gradient(120deg, color-mix(in srgb, var(--brand-green) 16%, transparent), transparent 60%);
}
#page-home .gh-sx-title h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: 0; text-shadow: 0 2px 14px color-mix(in srgb, var(--brand-charcoal) 55%, transparent); }
#page-home .gh-sx-hero .gh-sx-idx { padding: 5px 14px; font-size: 12.5px; }
#page-home .gh-sx-hero .gh-sx-actions .btn { min-height: 40px; padding: 6px 18px; font-size: 13.5px; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-charcoal) 35%, transparent); }
#page-home .gh-sx-hero .gh-sector-ghost {
    display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid color-mix(in srgb, var(--brand-off-white) 45%, transparent);
    border-radius: 12px; background: color-mix(in srgb, var(--brand-off-white) 14%, transparent); backdrop-filter: blur(8px);
    color: var(--brand-off-white); font-size: 13.5px; text-decoration: none; transition: background-color .2s, border-color .2s;
}
#page-home .gh-sx-hero .gh-sector-ghost:hover { border-color: var(--brand-light-green); background: color-mix(in srgb, var(--brand-off-white) 24%, transparent); color: var(--brand-off-white); }

/* body: a position track (which of the nine sectors is open), clearer lead, grouped details */
#page-home .gh-sx-body { position: relative; gap: 16px; padding-block: 24px 22px; }
#page-home .gh-sx-body::before {
    content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 3px;
    background: linear-gradient(to left, transparent calc(var(--i) * 100% / var(--n)), var(--brand-green) 0 calc((var(--i) + 1) * 100% / var(--n)), transparent 0), var(--home-line);
}
#page-home .gh-sx-lead { color: var(--brand-charcoal); font-size: 15.5px; font-weight: 400; line-height: 1.85; }
#page-home .gh-sx-cols { padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand-green) 28%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--brand-soft-green) 70%, var(--brand-off-white)); align-self: start; }
#page-home .gh-sx-box:first-child li + li { border-top: 1px dashed var(--home-line); }
#page-home .gh-sx-box:first-child li { padding-block: 7px; }
#page-home .gh-sx-box li { font-weight: 300; }
#page-home .gh-sx-box + .gh-sx-box { border-inline-start-color: color-mix(in srgb, var(--brand-green) 30%, transparent); }
#page-home .gh-sx-services a { border-radius: 8px; }

/* tiles: number as a quiet label, name always anchored at the foot, selected tile lit from the bottom */
#page-home .gh-sx-no { font-size: 12px; letter-spacing: .04em; }
#page-home .gh-sx-tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 4px; background: var(--brand-green); }
#page-home .gh-sx-tab { transition: border-color .2s, box-shadow .25s, filter .25s; }
#page-home .gh-sx-tab:not([aria-selected="true"]) { filter: saturate(.85); }
#page-home .gh-sx-tab:not([aria-selected="true"]):hover { filter: none; }
@media (min-width: 901px) {
    #page-home .gh-sx-panels { min-height: 520px; }
}
#page-home .gh-sx-panel:not([hidden]) { grid-template-rows: minmax(150px, 1fr) auto; }
#page-home .gh-sx-body { gap: 12px; padding-block: 18px 16px; }
#page-home .gh-sx-lead { font-size: 15px; line-height: 1.75; }
#page-home .gh-sx-cols { padding: 12px 16px; }
#page-home .gh-sx-box:first-child li { padding-block: 5px; font-size: 13.5px; line-height: 1.55; }
#page-home .gh-sx-box small { margin-block-end: 6px; }
#page-home .gh-sx-services a { padding-block: 5px; }

/* use the width: tighter padding and gaps so lines stay on one line where possible */
@media (min-width: 901px) {
    #page-home .gh-sx { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
}
#page-home .gh-sx-body { padding-inline: clamp(14px, 1.8vw, 20px); }
#page-home .gh-sx-cols { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); padding: 12px 12px; }
#page-home .gh-sx-box { padding-inline-end: 12px; }
#page-home .gh-sx-box + .gh-sx-box { padding-inline-start: 14px; padding-inline-end: 0; }
#page-home .gh-sx-box:first-child li { padding-inline-start: 28px; font-size: 13.5px; letter-spacing: -.1px; }
#page-home .gh-sx-box:first-child li::before { font-size: 14px; }
#page-home .gh-sx-services a { padding-inline-start: 22px; font-size: 13.5px; }
#page-home .gh-sx-services a span:first-child { font-size: 13.5px; }

/* equal heights: the tile grid alone sets the row height; the detail card fills exactly that height */
@media (min-width: 901px) {
    #page-home .gh-sx { align-items: stretch; }
    #page-home .gh-sx-tabs { min-height: 500px; height: auto; align-content: stretch; grid-template-rows: repeat(3, minmax(0, 1fr)); }
    #page-home .gh-sx-tab { aspect-ratio: auto; }
    #page-home .gh-sx-panels { position: relative; min-height: 0; height: auto; align-self: stretch; }
    #page-home .gh-sx-panel:not([hidden]) { position: absolute; inset: 0; height: auto; }
}
@media (min-width: 901px) {
    #page-home .gh-sx-tabs { grid-template-rows: none; grid-auto-rows: auto; align-content: start; }
    #page-home .gh-sx-tab { aspect-ratio: 1 / 1; }
}
@media (min-width: 901px) { #page-home .gh-sx-tabs { min-height: 470px; } }

/* autoplay: the foot bar of the open tile fills over the delay, then the next sector opens */
#page-home .gh-sx-tab[aria-selected="true"]::after { transform-origin: right center; }
#page-home .gh-sx[data-autoplay] .gh-sx-tab[aria-selected="true"]::after { transform: scaleX(0); animation: sx-fill var(--sx-delay, 6500ms) linear forwards; }
#page-home .gh-sx[data-autoplay="paused"] .gh-sx-tab[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
@keyframes sx-fill { to { transform: scaleX(1); } }

/* smooth progress bar: driven frame by frame from JS (--sx-p, 0 to 1), frozen in place while paused */
#page-home .gh-sx[data-autoplay] .gh-sx-tab[aria-selected="true"]::after,
#page-home .gh-sx[data-autoplay="paused"] .gh-sx-tab[aria-selected="true"]::after { animation: none; transform: scaleX(var(--sx-p, 0)); }
#page-home .gh-sx-tab[aria-selected="true"]::after { border-radius: 0 4px 4px 0; }

#page-home .gh-sx-credit { margin: 6px 0 0; color: var(--brand-grey); font-size: 11.5px; font-weight: 300; text-align: start; }
#page-home .gh-sx-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* the brand leaf on every home section heading */
#page-home #gh-stats-title { display: flex; align-items: center; gap: 12px; }
#page-home #gh-stats-title::before { content: ""; flex: none; width: 1.05em; height: 1.05em; background: var(--leaf) center / contain no-repeat; }
#page-home .figures-heading h2 { justify-content: center; }

#page-home .gh-pl-meta { flex-wrap: nowrap; }
#page-home .gh-pl-meta > span { min-width: 0; white-space: nowrap; }
#page-home .gh-pl-meta > span { overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.7; }
#page-home .gh-pl-meta > span svg { display: inline; vertical-align: -2px; margin-inline-end: 4px; }
#page-home .gh-pl-meta b { flex: none; }

/* ===== Projects: one large featured project beside a compact list of five ===== */
#page-home .gh-pshow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 22px); align-items: stretch; }

#page-home .gh-pf { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; padding: clamp(20px, 2.6vw, 32px); border-radius: 28px; color: var(--brand-off-white); text-decoration: none; box-shadow: 0 22px 44px color-mix(in srgb, var(--brand-charcoal) 14%, transparent); }
#page-home .gh-pf > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
#page-home .gh-pf > img.is-document { object-fit: contain; padding: 40px 40px 200px; background: var(--brand-soft-green); }
#page-home .gh-pf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--brand-charcoal) 94%, transparent) 6%, color-mix(in srgb, var(--brand-charcoal) 55%, transparent) 42%, color-mix(in srgb, var(--brand-charcoal) 10%, transparent) 72%), linear-gradient(120deg, color-mix(in srgb, var(--brand-green) 18%, transparent), transparent 55%); }
#page-home .gh-pf:is(:hover, :focus-visible) > img:not(.is-document) { transform: scale(1.04); }
#page-home .gh-pf-sector { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; padding: 6px 14px; border: 1px solid color-mix(in srgb, var(--brand-off-white) 35%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand-charcoal) 45%, transparent); backdrop-filter: blur(8px); font-size: 13px; font-weight: 400; }
#page-home .gh-pf-body { display: grid; gap: 10px; }
#page-home .gh-pf h3 { margin: 0; color: var(--brand-off-white); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.3; text-wrap: balance; }
#page-home .gh-pf-place { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-light-green); font-size: 13.5px; }
#page-home .gh-pf p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-width: 58ch; margin: 0; color: color-mix(in srgb, var(--brand-off-white) 86%, transparent); font-size: 15px; font-weight: 300; line-height: 1.8; }
#page-home .gh-pf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 8px; padding-block-start: 16px; border-top: 1px solid color-mix(in srgb, var(--brand-off-white) 22%, transparent); }
#page-home .gh-pf-metric { padding: 6px 14px; border-radius: 10px; background: color-mix(in srgb, var(--brand-off-white) 16%, transparent); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; }
#page-home .gh-pf-cta { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; background: var(--brand-off-white); color: var(--brand-deep-green); font-size: 14px; font-weight: 700; transition: background-color .2s, color .2s; }
#page-home .gh-pf:is(:hover, :focus-visible) .gh-pf-cta { background: var(--brand-green); color: var(--brand-charcoal); }

#page-home .gh-pl { display: grid; grid-auto-rows: 1fr; gap: 10px; }
#page-home .gh-pl-item { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-width: 0; padding: 9px 16px 9px 12px; border: 1px solid color-mix(in srgb, var(--brand-green) 24%, transparent); border-radius: 20px; background: var(--brand-off-white); color: var(--brand-charcoal); text-decoration: none; transition: border-color .2s, box-shadow .25s, background-color .2s; }
#page-home .gh-pl-thumb { position: relative; align-self: center; width: 116px; height: 88px; overflow: hidden; border-radius: 13px; background: var(--brand-soft-green); }
#page-home .gh-pl-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
#page-home .gh-pl-thumb.is-document img { object-fit: contain; padding: 6px; }
#page-home .gh-pl-text { display: grid; gap: 4px; min-width: 0; }
#page-home .gh-pl-text small { color: var(--brand-deep-green); font-size: 12px; font-weight: 700; }
#page-home .gh-pl-text strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.5; }
#page-home .gh-pl-meta { display: flex; align-items: center; gap: 4px 12px; color: var(--home-muted); font-size: 12px; }
#page-home .gh-pl-meta svg { color: var(--brand-deep-green); }
#page-home .gh-pl-meta b { padding: 2px 9px; border-radius: 7px; background: var(--brand-soft-green); color: var(--brand-deep-green); font-weight: 700; }
#page-home .gh-pl-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft-green); color: var(--brand-deep-green); font-size: 16px; transition: background-color .2s, color .2s; }
#page-home .gh-pl-item:is(:hover, :focus-visible) { border-color: var(--brand-green); background: color-mix(in srgb, var(--brand-soft-green) 55%, var(--brand-off-white)); box-shadow: 0 12px 26px color-mix(in srgb, var(--brand-green) 18%, transparent); }
#page-home .gh-pl-item:is(:hover, :focus-visible) .gh-pl-go { background: var(--brand-deep-green); color: var(--brand-off-white); }

@media (max-width: 900px) {
    #page-home .gh-pshow { grid-template-columns: minmax(0, 1fr); }
    #page-home .gh-pf { min-height: 440px; }
    #page-home .gh-pl { grid-auto-rows: auto; }
}
@media (max-width: 560px) {
    #page-home .gh-pl-item { grid-template-columns: 88px minmax(0, 1fr); }
    #page-home .gh-pl-thumb { width: 88px; height: 72px; }
    #page-home .gh-pl-go { display: none; }
    #page-home .gh-pf-cta { margin-inline-start: 0; }
}
#page-home .gh-pl-text { grid-template-columns: minmax(0, 1fr); }
#page-home .gh-pl-meta { min-width: 0; }
#page-home .gh-pl-meta > span { flex: 0 1 auto; max-width: 100%; }

/* ===== Why GSCES: intro column beside six numbered pillars (light, no large dark fill) ===== */
#page-home .gh-why2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
#page-home .gh-why2-intro { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 901px) { #page-home .gh-why2-intro { position: sticky; inset-block-start: 110px; } }
#page-home .gh-why2-count { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand-green) 35%, transparent); border-radius: 20px; background: linear-gradient(135deg, var(--brand-soft-green), color-mix(in srgb, var(--brand-green) 14%, var(--brand-off-white))); }
#page-home .gh-why2-count b { color: var(--brand-green); font-size: clamp(44px, 4.4vw, 62px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
#page-home .gh-why2-count span { color: var(--brand-charcoal); font-size: 14px; line-height: 1.7; }

#page-home .gh-why2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
#page-home .gh-pillar { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 2vw, 26px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand-green) 24%, transparent); border-radius: 24px; background: var(--brand-off-white); transition: border-color .2s, box-shadow .25s, background-color .2s; }
#page-home .gh-pillar-no { position: absolute; inset-block-start: 10px; inset-inline-end: 18px; color: color-mix(in srgb, var(--brand-green) 26%, transparent); font-size: clamp(44px, 4.6vw, 64px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; pointer-events: none; }
#page-home .gh-pillar-icon { display: grid; place-items: center; width: 54px; aspect-ratio: 1; margin-block-end: 16px; border-radius: 16px; background: var(--brand-soft-green); color: var(--brand-deep-green); transition: background-color .2s, color .2s; }
#page-home .gh-pillar h3 { margin: 0; color: var(--brand-charcoal); font-size: clamp(16.5px, 1.5vw, 20px); line-height: 1.45; }
#page-home .gh-pillar-text { margin: 8px 0 16px; color: var(--home-muted); font-size: 14.5px; line-height: 1.8; }
#page-home .gh-pillar-benefit { position: relative; margin: auto 0 0; padding-block-start: 14px; padding-inline-start: 28px; border-top: 1px dashed color-mix(in srgb, var(--brand-green) 40%, transparent); color: var(--brand-deep-green); font-size: 14px; font-weight: 700; line-height: 1.65; }
#page-home .gh-pillar-benefit::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 16px; width: 18px; height: 18px; background: var(--leaf) center / contain no-repeat; }
#page-home .gh-pillar:hover { border-color: var(--brand-green); background: color-mix(in srgb, var(--brand-soft-green) 45%, var(--brand-off-white)); box-shadow: 0 16px 32px color-mix(in srgb, var(--brand-green) 16%, transparent); }
#page-home .gh-pillar:hover .gh-pillar-icon { background: var(--brand-green); color: var(--brand-off-white); }
#page-home .gh-pillar:hover .icon-duo-fill { fill: color-mix(in srgb, var(--brand-off-white) 45%, transparent); }

@media (max-width: 900px) { #page-home .gh-why2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { #page-home .gh-why2-grid { grid-template-columns: minmax(0, 1fr); } }

/* Why GSCES: heading on top, three pillars per row */
#page-home .gh-why2 { grid-template-columns: minmax(0, 1fr); gap: var(--home-heading-space); }
#page-home .gh-why2-intro { position: static; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 56px); row-gap: 0; align-items: center; justify-items: stretch; }
#page-home .gh-why2-intro h2 { grid-column: 1; grid-row: 1; }
#page-home .gh-why2-intro p { grid-column: 1; grid-row: 2; max-width: 62ch; }
#page-home .gh-why2-count { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
#page-home .gh-why2-intro .btn { display: none; }
#page-home .gh-why2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  #page-home .gh-why2-intro { grid-template-columns: minmax(0, 1fr); }
  #page-home .gh-why2-count { grid-column: 1; grid-row: 3; margin-block-start: 16px; }
  #page-home .gh-why2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { #page-home .gh-why2-grid { grid-template-columns: minmax(0, 1fr); } }

#page-home {
    --home-heading-space: clamp(20px, 3vw, 36px);
    --home-heading-size: clamp(27px, 3.1vw, 42px);
    background: var(--brand-off-white);
}

@media screen {
    #page-home .gh-section:not(.gh-stats) {
        padding-block: clamp(40px, 5.4vw, 76px);
    }
}

#page-home :is(.gh-home-heading, .gh-about-copy, .gh-why2-intro, .figures-heading) h2 {
    margin: 0 0 8px;
    color: var(--brand-deep-green);
    font-size: var(--home-heading-size);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

#page-home :is(.gh-home-heading p, .gh-about-copy .gh-body, .gh-why2-intro p, .figures-heading p) {
    color: var(--home-muted);
    font-size: clamp(16px, 1.35vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#page-home :is(.gh-home-heading, .gh-why2-intro) p {
    margin: 0;
}

#page-home .figures-heading {
    max-inline-size: 36rem;
    margin-block-end: var(--home-heading-space);
}

#page-home :is(.gh-about-copy, .gh-why2-intro, .gh-svc, .gh-sx-body, .gh-pf-body, .gh-pl-text, .gh-pillar) {
    text-align: start;
}

#page-home :is(.gh-pillar h3, .gh-svc strong, .gh-sx-title h3, .gh-pf-body h3, .gh-pl-text strong) {
    font-weight: 400;
    overflow-wrap: anywhere;
}

#page-home .hx h1 {
    margin-block-end: clamp(12px, 1.5vw, 20px);
    font-size: clamp(32px, 3.05vw, 44px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#page-home .hx h1 em {
    display: inline;
    padding-inline: 0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

#page-home .hx-lead {
    margin-block-end: clamp(20px, 2.3vw, 30px);
    padding-inline-start: 0;
    color: var(--home-muted);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#page-home .hx-lead::before {
    content: none;
}

/* Trust: partner leaves and the hexagon grid of clients */
#page-home .gh-logos-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin: clamp(30px, 4vw, 48px) 0 0; color: var(--brand-charcoal); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; text-align: center; }
#page-home .gh-logos-title::before { content: ""; width: 1.05em; height: 1.05em; background: var(--leaf) center / contain no-repeat; }

/* Clients */
/* a full-width soft green band, like the sections above: a fading dot grid and the brand device */
#page-home .gh-client-grove {
    --client-leaf-gap: clamp(4px, .55vw, 8px);
    position: relative;
    isolation: isolate;
    margin-block-start: clamp(34px, 5vw, 64px);
    padding-block: clamp(40px, 5vw, 70px);
    background: var(--brand-soft-green);
    box-shadow: 0 0 0 100vmax var(--brand-soft-green);
    clip-path: inset(0 -100vmax);
}

#page-home .gh-client-grove::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-deep-green) 24%, transparent) 1.3px, transparent 1.8px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 52% 80% at 100% 50%, black, transparent 80%);
    mask-image: radial-gradient(ellipse 52% 80% at 100% 50%, black, transparent 80%);
    pointer-events: none;
}

#page-home .gh-client-grove::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block-end: -6vmin;
    inset-inline-start: calc(50% - 50vw - 12vmin);
    width: clamp(300px, 52vw, 800px);
    aspect-ratio: 548 / 244;
    background: var(--brand-device) center / contain no-repeat;
    opacity: .14;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent);
    mask-image: linear-gradient(to bottom, black 52%, transparent);
}

#page-home .gh-client-grove .gh-logos-title {
    margin: 0 0 clamp(16px, 2.5vw, 28px);
}

#page-home .gh-client-leaves {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--client-leaf-gap);
}

#page-home .gh-client-column {
    display: contents;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* a leaf-shaped tile: the edge is a gradient of the brand greens, painted in the border box */
#page-home .gh-client-leaf {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    width: clamp(118px, 36vw, 156px);
    aspect-ratio: 1.12;
    padding: clamp(12px, 1.4vw, 18px);
    border: 2px solid transparent;
    border-radius: 52px 14px 52px 14px;
    background:
        linear-gradient(150deg, var(--white, white) 52%, color-mix(in srgb, var(--brand-soft-green) 78%, var(--white, white))) padding-box,
        linear-gradient(140deg, var(--brand-light-green), color-mix(in srgb, var(--brand-green) 24%, var(--brand-soft-green)) 38%, color-mix(in srgb, var(--brand-green) 30%, var(--brand-soft-green)) 66%, var(--brand-green)) border-box;
    box-shadow: inset 0 -4px 14px color-mix(in srgb, var(--brand-green) 12%, transparent), 0 16px 34px color-mix(in srgb, var(--brand-deep-green) 13%, transparent);
    transition: box-shadow .55s ease, translate .55s ease;
}

#page-home .gh-client-leaf img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}

/* a faint streak of light that now and then slips across the leaves, one after another */
#page-home .gh-client-leaf::after {
    content: "";
    position: absolute;
    inset: -2px -80%;
    background: linear-gradient(112deg, transparent 44%, color-mix(in srgb, var(--brand-light-green) 14%, transparent) 47.5%, color-mix(in srgb, var(--white, white) 50%, transparent) 49.5%, color-mix(in srgb, var(--brand-light-green) 10%, transparent) 51.5%, transparent 55%);
    translate: -48% 0;
    pointer-events: none;
    animation: gh-client-shine 8.5s ease-in-out var(--wave, 0s) infinite;
}

@keyframes gh-client-shine {
    0% { translate: -48% 0; }
    24%, 100% { translate: 48% 0; }
}

#page-home .gh-client-leaf--blank::after {
    opacity: .45;
}

#page-home .gh-client-leaf--blank {
    display: none;
    border: 1px solid color-mix(in srgb, var(--brand-green) 22%, transparent);
    background: linear-gradient(150deg, color-mix(in srgb, var(--white, white) 70%, transparent), color-mix(in srgb, var(--brand-green) 8%, transparent) 60%);
    box-shadow: none;
}

@media (hover: hover) {
    #page-home .gh-client-leaf:not(.gh-client-leaf--blank):hover {
        translate: 0 -3px;
        box-shadow: inset 0 -4px 14px color-mix(in srgb, var(--brand-green) 14%, transparent), 0 20px 36px color-mix(in srgb, var(--brand-deep-green) 17%, transparent);
    }
}

@media (min-width: 1000px) {
    #page-home .gh-client-leaves {
        --client-leaf-gap: 12px;
        --client-leaf-width: min(146px, calc((100% - (var(--client-columns) - 1) * var(--client-leaf-gap)) / var(--client-columns)));
        flex-wrap: nowrap;
        align-items: start;
    }

    #page-home .gh-client-column {
        display: grid;
        flex: 0 0 var(--client-leaf-width);
        gap: var(--client-leaf-gap);
    }

    #page-home .gh-client-column--offset {
        margin-block-start: calc((var(--client-leaf-width) / 1.12 + var(--client-leaf-gap)) / 2);
    }

    #page-home .gh-client-leaf {
        width: 100%;
        padding: clamp(10px, 1.1vw, 16px);
    }

    #page-home .gh-client-leaf--blank {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-home .gh-client-leaf {
        transition: none;
    }

    #page-home .gh-client-leaf::after {
        display: none;
    }

    #page-home .gh-client-leaf:not(.gh-client-leaf--blank):hover {
        translate: none;
    }
}

/* Partners */
/* the partners are leaves in one line, carried along by the wind */
#page-home .gh-leaf-defs { position: absolute; }
#page-home .gh-stop-light { stop-color: color-mix(in srgb, var(--brand-off-white) 45%, var(--white, white)); }
#page-home .gh-stop-tip { stop-color: color-mix(in srgb, var(--brand-light-green) 72%, var(--brand-green)); }
#page-home .gh-stop-mid { stop-color: var(--brand-green); }
#page-home .gh-stop-base { stop-color: var(--brand-deep-green); }
#page-home .gh-stop-heart { stop-color: color-mix(in srgb, var(--brand-soft-green) 78%, var(--brand-light-green)); }
#page-home .gh-stop-young { stop-color: color-mix(in srgb, var(--brand-light-green) 42%, var(--brand-soft-green)); }
#page-home .gh-stop-edge { stop-color: color-mix(in srgb, var(--brand-light-green) 55%, var(--brand-green)); }

#page-home .gh-fall { --blow-leaf: clamp(160px, 13.600vw, 204px); position: relative; margin-block-start: clamp(8px, 2vw, 18px); margin-inline: min(0px, calc((100% - 100vw) / 2 + 14px)); overflow-x: clip; }
#page-home .gh-fall + .gh-trust-credentials { margin-block-start: clamp(18px, 2.4vw, 32px); }
/* while still (reduced motion) the line can be scrolled sideways */
#page-home .gh-fall-leaves { position: relative; display: flex; justify-content: safe center; gap: 14px; margin: 0; padding: 40px 16px 56px; overflow-x: auto; list-style: none; }
#page-home .gh-leaf { position: relative; flex: 0 0 var(--blow-leaf); width: var(--blow-leaf); aspect-ratio: 11 / 10; }
#page-home .gh-fall.is-blown .gh-fall-leaves { display: block; height: calc(var(--blow-leaf) * .91 + 150px); padding: 0; overflow: visible; }
#page-home .gh-fall.is-blown .gh-leaf { position: absolute; top: 70px; left: 0; will-change: translate, transform; }
/* threads of air sweeping from right to left */
#page-home .gh-fall-wind { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke: var(--brand-green); stroke-width: 1.600; stroke-linecap: round; -webkit-mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent); mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent); }
#page-home .gh-fall-wind path { opacity: 0; stroke-dasharray: 24 200; animation: gh-gust var(--time) cubic-bezier(.4, .1, .5, 1) var(--wait) infinite; }
#page-home .gh-fall:not(.is-blown) .gh-fall-wind { display: none; }
@keyframes gh-gust { 0% { stroke-dashoffset: 24; opacity: 0; } 15% { opacity: .42; } 70% { opacity: .3; } 100% { stroke-dashoffset: -100; opacity: 0; } }
#page-home .gh-leaf svg,
#page-home .gh-leaf img { position: absolute; }
#page-home .gh-leaf svg {
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: 50% 46%;
    transform: rotate(var(--leaf-angle)) scale(calc(1.07 * var(--leaf-grow, 1)));
    filter: brightness(var(--leaf-light, 1)) saturate(var(--leaf-depth, 1));
}
#page-home .gh-leaf-stalk { fill: color-mix(in srgb, var(--brand-green) 62%, var(--brand-deep-green)); }
#page-home .gh-leaf-core { fill: url(#gh-leaf-pale); stroke: color-mix(in srgb, var(--brand-deep-green) 72%, var(--brand-green)); stroke-width: .9; stroke-linejoin: round; filter: drop-shadow(2px 14px 14px color-mix(in srgb, var(--brand-charcoal) 15%, transparent)); transition: filter .3s ease; }
#page-home .gh-leaf:hover .gh-leaf-core { filter: drop-shadow(3px 22px 18px color-mix(in srgb, var(--brand-charcoal) 20%, transparent)); }
#page-home .gh-leaf-rim { fill: none; stroke: var(--brand-green); stroke-width: 13; opacity: .55; filter: url(#gh-soft); }
#page-home .gh-leaf-sheen { fill: var(--brand-off-white); opacity: .22; filter: url(#gh-soft); }
#page-home .gh-leaf-shade { fill: var(--brand-deep-green); opacity: .1; }
#page-home .gh-leaf-midrib { fill: color-mix(in srgb, var(--brand-green) 78%, var(--brand-deep-green)); opacity: .5; }
#page-home .gh-leaf-vein, #page-home .gh-leaf-veinlet { fill: none; stroke-linecap: round; }
#page-home .gh-leaf-vein { stroke: var(--brand-deep-green); stroke-width: 1.1; opacity: .3; }
#page-home .gh-leaf-veinlet { stroke: var(--brand-deep-green); stroke-width: .5; opacity: .16; }
#page-home .gh-leaf-dew circle { fill: color-mix(in srgb, var(--white, white) 55%, transparent); stroke: var(--white, white); stroke-width: .8; filter: drop-shadow(1.5px 2px 1.2px color-mix(in srgb, var(--brand-charcoal) 45%, transparent)); }
#page-home .gh-leaf:hover { z-index: 1; }
#page-home .gh-leaf svg, #page-home .gh-leaf img { transition: scale .3s ease, translate .3s ease; }
#page-home .gh-leaf:hover svg { scale: 1.07; translate: 0 -5px; }
#page-home .gh-leaf:hover img { scale: 1.16; translate: 0 -5px; }
#page-home .gh-leaf img {
    top: 53%;
    left: 47%;
    width: 60%;
    height: 41%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    mix-blend-mode: multiply;
}


/* each logo is worn in deep green; pointing at its leaf (or tapping it) brings back its own colours */
#page-home .gh-leaf { color: color-mix(in srgb, var(--brand-deep-green) 70%, var(--brand-charcoal)); cursor: default; }
#page-home .gh-leaf img.gh-ink, #page-home .gh-leaf img.gh-true { mix-blend-mode: normal; transition: opacity .35s ease, scale .3s ease, translate .3s ease; }
#page-home .gh-leaf.is-dressed img:not(.gh-ink, .gh-true) { opacity: 0; }
#page-home .gh-leaf img.gh-true { opacity: 0; }
#page-home .gh-leaf.is-colour img.gh-true { opacity: 1; }
#page-home .gh-leaf.is-colour img.gh-ink { opacity: 0; }
@media (hover: hover) {
    #page-home .gh-leaf:hover img.gh-true { opacity: 1; }
    #page-home .gh-leaf:hover img.gh-ink { opacity: 0; }
}

/* a few bare leaves around the partners; the further ones are fainter and soft */
#page-home .gh-fall-loose { position: absolute; inset: 0; pointer-events: none; }
#page-home .gh-fall-loose svg { position: absolute; top: var(--down); left: var(--across); width: calc(var(--size) * .75); height: calc(var(--size) * .75); rotate: var(--turn); opacity: .55; filter: drop-shadow(1px 6px 5px color-mix(in srgb, var(--brand-charcoal) 14%, transparent)); }
#page-home .gh-fall-loose svg:nth-child(3n) { opacity: .34; filter: blur(1.2px); }
#page-home .gh-loose-blade { fill: url(#gh-leaf-blade); }
#page-home .gh-loose-vein { fill: none; stroke: var(--brand-light-green); stroke-width: 1.1; stroke-linecap: round; }

@media (max-width: 600px) {
    #page-home .gh-fall { --blow-leaf: 168px; }
    #page-home .gh-leaf img { width: 58%; height: 42%; }
}

