/***** GLOBAL *****/

/* fonts */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../vendor/inter/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../vendor/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* colors */
:root {
    --main-color: #1f1d1a;
    --main-text-color: #f5f2ed;
    --second-color: #f5f2ed;
    --second-text-color: #1f1d1a;
    --third-color: #e9e3da;
    --third-text-color: #1f1d1a;
    --card-color: #ffffff;
    --card-text-color: #1f1d1a;
    --muted-color: #6b655e;
    --muted-light-color: rgba(245, 242, 237, 0.62);
    --accent-color: #9a7b57;
    --border-color: #dcd5cb;
    --border-dark-color: rgba(245, 242, 237, 0.16);
    --focus-color: #9a7b57;
    --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-height: 80px;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-xxl: 0;
    --bs-border-radius-pill: 0;
    --transition: 0.3s ease;
}

@media (min-width: 992px) {
    :root {
        --header-height: 104px;
    }
}

/* scroll */
html {
    scroll-behavior: auto !important;
}

/* typography */
body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.006em;
    background: var(--second-color);
    color: var(--second-text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2,
.heading {
    font-size: clamp(2rem, 4.4vw, 3.75rem);
}

em,
i,
cite {
    font-style: normal;
}

a {
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 4px;
}

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

/* layout */
.container {
    padding-left: 25px;
    padding-right: 25px;
}

/* buttons */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.15em 2.4em;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.t-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.t-btn:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 4px;
}

