/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #25262a;
    background: #ffffff;
}

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

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


/* =========================================
   BRAND
========================================= */

:root {
    --charcoal: #25262a;
    --charcoal-light: #303238;
    --light-grey: #dce4f0;
    --white: #ffffff;
    --red: #c9003d;

    --container: 1180px;
}


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

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

    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: #f5f6f8;
}

.section-dark {
    background: var(--charcoal);
    color: var(--white);
}


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

.site-header {
    background: var(--charcoal);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    min-height: 82px;

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

    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    font-weight: 800;
    font-size: 15px;
}

.navbar-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
}


.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 18px;
    line-height: 1.1;
}

.brand-text small {
    margin-top: 4px;

    color: var(--light-grey);

    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
}

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

.nav-cta {
    padding: 11px 18px;

    background: var(--red);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;
}


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

.hero {
    background: var(--charcoal);
    color: var(--white);

    padding: 110px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    gap: 80px;

    align-items: center;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;

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

.hero h1 {
    max-width: 780px;

    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;

    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 650px;

    margin-top: 30px;

    color: var(--light-grey);

    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}


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

.button {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 22px;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

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

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

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.button-light {
    margin-top: 25px;

    background: var(--white);
    color: var(--charcoal);
}


/* =========================================
   PROJECT FEATURE
========================================= */

.project-highlight {
    padding: 34px;

    background: #303238;

    border-left: 4px solid var(--red);
}

.project-label {
    display: block;

    margin-bottom: 18px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.project-highlight h2 {
    font-size: 28px;
    line-height: 1.15;
}

.project-highlight p {
    margin-top: 15px;

    color: var(--light-grey);
}

.project-meta {
    margin: 30px 0;

    display: grid;
    gap: 18px;
}

.project-meta div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 12px;

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

.project-meta span {
    color: #aeb5c0;

    font-size: 12px;
}

.project-meta strong {
    font-size: 13px;
}

.project-highlight > a {
    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}


/* =========================================
   HEADINGS
========================================= */

.section h2 {
    max-width: 800px;

    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;

    letter-spacing: -0.03em;
}

.section-light p {
    margin-top: 24px;

    color: #555b65;

    font-size: 17px;
}

.text-link {
    display: inline-block;

    margin-top: 28px;

    color: var(--red);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;

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

    gap: 40px;

    margin-bottom: 55px;
}


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

.service-grid {
    display: grid;

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

    gap: 1px;

    background: #dfe2e7;
}

.service-card {
    min-height: 280px;

    padding: 40px;

    background: var(--white);
}

.service-number {
    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    margin-top: 25px;

    font-size: 25px;
    line-height: 1.15;
}

.service-card p {
    margin-top: 18px;

    color: #646a73;

    font-size: 15px;
}


/* =========================================
   EXPERIENCE
========================================= */

.experience-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.experience-grid p {
    margin-bottom: 20px;

    color: var(--light-grey);

    font-size: 17px;
}


/* =========================================
   CONSULTATION
========================================= */

.consultation {
    text-align: center;
}

.consultation-inner {
    max-width: 750px;
}

.consultation h2 {
    margin-inline: auto;
}

.consultation p:not(.eyebrow) {
    max-width: 620px;

    margin: 25px auto;

    color: #60656e;

    font-size: 17px;
}


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

.site-footer {
    padding-top: 70px;

    background: #1d1e21;
    color: var(--white);
}

.footer-grid {
    display: grid;

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

    gap: 60px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 800;
}

.footer-grid p {
    margin-top: 10px;

    color: #aeb5c0;

    font-size: 14px;
}

.footer-grid h3 {
    margin-bottom: 15px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-grid a {
    display: block;

    margin-top: 8px;

    color: #c9ced6;

    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--red);
}

.footer-bottom {
    margin-top: 60px;

    padding: 20px 0;

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

.footer-bottom p {
    color: #858b94;

    font-size: 12px;
}


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

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .hero-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-grid {
        gap: 50px;
    }

    .experience-grid {
        gap: 40px;
    }

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


@media (max-width: 600px) {

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

    .section {
        padding: 70px 0;
    }

    .nav-container {
        min-height: 70px;
    }

    .brand-text small {
        display: none;
    }

    .nav-cta {
        display: none;
    }

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

    .hero-text {
        font-size: 17px;
    }

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

    .button {
        width: 100%;
    }

    .project-highlight {
        padding: 25px;
    }

    .project-meta div {
        flex-direction: column;
        gap: 4px;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   INNER PAGE HERO
========================================= */

.page-hero {
    padding: 90px 0;
}

.page-hero h1 {
    max-width: 850px;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.about-copy p {
    margin-bottom: 24px;

    color: #555b65;

    font-size: 17px;
}


/* =========================================
   PRINCIPAL
========================================= */

.principal-grid {
    display: grid;

    grid-template-columns: 0.65fr 1.35fr;

    gap: 80px;
}
.principal-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    font-weight: 800;
    font-size: 15px;
}

.principal-initials {
    width: 90px;
    height: 90px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    background: var(--charcoal);
    color: var(--white);

    font-size: 24px;
    font-weight: 800;

    border-bottom: 5px solid var(--red);
}

.principal-intro h3 {
    font-size: 28px;
}

.principal-intro p {
    margin-top: 8px;

    color: #666c75;
}

.principal-content p {
    margin-bottom: 24px;

    color: #555b65;

    font-size: 17px;
}


/* =========================================
   CREDENTIALS
========================================= */

.credential-grid {
    display: grid;

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

    gap: 1px;

    margin-top: 55px;

    background: #dfe2e7;
}

.credential-card {
    min-height: 260px;

    padding: 32px;

    background: var(--white);
}

.credential-card > span {
    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}

.credential-card h3 {
    margin-top: 30px;

    font-size: 21px;
    line-height: 1.2;
}

.credential-card p {
    margin-top: 15px;

    color: #666c75;

    font-size: 14px;
}


/* =========================================
   SERVICE LIST
========================================= */

.service-list {
    display: flex;
    flex-direction: column;

    gap: 1px;

    background: #dfe2e7;
}

.service-detail {
    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 50px;

    padding: 55px;

    background: var(--white);
}

.service-detail-number {
    color: var(--red);

    font-size: 20px;
    font-weight: 800;
}

.service-detail h2 {
    max-width: 700px;

    font-size: clamp(30px, 4vw, 46px);
}

.service-detail > div > p:not(.eyebrow) {
    max-width: 750px;

    margin-top: 20px;

    color: #60656e;

    font-size: 16px;
}

.service-detail ul {
    display: grid;

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

    gap: 10px 40px;

    max-width: 800px;

    margin-top: 28px;

    padding-left: 18px;

    color: #555b65;

    font-size: 14px;
}


/* =========================================
   TOOLS
========================================= */

.tool-grid {
    display: grid;

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

    gap: 1px;

    margin-top: 50px;

    background: #dfe2e7;
}

.tool-item {
    display: flex;
    flex-direction: column;

    padding: 30px;

    background: var(--white);
}

.tool-item strong {
    font-size: 18px;
}

.tool-item span {
    margin-top: 6px;

    color: #666c75;

    font-size: 14px;
}


/* =========================================
   FEATURED PROJECT
========================================= */

.featured-project {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    margin-top: 35px;

    background: var(--charcoal);

    color: var(--white);
}

.featured-project-main {
    padding: 55px;
}

.featured-project-side {
    padding: 55px;

    background: #303238;

    border-left: 4px solid var(--red);
}

.project-status {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.featured-project h2 {
    max-width: 700px;

    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
}

.featured-project-description {
    max-width: 700px;

    margin-top: 25px;

    color: var(--light-grey);

    font-size: 17px;
}

.project-scope {
    display: grid;

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

    gap: 20px;

    margin-top: 45px;
}

.project-scope div {
    padding-top: 15px;

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

.project-scope span {
    display: block;

    color: #aeb5c0;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-scope strong {
    display: block;

    margin-top: 7px;

    font-size: 14px;
}

.featured-project-side p:not(.eyebrow) {
    margin-bottom: 22px;

    color: var(--light-grey);

    font-size: 15px;
}


/* =========================================
   PROJECT CARDS
========================================= */

.project-list {
    display: grid;

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

    gap: 1px;

    background: #dfe2e7;
}

.project-card {
    min-height: 370px;

    padding: 38px;

    background: var(--white);
}

.project-card-header {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

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

.project-card h3 {
    margin-top: 30px;

    font-size: 27px;
    line-height: 1.1;
}

.project-client {
    margin-top: 10px;

    color: #777d86;

    font-size: 12px;
    font-weight: 700;
}

.project-card > p:not(.project-client) {
    margin-top: 20px;

    color: #60656e;

    font-size: 15px;
}

.project-role {
    display: inline-block;

    margin-top: 25px;

    padding: 7px 10px;

    background: #f0f1f3;

    color: #555b65;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================
   RESPONSIVE INNER PAGES
========================================= */

@media (max-width: 900px) {

    .about-grid,
    .principal-grid,
    .featured-project {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .principal-grid {
        gap: 45px;
    }

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

    .featured-project-side {
        border-left: 0;
        border-top: 4px solid var(--red);
    }

    .project-list {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 60px 1fr;

        gap: 25px;

        padding: 40px 30px;
    }
}


@media (max-width: 600px) {

    .page-hero {
        padding: 70px 0;
    }

    .credential-grid,
    .tool-grid {
        grid-template-columns: 1fr;
    }

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

        gap: 10px;

        padding: 35px 25px;
    }

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

    .featured-project-main,
    .featured-project-side {
        padding: 30px 25px;
    }

    .project-scope {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: auto;

        padding: 30px 25px;
    }
}
/* =========================================
   CONSULTATION PAGE
========================================= */

.consultation-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.consultation-intro h2 {
    max-width: 600px;
}

.consultation-intro > p:not(.eyebrow) {
    max-width: 600px;
    margin-top: 25px;
    color: #555b65;
    font-size: 17px;
}

.consultation-points {
    display: grid;
    gap: 1px;
    margin-top: 45px;
    background: #dfe2e7;
}

.consultation-points div {
    padding: 24px;
    background: #fff;
}

.consultation-points strong {
    display: block;
    font-size: 15px;
}

.consultation-points span {
    display: block;
    margin-top: 6px;
    color: #666c75;
    font-size: 13px;
}


/* FORM */

.form-wrapper {
    padding: 45px;
    background: #fff;
    border-top: 4px solid var(--red);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--charcoal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d5d9df;
    background: #fafafa;
    color: var(--charcoal);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--charcoal);
    background: #fff;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--red);
}

.form-error {
    display: none;
    margin-top: 6px;
    color: var(--red);
    font-size: 11px;
}

.form-group.has-error .form-error {
    display: block;
}

.form-submit {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.form-status {
    display: none;
    padding: 15px;
    font-size: 13px;
}

.form-status.success {
    display: block;
    background: #eef6f0;
    color: #315c3b;
}

.form-status.error {
    display: block;
    background: #fbecef;
    color: #8c1839;
}


/* MOBILE */

@media(max-width:900px) {

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

@media(max-width:600px) {

    .form-wrapper {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }

}

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

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition: transform .2s ease, opacity .2s ease;
}

.main-nav a.active {
    color: var(--red);
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .6s ease,
        transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


@media(max-width:900px) {

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 15px 20px 25px;

        background: var(--charcoal);

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

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;

        z-index: 100;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 15px 5px;
    }

    .main-nav .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

}


@media(max-width:600px) {

    .main-nav {
        top: 70px;
    }

}