/* Palm Grove — guest website
   Working name only; canonical public name is undecided.
   Keep copy fact-safe. See CLAUDE.md and README.md. */

:root {
    --ink: #1b1914;
    --ink-soft: #3f3a33;
    --muted: #6b645b;
    --paper: #f4efe6;
    --paper-deep: #e8e0d2;
    --forest: #1d3128;
    --forest-mid: #2c4a3d;
    --moss: #5c7158;
    --clay: #b45a32;
    --line: #d5cbb8;
    --white: #fcfaf6;
    --shadow: 0 18px 40px rgba(27, 25, 20, 0.08);
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --radius: 18px;
    --max: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}

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

a {
    color: var(--forest-mid);
    text-underline-offset: 0.18em;
}

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

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 560;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--forest);
}

h1 {
    font-size: clamp(3rem, 8vw, 6.4rem);
    margin: 0.15em 0 0.25em;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--forest);
    color: var(--white);
    padding: 0.6rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    top: 1rem;
    color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 239, 230, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.band-inner,
.page-hero,
.hero,
.rooms,
.gallery-grid,
.ota-grid {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--forest);
}

.wordmark:hover {
    color: var(--forest);
}

.wordmark-name {
    display: block;
    font-family: var(--serif);
    font-weight: 560;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.wordmark-place {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.15rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--forest);
}

.site-nav a[aria-current="page"] {
    box-shadow: inset 0 -1px 0 var(--forest);
}

.nav-cta {
    border: 1px solid var(--forest);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
    background: var(--forest);
    color: var(--white) !important;
    box-shadow: none;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 0.6rem;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: var(--ink);
    position: relative;
    margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.hero,
.page-hero {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 3.5rem;
}

.eyebrow,
.list-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
    font-weight: 500;
    margin: 0 0 0.8rem;
}

.hero-lead {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    max-width: 36rem;
    color: var(--ink-soft);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.button-primary {
    background: var(--forest);
    color: var(--white);
}

.button-primary:hover {
    background: var(--forest-mid);
    color: var(--white);
}

.button-ghost {
    border-color: var(--forest);
    color: var(--forest);
    background: transparent;
}

.button-ghost:hover {
    background: var(--forest);
    color: var(--white);
}

.button-disabled,
.enquiry-form button:disabled {
    background: var(--paper-deep);
    color: var(--muted);
    border: 1px solid var(--line);
    cursor: not-allowed;
    text-decoration: none;
}

.band {
    padding: 4rem 0;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.band-inner.narrow {
    max-width: 40rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.plain-list a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.plain-list a:hover {
    border-color: var(--forest-mid);
    color: inherit;
}

.plain-list strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 560;
    color: var(--forest);
    margin: 0.15rem 0 0.25rem;
}

.plain-list .list-kicker {
    margin-bottom: 0;
}

.quiet-cta {
    padding: 4.5rem 0 5rem;
}

.rooms,
.ota-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding-bottom: 4rem;
}

.ota-grid {
    grid-template-columns: repeat(3, 1fr);
}

.room-card,
.ota-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.room-card h2,
.ota-card h2 {
    margin-top: 0.2rem;
}

.fine-print {
    font-size: 0.9rem;
    color: var(--muted);
}

.text-link {
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    padding-bottom: 5rem;
}

.photo-frame {
    margin: 0;
    min-height: 16rem;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(29, 49, 40, 0.06) 0%, rgba(244, 239, 230, 0.2) 50%),
        repeating-linear-gradient(
            45deg,
            #ded6c7,
            #ded6c7 12px,
            #e8e0d2 12px,
            #e8e0d2 24px
        );
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    text-align: center;
    padding: 1.5rem;
}

.photo-frame span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
}

.photo-frame figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.photo-frame-wide {
    grid-column: 1 / -1;
    min-height: 20rem;
}

.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--clay);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.75rem;
}

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

.enquiry-form label span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: var(--paper-deep);
    color: var(--muted);
}

.enquiry-form button {
    justify-self: start;
}

