/* ============================================================
   CIRCULAR ROUTER
   Website v0.1
   ------------------------------------------------------------
   TABLE OF CONTENTS

   01. Variables
   02. Reset & Base
   03. Layout
   04. Buttons
   05. Header
   06. Hero
   07. Router Visual
   08. Sections
   09. Textile Solutions
   10. Process
   11. Pilot
   12. Footer
   13. Animations
   14. Responsive
============================================================ */


/* ============================================================
   01. VARIABLES
============================================================ */

:root {

    /* Brand */
    --green-950: #102a24;
    --green-900: #15382f;
    --green-800: #1d4b3f;
    --green-700: #286553;

    --green-200: #cfe4d7;
    --green-100: #e8f1ec;
    --green-50: #f3f7f4;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #fafbf9;
    --cream: #f5f4ee;

    --text: #16201c;
    --text-soft: #5d6863;
    --border: #dde4df;

    /* Typography */
    --font-main:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    /* Layout */
    --container: 1180px;
    --section-space: 120px;

    /* Shape */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    /* Shadows */
    --shadow-soft:
        0 20px 60px rgba(16, 42, 36, 0.08);

    --shadow-card:
        0 10px 30px rgba(16, 42, 36, 0.06);

    /* Motion */
    --transition:
        180ms ease;
}


/* ============================================================
   02. RESET & BASE
============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: var(--font-main);
    color: var(--text);

    background: var(--off-white);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
a {
    font-family: var(--font-main);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin-top: 0;

    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 28px;

    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 650;
}

h2 {
    margin-bottom: 24px;

    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.03;
    font-weight: 620;
}

h3 {
    line-height: 1.1;
}


/* ============================================================
   03. LAYOUT
============================================================ */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    padding:
        var(--section-space)
        0;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 64px;
}

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

    margin-bottom: 0;

    color: var(--text-soft);

    font-size: 1.08rem;
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: var(--green-700);

    font-size: 0.76rem;
    font-weight: 750;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 22px;
    height: 1px;

    background: currentColor;
}


/* ============================================================
   04. BUTTONS
============================================================ */

.button {
    display: inline-flex;

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

    min-height: 52px;

    padding:
        0 24px;

    border:
        1px solid transparent;

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

    font-size: 0.94rem;
    font-weight: 650;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

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

.button-primary {
    color:
        var(--white);

    background:
        var(--green-800);

    box-shadow:
        0 8px 24px
        rgba(29, 75, 63, 0.16);
}

.button-primary:hover {
    background:
        var(--green-900);

    box-shadow:
        0 12px 30px
        rgba(29, 75, 63, 0.22);
}

.button-secondary {
    color:
        var(--green-900);

    border-color:
        var(--border);

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

.button-secondary:hover {
    border-color:
        var(--green-200);

    background:
        var(--white);
}

.button-dark {
    color:
        var(--white);

    background:
        var(--green-950);
}

.button-small {
    min-height: 44px;

    padding:
        0 18px;

    font-size:
        0.86rem;
}

.button-full {
    width: 100%;
}


/* ============================================================
   05. HEADER
============================================================ */

.site-header {
    position:
        sticky;

    top: 0;

    z-index: 100;

    border-bottom:
        1px solid
        rgba(221, 228, 223, 0.8);

    background:
        rgba(250, 251, 249, 0.9);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);
}

.header-inner {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    min-height: 76px;
}

.brand {
    display: inline-flex;

    align-items: center;
    gap: 11px;

    width: fit-content;

    font-weight: 720;
}

.brand-mark {
    display: inline-flex;

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

    width: 36px;
    height: 36px;

    border-radius:
        50%;

    color:
        var(--white);

    background:
        var(--green-800);

    font-size:
        0.72rem;

    letter-spacing:
        -0.02em;
}

.brand-name {
    font-size:
        0.96rem;

    letter-spacing:
        -0.02em;
}

.desktop-nav {
    display: flex;

    align-items: center;
    gap: 32px;

    color:
        var(--text-soft);

    font-size:
        0.87rem;

    font-weight:
        550;
}

.desktop-nav a {
    transition:
        color var(--transition);
}

.desktop-nav a:hover {
    color:
        var(--green-800);
}

.header-inner > .button {
    justify-self:
        end;
}


/* ============================================================
   06. HERO
============================================================ */

.hero {
    position:
        relative;

    overflow:
        hidden;

    padding:
        110px 0 120px;

    background:
        linear-gradient(
            135deg,
            #fafbf9 0%,
            #f5f7f3 55%,
            #edf4ef 100%
        );
}

.hero::before {
    content: "";

    position:
        absolute;

    width:
        580px;

    height:
        580px;

    top:
        -280px;

    right:
        -160px;

    border-radius:
        50%;

    background:
        rgba(207, 228, 215, 0.45);

    filter:
        blur(4px);
}

.hero-grid {
    position:
        relative;

    z-index:
        1;

    display:
        grid;

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

    align-items:
        center;

    gap:
        88px;
}

.hero-content {
    max-width:
        680px;
}

.hero h1 span {
    display:
        block;

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

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

    margin-bottom:
        34px;

    color:
        var(--text-soft);

    font-size:
        1.14rem;

    line-height:
        1.75;
}

.hero-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-bottom:
        24px;
}

