:root {
    --forest: #173b36;
    --forest-light: #28574f;
    --gold: #aa8750;
    --sand: #f3eadb;
    --ivory: #fcfaf5;
    --white: #ffffff;
    --ink: #20302d;
    --muted: #687975;
    --line: rgba(23, 59, 54, 0.18);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: var(--sans);
    line-height: 1.7;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.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;
}

.demo-bar {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 7px 20px;
    color: var(--white);
    background: #102c28;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-align: center;
}

.demo-bar a {
    color: #e6cfaa;
    font-weight: 700;
}

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 5vw, 82px);
    background: rgba(252, 250, 245, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    flex-direction: column;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 0.85;
}

.logo small {
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 0.42rem;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.main-nav a:not(.book-button) {
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    border-color: var(--gold);
}

.book-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--white);
    background: var(--forest);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.book-button {
    padding: 13px 20px;
}

.primary-button {
    min-height: 52px;
    padding: 14px 25px;
}

.book-button:hover,
.primary-button:hover {
    color: var(--forest);
    background: var(--sand);
}

.menu-toggle {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    margin: 5px;
    background: var(--forest);
}

.hero {
    min-height: calc(100vh - 124px);
    display: flex;
    align-items: flex-end;
    position: relative;
    color: var(--white);
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 31, 28, 0.08) 25%, rgba(8, 31, 28, 0.7) 100%);
}

.hero-content {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    padding: clamp(80px, 11vw, 160px) clamp(22px, 7vw, 110px) 75px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.rooms-hero h1,
.booking-strip h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    line-height: 0.95;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(4rem, 8.5vw, 9rem);
    letter-spacing: -0.04em;
}

.hero h1 em,
.section-heading em,
.story-copy em {
    color: #ead5ae;
    font-weight: 500;
}

.hero-note {
    max-width: 300px;
    margin: 0 0 10px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.section-pad {
    padding: clamp(85px, 11vw, 165px) clamp(22px, 7vw, 110px);
}

.intro {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 9vw;
    background: var(--sand);
}

.section-heading h2,
.story-copy h2 {
    color: var(--forest);
    font-size: clamp(3.4rem, 6vw, 7rem);
    letter-spacing: -0.035em;
}

.section-heading em,
.story-copy em {
    color: var(--gold);
}

.intro-copy {
    max-width: 670px;
    padding-top: 4vw;
}

.intro-copy .lead {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    line-height: 1.4;
}

.intro-copy p:last-child {
    max-width: 580px;
    color: var(--muted);
}

.rooms-preview {
    background: var(--ivory);
}

.rooms-header {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;
    margin-bottom: 65px;
}

.rooms-header .section-heading {
    max-width: 800px;
}

.text-link {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--forest);
    color: var(--forest);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 45px);
}

.room-card {
    display: block;
}

.room-card-image {
    aspect-ratio: 1.1;
    overflow: hidden;
    background: #dce4de;
}

.room-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.room-card:hover img {
    transform: scale(1.035);
}

.room-card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.room-card h3 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
}

.room-card p {
    grid-column: 1;
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.room-card strong {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.25rem;
}

.story {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    color: var(--white);
    background: var(--forest);
}

.story-image img {
    height: 100%;
    object-fit: cover;
}

.story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(70px, 9vw, 135px);
}

.story-copy h2 {
    color: var(--white);
}

.story-copy p:last-child {
    max-width: 560px;
    color: #d6dfdc;
    font-size: 1.05rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sand);
}

.feature {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.feature:last-child {
    border: 0;
}

.feature span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 1.5rem;
}

.feature h3 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.feature p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.booking-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--white);
    background: var(--forest-light);
}

.booking-strip h2 {
    max-width: 760px;
    font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.payment-note {
    max-width: 430px;
    color: #d7e2df;
}

.payment-note strong {
    display: block;
    margin-bottom: 8px;
    color: #ead5ae;
    letter-spacing: 0.05em;
}

.rooms-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(70px, 8vw, 105px) 20px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(15, 42, 39, 0.82),
            rgba(15, 42, 39, 0.48)
        ),
        url('../img/hero.webp') center 48% / cover no-repeat;
}

.rooms-hero .eyebrow {
    color: #ead5ae;
}

