@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');


:root {
    --black: #111111;
    --dark: #171717;
    --cream: #f2efe8;
    --white: #ffffff;
    --grey: #686868;
    --light-grey: #d8d5ce;
    --accent: #d6ff3f;

    --max-width: 1240px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", Arial, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.5;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(var(--max-width), calc(100% - 80px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: relative;
    z-index: 20;
    background: var(--cream);
    border-bottom: 1px solid rgba(17,17,17,.12);
}


.nav-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.04em;
}


.logo-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(17,17,17,.08);
}


.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    font-size: 24px;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;

    font-size: 14px;
    font-weight: 500;
}


.main-nav a {
    transition: opacity .2s ease;
}


.main-nav a:hover {
    opacity: .55;
}


.main-nav .nav-contact {
    padding: 11px 17px;

    background: var(--black);
    color: var(--white);

    border-radius: 999px;
}


.mobile-menu-button {
    display: none;

    border: 0;
    background: none;

    font-size: 24px;
    cursor: pointer;
}


/* =========================
   TYPOGRAPHY
========================= */

.eyebrow,
.section-label,
.service-number,
.number,
.process-grid span,
.hero-caption,
.footer-small {
    font-family: "DM Mono", monospace;
}


.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 30px;
}


.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;

    margin-bottom: 35px;
}


.section-label.light {
    color: rgba(255,255,255,.55);
}


h1,
h2,
h3 {
    letter-spacing: -.055em;
}


h1 {
    font-size: clamp(68px, 9vw, 130px);
    line-height: .88;
    font-weight: 600;
}


h1 span {
    color: var(--grey);
}


h2 {
    font-size: clamp(42px, 5.4vw, 78px);
    line-height: .94;
    font-weight: 600;
}


h3 {
    font-size: 23px;
    line-height: 1.05;
}


p {
    color: var(--grey);
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    padding: 15px 20px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform .2s ease,
        background .2s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-dark {
    background: var(--black);
    color: var(--white);
}


.button-light {
    background: var(--white);
    color: var(--black);
}


.button-outline {
    border: 1px solid rgba(17,17,17,.35);
}


.button-outline:hover {
    background: var(--black);
    color: var(--white);
}


.text-link {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}


.light-link {
    color: var(--white);
}


/* =========================
   HERO
========================= */

.hero {
    padding: 105px 0 110px;
    overflow: hidden;
}

.hero-visual img,
.asset-card img,
.about-visual img,
.contact-visual img,
.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;

    align-items: center;
}


.hero-copy {
    position: relative;
    z-index: 2;
}


.hero-lead {
    max-width: 580px;

    margin-top: 40px;

    font-size: 19px;
    line-height: 1.55;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}


.hero-visual {
    min-height: 570px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card {
    width: min(520px, 100%);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(17,17,17,.16);
    box-shadow: 0 24px 70px rgba(17,17,17,.14);
}

.compass-circle {
    width: min(480px, 80vw);
    aspect-ratio: 1;

    position: relative;

    border: 1px solid rgba(17,17,17,.22);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}


.compass-circle::before,
.compass-circle::after {
    content: "";

    position: absolute;

    background: rgba(17,17,17,.15);
}


.compass-circle::before {
    width: 1px;
    height: 100%;
}


.compass-circle::after {
    height: 1px;
    width: 100%;
}


.compass-ring {
    position: absolute;
    inset: 42px;

    border: 1px solid rgba(17,17,17,.15);
    border-radius: 50%;
}


.compass-symbol {
    width: 170px;
    height: 170px;

    position: relative;

    border: 1px solid rgba(17,17,17,.35);
    border-radius: 50%;
}


.needle {
    width: 4px;
    height: 115px;

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) rotate(35deg);

    background: var(--black);

    clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
}


.compass-symbol span {
    position: absolute;

    font-family: "DM Mono", monospace;
    font-size: 11px;
}


.north {
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
}


.south {
    bottom: -29px;
    left: 50%;
    transform: translateX(-50%);
}


.east {
    right: -27px;
    top: 50%;
    transform: translateY(-50%);
}


.west {
    left: -27px;
    top: 50%;
    transform: translateY(-50%);
}


.hero-caption {
    position: absolute;
    bottom: 5px;
    left: 0;

    display: flex;
    gap: 18px;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}


/* =========================
   MARQUEE
========================= */

.marquee {
    overflow: hidden;

    padding: 17px 0;

    background: var(--black);
    color: var(--white);

    white-space: nowrap;
}


.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;

    animation: marquee 28s linear infinite;
}


.marquee b {
    color: var(--accent);
    font-size: 8px;
}


@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 125px 0;
}


