/* ==================================================================
   Four Seasons Hotel Doha: "One evening in Doha"
   Structure
     1. Tokens
     2. Base
     3. Shared components (buttons, links, masthead, menu, clock)
     4. Scrubbed chapters
     5. Midnight
     6. Daylight sections (rooms, dining, offers, discover, FAQ)
     7. Reserve + footer
     8. Mobile
     9. Static mode (no JS / reduced motion)
   ================================================================== */


/* 1. Tokens ------------------------------------------------------- */

:root {
    /* Palette: taken from the films and the building */
    --umber:   #2b1c12;   /* golden hour on marble          */
    --night:   #071820;   /* the Gulf after dark            */
    --pearl:   #ede8ef;   /* mother-of-pearl, lilac-cool    */
    --brass:   #c49b5f;   /* lobby clock, door handles      */
    --lagoon:  #1f6d6b;   /* the teal banquette in the lobby*/
    --ink:     #1d1519;   /* text on pearl                  */

    --pearl-dim:  rgba(237, 232, 239, 0.72);
    --pearl-line: rgba(237, 232, 239, 0.22);
    --ink-dim:    rgba(29, 21, 25, 0.68);
    --ink-line:   rgba(29, 21, 25, 0.16);

    /* Set by site.js as the evening darkens */
    --ambient: var(--umber);

    /* Type */
    --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
    --font-body:    "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
    --font-arabic:  "Amiri", "Geeza Pro", serif;

    --step--1: 0.875rem;
    --step-0:  1.0625rem;
    --step-1:  1.3125rem;
    --step-2:  clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
    --step-3:  clamp(2.2rem, 1.4rem + 2.6vw, 3.75rem);
    --step-4:  clamp(3rem, 1.5rem + 5.5vw, 7rem);
    --step-5:  clamp(3.5rem, 1rem + 9vw, 11rem);

    /* Space */
    --gutter: clamp(1.25rem, 4vw, 4.5rem);
    --section: clamp(5rem, 12vw, 11rem);

    /* Layout */
    --masthead-h: 76px;
    --arch-h: min(84svh, 980px);
    --card-w: clamp(260px, 23vw, 350px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* 2. Base --------------------------------------------------------- */

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

html {
    scroll-padding-top: var(--masthead-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ambient);
    color: var(--pearl);
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s linear;
}

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

h1, h2, h3, p, ol, ul, dl, dd, figure {
    margin: 0;
}

ol, ul {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.visually-hidden {
    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: 12px;
    left: 12px;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--pearl);
    color: var(--ink);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.anchor-offset {
    position: absolute;
    top: 0;
}


/* 3. Shared components ------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.5rem;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.button--brass {
    background: var(--brass);
    color: #1a120c;
}

.button--brass:hover {
    background: var(--pearl);
}

.button--ink {
    background: var(--ink);
    color: var(--pearl);
}

.button--ink:hover {
    background: var(--lagoon);
}

.button--large {
    min-height: 60px;
    padding-inline: 2.25rem;
    font-size: var(--step-0);
}

.text-link {
    display: inline-block;
    padding-block: 0.6rem;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-underline-offset: 6px;
}

.text-link:hover {
    color: var(--brass);
}

/* Masthead */

.masthead {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--masthead-h);
    padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
    background: linear-gradient(to bottom, rgba(10, 8, 8, 0.55), rgba(10, 8, 8, 0));
    color: var(--pearl);
    pointer-events: none;
    transition: background-color 0.4s, color 0.4s;
}

.is-light-top .masthead {
    background: rgba(237, 232, 239, 0.94);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--ink-line);
}

.masthead > * {
    pointer-events: auto;
}

.wordmark {
    display: grid;
    line-height: 1.05;
    text-decoration: none;
}

.wordmark__brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.wordmark__place {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    opacity: 0.72;
}

.masthead__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.masthead__phone {
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    text-decoration: none;
}

.masthead__phone:hover {
    color: var(--brass);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0 0.25rem;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::after {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::after {
    content: "";
    position: absolute;
    top: 7px;
    width: 18px;
}

/* Offcanvas menu: styling ours, behaviour Bootstrap's */

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(520px, 100vw);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.55s var(--ease-out), visibility 0.55s;
    outline: 0;
}

.offcanvas.showing,
.offcanvas.show:not(.hiding) {
    transform: none;
}

.offcanvas.showing,
.offcanvas.hiding,
.offcanvas.show {
    visibility: visible;
}

.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: #000;
    transition: opacity 0.4s;
}

.offcanvas-backdrop.fade { opacity: 0; }
.offcanvas-backdrop.show { opacity: 0.5; }

.site-menu {
    padding: calc(env(safe-area-inset-top, 0px) + 1.5rem) 2.5rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
    background: var(--night);
    color: var(--pearl);
    overflow-y: auto;
}

.site-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.site-menu__title {
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    color: var(--pearl-dim);
}

.site-menu__close {
    min-height: 48px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 6px;
    cursor: pointer;
}

.site-menu__primary a {
    display: block;
    padding-block: 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    font-style: italic;
    line-height: 1.2;
    text-decoration: none;
}

.site-menu__primary a:hover {
    color: var(--brass);
}

.site-menu__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pearl-line);
}

