/* Rooms page (v2). Loads after home-v2.css and reuses its tokens, header, footer, .fig parallax frames,
   .pill, .eyebrow, .line-mask and the hero footer/scroll cue. Only what is new to this page lives here. */

/* ---------- Hero: silent drone loop (poster as background until it plays), headline bottom-left ---------- */
.stay-hero {
    position: relative;
    z-index: 2;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    color: #fff;
    background: var(--deep) url("../img/rooms/v2/rooms-hero-desktop-poster.webp") center / cover no-repeat;
}
@media (orientation: portrait) {
    .stay-hero { background-image: url("../img/rooms/v2/rooms-hero-mobile-poster.webp"); }
}
.stay-hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    will-change: transform;
}
.stay-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 22, 52, .6) 0%, rgba(3, 22, 52, .3) 38%, rgba(3, 22, 52, 0) 62%),
        linear-gradient(0deg, rgba(3, 22, 52, .62) 0%, rgba(3, 22, 52, .18) 42%, rgba(3, 22, 52, 0) 62%),
        linear-gradient(180deg, rgba(3, 22, 52, .42) 0%, rgba(3, 22, 52, 0) 22%);
}
.stay-hero .hero__place { max-width: none; }
.stay-hero__content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: clamp(120px, 19vh, 200px);
}
.stay-hero__title {
    margin-top: 16px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(52px, 8.6vw, 148px);
    line-height: .94;
    letter-spacing: -.025em;
}
.stay-hero__line { display: block; }
.stay-hero__line--2 { margin-left: 7vw; font-style: italic; color: rgba(255, 255, 255, .84); }
.stay-hero__lede { max-width: 30em; margin-top: clamp(16px, 2vw, 26px); font-size: clamp(14px, 1.3vw, 18px); color: rgba(255, 255, 255, .9); }

/* Headline entrances (same easing as the homepage). */
:is(.stay-hero__title, .index__title, .around__title):not(.is-pending) .line-mask > span { transition: transform 1.3s cubic-bezier(.23, 1, .32, 1) .1s; }
:is(.stay-hero__title, .around__title):not(.is-pending) .line-mask > span { transition-delay: .1s; }
.stay-hero__title:not(.is-pending) .stay-hero__line--2 .line-mask > span,
.around__title:not(.is-pending) .around__line--2 .line-mask > span { transition-delay: .19s; }

/* ---------- Room index: wayfinding-board rows ---------- */
.index { padding: 18vh 0 10vh; }
.index__head { padding: 0 6px; }
.index__title {
    margin-top: 18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.75vw, 76px);
    line-height: 1;
    letter-spacing: -.02em;
}
.index__list { margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(22, 27, 27, .16); }
.index__row {
    position: relative;
    display: grid;
    grid-template-columns: 4.2em minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 2em;
    align-items: baseline;
    gap: 16px;
    padding: clamp(18px, 2.6vh, 28px) 6px;
    border-top: 1px solid rgba(22, 27, 27, .16);
    text-decoration: none;
    transition: padding-left .5s cubic-bezier(.23, 1, .32, 1), background-color .3s;
}
.index__num { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 28px); color: var(--ink-soft); }
.index__name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.015em;
}
.index__fact {
    font-family: var(--caps);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #2a3030;
}
.index__go { justify-self: end; font-size: 18px; transition: transform .4s cubic-bezier(.23, 1, .32, 1); }
/* Desktop hover: a small photo of the room floats in at the right of the row. */
.index__peek {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 8%;
    width: clamp(160px, 15vw, 240px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(6, 38, 74, .18);
    opacity: 0;
    transform: translateY(-40%) scale(.92) rotate(-2deg);
    transition: opacity .35s, transform .5s cubic-bezier(.23, 1, .32, 1);
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .index__row:hover { padding-left: 22px; }
    .index__row:hover .index__go { transform: translateY(4px); }
    .index__row:hover .index__peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
}

/* ---------- One article per room: layered photo gallery beside sticky text ---------- */
.suite { padding: 12vh 0; }
.suite__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(32px, 6vw, 110px);
}
.suite--reverse .suite__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.suite--reverse .suite__gallery { order: 2; }
.suite__gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(12px, 1.4vw, 20px);
}
.suite__main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 3; }
/* The portrait photo overlaps the main photo's lower-right corner. */
.suite__side { grid-column: 8 / 13; grid-row: 1; z-index: 1; aspect-ratio: 3 / 4; margin-top: 34%; }
.suite__small { grid-column: 2 / 7; grid-row: 2; aspect-ratio: 4 / 3; margin-top: -4%; }
.suite--reverse .suite__main { grid-column: 4 / 13; }
.suite--reverse .suite__side { grid-column: 1 / 6; }
.suite--reverse .suite__small { grid-column: 7 / 12; }
/* Two-photo rooms: a tall pair, staggered. */
.suite__gallery--pair .suite__main { grid-column: 1 / 8; aspect-ratio: 4 / 5; }
.suite__gallery--pair .suite__side { grid-column: 7 / 13; margin-top: 28%; }
.suite--reverse .suite__gallery--pair .suite__main { grid-column: 6 / 13; }
.suite--reverse .suite__gallery--pair .suite__side { grid-column: 1 / 7; }
/* The overlapping photo sits in a paper frame, like a print laid over the main photo (same as the room page hero).
   Pair galleries overlap by one column so the frame shows there too. Phones stack the photos, so no frame there. */
