/* Aux berges de Pareloup – Hôtel ** – Restaurant, Saint-Martin-des-Faux (Aveyron).
   Lake ink and deep water with meadow lime, moss and the logo's brick on warm cream.
   Besley (display) + Asap (text), self-hosted. The signature is the summer week board (.week). */

@font-face {
    font-family: "Besley";
    src: url("/fonts/besley.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Besley";
    src: url("/fonts/besley-italic.woff2") format("woff2");
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Asap";
    src: url("/fonts/asap.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #f7f2e3;
    --paper: #fffdf7;
    --sand: #ece3cb;
    --ink: #1c2925;
    --muted: #4b5751;
    --lake: #123842;
    --lake-2: #1d5260;
    --deep: #0b252c;
    --meadow: #d6d36a;
    --meadow-2: #e6e39a;
    --moss: #4c6a33;
    --brick: #82351b;
    --brick-2: #9b4224;
    --line: #d9cfb3;
    --on-dark: #f7f2e3;
    --on-dark-muted: #c9d5cf;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 40px -18px rgba(11, 37, 44, .45);
    --display: "Besley", Georgia, "Times New Roman", serif;
    --text: "Asap", "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1180px;
}

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

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--brick);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brick-2);
    text-decoration-thickness: 2px;
}

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

h1, h2, h3 {
    font-family: var(--display);
    line-height: 1.1;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.2rem, 5.4vw, 4.2rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

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

.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 {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--deep);
    color: var(--on-dark);
    padding: 10px 16px;
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
    color: var(--on-dark);
}

.kicker {
    font-family: var(--text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: .8em;
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    max-width: 40em;
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .78em 1.25em;
    border-radius: 999px;
    background: var(--lake);
    color: var(--on-dark);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--lake);
    font-family: var(--text);
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.btn:hover {
    color: var(--on-dark);
    background: var(--lake-2);
    border-color: var(--lake-2);
    transform: translateY(-2px);
}

.btn-big {
    font-size: 1.15rem;
    padding: .85em 1.4em;
    background: var(--meadow);
    border-color: var(--meadow);
    color: var(--deep);
}

.btn-big:hover {
    background: var(--meadow-2);
    border-color: var(--meadow-2);
    color: var(--deep);
}

.btn-ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: inherit;
    border-color: currentColor;
}

/* ---- header ---- */
.top {
    background: rgba(247, 242, 227, .94);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20;
}

@supports (backdrop-filter: blur(10px)) {
    .top {
        background: rgba(247, 242, 227, .82);
        backdrop-filter: saturate(1.4) blur(12px);
    }
}

.top-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand actions" "nav nav";
    align-items: center;
    gap: 8px 16px;
    padding-block: 10px;
}

.brand {
    grid-area: brand;
    display: block;
    line-height: 0;
}

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

.top-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--brick);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    font-size: .98rem;
}

.call:hover {
    background: var(--brick-2);
    color: #fff;
}

.lang {
    display: inline-flex;
    border: 1.5px solid var(--lake);
    border-radius: 999px;
    overflow: hidden;
    font-size: .85rem;
    font-weight: 700;
}

.lang a,
.lang span {
    padding: 6px 10px;
    text-decoration: none;
    color: var(--lake);
}

.lang span[aria-current] {
    background: var(--lake);
    color: var(--on-dark);
}

.nav {
    grid-area: nav;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: 5px 10px;
    border-radius: 999px;
    transition: background-color .2s ease;
}

.nav a:hover {
    background: var(--sand);
    color: var(--ink);
}

.nav a[aria-current] {
    background: var(--lake);
    color: var(--on-dark);
}

@media (min-width: 1080px) {
    .top {
        position: sticky;
        top: 0;
    }

    .top-row {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "brand nav actions";
        padding-block: 8px;
    }

    .brand img {
        width: 139px;
    }

    .nav {
        justify-content: center;
        gap: 2px;
    }

    .nav a {
        font-size: 1rem;
        padding: 7px 12px;
    }
}

/* ---- waves ---- */
.wave {
    display: block;
    width: 100%;
    height: 48px;
}

.wave-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    fill: var(--cream);
}