.site-menu__secondary a {
    display: block;
    padding-block: 0.55rem;
    font-size: var(--step--1);
    color: var(--pearl-dim);
    text-decoration: none;
}

.site-menu__secondary a:hover {
    color: var(--pearl);
}

.site-menu__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 2.5rem;
}

.site-menu__phone {
    text-decoration: none;
}

/* Evening clock: the signature. Its hands turn as you scroll. */

.evening-clock {
    position: fixed;
    left: var(--gutter);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1.75rem);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--pearl);
    pointer-events: none;
    transition: color 0.4s;
}

.evening-clock__dial {
    width: 64px;
    height: 64px;
    overflow: visible;
}

.dial-face {
    fill: none;
    stroke: var(--brass);
    stroke-width: 1;
}

.dial-ticks line {
    stroke: currentColor;
    stroke-width: 1;
    opacity: 0.7;
}

.dial-hour,
.dial-minute {
    stroke: currentColor;
    stroke-linecap: round;
}

.dial-hour   { stroke-width: 2.4; }
.dial-minute { stroke-width: 1.2; }

.dial-pin {
    fill: var(--brass);
}

.evening-clock__readout {
    display: grid;
    line-height: 1.1;
}

.evening-clock__time {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-variant-numeric: lining-nums tabular-nums;
}

.evening-clock__label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.is-morning .evening-clock,
.is-morning .chapter-index {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

/* Chapter index */

.chapter-index {
    position: fixed;
    right: var(--gutter);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1.75rem);
    z-index: 30;
    transition: color 0.4s, opacity 0.4s;
}

.chapter-index ol {
    display: flex;
    gap: 1.75rem;
}

.chapter-index a {
    display: grid;
    align-content: end;
    min-height: 44px;
    line-height: 1.25;
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.45;
    transition: opacity 0.3s;
}

.chapter-index a:hover,
.chapter-index a[aria-current="true"] {
    opacity: 1;
}

.chapter-index__time {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.chapter-index__name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
}


/* 4. Scrubbed chapters ------------------------------------------- */
/* Each chapter is a tall scroll track with a sticky stage. site.js
   maps progress through the track onto the film's currentTime.     */

.chapter {
    position: relative;
}

.js .chapter--arrival    { height: 520svh; }
.js .chapter--evening    { height: 520svh; }
.js .chapter--after-dark { height: 680svh; }

.chapter__stage {
    position: relative;
    height: 100svh;
    overflow: hidden;
}

.js .chapter__stage {
    position: sticky;
    top: 0;
}

/* Soft light behind the arch, tinted by the hour */
.chapter__stage::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(closest-side at var(--glow-x, 65%) 50%, var(--glow, rgba(229, 154, 91, 0.22)), transparent);
    pointer-events: none;
}

.chapter--evening    { --glow-x: 30%; --glow: rgba(210, 120, 110, 0.2); }
.chapter--after-dark { --glow-x: 50%; --glow: rgba(40, 170, 170, 0.18); }

