/* Guest House Veni, Shipkovo. A summer day in the yard, seen from above.
   Greens: the house's own gazebo and striped parasols, measured on its photos (in shade, as cloth, in sun).
   Red: the ink of its wordmark. Plaster: the facade. One light theme. */

@font-face {
    font-family: "Shantell Sans";
    src: url("/fonts/shantell-sans.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

@font-face {
    font-family: "PT Serif";
    src: url("/fonts/pt-serif.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "PT Serif";
    src: url("/fonts/pt-serif-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --white: #ffffff;
    --shade: #e9f3ef;
    --shade-2: #d3e7df;
    --canopy: #157a66;
    --canopy-deep: #11463d;
    --night: #0b2e28;
    --sun: #0dbdb2;
    --red: #b22823;
    --red-deep: #8f1d19;
    --plaster: #f6f1e2;
    --plaster-2: #d6cba8;
    --ink: #0d2a25;
    --ink-soft: #3b5750;
    --line: rgba(17, 70, 61, 0.16);
    --display: "Shantell Sans", "Trebuchet MS", "Segoe UI", sans-serif;
    --text: "PT Serif", Georgia, "Times New Roman", serif;
    --r: 22px;
    --stripe: 26px;
    --lb-bg: rgba(8, 32, 28, 0.96);
    --lb-accent: #ffffff;
    --lb-accent-soft: rgba(13, 189, 178, 0.3);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5.5rem;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--text);
    overflow-wrap: break-word;
}

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

img {
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.15rem, 4.2vw + 1rem, 4.1rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw + 1rem, 3.1rem);
}

h3 {
    font-size: 1.25rem;
    line-height: 1.15;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--canopy-deep);
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--red);
}

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

address {
    font-style: normal;
}

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

.wrap {
    width: min(100% - 2rem, 76rem);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 0.75rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: 0.7rem;
    background: var(--ink);
    color: #fff;
    font-family: var(--display);
}

.skip:focus {
    top: 0.75rem;
    color: #fff;
}

.lead {
    max-width: 38rem;
    font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem);
    line-height: 1.55;
    color: var(--ink-soft);
}

.more {
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.05rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: 750 1.08rem/1.15 var(--display);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s, background-color 0.18s, color 0.18s, box-shadow 0.18s;
}

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

.btn--call {
    background: var(--red);
    color: #fff;
    box-shadow: 0 0.5rem 1.2rem -0.5rem rgba(178, 40, 35, 0.75);
}

.btn--call:hover {
    background: var(--red-deep);
    color: #fff;
}

.btn--line {
    border-color: var(--canopy-deep);
    background: transparent;
    color: var(--canopy-deep);
}

.btn--line:hover {
    background: var(--canopy-deep);
    color: #fff;
}

.btn--light {
    background: #fff;
    color: var(--red-deep);
}

.btn--light:hover {
    background: var(--plaster);
    color: var(--red-deep);
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    backdrop-filter: blur(14px) saturate(1.5);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    min-height: 4rem;
    padding-block: 0.45rem;
}

.brand {
    display: block;
    flex: none;
    margin-right: auto;
}

.brand img {
    width: auto;
    height: 2.35rem;
}

.lang {
    display: flex;
    flex: none;
    gap: 0.1rem;
    padding: 0.18rem;
    border-radius: 999px;
    background: var(--shade);
    font: 750 0.85rem/1 var(--display);
}

.lang a,
.lang span {
    display: grid;
    place-items: center;
    min-width: 2rem;
    height: 2rem;
    padding-inline: 0.35rem;
    border-radius: 999px;
    color: var(--canopy-deep);
    text-decoration: none;
}

.lang span {
    background: var(--canopy-deep);
    color: #fff;
}

.lang a:hover {
    background: var(--shade-2);
    color: var(--canopy-deep);
}

.call {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding-inline: 0.75rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font: 750 1rem/1 var(--display);
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--red-deep);
    color: #fff;
}

