
:root {
    --navy-900: #0b1420;
    --navy-800: #101d2e;
    --navy-700: #16283d;
    --navy-600: #1f3852;
    --gold: #c9a227;
    --gold-dark: #9a7b1a;
    --gold-soft: #e7d191;
    --ivory: #f8f4ea;
    --ivory-deep: #efe8d8;
    --ink: #1d2530;
    --ink-soft: #455060;
    --line: #d9d0ba;
    --white: #ffffff;
    --max: 1180px;
    --radius: 10px;
    --shadow: 0 18px 45px rgba(11, 20, 32, 0.16);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    /*
               font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
               font-size: 1.0625rem;
               */
    line-height: 1.65;
    color: var(--ink);
    background: black;
    -webkit-font-smoothing: antialiased;
}

#main h1, #main h2, #main h3, #main h4 {
    font-family: "Cormorant Garamond", "GI", sans-serif;
    font-weight: 600;
    line-height: 1.18;
    color: #ffcc01;
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1em;
}

#main img {
    max-width: 100%;
    /*height: auto; */
    display: block;
}

#main p {
    font-family: "GI", sans-serif;
}


a {
    color: var(--navy-700);
    text-underline-offset: 3px;
}

    a:hover {
        color: var(--gold-dark);
    }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--navy-900);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s ease;
}

    .skip-link:focus {
        top: 0;
        color: var(--gold-soft);
    }

/* ---------- Header ---------- */
/*
           .site-header {
               background: var(--navy-900);
               border-bottom: 3px solid var(--gold);
               position: sticky;
               top: 0;
               z-index: 50;
           }
           */


.try-button {
    border: solid 1px #ffcc01;
    color: #ffcc01;
    background-color: transparent;
    border-radius: 15px;
    padding: 20px;
    font-weight: 500;
}

    .try-button:hover {
        color: black;
        background-color: #ffcc01;
        transition: background-color 0.3s ease;
    }

.header-inner {
    width:98%;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

    .brand svg {
        flex: none;
    }

.brand-text {
    line-height: 1.2;
}

.brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--white);
}

.brand-sub {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.6rem;
}

.main-nav a {
    color: var(--ivory);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

    .main-nav a:hover {
        color: var(--gold-soft);
        border-bottom-color: var(--gold);
    }


/* ---------- Page layout: left sub-menu + content ---------- */
.page-body {
    display: grid;
    grid-template-columns: 30.5rem 1fr;
}

.page-content {
    min-width: 0;
}

/* ---------- Left sub-menu: transparent, sticky, expandable ---------- */
:root {
    --header-h: 100px;
}


.subnav {
    background: transparent;
    /*border-right: 1px solid var(--line); */
    padding: 2.75rem 1.75rem 2rem 2rem;
    margin-top: 100px;
    position: fixed;
    width: 300px;
}

.subnav-toggle, .subnav-bar {
    display: none;
}

.subnav-panel {
    position: sticky;
    top: calc(var(--header-h) + 1.75rem);
}

.subnav-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

    .subnav-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

.subnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    /* Top-level entries � expandable (details > summary) or plain links */
    .subnav-list summary,
    .subnav-list .subnav-plain {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 0.1rem;
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        list-style: none;
        transition: color 0.2s ease;
    }

        .subnav-list summary::-webkit-details-marker {
            display: none;
        }

        .subnav-list summary::before,
        .subnav-list .subnav-plain::before {
            content: "";
            flex: none;
            width: 1rem;
            height: 1px;
            background: var(--gold);
            opacity: 0.55;
            transition: width 0.25s ease, opacity 0.25s ease;
        }

        .subnav-list summary:hover::before,
        .subnav-list .subnav-plain:hover::before {
            width: 1.7rem;
            opacity: 1;
        }

        .subnav-list summary:hover,
        .subnav-list .subnav-plain:hover {
            color: #ffcc01;
        }

        /* Gold chevron, rotates when the entry is expanded */
        .subnav-list summary::after {
            content: "";
            margin-left: auto;
            flex: none;
            border-left: 4.5px solid transparent;
            border-right: 4.5px solid transparent;
            border-top: 5px solid white;
            transition: transform 0.25s ease;
        }

.subnav-item details[open] > summary::after {
    transform: rotate(180deg);
}

/* Nested links revealed on click */
.subnav-sublist {
    list-style: none;
    margin: 0.1rem 0 0.7rem;
    padding: 0 0 0 1.75rem;
}

    .subnav-sublist a {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.38rem 0.1rem;
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        letter-spacing: 0.03em;
        transition: color 0.2s ease;
    }

        .subnav-sublist a::before {
            content: "";
            flex: none;
            width: 0.55rem;
            height: 1px;
            background: var(--gold);
            opacity: 0.55;
        }

        .subnav-sublist a:hover {
            color: #ffcc01;
        }

/* Keep deep anchor targets clear of the sticky bars */
.tool-card, .project {
    scroll-margin-top: 7rem;
}

/* ---------- Hero ---------- */

#main {
    padding: 0 !important;
    margin-top: 100px;
}

    #main .hero {
        margin-top: 50px;
    }

    #main p {
        font-size: 2.4rem;
    }