/* The arch: a Qatari arch cut from a 9:16 frame */

.arch {
    --exit-scale: 1;
    --exit-x: 0px;
    --exit: 0;

    position: absolute;
    top: 50%;
    z-index: 2;
    height: var(--arch-h);
    aspect-ratio: 9 / 16;
    transform: translate(var(--exit-x), -50%) scale(var(--exit-scale));
    transform-origin: 50% 50%;
    will-change: transform;
}

.chapter--arrival .arch    { right: 12vw; }
.chapter--evening .arch    { left: 13vw; }
.chapter--after-dark .arch { left: calc(50% - var(--arch-h) * 9 / 32); }

/* brass outline sitting just outside the arch */
.arch::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px solid var(--brass);
    border-radius: 50% 50% 0 0 / calc(28.125% + 4px) calc(28.125% + 4px) 0 0;
    opacity: calc(0.7 - var(--exit));
    pointer-events: none;
}

.arch__frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius:
        calc(50% * (1 - var(--exit))) calc(50% * (1 - var(--exit))) 0 0 /
        calc(28.125% * (1 - var(--exit))) calc(28.125% * (1 - var(--exit))) 0 0;
    background: #000;
    /* Safari: keep the radius clip on the video layer */
    isolation: isolate;
}

.arch__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hotspots: positioned by site.js using the video's cover mapping */

.hotspot {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 1px solid var(--pearl);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.4s, transform 0.6s var(--ease-out);
    pointer-events: none;
}

.hotspot::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--pearl);
}

.hotspot.is-active {
    opacity: 1;
    transform: scale(1);
}

.hotspot.is-active::before {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid var(--pearl);
    border-radius: 50%;
    animation: pulse 2.2s var(--ease-out) infinite;
}

@keyframes pulse {
    from { transform: scale(1);   opacity: 0.9; }
    to   { transform: scale(2.8); opacity: 0; }
}

/* Leader line from hotspot to card */

.leader {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.leader path {
    fill: none;
    stroke: var(--brass);
    stroke-width: 1;
    stroke-dasharray: var(--len, 600);
    stroke-dashoffset: var(--len, 600);
}

.leader.is-drawn path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.7s var(--ease-out);
}

/* Title block */

.chapter__title-block {
    position: absolute;
    z-index: 1;
    transition: opacity 0.5s;
}

.chapter__time {
    margin-bottom: 0.75rem;
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--brass);
}

.chapter__time span {
    color: var(--pearl-dim);
}

.chapter__title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.01em;
}

/* Hero chapter: title left, tucked under the arch */
.chapter--arrival .chapter__title-block {
    left: var(--gutter);
    bottom: 14svh;
    max-width: 62vw;
    opacity: calc(1 - var(--intro-fade, 0));
}

.chapter--arrival .chapter__title {
    font-size: var(--step-5);
}

.chapter__title .line {
    display: block;
}

.chapter__title .line--indent {
    padding-left: 0.9em;
    font-style: italic;
}

.chapter__arabic {
    margin-top: 1rem;
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    color: var(--brass);
    text-align: left;
}

.chapter__lede {
    max-width: 30ch;
    margin-top: 1rem;
    font-size: var(--step-1);
    color: var(--pearl-dim);
}

.chapter__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Later chapters: the title is set huge, then steps back */
.chapter--evening .chapter__title-block {
    opacity: calc(1 - var(--title-dim, 0) * 0.9);
}

.chapter--after-dark .chapter__title-block {
    opacity: calc(1 - var(--title-dim, 0));
}

.chapter--evening .chapter__title-block {
    right: var(--gutter);
    top: calc(var(--masthead-h) + 6svh);
    text-align: right;
}

.chapter--evening .chapter__title {
    font-size: clamp(4rem, 13vw, 14rem);
    font-style: italic;
}

.chapter--after-dark .chapter__title-block {
    inset: auto 0 6svh;
    z-index: 3;
    text-align: center;
    pointer-events: none;
}

.chapter--after-dark .chapter__title {
    font-size: clamp(4rem, 15vw, 16rem);
    mix-blend-mode: difference;
}