.call-number {
    display: none;
}

.menu-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.7rem;
    border: 2px solid var(--canopy-deep);
    border-radius: 999px;
    background: transparent;
    color: var(--canopy-deep);
    font: 750 0.95rem/1 var(--display);
    cursor: pointer;
}

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

.menu-bars {
    width: 1.05rem;
    height: 0.75rem;
    border-block: 0.16rem solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 0.16rem no-repeat;
}

.nav {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    order: 5;
    gap: 0.15rem;
    padding-block: 0.25rem 0.35rem;
}

.js .nav:not(.open) {
    display: none;
}

.nav a {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    color: var(--ink);
    font: 750 1rem/1.2 var(--display);
    text-decoration: none;
}

.nav a:hover {
    background: var(--shade);
    color: var(--canopy-deep);
}

.nav a[aria-current="page"] {
    background: var(--canopy-deep);
    color: #fff;
}

@media (max-width: 25.9rem) {
    .menu-button {
        font-size: 0;
        gap: 0;
    }
}

@media (min-width: 36rem) {
    .call-number {
        display: inline;
    }

    .call {
        padding-inline: 1.05rem;
    }

    .brand img {
        height: 2.75rem;
    }
}

@media (min-width: 66rem) {
    .top-row {
        flex-wrap: nowrap;
        gap: 0.8rem;
        min-height: 4.75rem;
    }

    .brand {
        margin-right: 0;
    }

    .brand img {
        height: 3.1rem;
    }

    .nav,
    .js .nav:not(.open) {
        display: flex;
        flex: 0 1 auto;
        flex-wrap: nowrap;
        order: 0;
        margin-left: auto;
        padding: 0;
    }

    .menu-button {
        display: none;
    }
}

/* ---- the parasol, seen from above ---- */

.parasol {
    width: 100%;
    height: auto;
    overflow: visible;
}

.parasol-shadow {
    fill: rgba(17, 70, 61, 0.16);
}

.gore {
    stroke: rgba(17, 70, 61, 0.3);
    stroke-width: 0.6;
    stroke-linejoin: round;
}

.gore--a {
    fill: var(--canopy);
}

.gore--b {
    fill: #fff;
}

.parasol-fold {
    fill: none;
    stroke: rgba(17, 70, 61, 0.16);
    stroke-width: 0.8;
}

.parasol-cap {
    fill: var(--red);
    stroke: #fff;
    stroke-width: 1.6;
}

.parasol--red .gore--a {
    fill: var(--red);
}

.parasol--red .gore {
    stroke: rgba(11, 46, 40, 0.3);
}

.parasol--red .parasol-cap {
    fill: var(--canopy-deep);
}

.parasol--red .parasol-shadow {
    fill: rgba(11, 46, 40, 0.3);
}

/* ---- prints: a photo with a white border, laid on the page ---- */

