/* Hôtel de l'Europe, Valence: the façade at nightfall.
   Façade butter and stucco for the page, petrol night (the logo blue taken down to dusk) for the bands,
   the moon gold of the logo as the one warm accent. Aboreto (Art Deco capitals) with Sora. */

@font-face {
    font-family: "Aboreto";
    src: url("/fonts/aboreto.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("/fonts/sora.woff2") format("woff2");
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --butter: #f6eccb;
    --stucco: #fcf8ec;
    --cornice: #e6d6a6;
    --ink: #17252e;
    --ink-soft: #3d4c55;
    --blue: #1e6a92;
    --blue-deep: #15506f;
    --night: #0c2c3c;
    --night-2: #11394d;
    --night-3: #1a4a61;
    --moon: #e99818;
    --moon-lit: #f5b54a;
    --ochre: #8a5600;
    --on-night: #f6efdc;
    --on-night-soft: #c9d6dc;
    --radius: 18px;
    --step: 14px;
    --display: "Aboreto", "Sora", Georgia, serif;
    --text: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
    --lb-bg: rgba(8, 26, 36, 0.96);
    --lb-accent: #f5b54a;
    --lb-accent-soft: rgba(245, 181, 74, 0.22);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    background: var(--butter);
    color: var(--ink);
    font: 400 1rem/1.65 var(--text);
    overflow-x: clip;
}

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

a {
    color: var(--blue-deep);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--moon);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem);
}

h3 {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1200px, 100% - 32px);
    margin-inline: auto;
}

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

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 50;
    padding: 10px 16px;
    background: var(--night);
    color: var(--on-night);
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252, 248, 236, 0.9);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    border-bottom: 1px solid var(--cornice);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding-block: 8px;
}

.brand {
    display: block;
    flex: none;
    background: #fdfdfd;
    border-radius: 10px;
    padding: 3px 6px;
    box-shadow: 0 0 0 1px var(--cornice);
}

.brand img {
    width: 112px;
    height: auto;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:hover {
    background: var(--butter);
}

.nav a[aria-current] {
    color: var(--blue-deep);
    box-shadow: inset 0 -2px 0 var(--moon);
    border-radius: 0;
}

.nav .nav-book {
    margin-left: 6px;
    background: var(--night);
    color: var(--on-night);
    border-radius: 999px;
}

.nav .nav-book:hover {
    background: var(--night-3);
}

.nav .nav-book[aria-current] {
    box-shadow: inset 0 0 0 2px var(--moon);
    border-radius: 999px;
    color: var(--on-night);
}

.lang {
    display: flex;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang a,
.lang span {
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink-soft);
}

.lang span {
    color: var(--ink);
    background: var(--butter);
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--blue-deep);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--night);
}

@media (max-width: 939px) {
    .top {
        position: relative;
    }

    .top-row {
        padding-block: 6px 4px;
        gap: 4px 8px;
    }

    .brand img {
        width: 88px;
    }

    .lang {
        order: 1;
        margin-left: auto;
    }

    .call {
        order: 2;
        padding: 9px 14px;
        font-size: 0.95rem;
    }

    .nav {
        order: 3;
        flex: 0 0 100%;
        margin-left: 0;
        gap: 0;
    }

    .nav a {
        padding: 6px 7px;
        font-size: 0.88rem;
    }

    .nav .nav-book {
        margin-left: 2px;
        padding-inline: 10px;
    }

    .lang a,
    .lang span {
        padding: 6px 7px;
    }
}

/* a phone: the logo and the call button, then the sections (the logo leads home), the booking and the languages */
@media (max-width: 599px) {
    .call {
        order: 1;
        margin-left: auto;
    }

    .nav {
        order: 2;
        flex: 0 1 auto;
    }

    .nav a:first-child {
        display: none;
    }

    .lang {
        order: 3;
    }
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    font-family: var(--text);
}

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

.btn-moon {
    background: var(--moon);
    color: #1c1305;
}

.btn-moon:hover {
    background: var(--moon-lit);
}

.btn-line {
    border-color: currentColor;
    color: var(--on-night);
    background: transparent;
}