.form-status {
    background: var(--paper-deep);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.site-footer {
    padding: 3rem 0 3.5rem;
    color: var(--paper);
    background: var(--forest);
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.site-footer p {
    color: #d6e0d4;
}

.footer-note {
    font-size: 0.92rem;
    margin-top: 1rem;
    max-width: 36rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 1.75rem;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-nav a:hover {
    color: #f1d2c3;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem 1.4rem;
        gap: 0.9rem;
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .split,
    .rooms,
    .ota-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .photo-frame-wide {
        min-height: 16rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}


.wordmark-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hero-media {
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto 3.5rem;
}

.hero-media img {
    width: 100%;
    height: min(70vh, 36rem);
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-media figcaption,
.gallery-item figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.home-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin: 1.75rem 0 0.5rem;
}

.home-photo {
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-photo img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: var(--radius);
}

.home-photo span {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.home-photo:hover span {
    color: var(--forest);
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--paper-deep);
}

.gallery-item-wide {
    grid-column: 1 / -1;
}

.gallery-item-wide img {
    height: min(70vh, 32rem);
}

@media (max-width: 860px) {
    .home-photos {
        grid-template-columns: 1fr;
    }

    .home-photo img,
    .gallery-item img,
    .hero-media img,
    .gallery-item-wide img {
        height: 16rem;
    }
}

.email-address {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0.2em 0 0.8em;
}

.email-address a {
    color: var(--forest);
    text-decoration: none;
}

.email-address a:hover {
    color: var(--clay);
}


.tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin: 0 0 1.4rem;
}

.plain-list.three-up {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
}

.stats-band {
    padding: 0 0 3rem;
}

.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.stats li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.2rem;
}

.stats strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 560;
    color: var(--forest);
}

.stats span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.5rem;
    margin: 1.75rem 0 2rem;
}

.spec-list div {
    border-top: 1px solid var(--line);
    padding-top: 0.7rem;
}

.spec-list dt {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.2rem;
}

.spec-list dd {
    margin: 0;
    font-weight: 500;
    color: var(--forest);
}

.inline-media {
    margin: 1.5rem 0 0;
}

.inline-media img {
    width: 100%;
    height: min(60vh, 28rem);
    object-fit: cover;
    border-radius: var(--radius);
}

.inline-media figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.hire-list {
    margin: 0 0 1.2rem;
    padding-left: 1.2rem;
}

.hire-list li {
    margin: 0 0 0.55rem;
}

.steps {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    margin: 0 0 1.4rem;
    padding-left: 3rem;
    position: relative;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--clay);
}

.steps h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0 1rem;
}

.cancel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.cancel-table th,
.cancel-table td {
    text-align: left;
    padding: 0.8rem 0.7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.cancel-table thead th {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.cancel-table tbody th {
    font-weight: 500;
    color: var(--forest);
}

.contact-cards {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.contact-cards li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
}

.contact-cards p:last-child {
    margin-bottom: 0;
}

.address-block {
    font-style: normal;
    font-weight: 500;
    color: var(--forest);
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    margin: 0.8rem 0 0;
}

.footer-contacts a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-contacts a:hover {
    color: #f1d2c3;
}

@media (max-width: 860px) {
    .plain-list.three-up,
    .stats,
    .spec-list,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .inline-media img {
        height: 16rem;
    }
}

@media (min-width: 861px) and (max-width: 1100px) {
    .stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Home hero with drone video background ----------
   The video (YouTube, muted, looping) fills the whole hero area behind the text.
   A dark shade sits on top so the white text stays readable. */
.hero-video-wrap {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--forest);
    /* fill the screen below the header (svh = visible height on phones) */
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100svh - 4.5rem);
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    container-type: size;
}

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

/* Make the 16:9 player always cover the area, like object-fit: cover */
.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100cqw, 177.78cqh);
    height: max(56.25cqw, 100cqh);
    transform: translate(-50%, -50%) scale(1.15); /* slight zoom hides YouTube's edges */
    border: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-video.is-playing iframe {
    opacity: 1;
}

.hero-video-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 22, 18, 0.78) 0%, rgba(14, 22, 18, 0.45) 55%, rgba(14, 22, 18, 0.2) 100%),
        linear-gradient(0deg, rgba(14, 22, 18, 0.55) 0%, rgba(14, 22, 18, 0) 40%);
}

.hero-video-wrap .hero {
    color: var(--white);
}

.hero-video-wrap .hero h1,
.hero-video-wrap .hero-lead {
    color: var(--white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-video-wrap .hero-lead {
    max-width: 40rem;
}

.hero-video-wrap .eyebrow {
    color: #f0c9a8;
}

.hero-video-wrap .tagline {
    color: rgba(252, 250, 246, 0.85);
}

.hero-video-wrap .button-primary {
    background: var(--white);
    color: var(--forest);
}

.hero-video-wrap .button-primary:hover {
    background: var(--paper-deep);
    color: var(--forest);
}

.hero-video-wrap .button-ghost {
    border-color: rgba(252, 250, 246, 0.8);
    color: var(--white);
}

.hero-video-wrap .button-ghost:hover {
    background: var(--white);
    color: var(--forest);
}

/* Lawn photo, moved from under the hero into the intro section */
.intro-photo {
    margin: 2rem 0 0.5rem;
}

/* The photo sits in a frame slightly smaller than itself, so it can drift
   up and down a little as the page scrolls (set by js/main.js). */
.parallax-frame {
    position: relative;
    overflow: hidden;
    height: min(70vh, 36rem);
    border-radius: var(--radius);
}

.parallax-frame img {
    position: absolute;
    left: 0;
    top: -12.5%;
    width: 100%;
    height: 125%;
    object-fit: cover;
    transform: translate3d(0, var(--shift, 0px), 0);
    will-change: transform;
}

.intro-photo figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    color: var(--muted);
}

/* Home: venue cards with a photo across the top */
.venue-cards a {
    padding: 0 0 1.15rem;
    overflow: hidden;
    height: 100%;
}

.venue-cards .card-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.6s ease;
}

