/* ==========================================================================
   Villa Du Montages
   ========================================================================== */

:root {
    /* Palette */
    --black: #2C2A2B;
    --beige: #EBE6DC;
    --cream: #F3F1E9;
    --red: #42150D;
    --warm: #5F5545;
    --warm-2: #817862;
    --warm-3: #A49A7E;
    --brown: #37220D;
    --brown-2: #574431;
    --brown-3: #786857;
    --blue: #2D3643;
    --blue-2: #58636F;
    --blue-3: #838F9A;

    /* Type */
    --font-serif: "Newsreader", "Times New Roman", Georgia, serif;
    --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --fs-body: 17px;
    --fs-h1: 64px;
    --fs-h2: 56px;
    --fs-h3: 34px;
    --fs-h4: 28px;

    /* Layout */
    --gutter: 48px;
    --content: 1208px;
    --section-y: 96px;
    --header-h: 70px;
    --ease: cubic-bezier(.22, .61, .36, 1);

    /* Ticket button end cap */
    --cap-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 48' preserveAspectRatio='none'%3E%3Cpath d='M14 .5C14 5.3 9.6 9.3 4 9.6 3.2 11 1 16.5 1 24s2.2 13 3 14.4c5.6.3 10 4.3 10 9.1' fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");

    --bg: var(--beige);
}

@media (max-width: 1100px) {
    :root {
        --gutter: 32px;
        --section-y: 72px;
        --fs-h1: 52px;
        --fs-h2: 44px;
        --fs-h3: 30px;
        --fs-h4: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 20px;
        --section-y: 56px;
        --fs-body: 16px;
        --fs-h1: 40px;
        --fs-h2: 32px;
        --fs-h3: 26px;
        --fs-h4: 22px;
        --header-h: 60px;
    }
}

/* Base
   ========================================================================== */

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

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

body {
    margin: 0;
    background: var(--beige);
    color: var(--black);
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

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

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p{
    font-weight: 600;
}

h1 { font-size: var(--fs-h1); text-transform: uppercase; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.2; font-weight: 400; text-transform: none; }

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

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

figure { margin: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

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

.skip-link {
    position: fixed;
    top: -60px; left: 16px;
    z-index: 300;
    padding: 10px 18px;
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-ui);
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

.ui-text {
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    text-transform: uppercase;
}

/* Layout
   ========================================================================== */

.container {
    width: min(var(--content), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.bg-beige   { --bg: var(--beige);   background: var(--beige);   color: var(--black); }
.bg-red     { --bg: var(--red);     background: var(--red);     color: var(--cream); }
.bg-brown   { --bg: var(--brown);   background: var(--brown);   color: var(--cream); }
.bg-brown-2 { --bg: var(--brown-2); background: var(--brown-2); color: var(--cream); }
.bg-warm    { --bg: var(--warm);    background: var(--warm);    color: var(--cream); }
.bg-warm-2  { --bg: var(--warm-2);  background: var(--warm-2);  color: var(--cream); }
.bg-blue    { --bg: var(--blue);    background: var(--blue);    color: var(--cream); }

.section-title { text-align: center; margin-bottom: 56px; }

.section-head {
    max-width: 880px;
    margin: 0 auto 64px;
    text-align: center;
}
.section-head h2 + .h4,
.section-head h2 + p { margin-top: 24px; }
.section-head .btn { margin-top: 36px; }

.section-head--left {
    max-width: 560px;
    margin-left: 0;
    text-align: left;
}

.lead { font-weight: 600; }

/* Two column split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 9vw, 134px);
}
.split--center { align-items: center; column-gap: 40px; }
.split__text > h1,
.split__text > h2 { margin-bottom: 24px; }
.split__text > .h4 { margin-bottom: 24px; }
.split__text .btn-row,
.split__text > .btn { margin-top: 36px; }
.split--center .split__text { max-width: 584px; }

/* Media blocks */
.media {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, .08);
}
.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media--portrait { aspect-ratio: 600 / 760; }
.media--tall     { aspect-ratio: 468 / 907; }
.media--wide     { aspect-ratio: 584 / 408; }
.media--cinema   { aspect-ratio: 3 / 2; }

[data-parallax] img {
    height: 116%;
    transform: translate3d(0, calc((var(--pp, .5) - 1) * 13.8%), 0);
    will-change: transform;
}

/* Reveal on scroll */
.js .reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Scroll-linked text reveal (chars / words) */
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; }

[data-split="chars"] .split-char {
    --frac: calc(var(--ci) / max(var(--cn) - 1, 1));
    --o: clamp(0, (var(--p, 0) - (var(--frac) * .15 + .05)) / .15, 1);
    opacity: var(--o);
    transform-origin: 50% 100%;
    transform: translate3d(0, calc(-20% * clamp(0, (.2 - var(--o)) / .2, 1)), 0) scale(min(1, calc(.7 + var(--o) * 2)));
}

[data-split="words"] .split-word {
    --frac: calc(var(--wi) / max(var(--wn) - 1, 1));
    --o: clamp(0, (var(--p, 0) - (var(--frac) * .15 + .05)) / .15, 1);
    opacity: calc(.1 + var(--o) * 2);
}

/* Buttons
   ========================================================================== */

.btn {
    --cap: 14px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-inline: var(--cap);
    padding: 0 24px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    white-space: nowrap;
    color: inherit;
    transition: opacity .3s var(--ease);
}
.btn::before,
.btn::after {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    width: var(--cap);
    background: currentColor;
    -webkit-mask: var(--cap-svg) center / 100% 100% no-repeat;
    mask: var(--cap-svg) center / 100% 100% no-repeat;
}
.btn::before { right: calc(100% - 1px); }
.btn::after  { left: calc(100% - 1px); transform: scaleX(-1); }
.btn span { position: relative; transition: transform .4s var(--ease); }
.btn:hover span { transform: translateY(-2px); }
.btn:hover { opacity: .75; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 0;
}

.link-btn,
.plain-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
}
.link-btn::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transition: transform .3s ease-in-out;
}
.link-btn:hover::after { transform: scaleX(0); transform-origin: right; }