#ai-banners {
    margin: 100px 0;
}

.sub-banner {
    margin-top: 0px !important;
    margin-bottom: 50px;
}

#automation-title {
    position: relative;
    top: 70px;
}

.hero {
    position: relative;
    background: black;
    color: var(--ivory);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
    }

    .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(100deg, rgba(11, 20, 32, 0.83) 15%, rgba(11, 20, 33, 0.42) 82%, rgba(11, 20, 32, 0.55) 100%); 
        /*background: linear-gradient(100deg, rgba(11, 20, 32, 0.43) 15%, rgba(11, 20, 33, 0.22) 82%, rgba(11, 20, 32, 0.55) 100%);*/
        /*background: linear-gradient(100deg, rgba(11, 20, 32, 0.93) 0%, rgba(11, 20, 32, 0.72) 42%, rgba(11, 20, 32, 0.55) 100%);*/
    }

.hero-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(4.5rem, 11vw, 8.5rem) 1.5rem clamp(4rem, 9vw, 7rem);
    display: flex;
    flex-direction: row;
    margin-top: 20%;
    text-align: left;
}

#hero-title, .showcase-title {
    color: white !important;
}

#hero-logo img {
    height: 300px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

/*
               .hero-eyebrow::before {
                   content: "";
                   width: 2.6rem;
                   height: 1px;
                   background: var(--gold);
               }
               */

.hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 5.2vw, 3.7rem);
    max-width: 15ch;
    margin-bottom: 0.55em;
}

.showcase-title {
    max-width: none !important;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-soft);
}

.hero-lede {
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    color: #d8dde4;
    margin-bottom: 2.2rem;
}

@media (max-width: 1450px) {
    .hero-inner {
        flex-direction: column;
        margin-top: 40%;
        text-align: left;
    }
}

@media (min-width: 2830px) {

    .showcase-banner {
        margin-top: 50px;
        display: flex;
        flex-direction: row;
    }

        .sub-banner .hero-media, .showcase-banner .hero-media {
            width: 67%;
        }

    #sub-banner-01-media, #sub-banner-03-media {
        justify-self: right;
    }

    .showcase .hero-media {
        position: absolute;
        inset: 0;
        display: flex;
        width: 80%;
    }

    .sub-banner .hero-inner, .showcase-banner .hero-inner {
        /* float: right; */
        position: relative;
        /* max-width: var(--max); */
        margin: 0 auto;
        padding: clamp(4.5rem, 11vw, 8.5rem) 1.5rem clamp(4rem, 9vw, 7rem);
        display: flex;
        flex-direction: row;
        /* margin-top: 40%; */
        text-align: left;
        width: 44%;
        right: -39%;
    }

    #sub-banner-01 {
        right: 27%;
    }

    #sub-banner-03 {
        right: 27%;
        top: -100px;
    }
}

