:root {
    --ink: #171714;
    --ink-soft: #5e5b54;
    --paper: #f5f3ee;
    --paper-deep: #eae6dd;
    --white: #fff;
    --accent: #9a7b52;
    --accent-light: #c9b391;
    --dark: #151714;
    --line: rgba(23, 23, 20, 0.14);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --container: 1280px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    font-family: var(--sans);
}

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

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

::selection {
    background: var(--accent);
    color: var(--white);
}

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 140px 0;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
}

h1 {
    margin-bottom: 34px;
    font-size: clamp(58px, 7.5vw, 118px);
    letter-spacing: -.045em;
    line-height: .92;
}

h1 em {
    font-weight: 500;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(42px, 5vw, 72px);
    letter-spacing: -.04em;
    line-height: 1.02;
}

h3 {
    margin-bottom: 8px;
    font-size: 28px;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.lead {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.4;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition:
        background .4s var(--ease),
        color .4s var(--ease),
        border-color .4s var(--ease),
        transform .4s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    border-color: rgba(255, 255, 255, .7);
    color: var(--white);
}

.button--light:hover {
    background: var(--white);
    color: var(--ink);
}

.text-link {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.text-link:hover::after {
    transform: scaleX(0);
}

.text-link--light {
    color: var(--white);
}


/* Header */

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    color: var(--white);
    transition:
        background .45s var(--ease),
        color .45s var(--ease),
        box-shadow .45s var(--ease);
}

.site-header--scrolled {
    background: rgba(245, 243, 238, .94);
    box-shadow: 0 1px 0 var(--line);
    color: var(--ink);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    width: min(calc(100% - 80px), 1480px);
    height: 94px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand__name {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: .08em;
}

.brand__sub {
    margin-top: 7px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .42em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-nav a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: opacity .25s ease;
}

.site-nav a:hover {
    opacity: .55;
}

.site-nav__cta {
    padding: 12px 18px;
    border: 1px solid currentColor;
}


/* Placeholders */

.placeholder {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #d6d0c4 0%,
            #b7aea0 48%,
            #8c857a 100%
        );
    color: rgba(255, 255, 255, .75);
}

.placeholder::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255, 255, 255, .08) 50%,
            transparent 70%
        );
    content: "";
    transform: translateX(-100%);
}

.placeholder span {
    position: relative;
    z-index: 1;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.placeholder--wide {
    min-height: 72vh;
}

.placeholder--room {
    width: 100%;
    height: 100%;
    min-height: 460px;
}

.placeholder--location {
    min-height: 760px;
}

@keyframes placeholder-shimmer {
    0%,
    65% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


/* Hero */

.hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    overflow: hidden;
    align-items: flex-end;
    color: var(--white);
}

.hero__media {
    position: absolute;
    inset: 0;
    animation: hero-scale 2s var(--ease) both;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 8, .68) 0%,
            rgba(8, 10, 8, .25) 55%,
            rgba(8, 10, 8, .12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 10, 8, .55) 0%,
            transparent 50%
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(76%, 1100px);
    padding: 190px 7vw 110px;
}

.hero__content .eyebrow {
    color: rgba(255, 255, 255, .72);
}

.hero__intro {
    max-width: 620px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero__meta {
    position: absolute;
    z-index: 3;
    right: 5vw;
    bottom: 70px;
    display: flex;
    gap: 1px;
}

.hero__meta-item {
    display: flex;
    width: 120px;
    height: 110px;
    padding: 18px;
    background: rgba(20, 20, 18, .42);
    flex-direction: column;
    justify-content: flex-end;
    backdrop-filter: blur(12px);
}

.hero__meta-item span {
    font-family: var(--serif);
    font-size: 27px;
}

.hero__meta-item small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero__scroll {
    position: absolute;
    z-index: 3;
    right: 35px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(90deg);
    transform-origin: right center;
}

.hero__scroll span {
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero__scroll i {
    display: block;
    width: 55px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, .35);
}

.hero__scroll i::after {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--white);
    content: "";
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes hero-scale {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scroll-line {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(100%);
    }
}


/* Introduction */

.intro__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
}

.intro__copy {
    max-width: 650px;
}

