/* ==========================================================
   NIXGO9 — ABOUT V2
   Image-led editorial / cinematic layout
   Replace the previous About CSS with this file.
========================================================== */

.about-page {
    --nx-v2-ivory: #FAF8F4;
    --nx-v2-cream: #F5F1E9;
    --nx-v2-green: #1D694D;
    --nx-v2-green-dark: #154D39;
    --nx-v2-green-soft: #6F9B8A;
    --nx-v2-gold: #C79B32;
    --nx-v2-gold-bright: #D7A941;
    --nx-v2-text: #282723;
    --nx-v2-text-soft: #55534D;
    --nx-v2-muted: #77736B;
    --nx-v2-white: #FFFFFF;
    background: var(--nx-v2-ivory);
    color: var(--nx-v2-text);
}

.about-page .nx-about-page-v2 {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--nx-v2-ivory);
}

.about-page .nx-about-page-v2 *,
.about-page .nx-about-page-v2 *::before,
.about-page .nx-about-page-v2 *::after {
    box-sizing: border-box;
}

.about-page .nx-about-v2-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

/* Hide the previous About implementation while V2 is active. */
.about-page > .nx-about-page > section:not(.nx-about-page-v2),
.about-page .nx-about-page:not(.nx-about-page-v2) > section {
    display: none !important;
}

/* If the old scene directly wraps V2, keep its old decorative children hidden. */
.nx-about-page > section:not(.nx-about-page-v2) {
    display: none !important;
}

/* ----------------------------------------------------------
   Shared typography
---------------------------------------------------------- */

.nx-about-v2-kicker,
.nx-about-v2-section-label,
.nx-about-v2-hero__meta,
.nx-about-v2-statement__copy > span,
.nx-about-v2-final__copy > span {
    font-family: Inter, Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nx-about-v2-section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--nx-v2-green);
    font-size: 11px;
    font-weight: 700;
}

.nx-about-v2-section-label b {
    color: var(--nx-v2-gold-dark, #8D641D);
    font-size: 11px;
}

.nx-about-v2-section-label--light {
    color: rgba(255,255,255,.76);
}

.nx-about-v2-section-label--light b {
    color: var(--nx-v2-gold-bright);
}

.nx-about-v2-reveal {
    opacity: 1;
    transform: none;
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */

.nx-about-v2-hero {
    position: relative;
    min-height: min(760px, 88vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 45%, rgba(199,155,50,.13), transparent 25%),
        linear-gradient(115deg, #FAF8F4 0%, #F5F1E9 58%, #E9EFEA 100%);
}

.nx-about-v2-hero__backdrop {
    position: absolute;
    inset: 0;
    opacity: .22;

    background-image:
        linear-gradient(
            90deg,
            rgba(250,248,244,.60) 0%,
            rgba(250,248,244,.40) 34%,
            rgba(250,248,244,.15) 68%,
            rgba(250,248,244,.02) 100%
        ),
        var(--nx-about-v2-hero-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter:
        saturate(.9)
        contrast(.96);
}
.nx-about-v2-hero__inner {
    position: relative;
    z-index: 2;
    min-height: min(760px, 88vh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
    align-items: center;
    gap: 48px;
    padding-block: 90px;
}

.nx-about-v2-hero__copy {
    max-width: 650px;
}

.nx-about-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    color: var(--nx-v2-green);
    font-size: 11px;
    font-weight: 700;
}

.nx-about-v2-kicker i {
    width: 34px;
    height: 1px;
    display: block;
    background: var(--nx-v2-gold);
}

.nx-about-v2-hero h1 {
    margin: 0;
    max-width: 700px;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(48px, 6vw, 88px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 500;
}

.nx-about-v2-hero h1 em,
.nx-about-v2-copy h2 em,
.nx-about-v2-cinematic h2 em,
.nx-about-v2-method h2 em,
.nx-about-v2-capabilities h2 em,
.nx-about-v2-final h2 em {
    color: var(--nx-v2-green);
    font-style: normal;
}

.nx-about-v2-hero__copy > p {
    max-width: 590px;
    margin: 30px 0 0;
    color: var(--nx-v2-text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.nx-about-v2-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 34px;
    color: var(--nx-v2-muted);
    font-size: 10px;
    font-weight: 700;
}

.nx-about-v2-hero__product {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-about-v2-hero__product-glow {
    position: absolute;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,105,77,.20), rgba(29,105,77,0) 70%);
}

.nx-about-v2-hero__product img {
    position: relative;
    z-index: 2;
    width: min(420px, 82%);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(21,77,57,.18));
    animation: nxAboutV2ProductFloat 7s ease-in-out infinite;
}

.nx-about-v2-scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--nx-v2-muted);
    font: 700 9px/1 Inter, Arial, sans-serif;
    letter-spacing: .2em;
}

.nx-about-v2-scroll i {
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, var(--nx-v2-gold), transparent);
}

/* ----------------------------------------------------------
   STORY SECTIONS
---------------------------------------------------------- */

.nx-about-v2-story {
    padding: 112px 0;
    background: var(--nx-v2-ivory);
}

.nx-about-v2-story:nth-of-type(even) {
    background: var(--nx-v2-cream);
}

.nx-about-v2-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr);
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.nx-about-v2-story__grid--reverse {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.05fr);
}

