/* Fonts */

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/FixelDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/FixelDisplay-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/FixelDisplay-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/FixelDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Base */

:root {
    --dark-color: #141414;
    --darker-color: #101010;
    --paper-color: #ffffff;
    --accent-color: #d88518;
    --accent-strong: #bd7413;
    --ink-color: #1a1a1a;
    --text-color: #33312e;
    --muted-color: #6b6763;
    --white-color: #ffffff;
    --hairline-dark: rgba(26, 26, 26, .12);
    --hairline-light: rgba(255, 255, 255, .14);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Fixel Display", "Segoe UI", system-ui, sans-serif;
    --section-pad: 80px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    background: var(--paper-color);
    color: var(--text-color);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.eyebrow {
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 1.3px;
    line-height: 1.2;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn__icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-ghost {
    border-color: var(--accent-color);
    color: var(--white-color);
}

.btn-ghost:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--ink-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
}

@media (max-width: 1199px) {
    :root {
        --section-pad: 80px;
    }
}

@media (max-width: 991px) {
    :root {
        --section-pad: 60px;
    }

    html {
        scroll-padding-top: 100px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    body {
        font-size: 16px;
    }

    .eyebrow {
        font-size: 22px;
        letter-spacing: -.9px;
    }

    .btn {
        min-height: 48px;
        padding: 0 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 26px 0;
    transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}

.header.is-scrolled {
    padding: 15px 0;
    background: rgba(16, 16, 16, .82);
    box-shadow: 0 1px 0 var(--hairline-light);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-logo {
    display: block;
    width: 150px;
    flex-shrink: 0;
    transition: width .4s var(--ease);
}

.header.is-scrolled .header-logo {
    width: 130px;
}

.header-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    cursor: pointer;
}

.header-burger__line {
    display: block;
    height: 2px;
    background: var(--white-color);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav__link {
    position: relative;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .2px;
    line-height: 1.2;
    white-space: nowrap;
}

.header-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width .4s var(--ease);
}

.header-nav__link:hover::after {
    width: 100%;
}

.header-lang {
    position: relative;
}

.header-lang__current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .55);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    cursor: pointer;
    transition: color .3s var(--ease);
}

.header-lang__current:hover,
.header-lang.is-open .header-lang__current {
    color: var(--accent-color);
}

.header-lang__chevron {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--ease);
}

.header-lang.is-open .header-lang__chevron {
    transform: rotate(180deg);
}

.header-lang__list {
    position: absolute;
    top: calc(100% + 16px);
    right: -16px;
    min-width: 178px;
    padding: 8px 0;
    background: rgba(16, 16, 16, .96);
    border: 1px solid var(--hairline-light);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.header-lang.is-open .header-lang__list {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-lang__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.2;
    transition: color .3s var(--ease), background .3s var(--ease);
}

.header-lang__link:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--white-color);
}

.header-lang__link.is-active {
    color: var(--accent-color);
}

.header-lang__code {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: .55;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

@media (max-width: 1199px) {
    .header-menu {
        gap: 24px;
    }

    .header-nav {
        gap: 20px;
    }

    .header-nav__link {
        font-size: 15px;
    }

    .header-lang {
        display: none;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 16px 0;
    }

    .header.is-scrolled {
        padding: 16px 0;
    }

    /* transition: none - drop backdrop-filter instantly so the header stays containing-block for the fixed menu */
    .header:has(.header-toggle:checked) {
        background: var(--darker-color);
        backdrop-filter: none;
        box-shadow: none;
        transition: none;
    }

    .header-inner {
        gap: 16px;
    }

    .header-logo,
    .header-burger {
        position: relative;
        z-index: 3;
    }

    .header-burger {
        display: flex;
        order: 3;
        margin-left: 0;
    }

    .header-menu {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 2;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin-left: 0;
        padding: 104px 24px 40px;
        background: var(--darker-color);
        overflow-y: auto;
    }

    .header-toggle:checked~.header-menu {
        display: flex;
    }

    body:has(.header-toggle:checked) {
        overflow: hidden;
    }

    .header-toggle:checked~.header-burger .header-burger__line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .header-toggle:checked~.header-burger .header-burger__line:nth-child(2) {
        opacity: 0;
    }

    .header-toggle:checked~.header-burger .header-burger__line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .header-nav__link {
        font-size: 18px;
    }

    .header-nav__link::after {
        display: none;
    }

    .header-lang {
        display: block;
        order: 2;
        margin-left: auto;
        z-index: 3;
    }

    .header-actions {
        margin-top: 34px;
    }

    .header-actions .btn {
        width: 100%;
        min-height: 56px;
    }
}

/* Hero */

.hero {
    position: relative;
    min-height: 840px;
    background: var(--darker-color);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    animation: hero-zoom 20s var(--ease) forwards;
}

@keyframes hero-zoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 12, 16, .72) 0%, rgba(8, 12, 16, .34) 48%, rgba(8, 12, 16, 0) 78%);
}

.hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 870px;
    padding-top: 240px;
    padding-bottom: 240px;
}

.hero-title,
.hero-rule,
.hero-tags,
.hero-actions {
    animation: hero-in 1.1s var(--ease) backwards;
}

.hero-title {
    max-width: 845px;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 70px;
    font-weight: 500;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.hero-title__accent,
.hero-title strong,
.hero-title b {
    color: var(--accent-color);
    font-weight: inherit;
}

.hero-rule {
    display: block;
    width: 190px;
    height: 2px;
    margin-top: 34px;
    background: var(--accent-color);
    animation-delay: .1s;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    gap: 18px 48px;
    margin-top: 34px;
    animation-delay: .2s;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white-color);
    font-size: 18px;
    line-height: 1.2;
}

.hero-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-color);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 46px;
    animation-delay: .3s;
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199px) {

    .hero,
    .hero-inner {
        min-height: 700px;
    }

    .hero-inner {
        padding-top: 150px;
    }

    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {

    .hero,
    .hero-inner {
        min-height: 580px;
    }

    .hero-inner {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 0;
    }

    .hero-rule {
        margin-top: 26px;
    }

    .hero-tags {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        gap: 16px 24px;
        margin-top: 26px;
    }

    .hero-tag {
        gap: 10px;
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 34px;
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 220px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-bg,
    .hero-title,
    .hero-rule,
    .hero-tags,
    .hero-actions {
        animation: none;
    }
}

/* About */

.about {
    padding: var(--section-pad) 0;
    padding-top: 60px;
    background: var(--paper-color);
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    align-items: center;
    gap: 64px;
}

.about-media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.about-media:hover img {
    transform: scale(1.04);
}

.about-title {
    margin-top: 26px;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.about-rule {
    display: block;
    width: 193px;
    height: 1px;
    margin-top: 24px;
    background: var(--accent-color);
}

.about-text {
    max-width: 640px;
    margin-top: 24px;
    color: var(--muted-color);
    line-height: 1.6;
}

.about-text p+p {
    margin-top: 22px;
}

@media (max-width: 1199px) {
    .about-inner {
        gap: 40px;
    }

    .about-title {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-media {
        aspect-ratio: 16 / 9;
    }

    .about-title {
        margin-top: 20px;
        font-size: 26px;
    }

    .about-text {
        margin-top: 20px;
    }
}

/* Stats */

.stats {
    padding: 60px 0;
    background: var(--dark-color);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 35px 0;
    justify-content: center;
}

.stats-item:first-child {
    padding-left: 0;
}

.stats-item+.stats-item {
    border-left: 1px solid var(--hairline-light);
}

.stats-item__icon {
    display: block;
    height: 54px;
    width: auto;
    flex-shrink: 0;
    transition: transform .4s var(--ease);
}

.stats-item:hover .stats-item__icon {
    transform: translateY(-5px);
}

.stats-item__value {
    display: block;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 500;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.stats-item__label {
    display: block;
    max-width: 200px;
    margin-top: 4px;
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.4;
}

@media (max-width: 1199px) {
    .stats-item__value {
        font-size: 36px;
    }

    .stats-item__label {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .stats {
        padding: 44px 0;
    }

    .stats-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .stats-item {
        gap: 16px;
        padding-left: 0;
    }

    .stats-item+.stats-item {
        border-left: 0;
        padding-top: 26px;
        border-top: 1px solid var(--hairline-light);
    }

    .stats-item__icon {
        height: 44px;
    }

    .stats-item__label {
        max-width: none;
    }
}

/* Services */

.services {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.services-head {
    text-align: center;
}

.services-title {
    margin-top: 40px;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.services-rule {
    display: block;
    width: 193px;
    height: 1px;
    margin: 0 auto;
    margin-top: 24px;
    background: var(--accent-color);
}

.services-desc {
    max-width: 660px;
    margin: 0 auto;
    margin-top: 24px;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.6;
}

.services-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 66px;
}

.services-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 280px;
    width: 100%;
}

.services-item__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.services-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, #000000 17.79%, rgba(0, 0, 0, 0) 100%);
    transition: .6s var(--ease);
}

.services-item:hover .services-item__media {
    transform: scale(1.06);
}

.services-item:hover::after {
    opacity: 50%;
}

.services-item__body {
    position: relative;
    z-index: 1;
    padding: 28px;
    max-width: 95%;
}

.services-item__title {
    display: block;
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    transition: color .3s var(--ease);
}

.services-item:hover .services-item__title {
    color: var(--accent-strong);
}

.services-item__desc {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.5;
}

.services-item__arrow {
    position: absolute;
    right: 24px;
    bottom: 28px;
    z-index: 1;
    color: rgba(255, 255, 255, .7);
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1;
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.services-item:hover .services-item__arrow {
    color: var(--accent-strong);
    transform: translateX(4px);
}

.services-actions {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 1199px) {
    .services-title {
        font-size: 32px;
    }

    .services-items {
        gap: 24px;
        margin-top: 50px;
    }

    .services-item__body {
        padding: 24px;
    }
}

@media (max-width: 991px) {
    .services-title {
        font-size: 26px;
    }

    .services-desc {
        font-size: 16px;
    }

    .services-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .services-items {
        grid-template-columns: 1fr;
    }

    .services-item {
        aspect-ratio: 3 / 2;
    }
}

/* Projects */

.projects {
    padding: var(--section-pad) 0;
    background: var(--dark-color);
}

.projects-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
}

.projects-link {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .3s var(--ease);
}

.projects-link:hover {
    color: var(--accent-color);
}

.projects-title {
    max-width: 720px;
    margin-top: 24px;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 56px;
}

.project-case {
    display: block;
}

.project-case__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.project-case__preview {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.project-case:hover .project-case__preview {
    transform: scale(1.06);
}

.project-case__tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    background: var(--accent-color);
    border-radius: 999px;
    color: var(--white-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.project-case__title {
    display: block;
    margin-top: 20px;
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    transition: color .3s var(--ease);
}

.project-case:hover .project-case__title {
    color: var(--accent-strong);
}

.project-case__place {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.4;
}

.projects-actions {
    margin-top: 48px;
    text-align: center;
}

@media (max-width: 1199px) {
    .projects-title {
        font-size: 30px;
    }

    .projects-grid {
        gap: 24px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .projects-title {
        font-size: 26px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-case__preview {
        aspect-ratio: 3 / 2;
    }
}

/* Whyus */

.whyus {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.whyus-eyebrow {
    text-align: center;
}

.whyus-items {
    display: grid;
    /* minmax(0,1fr) - stops a long label from blowing out its column */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 40px;
}

.whyus-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    text-align: center;
}

.whyus-item+.whyus-item {
    border-left: 1px solid var(--hairline-dark);
}

.whyus-item__title {
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    overflow-wrap: break-word;
    max-width: 250px;
}

.whyus-item__desc {
    margin-top: 18px;
    color: var(--muted-color);
    font-size: 15px;
    line-height: 1.6;
}

.whyus--dark {
    background: var(--dark-color);
}

.whyus--dark .whyus-item+.whyus-item {
    border-color: var(--hairline-light);
}

.whyus--dark .whyus-item:nth-child(even) {
    border-color: var(--hairline-light);
}

.whyus--dark .whyus-item__title {
    color: var(--white-color);
}

.whyus--dark .whyus-item__desc {
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 1199px) {
    .whyus-item {
        padding: 0 16px;
    }

    .whyus-item__title {
        font-size: 19px;
    }

    .whyus-item__desc {
        margin-top: 14px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .whyus-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
        margin-top: 34px;
    }

    .whyus-item {
        align-items: flex-start;
        text-align: left;
    }

    .whyus-item:nth-child(odd) {
        padding-left: 0;
    }

    .whyus-item+.whyus-item {
        border-left: 0;
    }

    .whyus-item:nth-child(even) {
        border-left: 1px solid var(--hairline-dark);
    }
}

@media (max-width: 575px) {
    .whyus-items {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .whyus-item {
        align-items: center;
        text-align: center;
        padding: 32px 0;
    }

    .whyus-item:nth-child(even) {
        border-left: 0;
    }

    .whyus-item+.whyus-item {
        border-left: 0;
        border-top: 1px solid var(--hairline-dark);
    }

    .whyus--dark .whyus-item+.whyus-item {
        border-top-color: var(--hairline-light);
    }
}

/* Process */

.process {
    padding: var(--section-pad) 0;
    background: var(--dark-color);
}

.process-inner {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    align-items: stretch;
    gap: 70px;
    margin-top: 50px;
}

.process-media {
    position: relative;
    overflow: hidden;
}

.process-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.process-media:hover img {
    transform: scale(1.04);
}

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 17px;
    height: calc(100% + 40px);
    width: 1px;
    background: var(--hairline-light);
}

.process-step__num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 78px;
    padding-left: 34px;
    color: var(--paper-color);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.process-step__num::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translateY(-50%);
}

.process-step__title {
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.process-step__desc {
    max-width: 520px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .66);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1199px) {
    .process-inner {
        gap: 44px;
    }

    .process-step__title {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .process-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-media {
        aspect-ratio: 16 / 11;
    }

    .process-step {
        gap: 24px;
    }

    .process-step__num {
        width: 66px;
        padding-left: 30px;
        font-size: 26px;
    }

    .process-step__num::before {
        top: 13px;
    }

    .process-step:not(:last-child)::before {
        top: 13px;
    }

    .process-step__title {
        font-size: 20px;
    }

    .process-step__desc {
        font-size: 15px;
    }
}

/* Blog */

/* div-qualified: WP adds a "blog" class to <body> */
div.blog {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.blog-items {
    margin-top: 40px;
}

.blog-item+.blog-item {
    border-top: 1px solid var(--hairline-dark);
}

.blog-item__link {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 22px 0;
    transition: background .3s var(--ease);
}

.blog-item__thumb {
    flex-shrink: 0;
    width: 130px;
    height: 80px;
    object-fit: cover;
    border-radius: 44px;
}

.blog-item__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.blog-item__title {
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    transition: color .3s var(--ease);
}

.blog-item__link:hover .blog-item__title {
    color: var(--accent-color);
}

.blog-item__tag {
    padding: 6px 16px;
    background: var(--accent-color);
    border-radius: 999px;
    color: var(--white-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.blog-item__arrow {
    flex-shrink: 0;
    width: 12px;
    height: 20px;
    fill: none;
    stroke: var(--muted-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--ease), stroke .3s var(--ease);
}

.blog-item__link:hover .blog-item__arrow {
    stroke: var(--accent-color);
    transform: translateX(6px);
}

@media (max-width: 991px) {
    .blog-item__link {
        gap: 22px;
        padding: 18px 0;
    }

    .blog-item__thumb {
        width: 96px;
        height: 64px;
        border-radius: 34px;
    }

    .blog-item__title {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .blog-item__link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
        padding: 30px 0;
    }

    .blog-item__thumb {
        display: block;
        width: 100%;
        max-width: 190px;
        height: 80px;
        border-radius: 999px;
    }

    .blog-item__body {
        flex-direction: column-reverse;
        align-items: center;
        gap: 18px;
    }

    .blog-item__title {
        font-size: 22px;
    }

    .blog-item__arrow {
        display: none;
    }
}

/* Contact */

.contact {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--darker-color);
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: cta-drift 26s ease-in-out infinite alternate;
}

@keyframes cta-drift {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1.14) translate(-1.5%, -1%);
    }
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: #000000CC;
}

.contact-inner {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-title {
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.contact-desc {
    margin-top: 22px;
    color: rgba(255, 255, 255, .74);
    font-size: 18px;
    line-height: 1.6;
}

.contact-form {
    margin-top: 48px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 56px;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field__label {
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.contact-field__input {
    width: 100%;
    margin-top: 16px;
    padding: 10px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .32);
    color: var(--white-color);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.4;
    transition: border-color .3s var(--ease);
}

.contact-field__input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.contact-field__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.contact-form__foot {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 44px;
}

.contact-form__status {
    color: var(--white-color);
    font-size: 15px;
    line-height: 1.4;
}

.contact-form__status.is-error {
    color: #f0a35a;
}

/* CF7 */

.contact-form-wrap .wpcf7 {
    margin-top: 48px;
}

.contact-field .wpcf7-form-control-wrap {
    display: block;
}

.contact-form__foot .wpcf7-spinner {
    margin: 0;
}

.contact-form .wpcf7-not-valid-tip {
    margin-top: 8px;
    color: #f0a35a;
    font-size: 13px;
    line-height: 1.4;
}

.contact-field__input.wpcf7-not-valid {
    border-bottom-color: #f0a35a;
}

.contact-form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
    color: var(--white-color);
    font-size: 15px;
    line-height: 1.5;
}

.contact-form.invalid .wpcf7-response-output,
.contact-form.unaccepted .wpcf7-response-output,
.contact-form.spam .wpcf7-response-output,
.contact-form.aborted .wpcf7-response-output {
    color: #f0a35a;
}

@media (max-width: 1199px) {
    .contact-title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .contact-inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contact-title {
        font-size: 27px;
    }

    .contact-desc {
        margin-top: 18px;
        font-size: 16px;
    }

    .contact-form {
        margin-top: 36px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-field__label {
        font-size: 19px;
    }

    .contact-form__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .contact-form__foot .btn {
        min-height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-bg {
        animation: none;
    }
}

/* Footer */

.footer {
    padding: 60px 0 34px;
    background: var(--dark-color);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.footer-logo {
    display: block;
    width: 128px;
    flex-shrink: 0;
}

.footer-col {
    min-width: 0;
}

.footer-col:last-child {
    margin-left: auto;
}

.footer-col__title {
    margin-bottom: 22px;
    color: var(--white-color);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 16px 60px;
}

.footer-contacts {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 16px 70px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.4;
}

.footer-link {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.4;
    transition: color .3s var(--ease);
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 54px;
}

.footer-social img {
    height: 24px;
    width: auto;
    opacity: .82;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.footer-social:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-copy {
    margin-top: 24px;
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 991px) {
    .footer {
        padding: 44px 0 30px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 34px 44px;
        align-items: start;
    }

    .footer-logo {
        grid-column: 1 / -1;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col:last-child {
        margin-left: 0;
    }

    .footer-nav,
    .footer-contacts {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-socials {
        flex-wrap: wrap;
        margin-top: 40px;
    }
}

/* About page */

.hero--about {
    min-height: 0;
}

.hero--about .hero-inner {
    min-height: 780px;
    padding-top: 200px;
    padding-bottom: 150px;
}

.hero-lead {
    max-width: 845px;
    margin-top: 32px;
    animation: hero-in 1.1s var(--ease) backwards;
    animation-delay: .2s;
}

.hero-lead p {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.7;
}

.hero-lead p + p {
    margin-top: 20px;
}

.hero--about .hero-actions {
    animation-delay: .3s;
}

.mission {
    padding: var(--section-pad) 0;
    background: var(--dark-color);
    text-align: center;
}

.mission-eyebrow {
    text-align: center;
}

.mission-title {
    max-width: 1000px;
    margin: 30px auto 0;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.4;
}

.mission-title__accent,
.mission-title strong,
.mission-title b {
    color: var(--accent-color);
    font-weight: inherit;
}

@media (min-width: 992px) {
    .whyus-items--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.feature__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--dark-color);
    padding: 96px 56px 96px max(24px, calc((100vw - 1440px) / 2 + 24px));
}

.feature--reverse .feature__text {
    background: var(--paper-color);
    padding: 96px max(24px, calc((100vw - 1440px) / 2 + 24px)) 96px 56px;
}

.feature__title {
    max-width: 560px;
    margin-top: 30px;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -.2px;
    line-height: 1.3;
}

.feature--reverse .feature__title {
    color: var(--ink-color);
}

.feature__rule {
    display: block;
    width: 190px;
    height: 2px;
    margin-top: 30px;
    background: var(--accent-color);
}

.feature__body {
    max-width: 560px;
    margin-top: 30px;
}

.feature__body p {
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.7;
}

.feature__body p + p {
    margin-top: 22px;
}

.feature--reverse .feature__body p {
    color: var(--muted-color);
}

.feature__media {
    position: relative;
    overflow: hidden;
}

.feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.feature__media:hover img {
    transform: scale(1.04);
}

.stats--about .stats-inner {
    padding-bottom: 42px;
}

.stats-locations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.stats-location {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-color);
    font-size: 16px;
    line-height: 1.3;
}

.stats-location::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.cta {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--darker-color);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: cta-drift 26s ease-in-out infinite alternate;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 10, 14, .86) 0%, rgba(6, 10, 14, .62) 58%, rgba(6, 10, 14, .34) 100%);
}

.cta-inner {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.cta-title {
    max-width: 900px;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.cta-accent {
    color: var(--accent-color);
}

.cta-rule {
    display: block;
    width: 190px;
    height: 2px;
    margin-top: 28px;
    background: var(--accent-color);
}

.cta-desc {
    max-width: 640px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.6;
}

.cta-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 44px;
    margin-top: 30px;
}

.cta-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-color);
    font-size: 16px;
    line-height: 1.3;
}

.cta-tag::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.cta-actions {
    margin-top: 38px;
}

.cta--form .contact-form {
    margin-top: 44px;
}

@media (max-width: 1199px) {
    .mission-title {
        font-size: 34px;
    }

    .feature__title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .hero--about .hero-inner {
        min-height: 560px;
        padding-top: 120px;
        padding-bottom: 90px;
    }

    .hero-lead {
        max-width: 100%;
        margin-top: 24px;
    }

    .hero-lead p {
        font-size: 15px;
    }

    .mission-title {
        font-size: 26px;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .feature__media {
        order: -1;
        aspect-ratio: 16 / 10;
    }

    .feature__text,
    .feature--reverse .feature__text {
        padding: 44px 24px;
    }

    .feature__title {
        margin-top: 24px;
    }

    .stats-locations {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .stats-location {
        font-size: 17px;
    }

    .cta-inner {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-desc {
        font-size: 16px;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-lead,
    .cta-bg {
        animation: none;
    }
}

/* Projects page */

.projects-page__eyebrow {
    text-align: center;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 38px;
}

.filter {
    padding: 13px 28px;
    border: 1px solid var(--hairline-light);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.filter:hover {
    border-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.filter.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
}

.projects-grid--page {
    margin-top: 42px;
    row-gap: 46px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .projects-grid--page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .projects-filters {
        gap: 12px;
        margin-top: 30px;
    }

    .filter {
        padding: 11px 20px;
        font-size: 14px;
    }
}

/* Where page */

.regions-note {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: .3px;
    line-height: 1.4;
    text-transform: uppercase;
}

.regions-note__accent,
.regions-note strong,
.regions-note b {
    color: var(--accent-color);
    font-weight: inherit;
}

@media (max-width: 991px) {
    .regions-note {
        margin-top: 44px;
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .regions-note {
        font-size: 18px;
    }
}

/* Contacts page */

.hero--compact {
    min-height: 0;
}

.hero--compact .hero-overlay {
    background: #00000080
}

.hero--compact .hero-inner {
    min-height: 440px;
    padding-top: 170px;
    padding-bottom: 80px;
    align-items: center;
    text-align: center;
}

.hero--compact .hero-title {
    max-width: 820px;
    margin: 0 auto;
    animation: hero-in 1.1s var(--ease) backwards;
}

.contacts-directory {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.contacts-directory__eyebrow {
    text-align: center;
}

.contacts-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 44px;
}

.contacts-info__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 14px 20px;
    text-align: center;
}

.contacts-info__item + .contacts-info__item {
    border-left: 1px solid var(--hairline-dark);
}

.contacts-info__icon {
    width: 42px;
    height: 42px;
    color: var(--accent-color);
    transition: transform .4s var(--ease);
}

.contacts-info__item:hover .contacts-info__icon {
    transform: translateY(-5px);
}

.contacts-info__text {
    color: var(--ink-color);
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.contacts-info__text a {
    color: inherit;
    transition: color .3s var(--ease);
}

.contacts-info__text a:hover {
    color: var(--accent-color);
}

.contact--plain {
    display: block;
    background: var(--dark-color);
}

.contact-title__accent,
.contact-title strong,
.contact-title b {
    color: var(--accent-color);
    font-weight: inherit;
}

.process--light {
    background: var(--paper-color);
}

.process--light .process-step__num {
    color: var(--ink-color);
}

.process--light .process-step__title {
    color: var(--ink-color);
}

.process--light .process-step__desc {
    color: var(--muted-color);
}

.process--light .process-step:not(:last-child)::before {
    background: var(--hairline-dark);
}

@media (max-width: 991px) {
    .hero--compact .hero-inner {
        min-height: 340px;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .contacts-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
        margin-top: 34px;
    }

    .contacts-info__item:nth-child(odd) {
        padding-left: 0;
    }

    .contacts-info__item + .contacts-info__item {
        border-left: 0;
    }

    .contacts-info__item:nth-child(even) {
        border-left: 1px solid var(--hairline-dark);
    }
}

@media (max-width: 575px) {
    .contacts-info {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contacts-info__item {
        padding: 32px 20px;
    }

    .contacts-info__item:nth-child(even) {
        border-left: 0;
    }

    .contacts-info__item + .contacts-info__item {
        border-top: 1px solid var(--hairline-dark);
    }
}

/* Blog page */

.hero--flat {
    min-height: 0;
    background: var(--dark-color);
}

.hero--flat .hero-inner {
    min-height: 0;
    padding-top: 180px;
    padding-bottom: 30px;
    align-items: center;
    text-align: center;
}

.hero--flat .hero-title {
    max-width: 900px;
    margin: 0 auto;
    animation: hero-in 1.1s var(--ease) backwards;
}

.hero--flat .hero-rule {
    margin-left: auto;
    margin-right: auto;
}

.hero--flat .hero-lead {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* div-qualified: overrides div.blog above */
div.blog--page {
    background: var(--dark-color);
    padding-top: 30px;
}

.blog--page .blog-items {
    margin-top: 54px;
}

.blog--page .blog-item + .blog-item {
    border-top: 1px solid var(--hairline-light);
}

.blog--page .blog-item__title {
    color: var(--white-color);
}

.blog--page .blog-item__link:hover .blog-item__title {
    color: var(--accent-color);
}

.blog--page .blog-item__arrow {
    stroke: rgba(255, 255, 255, .6);
}

.blog--page .blog-item__link:hover .blog-item__arrow {
    stroke: var(--accent-color);
}

@media (max-width: 991px) {
    .hero--flat .hero-inner {
        padding-top: 130px;
    }
}

/* Services page */

.services-intro .about-title {
    margin-top: 0;
}

.services-items--two {
    grid-template-columns: repeat(2, 1fr);
}

.services-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 32 / 9;
}

.feature--flip .feature__text {
    padding: 96px max(24px, calc((100vw - 1440px) / 2 + 24px)) 96px 56px;
}

.cta-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin-top: 28px;
}

.cta-location {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-color);
    font-size: 17px;
    line-height: 1.2;
}

.cta-location::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 991px) {
    .feature--flip .feature__text {
        padding: 44px 24px;
    }
}

@media (max-width: 767px) {
    .services-items--two {
        grid-template-columns: 1fr;
    }

    .services-items--two .services-item,
    .services-item--wide {
        max-height: 100%;
        aspect-ratio: 1 / 1;        
    }
}

/* Article */

.hero--article {
    min-height: 0;
}

.hero--article .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 12, 16, .5) 0%, rgba(8, 12, 16, .42) 45%, rgba(8, 12, 16, .72) 100%);
}

.hero--article .hero-inner {
    min-height: 420px;
    padding-top: 160px;
    padding-bottom: 56px;
    justify-content: flex-end;
}

.breadcrumb {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.4;
    animation: hero-in 1.1s var(--ease) backwards;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .72);
    transition: color .3s var(--ease);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb p {
    margin: 0;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--accent-color);
}

.hero--article .hero-title {
    max-width: 900px;
    font-size: 46px;
    animation: hero-in 1.1s var(--ease) backwards;
    animation-delay: .1s;
}

.article {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.article-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.article-toc {
    position: sticky;
    top: 110px;
}

.article-toc__title {
    margin-bottom: 24px;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.article-toc__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-toc__list a {
    display: flex;
    gap: 12px;
    color: var(--muted-color);
    font-size: 15px;
    line-height: 1.4;
    transition: color .3s var(--ease);
}

.article-toc__list a::before {
    content: "";
    flex-shrink: 0;
    margin-top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
}

.article-toc__list a:hover {
    color: var(--accent-color);
}

.article-body {
    max-width: 800px;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.article-body > p {
    margin-bottom: 20px;
}

.article-h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    scroll-margin-top: 110px;
}

.article-h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 18px;
    background: var(--accent-color);
}

.article-link {
    color: var(--accent-color);
    transition: color .3s var(--ease);
}

.article-link:hover {
    color: var(--accent-strong);
}

.article-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.article-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
}

.article-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
}

.article-body strong,
.article-body b {
    color: var(--accent-color);
    font-weight: 600;
}

.article-list li.is-warn {
    color: var(--accent-color);
    font-weight: 600;
}

.article-signature {
    margin-top: 60px;
    text-align: center;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.article-signature strong {
    color: var(--accent-color);
}

@media (max-width: 991px) {
    .hero--article .hero-inner {
        min-height: 320px;
        padding-top: 120px;
    }

    .hero--article .hero-title {
        font-size: 30px;
    }

    .article-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-toc {
        position: static;
    }
}

/* Project */

.project-hero {
    padding-top: 150px;
    background: var(--dark-color);
}

.project-hero .breadcrumb {
    margin-bottom: 0;
    animation: none;
}

.project-hero__title {
    margin-top: 20px;
    color: var(--white-color);
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 400;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px 40px;
    margin-top: 34px;
    padding-bottom: 44px;
}

.project-meta li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.3;
}

.project-meta li::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.project-hero__media {
    overflow: hidden;
}

.project-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 8;
    object-fit: cover;
}

.challenge {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.challenge-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.challenge__media {
    overflow: hidden;
}

.challenge__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.challenge__media--tall img {
    aspect-ratio: 3 / 4;
}

.challenge__media:hover img {
    transform: scale(1.04);
}

.challenge__col {
    display: flex;
    flex-direction: column;
}

.challenge__text {
    margin-top: 24px;
    margin-bottom: 40px;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.challenge__col .challenge__media img {
    aspect-ratio: 16 / 10;
}

.scope {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.scope-list {
    max-width: 1040px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.scope-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 26px;
    color: var(--ink-color);
    font-size: 17px;
    line-height: 1.6;
}

.scope-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted-color);
}

.result {
    padding: var(--section-pad) 0;
    padding-bottom: 80px;
    background: var(--paper-color);
}

.result__text {
    max-width: 1100px;
    margin-top: 30px;
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.7;
}

.result-slider {
    position: relative;
    margin-top: 56px;
    padding: 0 70px;
}

.result-swiper {
    overflow: hidden;
}

.result-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.result-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--ink-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: color .3s var(--ease);
}

.result-nav:hover {
    color: var(--accent-color);
}

.result-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-prev {
    left: 0;
}

.result-next {
    right: 0;
}

.result-nav.swiper-button-disabled {
    opacity: .3;
    cursor: default;
}

.result-credits {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding: 0 70px;
}

.result-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-color);
    font-size: 16px;
    line-height: 1.3;
}

.result-credit::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

@media (max-width: 991px) {
    .project-hero {
        padding-top: 110px;
    }

    .project-hero__title {
        font-size: 32px;
    }

    .project-hero__media img {
        aspect-ratio: 16 / 10;
    }

    .challenge-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .challenge__media--tall img {
        aspect-ratio: 16 / 10;
    }

    .result-slider,
    .result-credits {
        padding: 0 44px;
    }
}

@media (max-width: 575px) {
    .result-slider,
    .result-credits {
        padding: 0;
    }

    .result-nav {
        display: none;
    }
}

/* Service */

.hero--service .hero-inner {
    min-height: 720px;
    padding-top: 180px;
    padding-bottom: 120px;
    justify-content: center;
}

.hero--service .breadcrumb {
    margin-bottom: 20px;
}

.svc-details {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.svc-row {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.svc-row + .svc-row {
    margin-top: 96px;
}

.svc-row__media {
    overflow: hidden;
}

.svc-row__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.svc-row__media:hover img {
    transform: scale(1.04);
}

.svc-row__title {
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.2px;
    line-height: 1.2;
}

.svc-row__rule {
    display: block;
    width: 193px;
    height: 1px;
    margin-top: 24px;
    background: var(--accent-color);
}

.svc-row__body {
    margin-top: 26px;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.svc-row__body p + p {
    margin-top: 20px;
}

.svc-offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
    row-gap: 54px;
    margin-top: 96px;
    padding: 0;
    list-style: none;
}

.svc-offer-item {
    padding-left: 30px;
    border-left: 1px solid var(--hairline-dark);
}

.svc-offer-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.svc-offer-item__title {
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.svc-offer-item__arrow {
    flex-shrink: 0;
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
}

.svc-offer-item__desc {
    margin-top: 18px;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.svc-related {
    padding: 0 0 var(--section-pad);
    background: var(--paper-color);
}

.svc-related__title {
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.svc-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
    row-gap: 24px;
    margin-top: 40px;
}

.svc-related__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0 6px 30px;
    border-left: 1px solid var(--hairline-dark);
    color: var(--accent-color);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.3;
    transition: color .3s var(--ease);
}

.svc-related__link:hover {
    color: var(--accent-strong);
}

.svc-related__arrow {
    flex-shrink: 0;
    font-size: 22px;
    transition: transform .3s var(--ease);
}

.svc-related__link:hover .svc-related__arrow {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .hero--service .hero-inner {
        min-height: 520px;
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .svc-row {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .svc-row__media img {
        aspect-ratio: 16 / 10;
    }

    .svc-row + .svc-row {
        margin-top: 60px;
    }

    .svc-offer-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
        margin-top: 60px;
    }

    .svc-related__grid {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }
}

.services-item__stretch {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Subservice */

.prose {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.prose__h2 {
    margin-top: 48px;
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -.2px;
    line-height: 1.3;
}

.prose__h2:first-child {
    margin-top: 0;
}

.prose__rule {
    display: block;
    width: 64px;
    height: 2px;
    margin: 16px 0 22px;
    background: var(--accent-color);
}

.prose__body {
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.prose__body p + p {
    margin-top: 18px;
}

.sub-links {
    padding: 0 0 var(--section-pad);
    background: var(--paper-color);
}

.sub-links__inner {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.sub-links__media {
    overflow: hidden;
}

.sub-links__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.sub-links__media:hover img {
    transform: scale(1.04);
}

.sub-links__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 991px) {
    .sub-links__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sub-links__list {
        gap: 30px;
    }
}

.svc-offer-item {
    position: relative;
}

.svc-offer-item__stretch {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Subservice deep */

.incl {
    padding: var(--section-pad) 0;
    background: var(--paper-color);
}

.incl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 46px;
    margin-top: 58px;
}

.incl-item__title {
    color: var(--ink-color);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.incl-item__rule {
    display: block;
    width: 64px;
    height: 2px;
    margin: 16px 0 18px;
    background: var(--accent-color);
}

.incl-item__desc {
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .incl-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 38px;
        margin-top: 40px;
    }
}

/* Modal */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    background: var(--darker-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden;
}

.modal__overlay {
    position: fixed;
    inset: 0;
}

.modal__dialog {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 116px 0 72px;
}

.modal__close {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.modal__close:hover {
    color: var(--white-color);
    transform: rotate(90deg);
}

.modal__close svg {
    display: block;
    width: 100%;
    height: 100%;
}

.modal .contact-title {
    max-width: 900px;
}

.modal .contact-form {
    margin-top: 44px;
}

@media (max-width: 991px) {
    .modal__dialog {
        padding: 96px 0 56px;
        justify-content: flex-start;
    }

    .modal__close {
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
    }
}
