﻿:root {
    --ivory: #f7f3ea;
    --paper: #fffdf7;
    --stone: #d9d0c0;
    --stone-2: #b8ad9a;
    --olive: #585f3f;
    --olive-dark: #34372a;
    --charcoal: #171815;
    --deep: #25231d;
    --muted: #686457;
    --bronze: #8a704d;
    --line: rgba(48, 55, 35, 0.18);
    --line-strong: rgba(48, 55, 35, 0.34);
    --white-soft: rgba(255, 253, 247, 0.84);
    --shadow: 0 20px 60px rgba(39, 35, 25, 0.10);
    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: min(1180px, calc(100vw - 64px));
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--ivory);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

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

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

button {
    font: inherit;
}

:focus-visible {
    outline: 1px solid var(--bronze);
    outline-offset: 5px;
}

[id] {
    scroll-margin-top: 96px;
}

#villas,
#plans,
#comfort,
#gallery,
#faq,
#contact {
    scroll-margin-top: 104px;
}

.skip-link {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    padding: 10px 14px;
    color: var(--paper);
    background: var(--charcoal);
    transform: translateY(-140%);
}

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

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 120;
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 0 max(22px, calc((100vw - 1180px) / 2));
    color: var(--paper);
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(11, 13, 9, .34), rgba(11, 13, 9, 0));
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
    transition: background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease), backdrop-filter 260ms var(--ease);
}

.site-header.is-scrolled {
    color: var(--charcoal);
    border-color: var(--line);
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 12px 36px rgba(28, 27, 22, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.primary-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .035em;
    text-transform: none;
}

.primary-nav a,
.header-cta,
.text-link {
    position: relative;
}

.primary-nav a::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--ease);
}

.primary-nav a:hover::after,
.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: none;
    transition: color 220ms var(--ease), border-color 220ms var(--ease);
}

.header-cta:hover {
    color: var(--stone);
    border-color: currentColor;
}

.site-header.is-scrolled .header-cta:hover {
    color: var(--bronze);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    place-items: center;
}