.pilot-note {
    margin-bottom:
        0;

    color:
        #718079;

    font-size:
        0.82rem;
}


/* ============================================================
   07. ROUTER VISUAL
============================================================ */

.router-visual {
    position:
        relative;

    padding:
        34px;

    border:
        1px solid
        rgba(29, 75, 63, 0.10);

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

    background:
        rgba(255, 255, 255, 0.76);

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

    backdrop-filter:
        blur(12px);
}

.router-start {
    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    width:
        fit-content;

    padding:
        12px 16px;

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

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

    background:
        var(--white);
}

.router-start div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;
}

.router-icon {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        36px;

    height:
        36px;

    border-radius:
        50%;

    color:
        var(--green-800);

    background:
        var(--green-100);

    font-size:
        0.72rem;

    font-weight:
        750;
}

.router-start small,
.router-core small,
.router-path small {
    color:
        var(--text-soft);

    line-height:
        1.4;
}

.router-start small {
    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}

.router-start strong {
    font-size:
        0.9rem;
}

.router-line {
    width:
        1px;

    height:
        30px;

    margin-left:
        33px;

    background:
        var(--green-200);
}

.router-core {
    position:
        relative;

    padding:
        25px;

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

    color:
        var(--white);

    background:
        var(--green-900);

    box-shadow:
        0 18px 40px
        rgba(16, 42, 36, 0.16);
}

.router-core-label {
    display:
        block;

    margin-bottom:
        14px;

    color:
        var(--green-200);

    font-size:
        0.68rem;

    font-weight:
        700;

    letter-spacing:
        0.11em;

    text-transform:
        uppercase;
}

.router-core strong {
    display:
        block;

    margin-bottom:
        6px;

    font-size:
        1.35rem;
}

.router-core small {
    color:
        rgba(255, 255, 255, 0.68);
}

.router-paths {
    display:
        grid;

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

    gap:
        10px;

    margin-top:
        24px;
}

.router-path {
    min-height:
        145px;

    padding:
        18px;

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

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

    background:
        var(--white);
}

.router-path span {
    display:
        block;

    margin-bottom:
        20px;

    color:
        #829089;

    font-size:
        0.64rem;

    font-weight:
        700;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}

.router-path strong {
    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--green-950);

    font-size:
        0.92rem;
}

.router-path small {
    display:
        block;

    font-size:
        0.72rem;
}

.router-path.preferred {
    border-color:
        var(--green-200);

    background:
        var(--green-50);
}


/* ============================================================
   07B. TEXTILE SHOWCASE
============================================================ */

.textile-showcase {
    padding:
        0 0 120px;

    background:
        var(--off-white);
}