.rooms-hero h1 {
    color: #ffffff;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

.rooms-hero p:last-child {
    color: rgba(255, 255, 255, 0.88);
}

.room-detail {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(45px, 8vw, 120px);
    align-items: center;
}

.room-detail:nth-child(even) {
    background: var(--sand);
}

.room-detail:nth-child(even) .detail-image {
    order: 2;
}

.detail-image img {
    aspect-ratio: 1.25;
    object-fit: cover;
}

.detail-copy h2 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(2.8rem, 4vw, 5rem);
    font-weight: 500;
    line-height: 1;
}

.detail-copy .price {
    margin: 18px 0 30px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.35rem;
}

.amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 25px;
    margin: 28px 0 35px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}

.amenities span::before {
    content: "✓";
    margin-right: 8px;
    color: var(--gold);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 35px;
    align-items: center;
    padding: 35px clamp(22px, 5vw, 82px);
    background: var(--ivory);
    font-size: 0.7rem;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.site-footer > a:last-child {
    text-align: right;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
}

.modal.open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 28, 25, 0.75);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    width: min(92vw, 720px);
    max-height: 92vh;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 55px);
    position: relative;
    z-index: 1;
    background: var(--ivory);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 17px;
    right: 20px;
    border: 0;
    color: var(--forest);
    background: transparent;
    cursor: pointer;
    font-size: 1.8rem;
}

.modal-dialog h2 {
    margin: 0 0 10px;
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1;
}

.modal-intro {
    margin: 0 0 30px;
    color: var(--muted);
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field.full,
.form-actions,
.form-demo-note {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--forest);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 49px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
}

.form-actions {
    margin-top: 8px;
}

.form-actions .primary-button {
    width: 100%;
}

.form-demo-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
}

.booking-success {
    display: none;
    padding: 35px 0 10px;
    text-align: center;
}

.booking-success.visible {
    display: block;
}

.success-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.8rem;
}

.booking-success h2 {
    margin-bottom: 20px;
}

.booking-success p {
    max-width: 500px;
    margin: 0 auto 14px;
    color: var(--muted);
}

.demo-confirmation {
    padding: 12px;
    border: 1px solid var(--gold);
    color: var(--forest) !important;
    background: var(--sand);
    font-size: 0.78rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
    .site-header {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        text-align: center;
    }

    .hero-content,
    .rooms-header,
    .booking-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .intro,
    .story,
    .room-detail {
        grid-template-columns: 1fr;
    }

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

    .story-image {
        min-height: 560px;
    }

    .room-detail:nth-child(even) .detail-image {
        order: 0;
    }

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

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

    .feature:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 600px) {
    .demo-bar {
        justify-content: space-between;
        gap: 10px;
        padding: 7px 12px;
        font-size: 0.58rem;
    }

    .demo-bar span {
        max-width: 50%;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding: 90px 20px 45px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 18vw, 5.2rem);
    }

    .section-pad {
        padding: 75px 20px;
    }

    .room-grid,
    .features,
    .booking-form {
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .story-image {
        min-height: 430px;
    }

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

    .site-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer .logo {
        align-items: center;
    }

    .site-footer > a:last-child {
        text-align: center;
    }

    .rooms-hero {
        min-height: 330px;
        padding: 60px 20px 45px;
        background-position: center;
    }
}

/* Compact premium rhythm */
.section-pad {
    padding: clamp(62px, 7vw, 108px) clamp(22px, 7vw, 110px);
}

.hero {
    min-height: 64vh;
}

.intro {
    gap: 6vw;
}

.intro-copy {
    padding-top: 2vw;
}

.rooms-header {
    margin-bottom: 42px;
}

.room-grid {
    gap: clamp(18px, 2.2vw, 34px);
}

.story {
    min-height: 580px;
}

.story-copy {
    padding: clamp(60px, 7vw, 105px);
}

.feature {
    padding: 36px 24px;
}

.room-detail {
    gap: clamp(38px, 6vw, 90px);
}

.day-heading {
    padding-top: clamp(65px, 7vw, 105px);
    padding-bottom: clamp(45px, 5vw, 72px);
}

.day-heading h2 {
    font-size: clamp(3.4rem, 6vw, 6.5rem);
}

.day-moments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 0 clamp(22px, 7vw, 110px) clamp(70px, 8vw, 115px);
    background: linear-gradient(#102f2a, #102f2a) padding-box;
}

.day-moment {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
    border: 1px solid rgba(234,213,174,.2);
    background: #102f2a;
}

.day-moment:nth-child(even) .day-image {
    order: 0;
}