.nav-toggle span:first-child,
.nav-toggle span:first-child::before,
.nav-toggle span:first-child::after {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.nav-toggle span:first-child {
    position: relative;
}

.nav-toggle span:first-child::before,
.nav-toggle span:first-child::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span:first-child::before {
    top: -6px;
}

.nav-toggle span:first-child::after {
    top: 6px;
}

.nav-toggle.is-open span:first-child {
    background: transparent;
}

.nav-toggle.is-open span:first-child::before {
    top: 0;
    transform: rotate(42deg);
}

.nav-toggle.is-open span:first-child::after {
    top: 0;
    transform: rotate(-42deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    color: var(--paper);
    background: var(--charcoal);
    overflow: hidden;
}

.hero__image,
.hero__image img,
.hero__shade,
.hero__content {
    grid-area: 1 / 1;
}

.hero__image,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__image {
    overflow: hidden;
}

.hero__image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
}

.hero__shade {
    pointer-events: none;
    background:
        radial-gradient(ellipse at 21% 63%, rgba(12, 15, 10, .29) 0%, rgba(12, 15, 10, .14) 38%, rgba(12, 15, 10, 0) 70%),
        linear-gradient(90deg, rgba(18, 22, 15, 0.33) 0%, rgba(18, 22, 15, 0.16) 38%, rgba(18, 22, 15, 0.01) 74%, rgba(18, 22, 15, 0.03) 100%),
        linear-gradient(180deg, rgba(18, 22, 15, 0.01) 0%, rgba(18, 22, 15, 0) 42%, rgba(18, 22, 15, 0.18) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: var(--container);
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 132px 0 72px;
}

.hero__copy {
    position: relative;
    isolation: isolate;
    width: min(760px, 100%);
    text-shadow: 0 2px 18px rgba(6, 8, 5, .58);
}

.hero__copy::before {
    content: "";
    position: absolute;
    inset: -32px -68px -34px -34px;
    z-index: -1;
    background: radial-gradient(ellipse at 18% 54%, rgba(12, 15, 10, .22) 0%, rgba(12, 15, 10, .10) 52%, rgba(12, 15, 10, 0) 82%);
    filter: blur(5px);
}

.hero__location,
.section-kicker {
    margin: 0 0 18px;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-panel h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0;
    line-height: .96;
}

.hero h1 {
    max-width: min(820px, 100%);
    font-size: clamp(66px, 8.2vw, 116px);
    white-space: normal;
}

.hero h1 span {
    display: inline;
}

.hero__lead {
    max-width: 540px;
    margin: 20px 0 0;
    color: rgba(255, 253, 247, .94);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.5;
}

.hero__facts {
    width: min(660px, 100%);
    display: grid;
    grid-template-columns: 1.48fr .82fr .86fr minmax(136px, 1.06fr);
    gap: 0;
    margin: 28px 0 24px;
    border-top: 1px solid rgba(255, 253, 247, .34);
    border-bottom: 1px solid rgba(255, 253, 247, .28);
    background: rgba(12, 15, 10, .14);
    backdrop-filter: blur(4px);
}

.hero__facts div {
    min-width: 0;
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 12px 22px;
}

.hero__facts div + div {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 253, 247, .26);
}

.hero__facts span,
.spec-list dt,
.villa-card__status {
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero__facts strong {
    font-family: var(--font-serif);
    font-size: clamp(27px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.hero__facts .unit {
    font-size: .72em;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.hero__facts div:last-child {
    padding-right: 18px;
}

.hero__actions,
.contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    border: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: none;
    transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.button::after,
.text-link::before {
    content: "";
    width: 18px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 220ms var(--ease);
}

.button:hover {
    transform: none;
}

.button:hover::after,
.text-link:hover::before {
    transform: scaleX(1.24);
    transform-origin: left;
}

.button--primary,
.button--dark {
    color: var(--paper);
    border-color: var(--deep);
    background: var(--deep);
}

.button--primary:hover,
.button--dark:hover {
    color: var(--paper);
    border-color: var(--bronze);
    background: var(--olive-dark);
}

.button--ghost {
    color: var(--paper);
    border-color: rgba(255, 253, 247, .24);
    background: rgba(23, 24, 21, .18);
}

.button--ghost:hover {
    color: var(--paper);
    border-color: var(--bronze);
    background: rgba(52, 55, 42, .76);
}

.button--outline {
    color: var(--olive-dark);
    background: transparent;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: grid;
    justify-items: center;
    gap: 11px;
    color: rgba(255, 253, 247, .82);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 1px;
    height: 34px;
    background: currentColor;
}

.section {
    padding: clamp(78px, 9vw, 140px) 0;
}

.section--collection,
.section--design,
.section--rooms,
.section--gallery,
.section--faq {
    background: var(--paper);
}

.section--plans,
.section--buyer {
    background: #efe8dc;
}

.section--comfort {
    background:
        linear-gradient(180deg, rgba(247, 243, 234, .98), rgba(239, 232, 220, .98)),
        var(--ivory);
}

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

.section-kicker {
    color: var(--bronze);
}

.section h2,
.contact-panel h2 {
    color: var(--olive-dark);
    font-size: clamp(38px, 4vw, 58px);
}

.design-copy h2 {
    font-size: clamp(38px, 3.8vw, 56px);
}

.section p,
.contact-panel p {
    color: var(--muted);
}

.narrow-heading p,
.section-heading p {
    margin: 20px auto 0;
    max-width: 660px;
    font-size: 17px;
}

.summary-panel {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: end;
    gap: 46px;
    margin-bottom: 44px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.summary-panel p {
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(29px, 3.2vw, 46px);
    line-height: 1.08;
}

.summary-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
}

.summary-facts div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.summary-facts dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.summary-facts dd {
    margin: 6px 0 0;
    color: var(--olive-dark);
    font-weight: 700;
}

.design-layout {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: start;
}

.design-copy {
    position: sticky;
    top: 124px;
}

.design-copy p {
    max-width: 580px;
    margin: 24px 0 0;
    font-size: 17px;
}

.design-story {
    display: grid;
    gap: 34px;
}

.design-media .media-button {
    min-height: 430px;
}

.design-media img {
    object-position: center center;
}

.design-points {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.design-points article {
    display: grid;
    grid-template-columns: 64px minmax(0, .72fr) minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.design-points span {
    color: var(--bronze);
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1;
}

.design-points h3 {
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    line-height: 1;
}

.design-points p {
    margin: 0;
}

.comfort-layout {
    display: grid;
    grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
    gap: clamp(42px, 7vw, 88px);
    align-items: start;
}

.comfort-copy {
    position: sticky;
    top: 124px;
}

.comfort-copy p {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.comfort-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 34px) 24px;
}

.comfort-card {
    min-width: 0;
    display: grid;
    gap: 18px;
    border-top: 1px solid rgba(48, 55, 35, .16);
    background: transparent;
}

.comfort-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, .72fr);
    gap: clamp(24px, 4vw, 42px);
    align-items: end;
    padding-bottom: 4px;
}

.comfort-card > div:last-child {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px 0 0;
}

.comfort-card--wide > div:last-child {
    padding: 0 0 10px;
}

.comfort-card__number {
    color: var(--bronze);
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1;
}

.comfort-card h3 {
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 500;
    line-height: 1.04;
}

.comfort-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.75px;
    line-height: 1.65;
}

.comfort-media {
    position: relative;
    margin: 0;
    aspect-ratio: 1119 / 700;
    border: 1px solid rgba(48, 55, 35, .12);
    background: #fffdf7;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(48, 55, 35, .08);
}

.comfort-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 253, 247, .52);
    pointer-events: none;
}

.comfort-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.comfort-card:hover .comfort-media img {
    filter: saturate(1.02) contrast(1.01);
    transform: scale(1.018);
}

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

.villas-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(34px, 5vw, 66px);
    align-items: stretch;
    padding-top: 18px;
}