.section-light {
    background: var(--cream);
}


.section-dark {
    background: var(--black);
    color: var(--white);
}


.section-accent {
    background: var(--accent);
}


.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


.two-column h2 {
    max-width: 650px;
}


.large-text {
    font-size: 19px;
    line-height: 1.6;
}


.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 60px;

    margin-top: 100px;

    border-top: 1px solid var(--light-grey);
    padding-top: 35px;
}


.principles article {
    position: relative;
}


.number {
    display: block;

    margin-bottom: 40px;

    font-size: 11px;
    color: #888;
}


.principles h3 {
    margin-bottom: 18px;
}


.principles p {
    max-width: 340px;
}


/* =========================
   SERVICES
========================= */

.asset-showcase {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.asset-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17,17,17,.1);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(17,17,17,.06);
}

.asset-card img {
    height: 220px;
}

.asset-card div {
    padding: 22px 22px 24px;
}

.asset-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.asset-card p {
    font-size: 15px;
    color: var(--grey);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 75px;
}


.section-header h2 {
    max-width: 800px;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid rgba(255,255,255,.18);
    border-left: 1px solid rgba(255,255,255,.18);
}


.service-card {
    min-height: 320px;

    position: relative;

    padding: 35px;

    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);

    transition: background .3s ease;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(17,17,17,.78), rgba(17,17,17,.35));
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card--manufacturing {
    background-image: url('../assets/manufacturing.jpg');
}

.service-card--ai {
    background-image: url('../assets/ai.jpg');
}

.service-card--it {
    background-image: url('../assets/datacentre.jpg');
}

.service-card--automation {
    background-image: url('../assets/automation.jpg');
}

.service-card--data {
    background-image: url('../assets/analytics.jpg');
}

.service-card--training {
    background-image: url('../assets/training.jpg');
}


.service-card:hover {
    background: #202020;
}


.service-number {
    font-size: 11px;
    color: rgba(255,255,255,.45);
}


.service-card h3 {
    max-width: 370px;
    margin-top: 80px;
}


.service-card p {
    max-width: 380px;
    margin-top: 15px;

    color: rgba(255,255,255,.55);
}


.service-arrow {
    position: absolute;
    right: 35px;
    bottom: 30px;

    font-size: 22px;
}


/* =========================
   PROCESS
========================= */

.wide-heading {
    max-width: 900px;
}


.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 85px;

    border-top: 1px solid var(--light-grey);
    border-left: 1px solid var(--light-grey);
}


.process-grid article {
    min-height: 260px;

    padding: 30px;

    border-right: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}


.process-grid span {
    display: block;

    margin-bottom: 60px;

    font-size: 11px;
    color: #888;
}


.process-grid h3 {
    margin-bottom: 13px;
}


.process-grid p {
    max-width: 310px;
}


/* =========================
   WHY
========================= */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.why-grid h2 span {
    display: block;
    opacity: .45;
}


.discipline-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 40px;
}


.discipline-list span {
    padding: 9px 13px;

    border: 1px solid rgba(17,17,17,.25);
    border-radius: 999px;

    font-size: 12px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 130px 0;

    background: var(--black);
    color: var(--white);

    text-align: center;
}


.cta-inner {
    max-width: 850px;
}


.cta h2 {
    font-size: clamp(58px, 8vw, 110px);
}


.cta p {
    max-width: 600px;

    margin: 35px auto;

    font-size: 18px;
    color: rgba(255,255,255,.55);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 80px 0 30px;

    background: var(--black);
    color: var(--white);

    border-top: 1px solid rgba(255,255,255,.15);
}


.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 70px;

    padding-bottom: 70px;
}


.footer-logo {
    margin-bottom: 25px;
}


.footer-top p {
    color: rgba(255,255,255,.65);
}


.footer-small {
    max-width: 390px;

    margin-top: 20px;

    font-size: 11px;
    line-height: 1.7;
}


.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 11px;

    font-size: 13px;
}


.footer-column h4 {
    margin-bottom: 15px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;

    color: rgba(255,255,255,.45);
}


.footer-column a,
.footer-column span {
    color: rgba(255,255,255,.75);
}