/* ---------- Small screens: sub-menu becomes one dropdown bar ---------- */
@media (max-width: 960px) {
    :root {
        --header-h: 67px;
    }

    #main h2 {
        font-size: 3.1rem;
    }

    #main h3 {
        font-size: 3rem;
    }

    #main .hero {
        margin-top: 0px;
    }

    .page-body {
        display: block;
    }

    .header-inner {
        min-height: 64px;
        padding: 0.55rem 1.2rem;
    }



    .brand svg {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .main-nav {
        display: none;
    }
    /* primary links live in the dropdown bar */

    .subnav {
        position: fixed;
        width: 100%;
        top: -33px;
        z-index: 55;
        background: black;
        border-right: 0;
        border-bottom: 1px solid rgba(201, 162, 39, 0.4);
        padding: 0;
    }
    /* Invisible but focusable checkbox stretched over the bar: both pointer
        and keyboard (Space) operate the dropdown without any script. */
    .subnav-toggle {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3rem;
        margin: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

        .subnav-toggle:focus-visible ~ .subnav-bar {
            outline: 3px solid var(--gold);
            outline-offset: -3px;
        }

    .subnav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.95rem 1.2rem;
        color: var(--ivory);
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .subnav-arrow {
        width: 0;
        height: 0;
        flex: none;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid var(--gold);
        transition: transform 0.25s ease;
    }

    .subnav-toggle:checked ~ .subnav-bar .subnav-arrow {
        transform: rotate(180deg);
    }

    /* The drop-down panel overlays the content beneath the bar */
    .subnav-panel {
        /*position: absolute; */
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: black;
        border-bottom: 1px solid rgba(201, 162, 39, 0.4);
        box-shadow: 0 26px 44px rgba(0, 0, 0, 0.4);
        padding: 0.3rem 1.1rem 1rem;
    }

    .subnav-toggle:checked ~ .subnav-panel {
        display: block;
    }

    .subnav-title {
        display: none;
    }

    .subnav-list summary,
    .subnav-list .subnav-plain {
        color: var(--ivory);
        padding: 0.7rem 0.1rem;
    }

        .subnav-list summary::after {
            border-top-color: var(--gold);
        }

        .subnav-list summary:hover,
        .subnav-list .subnav-plain:hover {
            color: var(--gold-soft);
        }

    .subnav-sublist a {
        color: #c6cfda;
        padding: 0.5rem 0.1rem;
    }

        .subnav-sublist a:hover {
            color: var(--gold-soft);
        }

    .section {
        scroll-margin-top: 8.5rem;
    }

    .tool-card, .project {
        scroll-margin-top: 9.5rem;
    }
}



.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
}

    .btn-gold:hover {
        background: var(--gold-soft);
        color: var(--navy-900);
    }

.btn-ghost {
    border: 1px solid rgba(248, 244, 234, 0.55);
    color: var(--ivory);
}

    .btn-ghost:hover {
        border-color: var(--gold);
        color: var(--gold-soft);
    }

/* ---------- Stats band ---------- */
.stats {
    background: var(--navy-800);
    border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.stats-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.1rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    color: var(--gold);
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b9c2cd;
}

/* ---------- Generic section ---------- */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}

.section-inner {
    max-width: 80%; /*var(--max); */
    margin: 0 auto;
}

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.9rem;
}

    .eyebrow::before {
        content: "";
        width: 2.2rem;
        height: 1px;
        background: var(--gold);
    }

.showcase {
    text-align: center;
    width: 100%;
    max-width: none;
}

    .showcase .eyebrow {
        font-style: italic;
    }

        .showcase .eyebrow::before {
            display: none;
        }

.section-head h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.showcase p {
    color: #aeb8c4;
}

