/* CSS reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-scroll-offset, 133px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font: inherit;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

fieldset {
    border: 0;
}

textarea {
    resize: vertical;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

[hidden] {
    display: none !important;
}

/* Fonts */
@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-Extralight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-ExtralightItalic.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-RegularItalic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Mori";
    src: url("../fonts/PPMori-SemiBoldItalic.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Base */
:root {
    --container-gutter: 48px;
    --section-space: 100px;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: "PP Mori", Arial, sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Shared content container; section backgrounds can span the full viewport. */
.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--container-gutter);
}

@media (max-width: 767px) {
    :root {
        --container-gutter: 24px;
        --section-space: 80px;
    }
}

@media (max-width: 479px) {
    :root {
        --container-gutter: 16px;
    }
}

/* One shared space between sections; adjacent screen padding never adds up. */
.site-main {
    display: flow-root;
    padding-bottom: var(--section-space);
}

.site-main > section + section {
    margin-top: var(--section-space);
}

/* Shared interactive elements */
.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: var(--container-gutter);
    padding: 12px 16px;
    color: #fff;
    background: #222;
    transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
    transform: translateY(0);
}

.button {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 65px;
    padding: 16px 24px;
    overflow: hidden;
    border: 0;
    color: #000;
    background: #fff;
    font-size: clamp(16px, 1.145833vw, 22px);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    isolation: isolate;
    transition: color 400ms ease, border-color 400ms ease;
}

.button::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: #222;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.button__label,
.button__arrow {
    position: relative;
    z-index: 1;
}

.button__arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    left: 0;
    transition: left 450ms ease-in;
}

.button__label {
    transition: left 450ms ease-in;
    left: 0;
}
.button__arrow img {
    flex: 0 0 auto;
    transition: filter 400ms ease;
}

.button:is(:hover, :focus-visible) {
    color: #fff;
}

.button:is(:hover, :focus-visible)::before {
    transform: scaleX(1);
}

.button:is(:hover, :focus-visible) .button__arrow {
    /* Relative positioning uses the button width, including on stretched buttons. */
    left: 100%;
}
.button:is(:hover, :focus-visible) .button__label {
    /* Relative positioning uses the button width, including on stretched buttons. */
    left: 10%;
}

.button:not(.button--outline):is(:hover, :focus-visible) .button__arrow img {
    filter: brightness(0) invert(1);
}

.button--outline {
    gap: 10px;
    min-height: 49px;
    padding: 12px 17.5px;
    border: 1.5px solid #fff;
    color: #fff;
    background: transparent;
    font-size: 16px;
}

.button--outline:is(:hover, :focus-visible) {
    border-color: #222;
}

.button:focus-visible,
.site-header a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

/* Primary action */
.button--primary {
    color: #fff;
    background: #78a968;
}

/* Floating glass stays behind the original navigation and adapts to each surface. */
.site-header {
    --header-edge: 24px;
    --header-padding: 24px;
    --header-panel-padding: 14px;
    --header-ink: #fff;
    --header-logo-filter: none;
    --header-glass: rgb(12 20 15 / 38%);
    --header-glass-fallback: rgb(12 20 15 / 92%);
    --header-glass-border: rgb(255 255 255 / 25%);
    position: fixed;
    z-index: 20;
    top: 0;
    inset-inline: 0;
    padding-block: 16px;
    color: var(--header-ink);
    pointer-events: none;
    transition: color 280ms ease;
}

.site-header[data-header-tone="light"] {
    --header-ink: #111;
    --header-logo-filter: brightness(0);
    --header-glass: rgb(255 255 255 / 52%);
    --header-glass-fallback: rgb(255 255 255 / 94%);
    --header-glass-border: rgb(30 45 35 / 10%);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    width: calc(100% - var(--header-edge) * 2);
    padding: var(--header-panel-padding) var(--header-padding);
    border-radius: 20px;
    isolation: isolate;
    pointer-events: auto;
}

.site-header__inner::before,
.site-header__inner::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    content: "";
    pointer-events: none;
    transition: opacity 320ms ease, background-color 280ms ease, border-color 280ms ease;
}

.site-header__inner::before {
    z-index: -2;
    background: var(--header-glass-fallback);
    box-shadow: 0 8px 32px rgb(0 0 0 / 12%);
}

.site-header__inner::after {
    z-index: -1;
    border: 1px solid var(--header-glass-border);
    background: linear-gradient(112deg, rgb(255 255 255 / 20%), transparent 34%, transparent 64%, rgb(255 255 255 / 5%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), inset 1px 0 0 rgb(255 255 255 / 15%), inset 0 -1px 0 rgb(0 0 0 / 8%);
}

.site-header.is-scrolled .site-header__inner::before,
.site-header.is-scrolled .site-header__inner::after {
    opacity: 1;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header__inner::before {
        background: var(--header-glass);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        backdrop-filter: blur(18px) saturate(160%);
    }
}

.site-header__brand img {
    filter: var(--header-logo-filter);
    transition: filter 280ms ease;
}

.site-header a:focus-visible {
    outline-color: var(--header-ink);
}

.site-header__brand {
    display: block;
    flex: 0 0 auto;
    margin-right: auto;
}

.site-header__cta {
    border-color: #000;
    color: #fff;
    background: #000;
}

.site-header__cta::before {
    background: #78a968;
}

.site-header__cta:is(:hover, :focus-visible) {
    border-color: #78a968;
}

.hero__media::after {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 10%);
    content: "";
    pointer-events: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 49px;
    padding-inline: 12px;
    font-size: clamp(16px, 0.9375vw, 18px);
    line-height: 1;
    white-space: nowrap;
}

.site-nav__link::after {
    position: absolute;
    right: 12px;
    bottom: 6px;
    left: 12px;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 250ms ease;
}

.site-nav__link:is(:hover, :focus-visible)::after {
    transform: scaleX(1);
}

/* Hero: editable intro and project details share the common container. */
.hero {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    color: #fff;
    background: #424842;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background: url("../images/hero-poster.png") center / cover no-repeat;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    display: grid;
    grid-template-columns: minmax(0, 900fr) minmax(0, 830fr);
    align-items: end;
    align-content: end;
    column-gap: clamp(32px, 4.895833vw, 94px);
    padding-top: 150px;
    padding-bottom: 51px;
}

.hero__intro {
    min-width: 0;
    margin-bottom: 24px;
}

.hero__title {
    width: clamp(280px, 22.887135vw, 439.433px);
    margin-bottom: clamp(40px, 3.645833vw, 70px);
}

.hero__title picture,
.site-header__brand picture {
    display: block;
}

.hero__description {
    max-width: 742px;
    font-size: clamp(20px, 1.458333vw, 28px);
    font-weight: 600;
    line-height: 1.15;
    text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.hero__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 19px;
    border-top: 1px solid rgb(255 255 255 / 70%);
}

.hero__facts {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.604167vw, 50px);
}

.hero__fact {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.520833vw, 10px);
    font-size: clamp(14px, 1.041667vw, 20px);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    filter: drop-shadow(0 1px 2.5px rgb(0 0 0 / 40%));
}

.hero__fact-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: clamp(20px, 1.354167vw, 26px);
    height: clamp(20px, 1.354167vw, 26px);
}

.hero__cta {
    min-width: clamp(180px, 12.291667vw, 236px);
}