@media (min-width: 768px) {
    .suite__side { border: 10px solid var(--paper); border-radius: 18px; }
    .suite__gallery--pair .suite__main { grid-row: 1; }
    .suite__gallery--pair .suite__side { grid-row: 1; z-index: 1; }
}

.suite__text { position: sticky; top: 16vh; padding-top: clamp(8px, 4vh, 48px); }
.suite__num {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(64px, 7vw, 120px);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(22, 27, 27, .35);
    margin-bottom: clamp(18px, 3vh, 32px);
}
.suite__title {
    margin-top: 8px;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(42px, 4.6vw, 76px);
    line-height: 1;
    letter-spacing: -.02em;
}
/* Keyword line inside the room heading: small, under the italic display name. */
.suite__kicker {
    display: block;
    margin-top: 10px;
    font-family: var(--caps);
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #2a3030;
}
.suite__desc { max-width: 30em; margin-top: 16px; font-size: clamp(14px, 1.15vw, 17px); color: #2a3030; }
.suite__text .pill { margin-top: 28px; }
.suite__more { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }

.facts { margin: 28px 0 0; }
.facts__row {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(22, 27, 27, .16);
}
.facts__row:last-child { border-bottom: 1px solid rgba(22, 27, 27, .16); }
.facts dt {
    padding-top: 3px;
    font-family: var(--caps);
    font-weight: 600;
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #5d6363;
}
.facts dd { margin: 0; font-size: 15px; }

/* ---------- Beyond your door ---------- */
.around { padding: 8vh 0 16vh; }
.around__band { height: 78vh; height: 78svh; min-height: 420px; border-radius: 0; }
.around__band > img { object-position: center 60%; }
.around__head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 18px clamp(32px, 6vw, 110px);
    margin-top: 14vh;
    padding: 0 6px;
}
.around__head .eyebrow { grid-column: 1 / -1; }
.around__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(44px, 6.4vw, 110px);
    line-height: .95;
    letter-spacing: -.025em;
}
.around__line { display: block; }
.around__line--2 { margin-left: 8vw; font-style: italic; color: var(--ink-soft); }
.around__lede { max-width: 26em; padding-bottom: .6em; font-size: clamp(14px, 1.2vw, 17px); color: #2a3030; }

.around__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(40px, 8vh, 96px) clamp(16px, 2vw, 32px);
    margin-top: clamp(56px, 10vh, 110px);
    padding: 0 6px;
}
.spot { margin: 0; }
.spot__image { aspect-ratio: 4 / 3; }
.spot--tall .spot__image { aspect-ratio: 4 / 5; }
.spot figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 14px;
}
.spot__name { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
.spot:nth-child(1) { grid-column: 1 / 6; }
.spot:nth-child(2) { grid-column: 7 / 13; margin-top: 18vh; }
.spot:nth-child(3) { grid-column: 2 / 6; }
.spot:nth-child(4) { grid-column: 7 / 11; margin-top: 10vh; }
.spot:nth-child(5) { grid-column: 1 / 5; }
.spot:nth-child(6) { grid-column: 6 / 13; margin-top: 22vh; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
    .suite__grid, .suite--reverse .suite__grid { grid-template-columns: 1fr; }
    .suite--reverse .suite__gallery { order: 0; }
    .suite__text { position: static; padding-top: 0; }
    .suite__num { display: none; }
    .around__head { grid-template-columns: 1fr; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
    .stay-hero__content { bottom: 132px; }
    .stay-hero__title { font-size: clamp(46px, 14vw, 72px); }
    .stay-hero__line--2 { margin-left: 0; }

    .index { padding: 12vh 0 6vh; }
    .index__head { padding: 0; }
    .index__row {
        grid-template-columns: 2.6em minmax(0, 1fr) 1.4em;
        grid-template-areas: "num name go" "num fact go";
        row-gap: 6px;
        padding: 20px 0;
    }
    .index__num { grid-area: num; font-size: 18px; }
    .index__name { grid-area: name; font-size: clamp(28px, 8.4vw, 36px); }
    .index__fact { grid-area: fact; }
    .index__fact--wide, .index__peek { display: none; }
    .index__go { grid-area: go; align-self: center; }

    .suite { padding: 8vh 0; }
    .suite__gallery, .suite__gallery--pair { gap: 10px; }
    .suite__main, .suite--reverse .suite__main,
    .suite__gallery--pair .suite__main, .suite--reverse .suite__gallery--pair .suite__main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
    .suite__side, .suite--reverse .suite__side,
    .suite__gallery--pair .suite__side, .suite--reverse .suite__gallery--pair .suite__side { grid-column: 1 / 7; grid-row: 2; margin-top: 0; aspect-ratio: 3 / 4; }
    .suite__small, .suite--reverse .suite__small { grid-column: 7 / 13; grid-row: 2; margin-top: 0; aspect-ratio: 3 / 4; }
    .suite__gallery--pair .suite__side, .suite--reverse .suite__gallery--pair .suite__side { grid-column: 4 / 13; aspect-ratio: 4 / 3; }
    .facts__row { grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; }

    .around__band { height: 62svh; min-height: 360px; }
    .around__head { margin-top: 10vh; padding: 0; }
    .around__line--2 { margin-left: 0; }
    .around__grid { grid-template-columns: 1fr 1fr; gap: 40px 12px; padding: 0; }
    .spot:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
    .spot:nth-child(3), .spot:nth-child(4) { grid-column: auto; }
    .spot:nth-child(3) .spot__image, .spot:nth-child(4) .spot__image { aspect-ratio: 4 / 5; }
    .spot:nth-child(3) .spot__name, .spot:nth-child(4) .spot__name { font-size: 19px; }
}

/* ================= Room detail page ================= */

/* Header over paper: dark text and logo from the start (turns solid as soon as the page scrolls). */
.nav--ink:not(.is-solid) { color: var(--ink); }
.nav--ink .nav__logo-light { display: none; }
.nav--ink .nav__logo-dark { display: block; }
.nav--ink:not(.is-solid) .nav__cta:hover,
.nav--ink:not(.is-solid) .nav__account:hover { background: var(--ink); color: #fff; }

.pill--solid-ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pill--solid-ink:hover { background: transparent; color: var(--ink); }

/* ---------- Hero: title and facts beside a layered photo pair ---------- */
/* Transparent so the calligraphy layer shows through the paper, as on the homepage sections. */
.room-hero { position: relative; z-index: 2; }
.room-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 96px);
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(110px + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(32px, 6vh, 64px);
}
.room-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(8px, 3vh, 32px) 6px clamp(8px, 3vh, 32px);
}
.crumbs {
    display: flex;
    gap: 10px;
    font-family: var(--caps);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #5d6363;
}
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }
/* Position stamp: the resort's coordinates, set like a chart label. */
.stamp {
    display: grid;
    gap: 6px;
    margin-top: clamp(20px, 4vh, 40px);
    padding-left: 14px;
    border-left: 1px solid var(--deep);
    font-family: var(--caps);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--deep);
}
.stamp span + span { color: #5d6363; letter-spacing: .16em; }
.room-hero__title {
    margin-top: 16px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(60px, 8.4vw, 150px);
    line-height: .9;
    letter-spacing: -.03em;
}
.room-hero__line { display: block; }
.room-hero__kicker {
    display: block;
    margin-top: clamp(14px, 2.4vh, 24px);
    font-family: var(--caps);
    font-weight: 500;
    font-size: clamp(10.5px, .85vw, 12px);
    line-height: 1.6;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #2a3030;
}
.room-hero__line--2 { margin-left: .9em; font-style: italic; color: var(--ink-soft); }
.room-hero__title:not(.is-pending) .line-mask > span { transition: transform 1.3s cubic-bezier(.23, 1, .32, 1) .1s; }
.room-hero__title:not(.is-pending) .room-hero__line--2 .line-mask > span { transition-delay: .19s; }
.glance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(28px, 5vh, 48px) 0 0;
    border-top: 1px solid rgba(22, 27, 27, .16);
    border-bottom: 1px solid rgba(22, 27, 27, .16);
}
.glance > div { padding: 16px 16px 16px 0; }
.glance > div + div { padding-left: 16px; border-left: 1px solid rgba(22, 27, 27, .16); }
.glance dt { font-family: var(--caps); font-weight: 600; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #5d6363; }
.glance dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 36px); line-height: 1.05; }
.room-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(24px, 4vh, 40px); }

