/* ==========================================================================
   NGC2 Extreme Environments block.

   992px and up: a row of slanted panels. The row starts compact and opens on
   the first hover or click; the chosen panel widens to show its detail.
   Below 992px: the same panels as a swipeable scroll-snap carousel.

   Everything is namespaced under .ngc2-env, and the theme's global heading,
   list and button styles are reset explicitly because they would otherwise
   bleed in (margins, letter-spacing, the pink button background).
   ========================================================================== */

.ngc2-env {
    --gold: #eeb626;
    --btn: #f6b433;
    --pad-x: clamp(16px, 5vw, 60px);

    /* desktop panel geometry */
    --gap: 14px;
    --slant: clamp(24px, 2.6vw, 44px);
    --h-closed: clamp(230px, 19vw, 300px);
    /* the longest panel (five key points plus the button) needs about 625px;
       this leaves ~35px under the button. Content flows from the top, so any
       spare height collects at the bottom rather than mid-panel. */
    --h-open: 660px;
    --grow: 6;
    --detail-w: clamp(340px, 28vw, 480px);
    /* product shot box on the open panel, in the space right of the text */
    --product-w: clamp(280px, 24vw, 460px);
    --product-h: calc(var(--h-open) * .62);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --dur: .65s;

    background: #000;
    padding: clamp(40px, 6vw, 80px) var(--pad-x);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #fff;
    /* the theme sets word-break: break-word on body, which splits words in the narrow panels */
    word-break: normal;
    overflow-wrap: normal;
}

.ngc2-env * {
    box-sizing: border-box;
}

.ngc2-env__inner {
    max-width: 1500px;
    margin: 0 auto;
}

/* ---- section heading ---- */

.ngc2-env__head {
    display: grid;
    gap: clamp(14px, 2vw, 40px);
    margin-bottom: clamp(24px, 3vw, 44px);
}

.ngc2-env__title {
    margin: 0;
    font-family: 'Helvetica Neue Condensed Bold', 'Helvetica Neue', 'Arial Narrow', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 64px);
    line-height: 1;
    letter-spacing: -0.7px;
}

.ngc2-env__title span {
    display: block;
    color: var(--gold);
}

.ngc2-env__intro {
    margin: 0;
    font-weight: 300;
    color: #fff;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.45;
    text-wrap: pretty;
}

/* ---- shared panel parts ---- */

.ngc2-env__panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #0d0e10;
}

.ngc2-env__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ngc2-env .ngc2-env__bg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.ngc2-env__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .85) 100%);
}

.ngc2-env .ngc2-env__tab {
    /* reset the theme's global button styles */
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #fff;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    text-align: left;
}

.ngc2-env__name {
    display: block;
    font-family: 'Helvetica Neue Condensed Bold', 'Helvetica Neue', 'Arial Narrow', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(16px, 1.45vw, 24px);
    line-height: 1.05;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.ngc2-env__tagline {
    display: block;
    margin-top: 4px;
    font-weight: 300;
    font-size: clamp(12px, .95vw, 15px);
    line-height: 1.3;
    color: rgba(255, 255, 255, .85);
}

.ngc2-env__detail {
    display: flex;
    flex-direction: column;
}

.ngc2-env .ngc2-env__detail-title {
    margin: 0;
    font-family: 'Helvetica Neue Condensed Bold', 'Helvetica Neue', 'Arial Narrow', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    font-size: clamp(28px, 2.8vw, 46px);
    line-height: 1;
    letter-spacing: 0.2px;
}

.ngc2-env .ngc2-env__range {
    margin: 6px 0 0;
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 400;
    color: rgba(255, 255, 255, .75);
}

.ngc2-env__detail-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ngc2-env .ngc2-env__label {
    margin: clamp(16px, 1.6vw, 22px) 0 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--gold);
}