.day-moment:nth-child(even) .day-copy {
    padding-left: clamp(26px, 3vw, 44px);
}

.day-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.day-copy,
.day-moment:nth-child(even) .day-copy {
    min-height: 255px;
    padding: clamp(26px, 3vw, 44px);
}

.day-copy time {
    margin-bottom: 14px;
}

.day-copy h3 {
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 3.2vw, 3.7rem);
}

.day-copy p {
    font-size: .92rem;
}

.guest-heading {
    margin-bottom: clamp(42px, 5vw, 70px);
}

.guest-quote {
    min-height: 280px;
    padding: clamp(30px, 3vw, 44px);
}

.location-promise {
    min-height: 590px;
}

.location-visual {
    min-height: 520px;
}

.location-copy {
    padding: clamp(55px, 6vw, 90px);
}

.direct-promise {
    margin-top: 28px;
    padding: 22px;
}

@media (max-width: 900px) {
    .section-pad {
        padding: 62px 28px;
    }

    .hero {
        min-height: 56vh;
    }

    .story-image {
        min-height: 440px;
    }

    .day-moments {
        padding-inline: 28px;
    }

    .day-copy {
        min-height: 280px;
    }

    .location-visual {
        min-height: 55vw;
    }
}

@media (max-width: 600px) {
    .section-pad {
        padding: 52px 20px;
    }

    .hero {
        min-height: 52vh;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 30px;
    }

    .rooms-header {
        margin-bottom: 30px;
    }

    .story-image {
        min-height: 330px;
    }

    .story-copy {
        padding: 55px 20px;
    }

    .feature {
        padding: 30px 20px;
    }

    .day-heading {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .day-moments {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 20px 58px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: rgba(234,213,174,.45) transparent;
    }

    .day-moment {
        min-width: 86vw;
        scroll-snap-align: center;
    }

    .day-image {
        aspect-ratio: 4 / 3;
    }

    .day-copy,
    .day-moment:nth-child(even) .day-copy {
        min-height: 235px;
        padding: 25px;
    }

    .day-copy h3 {
        font-size: 2.35rem;
    }

    .guest-quote,
    .guest-quote:last-child {
        min-height: 245px;
    }

    .location-visual {
        min-height: 68vw;
    }

    .location-copy {
        padding: 52px 20px;
    }
}

/* MARIS premium editorial experience */
.hero {
    min-height: 72vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero::after {
    content: "";
    width: 1px;
    height: 58px;
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.9));
    transform-origin: bottom;
    animation: scroll-line 2.4s ease-in-out infinite;
}

.hero .reveal {
    transition-duration: 1.05s;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(.25); opacity: .35; }
    50% { transform: scaleY(1); opacity: 1; }
}

.maris-day {
    overflow: hidden;
    color: var(--white);
    background: #102f2a;
}

.day-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
    gap: 8vw;
    align-items: end;
    padding-bottom: clamp(65px, 8vw, 105px);
}

.day-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.8rem, 7vw, 8rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: .9;
}

.day-heading h2 em {
    color: #ead5ae;
    font-weight: 500;
}

.day-heading > p {
    max-width: 390px;
    margin: 0 0 8px;
    padding-left: 24px;
    border-left: 1px solid rgba(234,213,174,.55);
    color: #d6dfdc;
    font-family: var(--serif);
    font-size: 1.4rem;
    line-height: 1.45;
}

.day-moments {
    padding: 0 clamp(22px, 7vw, 110px) clamp(100px, 12vw, 180px);
}

.day-moment {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
    gap: clamp(45px, 8vw, 130px);
    align-items: center;
    padding: clamp(55px, 7vw, 100px) 0;
    border-top: 1px solid rgba(234,213,174,.22);
}

.day-moment:nth-child(even) .day-image { order: 2; }
.day-moment:nth-child(even) .day-copy { padding-left: clamp(0px, 4vw, 65px); }

.day-image {
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.day-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7,28,25,.45));
    pointer-events: none;
}

.day-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}

.day-moment.visible .day-image img { transform: scale(1.035); }

.day-image > span {
    position: absolute;
    right: 22px;
    bottom: 15px;
    z-index: 1;
    color: rgba(255,255,255,.8);
    font-family: var(--serif);
    font-size: 2.1rem;
}