.villas-showcase__media {
    align-self: center;
    min-height: 0;
    aspect-ratio: 1180 / 832;
}

.villas-showcase__media img {
    object-position: center center;
}

.villas-showcase__body {
    display: grid;
    align-content: center;
    gap: 26px;
    padding: clamp(30px, 5vw, 58px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.villas-showcase__body h3 {
    max-width: 560px;
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 500;
    line-height: .98;
}

.villas-showcase__body > p:not(.section-kicker) {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
}

.villa-types {
    padding-top: 18px;
}

.villa-types__intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: clamp(34px, 6vw, 78px);
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.villa-types__intro h3 {
    max-width: 640px;
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500;
    line-height: 1;
}

.villa-types__intro p:not(.section-kicker) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

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

.type-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.type-card--primary {
    border-top-color: rgba(138, 112, 77, .58);
}

.type-card--primary .villa-card__status {
    color: var(--bronze);
}

.type-card--classic {
    border-top-color: rgba(48, 55, 35, .14);
}

.type-card--classic .type-card__media img {
    filter: saturate(.88) contrast(.96);
}

.type-card--classic .villa-card__status {
    color: rgba(88, 95, 63, .78);
}

.type-card__media {
    min-height: 0;
    aspect-ratio: 5 / 3;
    background: #ece5d9;
}

.type-card__media img {
    object-position: center center;
    filter: saturate(.94) contrast(.98);
}

.type-card__body {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 26px 0 4px;
}

.type-card h4 {
    max-width: 520px;
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 500;
    line-height: 1;
}

.type-card .spec-list {
    margin-top: 4px;
}

.type-card__note {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.villa-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
}

.villa-option {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 16px;
    padding-top: 24px;
}

.villa-option + .villa-option {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.villa-option h4 {
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.villa-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .9fr);
    gap: 26px;
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(247, 243, 234, .44);
}

.villa-card__media {
    min-height: 360px;
}

.villa-card__body {
    display: grid;
    align-content: space-between;
    gap: 26px;
    padding: 12px 0;
}

.villa-card h3,
.facts-table h3,
.buyer-card h3,
.room-card h3 {
    margin: 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: 33px;
    font-weight: 500;
    line-height: 1;
}

.villa-card__status {
    margin: 0 0 14px;
    color: var(--olive);
}

.villa-card__price {
    margin: 12px 0 0;
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: clamp(27px, 2.3vw, 31px);
    line-height: 1;
    white-space: nowrap;
}

.villa-card__note {
    max-width: 330px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.spec-list {
    margin: 0;
}

.spec-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.spec-list dt {
    color: var(--muted);
}

.spec-list dd {
    margin: 0;
    color: var(--olive-dark);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.spec-list--compact div {
    padding: 8px 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: var(--olive-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-link::before {
    order: 2;
}

.media-button {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    padding: 0;
    color: var(--paper);
    border: 0;
    background: var(--stone);
    overflow: hidden;
    cursor: zoom-in;
}

.media-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease), filter 600ms var(--ease);
}

.media-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 18, 14, 0) 48%, rgba(16, 18, 14, .38) 100%);
    opacity: 0;
    transition: opacity 260ms var(--ease);
}

.media-button span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    color: var(--paper);
    border: 1px solid rgba(255, 253, 247, .50);
    background: rgba(23, 24, 21, .28);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.media-button:hover img {
    transform: scale(1.035);
}

.media-button:hover::after,
.media-button:hover span,
.media-button:focus-visible::after,
.media-button:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    min-height: 680px;
    background: var(--paper);
}