.ngc2-env .ngc2-env__text {
    margin: 0;
    font-size: clamp(14px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}

.ngc2-env .ngc2-env__features {
    list-style: none;
    /* flows straight after the solution text; the text's 20px bottom margin
       sets the gap. (It used to be pinned to the bottom of the panel, which
       opened a hole whenever the panel had more height than text.) */
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: grid;
    gap: 9px;
}

.ngc2-env__more-inner > .ngc2-env__text:last-of-type {
    margin-bottom: 20px;
}

/*
 * Solution, key points and button sit in a wrapper that only the mobile
 * carousel folds away. Everywhere else the wrapper and its inner box are
 * display: contents, so the open desktop panel lays out exactly as without them.
 */
.ngc2-env__more,
.ngc2-env__more-inner {
    display: contents;
}

.ngc2-env .ngc2-env__more-toggle {
    display: none;
}

.ngc2-env .ngc2-env__features li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    font-size: clamp(13px, .95vw, 14px);
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.ngc2-env__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.ngc2-env .ngc2-env__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 22px;
    border: 2px solid var(--btn);
    border-radius: 5px;
    background: var(--btn);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.ngc2-env .ngc2-env__btn:hover,
.ngc2-env .ngc2-env__btn:focus-visible {
    background: transparent;
    color: var(--btn);
}

.ngc2-env__btn .btn-arrow {
    display: inline-flex;
}

.ngc2-env__btn svg {
    display: block;
    width: 8px;
    height: 13px;
}

.ngc2-env__product img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.ngc2-env__plus,
.ngc2-env .ngc2-env__close {
    display: none;
}

.ngc2-env__empty {
    margin: 0;
    padding: 40px;
    border: 1px dashed rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .7);
    text-align: center;
}

/* ==========================================================================
   992px and up: expanding slanted panels
   ========================================================================== */

