/* Modernspace public site. Values follow the Archi theme so the look stays faithful. */

@font-face {
    font-family: 'Dosis';
    font-weight: 200 800;
    font-display: swap;
    src: url(../fonts/dosis-latin-var.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/roboto-300.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/roboto-400.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/roboto-500.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/roboto-700.woff2) format('woff2');
}

:root {
    --primary: #fa9702;
    --second: #111111;
    --bg: #18191b;
    --body: #bbbbbb;
    --heading: #eceff3;
    --white: #ffffff;
    --line: rgba(255, 255, 255, 0.1);
    --header-h: 90px;
    --font-body: Roboto, Arial, Helvetica, sans-serif;
    --font-heading: Dosis, Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 27px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--white);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px;
}

body:not(.is-home) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

body:not(.is-home)>main {
    flex: 1 0 auto;
}

p {
    margin: 0 0 16px;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 992px) and (max-width: 1350px) {
    .container {
        padding: 0 40px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--primary);
    color: #111;
    padding: 8px 16px;
    font-weight: 500;
}

.skip-link:focus {
    top: 12px;
}

.empty-message {
    text-align: center;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 3px;
    padding: 60px 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    height: var(--header-h);
}

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

.site-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 6px 0;
    flex: none;
}

.site-logo img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 12px 27px 12px 20px;
    font-size: 11px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    transition: color .2s;
}

.main-nav li:not(:last-child) a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--primary);
}

.main-nav li:last-child a {
    padding-right: 0;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    :root {
        --header-h: 74px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        border-top: 1px solid var(--line);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .main-nav ul {
        display: block;
        padding: 8px 0 16px;
    }

    .main-nav a {
        padding: 8px 15px;
        font-size: 13px;
    }

    .main-nav li:not(:last-child) a::after {
        display: none;
    }
}

/* Buttons */
.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 6px 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 24px;
    text-transform: uppercase;
    transition: background .25s, color .25s, border-color .25s;
}

.btn-line svg {
    color: #ffa902;
    transition: transform .25s, color .25s;
}

.btn-line:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #111;
}

.btn-line:hover svg {
    color: #111;
    transform: translateX(4px);
}

/* Home */
.is-home {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.is-home .site-header {
    flex: none;
    position: relative;
}

.hero {
    flex: 1;
    min-height: 0;
    position: relative;
}

.hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #0c0d0e;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    background: #0c0d0e;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s ease-out;
}

.swiper-slide-active .hero-image {
    transform: scale(1);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 14, .72) 0%, rgba(10, 12, 14, .45) 60%, rgba(10, 12, 14, .3) 100%);
}

.hero-text {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: clamp(70px, 9.4vw, 135px);
    padding-right: 70px;
    max-width: 100%;
}

.hero-sub {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: clamp(4px, .7vw, 10px);
    line-height: 22px;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 72px);
    font-weight: 300;
    letter-spacing: clamp(3px, 1vw, 15px);
    line-height: 1.15;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 42px;
    max-width: 1100px;
}

.hero-sub,
.hero-title,
.hero-button {
    opacity: 0;
    transform: translateY(24px);
}

.swiper-slide-active .hero-sub,
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-button {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform .8s ease;
}

.swiper-slide-active .hero-sub {
    transition-delay: .25s;
}

.swiper-slide-active .hero-title {
    transition-delay: .45s;
}

.swiper-slide-active .hero-button {
    transition-delay: .65s;
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .25s, color .25s, border-color .25s;
}

.hero-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #111;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-empty .hero-sub,
.hero-empty .hero-button {
    opacity: 1;
    transform: none;
}

@media (max-width: 767px) {
    .hero-text {
        padding-left: 24px;
        padding-right: 24px;
        justify-content: flex-end;
        padding-bottom: 96px;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(10, 12, 14, .25) 0%, rgba(10, 12, 14, .75) 75%);
    }

    .hero-nav {
        top: auto;
        bottom: 24px;
        margin-top: 0;
        width: 46px;
        height: 46px;
    }

    .hero-prev {
        left: 24px;
    }

    .hero-next {
        left: 78px;
        right: auto;
    }

    .hero-sub {
        margin-bottom: 14px;
    }

    .hero-title {
        margin-bottom: 26px;
    }
}