.feature__media {
    min-height: 680px;
}

.feature__copy {
    display: grid;
    align-content: center;
    padding: clamp(64px, 8vw, 120px);
}

.feature__copy h2 {
    max-width: 520px;
}

.feature__copy p {
    max-width: 520px;
    margin: 24px 0 0;
}

.quiet-list {
    display: grid;
    gap: 14px;
    max-width: 520px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.quiet-list li {
    padding-top: 14px;
    color: var(--olive-dark);
    border-top: 1px solid var(--line);
}

.plans-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
    grid-template-areas:
        "copy facts"
        "plans plans";
    align-items: end;
    gap: 44px;
}

.plans-copy {
    grid-area: copy;
}

.plans-copy p {
    margin: 22px 0 28px;
}

.plan-strip {
    grid-area: plans;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    margin-top: 10px;
}

.plan-strip figure,
.editorial-gallery figure,
.gallery-rail figure,
.room-card {
    margin: 0;
}

.plan-strip .media-button {
    height: clamp(420px, 46vw, 560px);
    min-height: 0;
    aspect-ratio: auto;
    border: 1px solid rgba(48, 55, 35, .14);
    background: #f8f5ee;
}

.plan-strip figure:nth-child(2) .media-button {
    aspect-ratio: auto;
}

.plan-strip img {
    object-fit: contain;
    padding: clamp(10px, 1.4vw, 18px);
}

.plan-strip figure:nth-child(2) img {
    object-position: center bottom;
}

figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.facts-table {
    grid-area: facts;
    padding: 28px;
    border: 1px solid rgba(138, 112, 77, .24);
    background:
        linear-gradient(180deg, rgba(255, 253, 247, .82), rgba(247, 243, 234, .66)),
        var(--paper);
}

.facts-table h3 {
    margin-bottom: 18px;
    font-size: 30px;
}

.facts-table p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

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

.room-card {
    display: grid;
    gap: 22px;
}

.room-card--wide {
    grid-column: span 2;
}

.room-card--study {
    grid-column: span 2;
    grid-template-columns: minmax(0, .95fr) minmax(260px, .60fr);
    gap: clamp(24px, 3.5vw, 42px);
    align-items: end;
}

.room-card--suite,
.room-card--study {
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.room-card .media-button {
    min-height: 315px;
}

.room-card--wide .media-button {
    min-height: 430px;
}

.room-card--suite .media-button,
.room-card--study .media-button {
    min-height: 360px;
}

.room-card__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--bronze);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.room-card h3 {
    margin-bottom: 10px;
    font-size: 34px;
}

.room-card p {
    margin: 0;
}

.room-card__points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.room-card__points li {
    padding: 11px 0;
    color: rgba(48, 55, 35, .70);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.section--location {
    background:
        linear-gradient(90deg, rgba(255, 253, 247, .92) 0%, rgba(255, 253, 247, .86) 42%, rgba(247, 243, 234, .58) 68%, rgba(247, 243, 234, .34) 100%),
        url("../v3/hero-garden.webp") center 54% / cover;
    color: var(--charcoal);
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    align-items: center;
    gap: 70px;
}

.section--location h2,
.section--location p {
    color: var(--olive-dark);
}

.section--location .section-kicker {
    color: #7a6242;
}

.location-map {
    display: grid;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 247, .80);
    box-shadow: 0 28px 80px rgba(44, 49, 31, .12);
    backdrop-filter: blur(5px);
}

.location-map__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

.location-map__title {
    max-width: 640px;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(40px, 3.6vw, 58px);
    line-height: .96;
}

.location-map__header p {
    max-width: 500px;
    margin: 0;
    color: rgba(48, 55, 35, .76);
    font-size: 12.5px;
    line-height: 1.58;
}

.real-map-frame {
    display: grid;
    gap: 12px;
    margin: 0;
}

.real-map-scroll {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 112, 77, .18);
    background: linear-gradient(135deg, rgba(255, 253, 247, .96), rgba(239, 231, 214, .88));
}

.real-map-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.real-map-button img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 760;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.real-map-button span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    color: #fffdf7;
    background: rgba(48, 55, 35, .82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    opacity: .88;
    transition: background 180ms var(--ease), opacity 180ms var(--ease), transform 180ms var(--ease);
}