@media (min-width: 992px) {

    .ngc2-env {
        /* lets the track measure the space between the content edge and the viewport */
        container-type: inline-size;
        overflow-x: clip;
    }

    .ngc2-env__head {
        /* intro sits right after the title, not pushed to the far edge */
        grid-template-columns: max-content minmax(0, 1fr);
        column-gap: clamp(24px, 2.6vw, 44px);
        align-items: end;
    }

    .ngc2-env__intro {
        /* about 65 characters a line: two lines, as in the design */
        max-width: 33em;
    }

    .ngc2-env__track {
        display: flex;
        height: var(--h-closed);
        /* run the row out to the right edge of the viewport; 100cqw is the
           section's content width, so this is the gutter plus any space
           beside the 1500px column */
        margin-right: calc(-1 * (var(--pad-x) + max(0px, (100cqw - 1500px) / 2)));
        transition: height var(--dur) var(--ease);
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__track {
        height: var(--h-open);
    }

    /*
     * Each panel is a parallelogram. Overlapping neighbours by the slant width
     * (less the gap) keeps a constant horizontal gap between the slanted edges,
     * whatever width a panel is animating through.
     */
    .ngc2-env__panel {
        flex: 1 1 0;
        margin-left: calc(var(--gap) - var(--slant));
        clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
        cursor: pointer;
        transition: flex-grow var(--dur) var(--ease);
    }

    .ngc2-env__panel:first-child {
        margin-left: 0;
    }

    .ngc2-env__panel:last-child {
        clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
    }

    .ngc2-env__panel.is-active {
        flex-grow: var(--grow);
        cursor: default;
    }

    /* background image: slow zoom-out and brighten on the active panel */
    .ngc2-env .ngc2-env__bg {
        transform: scale(1.08);
        transition: transform 1.4s var(--ease), filter .5s ease;
    }

    .ngc2-env__panel:hover .ngc2-env__bg,
    .ngc2-env__panel.is-active .ngc2-env__bg {
        transform: scale(1);
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel:not(.is-active) .ngc2-env__bg {
        filter: brightness(.6) saturate(.8);
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel:not(.is-active):hover .ngc2-env__bg {
        filter: brightness(.9) saturate(1);
    }

    /* reading shade behind the detail text */
    .ngc2-env__shade::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0) 100%);
        opacity: 0;
        transition: opacity .5s ease;
    }

    .ngc2-env__panel.is-active .ngc2-env__shade::after {
        opacity: 1;
    }

    /* the tab covers the whole panel so any point of it is clickable */
    .ngc2-env .ngc2-env__tab {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        /* right padding clears the slanted edge, which cuts deepest at the bottom */
        padding: 0 calc(var(--slant) + 6px) clamp(18px, 1.8vw, 26px) clamp(16px, 1.6vw, 26px);
        cursor: inherit;
    }

    .ngc2-env .ngc2-env__tab:focus {
        outline: none;
    }

    .ngc2-env .ngc2-env__tab:focus-visible {
        box-shadow: inset 0 0 0 3px var(--gold);
    }

    .ngc2-env__tab:focus-visible .ngc2-env__name {
        color: var(--gold);
    }

    .ngc2-env__name,
    .ngc2-env__tagline {
        transition: opacity .3s ease;
    }

    .ngc2-env__panel.is-active .ngc2-env__name,
    .ngc2-env__panel.is-active .ngc2-env__tagline {
        opacity: 0;
    }

    /* ---- cues that the panels are interactive ---- */

    /* gold underline that draws in under the name on hover */
    .ngc2-env__name::after {
        content: '';
        display: block;
        width: 32px;
        height: 3px;
        margin-top: 8px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .35s var(--ease);
    }

    .ngc2-env__panel:hover .ngc2-env__name::after,
    .ngc2-env__tab:focus-visible .ngc2-env__name::after {
        transform: scaleX(1);
    }

    /* "+" badge in each panel's top corner, turning gold on hover */
    .ngc2-env__plus {
        display: block;
        position: absolute;
        top: clamp(14px, 1.4vw, 20px);
        right: clamp(14px, 1.4vw, 20px);
        width: 32px;
        height: 32px;
        border: 1px solid rgba(255, 255, 255, .6);
        border-radius: 50%;
        background: rgba(0, 0, 0, .35);
        backdrop-filter: blur(4px);
        transition: transform .4s var(--ease), background-color .25s ease, border-color .25s ease, opacity .3s ease;
    }

    .ngc2-env__plus::before,
    .ngc2-env__plus::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 2px;
        background: #fff;
        transform: translate(-50%, -50%);
        transition: background-color .25s ease;
    }

    .ngc2-env__plus::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .ngc2-env__panel:hover .ngc2-env__plus,
    .ngc2-env__tab:focus-visible .ngc2-env__plus {
        border-color: var(--gold);
        background: var(--gold);
        transform: rotate(90deg);
    }

    .ngc2-env__panel:hover .ngc2-env__plus::before,
    .ngc2-env__panel:hover .ngc2-env__plus::after,
    .ngc2-env__tab:focus-visible .ngc2-env__plus::before,
    .ngc2-env__tab:focus-visible .ngc2-env__plus::after {
        background: #000;
    }

    .ngc2-env__panel.is-active .ngc2-env__plus {
        opacity: 0;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__plus {
        width: 28px;
        height: 28px;
    }

    /* one staggered light sweep across the row when it first scrolls into view */
    .ngc2-env__media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 65%);
        transform: translateX(-120%);
        pointer-events: none;
    }

    .ngc2-env.is-inview[data-expanded="false"] .ngc2-env__media::after {
        animation: ngc2-env-sheen 1.2s var(--ease) calc(.3s + var(--i, 0) * .12s) both;
    }

    /* ---- close button, shown on the open panel ---- */

    .ngc2-env .ngc2-env__close {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: absolute;
        z-index: 4;
        top: clamp(16px, 1.6vw, 24px);
        right: clamp(16px, 1.6vw, 24px);
        margin: 0;
        padding: 9px 14px;
        border: 1px solid rgba(255, 255, 255, .45);
        border-radius: 4px;
        background: rgba(0, 0, 0, .45);
        backdrop-filter: blur(6px);
        color: #fff;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: .14em;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility 0s linear .3s, border-color .2s ease, color .2s ease;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel.is-active .ngc2-env__close {
        opacity: 1;
        visibility: visible;
        transition: opacity .4s ease .3s, visibility 0s linear 0s, border-color .2s ease, color .2s ease;
    }

    .ngc2-env .ngc2-env__close:hover,
    .ngc2-env .ngc2-env__close:focus-visible {
        border-color: var(--gold);
        color: var(--gold);
    }

    /* slivers are narrow once the row is open */
    .ngc2-env[data-expanded="true"] .ngc2-env__name {
        font-size: clamp(15px, 1.2vw, 20px);
    }

    /*
     * Detail: fixed width so the text never reflows while the panel animates.
     * visibility keeps hidden panels out of the tab order and the a11y tree.
     */
    .ngc2-env__detail {
        position: absolute;
        z-index: 3;
        top: clamp(28px, 2.8vw, 44px);
        bottom: clamp(24px, 2.6vw, 40px);
        left: calc(var(--slant) + clamp(18px, 1.8vw, 32px));
        width: var(--detail-w);
        opacity: 0;
        visibility: hidden;
        transform: translateY(14px);
        transition: opacity .3s ease, transform .45s var(--ease), visibility 0s linear .3s;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel.is-active .ngc2-env__detail {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .45s ease .28s, transform .6s var(--ease) .28s, visibility 0s linear 0s;
    }

    .ngc2-env__product {
        position: absolute;
        z-index: 2;
        top: 50%;
        right: clamp(16px, 2vw, 36px);
        /* a box the shot is fitted into, so tall and wide shots both stay clear of the text */
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--product-w);
        height: var(--product-h);
        opacity: 0;
        transform: translate(40px, -46%);
        transition: opacity .3s ease, transform .6s var(--ease);
        pointer-events: none;
    }

    /*
     * Shaped like the visible part of the shot (--ratio, from the trimmed
     * bounding box) and as large as fits the box. render.php sizes and offsets
     * the image inline so its transparent margins fall outside this wrapper.
     */
    .ngc2-env__product-fit {
        position: relative;
        width: min(100%, calc(var(--product-h) * var(--ratio, 1.6)));
        aspect-ratio: var(--ratio, 1.6);
    }

    /* single units (wide shots) read large next to the stacks, so scale them down */
    .ngc2-env__product.is-wide .ngc2-env__product-fit {
        width: min(75%, calc(var(--product-h) * var(--ratio, 1.6) * .75));
    }

    .ngc2-env .ngc2-env__product img {
        position: absolute;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .65));
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel.is-active .ngc2-env__product {
        opacity: 1;
        transform: translate(0, -50%);
        transition: opacity .5s ease .38s, transform .8s var(--ease) .38s;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__panel.is-active .ngc2-env__product img {
        animation: ngc2-env-float 6s ease-in-out 1.2s infinite;
    }

    .ngc2-env__nav {
        display: none;
    }
}