.day-copy time {
    display: inline-block;
    margin-bottom: 25px;
    color: #d8bb87;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.day-copy h3 {
    max-width: 480px;
    margin: 0 0 25px;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 4.5vw, 5.2rem);
    font-weight: 500;
    line-height: .95;
}

.day-copy p {
    max-width: 430px;
    margin: 0;
    color: #c5d2cf;
    font-size: 1rem;
}

.room-card-image { position: relative; }

.room-card-image::after {
    content: "View room  →";
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 26px;
    position: absolute;
    inset: 0;
    color: var(--white);
    background: linear-gradient(180deg, transparent 52%, rgba(8,31,28,.7));
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .45s ease;
}

.room-card:hover .room-card-image::after,
.room-card:focus-visible .room-card-image::after { opacity: 1; }

.room-card-body { transition: transform .4s ease, border-color .4s ease; }
.room-card:hover .room-card-body { transform: translateY(-3px); border-color: var(--gold); }

.professional-dialog {
    border: 1px solid rgba(170,135,80,.45);
    box-shadow: 0 35px 100px rgba(0,0,0,.42);
}

.professional-dialog::before {
    content: "MARIS  ·  PALAWAN";
    display: block;
    margin-bottom: 22px;
    color: var(--gold);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .24em;
}

.extra-option,
.price-summary { transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.extra-option:hover { border-color: var(--gold); transform: translateY(-2px); }
.extra-option:has(input:checked) { border-color: var(--gold); background: var(--sand); }

@media (max-width: 900px) {
    .hero { min-height: 64vh; background-size: cover; }
    .day-heading,
    .day-moment { grid-template-columns: 1fr; }
    .day-moment { min-height: 0; gap: 38px; }
    .day-moment:nth-child(even) .day-image { order: 0; }
    .day-moment:nth-child(even) .day-copy { padding-left: 0; }
    .day-image { min-height: min(68vw, 580px); }
}

@media (max-width: 600px) {
    .hero { min-height: 58vh; }
    .hero-video { object-position: 58% center; }
    .day-heading { gap: 35px; }
    .day-heading h2 { font-size: clamp(3.4rem, 17vw, 5rem); }
    .day-heading > p { font-size: 1.15rem; }
    .day-moments { padding-inline: 20px; }
    .day-image { min-height: 92vw; }
    .day-copy h3 { font-size: 2.8rem; }
    .room-card-image::after { opacity: 1; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero::after { animation: none; }
    .hero-video { display: none; }
    .day-image img { transition: none; }
}

/* Editorial trust and location */
.guest-trust {
    background: var(--ivory);
}

.guest-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: end;
    margin-bottom: clamp(60px, 8vw, 105px);
}

.guest-heading h2,
.location-copy h2 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(3.5rem, 6.2vw, 7rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: .92;
}

.guest-heading h2 em {
    color: var(--gold);
    font-weight: 500;
}

.guest-rating {
    min-width: 190px;
    padding: 24px 0 8px 28px;
    border-left: 1px solid var(--line);
}

.guest-rating > span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: .8rem;
    letter-spacing: .2em;
}

.guest-rating strong,
.guest-rating small {
    display: block;
}

.guest-rating strong {
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.5rem;
}

.guest-rating small {
    color: var(--muted);
    font-size: .7rem;
}

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

.guest-quote {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: clamp(34px, 4vw, 58px);
    border-right: 1px solid var(--line);
}

.guest-quote:last-child {
    border-right: 0;
}

.guest-quote blockquote {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.45;
}

.guest-quote figcaption {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guest-quote figcaption span {
    color: var(--muted);
}

.location-promise {
    min-height: 760px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: var(--sand);
}

.location-visual {
    min-height: 620px;
    background-position: center;
    background-size: cover;
}

.location-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(70px, 8vw, 125px);
}

.location-copy h2 {
    max-width: 650px;
    font-size: clamp(3.1rem, 5vw, 6rem);
}

.location-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin: 30px 0;
    color: var(--muted);
}

.arrival-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--forest);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.arrival-facts span::before {
    content: "◇";
    margin-right: 9px;
    color: var(--gold);
}

.direct-promise {
    margin-top: 38px;
    padding: 28px;
    border: 1px solid rgba(170,135,80,.55);
    background: rgba(252,250,245,.55);
}