.btn-line:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-night {
    background: var(--night);
    color: var(--on-night);
}

.btn-night:hover {
    background: var(--night-3);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.link-arrow {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--moon);
    padding-bottom: 2px;
}

.link-arrow::after {
    content: " →";
}

/* ---- hero: the façade at nightfall ---- */

.hero {
    position: relative;
    color: var(--on-night);
    background:
        radial-gradient(60% 50% at 82% 8%, rgba(233, 152, 24, 0.28), transparent 70%),
        linear-gradient(180deg, #08202d 0%, var(--night) 45%, var(--night-3) 85%, #3c5a5c 100%);
    overflow: clip;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--moon) 0 24px, transparent 24px 32px);
    opacity: 0.8;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: end;
    padding-block: clamp(36px, 6vw, 80px) 0;
}

.hero-text {
    padding-bottom: clamp(32px, 6vw, 88px);
}

.eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--moon-lit);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.7rem, 1.4rem + 6vw, 6.2rem);
    line-height: 0.98;
    margin-bottom: 0.35em;
    color: #fff8e6;
}

.lead {
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    max-width: 34em;
    color: var(--on-night);
    margin-bottom: 1.6em;
}

.hero-art {
    align-self: end;
    padding-bottom: 6px;
}

.facade {
    display: block;
    width: 100%;
    height: auto;
    max-width: 640px;
    margin-left: auto;
}

.facade .sign {
    font-family: var(--text);
    font-weight: 800;
    font-size: 36px;
    fill: #f4fbff;
    stroke: var(--blue);
    stroke-width: 2.5px;
    paint-order: stroke;
    filter: drop-shadow(0 0 6px rgba(120, 200, 245, 0.9));
}

.facade .blade text {
    font-family: var(--text);
    font-weight: 800;
    font-size: 17px;
    fill: var(--blue);
}

.facade .canopy {
    font-family: var(--text);
    font-weight: 700;
    font-size: 21px;
    fill: var(--blue-deep);
}

@media (prefers-reduced-motion: no-preference) {
    .facade .sign {
        animation: sign-on 1.4s ease-out 0.4s both;
    }

    .facade .pane.lit {
        animation: pane-on 0.5s ease-out var(--d) both;
    }

    .facade .door {
        animation: pane-on 0.8s ease-out 0.9s both;
    }

    .facade .star {
        animation: twinkle 4s ease-in-out var(--d) infinite;
    }
}