.print {
    display: block;
    padding: 0.4rem;
    border-radius: calc(var(--r) + 0.4rem);
    background: #fff;
    box-shadow: 0 1.4rem 2.6rem -1.2rem rgba(11, 46, 40, 0.45), 0 0 0 1px var(--line);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.print img {
    width: 100%;
    border-radius: var(--r);
}

.print--tilt-l {
    transform: rotate(-2.5deg);
}

.print--tilt-r {
    transform: rotate(2deg);
}

.print:hover {
    transform: rotate(0) scale(1.015);
}

/* ---- hero ---- */

.hero {
    position: relative;
    overflow: clip;
    padding-block: 4.6rem clamp(3rem, 7vw, 6rem);
    background: linear-gradient(180deg, var(--shade) 0%, var(--shade) 55%, #fff 100%);
}

.hero-parasol {
    position: absolute;
    top: -6.4rem;
    right: -5.8rem;
    width: 17rem;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 2.6rem;
}

.hero-photos {
    position: relative;
    order: -1;
    padding-bottom: 2.2rem;
}

.print--main {
    position: relative;
}

.print--small {
    position: absolute;
    bottom: 0;
    left: -0.3rem;
    width: 43%;
    padding: 0.28rem;
    transform: rotate(-4deg);
}

.print--small img {
    border-radius: calc(var(--r) - 0.4rem);
}

.place {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font: 750 1rem/1.2 var(--display);
    color: var(--canopy);
}

.place::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0.2rem #fff;
}

.hero h1 {
    max-width: 17ch;
}

.hero .lead {
    margin-top: 1.1rem;
    color: var(--ink);
}

.hero-act,
.hc-act {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.6rem 0 0;
}

@media (max-width: 29.9rem) {
    .hero-act .btn,
    .hc-act .btn {
        flex: 1 1 100%;
    }
}

@media (min-width: 60rem) {
    .hero {
        padding-top: clamp(3.5rem, 6vw, 6rem);
    }

    .hero-parasol {
        top: -8.5rem;
        right: max(-9rem, (100vw - 76rem) / 2 - 9rem);
        width: clamp(24rem, 33vw, 31rem);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        align-items: center;
        gap: clamp(2rem, 4vw, 4.5rem);
    }

    .hero-photos {
        order: 0;
        padding-bottom: 3.2rem;
    }

    .print--main {
        transform: rotate(1.6deg);
    }

    .print--small {
        left: -2.4rem;
        width: 44%;
        transform: rotate(-5deg);
    }
}

/* ---- sections ---- */

.about,
.yard,
.near,
.rooms-types,
.shared,
.prices,
.springs,
.road,
.contact {
    padding-block: clamp(3rem, 7vw, 6rem);
}

.about-grid,
.shared-grid {
    display: grid;
    gap: 2.5rem;
}

.about-text h2,
.shared h2 {
    margin-bottom: 1.2rem;
}

.about-text p {
    max-width: 36rem;
}

.about-photos,
.shared-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0.6rem;
    padding-inline: 0.3rem;
}

.about-photos .print:last-child,
.shared-photos .print:last-child {
    margin-top: 2.2rem;
}

@media (min-width: 56rem) {
    .about-grid,
    .shared-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        gap: clamp(2.5rem, 6vw, 6rem);
    }

    .about-photos,
    .shared-photos {
        position: relative;
        display: block;
        padding: 0 0 34%;
    }

    .about-photos .print:first-child,
    .shared-photos .print:first-child {
        width: 74%;
    }

    .about-photos .print:last-child,
    .shared-photos .print:last-child {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 60%;
        margin: 0;
    }
}

/* ---- the headcount ---- */

.headcount {
    padding-block: clamp(2.8rem, 6vw, 5rem);
    background: var(--shade);
}

@media (min-width: 80rem) {
    .headcount {
        width: min(100% - 3rem, 84rem);
        margin-inline: auto;
        border-radius: 3rem;
    }
}

.hc-head .lead {
    margin: 0.9rem 0 0;
}

.hc-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 40rem;
    margin-top: 1.8rem;
}

.hc-control[hidden] {
    display: none;
}

.hc-step {
    display: grid;
    flex: none;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0 0 0.12em;
    border: 0;
    border-radius: 50%;
    background: var(--canopy-deep);
    color: #fff;
    font: 750 1.7rem/1 var(--display);
    cursor: pointer;
    transition: transform 0.15s, background-color 0.15s;
}

.hc-step:hover {
    background: var(--canopy);
    transform: scale(1.06);
}

.hc-control input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 3rem;
    margin: 0;
    background: transparent;
    accent-color: var(--red);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.hc-control input[type="range"]::-webkit-slider-runnable-track {
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--canopy) var(--fill, 100%), #fff var(--fill, 100%));
    box-shadow: inset 0 0 0 2px var(--canopy-deep);
}

.hc-control input[type="range"]::-moz-range-track {
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--canopy) var(--fill, 100%), #fff var(--fill, 100%));
    box-shadow: inset 0 0 0 2px var(--canopy-deep);
}