.showcase-image {
    position:
        relative;

    min-height:
        520px;

    overflow:
        hidden;

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

    background:
        var(--green-950);

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

.showcase-image img {
    width:
        100%;

    height:
        520px;

    object-fit:
        cover;
}

.showcase-image::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(12, 33, 28, 0.68) 0%,
            rgba(12, 33, 28, 0.28) 48%,
            rgba(12, 33, 28, 0.04) 75%
        );
}

.showcase-overlay {
    position:
        absolute;

    z-index:
        2;

    left:
        54px;

    bottom:
        52px;

    max-width:
        560px;

    color:
        var(--white);
}

.showcase-label {
    margin-bottom:
        16px;

    color:
        var(--green-200);

    font-size:
        0.72rem;

    font-weight:
        750;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}

.showcase-overlay h2 {
    margin-bottom:
        0;

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

    line-height:
        1.03;
}

/* ============================================================
   08. SECTIONS
============================================================ */

.solutions {
    background:
        var(--white);
}

.process {
    color:
        var(--white);

    background:
        var(--green-950);
}

.section-heading-light h2 {
    color:
        var(--white);
}

.section-heading-light .eyebrow {
    color:
        #9dc8b4;
}


/* ============================================================
   09. TEXTILE SOLUTIONS
============================================================ */
.textile-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 32px;

    border-radius: 14px;

    color: var(--green-800);
    background: var(--green-100);
}

.textile-icon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.textile-card .card-number {
    position: absolute;

    top: 28px;
    right: 28px;

    margin: 0;

    color: #9aa69f;

    font-size: 0.68rem;
    font-weight: 700;
}
.textile-grid {
    display:
        grid;

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

    gap:
        16px;
}