/* Reveals: the hotel's offer, surfacing as the film plays */

.reveals {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--card-w);
    opacity: 0;
    transform: translate(var(--cx, 0px), calc(var(--cy, 0px) + 18px));
    clip-path: inset(0 0 100% 0);
    transition:
        opacity 0.45s,
        transform 0.9s var(--ease-out),
        clip-path 0.9s var(--ease-out);
}

.reveal.is-active {
    opacity: 1;
    transform: translate(var(--cx, 0px), var(--cy, 0px));
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.reveal::before {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-bottom: 1rem;
    background: var(--brass);
}

.reveal[data-side="left"] {
    text-align: right;
}

.reveal[data-side="left"]::before {
    margin-left: auto;
}

.reveal__place {
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    color: var(--brass);
}

.reveal__title {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-style: italic;
    font-weight: 400;
    line-height: 1.12;
}

.reveal__text {
    margin-top: 0.75rem;
    color: var(--pearl-dim);
}

.reveal__link {
    display: inline-block;
    margin-top: 0.75rem;
    padding-block: 0.5rem;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-underline-offset: 6px;
}

.reveal__link:hover {
    color: var(--brass);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--pearl-dim);
    transform: translateX(-50%);
    opacity: calc(1 - var(--intro-fade, 0));
}

.scroll-cue span {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--brass), transparent);
    animation: cue 2.4s ease-in-out infinite;
    transform-origin: top;
}

@keyframes cue {
    0%   { transform: scaleY(0); }
    50%  { transform: scaleY(1); }
    100% { transform: scaleY(1); opacity: 0; }
}


/* 5. Midnight ----------------------------------------------------- */

.midnight {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 130svh;
    padding: var(--section) var(--gutter);
    background: linear-gradient(to bottom, transparent 0%, #061218 30%, #1b2a33 70%, var(--pearl) 100%);
    text-align: center;
}

.midnight__inner {
    max-width: 44rem;
}

.midnight__time {
    font-family: var(--font-display);
    font-size: clamp(5rem, 22vw, 20rem);
    line-height: 0.9;
    font-variant-numeric: lining-nums;
    color: transparent;
    -webkit-text-stroke: 1px var(--brass);
}

.midnight__title {
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
}

.midnight__text {
    max-width: 34ch;
    margin: 1.25rem auto 0;
    font-size: var(--step-1);
    color: var(--pearl-dim);
}


/* 6. Daylight sections ------------------------------------------ */

.daylight {
    background: var(--pearl);
    color: var(--ink);
}

.section-time {
    margin-bottom: 1rem;
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--lagoon);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--step-4);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.01em;
}

.section-lede {
    max-width: 38ch;
    margin-top: 1.5rem;
    font-size: var(--step-1);
    color: var(--ink-dim);
}

/* Rooms: sticky arched still + an index of rooms */

.stay {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 7rem);
    padding: var(--section) var(--gutter);
}

.stay__intro {
    align-self: start;
    position: sticky;
    top: calc(var(--masthead-h) + 2rem);
}

.stay__image {
    width: min(100%, 300px);
    margin-top: 2.5rem;
    aspect-ratio: 9 / 13;
    overflow: hidden;
    border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}

.stay__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

.room-list {
    align-self: end;
    border-top: 1px solid var(--ink-line);
}

.room {
    border-bottom: 1px solid var(--ink-line);
}

.room__heading {
    font-weight: inherit;
}

.room__toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "name icon"
        "view icon";
    align-items: center;
    width: 100%;
    padding: 1.6rem 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.room__name {
    grid-area: name;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 1.2rem + 1.8vw, 3rem);
    line-height: 1.1;
    transition: color 0.3s;
}

.room__toggle:hover .room__name {
    color: var(--lagoon);
}

.room__view {
    grid-area: view;
    margin-top: 0.3rem;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    color: var(--ink-dim);
}

.room__icon,
.faq__icon {
    position: relative;
    width: 22px;
    height: 22px;
}

.room__icon {
    grid-area: icon;
}

.room__icon::before,
.room__icon::after,
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.35s var(--ease-out);
}

.room__icon::after,
.faq__icon::after {
    transform: rotate(90deg);
}