.hc-control input[type="range"]::-webkit-slider-thumb {
    width: 2.1rem;
    height: 2.1rem;
    margin-top: -0.65rem;
    border: 0.3rem solid #fff;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0.2rem 0.6rem rgba(11, 46, 40, 0.4);
    -webkit-appearance: none;
    appearance: none;
}

.hc-control input[type="range"]::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    border: 0.3rem solid #fff;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0.2rem 0.6rem rgba(11, 46, 40, 0.4);
}

.hc-out {
    min-height: 3.2em;
    margin: 1rem 0 0;
    font: 750 clamp(1.15rem, 1vw + 1rem, 1.5rem)/1.3 var(--display);
    color: var(--canopy-deep);
}

@media (min-width: 40rem) {
    .hc-out {
        min-height: 1.6em;
    }
}

.hc-plan {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.hc-group {
    padding: 1.15rem;
    border-radius: var(--r);
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
}

.hc-group h3 {
    color: var(--canopy-deep);
}

.hc-group p {
    margin: 0.2rem 0 0.9rem;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

@media (min-width: 48rem) {
    .hc-plan {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .hc-group {
        padding: 1.5rem;
    }

    .hc-group--wide {
        grid-column: 1 / -1;
    }

    .tables {
        max-width: 62rem;
    }
}

.rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.rooms--quad {
    grid-template-columns: repeat(2, 1fr);
}

.room {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    padding: 0.35rem;
    border: 2px solid var(--canopy-deep);
    border-radius: 0.8rem;
    background: var(--plaster);
}

.rooms--quad .room {
    grid-template-columns: repeat(4, 1fr);
}

.bed {
    position: relative;
    display: block;
    aspect-ratio: 5 / 7;
    border-radius: 0.4rem;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--shade-2);
    transition: background-color 0.25s, box-shadow 0.25s;
}

.bed::before {
    content: "";
    position: absolute;
    inset: 12% 20% auto;
    height: 20%;
    border-radius: 0.2rem;
    background: var(--shade-2);
    transition: background-color 0.25s;
}

.bed.on {
    background: var(--canopy);
    box-shadow: none;
}

.bed.on::before {
    background: #fff;
}

/* on a wide screen the rooms of one kind stand in one row */
@media (min-width: 48rem) {
    .rooms {
        grid-template-columns: repeat(6, 1fr);
    }

    .rooms--quad {
        grid-template-columns: repeat(4, 1fr);
    }

    .rooms:not(.rooms--quad) .bed {
        aspect-ratio: 1;
    }
}

.tables {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
}

.tbl {
    display: flex;
    flex: 1 1 15rem;
    align-items: center;
    gap: 0.3rem;
}

.tbl > .seat {
    flex: 0 0 7.2%;
}

.tbl-mid {
    display: grid;
    flex: 1;
    gap: 0.3rem;
    min-width: 0;
}

.seat-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0.25rem;
    padding-inline: 0.4rem;
}

.seat {
    display: block;
    aspect-ratio: 1;
    border-radius: 32%;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--shade-2);
    transition: background-color 0.25s, box-shadow 0.25s;
}

.seat.on {
    background: var(--red);
    box-shadow: none;
}

.tbl-top {
    height: 2.4rem;
    border: 2px solid var(--plaster-2);
    border-radius: 0.7rem;
    background: linear-gradient(var(--plaster-2), var(--plaster-2)) center / 100% 34% no-repeat, #fff;
}

/* ---- the bento ---- */

.yard h2 {
    margin-bottom: 1.6rem;
}

.bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--shade);
    aspect-ratio: 1;
}

.tile--pool,
.tile--dining {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 2;
}

.tile--plain {
    grid-column: 1 / -1;
    aspect-ratio: auto;
}