.direct-promise > strong {
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.direct-promise ul {
    display: grid;
    gap: 7px;
    margin: 17px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: .78rem;
    list-style: none;
}

.direct-promise li::before {
    content: "✓";
    margin-right: 9px;
    color: var(--gold);
}

@media (max-width: 900px) {
    .guest-heading,
    .location-promise {
        grid-template-columns: 1fr;
    }

    .review-editorial {
        grid-template-columns: 1fr 1fr;
    }

    .guest-quote:last-child {
        grid-column: 1 / -1;
        min-height: 260px;
        border-top: 1px solid var(--line);
    }

    .location-visual {
        min-height: 65vw;
    }
}

@media (max-width: 600px) {
    .guest-heading {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .guest-rating {
        padding: 22px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .review-editorial {
        grid-template-columns: 1fr;
    }

    .guest-quote,
    .guest-quote:last-child {
        min-height: 285px;
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .location-copy {
        padding: 75px 20px;
    }

    .location-visual {
        min-height: 88vw;
    }
}

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

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

/* Professional booking and language tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.currency-select {
    padding: 7px;
    border: 1px solid var(--line);
    color: var(--forest);
    background: transparent;
    font-size: 0.65rem;
    font-weight: 700;
}

.language-switcher {
    display: flex;
    gap: 7px;
}

.language-switcher a {
    padding: 3px 2px !important;
    color: var(--muted);
    font-size: 0.62rem;
}

.language-switcher a.active {
    color: var(--forest);
    border-color: var(--gold) !important;
}

.professional-dialog {
    width: min(94vw, 820px);
}

.booking-header {
    grid-column: 1 / -1;
}

.booking-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 30px;
    border-bottom: 1px solid var(--line);
}

.booking-progress span {
    padding: 10px 5px;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.booking-progress span.active {
    color: var(--forest);
    border-bottom: 2px solid var(--gold);
}

.booking-step {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.booking-step.active {
    display: grid;
}

.step-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.secondary-button {
    min-height: 52px;
    padding: 14px 25px;
    border: 1px solid var(--forest);
    color: var(--forest);
    background: transparent;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.extra-option {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--line);
    cursor: pointer;
}

.extra-option input {
    width: 19px;
    height: 19px;
    accent-color: var(--gold);
}

.extra-option span {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.extra-option small {
    color: var(--gold);
    font-weight: 700;
}

.price-summary {
    grid-column: 1 / -1;
    padding: 22px;
    background: var(--sand);
}

.price-summary h3 {
    margin: 0 0 15px;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.6rem;
}

.price-summary p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 8px 0;
}

.summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--forest);
    font-size: 1.1rem;
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .header-tools {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .booking-step {
        grid-template-columns: 1fr;
    }

    .booking-progress span {
        font-size: 0.55rem;
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .step-actions button {
        width: 100%;
    }
}

/* Final compact layout overrides */
.section-pad { padding-block: clamp(62px, 7vw, 108px); }
.hero { min-height: 64vh; }
.intro { gap: 6vw; }
.intro-copy { padding-top: 2vw; }
.rooms-header { margin-bottom: 42px; }
.room-grid { gap: clamp(18px, 2.2vw, 34px); }
.story { min-height: 580px; }
.story-copy { padding: clamp(60px, 7vw, 105px); }
.feature { padding: 36px 24px; }
.room-detail { gap: clamp(38px, 6vw, 90px); }
.day-heading { padding-top: clamp(65px, 7vw, 105px); padding-bottom: clamp(45px, 5vw, 72px); }
.day-heading h2 { font-size: clamp(3.4rem, 6vw, 6.5rem); }
.day-moments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 clamp(22px, 7vw, 110px) clamp(70px, 8vw, 115px);
}
.day-moment {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
    border: 1px solid rgba(234,213,174,.2);
}
.day-moment:nth-child(even) .day-image { order: 0; }
.day-image { min-height: 0; aspect-ratio: 16 / 9; }
.day-copy,
.day-moment:nth-child(even) .day-copy {
    min-height: 255px;
    padding: clamp(26px, 3vw, 44px);
}
.day-copy time { margin-bottom: 14px; }
.day-copy h3 { margin-bottom: 16px; font-size: clamp(2.25rem, 3.2vw, 3.7rem); }
.day-copy p { font-size: .92rem; }
.guest-heading { margin-bottom: clamp(42px, 5vw, 70px); }
.guest-quote { min-height: 280px; padding: clamp(30px, 3vw, 44px); }
.location-promise { min-height: 590px; }
.location-visual { min-height: 520px; }
.location-copy { padding: clamp(55px, 6vw, 90px); }
.direct-promise { margin-top: 28px; padding: 22px; }

@media (max-width: 900px) {
    .section-pad { padding: 62px 28px; }
    .hero { min-height: 56vh; }
    .story-image { min-height: 440px; }
    .day-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 28px; }
    .day-copy { min-height: 280px; }
    .location-visual { min-height: 55vw; }
}

@media (max-width: 600px) {
    .section-pad { padding: 52px 20px; }
    .hero { min-height: 52vh; }
    .hero-content { padding-top: 65px; padding-bottom: 30px; }
    .rooms-header { margin-bottom: 30px; }
    .story-image { min-height: 330px; }
    .story-copy { padding: 55px 20px; }
    .feature { padding: 30px 20px; }
    .day-heading { padding-top: 55px; padding-bottom: 40px; }
    .day-moments {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 20px 58px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: rgba(234,213,174,.45) transparent;
    }
    .day-moment { min-width: 86vw; scroll-snap-align: center; }
    .day-image { aspect-ratio: 4 / 3; }
    .day-copy,
    .day-moment:nth-child(even) .day-copy { min-height: 235px; padding: 25px; }
    .day-copy h3 { font-size: 2.35rem; }
    .guest-quote,
    .guest-quote:last-child { min-height: 245px; }
    .location-visual { min-height: 68vw; }
    .location-copy { padding: 52px 20px; }
}

/* Compact trust and location sections */
.guest-trust {
    padding-block: clamp(48px, 5vw, 72px);
}

.guest-heading {
    align-items: center;
    margin-bottom: 34px;
}

.guest-heading h2 {
    font-size: clamp(2.7rem, 4.4vw, 4.8rem);
    line-height: .96;
}

.guest-rating {
    padding: 18px 0 5px 24px;
}

.guest-quote {
    min-height: 210px;
    padding: clamp(24px, 2.4vw, 34px);
}

.guest-quote blockquote {
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.guest-quote figcaption {
    margin-top: 24px;
}

.location-promise {
    min-height: 460px;
}

.location-visual {
    min-height: 460px;
}

.location-copy {
    padding: clamp(42px, 5vw, 70px);
}

.location-copy h2 {
    font-size: clamp(2.7rem, 4vw, 4.5rem);
}

.location-copy > p:not(.eyebrow) {
    margin: 20px 0;
}

.arrival-facts {
    padding: 16px 0;
}

.direct-promise {
    margin-top: 20px;
    padding: 18px 20px;
}

.direct-promise ul {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .guest-quote,
    .guest-quote:last-child {
        min-height: 200px;
    }

    .location-visual {
        min-height: 46vw;
    }
}

@media (max-width: 600px) {
    .guest-trust {
        padding-block: 46px;
    }

    .guest-heading {
        gap: 25px;
        margin-bottom: 28px;
    }

    .guest-heading h2 {
        font-size: 2.75rem;
    }

    .guest-rating {
        padding-top: 16px;
    }

    .guest-quote,
    .guest-quote:last-child {
        min-height: 0;
        padding: 25px 22px;
    }

    .guest-quote blockquote {
        font-size: 1.08rem;
    }

    .location-visual {
        min-height: 52vw;
    }

    .location-copy {
        padding: 45px 20px;
    }

    .location-copy h2 {
        font-size: 2.75rem;
    }

    .direct-promise {
        margin-top: 18px;
    }
}

/* Compact rooms presentation and interactive galleries */
.rooms-hero {
    padding-top: clamp(72px, 8vw, 110px);
    padding-bottom: clamp(46px, 5vw, 68px);
}

.rooms-hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.6rem);
    line-height: .96;
}

.rooms-hero p:last-child {
    margin-top: 22px;
}

.room-detail {
    gap: clamp(36px, 5vw, 72px);
    padding-block: clamp(58px, 6.5vw, 92px);
}

.room-detail:nth-child(even) .room-gallery {
    order: 2;
}

.room-gallery {
    min-width: 0;
}

.room-gallery figure {
    margin: 0;
}

.room-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--sand);
}