.real-map-button:hover img,
.real-map-button:focus-visible img {
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.015);
}

.real-map-button:hover span,
.real-map-button:focus-visible span {
    background: var(--olive-dark);
    opacity: 1;
    transform: translateY(-2px);
}

.real-map-button:focus-visible {
    outline: 2px solid rgba(138, 112, 77, .54);
    outline-offset: 4px;
}

.real-map-open {
    display: none;
}

.real-map-frame figcaption {
    color: rgba(48, 55, 35, .56);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.45;
    text-transform: uppercase;
}

.map-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(138, 112, 77, .22);
}

.map-notes span {
    padding-top: 14px;
    color: rgba(48, 55, 35, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.map-notes span + span {
    padding-left: 16px;
    border-left: 1px solid rgba(138, 112, 77, .18);
}

.buyer-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 54px;
}

.buyer-copy p {
    margin-top: 22px;
}

.buyer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: buyer-step;
    border-top: 1px solid var(--line);
}

.buyer-card {
    counter-increment: buyer-step;
    display: grid;
    grid-template-columns: 68px minmax(180px, .46fr) minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.buyer-card::before {
    content: counter(buyer-step, decimal-leading-zero);
    color: rgba(138, 112, 77, .82);
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.buyer-card h3 {
    font-size: 30px;
    line-height: 1.04;
}

.buyer-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 36px;
}

.gallery-heading h2 {
    max-width: 720px;
}

.editorial-gallery {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 28px;
}

.gallery-lead .media-button {
    min-height: 620px;
}

.gallery-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 22px;
}

.gallery-rail .media-button {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.gallery-rail figure:nth-child(1) img {
    object-position: center center;
}

.gallery-rail figure:nth-child(2) img,
.gallery-rail figure:nth-child(3) img {
    object-position: center center;
}

.gallery-rail figure:nth-child(5) img,
.gallery-rail figure:nth-child(6) img {
    object-position: center 56%;
}

.gallery-rail figure {
    display: grid;
    gap: 12px;
}

.gallery-rail figcaption {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    text-align: left;
}

.gallery-rail__active-caption {
    display: none;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 60px;
}

.faq-intro {
    position: sticky;
    top: 110px;
    align-self: start;
}

.faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    cursor: pointer;
    padding: 22px 0;
    color: var(--olive-dark);
    font-family: var(--font-serif);
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.1;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--bronze);
    font-family: var(--font-sans);
    font-size: 22px;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    max-width: 760px;
    margin: -6px 0 24px;
}

.contact-section {
    padding: clamp(70px, 8vw, 116px) 0;
    color: var(--paper);
    background:
        linear-gradient(90deg, rgba(23, 24, 21, .92), rgba(23, 24, 21, .80)),
        url("../v3/pool-lifestyle.webp") center / cover;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 44px;
}

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

.contact-panel p {
    max-width: 720px;
    color: rgba(255, 253, 247, .74);
}

.contact-section .section-kicker {
    color: var(--stone);
}

.contact-actions {
    justify-content: end;
}

.contact-actions .button--outline {
    color: var(--paper);
    background: transparent;
}