.t-btn.theme {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme:hover,
.t-btn.theme:focus-visible {
    background: transparent;
    color: var(--main-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    border-color: var(--second-color);
    color: var(--second-text-color);
}

.t-btn.theme2:hover,
.t-btn.theme2:focus-visible {
    background: transparent;
    color: var(--second-color);
}

.t-btn.theme3 {
    background: transparent;
    border-color: var(--border-color);
    color: var(--third-text-color);
}

.t-btn.theme3:hover,
.t-btn.theme3:focus-visible {
    background: var(--third-color);
    border-color: var(--third-color);
}

.t-btn.outline {
    background: transparent;
    border-color: color-mix(in srgb, currentColor 40%, transparent);
    color: inherit;
}

.t-btn.outline:hover,
.t-btn.outline:focus-visible {
    border-color: currentColor;
}

/***** HEADER *****/

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    color: var(--second-text-color);
    border-bottom: 1px solid var(--border-color);
}

.header:not(.is-transparent) + main {
    padding-top: var(--header-height);
}

.header.is-transparent {
    color: var(--main-text-color);
    border-bottom-color: var(--border-dark-color);
}

.header > .container {
    gap: 24px;
    min-height: var(--header-height);
}

/* logo */
.header .logo {
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.header .logo img {
    width: auto;
    height: calc(var(--header-height) - 16px);
}

.header .logo .light,
.header.is-transparent > .container .logo .dark {
    display: none;
}

.header.is-transparent > .container .logo .light {
    display: block;
}

/* navigation */
.header .navigation .list {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .navigation .link {
    position: relative;
    font-size: 0.9375rem;
    text-decoration: none;
}

.header .navigation .link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.header .navigation .link:hover::after,
.header .navigation .link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* actions */
.header .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .actions .t-btn {
    padding: 0.95em 1.9em;
}

.header.is-transparent .actions .t-btn.theme {
    background: var(--second-color);
    border-color: var(--second-color);
    color: var(--second-text-color);
}

.header.is-transparent .actions .t-btn.theme:hover,
.header.is-transparent .actions .t-btn.theme:focus-visible {
    background: transparent;
    color: var(--second-color);
}

.header .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4em;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.header .toggle svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.5;
}

/* burger */
.header .burger,
.header .menu .close {
    position: fixed;
    top: 20px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--border-dark-color);
    border-radius: 50%;
    background: var(--main-color);
    color: var(--main-text-color);
    cursor: pointer;
}

.header .burger {
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
}

.header .burger.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.header .burger:hover,
.header .menu .close:hover {
    transform: scale(1.06);
}

.header .burger svg,
.header .menu .close svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

/* offcanvas */
.header .menu {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    background: var(--main-color);
    color: var(--main-text-color);
    transform: none;
    transition: none;
}

.header .menu .top {
    display: flex;
    align-items: center;
    min-height: 104px;
    border-bottom: 1px solid var(--border-dark-color);
}

.header .menu .top .container {
    padding-right: 105px;
}

.header .menu .logo {
    margin: 0;
}

.header .menu .logo img {
    width: auto;
    max-width: 100%;
    height: 64px;
}

.header .menu .close {
    position: absolute;
}

.header .menu .body {
    display: flex;
    flex: 1;
    overflow-y: auto;
}

.header .menu .body > .container {
    display: flex;
    flex-direction: column;
}

.header .menu .body .row {
    flex: 1;
}

.header .menu .links,
.header .menu .aside {
    display: flex;
    align-items: center;
}

.header .menu .links {
    padding: 48px 0 32px;
}

.header .menu .aside {
    padding: 32px 0 48px;
    border-top: 1px solid var(--border-dark-color);
}

@media (min-width: 992px) {
    .header .menu .links {
        padding: 48px 48px 48px 0;
    }

    .header .menu .aside {
        padding: 48px 0 48px clamp(48px, 6vw, 96px);
        border-top: 0;
        border-left: 1px solid var(--border-dark-color);
    }
}

.header .menu .list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .menu .list .link {
    display: inline-flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 0;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.header .menu .list .number {
    padding-top: 0.45em;
    font-size: 0.8125rem;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    color: var(--muted-light-color);
}

.header .menu .list .link:hover,
.header .menu .list .link:focus-visible {
    color: var(--muted-light-color);
}

.header .menu .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.header .menu .contact .link {
    font-size: 1.125rem;
    text-decoration: none;
}

.header .menu .contact .link:hover {
    color: var(--muted-light-color);
}

.header .menu .contact .text {
    margin: 0 0 16px;
    color: var(--muted-light-color);
}

/***** HOME *****/

/* hero */
.home-page .hero-section .media {
    position: relative;
    clip-path: inset(0);
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    color: var(--main-text-color);
}

.home-page .hero-section .image {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.home-page .hero-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .hero-section .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, color-mix(in srgb, var(--main-color) 45%, transparent), transparent 28%),
        linear-gradient(to top, color-mix(in srgb, var(--main-color) 70%, transparent), transparent 70%),
        color-mix(in srgb, var(--main-color) 22%, transparent);
}

.home-page .hero-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.home-page .hero-section .content {
    width: 100%;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.home-page .hero-section .heading {
    max-width: 13ch;
    margin-bottom: clamp(24px, 3vw, 40px);
    font-size: clamp(2.75rem, 7.4vw, 6.5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-page .hero-section .text {
    max-width: 46ch;
    margin: 0;
    font-size: 1.125rem;
}

.home-page .hero-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (min-width: 992px) {
    .home-page .hero-section .actions {
        justify-content: flex-end;
    }
}

/* intro */
.home-page .intro-section {
    padding: clamp(96px, 12vw, 160px) 0;
}

.home-page .intro-section .statement {
    max-width: 24ch;
    margin-bottom: clamp(64px, 9vw, 120px);
    font-size: clamp(1.75rem, 3.8vw, 3.5rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.home-page .intro-section .image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.home-page .intro-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .intro-section .text {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    color: var(--muted-color);
}

.home-page .intro-section .t-btn {
    margin-top: 16px;
}

/* feature */
.home-page .feature-section {
    overflow: clip;
}

.home-page .feature-section .image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    clip-path: inset(0px var(--hero-inset, 25px) 0px var(--hero-inset, 25px));
}

.home-page .feature-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .feature-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--main-color) 70%, transparent), transparent 70%);
}

.home-page .feature-section .cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(32px, 6vw, 80px);
    color: var(--main-text-color);
}

.home-page .feature-section .caption {
    max-width: 14ch;
    margin: 0;
    padding: 0 20px;
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.home-page .feature-section .body {
    padding: 48px 0 0;
}

.home-page .feature-section .heading {
    margin-bottom: 24px;
}

.home-page .feature-section .text {
    max-width: 44ch;
    margin-bottom: 32px;
    font-size: 1.0625rem;
    color: var(--muted-color);
}

@media (min-width: 992px) {
    .home-page .feature-section.is-animated {
        height: 230vh;
    }

    .home-page .feature-section .stage {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }

    .home-page .feature-section .image img {
        will-change: transform;
    }

    .home-page .feature-section .image {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        clip-path: inset(96px var(--hero-inset, 25px) 40px 50%);
    }

    .home-page .feature-section .overlay,
    .home-page .feature-section .cover {
        opacity: 0;
    }

    .home-page .feature-section .caption {
        padding: 0;
    }

    .home-page .feature-section .body {
        position: absolute;
        inset: 56px 0 0;
        display: flex;
        align-items: center;
        padding: 0;
        pointer-events: none;
    }

    .home-page .feature-section .content {
        pointer-events: auto;
    }
}

/* services */
.home-page .services-section {
    padding: clamp(96px, 12vw, 160px) 0;
    background: var(--third-color);
    color: var(--third-text-color);
}

.home-page .services-section .heading {
    max-width: 12ch;
    margin-bottom: 24px;
}

.home-page .services-section .intro .text {
    max-width: 36ch;
    margin: 0;
    color: var(--muted-color);
}

@media (min-width: 992px) {
    .home-page .services-section .intro {
        position: sticky;
        top: 96px;
    }
}

.home-page .services-section .list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .services-section .item {
    display: grid;
    grid-template-columns: 56px 1fr;
    padding: 36px 0;
    border-top: 1px solid var(--border-color);
}

.home-page .services-section .item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.home-page .services-section .number {
    padding-top: 6px;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent-color);
}