.plain-link {
    padding: 0;
    font-family: inherit;
    font-stretch: normal;
    font-variation-settings: normal;
    font-weight: inherit;
    font-size: inherit;
    text-transform: none;
}

.tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--brown-3);
    color: var(--cream);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
}

/* Header
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    color: var(--cream);
    transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px 0 23px;
}

.burger {
    position: relative;
    width: 54px;
    height: 32px;
}
.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease), width .4s var(--ease);
}
.burger span:first-child { top: 9px; }
.burger span:last-child  { top: 19px; }

.site-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 118px;
    height: 48px;
    transform: translate(-50%, -50%);
    transition: opacity .4s var(--ease);
}
.site-header__logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .4s var(--ease);
}
.site-header__logo .logo-dark { opacity: 0; }

.header-book {
    padding: 4px 20px;
    background: var(--cream);
    color: var(--black);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    transition: background-color .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.header-book:hover { opacity: .85; }

.site-header.is-stuck,
.site-header.is-open {
    background: var(--beige);
    color: var(--black);
}
.site-header.is-stuck { box-shadow: 0 1px 6px rgba(51, 51, 51, .08); }
.site-header.is-stuck .logo-light,
.site-header.is-open .logo-light { opacity: 0; }
.site-header.is-stuck .logo-dark,
.site-header.is-open .logo-dark { opacity: 1; }
.site-header.is-stuck .header-book,
.site-header.is-open .header-book { background: var(--black); color: var(--cream); }

.site-header.is-open .burger { width: 44px; }
.site-header.is-open .burger span:first-child { top: 14px; transform: rotate(45deg); }
.site-header.is-open .burger span:last-child  { top: 14px; transform: rotate(-45deg); }

/* Home: hero carries the big logo, so the header logo waits until scrolled */
.page-home .site-header:not(.is-stuck):not(.is-open) .site-header__logo { opacity: 0; pointer-events: none; }

/* Menu overlay
   ========================================================================== */

.menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    padding-top: var(--header-h);
    background: var(--beige);
    color: var(--black);
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity .45s var(--ease);
}
.menu__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: 100%;
}
.menu__nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 36px 32px 40px 18px;
    overflow-y: auto;
}
.menu__list a {
    display: block;
    padding: 0;
    border-bottom: 1px solid rgba(44, 42, 43, .25);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 400;
    font-size: 30px;
    line-height: 72px;
    text-transform: uppercase;
    transition: padding-left .4s var(--ease), color .3s;
}
.menu__list li:first-child a { border-top: 0; }
.menu__list a:hover,
.menu__list a:focus-visible { padding-left: 14px; }
.menu__list a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu__list a[aria-current="page"] { color: var(--brown-3); }