.room__toggle:not(.collapsed) .room__icon::after,
.faq__toggle:not(.collapsed) .faq__icon::after {
    transform: rotate(0deg);
}

.room__body {
    max-width: 52ch;
    padding-bottom: 2rem;
    color: var(--ink-dim);
}

.room__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

/* Bootstrap collapse states */

.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.4s var(--ease-out);
}

/* Dining: set like a carte */

.dine {
    padding: var(--section) var(--gutter);
    background: #e4dde6;
}

.dine__head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 1.5rem 4rem;
    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.dine__head .section-lede {
    grid-column: 2;
    grid-row: 1;
}

.dine__reserve {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.carte {
    columns: 2 22rem;
    column-gap: clamp(2rem, 6vw, 6rem);
    column-rule: 1px solid var(--ink-line);
}

.carte__item {
    break-inside: avoid;
    padding-bottom: 2.25rem;
}

.carte__name {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 400;
    line-height: 1.15;
}

.carte__name a {
    text-decoration: none;
    background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat;
    transition: background-size 0.4s var(--ease-out);
}

.carte__name a:hover {
    background-size: 100% 1px;
}

.carte__style {
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--lagoon);
}

.carte__text {
    max-width: 40ch;
    margin-top: 0.35rem;
    color: var(--ink-dim);
}

.chef {
    max-width: 46rem;
    margin: clamp(3rem, 7vw, 6rem) auto 0;
    text-align: center;
}

.chef__quote {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-style: italic;
    line-height: 1.3;
}

.chef__name {
    margin-top: 1.25rem;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    color: var(--ink-dim);
}

/* Offers: an uneven grid, largest offer first */

.offers {
    padding: var(--section) var(--gutter);
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
}

.offer {
    display: grid;
    align-content: space-between;
    gap: 0.5rem;
    min-height: 18rem;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    background: var(--pearl);
    text-decoration: none;
    transition: background-color 0.4s;
}

.offer:hover {
    background: #fff;
}

.offer--0 { grid-column: span 7; min-height: 26rem; }
.offer--1 { grid-column: span 5; }
.offer--2 { grid-column: span 5; }
.offer--3 { grid-column: span 7; }

.offer__figure {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-style: italic;
    line-height: 1;
    color: var(--lagoon);
}

.offer--0 .offer__figure {
    font-size: clamp(5rem, 13vw, 13rem);
    font-style: normal;
}

.offer__name {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: var(--step-2);
}

.offer__text {
    max-width: 34ch;
    color: var(--ink-dim);
}

.offer__more {
    margin-top: 0.75rem;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-underline-offset: 6px;
}

/* Discover: set like a timetable of durations */

.discover {
    padding: var(--section) var(--gutter);
    background: var(--lagoon);
    color: var(--pearl);
}

.discover .section-lede {
    color: var(--pearl-dim);
}

.discover__head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 1.5rem 4rem;
}

.journeys {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 7vw, 6rem);
    border-top: 1px solid var(--pearl-line);
}

.journey {
    padding: 1.75rem 1.5rem 0 0;
}

.journey + .journey {
    padding-left: 1.5rem;
    border-left: 1px solid var(--pearl-line);
}

.journey__length {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--brass);
}

.journey__name {
    margin-top: 2.5rem;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 400;
    line-height: 1.15;
}

.journey__name a {
    text-decoration: none;
}

.journey__name a:hover {
    color: var(--brass);
}

.journey__text {
    margin-top: 0.75rem;
    color: var(--pearl-dim);
}

/* FAQ */

.questions {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2rem clamp(2rem, 6vw, 7rem);
    padding: var(--section) var(--gutter);
}

.faq {
    border-top: 1px solid var(--ink-line);
}

.faq__item {
    border-bottom: 1px solid var(--ink-line);
}

.faq__q {
    font-weight: inherit;
}

.faq__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    min-height: 64px;
    padding: 1.25rem 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: var(--font-display);
    font-size: var(--step-1);
    text-align: left;
    cursor: pointer;
}

.faq__icon {
    flex: none;
    width: 18px;
    height: 18px;
}