/* Inner page banner */
.page-header {
    position: relative;
    padding: 80px 0;
    background: #222 center center / cover no-repeat fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16, 20, 28, .72);
}

.page-header .inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.page-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    flex: none;
}

.breadcrumbs li+li::before {
    content: '/';
    margin: 0 9px 0 7px;
}

.breadcrumbs a {
    color: var(--primary);
}

@media (hover: none) {

    .page-header,
    .process-section,
    .reviews-section {
        background-attachment: scroll !important;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 54px 0;
    }

    .page-title {
        font-size: 26px;
    }

    .breadcrumbs {
        display: none;
    }
}

.section {
    padding: 90px 0;
}

@media (max-width: 767px) {
    .section {
        padding: 56px 0;
    }
}

/* Section title */
.section-title {
    text-align: center;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 0 1 304px;
    border-top: 1px solid var(--line);
}

.section-divider span {
    width: 6px;
    height: 6px;
    margin: 0 15px;
    border-radius: 50%;
    background: var(--primary);
    flex: none;
}

/* Projects grid: Archi's inverted overlay */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.projects-thumbnail {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
}

.overlay {
    position: relative;
    text-align: center;
    transform: translate3d(0, 0, 0);
}

.overlay a {
    position: relative;
    display: block;
    z-index: 3;
    cursor: pointer;
}

.overlay * {
    transition: all .5s ease;
}

.overlay img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.overlay .bg {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(17, 17, 17, .8);
}

.overlay figcaption {
    position: absolute;
    inset: 0;
    z-index: 5;
    padding: 15px 20px;
    pointer-events: none;
}

.overlay .post-title {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 15px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
}

.hover-scale img {
    transition: all 1s ease;
}

@media (hover: hover) {

    .overlay a:hover .bg,
    .overlay a:focus-visible .bg {
        opacity: 0;
        transform: scale(1.2);
    }

    .overlay a:hover figcaption,
    .overlay a:focus-visible figcaption {
        opacity: 0;
    }

    .overlay a:hover .post-title,
    .overlay a:focus-visible .post-title {
        bottom: -20%;
    }

    .hover-scale a:hover img,
    .hover-scale a:focus-visible img {
        transform: scale(1.3);
    }
}

@media (hover: none) {
    .overlay .bg {
        background: linear-gradient(180deg, rgba(17, 17, 17, .1) 40%, rgba(17, 17, 17, .85) 100%);
    }
}

/* Project window */
html.pm-open {
    overflow: hidden;
}

.pm {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.pm[hidden] {
    display: none;
}

.pm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 10, .94);
    opacity: 0;
    transition: opacity .3s;
}

.pm.is-visible .pm-backdrop {
    opacity: 1;
}

.pm-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pm-panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 40px 0;
    outline: none;
    transition: transform .5s cubic-bezier(.22, .8, .24, 1), opacity .5s ease;
}

.pm-panel.from-right {
    transform: translateX(100%);
    opacity: 0;
}

.pm-panel.from-left {
    transform: translateX(-100%);
    opacity: 0;
}

.pm-panel.from-below {
    transform: translateY(40px);
    opacity: 0;
}

.pm-sheet {
    width: calc(100% - 180px);
    max-width: 1290px;
    margin: 0 auto;
    background: var(--bg);
}

.pm-head {
    padding: 34px 40px 30px;
}

.pm-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.pm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 56px;
    margin: 22px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.pm-meta dt {
    font-size: 13px;
    line-height: 20px;
    color: var(--body);
}

.pm-meta dd {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    color: var(--white);
}

.pm-photos {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.6vw, 40px);
}

.pm-photos img {
    display: block;
    width: 100%;
    height: auto;
    background: #0f1011;
}