.nx-about-v2-story__grid--reverse .nx-about-v2-media {
    order: 2;
}

.nx-about-v2-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8e4db;
}

.nx-about-v2-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.25);
    pointer-events: none;
}

.nx-about-v2-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.nx-about-v2-media:hover img {
    transform: scale(1.025);
}

.nx-about-v2-media--tall {
    aspect-ratio: 4 / 5;
}

.nx-about-v2-copy {
    max-width: 580px;
}

.nx-about-v2-copy h2 {
    margin: 22px 0 24px;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 500;
}

.nx-about-v2-copy p {
    margin: 0 0 17px;
    color: var(--nx-v2-text-soft);
    font-size: 16px;
    line-height: 1.78;
}

.nx-about-v2-copy .nx-about-v2-lead {
    color: var(--nx-v2-text);
    font-size: 19px;
    line-height: 1.65;
}

.nx-about-v2-copy--center {
    max-width: 520px;
}

/* ----------------------------------------------------------
   CINEMATIC IMAGE SECTIONS
---------------------------------------------------------- */

.nx-about-v2-cinematic {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #123629;
}

.nx-about-v2-cinematic__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nx-about-v2-cinematic__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,30,22,.82) 0%, rgba(8,30,22,.52) 42%, rgba(8,30,22,.12) 100%),
        linear-gradient(0deg, rgba(8,30,22,.32), transparent 45%);
}

.nx-about-v2-cinematic__inner {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 64px));
}

.nx-about-v2-cinematic__copy {
    max-width: 650px;
}

.nx-about-v2-cinematic h2 {
    margin: 22px 0;
    color: #fff;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 500;
}

.nx-about-v2-cinematic h2 em {
    color: #d9e5de;
}

.nx-about-v2-cinematic p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 17px;
    line-height: 1.75;
}

/* ----------------------------------------------------------
   METHOD
---------------------------------------------------------- */

.nx-about-v2-method {
    padding: 110px 0 120px;
    background: var(--nx-v2-green-dark);
    color: #fff;
}

.nx-about-v2-method__heading {
    max-width: 720px;
}

.nx-about-v2-method h2 {
    margin: 22px 0 20px;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 500;
}

.nx-about-v2-method h2 em {
    color: #d8e5df;
}

.nx-about-v2-method__heading > p {
    max-width: 610px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.75;
}

.nx-about-v2-method__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 70px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.nx-about-v2-method__step {
    min-height: 220px;
    padding: 28px 24px 20px 0;
    border-right: 1px solid rgba(255,255,255,.18);
}

.nx-about-v2-method__step:not(:first-child) {
    padding-left: 24px;
}

.nx-about-v2-method__step:last-child {
    border-right: 0;
}

.nx-about-v2-method__step > span {
    color: var(--nx-v2-gold-bright);
    font: 700 11px/1 Inter, Arial, sans-serif;
    letter-spacing: .16em;
}

.nx-about-v2-method__step h3 {
    margin: 34px 0 12px;
    font: 700 12px/1.3 Inter, Arial, sans-serif;
    letter-spacing: .14em;
}

.nx-about-v2-method__step p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   STATEMENT
---------------------------------------------------------- */

.nx-about-v2-statement {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #18261f;
}

.nx-about-v2-statement__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-about-v2-statement__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,27,20,.9), rgba(10,27,20,.56), rgba(10,27,20,.28));
}

.nx-about-v2-statement__inner {
    position: relative;
    z-index: 2;
}