@keyframes sign-on {
    0% { fill: #9fb5c2; filter: none; }
    30% { fill: #f4fbff; filter: drop-shadow(0 0 6px rgba(120, 200, 245, 0.9)); }
    38% { fill: #9fb5c2; filter: none; }
    52% { fill: #f4fbff; filter: drop-shadow(0 0 6px rgba(120, 200, 245, 0.9)); }
    60% { fill: #b9ccd6; filter: none; }
    100% { fill: #f4fbff; filter: drop-shadow(0 0 6px rgba(120, 200, 245, 0.9)); }
}

@keyframes pane-on {
    from { opacity: 0.12; }
    to { opacity: 1; }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@media (max-width: 799px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .hero-text {
        padding-bottom: 8px;
    }

    .facade {
        margin-inline: auto;
    }
}

/* ---- figures ---- */

.figures {
    background: var(--stucco);
    border-bottom: 1px solid var(--cornice);
}

.figures-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.figures-row p {
    margin: 0;
    padding: 26px 18px;
    display: grid;
    gap: 4px;
    text-align: center;
    border-left: 1px solid var(--cornice);
}

.figures-row p:first-child {
    border-left: 0;
}

.figures-row strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem);
    line-height: 1;
    color: var(--blue-deep);
}

.figures-row span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

@media (max-width: 699px) {
    .figures-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .figures-row p:nth-child(3) {
        border-left: 0;
    }

    .figures-row p:nth-child(n + 3) {
        border-top: 1px solid var(--cornice);
    }
}

/* ---- bands ---- */

.band {
    padding-block: clamp(48px, 8vw, 104px);
}

.band-stucco {
    background: var(--stucco);
}

.band-night {
    background:
        radial-gradient(50% 70% at 100% 0%, rgba(233, 152, 24, 0.16), transparent 70%),
        linear-gradient(160deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%);
    color: var(--on-night);
}

.band-night a:not(.btn) {
    color: var(--moon-lit);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8em;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ochre);
}

.kicker::before {
    content: "";
    width: 26px;
    height: 10px;
    background:
        linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) 4px 4px / calc(100% - 8px) 2px no-repeat,
        linear-gradient(currentColor, currentColor) 8px 8px / calc(100% - 16px) 2px no-repeat;
}

.band-night .kicker,
.cta .kicker {
    color: var(--moon-lit);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.split > div {
    max-width: 36em;
}

@media (max-width: 799px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
    }

    .split-rev > figure {
        order: 2;
    }
}

.head-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.head-row h2 {
    margin: 0;
}

/* ---- the Art Deco stepped frame around photos ---- */

.deco-frame {
    --c: var(--step);
    position: relative;
    margin: 0;
    padding: 6px;
    background: linear-gradient(135deg, var(--moon) 0%, #c27a0e 50%, var(--moon-lit) 100%);
    clip-path: polygon(
        0 calc(var(--c) * 2), var(--c) calc(var(--c) * 2), var(--c) var(--c), calc(var(--c) * 2) var(--c), calc(var(--c) * 2) 0,
        calc(100% - var(--c) * 2) 0, calc(100% - var(--c) * 2) var(--c), calc(100% - var(--c)) var(--c), calc(100% - var(--c)) calc(var(--c) * 2), 100% calc(var(--c) * 2),
        100% 100%, 0 100%
    );
}

.deco-frame a {
    display: block;
    clip-path: polygon(
        0 calc(var(--c) * 2 - 6px), calc(var(--c) - 6px) calc(var(--c) * 2 - 6px), calc(var(--c) - 6px) calc(var(--c) - 6px), calc(var(--c) * 2 - 6px) calc(var(--c) - 6px), calc(var(--c) * 2 - 6px) 0,
        calc(100% - var(--c) * 2 + 6px) 0, calc(100% - var(--c) * 2 + 6px) calc(var(--c) - 6px), calc(100% - var(--c) + 6px) calc(var(--c) - 6px), calc(100% - var(--c) + 6px) calc(var(--c) * 2 - 6px), 100% calc(var(--c) * 2 - 6px),
        100% 100%, 0 100%
    );
    overflow: hidden;
}

.deco-frame img {
    width: 100%;
    transition: transform 0.6s ease;
}

.deco-frame a:hover img {
    transform: scale(1.03);
}

.deco-frame figcaption {
    padding: 10px 8px 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1c1305;
}

/* ---- room teasers (home) ---- */

.room-teasers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.room-teasers a {
    display: grid;
    gap: 6px;
    height: 100%;
    padding-bottom: 18px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: 0 1px 0 var(--cornice), 0 18px 40px -28px rgba(12, 44, 60, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-teasers a:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 0 var(--cornice), 0 26px 50px -26px rgba(12, 44, 60, 0.6);
}

.room-teasers img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    margin-bottom: 8px;
}

.rt-name {
    font-family: var(--display);
    font-size: 1.5rem;
    padding-inline: 18px;
    color: var(--blue-deep);
}

.rt-note {
    padding-inline: 18px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

@media (max-width: 799px) {
    .room-teasers {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- services (home, rooms) ---- */

.svc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    margin-top: 12px;
}

.svc-col h3 {
    color: var(--moon-lit);
}

.svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.svc-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-top: 1px solid rgba(246, 239, 220, 0.18);
}

.svc-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 12px;
    height: 12px;
    background: var(--moon);
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}

@media (max-width: 899px) {
    .svc-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .svc-grid .deco-frame {
        grid-column: 1 / -1;
    }
}

@media (max-width: 559px) {
    .svc-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- facts list (address, phone, email) ---- */

.facts {
    margin: 24px 0 0;
    display: grid;
    gap: 14px;
}

.facts div {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--cornice);
}

.facts dt {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ochre);
    padding-top: 3px;
}

.facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 459px) {
    .facts div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}

/* ---- call band ---- */

.cta {
    position: relative;
    background:
        radial-gradient(40% 90% at 0% 100%, rgba(233, 152, 24, 0.22), transparent 70%),
        linear-gradient(120deg, var(--night) 0%, var(--night-3) 100%);
    color: var(--on-night);
    padding-block: clamp(44px, 6vw, 72px);
    overflow: clip;
}

.cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: 50%;
    width: 340px;
    height: 340px;
    translate: 0 -50%;
    background: repeating-conic-gradient(from -90deg, rgba(233, 152, 24, 0.22) 0 4deg, transparent 4deg 12deg);
    border-radius: 50%;
    mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%);
    -webkit-mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%);
}

