/* =========================================================
   ALL DIGITAL — AV & TECHNOLOGY CONSULTING
   HOMEPAGE — APPROVED BENCHMARK
   ========================================================= */

:root {
    --navy: var(--alldigital-navy);
    --navy-deep: #102531;
    --blue: var(--alldigital-blue);
    --sky: var(--alldigital-sky);
    --mist: var(--alldigital-mist);
    --slate: var(--alldigital-slate);
    --warm-white: var(--alldigital-warm-white);

    --text: #2C3E50;
    --muted: #526B80;
    --border: #DCE5E5;

    --max-width: 1180px;
    --page-gutter: 40px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--alldigital-font);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 102px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
}

.header-logo {
    display: block;
    width: 390px;
    max-width: 38vw;
    max-height: 90px;
    height: auto;
    object-fit: contain;
    margin-left: -72px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    font-family: var(--alldigital-font-semibold);
    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}



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

.hero {
    position: relative;
    min-height: 565px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy-deep);
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("/images/hero-boardroom.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(10, 38, 52, 0.98) 0%,
            rgba(12, 43, 58, 0.96) 28%,
            rgba(14, 48, 64, 0.88) 43%,
            rgba(15, 49, 64, 0.58) 58%,
            rgba(15, 42, 54, 0.20) 75%,
            rgba(10, 28, 36, 0.12) 100%
        ),
        linear-gradient(
            180deg,
            rgba(9, 31, 42, 0.12) 0%,
            rgba(9, 31, 42, 0.12) 60%,
            rgba(9, 31, 42, 0.30) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 54px var(--page-gutter) 58px;
}

.eyebrow {
    margin-bottom: 24px;
    color: var(--sky);
    font-family: var(--alldigital-font-semibold);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 26px;
    color: #ffffff;
    font-family: var(--alldigital-font-light);
    font-size: clamp(48px, 5.2vw, 68px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.10);
}