.home-page .services-section .title {
    margin-bottom: 12px;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.home-page .services-section .item .text {
    max-width: 48ch;
    margin: 0;
    color: var(--muted-color);
}

/* projects */
.home-page .projects-section .wrapper {
    padding: clamp(96px, 12vw, 160px) 0;
    overflow: hidden;
}

.home-page .projects-section.is-pinned .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 104px 0 48px;
}

.home-page .projects-section .intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.home-page .projects-section .heading {
    margin: 0;
}

.home-page .projects-section .intro .side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.home-page .projects-section .intro .text {
    max-width: 38ch;
    margin: 0;
    color: var(--muted-color);
}

.home-page .projects-section .track {
    position: relative;
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    padding-left: var(--track-offset, 25px);
    padding-right: var(--track-offset, 25px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--track-offset, 25px);
    scrollbar-width: none;
}

.home-page .projects-section .track::-webkit-scrollbar {
    display: none;
}

.home-page .projects-section.is-pinned .track {
    overflow: visible;
    will-change: transform;
}

.home-page .projects-section .item {
    flex: 0 0 auto;
    width: clamp(260px, 30vw, 460px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.home-page .projects-section .image {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    margin-bottom: 18px;
}

.home-page .projects-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-page .projects-section .item:hover img,
.home-page .projects-section .item:focus-visible img {
    transform: scale(1.04);
}

.home-page .projects-section .title {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.home-page .projects-section .meta {
    display: block;
    font-size: 0.9375rem;
    color: var(--muted-color);
}

.home-page .projects-section .progress {
    display: none;
    height: 1px;
    margin-top: clamp(32px, 4vw, 56px);
    background: var(--border-color);
}

.home-page .projects-section.is-pinned .progress {
    display: block;
}

.home-page .projects-section .progress .bar {
    display: block;
    height: 100%;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: left;
}

/* process */
.home-page .process-section {
    padding: clamp(96px, 12vw, 160px) 0;
    border-top: 1px solid var(--border-color);
}

.home-page .process-section .intro {
    margin-bottom: clamp(48px, 6vw, 96px);
}

.home-page .process-section .heading {
    margin: 0;
}

.home-page .process-section .list {
    display: flex;
    flex-direction: column;
    gap: clamp(64px, 9vw, 140px);
}

.home-page .process-section .image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.home-page .process-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .process-section .box {
    position: relative;
    z-index: 1;
    margin: -64px 20px 0;
    padding: clamp(32px, 4vw, 56px);
    background: var(--card-color);
    color: var(--card-text-color);
}

.home-page .process-section .title {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 2.6vw, 2.5rem);
}

.home-page .process-section .text {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--muted-color);
}

@media (min-width: 992px) {
    .home-page .process-section .box {
        margin: 0 0 0 -120px;
    }

    .home-page .process-section .step.reverse .box {
        margin: 0 -120px 0 0;
    }
}

/* contact */
.home-page .contact-section {
    position: relative;
    padding: clamp(112px, 13vw, 180px) 0;
    background: var(--main-color);
    color: var(--main-text-color);
    clip-path: inset(0);
}

.home-page .contact-section .background {
    position: fixed;
    inset: 0;
}

.home-page .contact-section .background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--main-color) 85%, transparent), transparent 80%),
        color-mix(in srgb, var(--main-color) 45%, transparent);
}

.home-page .contact-section .background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .contact-section > .container {
    position: relative;
    z-index: 1;
}

.home-page .contact-section .heading {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.25rem, 5.4vw, 4.75rem);
    letter-spacing: -0.04em;
}

.home-page .contact-section .text {
    max-width: 40ch;
    margin: 0 0 28px;
    font-size: 1.0625rem;
    color: var(--muted-light-color);
}

/***** PROJECTS *****/

/* intro */
.projects-page .intro-section {
    padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
}