.venue-cards a:hover .card-photo {
    transform: scale(1.03);
}

.venue-cards a > span,
.venue-cards a > strong {
    display: block;
    padding-inline: 1.25rem;
}

/* ---------- Book page: availability calendar + inquiry form ---------- */
.booking-intro {
    max-width: 44rem;
}

.booking-tool {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1.75rem;
    align-items: start;
}

.space-tabs {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.space-tab {
    font: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    line-height: 1.25;
}

.space-tab span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.space-tab[aria-pressed="true"] {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
}

.space-tab[aria-pressed="true"] span {
    color: #cfe0d4;
}

.cal {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.cal-hint {
    margin: 0;
    font-size: 0.92rem;
    text-align: center;
    color: var(--ink-soft);
}

.cal-btn {
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--forest);
}

.cal-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.cal-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 0.9rem;
}

.cal-month h4 {
    margin: 0 0 0.5rem;
    font-family: var(--serif);
    font-weight: 560;
    font-size: 1.05rem;
    text-align: center;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-dow {
    font-size: 0.7rem;
    text-align: center;
    color: var(--muted);
    padding-bottom: 0.25rem;
}

.cal-day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--white);
    color: var(--ink);
    padding: 0;
}

.cal-day.is-free:hover {
    outline: 2px solid var(--moss);
}

.cal-day.is-booked {
    background: repeating-linear-gradient(135deg, #e3d9c9, #e3d9c9 4px, #d6cab6 4px, #d6cab6 8px);
    color: #8b8173;
    text-decoration: line-through;
}

.cal-day.is-partial {
    background: linear-gradient(135deg, var(--white) 50%, #f1d9c6 50%);
}

.cal-day.is-past {
    background: transparent;
    color: #b9b0a2;
    cursor: default;
}

.cal-day.is-between {
    background: #cfe0d4;
    color: var(--forest);
}

.cal-day.is-start,
.cal-day.is-end {
    background: var(--forest);
    color: var(--white);
    text-decoration: none;
}

.cal-legend {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.cal-legend li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.swatch {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 4px;
    border: 1px solid var(--line);
}

.swatch-free { background: var(--white); }
.swatch-booked { background: repeating-linear-gradient(135deg, #e3d9c9, #e3d9c9 3px, #d6cab6 3px, #d6cab6 6px); }
.swatch-partial { background: linear-gradient(135deg, var(--white) 50%, #f1d9c6 50%); }
.swatch-selected { background: var(--forest); border-color: var(--forest); }

.cal-status {
    margin: 0.75rem 0 0;
}

.inquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.inquiry-form h3 {
    grid-column: 1 / -1;
    margin: 0;
}

.inquiry-form .field-full {
    grid-column: 1 / -1;
}

.inquiry-form label > span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--ink);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: 2px solid var(--moss);
    border-color: var(--moss);
}

.inquiry-form .consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.88rem;
}

.inquiry-form .consent input {
    width: auto;
    margin-top: 0.3rem;
}

.inquiry-form .consent span {
    font-weight: 400;
    font-size: 0.88rem;
    margin: 0;
}

.inquiry-form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.inquiry-form button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.form-status.is-ok {
    background: #dcebdf;
    color: var(--forest);
}

.form-status.is-error {
    background: #f6ddd2;
    color: #7a2e12;
}

@media (max-width: 960px) {
    .booking-tool,
    .cal-months {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .inquiry-form {
        grid-template-columns: 1fr;
        padding: 1.1rem;
    }

    .space-tab {
        flex: 1 1 100%;
    }
}

/* Hero exit on scroll: text drifts up and fades, video darkens.
   --p goes from 0 (top of page) to 1 (hero scrolled away); set by js/main.js. */
.hero-video-wrap .hero {
    transform: translate3d(0, calc(var(--p, 0) * -70px), 0);
    opacity: calc(1 - var(--p, 0) * 1.15);
    will-change: transform, opacity;
}

.hero-video-shade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #0e1612;
    opacity: calc(var(--p, 0) * 0.65);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-wrap .hero {
        transform: none;
        opacity: 1;
    }

    .hero-video-shade::after {
        opacity: 0;
    }

    .parallax-frame img {
        transform: none;
    }
}

/* Home: short closing call to action */
.closing-cta {
    text-align: center;
}

.closing-cta .hero-actions {
    justify-content: center;
    margin-top: 1.25rem;
}