@media (max-width: 1439px) {
    .site-header__inner {
        gap: 24px;
    }

    .site-nav__list {
        gap: 8px;
    }

    .hero__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero__intro {
        margin-bottom: 0;
    }

    .hero__title {
        margin-bottom: 40px;
    }

    .hero__description {
        font-size: 24px;
    }

    .hero__fact {
        font-size: 16px;
    }

    .hero__cta {
        min-height: 56px;
        font-size: 18px;
    }
}

@media (max-width: 1023px) {
    .site-header {
        position: absolute;
        --header-panel-padding: 12px;
        padding-block: 12px;
    }

    .site-header__inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 36px;
        gap: 12px;
    }

    .site-header__brand {
        grid-column: 1;
        grid-row: 1;
        width: 119.5px;
    }

    .site-header__cta {
        position: fixed;
        top: calc(12px + var(--header-panel-padding));
        right: calc(var(--header-edge) + var(--header-padding));
        grid-column: 2;
        grid-row: 1;
        min-height: 36px;
        height: 36px;
        gap: 8px;
        padding: 0 12px;
        border-width: 1px;
        font-size: 14px;
    }

    .site-header__cta .button__arrow {
        display: none;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-header {
        --header-edge: calc(var(--container-gutter) / 2);
        --header-padding: calc(var(--container-gutter) / 2);
    }

    .site-header__inner {
        border-radius: 16px;
    }

    .hero__content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(120px, 1fr) auto minmax(120px, 1fr) auto;
        align-content: normal;
        align-items: start;
        gap: 0;
        padding-top: 60px;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .hero__intro {
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .hero__title {
        width: 168px;
        margin: 0 auto 30px;
    }

    .hero__description {
        max-width: 100%;
        font-size: 18px;
        text-align: center;
    }

    .hero__desktop-break {
        display: none;
    }

    .hero__summary {
        grid-row: 4;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 20px;
        border-top-color: #fff;
    }

    .hero__facts {
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        padding-bottom: 30px;
    }

    .hero__fact {
        gap: 10px;
        font-size: 16px;
    }

    .hero__fact-icon {
        width: 26px;
        height: 26px;
    }

    .hero__cta {
        justify-content: space-between;
        width: 100%;
        min-height: 56px;
        padding-inline: 24px;
        font-size: 18px;
    }
}

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

    .button,
    .site-header,
    .site-header__brand img,
    .site-header__inner::before,
    .site-header__inner::after,
    .button::before,
    .button__label,
    .button__arrow,
    .button__arrow img,
    .site-nav__link::after {
        transition: none;
    }

    .button:is(:hover, :focus-visible) .button__arrow,
    .button:is(:hover, :focus-visible) .button__label {
        left: 0;
    }

    .hero__video {
        visibility: hidden;
    }
}