.nx-about-v2-statement__copy {
    max-width: 820px;
}

.nx-about-v2-statement__copy > span {
    color: var(--nx-v2-gold-bright);
    font-size: 10px;
    font-weight: 700;
}

.nx-about-v2-statement h2 {
    margin: 24px 0;
    color: #fff;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(44px, 6vw, 86px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 500;
}

.nx-about-v2-statement h2 em {
    display: block;
    color: #dbe5df;
    font-style: normal;
}

.nx-about-v2-statement p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 17px;
    line-height: 1.75;
}

/* ----------------------------------------------------------
   CAPABILITIES
---------------------------------------------------------- */

.nx-about-v2-capabilities {
    padding: 112px 0;
    background: var(--nx-v2-ivory);
}

.nx-about-v2-capabilities__heading {
    max-width: 780px;
}

.nx-about-v2-capabilities h2 {
    margin: 22px 0 0;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 500;
}

.nx-about-v2-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 68px;
    border-top: 1px solid rgba(40,39,35,.14);
    border-left: 1px solid rgba(40,39,35,.14);
}

.nx-about-v2-capability {
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid rgba(40,39,35,.14);
    border-bottom: 1px solid rgba(40,39,35,.14);
}

.nx-about-v2-capability > span {
    color: var(--nx-v2-gold-dark, #8D641D);
    font: 700 10px/1 Inter, Arial, sans-serif;
    letter-spacing: .16em;
}

.nx-about-v2-capability h3 {
    margin: 42px 0 13px;
    color: var(--nx-v2-text);
    font: 700 12px/1.3 Inter, Arial, sans-serif;
    letter-spacing: .13em;
}

.nx-about-v2-capability p {
    max-width: 300px;
    margin: 0;
    color: var(--nx-v2-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   FINAL CTA
---------------------------------------------------------- */

.nx-about-v2-final {
    padding: 90px 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(199,155,50,.12), transparent 26%),
        var(--nx-v2-cream);
}

.nx-about-v2-final__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 80px;
}

.nx-about-v2-final__product {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-about-v2-final__halo {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,105,77,.17), transparent 68%);
}

.nx-about-v2-final__product img {
    position: relative;
    z-index: 2;
    width: min(390px, 86%);
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(21,77,57,.16));
}

.nx-about-v2-final__copy {
    max-width: 650px;
}

.nx-about-v2-final__copy > span {
    color: var(--nx-v2-green);
    font-size: 10px;
    font-weight: 700;
}