.tile > a {
    display: block;
    height: 100%;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.tile-text {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.5rem 0.8rem 0.55rem;
    border-radius: 0.9rem;
    background: #fff;
    pointer-events: none;
}

.tile-text h3 {
    font-size: 1rem;
    color: var(--canopy-deep);
}

.tile-text p {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--ink-soft);
}

.tile--plain {
    display: grid;
    align-items: center;
    padding: 1.3rem 1.4rem;
    background: var(--canopy-deep);
}

.ticks {
    display: grid;
    gap: 0.6rem;
}

.ticks li {
    position: relative;
    padding-left: 1.7rem;
    line-height: 1.4;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.32em;
    width: 0.95rem;
    height: 0.55rem;
    border-left: 0.2rem solid var(--canopy);
    border-bottom: 0.2rem solid var(--canopy);
    transform: rotate(-45deg);
}

.tile--plain .ticks {
    color: #fff;
    font: 750 1.08rem/1.3 var(--display);
}

.tile--plain .ticks li::before {
    border-color: var(--sun);
}

@media (min-width: 40rem) {
    .tile-text h3 {
        font-size: 1.2rem;
    }

    .tile-text {
        left: 0.8rem;
        bottom: 0.8rem;
        padding: 0.6rem 1rem 0.7rem;
    }
}

@media (min-width: 60rem) {
    .bento {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: clamp(12rem, 17vw, 15.5rem);
        gap: 1rem;
    }

    .tile,
    .tile--pool,
    .tile--dining,
    .tile--plain {
        grid-column: auto;
        aspect-ratio: auto;
    }

    .tile--pool {
        grid-column: span 2;
        grid-row: span 2;
    }

    .tile--dining,
    .tile--plain {
        grid-column: span 2;
    }
}

/* ---- food on request: the red band ---- */

.feast {
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background: var(--red);
    color: #fff;
}

.feast-grid {
    display: grid;
    gap: 2.2rem;
}

.feast h2 {
    max-width: 16ch;
    margin-bottom: 1.1rem;
}

.feast p {
    max-width: 32rem;
    font-size: 1.15rem;
}

.feast .print {
    box-shadow: 0 1.4rem 2.6rem -1.2rem rgba(60, 8, 6, 0.8);
}

.feast :focus-visible,
.winter :focus-visible,
.callband :focus-visible,
.foot :focus-visible,
.tile--plain :focus-visible {
    outline-color: #fff;
}

@media (min-width: 56rem) {
    .feast-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        align-items: center;
        gap: clamp(2.5rem, 6vw, 6rem);
    }
}

/* ---- winter: the dark band ---- */

.winter {
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background: var(--night);
    color: #fff;
}

.winter .lead {
    margin-top: 0.9rem;
    color: #d9ebe5;
}

.strip {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 0.4rem max(1rem, (100vw - 76rem) / 2) 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: max(1rem, (100vw - 76rem) / 2);
    scrollbar-width: thin;
    scrollbar-color: var(--sun) rgba(255, 255, 255, 0.14);
}

.strip li {
    flex: none;
    scroll-snap-align: start;
}

.strip a {
    display: block;
    overflow: hidden;
    border-radius: var(--r);
}