.intro__copy > p:last-child {
    max-width: 550px;
    color: var(--ink-soft);
}

.facts {
    display: grid;
    margin-top: 110px;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    padding: 32px 30px 10px 0;
    border-right: 1px solid var(--line);
}

.fact:not(:first-child) {
    padding-left: 30px;
}

.fact:last-child {
    border-right: 0;
}

.fact__number {
    display: block;
    margin-bottom: 7px;
    font-family: var(--serif);
    font-size: 42px;
}

.fact__label {
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* Feature image */

.feature-image {
    position: relative;
    height: 750px;
}

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

.feature-image__caption {
    position: absolute;
    right: 50px;
    bottom: 40px;
    display: flex;
    padding: 18px 22px;
    background: rgba(245, 243, 238, .92);
    align-items: center;
    gap: 18px;
    backdrop-filter: blur(10px);
}

.feature-image__caption span {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 13px;
}

.feature-image__caption p {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}


/* Section headings */

.section-heading--split {
    display: grid;
    margin-bottom: 80px;
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 80px;
}

.section-heading--split > p {
    max-width: 460px;
    margin: 0 0 8px;
    color: var(--ink-soft);
}

.section-heading--center {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}


/* Spaces */

.spaces {
    background: var(--white);
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 34px;
}

.space-card--large {
    grid-column: span 2;
}

.space-card--large .space-card__image {
    aspect-ratio: 16 / 8;
}

.space-card:not(.space-card--large) .space-card__image {
    aspect-ratio: 4 / 5;
}

.space-card__image img {
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.space-card__image .placeholder {
    transition: transform .9s var(--ease);
}

.space-card:hover .space-card__image .placeholder {
    transform: scale(1.018);
}

.space-card__content {
    display: grid;
    padding-top: 22px;
    grid-template-columns: 55px 1fr;
}

.space-card__number {
    padding-top: 6px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 12px;
}

.space-card__content p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--ink-soft);
}


/* Location */

.location {
    background: var(--paper-deep);
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 110px;
}

.location__visual {
    position: relative;
}

.location__badge {
    position: absolute;
    right: -45px;
    bottom: 50px;
    display: flex;
    width: 190px;
    height: 190px;
    background: var(--dark);
    color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.location__badge span,
.location__badge small {
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.location__badge strong {
    margin: 7px 0;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}

.location__content .lead {
    margin-top: 44px;
}

.location__content > p:not(.eyebrow):not(.lead) {
    color: var(--ink-soft);
}

.location-points {
    margin-top: 50px;
    border-top: 1px solid var(--line);
}

.location-point {
    display: grid;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 55px 1fr;
}

.location-point__icon {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 12px;
}

.location-point strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.location-point p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}


/* Security */

.security {
    background: var(--dark);
    color: var(--white);
}

.security__header {
    display: grid;
    margin-bottom: 90px;
    grid-template-columns: 1fr .7fr;
    align-items: end;
    gap: 100px;
}

.security__intro {
    max-width: 470px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 18px;
}

.security__grid {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, .16);
    grid-template-columns: repeat(4, 1fr);
}

.security-card {
    position: relative;
    min-height: 360px;
    padding: 32px 28px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    transition: background .4s var(--ease);
}

.security-card:first-child {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.security-card:hover {
    background: rgba(255, 255, 255, .035);
}

.security-card__number {
    color: var(--accent-light);
    font-family: var(--serif);
    font-size: 12px;
}

.security-card__icon {
    display: flex;
    width: 52px;
    height: 52px;
    margin: 65px 0 38px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.security-card__icon span {
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent-light);
    border-radius: 50%;
}

.security-card h3 {
    font-size: 23px;
}

.security-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
}

.security__statement {
    display: flex;
    max-width: 920px;
    margin: 100px auto 0;
    align-items: flex-start;
    gap: 30px;
}

.security__statement > span {
    width: 65px;
    height: 1px;
    margin-top: 23px;
    background: var(--accent-light);
    flex: 0 0 auto;
}

.security__statement p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.4;
}

.security__statement em {
    color: var(--accent-light);
}


/* Details */