.pm-button {
    position: absolute;
    z-index: 5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .25s, color .25s, border-color .25s;
}

.pm-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #111;
}

.pm-close {
    top: 20px;
    right: 20px;
}

.pm-nav {
    top: 50%;
    margin-top: -25px;
}

.pm-prev {
    left: 20px;
}

.pm-next {
    right: 20px;
}

@media (max-width: 991px) {
    .pm-panel {
        padding: 0;
    }

    .pm-sheet {
        width: 100%;
        min-height: 100%;
    }

    .pm-head {
        padding: 24px 74px 22px 20px;
    }

    .pm-title {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .pm-meta {
        gap: 12px 32px;
    }

    .pm-close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
    }

    .pm-nav {
        width: 42px;
        height: 42px;
        margin-top: -21px;
        background: rgba(0, 0, 0, .6);
    }

    .pm-prev {
        left: 8px;
    }

    .pm-next {
        right: 8px;
    }
}

/* Our Process */
.process-section {
    position: relative;
    padding: 60px 0 90px;
    background: #222 center center / cover no-repeat fixed;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 22, .78);
}

.process-section .container {
    position: relative;
}

.ot-process__title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 3%;
    font-family: var(--font-heading);
    font-size: 14px;
    /* Scales with the circle, so a 12-letter word stays whole even at the smallest size. */
    font-size: min(12.8cqw, 8px + 4.5cqw, 16px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    color: rgba(34, 34, 34, .85);
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all .3s linear;
}

/*
 * The bubbles always stay on one row, so the active bubble's line always reaches the
 * rule above the description. They shrink to fit; if there are too many for even the
 * smallest size, the row swipes sideways instead of wrapping.
 */
.ot-process__nav {
    --process-gap: 60px;
    --process-line: 60px;
    position: relative;
    display: flex;
    column-gap: var(--process-gap);
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 3px 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ot-process__nav::-webkit-scrollbar {
    display: none;
}

.ot-process__nav li {
    container-type: inline-size;
    position: relative;
    flex: 0 0 clamp(80px, calc((100% - (var(--process-steps, 3) - 1) * var(--process-gap)) / var(--process-steps, 3)), 180px);
    padding-bottom: var(--process-line);
    text-align: center;
}

/* Centres the row when it fits; lets it start at the left edge when it has to swipe. */
.ot-process__nav li:first-child {
    margin-left: auto;
}

.ot-process__nav li:last-child {
    margin-right: auto;
}

.ot-process__nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: var(--process-line);
    background: rgba(255, 255, 255, .6);
    opacity: 0;
    visibility: hidden;
    transition: all .3s linear;
}

.ot-process__nav li.current::after {
    opacity: 1;
    visibility: visible;
}

.ot-process__nav li.current .ot-process__title {
    color: var(--primary);
    background: none;
    border-color: rgba(255, 255, 255, .6);
}

.ot-process__des {
    padding-top: 30px;
    color: rgba(248, 249, 250, .8);
    text-align: left;
}

.process-des-item {
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .ot-process__nav {
        --process-gap: 24px;
        --process-line: 36px;
    }
}

@media (max-width: 575px) {
    .ot-process__nav {
        --process-gap: 10px;
        --process-line: 28px;
    }

    /* With five or more bubbles the row has to swipe: show 3½, so the cut-off one hints at more. */
    .ot-process__nav li:first-child:nth-last-child(n+5),
    .ot-process__nav li:first-child:nth-last-child(n+5) ~ li {
        flex-basis: max(80px, calc((100% - 3 * var(--process-gap)) / 3.5));
    }
}

/* About */
.about-intro {
    display: grid;
    grid-template-columns: 5fr 7fr;
}

.about-photo {
    position: relative;
    min-height: 420px;
}

.about-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 90px clamp(24px, 5.2vw, 75px) 90px clamp(24px, 11.8vw, 170px);
}

.about-text h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

.about-intro.no-image {
    display: block;
    max-width: 1320px;
    margin: 0 auto;
}