.strip img {
    width: auto;
    max-width: none;
    height: clamp(13rem, 58vw, 21rem);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.strip--light {
    scrollbar-color: var(--canopy) var(--shade);
}

.rooms-photos {
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.rooms-photos .strip {
    margin-top: 1.2rem;
}

/* ---- nearby: the trail ---- */

.near {
    background: #fff;
}

.near-grid {
    display: grid;
    gap: 2rem;
}

.near-head .lead {
    margin: 0.9rem 0 1.2rem;
}

.trail {
    display: grid;
    gap: 1.4rem;
}

.trail li {
    position: relative;
    display: grid;
    grid-template-columns: 7.2rem 1fr;
    align-items: start;
    gap: 1rem;
}

.trail li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2.2rem;
    bottom: -1.4rem;
    left: 3.5rem;
    border-left: 0.2rem dashed var(--shade-2);
}

.km {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 2.2rem;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: var(--canopy-deep);
    color: #fff;
    font: 750 0.9rem/1.1 var(--display);
    text-align: center;
    white-space: nowrap;
}

.trail p {
    margin: 0.25rem 0 0;
}

.trail h3 {
    margin-top: 0.3rem;
    font-size: 1.5rem;
    color: var(--canopy-deep);
}

.trail h3 + p {
    margin-top: 0.4rem;
}

.trail--long li > :not(.km) {
    grid-column: 2;
}

.trail--long .km {
    grid-row: 1 / span 4;
    align-self: start;
}

@media (max-width: 39.9rem) {
    .trail--long li {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trail--long li > :not(.km) {
        grid-column: 1;
    }

    .trail--long .km {
        grid-row: auto;
        justify-self: start;
        padding-inline: 1rem;
    }

    .trail--long li:not(:last-child)::before {
        display: none;
    }
}

@media (min-width: 56rem) {
    .near-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(2.5rem, 6vw, 6rem);
    }
}

/* ---- the call band and the footer ---- */

.callband {
    position: relative;
    overflow: clip;
    padding-block: clamp(2.6rem, 6vw, 4.5rem);
    background: repeating-linear-gradient(90deg, var(--canopy) 0 var(--stripe), #177f6a var(--stripe) calc(var(--stripe) * 2));
    color: #fff;
}

.callband-row {
    position: relative;
    display: grid;
    gap: 1.4rem;
}

.callband-art {
    position: absolute;
    top: -6.2rem;
    right: -4.6rem;
    width: 11rem;
    pointer-events: none;
}

.callband h2 {
    max-width: 12ch;
}

.callband-text p {
    max-width: 26rem;
    margin: 0.8rem 0 0;
    font-size: 1.1rem;
}

.callband-act p {
    margin: 0.5rem 0 0;
}

.callband a {
    color: #fff;
}

.big-phone {
    display: inline-block;
    font: 750 clamp(2.1rem, 8.4vw, 4.2rem)/1 var(--display);
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.callband .big-phone:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
}

@media (min-width: 56rem) {
    .callband-row {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 3rem;
        padding-left: 12.5rem;
    }

    .callband-art {
        top: 50%;
        right: auto;
        left: -3rem;
        width: 13.5rem;
        transform: translateY(-50%);
    }

    .callband h2 {
        max-width: 14ch;
    }
}

.stripes {
    height: 1rem;
    background: repeating-linear-gradient(90deg, var(--canopy) 0 var(--stripe), #fff var(--stripe) calc(var(--stripe) * 2));
}

.foot {
    background: var(--night);
    color: #d9ebe5;
    font-size: 1rem;
}

.foot a {
    color: #fff;
}

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

.foot-grid {
    display: grid;
    gap: 2rem;
    padding-block: 3rem 2rem;
}

.foot-logo {
    width: 11.5rem;
    margin-bottom: 1.1rem;
}

.foot-about p {
    max-width: 24rem;
}

.foot h2 {
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    letter-spacing: 0;
    color: #fff;
}

.foot p {
    margin: 0 0 0.5rem;
}

.foot-phone {
    font: 750 1.5rem/1.1 var(--display);
    text-decoration: none;
    white-space: nowrap;
}

.foot-nav {
    display: grid;
    gap: 0.35rem;
}

.coords {
    font-family: var(--display);
    font-weight: 750;
    letter-spacing: 0.01em;
}

.foot-bottom {
    padding-block: 1.1rem 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.92rem;
}

.foot-bottom p {
    margin: 0;
}

@media (min-width: 44rem) {
    .foot-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

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

@media (min-width: 64rem) {
    .foot-grid {
        grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
        gap: 3rem;
    }

    .foot-about {
        grid-column: auto;
    }
}

/* ---- inner pages ---- */

.page-head {
    position: relative;
    overflow: clip;
    padding-block: clamp(4.6rem, 8vw, 6rem) clamp(2.4rem, 5vw, 4rem);
    background: var(--shade);
}

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

.page-head h1 {
    font-size: clamp(1.8rem, 8.2vw, 4.1rem);
}

.page-head .lead {
    margin: 1rem 0 0;
    color: var(--ink);
}

.page-parasol {
    position: absolute;
    top: -6.4rem;
    right: -5.4rem;
    width: 12.5rem;
    pointer-events: none;
}

@media (min-width: 56rem) {
    .page-parasol {
        top: -9rem;
        right: max(-5rem, (100vw - 76rem) / 2 - 7rem);
        width: 22rem;
    }
}

.types {
    display: grid;
    gap: 1rem;
}

.type {
    padding: 1.4rem;
    border-radius: var(--r);
    background: var(--shade);
}

.type h2 {
    font-size: clamp(1.6rem, 2.4vw + 1rem, 2.4rem);
    color: var(--canopy-deep);
}

.type-count {
    display: inline-block;
    margin-right: 0.1em;
    font-size: 2.1em;
    line-height: 0.9;
    color: var(--red);
}

.type > p {
    margin: 0.5rem 0 1.2rem;
    color: var(--ink-soft);
}

@media (min-width: 48rem) {
    .types {
        grid-template-columns: 1fr 1fr;
        gap: 1.4rem;
    }

    .type {
        padding: 2rem;
    }
}

.rooms-types {
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.shared {
    background: var(--shade);
}

.shared .ticks {
    font-size: 1.08rem;
}

@media (min-width: 36rem) {
    .ticks--two {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem 2rem;
    }
}

.prices-grid {
    display: grid;
    gap: 1rem;
}

.price-card {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 2px solid var(--canopy-deep);
    border-radius: var(--r);
}

.price-card h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem);
}

.price-card p:last-child {
    margin-bottom: 0;
}

.price-card--red {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

@media (min-width: 56rem) {
    .prices-grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 1.4rem;
    }
}

/* gallery */

.jump {
    padding-block: 1.2rem 0;
}

.jump-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jump a {
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: var(--shade);
    color: var(--canopy-deep);
    font: 750 0.98rem/1.2 var(--display);
    text-decoration: none;
}

.jump a:hover {
    background: var(--canopy-deep);
    color: #fff;
}

.shots {
    padding-top: clamp(2rem, 5vw, 3.5rem);
}

.shots:last-of-type {
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.shots h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
    color: var(--canopy-deep);
}

.shots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(9.4rem, 100%), 1fr));
    grid-auto-flow: dense;
    gap: 0.5rem;
}