.details__grid {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.detail {
    min-height: 220px;
    padding: 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail__label {
    display: block;
    margin-bottom: 48px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.detail strong {
    display: block;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 500;
}

.detail p {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}


/* Enquiry */

.enquire {
    position: relative;
    display: flex;
    min-height: 720px;
    overflow: hidden;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.enquire__background,
.enquire__overlay {
    position: absolute;
    inset: 0;
}

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

.enquire__overlay {
    background: rgba(12, 14, 12, .6);
}

.enquire__content {
    position: relative;
    z-index: 2;
}

.enquire__content .eyebrow {
    color: rgba(255, 255, 255, .65);
}

.enquire__content h2 {
    margin-bottom: 25px;
    font-size: clamp(48px, 6vw, 86px);
}

.enquire__content p:not(.eyebrow) {
    max-width: 570px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, .75);
}


/* Footer */

.site-footer {
    padding: 75px 0 35px;
    background: #0d0f0d;
    color: var(--white);
}

.site-footer__top {
    display: flex;
    padding-bottom: 70px;
    align-items: flex-start;
    justify-content: space-between;
}

.site-footer__top p {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    text-align: right;
}

.site-footer__bottom {
    display: flex;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    justify-content: space-between;
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .35);
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}


/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}

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

.space-card:nth-child(2),
.security-card:nth-child(2),
.detail:nth-child(2) {
    transition-delay: .08s;
}

.space-card:nth-child(3),
.security-card:nth-child(3),
.detail:nth-child(3) {
    transition-delay: .16s;
}

.security-card:nth-child(4) {
    transition-delay: .24s;
}


/* Responsive */

@media (max-width: 1100px) {
    .container {
        width: min(calc(100% - 50px), var(--container));
    }

    .site-header__inner {
        width: calc(100% - 50px);
    }

    .site-nav {
        gap: 22px;
    }

    .hero__content {
        width: 85%;
        padding-left: 5vw;
    }

    .hero__meta {
        display: none;
    }

    .intro__grid,
    .location__grid,
    .security__header {
        gap: 60px;
    }

    .location__badge {
        right: -25px;
    }

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

    .security-card:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, .16);
    }

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

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

    .container,
    .site-header__inner {
        width: calc(100% - 40px);
    }

    .site-header__inner {
        height: 78px;
    }

    .site-nav a:not(.site-nav__cta) {
        display: none;
    }

    .hero__content {
        width: 100%;
        padding: 150px 20px 85px;
    }

    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero__scroll {
        display: none;
    }

    .intro__grid,
    .section-heading--split,
    .location__grid,
    .security__header {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .facts {
        margin-top: 70px;
        grid-template-columns: repeat(2, 1fr);
    }

    .fact:nth-child(2) {
        border-right: 0;
    }

    .fact:nth-child(3),
    .fact:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .fact:nth-child(3) {
        padding-left: 0;
    }

    .feature-image__caption {
        right: 20px;
        bottom: 20px;
    }

    .space-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .space-card--large {
        grid-column: auto;
    }

    .space-card--large .space-card__image,
    .space-card:not(.space-card--large) .space-card__image {
        aspect-ratio: 4 / 5;
    }

    .location__badge {
        right: 20px;
        bottom: 20px;
        width: 150px;
        height: 150px;
    }

    .placeholder--location {
        min-height: 600px;
    }

    .security__grid {
        grid-template-columns: 1fr;
    }

    .security-card,
    .security-card:first-child,
    .security-card:nth-child(3) {
        min-height: auto;
        border-right: 1px solid rgba(255, 255, 255, .16);
        border-bottom: 1px solid rgba(255, 255, 255, .16);
        border-left: 1px solid rgba(255, 255, 255, .16);
    }

    .security-card__icon {
        margin: 45px 0 30px;
    }

    .details__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__top,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .site-footer__top p {
        text-align: left;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 40px;
    }

    .hero__intro {
        font-size: 16px;
    }

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

    .fact,
    .fact:not(:first-child),
    .fact:nth-child(3) {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .space-card__content {
        grid-template-columns: 38px 1fr;
    }

    .placeholder--wide {
        min-height: 60vh;
    }

    .security__statement {
        gap: 18px;
    }

    .security__statement > span {
        width: 35px;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}