.hero-intro {
    max-width: 720px;
    color: #F2F6F7;
    font-family: var(--alldigital-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    font-family: var(--alldigital-font-semibold);
    font-size: 14px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button-primary {
    color: #ffffff;
    background: var(--blue);
    border: 1px solid var(--blue);
}

.button-primary:hover {
    background: #528CA8;
    border-color: #528CA8;
}

.button-secondary {
    color: #ffffff;
    background: rgba(11, 39, 52, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
    color: var(--navy);
    background: #ffffff;
    border-color: #ffffff;
}

.button-light {
    color: var(--navy);
    background: #ffffff;
    border: 1px solid #ffffff;
}

.button-light:hover {
    background: var(--mist);
}


/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.section-label {
    margin-bottom: 12px;
    color: var(--sky);
    font-family: var(--alldigital-font-semibold);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.intro h2,
.services h2,
.experience h2,
.about h2,
.contact h2 {
    color: var(--navy);
    font-family: var(--alldigital-font-light);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -0.025em;
}


/* =========================================================
   APPROACH
   ========================================================= */

.intro {
    padding: 34px 0 46px;
    background: var(--warm-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.intro h2 {
    max-width: 430px;
    font-size: 38px;
}

.intro-copy {
    color: var(--muted);
    font-family: var(--alldigital-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.intro-copy p + p {
    margin-top: 10px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    padding: 72px 0 80px;
    background: var(--warm-white);
}

.services > .container > h2 {
    max-width: none;
    margin-bottom: 46px;
    font-size: clamp(36px, 3.65vw, 48px);
    white-space: nowrap;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border-top: 1px solid #D2DCDF;
    border-left: 1px solid #D2DCDF;
}

.service-card {
    min-height: 225px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
    background: #ffffff;
    border-right: 1px solid #D2DCDF;
    border-bottom: 1px solid #D2DCDF;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    position: relative;
    z-index: 1;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 63, 90, 0.08);
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-family: var(--alldigital-font-semibold);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: var(--muted);
    font-family: var(--alldigital-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   EXPERIENCE + ABOUT
   ========================================================= */

.experience,
.about {
    padding: 86px 0;
}

.experience {
    background: #ffffff;
}

.about {
    background: var(--warm-white);
    border-top: 1px solid var(--border);
}

.two-column-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.experience h2,
.about h2 {
    max-width: 500px;
    font-size: clamp(34px, 4vw, 48px);
}

.section-copy {
    color: var(--muted);
    font-family: var(--alldigital-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.section-copy p + p {
    margin-top: 22px;
}

.section-copy strong {
    color: var(--navy);
    font-family: var(--alldigital-font-semibold);
    font-weight: 600;
}

.about-signature {
    margin-top: 22px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 96px 0 98px;
    color: #ffffff;
    background: var(--navy);
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact .section-label {
    margin-bottom: 16px;
    color: var(--sky);
}

.contact h2 {
    max-width: 800px;
    margin: 0;
    color: #ffffff;
    font-family: var(--alldigital-font-light);
    font-size: clamp(38px, 4.2vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.contact-intro {
    max-width: 720px;
    margin-top: 24px;
    color: #D6E0E5;
    font-family: var(--alldigital-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}

.contact .button-light {
    min-height: 52px;
    padding-left: 27px;
    padding-right: 27px;
}

.contact-location {
    margin: 0;
    color: #AFC4CF;
    font-family: var(--alldigital-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.035em;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 42px 0;
    color: #ffffff;
    background: var(--navy-deep);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-inner > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer-inner strong {
    font-family: var(--alldigital-font-semibold);
    font-size: 18px;
    letter-spacing: 0.15em;
}

.footer-inner span {
    margin-top: 5px;
    color: var(--sky);
    font-size: 8px;
    letter-spacing: 0.22em;
}

.footer-details {
    color: #AFBEC7;
    font-size: 12px;
    text-align: right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .services > .container > h2 {
        white-space: normal;
    }
}


@media (max-width: 900px) {

    :root {
        --page-gutter: 28px;
    }

    .site-header {
        height: 92px;
    }

    .header-logo {
        width: 290px;
        max-width: 55vw;
        max-height: 76px;
        margin-left: -50px;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a:not(.nav-contact) {
        display: none;
    }

    .hero {
        min-height: 540px;
    }

    .hero-image {
        background-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(10, 38, 52, 0.98) 0%,
                rgba(12, 43, 58, 0.94) 48%,
                rgba(13, 45, 60, 0.72) 72%,
                rgba(12, 39, 52, 0.48) 100%
            );
    }

    .hero-content {
        padding-top: 52px;
        padding-bottom: 54px;
    }

    .intro-grid,
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .services {
        padding: 64px 0 70px;
    }

    .services > .container > h2 {
        margin-bottom: 40px;
        font-size: 40px;
        white-space: normal;
    }

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    :root {
        --page-gutter: 18px;
    }

    .site-header {
        height: 82px;
    }

    .header-logo {
        width: 230px;
        max-width: 66vw;
        max-height: 66px;
        margin-left: -38px;
    }

    .main-nav .nav-contact {
        font-size: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-image {
        background-position: 61% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(10, 38, 52, 0.97) 0%,
                rgba(10, 38, 52, 0.92) 100%
            );
    }

    .hero-content {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-intro {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }

    .intro {
        padding: 34px 0 46px;
    }

    .intro h2 {
        font-size: 34px;
    }

    .services {
        padding: 56px 0 62px;
    }

    .services > .container > h2 {
        margin-bottom: 32px;
        font-size: 34px;
        line-height: 1.18;
        white-space: normal;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 30px 26px;
    }

    .experience,
    .about {
        padding: 70px 0;
    }

    .contact {
        padding: 70px 0 72px;
    }

    .contact h2 {
        font-size: 36px;
    }

    .contact-intro {
        font-size: 16px;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .contact .button-light {
        width: 100%;
    }

    .contact-location {
        font-size: 12px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-details {
        text-align: left;
    }
}