.shots-grid li {
    overflow: hidden;
    border-radius: 1rem;
    background: var(--shade);
    aspect-ratio: 3 / 2;
}

.shots-grid .tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.shots-grid a {
    display: block;
    height: 100%;
}

.shots-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shots-grid a:hover img {
    transform: scale(1.05);
}

@media (min-width: 40rem) {
    .shots-grid {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
        gap: 0.8rem;
    }

    .shots-grid li {
        border-radius: var(--r);
    }
}

/* sights */

.springs-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.springs h2,
.road h2 {
    margin-bottom: 1rem;
}

.springs p {
    max-width: 34rem;
    font-size: 1.12rem;
}

.springs-photo {
    max-width: calc(597px + 0.8rem);
}

.road {
    background: var(--shade);
}

.road .trail {
    max-width: 44rem;
    margin-top: 1.6rem;
}

.road .trail li:not(:last-child)::before {
    border-color: #b9d8cd;
}

.spots {
    display: grid;
    gap: 0.9rem;
    margin-top: 2.4rem;
}

.spots li {
    padding: 1.3rem 1.4rem;
    border-radius: var(--r);
    background: #fff;
}

.spots h3 {
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
    color: var(--canopy-deep);
}

.spots p {
    margin: 0;
}

@media (min-width: 52rem) {
    .springs-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 5vw, 5rem);
    }
}