/* narrower desktops and tablets in landscape: less slant and grow, no product shot */
@media (min-width: 992px) and (max-width: 1279px) {

    .ngc2-env {
        --pad-x: 24px;
        --grow: 4.2;
        --detail-w: 360px;
        --h-open: 630px;
    }

    .ngc2-env__product {
        display: none;
    }
}

/*
 * Very wide screens: the heading stays in the centred 1500px column, lined up
 * with the hero and the sections below, while the row runs edge to edge. The
 * left bleed mirrors the right one: the gutter plus any space beside the column.
 */
@media (min-width: 2000px) {

    .ngc2-env__track {
        margin-left: calc(-1 * (var(--pad-x) + max(0px, (100cqw - 1500px) / 2)));
    }
}

/*
 * 2400px and up (large and 4K monitors): every size above tops out by 2000px,
 * so the panel content read small in a very wide row. Scale it by about 1.3x:
 * geometry, then type, then the open-panel extras.
 */
@media (min-width: 2400px) {

    .ngc2-env {
        --gap: 18px;
        --slant: 56px;
        --h-closed: 390px;
        /* longest panel needs about 810px at this size */
        --h-open: 860px;
        --detail-w: 640px;
        --product-w: 600px;
    }

    .ngc2-env__name {
        font-size: 31px;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__name {
        font-size: 26px;
    }

    .ngc2-env__tagline {
        font-size: 19px;
    }

    .ngc2-env .ngc2-env__tab {
        padding: 0 calc(var(--slant) + 8px) 34px 34px;
    }

    .ngc2-env__detail {
        top: 58px;
        bottom: 52px;
        left: calc(var(--slant) + 42px);
    }

    .ngc2-env .ngc2-env__detail-title {
        font-size: 60px;
    }

    .ngc2-env .ngc2-env__range {
        margin-top: 8px;
        font-size: 21px;
    }

    .ngc2-env .ngc2-env__label {
        margin: 28px 0 8px;
        font-size: 15px;
    }

    .ngc2-env .ngc2-env__text {
        font-size: 20px;
    }

    .ngc2-env__more-inner > .ngc2-env__text:last-of-type {
        margin-bottom: 26px;
    }

    .ngc2-env .ngc2-env__features {
        padding-top: 20px;
        gap: 12px;
    }

    .ngc2-env .ngc2-env__features li {
        padding-left: 24px;
        font-size: 18px;
    }

    .ngc2-env__features li::before {
        width: 9px;
        height: 9px;
    }

    .ngc2-env .ngc2-env__btn {
        margin-top: 26px;
        padding: 14px 30px;
        gap: 10px;
        font-size: 19px;
    }

    .ngc2-env__btn svg {
        width: 10px;
        height: 16px;
    }

    .ngc2-env .ngc2-env__close {
        top: 30px;
        right: 30px;
        padding: 12px 18px;
        font-size: 15px;
    }

    .ngc2-env__plus {
        top: 26px;
        right: 26px;
        width: 42px;
        height: 42px;
    }

    .ngc2-env[data-expanded="true"] .ngc2-env__plus {
        width: 36px;
        height: 36px;
    }

    .ngc2-env__plus::before,
    .ngc2-env__plus::after {
        width: 16px;
    }
}

@keyframes ngc2-env-sheen {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
}

@keyframes ngc2-env-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -8px; }
}

/* ==========================================================================
   Below 992px: scroll-snap carousel
   ========================================================================== */