.menu__list li,
.menu__contact {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu.is-open .menu__list li,
.menu.is-open .menu__contact {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 55ms + 120ms);
}

.menu__contact {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 16px 48px;
    font-size: 16px;
}
.menu__contact h2 {
    margin-bottom: 6px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0;
}
.menu__contact a:hover { text-decoration: underline; }

.menu__media {
    position: relative;
    margin: 45px 16px 70px;
    overflow: hidden;
}
.menu__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.menu__media img.is-active { opacity: 1; transform: none; }

/* Hero
   ========================================================================== */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
    background: var(--warm);
    color: var(--cream);
}
.hero__media {
    position: absolute;
    inset: 0;
    will-change: transform;
}
.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .33);
}
.hero__brand {
    position: relative;
    text-align: center;
    animation: hero-in 1.6s var(--ease) .2s both;
}
.hero__brand img {
    width: clamp(220px, 22vw, 330px);
    height: auto;
    margin-inline: auto;
}
.hero__brand p {
    margin-top: 14px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.hero__title {
    position: relative;
    padding: 0 var(--gutter);
    font-size: clamp(52px, 9vw, 128px);
    line-height: 1;
    text-align: center;
}

@keyframes hero-in {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to   { opacity: 1; transform: none; }
}

/* Home: intro
   ========================================================================== */

.intro .split { align-items: center; }
.intro .split__text { max-width: 474px; }
.intro__title { font-size: var(--fs-h1); }
.intro__float {
    width: 41%;
    margin: 96px 0 0 41%;
    aspect-ratio: 494 / 800;
}

.strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 10px var(--section-y);
    background: var(--beige);
}
.strip .media { aspect-ratio: 467 / 700; }

/* Home: feature (about)
   ========================================================================== */

.feature .media--cinema { margin-bottom: 56px; }
.feature__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 9vw, 134px);
}
.feature__body h3 { margin-bottom: 24px; }
.feature__body .link-btn { margin-top: 32px; }

.stats--stack {
    display: grid;
    align-content: start;
    gap: 0;
    margin: 0;
}
.stats--stack > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(243, 241, 233, .35);
}
.stats--stack > div:first-child { border-top: 1px solid rgba(243, 241, 233, .35); }
.stats dt {
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}
.stats dd {
    margin: 0;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
}
.stats dd span { font-size: .5em; vertical-align: top; margin-left: 4px; }

.pill-list {
    margin-top: 28px;
    border-top: 1px solid currentColor;
}
.pill-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(243, 241, 233, .35);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
}

/* Slider + cards
   ========================================================================== */

.slider { position: relative; }
.slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: -24px;
    margin-bottom: 24px;
}
.slider.is-static .slider__controls { visibility: hidden; }
.slider__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-3);
    color: var(--black);
    transition: opacity .3s, background-color .3s;
}
.slider__btn svg { width: 22px; height: 22px; }
.slider__btn:hover { background: var(--blue-2); color: var(--cream); }
.slider__btn:disabled { opacity: .4; cursor: default; background: var(--blue-3); color: var(--black); }

.slider__track {
    --edge: max(var(--gutter), (100% - var(--content)) / 2);
    display: flex;
    gap: 20px;
    padding: 0 var(--edge);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * {
    flex: 0 0 clamp(270px, 80vw, 396px);
    scroll-snap-align: start;
}
.slider__track--fit > * { flex-basis: max(270px, (100% - 40px) / 3); }

.card {
    display: flex;
    flex-direction: column;
}
.card__media {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media .tag {
    position: absolute;
    top: 20px;
    left: 20px;
}
.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}
.card__body h3 { margin-bottom: 24px; }
.card__body p { font-size: 16px; }
.card__body .link-btn { margin-top: auto; padding-top: 32px; }
.card__body .link-btn::after { bottom: 0; }

.card--brown .card__body   { min-height: 383px; background: var(--brown);   color: var(--cream); }
.card--brown-2 .card__body { background: var(--brown-2); color: var(--cream); }

.card--plain .card__media--tall { height: auto; aspect-ratio: 396 / 600; }
.card--plain .card__body { padding: 28px 0 0; }
.card--plain .card__body h3 { margin-bottom: 20px; }
.card--plain .card__body p {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid currentColor;
}

/* Tiles */
.tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.tile {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 594 / 600;
    overflow: hidden;
    color: var(--cream);
}
.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    transition: background-color .6s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { background: rgba(0, 0, 0, .4); }
.tile__title {
    position: relative;
    z-index: 1;
    font-size: calc(var(--fs-h2) * 1.03);
    line-height: 1.2;
    text-transform: uppercase;
}

/* Duo (tall image + text + small image) */
.duo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 18vw, 260px);
}
.duo__side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
}
.duo__text { padding-top: 100px; }
.duo__text h2 { margin-bottom: 20px; }
.duo__text .h4 { margin-bottom: 24px; }
.duo__text .btn { margin: 20px 0 0 14px; }
.duo--flip .duo__grid > .media { order: 2; }