.room-gallery-main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-gallery-main figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    color: var(--ivory);
    background: rgba(19, 48, 45, .78);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.room-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.room-gallery-thumb {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--sand);
    cursor: pointer;
}

.room-gallery-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color .2s ease, background .2s ease;
}

.room-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease, opacity .2s ease;
}

.room-gallery-thumb:hover img,
.room-gallery-thumb:focus-visible img {
    transform: scale(1.045);
}

.room-gallery-thumb.active::after {
    border-color: var(--gold);
    background: rgba(170, 135, 80, .12);
}

.room-gallery-thumb:not(.active) img {
    opacity: .72;
}

.room-gallery-thumb:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 3px;
}

.detail-copy h2 {
    font-size: clamp(2.6rem, 3.7vw, 4.5rem);
}

.detail-copy .price {
    margin: 14px 0 22px;
}

.amenities {
    margin: 22px 0 20px;
    padding: 18px 0;
}

@media (max-width: 900px) {
    .room-detail:nth-child(even) .room-gallery {
        order: 0;
    }

    .room-gallery {
        max-width: 720px;
    }
}

@media (max-width: 600px) {
    .rooms-hero {
        padding-top: 62px;
        padding-bottom: 42px;
    }

    .rooms-hero h1 {
        font-size: 2.8rem;
    }

    .room-detail {
        gap: 34px;
        padding-block: 48px;
    }

    .detail-copy h2 {
        font-size: 2.7rem;
    }

    .room-gallery-main figcaption {
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
    }
}