@media (max-width: 991px) {

    .ngc2-env__track {
        display: flex;
        gap: 14px;
        /* bleed to the screen edge so the next card peeks in */
        margin: 0 calc(-1 * var(--pad-x));
        padding: 0 var(--pad-x) 4px;
        scroll-padding-inline: var(--pad-x);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .ngc2-env__track::-webkit-scrollbar {
        display: none;
    }

    /* cards size to their own content, so opening one does not stretch the rest */
    .ngc2-env__track {
        align-items: flex-start;
    }

    .ngc2-env__panel {
        flex: 0 0 min(84%, 400px);
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        background: radial-gradient(130% 62% at 50% 0%, #22262b 0%, #0a0b0d 60%);
        /* notched corners, echoing the HUD card frames used elsewhere on the page */
        clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    }

    .ngc2-env__media {
        position: relative;
        flex: 0 0 auto;
        height: clamp(190px, 52vw, 240px);
    }

    .ngc2-env__shade {
        background: linear-gradient(180deg, rgba(13, 14, 16, 0) 30%, rgba(13, 14, 16, .8) 75%, #111316 100%);
    }

    /* nothing to expand on mobile, every card shows its detail */
    .ngc2-env .ngc2-env__tab,
    .ngc2-env__product {
        display: none;
    }

    .ngc2-env__detail {
        position: relative;
        z-index: 1;
        flex: 1 1 auto;
        margin-top: -64px;
        padding: 0 20px 28px;
    }

    .ngc2-env .ngc2-env__features {
        margin: 4px 0 20px;
    }

    .ngc2-env .ngc2-env__btn {
        margin-top: 0;
    }

    /* ---- "View Solution" fold ---- */

    .ngc2-env .ngc2-env__more-toggle {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        gap: 8px;
        margin: 16px 0 0;
        padding: 6px 0;
        border: 0;
        border-radius: 0;
        background: none;
        color: var(--gold);
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: .16em;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
    }

    .ngc2-env__more-toggle svg {
        transition: transform .35s var(--ease);
    }

    .ngc2-env__more-hide,
    .ngc2-env__more-toggle[aria-expanded="true"] .ngc2-env__more-show {
        display: none;
    }

    .ngc2-env__more-toggle[aria-expanded="true"] .ngc2-env__more-hide {
        display: inline;
    }

    .ngc2-env__more-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    /* 0fr to 1fr grid rows animate the height without measuring it */
    .ngc2-env__more {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .45s var(--ease);
    }

    /* visibility keeps the folded links out of the tab order */
    .ngc2-env__more-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: visibility 0s linear .45s;
    }

    .ngc2-env__panel.is-more-open .ngc2-env__more {
        grid-template-rows: 1fr;
    }

    .ngc2-env__panel.is-more-open .ngc2-env__more-inner {
        visibility: visible;
        /* room for the button's focus ring inside the clipped box */
        padding-bottom: 4px;
        transition-delay: 0s;
    }

    .ngc2-env__nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-top: 22px;
    }

    .ngc2-env .ngc2-env__arrow,
    .ngc2-env .ngc2-env__dot {
        margin: 0;
        padding: 0;
        border-radius: 0;
        font: inherit;
        letter-spacing: normal;
        text-transform: none;
        text-decoration: none;
        cursor: pointer;
    }

    .ngc2-env .ngc2-env__arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 4px;
        background: transparent;
        color: #fff;
        transition: border-color .2s ease, color .2s ease, opacity .2s ease;
    }

    .ngc2-env .ngc2-env__arrow:hover,
    .ngc2-env .ngc2-env__arrow:focus-visible {
        border-color: var(--gold);
        color: var(--gold);
    }

    .ngc2-env .ngc2-env__arrow:disabled {
        opacity: .3;
        cursor: default;
        border-color: rgba(255, 255, 255, .35);
        color: #fff;
    }

    .ngc2-env__dots {
        display: flex;
        align-items: center;
    }

    /* 24px tap target around a small pill */
    .ngc2-env .ngc2-env__dot {
        position: relative;
        width: 22px;
        height: 24px;
        border: 0;
        background: none;
    }

    .ngc2-env__dot::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .3);
        transform: translate(-50%, -50%);
        transition: width .3s var(--ease), background-color .3s ease;
    }

    .ngc2-env__dot[aria-current="true"] {
        width: 34px;
    }

    .ngc2-env__dot[aria-current="true"]::before {
        width: 24px;
        background: var(--gold);
    }
}

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

    .ngc2-env *,
    .ngc2-env *::before,
    .ngc2-env *::after {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        animation: none !important;
    }

    .ngc2-env__track {
        scroll-behavior: auto;
    }
}