/* ---------- Tool cards ---------- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.8rem;
}

.tool-card {
    /*background: var(--white); */
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(11, 20, 32, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .tool-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

    .tool-card:focus-within {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

.tool-figure {
    position: relative;
    margin: 0;
}

    .tool-figure img {
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

.tool-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    background: rgba(11, 20, 32, 0.85);
    color: var(--gold-soft);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 3px;
    border: 1px solid rgba(201, 162, 39, 0.5);
}

.tool-body {
    padding: 1.5rem 1.5rem 1.7rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .tool-body h3 {
        font-size: 1.95rem;
        margin-bottom: 0.45rem;
    }

    .tool-body p {
        color: white;
        font-size: 0.98rem;
        flex: 1;
    }

.tool-meta {
    list-style: none;
    margin: 0.4rem 0 1.2rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

    .tool-meta li {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--navy-700);
        background: var(--ivory-deep);
        border: 1px solid var(--line);
        padding: 0.25rem 0.6rem;
        border-radius: 999px;
    }

.tool-link {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-dark);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

    .tool-link:hover {
        color: var(--navy-800);
    }

/* ---------- Projects (alternating feature rows) ---------- */
.projects {
    background: black;
    color: #d5dbe3;
}

    .projects .section-head h2 {
        color: var(--white);
    }

    .showcase .section-head p, .projects .section-head p {
        color: #aeb8c4;
    }

    .projects .eyebrow {
        color: var(--gold);
    }

.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.8rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.8rem, 4vw, 2.8rem) 0;
    border-top: 1px solid rgba(201, 162, 39, 0.22);
}

    .project:first-of-type {
        border-top: 0;
        padding-top: 0;
    }

.project-media img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}


.project:nth-of-type(even) .project-media {
    order: 2;
}


.project-index {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    display: block;
    margin-bottom: 0.6rem;
}

.project h3 {
    color: var(--white) !important;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.project p {
    color: #b7c0cb;
    font-size: 1rem;
}

.project-list {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

    .project-list li {
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.55rem;
        color: #cdd5de;
        font-size: 0.97rem;
    }

        .project-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.62em;
            width: 0.7rem;
            height: 2px;
            background: var(--gold);
        }

.status {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 3px;
    border: 1px solid var(--gold);
    color: var(--gold-soft);
}

/* ---------- Principles ---------- */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.6rem;
}

.principle {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.7rem 1.5rem;
}

    .principle h3 {
        font-size: 1.12rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

        .principle h3 svg {
            flex: none;
        }

    .principle p {
        color: var(--ink-soft);
        font-size: 0.95rem;
        margin: 0;
    }

/* ---------- FAQ ---------- */
.faq {
    background: var(--ivory-deep);
}

    .faq details {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        margin-bottom: 0.9rem;
        overflow: hidden;
    }

    .faq summary {
        cursor: pointer;
        list-style: none;
        padding: 1.15rem 1.4rem;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 1.08rem;
        font-weight: 600;
        color: var(--navy-800);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

        .faq summary::-webkit-details-marker {
            display: none;
        }

        .faq summary::after {
            content: "+";
            font-size: 1.5rem;
            line-height: 1;
            color: var(--gold-dark);
            transition: transform 0.2s ease;
            flex: none;
        }

    .faq details[open] summary::after {
        transform: rotate(45deg);
    }

    .faq details[open] summary {
        border-bottom: 1px solid var(--line);
    }

    .faq .faq-body {
        padding: 1.1rem 1.4rem 1.3rem;
        color: var(--ink-soft);
    }

        .faq .faq-body p:last-child {
            margin-bottom: 0;
        }

/* ---------- Contact / CTA ---------- */
.contact {
    background: var(--navy-900);
    color: #cdd5de;
    text-align: center;
}

    .contact h2 {
        color: var(--white);
        font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    }

    .contact p {
        max-width: 52ch;
        margin: 0 auto 2rem;
        color: #aeb8c4;
    }

.contact-rule {
    width: 4.5rem;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1.6rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    color: #8e99a7;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem 2rem;
}

    .footer-inner p {
        margin: 0;
    }

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}

.footer-nav a {
    color: #b9c2cd;
    text-decoration: none;
}

    .footer-nav a:hover {
        color: var(--gold-soft);
    }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .project {
        grid-template-columns: 1fr;
    }

        .project:nth-of-type(even) .project-media {
            order: 0;
        }
}

@media (max-width: 640px) {
    /*
    .header-inner {
        justify-content: center;
        text-align: center;
    }
    */

    .main-nav ul {
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .tool-card:hover, .tool-card:focus-within {
        transform: none;
    }
}