.faq__a {
    max-width: 58ch;
    padding-bottom: 1.5rem;
    color: var(--ink-dim);
}


/* 7. Reserve + footer ------------------------------------------- */

.reserve {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 7rem);
    padding: var(--section) var(--gutter);
    background: var(--night);
    color: var(--pearl);
}

.reserve__arch {
    justify-self: center;
    width: min(100%, 360px);
    aspect-ratio: 9 / 14;
    overflow: hidden;
    border-radius: 50% 50% 0 0 / 32% 32% 0 0;
    outline: 1px solid var(--brass);
    outline-offset: 12px;
}

.reserve__arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reserve__title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-weight: 400;
    font-style: italic;
    line-height: 0.95;
}

.reserve__text {
    max-width: 36ch;
    margin-top: 1.5rem;
    font-size: var(--step-1);
    color: var(--pearl-dim);
}

.reserve__actions {
    margin-top: 2.25rem;
}

.reserve__contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pearl-line);
}

.reserve__contacts dt {
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    color: var(--brass);
}

.reserve__contacts dd a {
    text-decoration: none;
}

.reserve__contacts dd a:hover {
    color: var(--brass);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 2.5rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
    background: #04100f;
    color: var(--pearl-dim);
    font-size: var(--step--1);
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--pearl);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
}

.site-footer__links a {
    display: inline-block;
    padding-block: 0.5rem;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--pearl);
}

.book-bar {
    display: none;
}


/* 8. Mobile + tablet -------------------------------------------- */

@media (max-width: 1100px) {
    .chapter-index {
        display: none;
    }

    .chapter--arrival .arch { right: 6vw; }
    .chapter--evening .arch { left: 6vw; }

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

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

@media (max-width: 820px) {
    :root {
        --masthead-h: 64px;
        --book-bar-h: 64px;
    }

    .masthead__phone,
    .masthead__book {
        display: none;
    }

    .wordmark__brand { font-size: 1.15rem; }

    /* Clock moves into the masthead */
    .evening-clock {
        left: 50%;
        top: calc(env(safe-area-inset-top, 0px) + 14px);
        bottom: auto;
        gap: 0.5rem;
        transform: translateX(-50%);
    }

    .evening-clock__dial {
        width: 34px;
        height: 34px;
    }

    .evening-clock__time { font-size: 1.1rem; }
    .evening-clock__label { display: none; }

    /* The arch becomes the whole screen */
    .js:not(.is-static) .chapter__stage .arch {
        inset: calc(var(--masthead-h) + 4px) 10px 0;
        height: auto;
        aspect-ratio: auto;
        transform: scale(var(--exit-scale));
    }

    .arch::before {
        inset: -6px -6px 0;
        border-bottom: 0;
        border-radius: 50vw 50vw 0 0 / 50vw 50vw 0 0;
    }

    .arch__frame {
        border-radius:
            calc(50vw * (1 - var(--exit))) calc(50vw * (1 - var(--exit))) 0 0 /
            calc(50vw * (1 - var(--exit))) calc(50vw * (1 - var(--exit))) 0 0;
    }

    /* Bottom scrim so type over film stays legible */
    .arch__frame::after {
        content: "";
        position: absolute;
        inset: 45% 0 0;
        background: linear-gradient(to bottom, transparent, rgba(4, 8, 10, 0.85));
        pointer-events: none;
    }

    .leader {
        display: none;
    }

    .chapter__title-block,
    .chapter--evening .chapter__title-block,
    .chapter--after-dark .chapter__title-block {
        inset: auto 24px calc(var(--book-bar-h) + env(safe-area-inset-bottom, 0px) + 28px);
        z-index: 5;
        max-width: none;
        text-align: left;
    }

    .chapter--arrival .chapter__title { font-size: clamp(3rem, 14vw, 5rem); }

    .chapter--evening .chapter__title,
    .chapter--after-dark .chapter__title {
        font-size: clamp(3.5rem, 18vw, 6rem);
        mix-blend-mode: normal;
    }

    .chapter--evening .chapter__title-block,
    .chapter--after-dark .chapter__title-block {
        opacity: calc(1 - var(--title-dim, 0));
    }

    .chapter__lede { font-size: var(--step-0); }

    .reveal {
        top: auto;
        bottom: calc(var(--book-bar-h) + env(safe-area-inset-bottom, 0px) + 24px);
        left: 24px;
        width: calc(100% - 48px);
        text-align: left;
        transform: translateY(18px);
    }

    .reveal.is-active {
        transform: none;
    }

    .reveal[data-side="left"] { text-align: left; }
    .reveal[data-side="left"]::before { margin-left: 0; }

    .reveal__text { color: rgba(237, 232, 239, 0.86); }

    .scroll-cue { display: none; }

    .stay,
    .questions,
    .reserve {
        grid-template-columns: 1fr;
    }

    .stay__intro {
        position: static;
    }

    .stay__image {
        width: 58%;
    }

    .dine__head,
    .discover__head {
        grid-template-columns: 1fr;
    }

    .dine__head .section-lede,
    .dine__reserve {
        grid-column: 1;
        grid-row: auto;
    }

    .offer--0,
    .offer--1,
    .offer--2,
    .offer--3 {
        grid-column: span 12;
        min-height: 14rem;
    }

    .reserve__arch {
        width: 70%;
    }

    .site-footer {
        padding-bottom: calc(var(--book-bar-h) + env(safe-area-inset-bottom, 0px) + 2rem);
    }

    /* Sticky booking bar */
    .book-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 35;
        display: grid;
        grid-template-columns: 1fr 2fr;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--brass);
    }

    .book-bar a {
        display: grid;
        place-items: center;
        min-height: var(--book-bar-h);
        font-size: var(--step-0);
        letter-spacing: 0.04em;
        text-decoration: none;
        color: #1a120c;
    }

    .book-bar__call {
        border-right: 1px solid rgba(26, 18, 12, 0.25);
    }
}