.wave-top {
    fill: var(--deep);
    margin-top: -47px;
    position: relative;
}

/* ---- home hero ---- */
.hero {
    position: relative;
    background:
        radial-gradient(60rem 30rem at 85% 10%, rgba(214, 211, 106, .18), transparent 60%),
        radial-gradient(40rem 30rem at 0% 100%, rgba(29, 82, 96, .9), transparent 70%),
        linear-gradient(160deg, var(--lake) 0%, var(--deep) 100%);
    color: var(--on-dark);
    padding: clamp(36px, 6vw, 80px) 0 clamp(90px, 10vw, 140px);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

.hero h1 {
    color: var(--on-dark);
    font-size: clamp(2.4rem, 6.4vw, 5rem);
    max-width: 11em;
}

.hero h1 em {
    font-style: italic;
    color: var(--meadow);
}

.hero .kicker {
    color: var(--meadow);
}

.hero .lead {
    color: var(--on-dark-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-actions .btn-ghost {
    color: var(--on-dark);
}

.postcards {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: clamp(250px, 50vw, 380px);
}

.pc {
    position: absolute;
    width: 46%;
    animation: settle 1.1s cubic-bezier(.2, .9, .25, 1.1) backwards;
}

.pc figure {
    margin: 0;
    background: var(--paper);
    padding: 7px 7px 0;
    border-radius: 6px;
    box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .55);
}

.pc img {
    border-radius: 3px;
    aspect-ratio: 498 / 405;
    object-fit: cover;
}

.pc figcaption {
    font-family: var(--display);
    font-style: italic;
    color: var(--lake);
    font-size: .95rem;
    padding: 5px 4px 7px;
    text-align: center;
    width: 64%;
}

.pc1 {
    left: 0;
    top: 14%;
    --r: -7deg;
    transform: rotate(var(--r));
    animation-delay: .15s;
}

.pc2 {
    left: 27%;
    top: 0;
    --r: 3deg;
    transform: rotate(var(--r));
    animation-delay: .35s;
    z-index: 2;
}

.pc3 {
    right: 0;
    top: 24%;
    --r: -3deg;
    transform: rotate(var(--r));
    animation-delay: .55s;
    z-index: 3;
}

.pc3 figcaption {
    width: auto;
}

.pc a {
    display: block;
    transition: transform .25s ease;
}

.pc:hover {
    z-index: 5;
}

.pc a:hover {
    transform: scale(1.03);
}

@keyframes settle {
    from {
        opacity: 0;
        transform: translateY(-40px) rotate(calc(var(--r) * 3)) scale(1.06);
    }
    to {
        opacity: 1;
        transform: rotate(var(--r));
    }
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 48px;
    }

    .pc {
        width: 48%;
    }
}

/* ---- lake strip ---- */
.lake {
    padding: 8px 0 clamp(40px, 5vw, 64px);
}

.lake-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.lake-photo {
    margin: -64px 0 0;
    position: relative;
    z-index: 2;
}

.lake-photo img {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 6px solid var(--paper);
}

.lake-photo figcaption {
    font-family: var(--display);
    font-style: italic;
    color: var(--muted);
    margin-top: 8px;
    padding-left: 10px;
}

.lake-text .quote {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-style: italic;
    line-height: 1.3;
    color: var(--brick);
    border-left: 4px solid var(--meadow);
    padding-left: 18px;
    margin-top: 22px;
}

@media (min-width: 1000px) {
    .lake-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* ---- the summer week ---- */
.week {
    position: relative;
    background: linear-gradient(180deg, var(--lake) 0%, var(--deep) 100%);
    color: var(--on-dark);
    padding: 70px 0 clamp(56px, 7vw, 90px);
    margin-top: 40px;
}

.waterline {
    position: absolute;
    left: 0;
    top: -38px;
    width: 100%;
    height: 40px;
    overflow: visible;
}

.waterline .w1 {
    fill: var(--lake-2);
    opacity: .7;
    animation: drift 14s ease-in-out infinite alternate;
}

.waterline .w2 {
    fill: var(--lake);
    animation: drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from {
        transform: translateX(-30px);
    }
    to {
        transform: translateX(30px);
    }
}

.week .kicker {
    color: var(--meadow);
}

.week h2 {
    color: var(--on-dark);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.week-board {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.wk-row.wk-head {
    display: none;
}

.wk-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr));
    gap: 8px;
}

.wk-label {
    grid-column: 1 / -1;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--meadow);
}