.projects-page .intro-section .heading {
    margin: 0;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.projects-page .intro-section .text {
    max-width: 44ch;
    margin: 0;
    font-size: 1.125rem;
    color: var(--muted-color);
}

/* list */
.projects-page .list-section {
    padding-bottom: clamp(96px, 12vw, 160px);
}

.projects-page .list-section .item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.projects-page .list-section .image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
}

.projects-page .list-section .featured .image {
    aspect-ratio: 16 / 9;
}

.projects-page .list-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.projects-page .list-section .item:hover img,
.projects-page .list-section .item:focus-visible img {
    transform: scale(1.04);
}

.projects-page .list-section .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.projects-page .list-section .title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.projects-page .list-section .featured .title {
    font-size: clamp(1.75rem, 3.4vw, 3rem);
}

.projects-page .list-section .meta {
    font-size: 0.9375rem;
    color: var(--muted-color);
}

.projects-page .list-section .text {
    max-width: 52ch;
    margin-top: 12px;
    color: var(--muted-color);
}

.projects-page .list-section .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.projects-page .list-section .more svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
    transition: transform var(--transition);
}

.projects-page .list-section .item:hover .more svg,
.projects-page .list-section .item:focus-visible .more svg {
    transform: translateX(6px);
}

/* cta */
.projects-page .cta-section {
    padding: clamp(96px, 12vw, 140px) 0;
    background: var(--main-color);
    color: var(--main-text-color);
}

.projects-page .cta-section .heading {
    max-width: 16ch;
    margin: 0;
}

.projects-page .cta-section .text {
    max-width: 40ch;
    margin-bottom: 28px;
    color: var(--muted-light-color);
}

/***** PROJECT *****/

/* intro */
.project-page .intro-section {
    padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}

.project-page .intro-section .back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(32px, 5vw, 56px);
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--muted-color);
}

.project-page .intro-section .back:hover,
.project-page .intro-section .back:focus-visible {
    color: var(--second-text-color);
}

.project-page .intro-section .back svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.project-page .intro-section .heading {
    max-width: 16ch;
    margin-bottom: clamp(40px, 5vw, 64px);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.project-page .intro-section .facts {
    margin: 0;
    border-top: 1px solid var(--border-color);
}

.project-page .intro-section .fact {
    padding: 20px 24px 0 0;
}

.project-page .intro-section .name {
    margin-bottom: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted-color);
}

.project-page .intro-section .value {
    margin: 0;
    font-size: 1.0625rem;
}

/* cover */
.project-page .cover-section .image {
    display: block;
    width: 100%;
    height: min(56.25vw, 92vh);
    overflow: hidden;
    cursor: zoom-in;
}

.project-page .cover-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* text */
.project-page .text-section {
    padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 100px);
}

.project-page .text-section .heading {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 992px) {
    .project-page .text-section .heading {
        position: sticky;
        top: 48px;
    }
}

.project-page .text-section .lead {
    margin-bottom: 32px;
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.5;
    letter-spacing: -0.015em;
}

.project-page .text-section .text {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    color: var(--muted-color);
}

/* gallery */
.project-page .gallery-section {
    padding-bottom: clamp(96px, 12vw, 160px);
}

.project-page .gallery-section .image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.project-page .gallery-section .image.wide {
    aspect-ratio: 16 / 9;
}

.project-page .gallery-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-page .gallery-section .image:hover img,
.project-page .gallery-section .image:focus-visible img {
    transform: scale(1.03);
}

/* next */
.project-page .next-section {
    padding: clamp(96px, 12vw, 140px) 0;
    background: var(--main-color);
    color: var(--main-text-color);
}

.project-page .next-section .heading {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.project-page .next-section .text {
    max-width: 40ch;
    margin-bottom: 32px;
    color: var(--muted-light-color);
}

.project-page .next-section .image {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.project-page .next-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-page .next-section .image:hover img {
    transform: scale(1.04);
}

/***** FOOTER *****/

.footer {
    background: var(--main-color);
    color: var(--main-text-color);
    border-top: 1px solid var(--border-dark-color);
}

/* main */
.footer .main {
    padding: 64px 0 48px;
}

.footer .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer .logo img {
    width: auto;
    height: 72px;
}

.footer .text {
    margin: 0;
    color: var(--muted-light-color);
}

.footer .link {
    text-decoration: none;
    color: var(--muted-light-color);
}

.footer .link:hover {
    color: var(--main-text-color);
}

/* links */
.footer .links .list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .links .link {
    display: inline-block;
    padding: 4px 0;
}

/* contact */
.footer .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.footer .contact .social {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

/* bottom */
.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border-dark-color);
    font-size: 0.8125rem;
}

.footer .bottom .legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