/* Stories */
.stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stories__feature {
    position: relative;
    grid-column: span 2;
    display: grid;
    place-items: center;
    min-height: 600px;
    overflow: hidden;
    color: var(--cream);
}
.stories__feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stories__feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}
.stories__feature .btn { z-index: 1; }
.card--rating .card__body { justify-content: flex-start; height: 100%; }
.card--rating .tag { margin-bottom: 40px; }
.card__body .rating {
    margin-bottom: 24px;
    font-size: clamp(72px, 9vw, 120px);
    line-height: 1;
}
.rating span:last-child { font-size: .5em; vertical-align: top; }
.card blockquote { margin: 0; }
.card blockquote p { font-size: 16px; }
.card__author {
    margin-top: auto;
    padding-top: 28px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 16px !important;
    text-transform: uppercase;
}

/* Closing CTAs
   ========================================================================== */

.cta-book {
    position: relative;
    overflow: hidden;
    color: var(--cream);
}
.cta-book__media {
    position: absolute;
    inset: -15% 0;
}
.cta-book__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--bgy, 0), 0);
    will-change: transform;
}
.cta-book__box {
    --bg: var(--blue-2);
    position: relative;
    width: min(480px, 100%);
    padding: 72px 40px 80px;
    background: var(--blue-2);
}
.cta-book__box h2 { margin-bottom: 16px; }
.cta-book__lead { font-weight: 600; }
.cta-book__box .btn { margin: 20px 0 0 14px; }

/* Booking panel
   ========================================================================== */

.book-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    transition: visibility 0s linear .5s;
}
.book-panel.is-open { visibility: visible; transition: none; }
.book-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 42, 43, .45);
    opacity: 0;
    transition: opacity .5s var(--ease);
}
.book-panel.is-open .book-panel__backdrop { opacity: 1; }
.book-panel__box {
    --bg: var(--beige);
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(560px, 100%);
    padding: 72px 48px 48px;
    overflow-y: auto;
    background: var(--beige);
    color: var(--black);
    transform: translate3d(100%, 0, 0);
    transition: transform .6s var(--ease);
}
.book-panel.is-open .book-panel__box { transform: none; }
.book-panel__box:focus { outline: none; }
.book-panel__box h2 { margin-bottom: 16px; font-size: var(--fs-h3); }
.book-panel__box > .btn { margin: 16px 0 0 14px; }
.book-panel__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
}
.book-panel__close svg { width: 100%; height: 100%; }
.book-panel__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 24px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
}
.book-panel__divider::before,
.book-panel__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: .35;
}
.book-panel__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 42, 43, .25);
    font-size: 16px;
}
.book-panel__contact a:hover { text-decoration: underline; }

/* Enquiry form
   ========================================================================== */

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-bottom: 32px;
}
.field--full { grid-column: 1 / -1; }
.field label {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    padding-right: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M1 1l6.5 6L14 1' fill='none' stroke='%232C2A2B' stroke-width='1.4'/%3E%3C/svg%3E") right 2px center / 13px no-repeat;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-width: 2px; padding-bottom: 7px; }
.field input[aria-invalid="true"] { border-bottom-color: #A2351F; }
.enquiry__error {
    margin: -12px 0 24px;
    color: #A2351F;
    font-size: 15px;
}
.enquiry .btn { margin-left: 14px; }

/* Footer
   ========================================================================== */

.site-footer {
    padding: 96px 0 40px;
    background: var(--blue);
    color: var(--cream);
}
.site-footer__logo {
    display: block;
    width: 170px;
    margin: 0 auto 56px;
}
.site-footer__logo img { width: 100%; height: auto; }
.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(243, 241, 233, .85);
    text-align: center;
}
.site-footer__col {
    padding: 24px 16px 28px;
    font-size: 17px;
    line-height: 24px;
}
.site-footer__col + .site-footer__col { border-left: 1px solid rgba(243, 241, 233, .85); }
.site-footer__col h2 {
    margin-bottom: 18px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0;
}
.site-footer__col p { margin-bottom: 14px; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 64px;
    font-size: 15px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__links {
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}
.site-footer__links a:hover { text-decoration: underline; }
.socials {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.socials a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--blue);
    transition: transform .3s var(--ease);
}
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* Lightbox
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    background: rgba(28, 26, 24, .94);
    color: var(--cream);
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.lightbox__figure {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-height: 100vh;
    padding: 64px 0 32px;
}
.lightbox__figure img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
}
.lightbox__figure figcaption { font-size: 15px; opacity: .85; }
.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
}
.lightbox__close svg,
.lightbox__nav svg { width: 100%; height: 100%; }
.lightbox__nav {
    justify-self: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(243, 241, 233, .12);
    transition: background-color .3s;
}
.lightbox__nav:hover { background: rgba(243, 241, 233, .25); }