.wk-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 88px;
    padding: 10px 10px 12px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.25;
}

.wk-cell::before {
    content: attr(data-day) / "";
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
}

.wk-cell.on {
    background: var(--meadow);
    color: var(--deep);
}

.wk-cell.sun {
    background: var(--paper);
    color: var(--brick);
}

.wk-cell.off {
    border: 2px dashed rgba(247, 242, 227, .35);
    color: var(--on-dark-muted);
}

.wk-cell.guests {
    background: rgba(247, 242, 227, .1);
    border: 1px solid rgba(247, 242, 227, .22);
    color: var(--on-dark);
}

.wk-cell.fri strong {
    display: block;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--brick);
    color: #fff;
    font-size: .82rem;
}

.wk-hotel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-weight: 700;
    color: var(--meadow);
}

.wk-text {
    margin-top: 18px;
    max-width: 52em;
    color: var(--on-dark-muted);
}

.wk-text summary {
    cursor: pointer;
    color: var(--on-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wk-text p {
    margin-top: 12px;
}

.wk-text strong {
    color: var(--on-dark);
}

@media (min-width: 860px) {
    .wk-row.wk-head {
        display: grid;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        font-size: .85rem;
        color: var(--on-dark-muted);
        text-align: center;
    }

    .wk-row {
        grid-template-columns: 7rem repeat(7, 1fr);
        align-items: stretch;
    }

    .wk-label {
        grid-column: auto;
        align-self: center;
    }

    .wk-cell::before {
        content: none;
    }

    .wk-cell {
        min-height: 110px;
        text-align: center;
        align-items: center;
    }
}

/* ---- bands ---- */
.band {
    padding: clamp(48px, 7vw, 96px) 0;
}

.band-alt {
    background: var(--sand);
}

.band > .wrap > h2 {
    max-width: 22em;
}

.more-line {
    margin-top: 28px;
}

.duo {
    display: grid;
    gap: 28px;
    align-items: start;
}

@media (min-width: 900px) {
    .duo {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.prose {
    max-width: 40em;
}

.prose p {
    font-size: 1.08rem;
}

.notice {
    background: var(--paper);
    border-left: 5px solid var(--brick);
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
}

.note {
    color: var(--muted);
    font-size: .95rem;
}

.marks {
    list-style: none;
    padding: 0;
    margin: 0 0 1em;
}

.marks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
}

.marks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55em;
    width: 12px;
    height: 8px;
    border-radius: 50%;
    background: var(--moss);
}

.framed {
    margin: 0;
}

.framed img {
    border-radius: var(--radius);
    border: 6px solid var(--paper);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

/* ---- bento ---- */
.bento {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.bt {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    background: var(--lake);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bt:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.bt img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.bt:hover img {
    transform: scale(1.05);
}

.bt-body {
    position: relative;
    margin: 12px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(11, 37, 44, .9);
    color: var(--on-dark);
}

.bt-body p {
    margin: 0;
    color: var(--on-dark-muted);
}

.bt h3 {
    margin-bottom: .3em;
}

.bt h3 a {
    color: var(--on-dark);
    text-decoration: none;
}

.bt h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bt h3 a:hover {
    text-decoration: underline;
}

.bt:has(a:focus-visible) {
    outline: 3px solid var(--brick);
    outline-offset: 3px;
}

.bt-groups {
    background: var(--moss);
}

.bt-groups .bt-body,
.bt-prices .bt-body {
    background: none;
    margin: 0;
    padding: 26px;
}

.bt-groups .bt-body p {
    color: var(--on-dark);
}

.bt-prices {
    background: var(--meadow);
}

.bt-prices .bt-body,
.bt-prices .bt-body p,
.bt-prices h3 a {
    color: var(--deep);
}

.big-figure {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 4.6rem);
    line-height: 1;
    margin-bottom: 8px !important;
}

@media (min-width: 700px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-hotel {
        grid-row: span 2;
    }
}

@media (min-width: 1000px) {
    .bento {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(230px, auto);
    }

    .bt-hotel {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bt-resto,
    .bt-apart,
    .bt-groups {
        grid-column: span 2;
    }
}

/* ---- cards ---- */
.cards {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 340px));
}

.card {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card-body {
    padding: 18px 20px 20px;
}

.card-body p {
    margin: 0;
    color: var(--muted);
}

.card h3 a {
    color: var(--lake);
    text-decoration: none;
}

.card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.card h3 a:hover {
    text-decoration: underline;
}

.card:has(a:focus-visible) {
    outline: 3px solid var(--brick);
    outline-offset: 3px;
}

.others {
    background: var(--sand);
}

.region-strip {
    background: linear-gradient(180deg, var(--cream), var(--sand));
}

/* ---- page hero ---- */
.page-hero {
    position: relative;
    padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 64px);
    background:
        radial-gradient(50rem 24rem at 100% 0%, rgba(214, 211, 106, .35), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--line);
}

.page-hero-slim h1 {
    margin-bottom: .3em;
}

.ph-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.ph-text h1 {
    color: var(--lake);
}

.ph-photos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ph-photos figure {
    margin: 0;
}

.ph-photos img {
    width: 100%;
    border-radius: var(--radius);
    border: 6px solid var(--paper);
    box-shadow: var(--shadow);
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.ph-photos[data-count="2"] {
    grid-template-columns: 1fr 1fr;
}

.ph-photos[data-count="2"] li:first-child img {
    transform: rotate(-2.5deg);
}

.ph-photos[data-count="2"] li:last-child {
    margin-top: 36px;
}

.ph-photos[data-count="2"] li:last-child img {
    transform: rotate(2deg);
}

.ph-photos[data-count="1"] img {
    transform: rotate(1.5deg);
    max-width: 498px;
}

@media (min-width: 900px) {
    .ph-grid {
        grid-template-columns: 1.15fr 1fr;
        gap: 56px;
    }
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .92rem;
    margin-bottom: 16px;
    color: var(--muted);
}

.crumbs a {
    color: var(--moss);
    font-weight: 600;
}

/* ---- rooms ---- */
.rooms {
    display: grid;
    gap: 22px;
}

.room {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--line);
}

.room-num {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 4.8rem);
    line-height: 1;
    color: var(--brick);
    margin-bottom: 10px;
}

.room h2 {
    color: var(--lake);
    font-size: 1.6rem;
}

.facts {
    list-style: none;
    margin: 0;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--lake);
    color: var(--on-dark);
    display: grid;
    gap: 16px;
}

.facts li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.facts svg {
    flex: none;
    color: var(--meadow);
}

.room-photo {
    margin: 0;
}

.room-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

@media (min-width: 900px) {
    .rooms {
        grid-template-columns: repeat(3, 1fr);
    }

    .facts {
        grid-row: span 2;
    }
}

/* ---- garden, menu list, trail ---- */
.garden-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.garden-list li {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid var(--line);
}

.garden-list h2 {
    font-size: 1.4rem;
    color: var(--lake);
}

.gl-num {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--meadow);
    color: var(--deep);
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: dish;
    display: grid;
    gap: 0;
    max-width: 52em;
}