@media (max-width: 560px) {
    .journeys {
        grid-template-columns: 1fr;
    }

    .journey,
    .journey + .journey {
        padding: 1.5rem 0;
        border-left: 0;
        border-bottom: 1px solid var(--pearl-line);
    }

    .journey__name {
        margin-top: 0.75rem;
    }
}


/* 9. Static mode: no JavaScript, or prefers-reduced-motion -------- */
/* Chapters become ordinary sections: the arch shows its poster frame
   and every highlight is listed beside it.                          */

.no-js .chapter,
.is-static .chapter {
    height: auto !important;
}

.no-js .chapter__stage,
.is-static .chapter__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem var(--gutter);
    height: auto;
    padding: calc(var(--masthead-h) + 3rem) var(--gutter) var(--section);
    overflow: visible;
}

.no-js .chapter__title-block,
.no-js .arch,
.no-js .reveals,
.no-js .reveal,
.is-static .chapter__title-block,
.is-static .arch,
.is-static .reveals,
.is-static .reveal {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    clip-path: none;
    width: auto;
    pointer-events: auto;
}

.no-js .arch,
.is-static .arch {
    position: relative;
}

.no-js .chapter__title-block,
.is-static .chapter__title-block {
    grid-column: 1 / -1;
    text-align: left;
}

.no-js .arch,
.is-static .arch {
    height: auto;
    width: min(100%, 420px);
}

.no-js .reveals,
.is-static .reveals {
    display: grid;
    gap: 2.5rem;
    align-content: center;
}

.no-js .reveal,
.is-static .reveal {
    text-align: left;
}

.no-js .reveal::before,
.is-static .reveal::before {
    margin-left: 0;
}

.no-js .hotspot,
.no-js .leader,
.no-js .scroll-cue,
.no-js .evening-clock,
.no-js .chapter-index,
.is-static .hotspot,
.is-static .leader,
.is-static .scroll-cue,
.is-static .evening-clock,
.is-static .chapter-index {
    display: none;
}

.no-js .chapter--after-dark .chapter__title,
.is-static .chapter--after-dark .chapter__title {
    mix-blend-mode: normal;
}

@media (max-width: 820px) {
    .no-js .chapter__stage,
    .is-static .chapter__stage {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