.site-footer {
    padding: 28px 0;
    color: var(--paper);
    background: var(--charcoal);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255, 253, 247, .74);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-grid p {
    margin: 0;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 14px;
    padding: 28px;
    color: var(--paper);
    background: rgba(13, 14, 12, .96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms var(--ease), visibility 220ms var(--ease);
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox figure {
    display: grid;
    gap: 18px;
    justify-items: center;
    margin: 0;
    transform: scale(.985);
    transition: transform 260ms var(--ease);
}

.lightbox.is-open figure {
    transform: scale(1);
}

.lightbox img {
    max-width: 100%;
    max-height: calc(100svh - 92px);
    object-fit: contain;
}

.lightbox figcaption {
    margin: 0;
    color: rgba(255, 253, 247, .72);
    text-align: center;
}

.lightbox__close,
.lightbox__nav {
    border: 1px solid rgba(255, 253, 247, .32);
    border-radius: 999px;
    color: var(--paper);
    background: rgba(255, 253, 247, .05);
    cursor: pointer;
    transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    border-color: rgba(255, 253, 247, .70);
    background: rgba(255, 253, 247, .12);
}

.lightbox__close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1;
}

.lightbox__nav {
    width: 56px;
    height: 56px;
    justify-self: center;
    font-family: var(--font-serif);
    font-size: 48px;
    line-height: .8;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    :root {
        --container: min(100vw - 44px, 960px);
    }

    .site-header {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
        gap: 16px;
    }

    .nav-toggle {
        display: grid;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: grid;
        gap: 14px;
        justify-items: start;
        max-height: 0;
        overflow: hidden;
        padding: 18px;
        color: var(--charcoal);
        border: 1px solid var(--line);
        background: rgba(255, 253, 247, .96);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 260ms var(--ease), opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms var(--ease);
    }

    .primary-nav.is-open {
        max-height: 480px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

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

    .hero__facts div:nth-child(3) {
        border-left: 0;
    }

    .villa-card,
    .villas-showcase,
    .villa-types__intro,
    .plans-layout,
    .comfort-layout,
    .buyer-layout,
    .faq-layout,
    .location-layout,
    .summary-panel,
    .design-layout,
    .editorial-gallery,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .plans-layout {
        grid-template-areas:
            "copy"
            "facts"
            "plans";
    }

    .design-copy,
    .comfort-copy {
        position: static;
    }

    .plans-layout,
    .villas-showcase {
        align-items: start;
    }

    .villas-showcase__media {
        min-height: 0;
    }

    .faq-intro {
        position: static;
    }

    .contact-actions {
        justify-content: start;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: minmax(0, auto) 44px;
        justify-content: space-between;
    }

    .nav-toggle {
        grid-column: 2;
        justify-self: end;
    }

    .primary-nav {
        grid-column: 1 / -1;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 820px) {
    :root {
        --container: min(100vw - 32px, 520px);
    }

    html {
        scroll-padding-top: 80px;
    }

    [id] {
        scroll-margin-top: 80px;
    }

    #villas,
    #plans,
    #comfort,
    #gallery,
    #faq,
    #contact {
        scroll-margin-top: 88px;
    }

    body {
        font-size: 15px;
    }

    .site-header {
        top: 0;
        width: 100%;
        min-height: 64px;
        padding: 0 16px;
    }

    .brand {
        font-size: 21px;
    }

    .hero {
        min-height: max(100svh, 680px);
    }

    .hero__image img {
        object-position: center center;
    }

    .hero__shade {
        background:
            linear-gradient(180deg, rgba(18, 22, 15, .01) 0%, rgba(18, 22, 15, .05) 30%, rgba(18, 22, 15, .30) 56%, rgba(18, 22, 15, .54) 100%),
            linear-gradient(90deg, rgba(18, 22, 15, .30) 0%, rgba(18, 22, 15, .09) 72%, rgba(18, 22, 15, .03) 100%);
    }

    .hero__copy {
        width: min(100%, 358px);
        overflow-wrap: normal;
        text-shadow: 0 2px 18px rgba(8, 10, 7, .68);
    }

    .hero__copy::before {
        inset: -28px -30px -30px;
        background: radial-gradient(ellipse at 28% 58%, rgba(12, 15, 10, .18), rgba(12, 15, 10, .08) 58%, rgba(12, 15, 10, 0) 82%);
        filter: blur(5px);
    }

    .hero__content {
        align-items: end;
        min-height: max(100svh, 680px);
        padding: 96px 0 calc(48px + env(safe-area-inset-bottom));
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(45px, 13.4vw, 58px);
        line-height: .94;
        white-space: nowrap;
    }

    .hero__lead {
        max-width: 34ch;
        margin-top: 16px;
        font-size: 14.5px;
        line-height: 1.48;
    }

    .hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 18px 0 16px;
        background: rgba(12, 15, 10, .16);
    }

    .hero__facts div {
        min-height: 62px;
        padding: 10px 12px;
    }

    .hero__facts div + div {
        padding-left: 12px;
    }

    .hero__facts div:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 253, 247, .22);
    }

    .hero__facts strong {
        font-size: 23px;
    }

    .hero__facts div:last-child {
        padding-right: 10px;
    }

    .hero__facts div:last-child strong {
        font-size: 22px;
    }

    .hero__actions,
    .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .button {
        width: 100%;
        min-height: 46px;
        padding: 0 18px;
    }

    .scroll-cue {
        display: none;
    }

    .section {
        padding: 68px 0;
    }

    .section h2,
    .contact-panel h2 {
        font-size: clamp(34px, 9.5vw, 44px);
        line-height: 1.06;
    }

    .narrow-heading,
    .section-heading {
        margin-bottom: 36px;
        text-align: left;
    }

    .summary-panel {
        gap: 28px;
        margin-bottom: 34px;
        padding: 24px 0;
    }

    .summary-panel p {
        font-size: clamp(27px, 9vw, 38px);
    }

    .summary-facts {
        grid-template-columns: 1fr;
    }

    .design-points article {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 26px 0;
    }

    .villa-grid,
    .villa-options,
    .type-grid,
    .comfort-grid,
    .room-grid,
    .buyer-grid,
    .plan-strip {
        grid-template-columns: 1fr;
    }

    .comfort-card,
    .comfort-card--wide {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comfort-card--wide {
        grid-column: auto;
    }

    .comfort-card > div:last-child,
    .comfort-card--wide > div:last-child {
        padding: 0;
    }

    .villa-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .villas-showcase {
        gap: 24px;
    }

    .design-media .media-button,
    .feature__media,
    .gallery-lead .media-button {
        min-height: 360px;
    }

    .villas-showcase__media {
        min-height: 0;
        aspect-ratio: 1180 / 832;
    }

    .villas-showcase__body {
        padding: 24px 0;
    }

    .villa-option + .villa-option {
        padding-left: 0;
        border-left: 0;
    }

    .villa-types__intro {
        gap: 18px;
        padding: 26px 0;
    }

    .villa-types__intro h3 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .type-grid {
        gap: 28px;
    }

    .type-card__media {
        aspect-ratio: 4 / 3;
    }

    .type-card__body {
        padding-top: 22px;
    }

    .villa-card__media {
        min-height: 380px;
    }

    .feature {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .feature__copy {
        padding: 60px 24px;
    }

    .plan-strip .media-button {
        height: min(96vw, 460px);
        min-height: 380px;
    }

    .facts-table,
    .location-map {
        padding: 22px;
    }

    .section--location {
        background:
            linear-gradient(180deg, rgba(255, 253, 247, .94) 0%, rgba(255, 253, 247, .9) 36%, rgba(247, 243, 234, .76) 66%, rgba(247, 243, 234, .58) 100%),
            url("../v3/hero-garden.webp") center 54% / cover;
    }

    .location-map {
        gap: 18px;
        background: rgba(255, 253, 247, .82);
    }

    .location-map__header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-map__title {
        font-size: clamp(34px, 10vw, 46px);
    }

    .real-map-scroll {
        margin-inline: -6px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }

    .real-map-button {
        width: max(100%, min(720px, 186vw));
        scroll-snap-align: start;
    }

    .real-map-button span {
        left: 12px;
        right: auto;
        bottom: 12px;
        min-height: 32px;
        font-size: 9px;
        display: none;
    }

    .real-map-open {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: start;
        min-height: 32px;
        padding: 0 12px;
        color: #fffdf7;
        border: 1px solid var(--olive-dark);
        background: var(--olive-dark);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .map-notes {
        grid-template-columns: 1fr;
    }

    .map-notes span + span {
        padding-left: 0;
        border-left: 0;
    }

    .buyer-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px 0;
    }

    .buyer-card::before {
        font-size: 23px;
    }

    .buyer-card h3 {
        font-size: clamp(27px, 7.2vw, 32px);
    }

    .room-card--wide,
    .room-card--study {
        grid-column: auto;
    }

    .room-card--study {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .room-card .media-button,
    .room-card--wide .media-button {
        min-height: 300px;
    }

    .gallery-heading {
        display: grid;
        gap: 18px;
    }

    .gallery-lead figcaption {
        display: none;
    }

    .gallery-rail {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .gallery-rail figure {
        min-width: 78%;
        display: block;
        scroll-snap-align: start;
    }

    .gallery-rail .media-button {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .gallery-rail figcaption {
        display: none;
    }

    .gallery-rail__active-caption {
        min-height: 42px;
        display: flex;
        align-items: center;
        margin: 6px 0 0;
        color: var(--olive-dark);
        border-top: 1px solid rgba(48, 55, 35, .14);
        font-family: var(--font-serif);
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 1.1;
        text-transform: none;
        transition: opacity 180ms var(--ease);
    }

    .gallery-rail__active-caption.is-changing {
        opacity: .45;
    }

    .faq-list summary {
        padding: 20px 0;
        font-size: clamp(21px, 6.2vw, 26px);
    }

    .footer-grid {
        display: grid;
        gap: 10px;
    }

    .lightbox {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 2px;
        padding: 18px 6px;
    }

    .lightbox__nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }

    .lightbox__close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .real-map-button {
        width: max(100%, min(640px, 164vw));
    }
}

@media (max-height: 780px) and (min-width: 900px) {
    .site-header {
        min-height: 52px;
    }

    .hero__content {
        padding: 86px 0 44px;
    }

    .hero h1 {
        max-width: 560px;
        font-size: clamp(54px, 6.8vw, 88px);
        line-height: .93;
    }

    .hero__lead {
        max-width: 560px;
        margin-top: 12px;
        font-size: 16.5px;
        line-height: 1.42;
    }

    .hero__facts {
        margin: 16px 0 14px;
    }

    .hero__facts div {
        min-height: 58px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero__facts strong {
        font-size: clamp(24px, 2.1vw, 30px);
    }

    .button {
        min-height: 44px;
    }

    .scroll-cue {
        display: none;
    }
}

@media (max-width: 599px) {
    .hero {
        min-height: max(100svh, 760px);
    }

    .hero__image img {
        object-position: 58% 42%;
        transform: scale(1.01);
    }

    .hero__shade {
        background:
            linear-gradient(180deg, rgba(18, 22, 15, .04) 0%, rgba(18, 22, 15, .08) 28%, rgba(18, 22, 15, .30) 54%, rgba(18, 22, 15, .60) 100%),
            linear-gradient(90deg, rgba(18, 22, 15, .34) 0%, rgba(18, 22, 15, .10) 74%, rgba(18, 22, 15, .03) 100%);
    }

    .hero__content {
        align-items: start;
        min-height: max(100svh, 760px);
        padding-top: clamp(304px, 38svh, 360px);
        padding-bottom: calc(34px + env(safe-area-inset-bottom));
    }

    .hero__copy {
        width: min(100%, 374px);
    }

    .hero h1 {
        font-size: clamp(45px, 12.7vw, 56px);
    }

    .hero__lead {
        max-width: 35ch;
        font-size: 14px;
        line-height: 1.45;
    }

    .hero__facts {
        border-color: rgba(255, 253, 247, .26);
        background: rgba(12, 15, 10, .12);
        backdrop-filter: blur(10px);
    }

    .hero__facts div {
        min-height: 58px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .hero__facts strong,
    .hero__facts div:last-child strong {
        font-size: clamp(20px, 5.4vw, 23px);
    }

    .hero__actions {
        gap: 10px;
    }

    .hero__actions .button {
        min-height: 46px;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .hero {
        min-height: 100svh;
    }

    .hero__image img {
        object-position: 48% 50%;
        transform: scale(1.01);
    }

    .hero__shade {
        background:
            radial-gradient(ellipse at 34% 58%, rgba(12, 15, 10, .23) 0%, rgba(12, 15, 10, .10) 48%, rgba(12, 15, 10, 0) 74%),
            linear-gradient(180deg, rgba(18, 22, 15, .04) 0%, rgba(18, 22, 15, .08) 32%, rgba(18, 22, 15, .31) 66%, rgba(18, 22, 15, .48) 100%),
            linear-gradient(90deg, rgba(18, 22, 15, .28) 0%, rgba(18, 22, 15, .10) 60%, rgba(18, 22, 15, .02) 100%);
    }

    .hero__content {
        align-items: start;
        width: min(100vw - 112px, 560px);
        min-height: 100svh;
        padding-top: clamp(430px, 49svh, 552px);
        padding-bottom: calc(48px + env(safe-area-inset-bottom));
        margin-left: clamp(56px, 14vw, 128px);
        margin-right: auto;
    }

    .hero__copy {
        width: min(100%, 560px);
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(62px, 8.5vw, 76px);
        white-space: normal;
    }

    .hero__lead {
        max-width: 42ch;
        font-size: 16px;
        line-height: 1.45;
    }

    .hero__facts {
        width: min(520px, 100%);
        margin: 20px 0 16px;
        border-color: rgba(255, 253, 247, .26);
        background: rgba(12, 15, 10, .12);
        backdrop-filter: blur(8px);
    }

    .hero__facts div {
        min-height: 64px;
        padding: 10px 16px;
    }

    .hero__facts div + div {
        padding-left: 16px;
    }

    .hero__facts strong,
    .hero__facts div:last-child strong {
        font-size: clamp(24px, 3.6vw, 31px);
    }

    .hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(520px, 100%);
        gap: 12px;
    }

    .hero__actions .button {
        min-height: 46px;
        width: 100%;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .lightbox,
    .scroll-cue {
        display: none !important;
    }
}