.cta-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}

.cta h2 {
    color: #fff8e6;
    margin-bottom: 0.3em;
}

.cta p {
    margin: 0;
    max-width: 34em;
}

.cta .actions {
    max-width: none;
}

.cta .btn-line {
    overflow-wrap: anywhere;
}

/* ---- page head (inner pages) ---- */

.page-head {
    position: relative;
    color: var(--on-night);
    background:
        radial-gradient(50% 80% at 90% 0%, rgba(233, 152, 24, 0.24), transparent 70%),
        linear-gradient(180deg, #08202d 0%, var(--night) 55%, var(--night-3) 100%);
    padding-block: clamp(40px, 7vw, 92px) clamp(36px, 6vw, 72px);
    overflow: clip;
}

.page-head::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--moon) 0 24px, transparent 24px 32px);
    opacity: 0.8;
}

.page-head::before {
    content: "";
    position: absolute;
    right: max(-120px, calc((100vw - 1200px) / 2 - 140px));
    bottom: -210px;
    width: 520px;
    height: 520px;
    background: repeating-conic-gradient(from -90deg, rgba(233, 152, 24, 0.2) 0 3deg, transparent 3deg 9deg);
    border-radius: 50%;
    mask: radial-gradient(circle, transparent 30%, #000 31%, #000 70%, transparent 71%);
    -webkit-mask: radial-gradient(circle, transparent 30%, #000 31%, #000 70%, transparent 71%);
    pointer-events: none;
}

.page-head .wrap {
    position: relative;
}

.page-head h1 {
    font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.8rem);
    color: #fff8e6;
    margin-bottom: 0.3em;
}

.page-head .lead {
    margin-bottom: 0;
}

.page-head .kicker {
    color: var(--moon-lit);
}

/* ---- rooms page ---- */

.rooms {
    display: grid;
    gap: clamp(28px, 4vw, 48px);
}

.room {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    scroll-margin-top: 130px;
}

.room:nth-child(even) .deco-frame {
    order: 2;
}

.room h2 {
    color: var(--blue-deep);
}

.variants {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    counter-reset: v;
}

.variants li {
    counter-increment: v;
    display: grid;
    grid-template-columns: 2.4em minmax(0, 1fr);
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid var(--cornice);
}

.variants li::before {
    content: counter(v, upper-roman);
    font-family: var(--display);
    color: var(--ochre);
}

.price-note {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--stucco);
    border: 1px solid var(--cornice);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 799px) {
    .room {
        grid-template-columns: minmax(0, 1fr);
    }

    .room:nth-child(even) .deco-frame {
        order: 0;
    }
}

.offer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px 40px;
    align-items: center;
}

.offer-seal {
    width: clamp(120px, 18vw, 180px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, var(--moon) 0 5deg, #c27a0e 5deg 10deg);
    color: #1c1305;
    font-family: var(--display);
    font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
    line-height: 1.1;
    padding: 18px;
    box-shadow: inset 0 0 0 10px var(--night), inset 0 0 0 12px var(--moon);
}

.offer-seal span {
    background: var(--night);
    color: var(--moon-lit);
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 8px;
}

@media (max-width: 599px) {
    .offer {
        grid-template-columns: minmax(0, 1fr);
    }
}

.extras {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 14px;
}

.extras li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--cornice);
    font-weight: 600;
}

.extras svg {
    flex: none;
    width: 34px;
    height: 34px;
    color: var(--blue);
}

.included {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 14px;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.included li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--night);
    color: var(--on-night);
    font-weight: 600;
}

