@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../assets/fonts/montserrat-v31-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../assets/fonts/montserrat-v31-latin-500.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../assets/fonts/montserrat-v31-latin-700.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../assets/fonts/montserrat-v31-latin-900.woff2") format("woff2");
}

:root {
    --black: #050505;
    --panel: #131313;
    --white: #fff;
    --muted: #c9c9c9;
    --orange: #f56516;
    --orange-dark: #ee4c28;
    --yellow: #ffd322;
    --page-width: 1420px;
    --gutter: clamp(20px, 4.2vw, 68px);
    --header-height: 94px;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

.page-width {
    width: min(calc(100% - 2 * var(--gutter)), var(--page-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    translate: 0 -160%;
    background: var(--white);
    color: var(--black);
}

.skip-link:focus {
    translate: 0;
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    display: flex;
    height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--gutter);
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    background: rgb(5 5 5 / 94%);
    backdrop-filter: blur(12px);
}

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

.brand__logo {
    width: 70px;
    height: auto;
}

.brand__location {
    color: var(--orange);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.header-link::after {
    margin-left: 10px;
    color: var(--orange);
    content: "↓";
}

.header-link:hover,
.header-link:focus-visible {
    color: var(--orange);
}

.hero {
    position: relative;
    min-height: max(720px, calc(100svh - var(--header-height)));
    margin-top: var(--header-height);
    overflow: hidden;
    background: #2a130a;
}

.hero__picture,
.hero__image,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgb(0 0 0 / 91%) 0%, rgb(0 0 0 / 70%) 35%, rgb(0 0 0 / 12%) 72%),
        linear-gradient(0deg, rgb(0 0 0 / 68%) 0%, transparent 30%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: max(720px, calc(100svh - var(--header-height)));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 74px 120px;
}

.hero__eyebrow,
.eyebrow {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero__eyebrow {
    margin-bottom: 18px;
    color: var(--orange);
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
}

.hero h1 {
    max-width: 930px;
    font-size: clamp(48px, 6.1vw, 94px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.94;
    text-transform: uppercase;
}

.hero__lead {
    max-width: 690px;
    margin-top: 34px;
    color: var(--orange);
    font-size: clamp(21px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.25;
}

.hero__text {
    max-width: 690px;
    margin-top: 18px;
    color: #ececec;
    font-size: clamp(16px, 1.2vw, 19px);
}

.hero .button {
    margin-top: 18px;
}

.hero__closing {
    margin-top: 28px;
    color: var(--white);
    font-size: clamp(19px, 1.6vw, 25px);
    font-weight: 700;
    line-height: 1.25;
}

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 54px;
    text-align: center;
}

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

h2 {
    color: var(--orange);
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-transform: uppercase;
}

.locations {
    padding-block: clamp(90px, 10vw, 150px);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.location-card {
    position: relative;
    display: flex;
    min-height: 500px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(34px, 5vw, 72px);
    overflow: hidden;
}

.location-card--orange {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
}

.location-card--dark {
    border: 1px solid #333;
    background: var(--panel);
}

.location-card__number {
    position: absolute;
    top: 14px;
    right: 28px;
    color: rgb(255 255 255 / 9%);
    font-size: clamp(92px, 11vw, 168px);
    font-weight: 900;
    line-height: 1;
}

.location-card h3 {
    position: relative;
    max-width: 600px;
    margin-bottom: 34px;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-transform: uppercase;
}

.location-card > p:not(.location-card__number) {
    position: relative;
    max-width: 520px;
    margin-bottom: 42px;
    font-size: clamp(17px, 1.5vw, 21px);
}

.text-link {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 35%);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span {
    color: var(--yellow);
    font-size: 28px;
    transition: translate 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
    translate: 7px 0;
}

.together {
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    align-items: center;
    border-top: 1px solid #2b2b2b;
    background: var(--black);
    color: var(--white);
}

.together__visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 100%;
}

.together__visual picture,
.together__visual picture img {
    width: 100%;
    height: 100%;
}

.together__visual picture img {
    object-fit: cover;
    object-position: center;
}

.dot-matrix {
    position: absolute;
    right: -65px;
    bottom: 48px;
    width: 150px;
}

.together__content {
    width: 100%;
    min-width: 0;
    max-width: 720px;
    padding: clamp(56px, 6vw, 100px) clamp(30px, 4vw, 68px);
}

.together__content .eyebrow {
    color: #bdbdbd;
}

.together__content h2 {
    margin-bottom: 34px;
    font-size: clamp(34px, 3.6vw, 60px);
}

.together__content p:not(.eyebrow) {
    margin-bottom: 38px;
}

.contact {
    background: linear-gradient(110deg, var(--orange-dark), var(--orange));
}

.contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr) auto;
    align-items: center;
    gap: clamp(34px, 5vw, 80px);
    padding-block: clamp(72px, 8vw, 110px);
}

.contact h2 {
    max-width: 760px;
    color: var(--white);
}

.contact__details {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.contact__details a {
    width: fit-content;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.contact__name {
    font-weight: 700;
}

.button--light {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

.button--light:hover,
.button--light:focus-visible {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.site-footer {
    border-top: 1px solid #333;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 55px;
    padding-block: 85px;
}

.site-footer__logo {
    width: 190px;
    height: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: minmax(230px, auto) minmax(140px, auto);
    gap: 55px;
    justify-self: start;
}

.footer-links__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h2 {
    margin-bottom: 28px;
    color: var(--white);
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    color: #d1d1d1;
    font-size: 16px;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--orange);
}

@media (max-width: 1050px) {
    .together {
        grid-template-columns: 1fr;
    }

    .together__visual {
        min-height: auto;
    }

    .together__visual picture img {
        aspect-ratio: 16 / 9;
    }

    .dot-matrix {
        right: var(--gutter);
        bottom: -45px;
    }

    .together__content {
        max-width: 780px;
    }

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

    .contact .button {
        width: fit-content;
        grid-column: 1 / -1;
    }

    .site-footer__inner {
        grid-template-columns: 140px 1fr;
        gap: 40px;
        padding-block: 70px;
    }

    .site-footer__logo {
        width: 140px;
    }

    .footer-links {
        grid-template-columns: minmax(210px, auto) minmax(130px, auto);
        gap: 40px;
    }

    .footer-links h2 {
        margin-bottom: 16px;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 78px;
    }

    body {
        font-size: 16px;
    }

    .site-header {
        padding-inline: 18px;
    }

    .brand {
        gap: 14px;
    }

    .brand__logo {
        width: 54px;
    }

    .brand__location {
        max-width: 110px;
        font-size: 10px;
        line-height: 1.25;
    }

    .header-link {
        font-size: 0;
    }

    .header-link::after {
        margin-left: 0;
        font-size: 24px;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
    }

    .hero__image {
        object-position: center top;
    }

    .hero__overlay {
        background:
            linear-gradient(0deg, rgb(0 0 0 / 98%) 0%, rgb(0 0 0 / 81%) 50%, rgb(0 0 0 / 10%) 100%),
            linear-gradient(90deg, rgb(0 0 0 / 35%), transparent);
    }

    .hero__content {
        min-height: calc(100svh - var(--header-height));
        justify-content: flex-end;
        padding-block: 260px 82px;
    }

    .hero h1 {
        font-size: clamp(41px, 12vw, 62px);
    }

    .hero__lead {
        margin-top: 24px;
        font-size: 19px;
    }

    .hero__text {
        font-size: 15px;
    }

    .hero__eyebrow {
        margin-bottom: 14px;
        font-size: clamp(25px, 8vw, 34px);
    }

    .button {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 38px;
        text-align: left;
    }

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

    .location-card {
        min-height: 430px;
        padding: 34px 26px;
    }

    .location-card__number {
        right: 16px;
    }

    .location-card h3 {
        font-size: 34px;
    }

    .text-link {
        font-size: 12px;
    }

    .together__visual picture img {
        aspect-ratio: 4 / 5;
        object-position: center top;
    }

    .dot-matrix {
        right: 20px;
        bottom: -25px;
        width: 96px;
    }

    .together__content {
        padding: 72px 20px 82px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact .button {
        width: 100%;
        grid-column: auto;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 38px;
        padding-block: 60px 74px;
    }

    .site-footer__logo {
        width: 145px;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: minmax(0, 1.7fr) minmax(90px, 0.8fr);
        gap: 24px;
        justify-self: stretch;
    }

    .footer-links h2 {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-links a {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .text-link span {
        transition: none;
    }
}