@media (min-width: 40rem) and (max-width: 63.9rem) {
    .spots {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (min-width: 64rem) {
    .road-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        align-items: start;
        gap: clamp(2rem, 5vw, 5rem);
    }

    .road .spots {
        margin-top: 1.6rem;
    }
}

/* contact */

.contact-grid {
    display: grid;
    gap: 1.2rem;
}

.contact-card,
.contact-form-card {
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border-radius: var(--r);
}

.contact-card {
    background: var(--shade);
}

.contact-form-card {
    border: 2px solid var(--canopy-deep);
}

.contact-form-card h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem);
}

.big-phone-line {
    margin: 0 0 1.4rem;
}

.contact .big-phone {
    font-size: clamp(2rem, 7.6vw, 3.2rem);
    color: var(--red);
}

.contact .big-phone:hover {
    color: var(--red-deep);
}

.contact-list {
    display: grid;
    gap: 1.1rem;
    margin: 0 0 1.6rem;
}

.contact-list dt {
    font: 750 0.98rem/1.2 var(--display);
    color: var(--canopy);
}

.contact-list dd {
    margin: 0.2rem 0 0;
    font-size: 1.12rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form > div {
    display: grid;
    gap: 0.35rem;
}

.contact-form label {
    font: 750 1rem/1.2 var(--display);
    color: var(--canopy-deep);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 2px solid #7fa69b;
    border-radius: 0.8rem;
    background: #fff;
    color: var(--ink);
    font: 400 1.0625rem/1.5 var(--text);
}

.contact-form textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-form ::placeholder {
    color: #5c746e;
    opacity: 1;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    border-color: var(--canopy-deep);
    outline-offset: 1px;
}

.contact-form ul {
    color: var(--red-deep);
    font-size: 0.95rem;
}

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

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

.contact-sent {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    background: var(--canopy-deep);
    color: #fff;
}

.contact-sent strong {
    display: block;
    font-family: var(--display);
}

@media (min-width: 56rem) {
    .contact-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: start;
        gap: 1.6rem;
    }
}

/* 404 */

.not-found {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    overflow: clip;
    padding: 5rem 1rem 3rem;
    background: var(--shade);
}

.not-found > div {
    position: relative;
    max-width: 34rem;
}

.not-found .page-parasol {
    position: absolute;
}

.not-found-logo {
    width: 12rem;
    margin-bottom: 2rem;
}

.not-found h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
}

.not-found h2 {
    margin-top: 2.2rem;
    font-size: 1.5rem;
}

.not-found p {
    margin: 1rem 0 0;
}

/* ---- motion: the parasol opens when the page loads; everything else answers the visitor ---- */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .hero .parasol,
    .page-head .parasol {
        animation: parasol-open 1s cubic-bezier(0.2, 0.9, 0.25, 1) both;
        transform-origin: 50% 50%;
    }

    .hero .gore,
    .page-head .gore {
        animation: parasol-fan 1s cubic-bezier(0.2, 0.9, 0.25, 1) both;
    }

    .hero .print--main {
        animation: print-main 0.8s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .hero .print--small {
        animation: print-small 0.8s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    @supports (animation-timeline: scroll()) {
        .hero .parasol-turn {
            animation: parasol-turn linear both;
            animation-timeline: scroll(root);
            animation-range: 0 140vh;
        }
    }
}

@keyframes parasol-open {
    from {
        transform: scale(0.3);
        opacity: 0;
    }
}

@keyframes parasol-fan {
    from {
        transform: rotate(calc(var(--i) * -22.5deg));
    }
}

@keyframes parasol-turn {
    to {
        transform: rotate(70deg);
    }
}

@keyframes print-main {
    from {
        opacity: 0;
        transform: translateY(1.5rem) rotate(-1.5deg);
    }
}

@keyframes print-small {
    from {
        opacity: 0;
        transform: translateY(1.5rem) rotate(6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !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;
    }
}