/* Inner pages
   ========================================================================== */

/* Staggered intro (about) */
.stagger__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 9vw, 134px);
    align-items: start;
}
.stagger__text { padding-top: 64px; max-width: 480px; }
.stagger__text .h4 { margin: 20px 0 24px; }
.stagger__text .btn { margin: 20px 0 0 14px; }
.stagger__left .media { width: 80%; margin-top: 120px; aspect-ratio: 480 / 600; }

/* Stats row */
.stats--row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    border: 1px solid currentColor;
    text-align: center;
}
.stats--row > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    padding: 36px 16px 32px;
}
.stats--row > div + div { border-left: 1px solid currentColor; }

/* Alternating text / image rows */
.zig {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 40px;
    align-items: center;
}
.zig + .zig { margin-top: 112px; }
.zig--flip { grid-template-columns: 7fr 5fr; }
.zig--flip > .media { order: -1; }
.zig .media { aspect-ratio: 688 / 460; }
.zig__text { max-width: 480px; }
.zig__text h3 { margin-bottom: 24px; }
.zig__num {
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 14px;
}
.zig__text .tag { margin-bottom: 20px; }
.zig__text .link-btn { margin-top: 20px; }

.eyebrow {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

/* Amenity index */
.amenity-index {
    columns: 2;
    column-gap: 40px;
    margin-top: 64px;
    border-top: 1px solid currentColor;
}
.amenity-index li { break-inside: avoid; }
.amenity-index a {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(44, 42, 43, .3);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    transition: padding-left .4s var(--ease);
}
.amenity-index a span { min-width: 28px; opacity: .55; }
.amenity-index a:hover { padding-left: 12px; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Filters (gallery / faq) */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-bottom: 56px;
}
.filters button,
.filters a {
    position: relative;
    padding-bottom: 4px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    opacity: .55;
    transition: opacity .3s;
}
.filters button::after,
.filters a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease-in-out;
}
.filters button:hover,
.filters a:hover,
.filters .is-active { opacity: 1; }
.filters .is-active::after { transform: scaleX(1); transform-origin: left; }

/* Gallery masonry */
.masonry {
    columns: 3;
    column-gap: 10px;
}
.masonry__item {
    display: block;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    break-inside: avoid;
    background: rgba(0, 0, 0, .06);
    cursor: zoom-in;
}
.masonry__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 1.2s var(--ease), opacity .6s;
}
.masonry__item.is-tall img { aspect-ratio: 3 / 4; }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item[hidden] { display: none; }

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: 7fr 5fr;
    column-gap: 40px;
    align-items: start;
}
.faq__group + .faq__group { margin-top: 80px; }
.faq__title {
    margin-bottom: 20px;
    font-size: var(--fs-h3);
    text-transform: none;
}
.faq__item { border-bottom: 1px solid currentColor; }
.faq__item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 16px;
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
}
.faq__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 4px;
    transition: transform .4s var(--ease);
}
.faq__icon svg { display: block; width: 100%; height: 100%; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { max-width: 640px; padding-bottom: 20px; }
.faq__media {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    aspect-ratio: 474 / 700;
    max-height: calc(100vh - var(--header-h) - 80px);
    overflow: hidden;
}
.faq__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s var(--ease);
}
.faq__media img.is-active { opacity: 1; }

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 7vw, 100px);
    align-items: start;
}
.contact__intro h2 { margin-bottom: 24px; }
.contact__list { margin: 48px 0 0; border-top: 1px solid currentColor; }
.contact__list > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(44, 42, 43, .3);
}
.contact__list dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
}
.contact__list dt svg { width: 18px; height: 18px; flex: 0 0 18px; }
.contact__list dd { margin: 0; font-size: 18px; }
.contact__list a:hover { text-decoration: underline; }
.contact__form {
    padding: 48px;
    background: var(--cream);
}
.contact__form h3 { margin-bottom: 8px; }
.contact__form > p { margin-bottom: 32px; }
.map {
    height: 520px;
    background: var(--warm-3);
}
.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.45) sepia(.12) contrast(.95);
}

/* Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .menu__list a { font-size: 24px; line-height: 60px; }
    .menu__contact { grid-template-columns: 1fr 1fr; }
    .stories__feature { min-height: 480px; }
    .duo__text { padding-top: 40px; }
    .contact__form { padding: 36px; }
}

@media (max-width: 900px) {
    .stories__grid { grid-template-columns: 1fr 1fr; }
    .stories__feature { grid-column: 1 / -1; min-height: 420px; }
    .faq { grid-template-columns: 1fr; }
    .faq__media { display: none; }
    .contact { grid-template-columns: 1fr; row-gap: 56px; }
}

@media (max-width: 768px) {
    .site-header__inner { padding: 0 16px; }
    .burger { width: 44px; }
    .burger span { height: 3px; }
    .burger span:first-child { top: 11px; }
    .burger span:last-child { top: 19px; }
    .site-header.is-open .burger { width: 36px; }
    .site-header__logo { width: 96px; height: 40px; }
    .header-book { padding: 4px 14px; font-size: 14px; }

    .menu__inner { grid-template-columns: 1fr; }
    .menu__media { display: none; }
    .menu__nav { padding: 16px var(--gutter) 32px; }
    .menu__list a { font-size: 20px; line-height: 52px; }
    .menu__contact { grid-template-columns: 1fr; gap: 14px; }

    .split,
    .feature__grid,
    .stagger__grid,
    .duo__grid,
    .zig,
    .zig--flip { grid-template-columns: 1fr; }
    .split { row-gap: 40px; }
    .split--center > .media { order: -1; }
    .feature__grid { row-gap: 40px; }
    .zig { row-gap: 28px; }
    .zig > .media,
    .zig--flip > .media { order: -1; }
    .zig + .zig { margin-top: 64px; }
    .duo__side { gap: 40px; }
    .duo__grid { row-gap: 40px; }
    .duo--flip .duo__grid > .media { order: 0; }
    .duo__text { padding-top: 0; }

    .intro .split__text { max-width: none; }
    .intro__float { width: 70%; margin: 40px 0 0 auto; }
    .strip { grid-template-columns: 1fr 1fr; }
    .strip .media:last-child { display: none; }

    .section-head { margin-bottom: 40px; }
    .section-title { margin-bottom: 32px; }
    .feature .media--cinema { margin-bottom: 40px; }

    .slider__controls { margin-top: 0; }
    .card--brown .card__body { min-height: 0; }
    .card__media { height: 240px; }
    .card__body { padding: 24px; }

    .tiles { grid-template-columns: 1fr; }
    .tile { aspect-ratio: 4 / 3; }

    .stories__grid { grid-template-columns: 1fr; }
    .stories__feature { min-height: 340px; }

    .stagger__text { padding-top: 0; }
    .stagger__left .media { width: 70%; margin-top: 40px; }
    .stagger__grid > .media { margin-top: 40px; }

    .stats--row { grid-template-columns: 1fr 1fr; }
    .stats--row > div:nth-child(3) { border-left: 0; }
    .stats--row > div:nth-child(n+3) { border-top: 1px solid currentColor; }

    .amenity-index { columns: 1; }
    .amenity-index a { font-size: 15px; }

    .masonry { columns: 2; column-gap: 6px; }
    .masonry__item { margin-bottom: 6px; }

    .cta-book__box { padding: 48px 28px 56px; }

    .field-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
    .book-panel__box { padding: 64px var(--gutter) 40px; }
    .contact__form { padding: 28px var(--gutter); margin-inline: calc(var(--gutter) * -1); }
    .contact__list > div { grid-template-columns: 1fr; gap: 6px; }
    .map { height: 380px; }

    .site-footer { padding-top: 64px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__col + .site-footer__col { border-left: 0; border-top: 1px solid rgba(243, 241, 233, .85); }
    .site-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .socials { justify-content: center; }

    .lightbox { grid-template-columns: 1fr; }
    .lightbox__nav { position: absolute; bottom: 24px; }
    .lightbox__nav--prev { left: calc(50% - 60px); }
    .lightbox__nav--next { right: calc(50% - 60px); }
    .lightbox__figure { padding: 64px 12px 96px; }
}

@media (max-width: 420px) {
    .masonry { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-split] .split-char,
    [data-split] .split-word { opacity: 1 !important; transform: none !important; }
    [data-parallax] img { height: 100%; transform: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Motion: page curtain, entrances, marquees
   ========================================================================== */