.menu-list li {
    counter-increment: dish;
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    column-gap: 14px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--line);
}

.menu-list li::before {
    content: counter(dish, decimal-leading-zero);
    grid-row: span 2;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brick);
    line-height: 1;
}

.menu-list h2 {
    font-size: 1.4rem;
    color: var(--lake);
    margin-bottom: .2em;
}

.menu-list p {
    margin: 0;
}

.trail {
    display: grid;
    gap: 18px;
    counter-reset: stop;
}

.trail article {
    counter-increment: stop;
    position: relative;
    padding: 22px 24px 22px 74px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.trail article::before {
    content: counter(stop);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lake);
    color: var(--on-dark);
    font-family: var(--display);
    font-weight: 800;
}

.trail h2 {
    font-size: 1.35rem;
    color: var(--lake);
}

.trail p {
    margin: 0;
}

@media (min-width: 900px) {
    .trail {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- story ---- */
.story {
    display: grid;
    gap: 20px;
    align-items: start;
}

.story-year {
    font-family: var(--display);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(4.5rem, 14vw, 9rem);
    line-height: .9;
    color: var(--brick);
    margin: 0;
}

@media (min-width: 900px) {
    .story {
        grid-template-columns: auto 1fr;
        gap: 56px;
    }
}

.serv {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid var(--line);
}

.serv h3 {
    color: var(--lake);
}

/* ---- prices ---- */
.price-grid {
    display: grid;
    gap: 18px;
}

.price-card {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid var(--line);
}

.price-card h2 {
    font-size: 1.5rem;
    color: var(--lake);
}

.price-feature {
    background: var(--lake);
    border-color: var(--lake);
    color: var(--on-dark);
}

.price-feature h2 {
    color: var(--meadow);
}

.price-list {
    margin: 0;
}

.price-list > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

.price-feature .price-list > div {
    border-color: rgba(247, 242, 227, .3);
}

.price-list dt {
    font-weight: 600;
}

.price-list dd {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.25rem;
    white-space: nowrap;
}

.price-list small {
    font-family: var(--text);
    font-weight: 500;
    font-size: .85rem;
}

.price-photo img {
    width: 100%;
    max-width: 498px;
}

@media (min-width: 900px) {
    .price-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-wide {
        grid-row: span 2;
    }
}

/* ---- apartments ---- */
.apart-grid {
    display: grid;
    gap: 18px;
}

.apart {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid var(--line);
}

.apart h2 {
    font-size: 1.4rem;
    color: var(--lake);
}

.apart-size {
    font-family: var(--display);
    font-weight: 700;
    color: var(--moss);
    margin-bottom: 6px;
}

.apart-size span {
    font-size: clamp(3rem, 7vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    color: var(--brick);
    margin-right: 6px;
}

.apart-price {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--lake);
    margin: 14px 0 0;
}

.apart-price small,
.apart-price span {
    font-family: var(--text);
    font-weight: 500;
    font-size: .9rem;
    color: var(--muted);
}

.apart-common {
    background: var(--lake);
    color: var(--on-dark);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.apart-common h2 {
    color: var(--meadow);
    font-size: 1.5rem;
}

.apart-common .marks li::before {
    background: var(--meadow);
}

.apart-common a {
    color: var(--meadow);
}

@media (min-width: 900px) {
    .apart-grid {
        grid-template-columns: 1fr 1fr 1.2fr;
    }
}

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

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.gallery figcaption {
    font-size: .92rem;
    color: var(--muted);
    margin-top: 6px;
}

@media (min-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .g-wide {
        grid-column: span 2;
    }

    .g-wide img {
        aspect-ratio: 8 / 3;
    }

    .g-tall {
        grid-row: span 2;
    }

    .g-tall img {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* ---- groups ---- */
.figures {
    display: grid;
    gap: 18px;
}

.figure {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid var(--line);
}

.figure:nth-child(2) {
    background: var(--lake);
    color: var(--on-dark);
    border-color: var(--lake);
}

.figure:nth-child(2) h2 {
    color: var(--meadow);
}

.figure-num {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(3.4rem, 8vw, 5rem);
    line-height: 1;
    color: var(--brick);
    margin-bottom: 10px;
}

.figure:nth-child(2) .figure-num {
    color: var(--meadow);
}

.figure h2 {
    font-size: 1.5rem;
    color: var(--lake);
}

@media (min-width: 900px) {
    .figures {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- region ---- */
.lake-fact {
    background: var(--lake);
    color: var(--on-dark);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.lf-num {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 5.2rem);
    line-height: 1;
    color: var(--meadow);
    margin-bottom: 12px;
}

.lake-fact strong {
    color: var(--meadow);
}

/* ---- documents, films ---- */
.files {
    list-style: none;
    margin: 0;
    padding: 0;
}

.files a {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: transform .2s ease, box-shadow .2s ease;
}

.files a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.files strong {
    display: block;
    color: var(--lake);
}

.files small {
    color: var(--muted);
}

.file-type {
    flex: none;
    display: grid;
    place-items: center;
    width: 54px;
    height: 64px;
    border-radius: 8px;
    background: var(--brick);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .05em;
}

.films {
    display: grid;
    gap: 24px;
}

.films figure {
    margin: 0;
}

.films figcaption {
    margin-top: 8px;
    font-family: var(--display);
    font-style: italic;
    color: var(--muted);
}

@media (min-width: 900px) {
    .films {
        grid-template-columns: 1fr 1fr;
    }
}

.video {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--deep);
    aspect-ratio: 16 / 9;
}

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

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 14px;
    border-radius: 999px;
    background: var(--meadow);
    color: var(--deep);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    transition: transform .2s ease;
}

.video:hover .video-play {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-on iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---- contact ---- */
.contact-card {
    background: var(--lake);
    color: var(--on-dark);
    border: 0;
}

.contact-card a {
    color: var(--meadow);
}

.contact-card .note {
    color: var(--on-dark-muted);
    margin: 18px 0 0;
}

.contact-duo .card:hover {
    transform: none;
    box-shadow: none;
}

.big-phone-line {
    margin-bottom: 18px;
}

.big-phone {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-decoration: none;
    color: var(--meadow) !important;
    white-space: nowrap;
}

.contact-list {
    margin: 0;
    display: grid;
    gap: 14px;
}

.contact-list dt {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.contact-list dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--lake);
    outline: 3px solid rgba(18, 56, 66, .25);
}

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

.form-hint {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

.contact-sent {
    background: var(--meadow);
    color: var(--deep);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* ---- legal ---- */
.legal h2 {
    font-size: 1.4rem;
    color: var(--lake);
    margin-top: 1.4em;
}

/* ---- call band ---- */
.call-band {
    background:
        radial-gradient(40rem 20rem at 100% 100%, rgba(214, 211, 106, .22), transparent 60%),
        var(--brick);
    color: #fff;
    padding: clamp(44px, 6vw, 72px) 0 clamp(80px, 9vw, 110px);
}

.call-band h2 {
    color: #fff;
}

.call-band p {
    color: #fbeee4;
    max-width: 34em;
}

.call-grid {
    display: grid;
    gap: 22px;
    align-items: center;
}

.call-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.call-actions .btn-ghost {
    color: #fff;
}

.call-mail {
    color: #fff;
    width: 100%;
    overflow-wrap: anywhere;
}

.call-mail:hover {
    color: var(--meadow-2);
}

@media (min-width: 900px) {
    .call-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* ---- footer ---- */
.foot {
    background: var(--deep);
    color: var(--on-dark-muted);
    padding-bottom: 28px;
}

.foot-grid {
    display: grid;
    gap: 28px;
    padding-top: 28px;
}

.foot h2 {
    font-size: 1.1rem;
    color: var(--meadow);
}

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

.foot a:hover {
    color: var(--meadow);
}

.foot address {
    font-style: normal;
}

.foot-brand img {
    width: 156px;
    margin-bottom: 14px;
}

.foot-kind {
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--on-dark);
    margin-bottom: 6px;
}

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

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 18px;
}

.foot-links li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.foot-bottom {
    border-top: 1px solid rgba(247, 242, 227, .18);
    margin-top: 28px;
    padding-top: 18px;
    font-size: .9rem;
}

.foot-bottom p {
    margin: 0;
}

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

@media (min-width: 900px) {
    .foot-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
    }
}

/* ---- scroll reveal ---- */
@supports (animation-timeline: view()) {
    .cards > li,
    .bento > li,
    .trail > article,
    .menu-list > li,
    .figures > article,
    .rooms > *,
    .price-grid > *,
    .apart-grid > *,
    .wk-cell {
        animation: rise linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* 404 */
.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    text-align: center;
    background:
        radial-gradient(50rem 24rem at 100% 0%, rgba(214, 211, 106, .35), transparent 60%),
        var(--cream);
}

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

.not-found img {
    margin: 0 auto 24px;
}

.not-found h1 {
    color: var(--lake);
    font-size: clamp(2rem, 6vw, 3.2rem);
}

.not-found [lang="en"] {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* ---- 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;
    }
}