/* Section headings */
.section-title {
    color: #d8dce6;
    font-size: clamp(40px, 5.104167vw, 98px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

/* Project concept: static content and repeatable benefit cards. */
.project-concept {
    color: #000;
    background: #fff;
}

.project-concept__heading {
    margin-bottom: 100px;
    text-align: right;
}

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

.project-concept__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-width: 0;
    padding-bottom: 9px;
}

.project-concept__lead {
    max-width: 748px;
    font-size: clamp(30px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-indent: clamp(64px, 7.96875vw, 153px);
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-concept__lead span {
    color: #d8dce6;
}

.project-concept__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 20px;
}

.project-location {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 165px;
    margin-left: 20px;
}

.project-location__pin {
    display: block;
    width: 108.242px;
}

.project-location__badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding-top: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.project-location__badge picture {
    position: absolute;
    inset: 0;
}

.project-location__label {
    position: relative;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-concept__text {
    font-size: 16px;
    line-height: 1.222222;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-concept__text strong {
    font-weight: 600;
}

/* Two equal five-line columns, with 16px text at the 1512px reference width. */
@media (min-width: 1200px) {
    .project-concept__overview {
        grid-template-columns: minmax(0, 745fr) minmax(0, 651fr);
    }
}

@media (min-width: 768px) {
    .project-concept__details {
        container-type: inline-size;
        grid-template-columns: 185px repeat(2, minmax(0, 1fr));
    }

    .project-concept__text {
        width: 16.25em;
        max-width: 100%;
        font-size: min(16px, calc((100cqi - 225px) / 32.5));
    }
}

.project-concept__visual {
    position: relative;
    aspect-ratio: 902 / 597;
    align-self: start;
    overflow: hidden;
}

.project-concept__image {
    position: relative;
    aspect-ratio: 902 / 597;
    overflow: hidden;
}

.project-concept__visual img {
    position: absolute;
    top: -17.92%;
    left: -16.6%;
    width: 137.1%;
    height: 137.96%;
    max-width: none;
}

.project-concept__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 100px;
}

.project-feature {
    min-height: clamp(260px, 16.40625vw, 315px);
    padding: clamp(24px, 2.083333vw, 40px);
    background: #a6b7cd;
    overflow-wrap: break-word;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .project-feature {
        position: relative;
        transition: transform 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .project-feature:hover {
        transform: translateY(-24px);
    }

    /* Keep the original hover area while the card rises. */
    .project-feature:hover::after {
        position: absolute;
        right: 0;
        bottom: -24px;
        left: 0;
        height: 24px;
        content: "";
    }
}

.project-feature__icon {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: clamp(28px, 2.083333vw, 40px);
    overflow: hidden;
}

.project-feature__icon img {
    position: absolute;
}

.project-feature__icon--location img {
    top: 0;
    left: 0;
}

.project-feature__seaview-building {
    top: 21.82%;
    left: 1.82%;
}

.project-feature__seaview-window {
    top: 50.91%;
    left: 1.82%;
}

.project-feature__seaview-detail {
    top: 36.36%;
    left: 1.82%;
}

.project-feature__seaview {
    top: 3.15%;
    left: 0;
}

.project-feature__courtyard {
    top: 0;
    left: 0.03%;
}

.project-feature__courtyard-m {
    top: 41.7%;
    left: 35.21%;
}

.project-feature__courtyard-squared {
    top: 40.38%;
    left: 58.17%;
}

.project-feature__title {
    margin-bottom: clamp(22px, 1.5625vw, 30px);
    font-size: clamp(18px, 1.145833vw, 22px);
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-feature__description {
    font-size: clamp(14px, 0.833333vw, 16px);
    line-height: 1.375;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-feature__unit {
    text-transform: none;
}

@media (max-width: 1199px) {
    .project-concept__overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .project-concept__lead {
        max-width: 820px;
        font-size: 40px;
    }

    .project-concept__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-feature__title {
        font-size: 20px;
    }

    .project-feature__description {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .project-concept__heading {
        margin-bottom: 40px;
        font-size: 48px;
        line-height: 42px;
        text-align: left;
    }

    .project-concept__heading > span {
        color: #000;
    }

    .project-concept__overview {
        grid-template-columns: minmax(0, 1fr) 111.825px;
        grid-template-areas:
            "summary location"
            "image image"
            "support support";
        gap: 40px 28.175px;
        align-items: center;
    }

    .project-concept__copy,
    .project-concept__details {
        display: contents;
    }

    .project-concept__lead {
        display: none;
    }

    .project-concept__summary {
        grid-area: summary;
    }

    .project-location {
        grid-area: location;
        gap: 7.455px;
        width: 111.825px;
        margin-left: 0;
    }

    .project-location__pin {
        width: 73.3584px;
    }

    .project-location__badge {
        min-height: 31.1748px;
        padding-top: 5.422px;
        font-size: 14px;
    }

    .project-concept__visual {
        grid-area: image;
        aspect-ratio: 343 / 226;
    }

    .project-concept__support {
        grid-area: support;
    }

    .project-concept__text {
        font-size: 16px;
        line-height: 22px;
    }

    .project-concept__features {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 40px;
    }

    .project-feature {
        min-height: 0;
        padding: 40px 32px;
    }

    .project-feature__icon {
        margin-bottom: 40px;
    }

    .project-feature__title {
        margin-bottom: 30px;
        font-size: 22px;
    }

    .project-feature__description {
        font-size: 16px;
        line-height: 22px;
    }
}

/* Shared slider navigation, reused by subsequent galleries. */
.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
}

.slider-button {
    display: grid;
    flex: 0 0 45px;
    place-items: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 1px solid #000;
    color: #fff;
    background: #000;
    transition: color 250ms ease, background-color 250ms ease;
}

.slider-button__icon {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.slider-button:is(:hover, :focus-visible) {
    color: #000;
    background: #fff;
}

.slider-button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

/* Grounds: editable introduction and a full-width, repeatable photo gallery. */
.grounds {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    color: #000;
    background: #fff;
}

.grounds__header {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(0, 748fr) minmax(0, 1056fr);
    align-items: start;
    gap: 20px;
}

.grounds__description {
    font-size: clamp(30px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-indent: clamp(80px, 7.96875vw, 153px);
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.grounds__description span {
    color: #d8dce6;
}

.grounds__controls {
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    pointer-events: none;
}

.grounds__controls .slider-controls {
    width: fit-content;
    margin-left: auto;
    pointer-events: auto;
}

.grounds__slider {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    margin-top: 70px;
    margin-inline: 0;
    overflow: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.grounds__slider.swiper-initialized {
    overflow: hidden;
    scroll-snap-type: none;
}

.grounds__slider .swiper-wrapper {
    height: clamp(400px, 40.885417vw, 1000px);
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.grounds__slide {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: start;
}

.grounds__slide .grounds__photo {
    height: 100%;
    aspect-ratio: auto;
}

.grounds__photo picture > img {
    transition: transform 600ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .grounds__photo:hover picture > img {
        transform: scale(1.067);
    }
}

@media (prefers-reduced-motion: reduce) {
    .grounds__photo picture > img {
        transition: none;
    }

    .grounds__photo:hover picture > img {
        transform: none;
    }
}

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

.grounds__slide picture img {
    object-fit: cover;
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .grounds__header {
        padding-bottom: 65px;
    }
}

@media (max-width: 1199px) {
    .grounds__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .grounds__description {
        max-width: 900px;
        font-size: 40px;
    }

    .grounds__controls {
        grid-row: 2;
        margin-top: 24px;
    }

    .grounds__slider {
        grid-row: 3;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .grounds__heading {
        font-size: 48px;
        line-height: 42px;
    }

    .grounds__description {
        max-width: none;
        font-size: 32px;
        line-height: 36px;
        text-indent: 89.6px;
    }

    .grounds__desktop-break {
        display: none;
    }

    .grounds__slider {
        grid-row: 2;
        margin-top: 28px;
    }

    .grounds__slider .swiper-wrapper {
        height: auto;
        aspect-ratio: 375 / 226;
    }

    .grounds__photo .amenity-gallery__zoom {
        display: none;
    }

    .grounds__controls {
        grid-row: 3;
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slider-button {
        transition: none;
    }
}

/* Location: static map and repeatable nearby-place entries for WordPress. */
.location {
    color: #000;
    background: #fff;
}

.location__heading {
    margin-bottom: 100px;
}

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

.location__map {
    position: relative;
    container-type: inline-size;
    align-self: start;
    aspect-ratio: 902 / 597;
    overflow: hidden;
    background: #d3d3d3;
}

.location__map-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.location__map-image img {
    position: absolute;
    top: 0.03%;
    left: -0.84%;
    width: 102.62%;
    height: 129.25%;
    max-width: none;
}

/* Keep the exported pin and its label aligned with the map as it scales. */
.location__map-pin {
    position: absolute;
    top: 13.232831%;
    left: 63.192905%;
    width: 5.502428%;
    aspect-ratio: 49.6319 / 63.8125;
    background: url("../images/location/pin-updated.svg") center / contain no-repeat;
}

.location__map-pin-label {
    position: absolute;
    top: 32.323245%;
    left: 50%;
    color: #fff;
    font-size: 2.090798cqi;
    font-weight: 600;
    line-height: 1.08765;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    transform: translateX(-50%);
}

.location__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    width: min(100%, 748px);
    min-width: 0;
    margin-left: auto;
}

.location__lead {
    font-size: clamp(30px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-indent: clamp(80px, 7.96875vw, 153px);
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.location__lead span {
    color: #d8dce6;
}

.location__description {
    max-width: 594px;
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    font-size: 18px;
    line-height: 22px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.location__description-column {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.location__description strong {
    font-weight: inherit;
}

.location__places {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 20.75px;
    padding-block: 40px;
}

.nearby-place {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    min-width: 0;
}

.nearby-place--beach,
.nearby-place--supermarket {
    gap: 20px;
}

.nearby-place__icon {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.nearby-place__icon img {
    position: absolute;
    top: 0;
    left: 0;
}

.nearby-place--medical .nearby-place__icon img {
    top: 4.25%;
}

.nearby-place--beach .nearby-place__icon img {
    left: 1.97%;
}

.nearby-place--supermarket .nearby-place__icon img {
    top: 5.6012px;
}

.nearby-place__text {
    font-size: 16px;
    line-height: 20px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.nearby-place__name {
    font-weight: 600;
}

.nearby-place__time {
    font-size: 13px;
}

/* Preserve the label line breaks from the 748px-wide desktop row.
   Each 133px column and its 16px type scale together below that size. */
@media (min-width: 768px) {
    .location__places {
        container-type: inline-size;
    }

    .nearby-place__text {
        width: 8.3em;
        max-width: 100%;
        font-size: min(16px, calc((100cqi - 83px) / 41.5625));
        line-height: 1.25;
    }

    .nearby-place__time {
        font-size: 0.8125em;
    }
}

@media (max-width: 1199px) {
    .location__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .location__content {
        width: 100%;
    }

    .location__lead {
        max-width: 748px;
        font-size: 40px;
    }

    .location__places {
        padding-block: 0;
    }
}

@media (max-width: 767px) {
    .location__heading {
        margin-bottom: 40px;
        font-size: 48px;
        line-height: 42px;
    }

    .location__map-image img {
        top: 0.15%;
        left: -90.81%;
        width: 206.08%;
        height: 259.57%;
    }

    .location__map-pin {
        top: 26.664962%;
        left: 37.779953%;
        width: 11.049896%;
    }

    .location__map-pin-label {
        font-size: 4.198711cqi;
    }

    .location__lead {
        display: none;
    }

    .location__description .location__description-extra {
        display: none;
    }

    .location__description {
        max-width: none;
        margin-top: 0;
        display: block;
        font-size: 18px;
        font-weight: 600;
        line-height: 22px;
    }

    .location__description-column {
        display: inline;
    }

    .location__description strong {
        font-weight: 600;
    }

    .location__places {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .nearby-place {
        flex-direction: row;
        align-items: center;
    }

    .nearby-place__desktop-break {
        display: none;
    }
}

/* Telephone assets are hosted locally, including the high-resolution flags. */
:root {
    --iti-path-flags-1x: url("../../images/vendor/intl-tel-input/flags.webp");
    --iti-path-flags-2x: url("../../images/vendor/intl-tel-input/flags@2x.webp");
}

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

/* Enquiry form: editable content, a shared CTA and reusable telephone input. */
.enquiry__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
    padding: 40px;
    color: #fff;
    background: #78a968;
    isolation: isolate;
}

.enquiry__panel::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(120 169 104 / 82%);
    content: "";
    pointer-events: none;
}

.enquiry__media {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
}

.enquiry__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.enquiry__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.enquiry__mobile-break {
    display: none;
}

.enquiry__subtitle {
    margin-top: 8px;
    font-size: 22px;
    line-height: 26px;
}

.enquiry__form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.enquiry__field {
    min-width: 0;
}

.enquiry__input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 68px;
    padding: 20px 0 24px;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 65%);
    border-radius: 0;
    color: #fff;
    background: transparent;
    font-size: 18px;
    line-height: 22px;
    caret-color: #fff;
    appearance: none;
    transition: border-color 200ms ease;
}

.enquiry__input::placeholder {
    color: rgb(255 255 255 / 85%);
    opacity: 1;
}

.enquiry__input:focus,
.enquiry__form .iti__selected-country:focus {
    outline: none;
}

.enquiry__field:focus-within .enquiry__input {
    border-bottom-color: #fff;
}

.enquiry__policy a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.enquiry__form .iti {
    --iti-flag-width: 28px;
    --iti-flag-height: 21px;
    --iti-icon-color: #fff;
    --iti-spacer-horizontal: 0px;
    --iti-hover-color: rgb(255 255 255 / 12%);
    width: 100%;
}

.enquiry__form .iti__selected-country-primary {
    padding-left: 0;
    padding-right: 10px;
}

.enquiry__submit {
    gap: 32px;
    width: 100%;
}

.enquiry__policy {
    margin-top: 20px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.01em;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .enquiry__policy {
        font-size: clamp(10px, calc(1vw - 2px), 12px);
        letter-spacing: -0.02em;
    }
}

.enquiry__policy a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1199px) {
    .enquiry__panel {
        gap: 20px;
        min-height: 400px;
    }

    .enquiry__title {
        font-size: 40px;
        line-height: 44px;
    }

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

@media (max-width: 767px) {
    .enquiry__panel {
        gap: 40px;
        min-height: 548px;
    }

    .enquiry__media img {
        object-position: 60% center;
    }

    .enquiry__title {
        font-size: 32px;
        line-height: 36px;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }

    .enquiry__mobile-break {
        display: initial;
    }

    .enquiry__subtitle {
        margin-top: 20px;
        font-size: 16px;
        line-height: 22px;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }

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

    .enquiry__input {
        height: 44px;
        padding-block: 10px 11px;
        font-size: 16px;
    }

    .enquiry__actions {
        margin-top: 8px;
    }

    .enquiry__submit {
        justify-content: space-between;
        gap: 12px;
        min-height: 56px;
        font-size: 18px;
    }

    .enquiry__policy {
        margin-top: 16px;
        font-size: 10px;
        line-height: 20px;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }
}

@media (prefers-reduced-motion: reduce) {
    .enquiry__input {
        transition: none;
    }
}

/* Masterplan: static artwork with editable heading and mobile legend. */
.masterplan {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1920 / 853;
    color: #fff;
    background: #334330;
}

.masterplan__media,
.masterplan__content {
    position: absolute;
    inset: 0;
}

.masterplan__media {
    z-index: -1;
}

.masterplan__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masterplan__brand {
    position: absolute;
    top: clamp(24px, 3.645833vw, 70px);
    right: calc(var(--container-gutter) + 1.6667px);
}

.masterplan__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    padding-block: clamp(32px, 3.645833vw, 70px);
}

.masterplan__title {
    color: inherit;
}

.masterplan__legend {
    display: none;
}

@media (max-width: 767px) {
    .masterplan {
        aspect-ratio: 375 / 502;
    }

    .masterplan__brand {
        top: 16px;
        right: calc(var(--container-gutter) - 0.2667px);
    }

    .masterplan__content {
        padding-block: 16px 36px;
    }

    .masterplan__title {
        font-size: clamp(40px, 12.8vw, 48px);
        line-height: 42px;
    }

    .masterplan__legend {
        display: flex;
        align-items: flex-end;
        width: 100%;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
    }

    .masterplan__legend-label {
        flex: 0 0 47px;
        margin-right: 10px;
    }

    .masterplan__legend-line {
        flex: 1;
        min-width: 0;
        height: 1px;
        margin-bottom: 2.5px;
        background: url("../images/masterplan/legend-line.svg") repeat-x left center;
    }

    .masterplan__legend-blocks {
        flex: none;
        margin-left: 8px;
        margin-right: -0.6em;
        letter-spacing: 0.6em;
        white-space: nowrap;
    }
}

/* Amenities: repeatable cards with independent Swiper and PhotoSwipe galleries. */
.amenities {
    color: #000;
    background: #fff;
}

.amenities__copy--mobile {
    display: none;
}

.amenities__header {
    display: grid;
    grid-template-columns: minmax(0, 1056fr) minmax(0, 748fr);
    grid-template-areas: "intro title";
    align-items: start;
    gap: 20px;
}

.amenities__title {
    grid-area: title;
    text-align: right;
}

.amenities__intro {
    grid-area: intro;
    font-size: clamp(30px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-indent: clamp(80px, 7.96875vw, 153px);
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.amenity-card {
    display: grid;
    grid-template-columns: minmax(0, 595fr) minmax(0, 1056fr);
    gap: clamp(32px, 4.010417vw, 77px);
    margin-top: 70px;
    padding: clamp(48px, 5.208333vw, 100px) 48px clamp(48px, 3.958333vw, 76px);
    background: #e6e8ef;
}

.amenity-card__content {
    min-width: 0;
}

.amenity-card__title {
    font-size: clamp(28px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.amenity-card__description {
    margin-top: clamp(20px, 1.5625vw, 30px);
    font-size: clamp(14px, 0.9375vw, 18px);
    line-height: 1.222222;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.amenity-gallery {
    position: relative;
    margin-top: clamp(24px, 1.875vw, 36px);
}

.amenity-gallery__slider {
    width: 100%;
    margin-inline: 0;
    overflow: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.amenity-gallery__slider.swiper-initialized {
    overflow: hidden;
    scroll-snap-type: none;
}

.amenity-gallery__slide {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: start;
}

.amenity-gallery__link {
    position: relative;
    display: block;
    aspect-ratio: 595 / 394;
    overflow: hidden;
    cursor: zoom-in;
}

.amenity-gallery__link > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.amenity-gallery__link:focus-visible {
    outline: 2px solid #222;
    outline-offset: -2px;
}

.amenity-gallery__zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: rgb(0 0 0 / 10%);
    opacity: 0;
    transition: opacity 250ms ease, background-color 250ms ease;
}

.amenity-gallery__zoom img {
    transform: scaleX(-1);
}

.amenity-gallery__link:focus-visible .amenity-gallery__zoom {
    opacity: 1;
    background: #000;
}

.amenity-gallery__controls {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
}

.amenity-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5625vw, 30px);
    width: calc(100% + 27px);
    margin-top: clamp(28px, 3.958333vw, 76px);
}

.amenity-feature__icon {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 23px;
}

.amenity-feature--cafe .amenity-feature__icon img {
    position: absolute;
    left: -0.4px;
    max-width: none;
}

.amenity-feature--social .amenity-feature__icon img {
    position: absolute;
    top: 2.384px;
    left: 2.084px;
}

.amenity-feature__label {
    font-size: clamp(14px, 0.9375vw, 18px);
    font-weight: 600;
    line-height: 1.2;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.amenity-card__image {
    align-self: start;
    aspect-ratio: 1056 / 722;
    overflow: hidden;
}

.amenity-card__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.is-lightbox-open {
    overflow: hidden;
}

.site-lightbox .pswp__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
    .amenity-gallery__link:hover > img {
        transform: scale(1.067);
    }

    .amenity-gallery__link:hover .amenity-gallery__zoom {
        opacity: 1;
    }

    .amenity-gallery__zoom:hover {
        background: #000;
    }
}

@media (hover: none), (pointer: coarse) {
    .amenity-gallery__zoom {
        opacity: 1;
        background: rgb(0 0 0 / 45%);
    }
}

@media (max-width: 1199px) {
    .amenity-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 48px 32px;
    }

    .amenity-card__title {
        font-size: 36px;
        line-height: 40px;
    }

    .amenity-card__description,
    .amenity-feature__label {
        font-size: 18px;
    }

    .amenity-features {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .amenities__header {
        display: block;
    }

    .amenities__title {
        font-size: 48px;
        line-height: 42px;
    }

    .amenities__intro,
    .amenities__copy--desktop,
    .amenities .amenity-card__image {
        display: none;
    }

    .amenities__copy--mobile {
        display: inline;
    }

    .amenity-card {
        margin-top: 40px;
        margin-inline: calc(-1 * var(--container-gutter));
        padding: 50px var(--container-gutter);
    }

    .amenities .amenity-card + .amenity-card {
        margin-top: 8px;
    }

    .amenity-card__title {
        font-size: clamp(26px, 8.533333vw, 32px);
        line-height: 1.125;
    }

    .amenity-card__description {
        margin-top: 30px;
        padding-right: 16px;
        font-size: 16px;
        line-height: 22px;
    }

    .amenity-card:first-of-type .amenity-card__description {
        padding-right: 32px;
    }

    .amenity-card--wellness .amenity-card__description {
        padding-right: 0;
    }

    .amenity-gallery {
        margin-top: 28px;
        margin-right: calc(-1 * var(--container-gutter));
    }

    .amenities .amenity-gallery__slide {
        flex-basis: calc(100% - 32px);
        width: calc(100% - 32px);
    }

    .amenities .amenity-gallery__controls,
    .amenities .amenity-gallery__zoom {
        display: none;
    }

    .amenity-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 32px;
        text-align: center;
    }

    .amenity-feature__icon {
        margin: 0 auto 6px;
    }

    .amenity-feature__label {
        margin-inline: -6px;
        font-size: clamp(10px, 3.2vw, 12px);
        line-height: 1.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amenity-gallery__link > img,
    .amenity-gallery__zoom {
        transition: none;
    }

    .amenity-gallery__link:hover > img {
        transform: none;
    }
}

/* Additional amenity levels share the original card and gallery components. */
.amenity-card + .amenity-card {
    margin-top: 20px;
}

.amenity-card--wellness {
    background: #f0dfd4;
}

.amenity-feature--gym .amenity-feature__icon img {
    position: absolute;
    top: 0.5421px;
    left: -0.246px;
    max-width: none;
}

.amenity-feature--spa .amenity-feature__icon img,
.amenity-feature--yoga .amenity-feature__icon img {
    position: absolute;
    top: 2.4281px;
    left: -0.146px;
    max-width: none;
}

.amenity-feature--kids .amenity-feature__icon img {
    position: absolute;
    left: -0.4px;
    max-width: none;
}

.amenity-feature--cinema .amenity-feature__icon img {
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    max-width: none;
}

@media (min-width: 1200px) {
    .amenity-card--reverse {
        grid-template-columns: minmax(0, 1056fr) minmax(0, 595fr);
    }

    .amenity-card--reverse > .amenity-card__content {
        grid-column: 2;
        grid-row: 1;
    }

    .amenity-card--reverse > .amenity-card__image {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 1199px) {
    .amenity-card__desktop-break {
        display: none;
    }
}

/* Project gallery: two independent photo collections, ready for repeatable CMS fields. */
.project-gallery {
    color: #000;
    background: #fff;
}

.project-gallery__inner {
    border-top: 1px solid #000;
}

.project-gallery__header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 20px;
    margin-top: 64px;
}

.project-gallery__title {
    color: #000;
}

.project-gallery__description {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -0.02em;
    text-indent: 57.6px;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.project-gallery__tabs {
    display: flex;
    width: fit-content;
    margin-top: 70px;
    margin-bottom: 20px;
}

.project-gallery__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 18px;
    border: 1px solid #e6e8ef;
    color: #000;
    background: #fff;
    font-size: 18px;
    line-height: 23px;
    cursor: pointer;
    transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.project-gallery__tab + .project-gallery__tab {
    margin-left: -1px;
}

.project-gallery__tab[aria-selected="true"] {
    background: #e6e8ef;
}

.project-gallery__tab:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #222;
    outline-offset: -2px;
}

.project-gallery__slider {
    overflow: visible;
}

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
    height: auto;
    aspect-ratio: 1824 / 676;
}

.project-gallery__slide {
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.project-gallery__photo {
    min-width: 0;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
}

.project-gallery__slide--main {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.project-gallery__slide--upper {
    grid-column: 3;
    grid-row: 1;
}

.project-gallery__slide--lower {
    grid-column: 3;
    grid-row: 2;
}

.project-gallery__slide--portrait {
    grid-column: 4;
    grid-row: 1 / span 2;
}

/* These four source crops preserve the offsets and proportions in Figma. */
.project-gallery__photo--pool > img {
    position: absolute;
    top: 0;
    left: -128.75%;
    width: 270.98%;
    max-width: none;
    height: 100%;
}

.project-gallery__photo--living > img {
    position: absolute;
    top: 0;
    left: -33.27%;
    width: 133.29%;
    max-width: none;
    height: 100%;
}

.project-gallery__photo--gym > img {
    position: absolute;
    top: 0;
    left: -0.08%;
    width: 132.28%;
    max-width: none;
    height: 100%;
}

.project-gallery__photo--bedroom > img {
    position: absolute;
    top: -12.51%;
    left: -81.86%;
    width: 181.97%;
    max-width: none;
    height: 112.51%;
}

@media (hover: hover) and (pointer: fine) {
    .project-gallery__tab:hover {
        background: #e6e8ef;
    }
}

@media (max-width: 1199px) {
    .project-gallery__header {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 32px;
        margin-top: 48px;
    }

    .project-gallery__description {
        max-width: 902px;
    }

    .project-gallery__tabs {
        margin-top: 48px;
    }
}

@media (max-width: 767px) {
    .project-gallery__header {
        display: block;
        margin-top: 64px;
    }

    .project-gallery__title {
        max-width: 340px;
        font-size: 48px;
        line-height: 0.9;
    }

    .project-gallery__description {
        display: none;
    }

    .project-gallery__tabs {
        width: 100%;
        margin-top: 32px;
        margin-bottom: 30px;
    }

    .project-gallery__tabs .project-gallery__tab {
        flex: 1 1 50%;
        font-size: 14px;
        line-height: 18px;
    }

    .project-gallery__slider {
        width: calc(100% + var(--container-gutter));
        margin-inline: 0;
        overflow: hidden;
    }

    .project-gallery__grid {
        display: flex;
        gap: 0;
        aspect-ratio: auto;
    }

    .project-gallery__slide {
        grid-column: auto;
        grid-row: auto;
        flex: 0 0 calc(100% - 30px);
        width: calc(100% - 30px);
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .project-gallery .amenity-gallery__zoom {
        display: none;
    }

    .project-gallery__photo > img {
        position: static;
        width: 100%;
        height: 100%;
    }

    .project-gallery__photo--living > img {
        object-position: right center;
    }

    .project-gallery__photo--gym > img {
        object-position: left center;
    }

    .project-gallery__photo--pool > img {
        object-position: 75.3% center;
    }

    .project-gallery__photo--bedroom > img {
        object-position: right center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-gallery__tab {
        transition: none;
    }
}

/* About developer: editable copy, support items and static project cards. */
.developer {
    color: #000;
    background: #fff;
}

.developer__copy--mobile {
    display: none;
}

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

.developer__brand {
    align-self: start;
}

.developer__overview {
    align-items: end;
    margin-top: 102px;
}

.developer__slogan {
    margin-bottom: 8px;
    font-size: clamp(32px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 1.083333;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer__copy-title {
    margin-bottom: 31px;
    font-size: clamp(18px, 1.145833vw, 22px);
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer__paragraphs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    font-size: 18px;
    line-height: 22px;
}

.developer__paragraphs p {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer-support {
    margin-top: 62px;
    padding-top: 30px;
    border-top: 1px solid #000;
}

.developer-support__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer-support__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 275fr)) minmax(0, 174fr);
    margin-top: 30px;
}

.developer-support__icon {
    position: relative;
    display: block;
    width: 24.615px;
    height: 16px;
    margin-bottom: 23px;
}

.developer-support__icon img {
    position: absolute;
    top: -0.883px;
    left: -0.883px;
    max-width: none;
}

.developer-support__label {
    max-width: 227px;
    font-size: 18px;
    line-height: 20px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer__projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 70px;
}

.developer-project {
    --developer-reveal-easing: cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    aspect-ratio: 595 / 553;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.developer-project::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(0 0 0 / 10%);
    content: "";
    pointer-events: none;
    transition: background-color 766.56276ms var(--developer-reveal-easing);
}

.developer-project__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-project--venti .developer-project__image {
    left: -1.78%;
    width: 143.83%;
    max-width: none;
}

.developer-project--asgata .developer-project__image {
    left: -25.91%;
    width: 162.65%;
    max-width: none;
}

.developer-project__title {
    position: absolute;
    top: 7.233273%;
    right: 6.722689%;
    left: 6.722689%;
    font-size: clamp(22px, 1.666667vw, 32px);
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer-project__description {
    position: absolute;
    right: 6.722689%;
    bottom: 7.414105%;
    left: 6.722689%;
    font-size: clamp(16px, 1.041667vw, 20px);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(calc(100% + 66px));
    transition: transform 766.56276ms var(--developer-reveal-easing), opacity 766.56276ms ease;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.developer-project:is(:hover, :focus-visible)::after {
    background: rgb(0 0 0 / 30%);
}

.developer-project:is(:hover, :focus-visible) .developer-project__description {
    opacity: 1;
    transform: translateY(0);
}

.developer-project:focus-visible {
    outline: 2px solid #222;
    outline-offset: 4px;
}

.developer__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
}

.developer__cta {
    width: 437px;
    color: #fff;
    background: #78a968;
}

@media (max-width: 1199px) {
    .developer__header,
    .developer__overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .developer__header {
        grid-template-areas: "title" "brand";
    }

    .developer__heading {
        grid-area: title;
    }

    .developer__brand {
        grid-area: brand;
    }

    .developer__overview {
        margin-top: 40px;
    }

    .developer__slogan {
        margin-bottom: 0;
    }

    .developer-support__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .developer-support__label {
        font-size: 16px;
        line-height: 20px;
    }

    .developer__projects {
        gap: 16px;
    }

    .developer-project__title {
        font-size: 22px;
        line-height: 25px;
    }

    .developer-project__description {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .developer__header {
        grid-template-areas: "brand" "title";
        gap: 32px;
    }

    .developer__heading {
        font-size: 48px;
        line-height: 0.9;
    }

    .developer__overview {
        gap: 32px;
        margin-top: 20px;
    }

    .developer__slogan {
        font-size: 32px;
        line-height: 36px;
    }

    .developer__copy-title,
    .developer__paragraphs > p + p,
    .developer__copy--desktop {
        display: none;
    }

    .developer__copy--mobile {
        display: inline;
    }

    .developer__paragraphs {
        display: block;
        font-size: 16px;
        line-height: 22px;
    }

    .developer-support {
        margin-top: 30px;
    }

    .developer-support__title {
        font-size: 18px;
        line-height: 24px;
    }

    .developer-support__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 8px;
    }

    .developer-support__list > li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    .developer-support__item--compliance {
        order: 4;
    }

    .developer-support__item--residency {
        order: 5;
    }

    .developer-support__item--vat {
        order: 6;
    }

    .developer-support__list > .developer-support__item--after-sales {
        display: none;
    }

    .developer-support__icon {
        flex: 0 0 24.615px;
        margin-bottom: 0;
    }

    .developer-support__label {
        max-width: none;
        min-width: 0;
        font-size: 14px;
        line-height: 20px;
    }

    .developer__projects {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 48px;
    }

    .developer-project__title {
        top: 32px;
        right: 32px;
        left: 32px;
        font-size: 26px;
        line-height: 30px;
    }

    .developer-project__description {
        right: 24px;
        bottom: 24px;
        left: 24px;
        font-size: 14px;
        line-height: 20px;
        opacity: 1;
        transform: none;
    }

    .developer-project::after {
        background: rgb(0 0 0 / 30%);
    }

    .developer__actions {
        margin-top: 40px;
    }

    .developer__cta {
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        padding-inline: 24px;
        font-size: 18px;
    }
}

@media (hover: none), (pointer: coarse) {
    .developer-project::after {
        background: rgb(0 0 0 / 30%);
    }

    .developer-project__description {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .developer-project::after,
    .developer-project__description {
        transition: none;
    }
}

/* Figma prototype spring: mass 1, stiffness 177.8, damping 20. */
@supports (animation-timing-function: linear(0, 1)) {
    .developer-project {
        --developer-reveal-easing: linear(0.0, 0.0434, 0.14717, 0.27999, 0.42013, 0.55353, 0.67204, 0.7718, 0.85193, 0.91346, 0.95852, 0.98976, 1.00994, 1.02163, 1.02714, 1.02837, 1.02685, 1.02375, 1.01992, 1.01595, 1.0122, 1.00891, 1.00615, 1.00394, 1.00226, 1.00104, 1.0002, 0.99966, 0.99936, 0.99922, 0.9992, 0.99925, 1);
    }
}

/* Footer content and links stay independent of the page sections for WordPress. */
.site-footer {
    color: #000;
    background: #e6e8ef;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 901fr) minmax(0, 320fr) minmax(500px, 563fr);
    gap: 20px;
    padding-top: 100px;
    padding-bottom: 61px;
}

.site-footer__brand {
    min-width: 0;
    padding-left: 1px;
}

.site-footer__logo {
    display: block;
    width: fit-content;
}

.site-footer__tagline {
    max-width: 594px;
    margin-top: 36px;
    font-size: 22px;
    line-height: 1.25;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.site-footer__menu {
    min-width: 0;
    padding-top: 40px;
}

.site-footer__heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.site-footer__menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 44px;
    margin-left: -12px;
}

.site-footer .site-nav__link {
    justify-content: center;
    width: fit-content;
    min-height: 47px;
    padding: 17px 12px;
    font-size: 18px;
}

.site-footer .site-nav__link::after {
    bottom: 0;
    height: 2px;
}

.site-footer__link-label {
    display: block;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.site-footer__contact {
    min-width: 0;
    min-height: 388px;
    padding: 40px;
    background: #fff;
}

.site-footer__address {
    margin-top: 54px;
    font-style: normal;
}

.site-footer__contact-list {
    display: grid;
    gap: 26px;
}

.site-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 22px;
    font-size: 18px;
    line-height: 1.15;
}

.site-footer__contact-link > span:last-child {
    min-width: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.site-footer__contact-link:is(:hover, :focus-visible) > span:last-child {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__contact-icon {
    position: relative;
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    overflow: hidden;
}

.site-footer__contact-icon img {
    position: absolute;
    max-width: none;
}

.site-footer__contact-icon--pin img {
    top: 0;
    left: 2.5781px;
}

.site-footer__contact-icon--phone img {
    top: -0.0022px;
    left: 0;
}

.site-footer__email-flap {
    top: 3.3px;
    left: 1.87px;
}

.site-footer__email-body {
    top: 4.62px;
    left: 0;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
    margin-top: 83px;
}

.site-footer__social-link {
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 36px;
}

.site-footer__social-link[href*="instagram.com"] { --social-hover-icon: url("../images/footer/instagram-green.svg"); }
.site-footer__social-link[href*="linkedin.com"] { --social-hover-icon: url("../images/footer/linkedin-green.svg"); }
.site-footer__social-link[href*="t.me"] { --social-hover-icon: url("../images/footer/telegram-green.svg"); }
.site-footer__social-link[href*="facebook.com"] { --social-hover-icon: url("../images/footer/facebook-green.svg"); }
.site-footer__social-link[href*="wa.me"] { --social-hover-icon: url("../images/footer/whatsapp-green.svg"); }

.site-footer__social-icon > img,
.site-footer__social-icon::after {
    transition: opacity 150ms ease;
}

.site-footer__social-icon::after {
    position: absolute;
    inset: 0;
    background: var(--social-hover-icon) center no-repeat;
    opacity: 0;
    content: "";
    pointer-events: none;
}

.site-footer__social-link:is(:hover, :focus-visible) .site-footer__social-icon > img {
    opacity: 0;
}

.site-footer__social-link:is(:hover, :focus-visible) .site-footer__social-icon::after {
    opacity: 1;
}

.site-footer__social-icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    overflow: hidden;
}

.site-footer__bottom {
    position: relative;
}

.site-footer__bottom::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: url("../images/footer/divider.svg") left top repeat-x;
    content: "";
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 85px;
}

.site-footer__copyright {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    gap: 13.4px;
    padding-left: 1px;
    font-size: 14px;
    line-height: 1.25;
}

.site-footer__copyright p {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-right: -12px;
    color: #5d6f85;
}

.site-footer__legal .site-nav__link {
    font-size: 14px;
}

.site-footer__legal [aria-disabled="true"] {
    cursor: default;
}

.site-footer__legal [aria-disabled="true"]::after {
    display: none;
}

.site-footer a[href] {
    transition: color 150ms ease;
}

.site-footer a[href]:is(:hover, :focus-visible) {
    color: #78a968;
}

.site-footer a:focus-visible {
    outline: 2px solid #222;
    outline-offset: 4px;
}

@media (max-width: 1199px) {
    .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 32px;
        padding-top: 64px;
        padding-bottom: 48px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__menu {
        padding-top: 32px;
    }

    .site-footer__contact {
        padding: 32px;
    }

    .site-footer__contact-link {
        align-items: flex-start;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    .site-footer__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 60px;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .site-footer__brand {
        padding-left: 0;
        text-align: center;
    }

    .site-footer__logo {
        width: 125px;
        margin-inline: auto;
    }

    .site-footer__tagline {
        max-width: 250px;
        margin: 28px auto 0;
        font-size: 16px;
        line-height: 22px;
    }

    .site-footer__desktop-break {
        display: none;
    }

    .site-footer__menu {
        padding-top: 0;
        text-align: center;
    }

    .site-footer__heading {
        font-size: 20px;
        line-height: 24px;
    }

    .site-footer__menu-list {
        align-items: center;
        gap: 20px;
        margin: 20px 0 0;
    }

    .site-footer .site-nav__link {
        min-height: 44px;
        padding-block: 12px;
        font-size: 16px;
    }

    .site-footer__contact {
        min-height: 0;
        padding: 30px;
    }

    .site-footer__address {
        margin-top: 20px;
    }

    .site-footer__contact-list {
        gap: 24px;
    }

    .site-footer__contact-link {
        gap: 10px;
        font-size: 14px;
        line-height: 18px;
        align-items: center;
    }

    .site-footer__socials {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 4px;
        margin-top: 28px;
        margin-inline: -6px;
    }

    .site-footer__social-link {
        display: grid;
        flex-basis: auto;
        place-items: center;
        width: 44px;
        height: 44px;
    }

    .site-footer__bottom::before {
        display: none;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-block: 0;
    }

    .site-footer__copyright {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-left: 0;
    }

    .site-footer__legal {
        justify-content: center;
        gap: 40px;
        width: calc(100% + var(--container-gutter) * 2);
        margin: 0 calc(var(--container-gutter) * -1);
        padding: 6px 12px;
        border-top: 1px solid #cdd6e3;
    }

    .site-footer__legal .site-nav__link {
        font-size: 14px;
    }

    .site-footer__legal [data-cookie-policy-link][aria-disabled="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer a[href],
    .site-footer__social-icon > img,
    .site-footer__social-icon::after {
        transition: none;
    }
}

/* Plans: nested native tab groups and one shared enquiry action. */
.layouts {
    color: #000;
    background: #fff;
}

.layouts__heading {
    color: #000;
}

.layouts__heading-muted {
    color: #d8dce6;
}

.layouts__heading-indent {
    white-space: pre;
}

.layouts__specs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    margin-top: 65px;
}

.layouts__spec {
    position: relative;
    display: grid;
    grid-template-columns: clamp(52px, 4.177083vw, 80.2px) minmax(0, 1fr);
    align-items: start;
    min-height: 98px;
}

.layouts__spec::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--spec-rule) left center repeat-x;
    content: "";
}

.layouts__spec:nth-child(1) { --spec-rule: url("../images/layouts/spec-rule-01.svg"); }
.layouts__spec:nth-child(2) { --spec-rule: url("../images/layouts/spec-rule-02.svg"); }
.layouts__spec:nth-child(3) { --spec-rule: url("../images/layouts/spec-rule-03.svg"); }
.layouts__spec:nth-child(4) { --spec-rule: url("../images/layouts/spec-rule-04.svg"); }
.layouts__spec:nth-child(5) { --spec-rule: url("../images/layouts/spec-rule-05.svg"); }
.layouts__spec:nth-child(6) { --spec-rule: url("../images/layouts/spec-rule-06.svg"); }

.layouts__spec-number {
    font-size: clamp(32px, 2.5vw, 48px);
    font-weight: 600;
    line-height: 22px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__spec-label {
    font-size: clamp(14px, 0.9375vw, 18px);
    font-weight: 600;
    line-height: 1.222222;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__spec-label small {
    display: block;
    font-size: 0.722222em;
    font-weight: 400;
    line-height: 1.3;
}

.layouts__workspace {
    margin: 60px 48px 0;
}

.layouts__type-tabs {
    display: flex;
    width: fit-content;
    margin-bottom: 32px;
}

.layouts__type-tab[aria-selected="true"] {
    border-color: #000;
    color: #fff;
    background: #000;
}

.layouts__type-tab:focus-visible {
    outline-offset: 3px;
}

.layouts__content {
    display: grid;
    grid-template-columns: minmax(0, 854fr) minmax(0, 166fr) minmax(0, 563fr) minmax(0, 145fr);
    grid-template-rows: 1fr auto;
    row-gap: 60px;
}

.layouts__panel {
    display: contents;
}

.layouts__visual {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 100%;
    min-width: 0;
    aspect-ratio: 854 / 694;
    overflow: hidden;
    border: 2px solid #e6e8ef;
    background: #fff;
}

.layouts__image-panel {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Preserve the Studio drawing and its original Figma image crop. */
.layouts__plan-canvas {
    position: absolute;
    top: 47.318841%;
    left: 52.647059%;
    width: 119.882353%;
    height: 116.666667%;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.layouts__plan-canvas img {
    position: absolute;
    max-width: none;
    object-fit: fill;
}

.layouts__plan-canvas--studio img {
    top: -7.41%;
    left: -32.67%;
    width: 132.67%;
    height: 118.65%;
}

/* Supplied bedroom plans retain their full drawing and original proportions. */
.layouts__plan-canvas--one,
.layouts__plan-canvas--two,
.layouts__plan-canvas--three {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
}

.layouts__plan-canvas--one img,
.layouts__plan-canvas--two img,
.layouts__plan-canvas--three img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.layouts__interior-image {
    position: absolute;
    top: 50.072464%;
    left: 42%;
    width: 145.882353%;
    max-width: none;
    height: 101.594203%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.layouts__visual--three {
    border-width: 1px;
}

.layouts__visual--three .layouts__interior-image {
    top: 50.072254%;
    left: 42.018779%;
    width: 145.539906%;
    height: 101.300578%;
}

.layouts__view-tabs {
    position: absolute;
    z-index: 1;
    bottom: 28px;
    left: 50%;
    display: flex;
    width: fit-content;
    transform: translateX(-50%);
}

.layouts__view-tab {
    min-width: 99px;
}

.layouts__details {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    min-width: 0;
}

.layouts__title {
    margin-bottom: 30px;
    font-size: clamp(28px, 2.291667vw, 44px);
    font-weight: 600;
    line-height: 1.181818;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__title-prefix {
    color: #d8dce6;
}

.layouts__areas {
    font-size: 18px;
    line-height: 22px;
}

.layouts__area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 30px;
}

.layouts__area + .layouts__area {
    border-top: 1px solid #000;
}

.layouts__area dt,
.layouts__area dd {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__area dd {
    font-weight: 600;
}

.layouts__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: #e6e8ef;
    font-size: 24px;
    font-weight: 600;
    line-height: 22px;
}

.layouts__price span {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__note {
    margin-top: 30px;
    font-size: 16px;
    line-height: 20px;
}

.layouts__note p {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__note p + p {
    margin-top: 10px;
}

.layouts__action {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
}

.layouts__cta {
    gap: 10px;
    width: 271px;
    min-height: 68px;
    border: 0;
    color: #fff;
    background: #78a968;
}

.layouts__cta .button__label {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.layouts__cta .button__arrow {
    display: block;
    flex: 0 0 21px;
    width: 21px;
    height: 19.385px;
}

.layouts__cta .button__arrow img {
    filter: invert(1);
    position: absolute;
    top: -0.40365px;
    left: -0.40385px;
    max-width: none;
}

.layouts__cta:focus-visible {
    outline-color: #222;
}

@media (min-width: 768px) {
    .layouts__visual {
        align-self: stretch;
    }

    .layouts__image-panel {
        top: 50%;
        bottom: auto;
        aspect-ratio: 854 / 694;
        transform: translateY(-50%);
    }
}

@media (max-width: 1399px) {
    .layouts__workspace {
        margin-inline: 0;
    }

    .layouts__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 48px;
    }

    .layouts__details,
    .layouts__action {
        grid-column: 2;
    }
}

@media (max-width: 1199px) {
    .layouts__specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 20px;
        margin-top: 48px;
    }

    .layouts__spec {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .layouts__spec-number {
        font-size: 40px;
    }

    .layouts__spec-label {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 767px) {
    .layouts__heading {
        font-size: clamp(36px, 12.8vw, 48px);
        line-height: 0.9;
    }

    .layouts__heading-indent {
        white-space: normal;
    }

    .layouts__specs {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        margin-top: 24px;
    }

    .layouts__spec {
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        min-height: 68px;
        padding-block: 20px;
    }

    .layouts__spec-number {
        font-size: 36px;
    }

    .layouts__spec::after {
        height: 1px;
        background-position: left top;
    }

    .layouts__spec-label {
        font-size: 16px;
        line-height: 20px;
    }

    .layouts__desktop-break {
        display: none;
    }

    .layouts__spec-label small {
        display: block;
        font-size: 12px;
        line-height: 16px;
    }

    .layouts__workspace {
        margin-top: 40px;
    }

    .layouts__type-tabs {
        display: flex;
        width: 100%;
        margin-bottom: 16px;
    }

    .layouts__type-tab {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 45px;
        padding-inline: 12px;
        font-size: 12px;
        line-height: 16px;
        white-space: nowrap;
    }

    .layouts__content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        row-gap: 30px;
    }

    .layouts__visual {
        grid-column: 1;
        grid-row: 1;
        display: grid;
        grid-template-rows: auto 45px;
        aspect-ratio: auto;
        border: 0;
    }

    .layouts__image-panel {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        inset: auto;
        width: 100%;
        aspect-ratio: 854 / 694;
        border: 1px solid #e6e8ef;
    }

    .layouts__visual--studio .layouts__plan-canvas {
        top: 51.7%;
        transform: translate(-50%, -50%) scale(1.18);
    }

    .layouts__details {
        grid-column: 1;
        grid-row: 2;
    }

    .layouts__action {
        grid-column: 1;
        grid-row: 3;
        margin-top: 20px;
    }

    .layouts__view-tabs {
        position: static;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        transform: none;
    }

    .layouts__view-tab {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 45px;
        padding: 10px;
        font-size: 12px;
        line-height: 16px;
    }

    .layouts__title {
        margin-bottom: 24px;
        font-size: 32px;
        line-height: 36px;
    }

    .layouts__area {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        min-width: 0;
        padding: 0 clamp(12px, 4.8vw, 18px);
    }

    .layouts__area:first-child {
        padding-inline: 0;
    }

    .layouts__area + .layouts__area {
        border-top: 0;
        border-left: 1px solid #222;
    }

    .layouts__areas {
        display: grid;
        grid-template-columns: minmax(0, 76fr) repeat(3, minmax(0, 89fr));
        font-size: clamp(10px, 3.2vw, 12px);
        line-height: 16px;
    }

    .layouts__area dt {
        white-space: nowrap;
    }

    .layouts__area dd {
        font-size: 18px;
        line-height: 22px;
        white-space: nowrap;
    }

    .layouts__price {
        margin-top: 30px;
        padding: 16px 20px;
        font-size: 18px;
    }

    .layouts__note {
        margin-top: 30px;
        font-size: 14px;
        line-height: 20px;
    }

    .layouts__cta {
        justify-content: space-between;
        width: 100%;
        min-height: 56px;
        border: 0;
        color: #fff;
        background: #78a968;
        font-size: 18px;
    }

    .layouts__cta .button__arrow img {
        filter: invert(1);
    }

    .site-main > .layouts + .project-gallery {
        margin-top: 40px;
    }
}