.about-intro.no-image .about-text {
    padding: 90px 15px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .about-intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .about-text,
    .about-intro.no-image .about-text {
        padding: 50px 15px;
    }

    .about-text h2 {
        font-size: 28px;
    }
}

/* Our Architect */
.architect-section {
    padding: 70px 0 90px;
    background: var(--bg);
}

.architect-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    max-width: 1080px;
    margin: 0 auto;
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--line);
}

.architect-person {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 44px 40px;
    overflow-wrap: anywhere;
    border-right: 1px solid var(--line);
}

.architect-person h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.architect-role {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--primary);
    margin: 12px 0 0;
}

.architect-credentials {
    align-self: center;
    min-width: 0;
    padding: 24px 40px;
}

.architect-credentials li {
    position: relative;
    padding: 14px 0 14px 22px;
    overflow-wrap: anywhere;
    color: var(--heading);
    border-bottom: 1px solid var(--line);
}

.architect-credentials li:last-child {
    border-bottom: 0;
}

.architect-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.architect-card.no-credentials {
    display: block;
    max-width: 640px;
    text-align: center;
}

.architect-card.no-credentials .architect-person {
    border-right: 0;
}

@media (max-width: 767px) {
    .architect-section {
        padding: 50px 0 60px;
    }

    .architect-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .architect-person {
        padding: 30px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .architect-card.no-credentials .architect-person {
        border-bottom: 0;
    }

    .architect-person h3 {
        font-size: 22px;
    }

    .architect-credentials {
        padding: 10px 24px;
    }
}

/* Why Choose Us */
.why-section {
    padding: 70px 0 90px;
    background: var(--second);
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.why-card {
    flex: 0 1 calc((100% - 60px) / 3);
    min-width: 0;
    padding: 38px 32px 34px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: border-color .3s, transform .3s;
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.why-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 14px;
}

.why-card h3 {
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.35;
    margin-bottom: 18px;
}

@media (max-width: 991px) {
    .why-card {
        flex-basis: calc((100% - 30px) / 2);
    }
}

@media (max-width: 680px) {
    .why-card {
        flex-basis: 100%;
    }
}

/* Customer reviews */
.reviews-section {
    position: relative;
    padding: 70px 0 60px;
    background: #222 center center / cover no-repeat fixed;
}

.reviews-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, .82);
}

.reviews-section .container {
    position: relative;
}

.reviews-swiper {
    padding-bottom: 44px !important;
}

.reviews-swiper .swiper-slide {
    height: auto;
}

.ot-testimonial {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 30px 30px 30px 80px;
    background: rgba(0, 0, 0, .5);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8em;
    color: var(--heading);
}

.quote-mark {
    position: absolute;
    left: 0;
    top: 0;
    width: 59px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--second);
}

.quote-mark svg {
    transform: rotate(180deg);
}

.ot-testimonial .tname {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary);
}

.reviews-dots.swiper-pagination {
    bottom: 0 !important;
}

.reviews-dots .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 6px !important;
    background: var(--white);
    opacity: .7;
}

.reviews-dots .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

@media (max-width: 575px) {
    .ot-testimonial {
        padding: 66px 22px 26px;
    }
}

/* Contact */
.contact-intro {
    margin-bottom: 40px;
}

.contact-intro h2,
.contact-social h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px;
    min-width: 0;
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--line);
    transition: border-color .25s, transform .25s;
}

a.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-icon {
    flex: none;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
}

.contact-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--body);
}

.contact-value {
    font-size: 20px;
    line-height: 28px;
    color: var(--white);
    overflow-wrap: anywhere;
    margin-top: 2px;
}

.contact-social {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}

.contact-social h2 {
    margin-bottom: 26px;
}

.contact-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 26px;
    border: 1px solid var(--line);
    transition: border-color .25s;
}

.social-link .contact-label {
    color: var(--white);
}

.social-link:hover {
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--second);
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 30px;
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    display: block;
    opacity: .85;
    transition: opacity .2s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}