.textile-card {
    position:
        relative;

    min-height:
        190px;

    padding:
        28px;

    overflow:
        hidden;

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

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

    background:
        var(--off-white);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.textile-card:hover {
    transform:
        translateY(-4px);

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

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

.textile-card span {
    display:
        block;

    margin-bottom:
        65px;

    color:
        #9aa69f;

    font-size:
        0.72rem;

    font-weight:
        700;
}

.textile-card h3 {
    margin-bottom:
        0;

    color:
        var(--green-950);

    font-size:
        1.4rem;
}


/* ============================================================
   10. PROCESS
============================================================ */

.process-grid {
    display:
        grid;

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

    gap:
        14px;
}

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

    padding:
        28px;

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

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

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

.step-number {
    display:
        block;

    margin-bottom:
        76px;

    color:
        #91b8a5;

    font-size:
        0.74rem;

    font-weight:
        700;
}

.process-card h3 {
    margin-bottom:
        14px;

    font-size:
        1.35rem;
}

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

    color:
        rgba(255, 255, 255, 0.64);

    font-size:
        0.9rem;

    line-height:
        1.65;
}


/* ============================================================
   11. PILOT
============================================================ */

.pilot {
    background:
        var(--cream);
}

.pilot-grid {
    display:
        grid;

    grid-template-columns:
        1fr 0.75fr;

    align-items:
        center;

    gap:
        110px;
}

.pilot-content {
    max-width:
        650px;
}

.pilot-content > p:not(.eyebrow) {
    max-width:
        590px;

    color:
        var(--text-soft);

    font-size:
        1rem;

    line-height:
        1.75;
}

.pilot-card {
    padding:
        42px;

    border:
        1px solid
        rgba(29, 75, 63, 0.12);

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

    background:
        var(--white);

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

.pilot-card-label {
    margin-bottom:
        28px;

    color:
        var(--green-700);

    font-size:
        0.72rem;

    font-weight:
        750;

    letter-spacing:
        0.1em;

    text-transform:
        uppercase;
}

.pilot-card h3 {
    margin-bottom:
        18px;

    font-size:
        2rem;
}

.pilot-card > p:not(.pilot-card-label) {
    margin-bottom:
        28px;

    color:
        var(--text-soft);

    line-height:
        1.65;
}
.contact-options {
    margin-top: 20px;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;

    padding: 15px 18px;

    border: 1px solid var(--green-200);
    border-radius: var(--radius-sm);

    color: var(--green-900);
    background: var(--green-50);

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

.contact-phone:hover {
    transform: translateY(-2px);

    border-color: var(--green-700);
    background: var(--green-100);
}

.contact-phone span {
    font-size: 0.82rem;
    font-weight: 650;
}

.contact-phone strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-email {
    display:
        block;

    margin-top:
        20px;

    color:
        var(--text-soft);

    font-size:
        0.84rem;

    text-align:
        center;

    transition:
        color var(--transition);
}

.contact-email:hover {
    color:
        var(--green-800);
}


/* ============================================================
   12. FOOTER
============================================================ */

.site-footer {
    padding:
        60px 0;

    color:
        rgba(255, 255, 255, 0.65);

    background:
        #0c211c;
}

.footer-inner {
    display:
        grid;

    grid-template-columns:
        1fr auto;

    gap:
        50px;
}

.footer-brand {
    margin-bottom:
        18px;

    color:
        var(--white);
}

.footer-inner > div:first-child > p {
    margin-bottom:
        0;

    font-size:
        0.86rem;
}

.footer-links {
    display:
        flex;

    gap:
        26px;

    align-items:
        flex-start;

    font-size:
        0.82rem;
}

.footer-links a {
    transition:
        color var(--transition);
}

.footer-links a:hover {
    color:
        var(--white);
}

.copyright {
    grid-column:
        1 / -1;

    margin:
        22px 0 0;

    padding-top:
        28px;

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

    font-size:
        0.75rem;
}


/* ============================================================
   13. ANIMATIONS
============================================================ */

@keyframes fadeUp {

    from {
        opacity:
            0;

        transform:
            translateY(16px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }

}

.hero-content,
.router-visual {
    animation:
        fadeUp 650ms ease both;
}

.router-visual {
    animation-delay:
        100ms;
}


/* ============================================================
   14. RESPONSIVE
============================================================ */

@media (max-width: 1000px) {

    :root {
        --section-space:
            90px;
    }

    .desktop-nav {
        display:
            none;
    }

    .header-inner {
        grid-template-columns:
            1fr auto;
    }

    .hero {
        padding:
            85px 0 95px;
    }

    .hero-grid {
        grid-template-columns:
            1fr;

        gap:
            60px;
    }

    .router-visual {
        max-width:
            700px;
    }

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

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

    .pilot-grid {
        grid-template-columns:
            1fr;

        gap:
            55px;
    }

}


@media (max-width: 650px) {

    :root {
        --section-space:
            72px;
    }

    .container {
        width:
            min(
                calc(100% - 32px),
                var(--container)
            );
    }

    .site-header .button {
        display:
            none;
    }

    .header-inner {
        min-height:
            68px;
    }

    .hero {
        padding:
            70px 0 76px;
    }

    h1 {
        font-size:
            clamp(2.8rem, 13vw, 4rem);
    }

    h2 {
        font-size:
            2.45rem;
    }

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

    .hero-actions {
        flex-direction:
            column;
    }

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

    .router-visual {
        padding:
            20px;
    }

    .router-paths {
        grid-template-columns:
            1fr;
    }

    .router-path {
        min-height:
            auto;
    }

    .router-path span {
        margin-bottom:
            12px;
    }

    .section-heading {
        margin-bottom:
            42px;
    }

    .textile-grid,
    .process-grid {
        grid-template-columns:
            1fr;
    }

    .textile-card {
        min-height:
            145px;
    }

    .textile-card span {
        margin-bottom:
            38px;
    }

    .process-card {
        min-height:
            auto;
    }

    .step-number {
        margin-bottom:
            45px;
    }

    .pilot-card {
        padding:
            28px 22px;
    }

    .footer-inner {
        grid-template-columns:
            1fr;

    }

    .footer-links {
        flex-direction:
            column;

        gap:
            14px;
    }

    .textile-showcase {
        padding-bottom:
            72px;
    }

    .showcase-image {
        min-height:
            440px;
    }

    .showcase-image img {
        height:
            440px;
    }

    .showcase-overlay {
        left:
            24px;

        right:
            24px;

        bottom:
            28px;
    }

    .showcase-overlay h2 {
        font-size:
            2.25rem;
    }
}