/* Photo pair: the main photo fills the column; a second photo, framed in paper, overlaps its lower-left corner. */
.room-hero__media { position: relative; min-height: 420px; }
.room-hero__image { position: absolute; inset: 0; }
.has-second .room-hero__image { left: 15%; bottom: 10%; }
.room-hero__second {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 38%;
    aspect-ratio: 3 / 4;
    border: 10px solid var(--paper);
    border-radius: 18px;
}
.room-hero__caption {
    position: absolute;
    top: 0;
    left: calc(7.5% - .6em);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--caps);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #5d6363;
}
.room-hero__media:not(.has-second) .room-hero__caption { display: none; }

/* ---------- About: the admin description as a reading column ---------- */
.about { padding: 18vh 0 10vh; }
.about__grid, .rules__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(32px, 5vw, 96px); padding: 0 6px; }
.about__title, .photos__title, .rules__title, .others__title {
    margin-top: 18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.75vw, 76px);
    line-height: 1;
    letter-spacing: -.02em;
}
.about__body p { max-width: 34em; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; color: #2a3030; }
.about__body p + p { margin-top: 1em; }

/* ---------- Room tour: silent videos in one justified row (equal heights, each at its own shape) ---------- */
.tour { padding: 4vh 0 10vh; }
.tour__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; padding: 0 6px; }
.tour__title {
    margin-top: 18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.75vw, 76px);
    line-height: 1;
    letter-spacing: -.02em;
}
.tour__grid {
    --tour-h: min(68vh, 600px);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(14px, 1.8vw, 28px);
    margin-top: clamp(36px, 6vh, 64px);
    padding: 0 6px;
}
/* --ratio (width / height) is set per clip; growing by it gives every clip in a row the same height. */
.clip { flex: var(--ratio) 1 0; max-width: calc(var(--tour-h) * var(--ratio)); min-width: 0; margin: 0; }
.clip__frame { position: relative; overflow: hidden; border-radius: 10px; background: #0b1d24; }
.clip__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip__toggle {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: rgba(0, 21, 27, .45);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background-color .3s, color .3s;
}
.clip__toggle:hover { background: #fff; color: var(--abyss); }
.clip__icon--pause, .clip.is-playing .clip__icon--play { display: none; }
.clip.is-playing .clip__icon--pause { display: block; }
.tour--side .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: end; gap: 32px clamp(32px, 5vw, 96px); }
.tour--side .tour__head { flex-direction: column; align-items: flex-start; padding-bottom: 46px; }
.tour--side .tour__grid { --tour-h: min(76vh, 680px); justify-content: flex-end; margin-top: 0; }
.clip__caption { margin-top: 12px; font-family: var(--serif); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.15; }

/* ---------- Photos: masonry columns, every photo uncropped at its own shape ---------- */
.photos { padding: 8vh 0 14vh; }
.photos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; padding: 0 6px; }
.photos__meta {
    margin-bottom: 8px;
    font-family: var(--caps);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #5d6363;
}
.photos__grid {
    columns: 3;
    column-gap: clamp(14px, 1.8vw, 28px);
    margin: clamp(36px, 6vh, 64px) 0 0;
    padding: 0 6px;
    list-style: none;
}
.shot { break-inside: avoid; margin-bottom: clamp(14px, 1.8vw, 28px); }
.shot__frame {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e7e2;
    cursor: zoom-in;
}
.shot__frame > img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.23, 1, .32, 1); }
.shot__frame:hover > img { transform: scale(1.03); }
.shot__frame.reveal { clip-path: inset(0 0 100%); }
.shot__frame.reveal.is-in { animation: unclip 1.4s cubic-bezier(.77, 0, .18, 1) forwards; }
.shot__num { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 15px; color: #5d6363; }

/* Full-screen photo viewer (native <dialog>). */
.viewer {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: clamp(16px, 3vw, 40px);
    border: 0;
    background: rgba(0, 21, 27, .96);
    color: #fff;
}
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
.viewer::backdrop { background: transparent; }
.viewer__image { justify-self: center; align-self: center; width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.viewer__count { font-family: var(--caps); font-weight: 500; font-size: 11px; letter-spacing: .24em; }
.viewer__buttons { display: flex; gap: 8px; }
.viewer__buttons button {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}
.viewer__buttons button:hover { background: #fff; color: var(--abyss); }

/* ---------- House rules ---------- */
.rules { padding: 8vh 0 12vh; }
.rules__list { margin: 0; padding: 0; list-style: none; }
.rules__list li {
    display: grid;
    grid-template-columns: 3.4em minmax(0, 1fr);
    gap: 16px;
    padding: clamp(14px, 2.2vh, 22px) 0;
    border-top: 1px solid rgba(22, 27, 27, .16);
    font-size: clamp(15px, 1.2vw, 18px);
}
.rules__list li:last-child { border-bottom: 1px solid rgba(22, 27, 27, .16); }
.rules__list strong { font-weight: 500; }
.rules__num { font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.1; color: var(--ink-soft); }

/* ---------- Other rooms: a horizontal row that scrolls on any width ---------- */
.others { padding: 8vh 0 18vh; }
.others__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; padding: 0 6px; }
.others__head .text-link { margin-bottom: 8px; }
.others__row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(240px, 26vw, 380px);
    gap: clamp(14px, 1.8vw, 28px);
    margin: clamp(32px, 5vh, 56px) 0 0;
    padding: 0 calc(var(--gutter) + 6px) 12px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 calc(var(--gutter) + 6px);
    scrollbar-width: thin;
}
.other { scroll-snap-align: start; }
.other__link { display: block; text-decoration: none; }
.other__image { display: block; aspect-ratio: 4 / 5; }
.other__image > img { top: 0; height: 100%; transition: transform .8s cubic-bezier(.23, 1, .32, 1); }
.other__link:hover .other__image > img { transform: scale(1.04); }
.other__name { display: block; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.05; }
.other__meta { display: block; margin-top: 6px; font-family: var(--caps); font-weight: 500; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #5d6363; }

@media (max-width: 1023px) {
    .room-hero__grid { grid-template-columns: 1fr; min-height: 0; align-items: start; }
    .room-hero__media { min-height: 0; aspect-ratio: 4 / 5; max-height: 86svh; }
    .about__grid, .rules__grid { grid-template-columns: 1fr; }
    .photos__grid { columns: 2; }
}

@media (max-width: 767px) {
    .room-hero__grid { padding-top: calc(96px + env(safe-area-inset-top, 0px)); gap: 28px; }
    .room-hero__text { padding: 0; }
    .room-hero__text { gap: 28px; }
    .room-hero__second { border-width: 6px; border-radius: 14px; }
    .room-hero__caption { display: none; }
    .room-hero__title { font-size: clamp(48px, 15vw, 72px); }
    .glance > div { padding-right: 10px; }
    .glance > div + div { padding-left: 10px; }
    .glance dd { font-size: 22px; }
    .about { padding: 10vh 0 6vh; }
    .about__grid, .rules__grid, .photos__head, .others__head { padding: 0; }
    .photos__grid { columns: 2; column-gap: 10px; padding: 0; }
    .tour__head, .tour__grid { padding: 0; }
    .tour--side .wrap { display: block; }
    .tour--side .tour__head { padding-bottom: 0; }
    .tour--side .tour__grid { margin-top: 36px; justify-content: flex-start; }
    .clip { flex: 1 1 100%; max-width: calc(72svh * var(--ratio)); }
    .shot { margin-bottom: 10px; }
    .shot__num { display: none; }
    .others__row { grid-auto-columns: 72vw; padding: 0 var(--gutter) 12px; scroll-padding: 0 var(--gutter); }
    .viewer { padding: 12px; }
}

/* ---------- Help band (shared): WhatsApp first, then call and email ---------- */
.help-band { padding: 0 0 16vh; }
.help-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.help-band__inner > * { padding: 0 6px; }
.help-band__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -.02em; }
.help-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.help-band__actions .pill { min-height: 44px; }
@media (max-width: 767px) {
    .help-band__inner > * { padding: 0; }
    .help-band__actions, .help-band__actions .pill { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .index__row, .index__go, .index__peek, .other__image > img, .shot__frame > img { transition: none; }
}
