/* =========================================================
   ArcTec, LLC — Products
   ========================================================= */


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

.products-hero {
    min-height: calc(92vh - var(--header-height));

    display: flex;
    align-items: center;

    padding:
        clamp(4rem, 7vw, 7rem)
        0;

    overflow: hidden;
}

.products-hero__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    gap: clamp(4rem, 8vw, 9rem);

    align-items: center;
}

.products-hero__content {
    position: relative;
    z-index: 2;
}

.products-hero__title {
    max-width: 900px;

    margin:
        1.25rem
        0
        1.75rem;

    font-size:
        clamp(4rem, 6.3vw, 7.4rem);

    line-height: 0.92;

    letter-spacing: -0.055em;
}

.products-hero__title span {
    display: block;

    color: var(--color-primary-bright);
}

.products-hero__summary {
    max-width: 690px;

    margin:
        0
        0
        2.5rem;

    color: var(--color-text-muted);

    font-size:
        clamp(1rem, 1.35vw, 1.18rem);

    line-height: 1.75;
}

.products-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem;
}


/* =========================================================
   HERO — PRODUCT NETWORK
   ========================================================= */

.product-network {
    position: relative;

    min-height: 480px;

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

    background:
        linear-gradient(
            rgba(55, 183, 229, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(55, 183, 229, 0.035) 1px,
            transparent 1px
        ),
        rgba(32, 35, 50, 0.52);

    background-size:
        32px 32px,
        32px 32px,
        auto;
}

.product-network__header,
.product-network__footer {
    position: absolute;

    right: 0;
    left: 0;

    z-index: 5;

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

    gap: 1rem;

    padding:
        0.9rem
        1rem;

    color: var(--color-text-muted);

    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.product-network__header {
    top: 0;

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

.product-network__footer {
    bottom: 0;

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

.product-network__stage {
    position: absolute;

    inset:
        3rem
        0
        3rem;

    overflow: hidden;
}

.product-network__stage::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 20rem;
    height: 20rem;

    border:
        1px solid
        rgba(55, 183, 229, 0.09);

    border-radius: 50%;

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

.product-network__stage::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 10rem;
    height: 10rem;

    border:
        1px solid
        rgba(55, 183, 229, 0.12);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.product-network__core {
    position: absolute;

    z-index: 4;

    top: 50%;
    left: 50%;

    width: 6.25rem;
    height: 6.25rem;

    display: flex;
    flex-direction: column;

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

    border:
        1px solid
        var(--color-primary-bright);

    background:
        var(--color-surface);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.product-network__core span,
.product-network__core small {
    transform: rotate(-45deg);
}

.product-network__core span {
    color:
        var(--color-primary-bright);

    font-family:
        var(--font-mono);

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

.product-network__core small {
    margin-top: 0.25rem;

    color:
        var(--color-text-muted);

    font-family:
        var(--font-mono);

    font-size: 0.48rem;

    letter-spacing: 0.12em;
}

.product-network__branch {
    position: absolute;

    z-index: 1;

    top: 50%;
    left: 50%;

    width: 29%;

    height: 1px;

    background:
        var(--color-primary);
}

.product-network__branch::after {
    content: "";

    position: absolute;

    top: -3px;

    width: 7px;
    height: 7px;

    border:
        1px solid
        var(--color-primary-bright);

    background:
        var(--color-background);

    transform: rotate(45deg);
}

.product-network__branch--relay {
    transform:
        rotate(-28deg);

    transform-origin:
        left center;
}

.product-network__branch--relay::after {
    right: -2px;
}

.product-network__branch--resonance {
    transform:
        rotate(152deg);

    transform-origin:
        left center;
}

.product-network__branch--resonance::after {
    right: -2px;
}

.product-network__node {
    position: absolute;

    z-index: 3;

    width: 10.5rem;

    padding: 1rem;

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

    background:
        rgba(25, 27, 39, 0.96);

    color:
        var(--color-text);

    text-decoration: none;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        transform var(--transition-standard);
}

.product-network__node:hover,
.product-network__node:focus-visible {
    border-color:
        var(--color-primary-bright);

    background:
        var(--color-surface);

    transform:
        translateY(-3px);
}

.product-network__node--relay {
    top: 19%;
    right: 6%;
}

.product-network__node--resonance {
    bottom: 18%;
    left: 5%;
}

.product-network__node span,
.product-network__node small {
    display: block;

    font-family:
        var(--font-mono);

    letter-spacing: 0.1em;
}

.product-network__node span {
    margin-bottom: 1.5rem;

    color:
        var(--color-primary-bright);

    font-size: 0.6rem;
}

.product-network__node strong {
    display: block;

    margin-bottom: 0.35rem;

    font-size: 1rem;
}

.product-network__node small {
    color:
        var(--color-text-muted);

    font-size: 0.52rem;
}


/* =========================================================
   SECTION HEADERS
   ========================================================= */

.products-section-header {
    display: grid;

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

    gap:
        clamp(3rem, 7vw, 7rem);

    align-items: end;

    margin-bottom:
        clamp(3.5rem, 6vw, 5.5rem);
}

.products-section-header h2,
.product-direction h2,
.product-custom h2 {
    margin:
        1rem
        0
        0;

    font-size:
        clamp(2.6rem, 4.4vw, 4.8rem);

    line-height: 0.98;

    letter-spacing: -0.045em;
}

.products-section-header > p {
    max-width: 620px;

    margin: 0;

    color:
        var(--color-text-muted);

    line-height: 1.75;
}


/* =========================================================
   PRODUCT PORTFOLIO
   ========================================================= */

.product-portfolio {
    border-top:
        1px solid
        var(--color-border);
}

.product-feature {
    position: relative;

    margin-bottom:
        clamp(2rem, 4vw, 4rem);

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

    background:
        rgba(32, 35, 50, 0.62);

    overflow: hidden;
}

.product-feature:last-child {
    margin-bottom: 0;
}

.product-feature::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background:
        var(--color-primary-bright);

    opacity: 0.7;
}

.product-feature--resonance::before {
    background:
        repeating-linear-gradient(
            to bottom,
            var(--color-primary-bright)
            0 8px,
            transparent
            8px 14px
        );
}

.product-feature__header {
    display: flex;

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

    gap: 2rem;

    padding:
        1.1rem
        clamp(1.5rem, 3vw, 3rem);

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

.product-feature__header > div:first-child {
    display: flex;
    flex-wrap: wrap;

    gap:
        0.75rem
        1.75rem;
}

.product-feature__number,
.product-feature__type,
.product-feature__code,
.product-feature__footer {
    font-family:
        var(--font-mono);

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

    letter-spacing: 0.12em;
}

.product-feature__number,
.product-feature__code {
    color:
        var(--color-primary-bright);
}

.product-feature__type,
.product-feature__footer {
    color:
        var(--color-text-muted);
}


/* Relay mark */

.product-feature__relay-mark {
    display: flex;

    align-items: center;

    width: 6rem;
}

.product-feature__relay-mark i {
    width: 0.7rem;
    height: 0.7rem;

    border:
        1px solid
        var(--color-primary-bright);

    transform: rotate(45deg);
}

.product-feature__relay-mark span {
    flex: 1;

    height: 1px;

    background:
        var(--color-primary-bright);
}


/* Resonance mark */

.product-feature__resonance-mark {
    display: flex;

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

    width: 6rem;
    height: 2rem;
}

.product-feature__resonance-mark i {
    width: 1px;

    background:
        var(--color-primary-bright);
}

.product-feature__resonance-mark i:nth-child(1),
.product-feature__resonance-mark i:nth-child(5) {
    height: 0.6rem;
}

.product-feature__resonance-mark i:nth-child(2),
.product-feature__resonance-mark i:nth-child(4) {
    height: 1.25rem;
}

.product-feature__resonance-mark i:nth-child(3) {
    height: 2rem;
}


/* Product body */

.product-feature__main {
    display: grid;

    grid-template-columns:
        minmax(350px, 0.85fr)
        minmax(420px, 1.15fr);

    gap:
        clamp(4rem, 8vw, 9rem);

    padding:
        clamp(3rem, 6vw, 6rem)
        clamp(1.5rem, 4vw, 4rem);
}

.product-feature__identity {
    min-width: 0;
}

.product-feature__identity h3 {
    margin:
        1rem
        0
        1.25rem;

    font-size:
        clamp(3.8rem, 6vw, 6.5rem);

    line-height: 0.9;

    letter-spacing: -0.055em;
}

.product-feature__identity > p {
    max-width: 480px;

    margin:
        0
        0
        2rem;

    color:
        var(--color-primary-bright);

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

    line-height: 1.65;
}

.product-feature__link {
    display: inline-flex;

    align-items: center;

    gap: 1rem;

    padding:
        0.8rem
        0;

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

    color:
        var(--color-text);

    font-family:
        var(--font-mono);

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

    letter-spacing: 0.1em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast);
}

.product-feature__link span {
    color:
        var(--color-primary-bright);

    transition:
        transform var(--transition-fast);
}

.product-feature__link:hover,
.product-feature__link:focus-visible {
    color:
        var(--color-primary-bright);

    border-color:
        var(--color-primary-bright);
}

.product-feature__link:hover span,
.product-feature__link:focus-visible span {
    transform:
        translateX(0.3rem);
}

.product-feature__information {
    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 2rem;
}

.product-feature__description {
    max-width: 690px;
}

.product-feature__description p {
    margin:
        0
        0
        1.25rem;

    color:
        var(--color-text-muted);

    line-height: 1.75;
}

.product-feature__description p:last-child {
    margin-bottom: 0;
}

.product-feature__capabilities {
    display: flex;
    flex-wrap: wrap;

    gap: 0.5rem;
}

.product-feature__capabilities span {
    padding:
        0.55rem
        0.7rem;

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

    color:
        var(--color-text-muted);

    font-family:
        var(--font-mono);

    font-size: 0.65rem;

    letter-spacing: 0.04em;
}

.product-feature__footer {
    display: flex;

    justify-content: space-between;

    gap: 2rem;

    padding:
        1rem
        clamp(1.5rem, 3vw, 3rem);

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


/* =========================================================
   PRODUCT PHILOSOPHY
   ========================================================= */

.product-philosophy {
    border-top:
        1px solid
        var(--color-border);

    background:
        rgba(255, 255, 255, 0.01);
}

.product-principles {
    border-top:
        1px solid
        var(--color-border);
}

.product-principles article {
    display: grid;

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

    gap:
        clamp(1.5rem, 4vw, 4rem);

    align-items: start;

    padding:
        1.75rem
        0;

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

.product-principles article > span {
    color:
        var(--color-primary-bright);

    font-family:
        var(--font-mono);

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

    letter-spacing: 0.12em;
}

.product-principles article > div {
    display: grid;

    grid-template-columns:
        minmax(180px, 0.35fr)
        minmax(0, 0.65fr);

    gap:
        clamp(2rem, 6vw, 7rem);

    align-items: baseline;
}

.product-principles h3 {
    margin: 0;

    font-size:
        clamp(1.4rem, 2vw, 1.8rem);
}

.product-principles p {
    max-width: 680px;

    margin: 0;

    color:
        var(--color-text-muted);

    line-height: 1.7;
}


/* =========================================================
   DEVELOPMENT DIRECTION
   ========================================================= */

.product-direction {
    border-top:
        1px solid
        var(--color-border);
}

.product-direction__header {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(360px, 1.2fr);

    gap:
        1rem
        clamp(4rem, 9vw, 10rem);

    align-items: end;

    margin-bottom:
        clamp(4rem, 7vw, 7rem);
}

.product-direction__header > .eyebrow {
    grid-column:
        1 / -1;
}

.product-direction__header h2 {
    margin: 0;
}

.product-direction__copy {
    display: grid;

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

    gap:
        clamp(1.5rem, 3vw, 3rem);
}

.product-direction__copy p {
    margin: 0;

    color:
        var(--color-text-muted);

    line-height: 1.75;
}


/* Development path */

.development-path {
    position: relative;

    display: grid;

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

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

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

.development-path__track {
    position: absolute;

    z-index: 0;

    top: 2.65rem;
    right: 8%;
    left: 8%;

    height: 1px;

    background:
        var(--color-primary);
}

.development-path__step {
    position: relative;

    z-index: 1;

    min-height: 13rem;

    display: flex;
    flex-direction: column;

    padding:
        1.5rem
        1.25rem;

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

    background:
        rgba(32, 35, 50, 0.94);
}

.development-path__step:last-child {
    border-right: 0;
}

.development-path__step::before {
    content: "";

    width: 0.65rem;
    height: 0.65rem;

    margin-bottom: 2rem;

    border:
        1px solid
        var(--color-primary-bright);

    background:
        var(--color-background);

    transform:
        rotate(45deg);
}

.development-path__step span,
.development-path__step small {
    font-family:
        var(--font-mono);

    letter-spacing: 0.1em;
}

.development-path__step span {
    margin-bottom: 1rem;

    color:
        var(--color-primary-bright);

    font-size: 0.62rem;
}

.development-path__step strong {
    max-width: 10rem;

    font-size:
        clamp(0.8rem, 1vw, 0.95rem);

    line-height: 1.4;

    letter-spacing: 0.04em;
}

.development-path__step small {
    margin-top: auto;

    color:
        var(--color-text-muted);

    font-size: 0.52rem;
}

.development-path__step--destination {
    background:
        rgba(37, 150, 190, 0.11);
}

.development-path__step--destination::before {
    background:
        var(--color-primary-bright);
}


/* =========================================================
   CUSTOM REQUIREMENTS
   ========================================================= */

.product-custom {
    border-top:
        1px solid
        var(--color-border);

    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(37, 150, 190, 0.09),
            transparent 32%
        );
}

.product-custom__layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.72fr)
        minmax(460px, 1.28fr);

    gap:
        clamp(4rem, 8vw, 9rem);
}

.product-custom__intro p {
    max-width: 590px;

    margin:
        1.5rem
        0
        0;

    color:
        var(--color-text-muted);

    line-height: 1.75;
}

.product-custom__decision {
    border-top:
        1px solid
        var(--color-border);
}

.product-custom__decision article {
    display: grid;

    grid-template-columns:
        minmax(120px, 0.3fr)
        minmax(0, 0.7fr);

    gap:
        clamp(2rem, 4vw, 4rem);

    padding:
        2rem
        0;

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

.product-custom__label {
    display: flex;
    flex-direction: column;

    gap: 0.5rem;

    color:
        var(--color-primary-bright);

    font-family:
        var(--font-mono);

    font-size: 0.65rem;

    letter-spacing: 0.1em;
}

.product-custom__decision h3 {
    margin:
        0
        0
        0.75rem;

    font-size:
        clamp(1.25rem, 2vw, 1.6rem);
}

.product-custom__decision p {
    max-width: 540px;

    margin:
        0
        1.5rem
        1.25rem
        0;

    color:
        var(--color-text-muted);

    line-height: 1.65;
}

.product-custom__decision a {
    display: inline-flex;

    align-items: center;

    gap: 0.75rem;

    color:
        var(--color-text);

    font-family:
        var(--font-mono);

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

    letter-spacing: 0.08em;

    text-decoration: none;
    text-transform: uppercase;
}

.product-custom__decision a span {
    color:
        var(--color-primary-bright);
}

.product-custom__contact {
    grid-column:
        1 / -1;

    display: flex;

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

    gap: 2rem;

    padding-top: 2rem;

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

.product-custom__contact > span {
    color:
        var(--color-text-muted);

    font-family:
        var(--font-mono);

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

    letter-spacing: 0.1em;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .products-hero__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.85fr);

        gap: 3rem;
    }

    .product-feature__main {
        grid-template-columns:
            minmax(300px, 0.8fr)
            minmax(360px, 1.2fr);

        gap: 3rem;
    }

    .development-path {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .development-path__track {
        display: none;
    }

    .development-path__step:nth-child(4) {
        border-right: 0;
    }

    .development-path__step {
        border-bottom:
            1px solid
            var(--color-border);
    }

    .development-path__step:nth-last-child(-n + 3) {
        border-bottom: 0;
    }

}


@media (max-width: 900px) {

    .products-hero {
        min-height: auto;
    }

    .products-hero__grid,
    .products-section-header,
    .product-feature__main,
    .product-direction__header,
    .product-custom__layout {
        grid-template-columns: 1fr;
    }

    .product-network {
        min-height: 440px;
    }

    .products-section-header {
        align-items: start;
    }

    .product-feature__main {
        gap: 3rem;
    }

    .product-direction__header > .eyebrow {
        grid-column: auto;
    }

    .product-direction__copy {
        margin-top: 1rem;
    }

    .product-custom__contact {
        grid-column: auto;
    }

}


@media (max-width: 650px) {

    .products-hero {
        padding:
            3.5rem
            0;
    }

    .products-hero__title {
        font-size:
            clamp(3rem, 15vw, 4.8rem);
    }

    .product-network {
        min-height: 420px;
    }

    .product-network__stage::before {
        width: 16rem;
        height: 16rem;
    }

    .product-network__node {
        width: 9rem;
    }

    .product-network__node--relay {
        top: 14%;
        right: 3%;
    }

    .product-network__node--resonance {
        bottom: 13%;
        left: 3%;
    }

    .product-network__core {
        width: 5rem;
        height: 5rem;
    }

    .product-feature__header,
    .product-feature__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-feature__identity h3 {
        font-size:
            clamp(3rem, 14vw, 4.5rem);

        overflow-wrap: anywhere;
    }

    .product-feature__main {
        padding:
            2.5rem
            1.25rem;
    }

    .product-principles article {
        grid-template-columns:
            2.5rem
            minmax(0, 1fr);
    }

    .product-principles article > div {
        grid-template-columns: 1fr;

        gap: 0.75rem;
    }

    .product-direction__copy {
        grid-template-columns: 1fr;
    }

    .development-path {
        grid-template-columns: 1fr;
    }

    .development-path__step,
    .development-path__step:nth-child(4),
    .development-path__step:nth-last-child(-n + 3) {
        min-height: auto;

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

    .development-path__step:last-child {
        border-bottom: 0;
    }

    .development-path__step small {
        margin-top: 2rem;
    }

    .product-custom__decision article {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }

    .product-custom__contact {
        align-items: stretch;
        flex-direction: column;
    }

    .product-custom__contact .button {
        width: 100%;

        text-align: center;
    }

}