.included svg {
    flex: none;
    width: 34px;
    height: 34px;
    color: var(--moon);
}

.small-note {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-top: 18px;
}

/* ---- gallery ---- */

.gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery figure {
    position: relative;
    margin: 0;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--night);
}

.gallery a {
    display: block;
    height: 100%;
}

.gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery a:hover img {
    transform: scale(1.04);
}

.gallery figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(12, 44, 60, 0.88);
    color: var(--on-night);
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
}

@media (max-width: 699px) {
    .gallery {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .gallery li:first-child {
        grid-row: auto;
    }
}

@media (max-width: 459px) {
    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery li:first-child {
        grid-column: auto;
    }
}

/* ---- contact and booking ---- */

.duo {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

@media (min-width: 860px) {
    .duo > .card-night {
        position: sticky;
        top: 104px;
    }
}

@media (max-width: 859px) {
    .duo {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 1px 0 var(--cornice), 0 18px 40px -30px rgba(12, 44, 60, 0.5);
}

.card-night {
    background: linear-gradient(160deg, var(--night), var(--night-3));
    color: var(--on-night);
}

.card-night a:not(.btn) {
    color: var(--moon-lit);
}

.card-night .facts div {
    border-top-color: rgba(246, 239, 220, 0.2);
}

.card-night .facts dt {
    color: var(--moon-lit);
}

.big-phone {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem);
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.card-night .big-phone {
    color: #fff8e6;
}

.card .deco-frame {
    margin-top: 24px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form > div,
.contact-form .form-row > div {
    display: grid;
    gap: 6px;
}

.contact-form label,
.booking-form .legend {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: 12px 14px;
    border: 1.5px solid #b9a978;
    border-radius: 12px;
    background: var(--stucco);
}

.contact-form select {
    padding-right: 8px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
    outline: 3px solid var(--moon);
    outline-offset: 1px;
    border-color: var(--blue);
}

.contact-form .btn {
    justify-self: start;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}

.date-group {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.date-group legend {
    padding: 0;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.date-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 8px;
}

.contact-form > .form-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-reset {
    background: transparent;
    color: var(--ink);
    border-color: #b9a978;
}

.form-hint {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0;
}

.contact-form ul {
    margin: 0;
    padding-left: 18px;
    color: #9b1c1c;
    font-size: 0.9rem;
}

.contact-sent {
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #e3f1e6;
    color: #1d4b2a;
}

.contact-sent strong {
    display: block;
}

/* ---- footer ---- */

.foot {
    background: #071b25;
    color: var(--on-night-soft);
    padding-block: 56px 28px;
    font-size: 0.95rem;
}

.foot a {
    color: var(--on-night);
}

.foot h2 {
    font-size: 1.15rem;
    color: var(--moon-lit);
    margin-bottom: 0.8em;
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 0.8fr);
    gap: 32px;
}

.foot-brand p {
    max-width: 26em;
}

.plaque {
    display: inline-block;
    background: #fdfdfd;
    border-radius: 12px;
    padding: 6px 10px;
    margin-bottom: 16px;
}

.plaque img {
    width: 160px;
}

.foot address {
    font-style: normal;
}

.foot-phone {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.foot p,
.foot address {
    overflow-wrap: anywhere;
}

.foot-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(246, 239, 220, 0.14);
    font-size: 0.85rem;
}

.foot-bottom p {
    margin: 0;
}

@media (max-width: 899px) {
    .foot-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 459px) {
    .foot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- scroll reveal ---- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .room-teasers li,
        .room,
        .gallery li,
        .deco-frame,
        .extras li,
        .included li {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    background: linear-gradient(180deg, #08202d 0%, var(--night) 55%, var(--night-3) 100%);
    color: var(--on-night);
    text-align: center;
}

.not-found > div {
    max-width: 34em;
}

.not-found .plaque {
    margin-bottom: 28px;
}

.not-found h1 {
    font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
    color: #fff8e6;
}

.not-found h2 {
    font-size: 1.6rem;
    color: #fff8e6;
    margin-top: 1.4em;
}

.not-found a:not(.btn) {
    color: var(--moon-lit);
}

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

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