/* MARIS pop explore: compact editorial tiles with native dialog panels. */
.pop-explore {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
    gap: clamp(30px, 6vw, 100px);
    align-items: center;
    padding: clamp(65px, 8vw, 120px) clamp(22px, 7vw, 110px);
    background: #163d37;
    color: #fff;
}
.pop-explore-heading h2 {
    margin: 0 0 16px;
    max-width: 550px;
    font: 500 clamp(2.9rem, 5vw, 5.7rem)/.98 var(--serif);
}
.pop-explore-heading > p:last-child { margin: 0; color: #e5dfd0; }
.pop-explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.pop-explore-tile {
    min-height: clamp(130px, 14vw, 205px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(16px, 2vw, 26px);
    border: 1px solid rgba(234,213,174,.65);
    color: #fff;
    background: rgba(255,255,255,.035);
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.pop-explore-tile:hover,
.pop-explore-tile:focus-visible { background: rgba(234,213,174,.16); transform: translateY(-3px); }
.pop-explore-tile:focus-visible, .pop-explore-close:focus-visible, .pop-explore-cta:focus-visible { outline: 3px solid #d9b985; outline-offset: 3px; }
.pop-explore-number { color: #d9b985; font: 600 .7rem var(--sans, sans-serif); letter-spacing: .2em; }
.pop-explore-name { font: 500 clamp(1.6rem, 2.5vw, 2.6rem)/1 var(--serif); }
.pop-explore-arrow { align-self: flex-end; color: #d9b985; font-size: 1.3rem; }
.pop-explore-dialog {
    width: min(880px, calc(100% - 32px));
    max-height: min(760px, calc(100dvh - 32px));
    padding: 0;
    border: 0;
    color: #163d37;
    background: #f5efe4;
    box-shadow: 0 25px 90px rgba(0,0,0,.28);
    overflow: auto;
}
.pop-explore-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.pop-explore-dialog::backdrop { background: rgba(6,27,24,.78); backdrop-filter: blur(4px); }
.pop-explore-photo { min-height: 410px; }
.pop-explore-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pop-explore-copy { align-self: center; padding: clamp(28px, 5vw, 60px); }
.pop-explore-copy h2 { margin: 0 0 18px; font: 500 clamp(2.8rem, 5vw, 5rem)/.95 var(--serif); }
.pop-explore-copy > p:not(.eyebrow) { line-height: 1.7; }
.pop-explore-cta { display: inline-flex; gap: 16px; align-items: center; margin-top: 24px; padding: 12px 18px; background: #163d37; color: #fff; text-decoration: none; }
.pop-explore-cta:hover { background: #285e50; }
.pop-explore-close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f5efe4; color: #163d37; font: 2rem/1 sans-serif; cursor: pointer; }
@media (max-width: 900px) { .pop-explore { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .pop-explore-grid { gap: 9px; }
    .pop-explore-tile { min-height: 135px; padding: 14px; }
    .pop-explore-dialog[open] { grid-template-columns: 1fr; }
    .pop-explore-photo { min-height: 0; height: 210px; }
    .pop-explore-copy { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pop-explore-tile { transition: none; } .pop-explore-dialog::backdrop { backdrop-filter: none; } }