.nx-about-v2-final h2 {
    margin: 24px 0;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(46px, 5.5vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 500;
}

.nx-about-v2-final h2 em {
    display: block;
}

.nx-about-v2-final__copy > p {
    max-width: 510px;
    margin: 0;
    color: var(--nx-v2-text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.nx-about-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.nx-about-v2-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 21px;
    text-decoration: none;
    font: 700 10px/1 Inter, Arial, sans-serif;
    letter-spacing: .13em;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.nx-about-v2-button b {
    font-size: 16px;
    font-weight: 400;
}

.nx-about-v2-button:hover {
    transform: translateY(-2px);
}

.nx-about-v2-button--primary {
    color: #fff;
    background: var(--nx-v2-green);
    border: 1px solid var(--nx-v2-green);
}

.nx-about-v2-button--primary:hover {
    background: var(--nx-v2-green-dark);
}

.nx-about-v2-button--secondary {
    color: var(--nx-v2-green-dark);
    border: 1px solid rgba(21,77,57,.28);
    background: rgba(255,255,255,.35);
}

/* ----------------------------------------------------------
   Motion — intentionally restrained
---------------------------------------------------------- */

@keyframes nxAboutV2ProductFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .nx-about-v2-hero__product img {
        animation: none;
    }

    .nx-about-v2-media img,
    .nx-about-v2-button {
        transition: none;
    }
}

/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 980px) {
    .about-page .nx-about-v2-container,
    .nx-about-v2-cinematic__inner {
        width: min(100% - 44px, 760px);
    }

    .nx-about-v2-hero__inner {
        grid-template-columns: 1fr .72fr;
        gap: 20px;
    }

    .nx-about-v2-hero__product {
        min-height: 440px;
    }

    .nx-about-v2-hero__product img {
        width: min(330px, 100%);
    }

    .nx-about-v2-story__grid,
    .nx-about-v2-story__grid--reverse,
    .nx-about-v2-final__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nx-about-v2-story__grid--reverse .nx-about-v2-media {
        order: 0;
    }

    .nx-about-v2-copy {
        max-width: 700px;
    }

    .nx-about-v2-method__steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .nx-about-v2-method__step:nth-child(3) {
        border-right: 0;
    }

    .nx-about-v2-method__step:nth-child(4),
    .nx-about-v2-method__step:nth-child(5) {
        border-top: 1px solid rgba(255,255,255,.18);
    }

    .nx-about-v2-capabilities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-about-v2-final__product {
        min-height: 400px;
    }
}

/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 640px) {
    .about-page .nx-about-v2-container,
    .nx-about-v2-cinematic__inner {
        width: calc(100% - 34px);
    }

    .nx-about-v2-hero {
        min-height: auto;
    }

    .nx-about-v2-hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 105px 0 75px;
    }

    .nx-about-v2-hero h1 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .nx-about-v2-hero__copy > p {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.7;
    }

    .nx-about-v2-hero__meta {
        margin-top: 25px;
        gap: 9px 17px;
        font-size: 9px;
    }

    .nx-about-v2-hero__product {
        min-height: 340px;
    }

    .nx-about-v2-hero__product-glow {
        width: 300px;
        height: 300px;
    }

    .nx-about-v2-hero__product img {
        width: min(280px, 82%);
    }

    .nx-about-v2-scroll {
        display: none;
    }

    .nx-about-v2-story,
    .nx-about-v2-capabilities {
        padding: 78px 0;
    }

    .nx-about-v2-story__grid,
    .nx-about-v2-story__grid--reverse {
        gap: 38px;
    }

    .nx-about-v2-media {
        aspect-ratio: 4 / 3;
    }

    .nx-about-v2-media--tall {
        aspect-ratio: 4 / 5;
    }

    .nx-about-v2-copy h2 {
        font-size: 39px;
        line-height: 1.02;
    }

    .nx-about-v2-copy p {
        font-size: 15px;
    }

    .nx-about-v2-copy .nx-about-v2-lead {
        font-size: 17px;
    }

    .nx-about-v2-cinematic,
    .nx-about-v2-statement {
        min-height: 590px;
    }

    .nx-about-v2-cinematic__shade {
        background:
            linear-gradient(0deg, rgba(8,30,22,.88) 0%, rgba(8,30,22,.42) 58%, rgba(8,30,22,.08) 100%);
    }

    .nx-about-v2-cinematic__inner {
        align-self: flex-end;
        padding-bottom: 62px;
    }

    .nx-about-v2-cinematic h2 {
        font-size: 43px;
    }

    .nx-about-v2-cinematic p {
        font-size: 15px;
    }

    .nx-about-v2-method {
        padding: 78px 0;
    }

    .nx-about-v2-method__steps {
        display: block;
        margin-top: 48px;
    }

    .nx-about-v2-method__step,
    .nx-about-v2-method__step:not(:first-child) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

    .nx-about-v2-method__step:first-child {
        border-top: 0;
    }

    .nx-about-v2-method__step h3 {
        margin-top: 22px;
    }

    .nx-about-v2-statement__shade {
        background: linear-gradient(0deg, rgba(10,27,20,.9), rgba(10,27,20,.38));
    }

    .nx-about-v2-statement__inner {
        align-self: flex-end;
        padding-bottom: 62px;
    }

    .nx-about-v2-statement h2 {
        font-size: 44px;
    }

    .nx-about-v2-statement p {
        font-size: 15px;
    }

    .nx-about-v2-capabilities__grid {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .nx-about-v2-capability {
        min-height: auto;
        padding: 25px 22px;
    }

    .nx-about-v2-capability h3 {
        margin-top: 30px;
    }

    .nx-about-v2-final {
        padding: 55px 0 70px;
    }

    .nx-about-v2-final__grid {
        gap: 20px;
    }

    .nx-about-v2-final__product {
        min-height: 340px;
    }

    .nx-about-v2-final__halo {
        width: 300px;
        height: 300px;
    }

    .nx-about-v2-final__product img {
        width: min(285px, 82%);
    }

    .nx-about-v2-final h2 {
        font-size: 46px;
    }

    .nx-about-v2-final__copy > p {
        font-size: 15px;
    }

    .nx-about-v2-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nx-about-v2-button {
        width: 100%;
    }
}