.curtain {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: grid;
    place-items: center;
    background: var(--brown);
    pointer-events: none;
    animation: curtain-out 1.1s cubic-bezier(.76, 0, .24, 1) .45s forwards;
}
.curtain img {
    width: 150px;
    height: auto;
    animation: curtain-logo 1.1s var(--ease) both;
}
.curtain.is-leaving {
    pointer-events: auto;
    animation: curtain-in .6s cubic-bezier(.76, 0, .24, 1) forwards;
}
.curtain.is-leaving img { animation: none; opacity: 1; }

@keyframes curtain-out { to { transform: translate3d(0, -100%, 0); visibility: hidden; } }
@keyframes curtain-in  { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes curtain-logo {
    0%   { opacity: 0; transform: translate3d(0, 14px, 0); }
    35%, 75% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 110;
    height: 2px;
    background: var(--warm-3);
    transform: scaleX(var(--sp, 0));
    transform-origin: left;
    pointer-events: none;
}

.site-header__inner { animation: header-in 1s var(--ease) 1.1s both; }
@keyframes header-in {
    from { opacity: 0; transform: translate3d(0, -24px, 0); }
    to   { opacity: 1; transform: none; }
}

.hero__media > img,
.hero__media > video { animation: hero-zoom 2.8s var(--ease) .3s both; }
@keyframes hero-zoom { from { scale: 1.22; } to { scale: 1; } }
.hero__brand { animation-delay: 1.1s; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    font-family: var(--font-ui);
    font-stretch: 125%;
    font-variation-settings: "wdth" 125;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    opacity: 0;
    animation: fade-in 1s ease 2.2s forwards;
}
.hero__scroll i {
    display: block;
    width: 1px;
    height: 48px;
    background: currentColor;
    transform: scaleY(0);
    transform-origin: top;
    animation: scroll-line 2.2s var(--ease) 2.4s infinite;
}
@keyframes fade-in { to { opacity: 1; } }
@keyframes scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Staggered reveals (delay is set from JS) */
.js .reveal { transition-delay: var(--d, 0ms); }
.js .reveal-img {
    clip-path: inset(0 0 calc(100% - 2px) 0);
    transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1) var(--d, 0ms);
}
.js .reveal-img img {
    scale: 1.25;
    transition: scale 1.9s var(--ease) var(--d, 0ms);
}
.js .reveal-img.is-in { clip-path: inset(0); }
.js .reveal-img.is-in img { scale: 1; }

.stats dd { font-variant-numeric: tabular-nums; }

/* Marquees: continuous horizontal scroll */
.marquee { overflow: hidden; }
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee var(--dur, 60s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; align-items: center; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.marquee--text {
    padding: 36px 0;
    border-block: 1px solid rgba(44, 42, 43, .3);
    background: var(--beige);
    color: var(--black);
}
.marquee--text .marquee__group > span {
    display: flex;
    align-items: center;
    font-size: clamp(44px, 7vw, 104px);
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee--text .marquee__group > span::after {
    content: "";
    width: .14em;
    height: .14em;
    margin: 0 .55em;
    border-radius: 50%;
    background: currentColor;
    opacity: .45;
}
.marquee--text + .strip { padding-top: 64px; }

.marquee--photos .marquee__group { gap: 10px; padding-right: 10px; }
.marquee--photos img {
    height: clamp(200px, 24vw, 340px);
    width: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero__scroll { bottom: 20px; }
    .hero__scroll i { height: 36px; }
    .marquee--text { padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .curtain, .hero__scroll { display: none; }
    .marquee__track { animation: none; }
    .marquee { overflow-x: auto; }
    .js .reveal-img { clip-path: none; }
    .js .reveal-img img { scale: 1; }
}