.footer-column a:hover {
    color: white;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.15);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: rgba(255,255,255,.4);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .container {
        width: min(var(--max-width), calc(100% - 40px));
    }

    .asset-showcase {
        grid-template-columns: 1fr;
    }

    .asset-grid {
        grid-template-columns: 1fr 1fr;
    }


    .main-nav {
        display: none;

        position: absolute;

        top: 82px;
        left: 0;
        right: 0;

        padding: 25px 20px;

        flex-direction: column;
        align-items: stretch;

        background: var(--cream);

        border-bottom: 1px solid rgba(17,17,17,.15);
    }


    .main-nav.open {
        display: flex;
    }


    .mobile-menu-button {
        display: block;
    }


    .hero {
        padding: 75px 0;
    }


    .hero-grid,
    .two-column,
    .why-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .hero-visual {
        min-height: 430px;
    }


    .principles {
        grid-template-columns: 1fr;

        gap: 45px;

        margin-top: 70px;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .process-grid {
        grid-template-columns: 1fr 1fr;
    }


    .footer-top {
        grid-template-columns: 1fr 1fr;
    }


    .footer-top > div:first-child {
        grid-column: 1 / -1;
    }

}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }


    .nav-container {
        min-height: 70px;
    }


    .main-nav {
        top: 70px;
    }


    h1 {
        font-size: 66px;
    }


    h2 {
        font-size: 43px;
    }


    .hero {
        padding: 65px 0;
    }


    .hero-lead {
        font-size: 17px;
    }


    .hero-visual {
        min-height: 350px;
    }


    .compass-circle {
        width: 310px;
    }


    .compass-symbol {
        width: 120px;
        height: 120px;
    }


    .compass-ring {
        inset: 25px;
    }


    .needle {
        height: 80px;
    }


    .section {
        padding: 85px 0;
    }


    .section-header {
        display: block;
    }


    .section-header .text-link {
        display: inline-block;
        margin-top: 25px;
    }


    .asset-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
        padding: 25px;
    }


    .service-card h3 {
        margin-top: 70px;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-grid article {
        min-height: 230px;
    }


    .footer-top {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .footer-top > div:first-child {
        grid-column: auto;
    }


    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }


    .cta {
        padding: 95px 0;
    }

}

.page-heading {
    margin-top: 20px;
    max-width: 1050px;
}


.page-intro {
    max-width: 760px;
    margin-top: 45px;
}


.service-detail {
    padding: 90px 0;

    border-bottom: 1px solid rgba(255,255,255,.15);
}


.service-detail:last-child {
    border-bottom: 0;
}


.service-detail h2 {
    max-width: 800px;
    margin: 20px 0;
}


.service-detail > p {
    max-width: 700px;
    margin-top: 20px;
    color: rgba(255,255,255,.55);
}


.service-detail .large-text {
    color: white;
}


.service-detail ul,
.supporting-card ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px 40px;

    margin-top: 50px;

    list-style: none;
}


.service-detail li,
.supporting-card li {
    font-size: 14px;
    color: rgba(255,255,255,.65);
}


.service-detail li::before,
.supporting-card li::before {
    content: "—";
    margin-right: 10px;
    color: var(--accent);
}


.supporting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-top: 75px;
}


.supporting-card {
    padding: 40px;

    border: 1px solid var(--light-grey);
}


.supporting-card h3 {
    margin: 30px 0 20px;
}


.supporting-card p {
    margin-bottom: 25px;
}


.supporting-card ul {
    margin-top: 25px;
}


.supporting-card li {
    color: var(--grey);
}


@media (max-width: 700px) {

    .service-detail ul,
    .supporting-card ul,
    .supporting-grid {
        grid-template-columns: 1fr;
    }

}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;

    margin-top: 100px;

    padding-top: 40px;

    border-top: 1px solid var(--light-grey);
}


.mission-grid .section-label {
    margin-bottom: 20px;
}

.about-visual {
    margin-top: 50px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.12);
    box-shadow: 0 18px 44px rgba(17,17,17,.08);
}

.about-visual img {
    height: 360px;
}

.service-visual {
    margin-top: 10px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.12);
    box-shadow: 0 18px 44px rgba(17,17,17,.08);
}

.service-visual img {
    height: 360px;
}

.contact-side {
    display: grid;
    gap: 28px;
}


@media (max-width: 700px) {

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

.contact-page {
    padding: 130px 0;

    min-height: 650px;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 120px;
}


.contact-page h1 span {
    color: var(--grey);
}


.contact-page .large-text {
    max-width: 650px;
    margin-top: 40px;
}


.contact-details {
    border-top: 1px solid var(--light-grey);
}


.contact-item {
    padding: 28px 0;

    border-bottom: 1px solid var(--light-grey);
}


.contact-item > span {
    display: block;

    margin-bottom: 10px;

    font-family: "DM Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;

    color: #777;
}


.contact-item > a {
    font-size: 18px;
}


.contact-item > a:hover {
    text-decoration: underline;
}


.small-copy {
    max-width: 450px;
    margin-top: 10px;

    font-size: 14px;
}


@media (max-width: 800px) {

    .contact-page {
        padding: 90px 0;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

}