/* ============================================================================
   Vyv's Vacations — design system
   One brand, two characters: adventure (light/earthy) & luxury (dark/refined),
   held together by brass + the contour motif.
   ========================================================================== */

:root {
  /* Shared backbone */
  --ink: #1c231e;            /* near-black forest green — primary text */
  --ink-soft: #3a423a;
  --brass: #b08542;          /* the single accent across both themes */
  --brass-deep: #7e5c28;     /* darker — for accent TEXT on light bg (AA ~4.9:1) */

  /* Adventure (the hut): sage · nautical navy · pine · paper */
  --sage: #7e8c6f;
  --navy: #243044;
  --pine: #b78a4f;
  --paper: #ebe8df;          /* warm linen ground (not a flat cream) */
  --paper-2: #e2ded2;

  /* Luxury (the house): charcoal · larch honey · meadow · linen */
  --charcoal: #23262a;
  --larch: #b5803e;
  --meadow: #8a9678;
  --linen: #ded7c8;          /* warm off-white text on dark */
  --linen-dim: #b6b1a3;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;             /* restrained, not pill-soft */

  /* Loaded via Google Fonts in partials/head.php; fallbacks keep layout sane if blocked. */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#main { flex: 1 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 1rem; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

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

/* ── Signature: contour lines ─────────────────────────────────────────────── */
.contours { width: 100%; height: 100%; display: block; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }

.wordmark { display: inline-flex; align-items: baseline; gap: 0.4ch; text-decoration: none; line-height: 1; }
.wordmark-vyv { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; font-style: italic; color: var(--ink); }
.wordmark-vac { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-deep); }

.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.8rem); }
.site-nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.18s ease; }
.site-nav a:hover { color: var(--ink); }
.nav-book {
  border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 0.4rem 0.95rem !important; color: var(--ink) !important;
}
.nav-book:hover { background: var(--ink); color: var(--paper) !important; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6ch;
  font-size: 0.95rem; text-decoration: none; cursor: pointer;
  padding: 0.8rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-deep); }
.btn-ghost { border-color: currentColor; }
/* tint of the current colour, not a full fill — keeps text contrast on any bg */
.btn-ghost:hover { background: color-mix(in srgb, currentColor 18%, transparent); border-color: currentColor; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; color: var(--linen); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Video sits over the still poster/fallback; if it can't play, the image shows through. */
.hero-video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28,35,30,0.25) 0%, rgba(28,35,30,0.15) 40%, rgba(28,35,30,0.82) 100%);
}
.hero-contours { position: absolute; inset: 0; z-index: 2; color: var(--linen); opacity: 0.18; mix-blend-mode: soft-light; }
.hero-inner { position: relative; z-index: 3; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero .eyebrow { color: var(--linen); opacity: 0.9; }
.hero-lede { max-width: 46ch; margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: color-mix(in srgb, var(--linen) 92%, white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-gridref { position: absolute; top: clamp(1.2rem, 4vw, 2rem); right: var(--gutter); z-index: 3; color: var(--linen); opacity: 0.85; }

/* ── Section scaffolding ──────────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-top: 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }

/* ── The two accommodation cards ──────────────────────────────────────────── */
.stays { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.stay-card {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stay-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -28px rgba(28,35,30,0.5); }
.stay-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.stay-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.stay-card:hover .stay-media img { transform: scale(1.04); }
.stay-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: color-mix(in srgb, var(--ink) 80%, transparent); color: var(--paper);
  padding: 0.35rem 0.7rem; border-radius: var(--radius);
}
.stay-body { padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.stay-body h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.stay-meta { display: flex; gap: 1rem; color: var(--brass-deep); }
.stay-oneliner { color: var(--ink-soft); flex: 1; }
.stay-more { display: inline-flex; align-items: center; gap: 0.5ch; font-weight: 600; color: var(--ink); margin-top: 0.4rem; }
.stay-card:hover .stay-more { color: var(--brass-deep); }

/* card colour-keys per theme */
.stay-adventure { border-top: 4px solid var(--sage); }
.stay-luxury { border-top: 4px solid var(--larch); }

/* ── The Land ─────────────────────────────────────────────────────────────── */
.land { position: relative; background: var(--ink); color: var(--linen); overflow: hidden; }
.land-contours { position: absolute; inset: 0; color: var(--brass); opacity: 0.16; z-index: 0; }
.land-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.land h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.land .eyebrow { color: var(--brass); }
.land p { color: var(--linen-dim); }
.land-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.land-points li { display: flex; gap: 0.8rem; align-items: baseline; }
.land-points .mono { color: var(--brass); flex-shrink: 0; }
.land-figure { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.land-figure img { width: 100%; height: 100%; object-fit: cover; }

.land-nearby { position: relative; z-index: 1; margin-top: clamp(3rem, 6vw, 5rem); }
.land-nearby-title { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--linen); margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.nearby-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem); }
.nearby-card { border: 1px solid color-mix(in srgb, var(--linen) 16%, transparent); border-radius: var(--radius); padding: clamp(1.1rem, 2vw, 1.5rem); background: color-mix(in srgb, var(--linen) 4%, transparent); transition: border-color 0.2s ease, transform 0.2s ease; }
.nearby-card:hover { border-color: color-mix(in srgb, var(--brass) 60%, transparent); transform: translateY(-3px); }
.nearby-dist { color: var(--brass); display: block; margin-bottom: 0.6rem; }
.nearby-card h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--linen); }
.nearby-card p { color: var(--linen-dim); margin: 0; font-size: 0.95rem; }
.nearby-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.2rem, 4vw, 3rem); align-items: end; border-color: color-mix(in srgb, var(--brass) 45%, transparent); background: color-mix(in srgb, var(--brass) 9%, transparent); }
.nearby-card--feature > :not(.nearby-link) { grid-column: 1; }
.nearby-card--feature h4 { font-size: clamp(1.5rem, 3vw, 2rem); }
.nearby-card--feature p { max-width: 62ch; font-size: 1rem; }
.nearby-link { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.75em 1.2em; border: 1px solid var(--brass); border-radius: 999px; color: var(--linen); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.nearby-link:hover, .nearby-link:focus-visible { background: var(--brass); color: var(--ink); }

/* ── Arrive-by-code strip ─────────────────────────────────────────────────── */
.arrive { text-align: center; background: var(--paper-2); }
.arrive .eyebrow { display: inline-block; }
.arrive h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 20ch; margin-inline: auto; }
.arrive p { max-width: 52ch; margin-inline: auto; margin-top: 1rem; color: var(--ink-soft); }
.arrive .hero-actions { justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--linen); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid color-mix(in srgb, var(--linen) 18%, transparent); }
.footer-wordmark .wordmark-vyv { color: var(--linen); }
.footer-place { margin-top: 0.6rem; color: var(--linen-dim); }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { text-decoration: none; color: var(--linen-dim); }
.footer-nav a:hover { color: var(--linen); }
.footer-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: var(--linen-dim); }
.footer-fine .mono { color: var(--brass); }

/* ============================================================================
   Accommodation subpage — re-skinned per theme
   ========================================================================== */
.stay-page { padding-top: 0; }

.stay-hero { position: relative; min-height: min(72vh, 620px); display: flex; align-items: flex-end; overflow: hidden; color: var(--linen); }
.stay-hero-media { position: absolute; inset: 0; }
.stay-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.stay-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,35,30,0.25) 0%, rgba(28,35,30,0.45) 45%, rgba(28,35,30,0.9) 100%); }
.stay-hero-inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.stay-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.stay-hero .eyebrow { color: var(--linen); text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
.stay-hero-sub { max-width: 50ch; margin-top: 1rem; font-size: 1.2rem; color: color-mix(in srgb, var(--linen) 92%, white); text-shadow: 0 1px 16px rgba(0,0,0,0.5); }

.stay-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.stay-intro h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--paper); padding: 1.1rem 1.2rem; }
.facts .mono { color: var(--brass-deep); display: block; margin-bottom: 0.3rem; }
.facts strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.facts-panel { display: grid; gap: 0.9rem; align-content: start; }
.stay-note { color: var(--brass-deep); font-size: 0.85rem; letter-spacing: 0.02em; margin: 0; }
.theme-luxury .stay-note { color: var(--larch); }
.stay-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 1.4rem 0; }
.stay-price .eyebrow { width: 100%; margin: 0 0 0.1rem; }
.stay-price .amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.stay-price .per { color: var(--brass-deep); }
.theme-luxury .stay-price .per { color: var(--larch); }
.stay-price .min { width: 100%; font-size: 0.85rem; letter-spacing: 0.02em; opacity: 0.85; }
.contact-phone { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.features li { display: flex; gap: 0.8rem; align-items: baseline; }
.features li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 0.5rem; border-radius: 50%; background: var(--brass); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(0.5rem, 1.5vw, 1rem); }
.gallery figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery--portrait figure, .gallery--portrait figure:first-child { aspect-ratio: 3 / 4; }

.stay-cta { text-align: center; }
.stay-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.stay-cta p { max-width: 50ch; margin-inline: auto; margin-top: 1rem; }
.stay-cta .hero-actions { justify-content: center; }

.stay-nextlink { display: inline-flex; align-items: center; gap: 0.5ch; margin-top: 2rem; text-decoration: none; color: var(--brass-deep); font-weight: 600; }

/* Hero eyebrows stay light over photos regardless of theme (legibility) */
.theme-adventure .stay-hero .eyebrow,
.theme-luxury .stay-hero .eyebrow { color: var(--linen); }

/* Theme: ADVENTURE (light, earthy) — eyebrows use brass for contrast on cream */
.theme-adventure { --accent: var(--sage); }
.theme-adventure .btn-primary { background: var(--sage); }
.theme-adventure .btn-primary:hover { background: color-mix(in srgb, var(--sage) 80%, black); }
.theme-adventure .features li::before { background: var(--sage); }

/* Theme: LUXURY (dark, refined) */
.theme-luxury { background: var(--charcoal); color: var(--linen); --accent: var(--larch); }
.theme-luxury .section-head p, .theme-luxury .stay-intro p { color: var(--linen-dim); }
.theme-luxury .eyebrow { color: var(--larch); }
.theme-luxury .facts { background: color-mix(in srgb, var(--linen) 16%, transparent); border-color: color-mix(in srgb, var(--linen) 16%, transparent); }
.theme-luxury .facts li { background: var(--charcoal); }
.theme-luxury .facts .mono { color: var(--larch); }
.theme-luxury .btn-primary { background: var(--larch); }
.theme-luxury .btn-primary:hover { background: color-mix(in srgb, var(--larch) 82%, black); }
.theme-luxury .btn-ghost { color: var(--linen); }
.theme-luxury .features li::before { background: var(--larch); }
.theme-luxury .stay-nextlink { color: var(--larch); }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 0.95rem; padding: 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-aside { background: var(--ink); color: var(--linen); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); }
.contact-aside h3 { color: var(--linen); margin-bottom: 0.8rem; }
.contact-aside a { color: var(--brass); }
.contact-aside dl { margin: 1.2rem 0 0; display: grid; gap: 0.8rem; }
.contact-aside dt { color: var(--brass); }
.contact-aside dd { margin: 0.1rem 0 0; color: var(--linen-dim); }

.contact-map { margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.contact-map-place { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin: 0.2rem 0 0; }
.contact-map-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.contact-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.02); }
.contact-map-note { margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ── Booking ──────────────────────────────────────────────────────────────── */
.field-error {
  background: color-mix(in srgb, #b3261e 10%, transparent);
  border: 1px solid color-mix(in srgb, #b3261e 35%, transparent);
  color: #7a1c16; border-radius: var(--radius);
  padding: 0.7rem 0.9rem; margin-top: 1rem; font-size: 0.9rem;
}
.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* Contact form: success note + bot honeypot (visually gone, not display:none,
   so bots that skip hidden fields still fill it). */
.form-note {
  background: color-mix(in srgb, var(--brass-deep) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass-deep) 35%, transparent);
  color: var(--brass-deep); border-radius: var(--radius);
  padding: 0.7rem 0.9rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2rem; }

.booking-quote { min-height: 1.4em; font-family: var(--font-mono); font-size: 0.9rem; color: var(--brass-deep); margin-top: 0.6rem; }

.booking-calendar { margin-top: 0.5rem; margin-bottom: 0.5rem; max-width: 320px; }
.booking-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.booking-cal-label { font-family: var(--font-display); font-weight: 600; }
.booking-cal-nav {
  background: none; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: var(--radius); width: 2rem; height: 2rem; cursor: pointer;
  font-size: 1.1rem; color: var(--ink); line-height: 1;
}
.booking-cal-nav:hover { border-color: var(--brass); color: var(--brass-deep); }

.booking-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.booking-cal-dow { text-align: center; font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-soft); padding-bottom: 0.3rem; }
.booking-cal-blank { display: block; }
.booking-cal-day {
  aspect-ratio: 1; border: none; border-radius: var(--radius); background: #fff;
  font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer;
}
.booking-cal-day:hover:not(:disabled) { background: color-mix(in srgb, var(--brass) 18%, transparent); }
.booking-cal-day.is-disabled { color: color-mix(in srgb, var(--ink) 30%, transparent); cursor: not-allowed; text-decoration: line-through; }
.booking-cal-day.is-start, .booking-cal-day.is-end { background: var(--brass); color: #fff; font-weight: 600; }
.booking-cal-day.is-in-range { background: color-mix(in srgb, var(--brass) 22%, transparent); }

/* ── Book now (/book-now/): live Bookwhen calendar ───────────────────────── */
/* Each stay tints the calendar: larch for the Tiny House, sage for the hut. */
.bk { --acc: var(--brass); --acc-strong: var(--brass-deep); --band: color-mix(in srgb, var(--brass) 20%, transparent); }
.bk[data-stay="house"] { --acc: var(--larch); --acc-strong: #8a5c24; --band: color-mix(in srgb, var(--larch) 22%, transparent); }
.bk[data-stay="hut"] { --acc: var(--sage); --acc-strong: #55654a; --band: color-mix(in srgb, var(--sage) 26%, transparent); }

.bk svg { width: 1em; height: 1em; flex-shrink: 0; }

.bk-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--linen); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.bk-hero-contours { position: absolute; inset: 0; color: var(--brass); opacity: 0.14; }
.bk-hero-inner { position: relative; }
.bk-hero .eyebrow { color: var(--brass); }
.bk-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 18ch; }
.bk-hero h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
.bk-lede { max-width: 52ch; margin-top: 1.1rem; color: var(--linen-dim); font-size: clamp(1rem, 0.96rem + 0.3vw, 1.15rem); }

.bk-stays { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.8rem, 2vw, 1.2rem); margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.bk-stay {
  position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 150px;
  padding: 0; text-align: left; font: inherit; color: var(--linen); cursor: pointer; overflow: hidden;
  background: color-mix(in srgb, var(--linen) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--linen) 16%, transparent); border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bk-stay:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.bk-stay[aria-checked="true"] {
  background: color-mix(in srgb, var(--linen) 10%, transparent); border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass), 0 26px 60px -32px rgba(0, 0, 0, 0.7);
}
.bk-stay-media { position: relative; overflow: hidden; }
.bk-stay-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.85); transition: filter 0.3s ease, transform 0.5s ease; }
.bk-stay[aria-checked="true"] .bk-stay-media img, .bk-stay:hover .bk-stay-media img { filter: none; transform: scale(1.04); }
.bk-stay-body { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; padding: 1.2rem 3rem 1.2rem 1.3rem; }
.bk-stay-kicker { color: var(--brass); }
.bk-stay-name { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.1; }
.bk-stay-meta { font-size: 0.88rem; color: var(--linen-dim); line-height: 1.45; }
.bk-stay-meta b { color: var(--linen); font-weight: 600; }
.bk-stay-tick {
  position: absolute; top: 0.9rem; right: 0.9rem; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; color: transparent;
  border: 1px solid color-mix(in srgb, var(--linen) 35%, transparent); transition: all 0.2s ease;
}
.bk-stay-tick svg { width: 15px; height: 15px; }
.bk-stay[aria-checked="true"] .bk-stay-tick { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.bk-main { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }

.bk-panel { background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 6px; padding: clamp(1.1rem, 3vw, 2rem); }
.bk-panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.6rem; }
.bk-panel-head .eyebrow { margin-bottom: 0.5rem; color: var(--acc-strong); transition: color 0.3s ease; }
.bk-panel-title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); max-width: 24ch; }

.bk-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bk-chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  padding: 0.45rem 0.8rem; font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer;
  background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: var(--radius);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.bk-chip .mono { font-size: 0.6rem; color: var(--acc-strong); }
.bk-chip:hover { border-color: var(--acc); }
.bk-chip.is-on { border-color: var(--acc-strong); background: var(--band); }

/* Calendar */
.bk-cal { position: relative; min-height: 330px; }
.bk-cal-nav { position: absolute; top: -0.2rem; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.bk-arrow {
  pointer-events: auto; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0;
  font-size: 1.1rem; color: var(--ink); cursor: pointer; background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 50%;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.bk-arrow:hover:not(:disabled) { border-color: var(--acc); color: var(--acc-strong); }
.bk-arrow:disabled { opacity: 0.3; cursor: default; }
.bk-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.bk-month-name { text-align: center; font-size: 1.2rem; line-height: 1.8rem; margin-bottom: 0.9rem; }
.bk-month-name span { font-weight: 400; color: var(--ink-soft); }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bk-dow span { text-align: center; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 0.4rem; }
.bk-days { row-gap: 4px; }

.bk-day {
  position: relative; z-index: 0; aspect-ratio: 1 / 1.05; min-width: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font: inherit; color: var(--ink); background: transparent; border: 0; cursor: pointer;
}
.bk-day::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 6px;
  border: 1px solid transparent; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.bk-num { font-size: 0.95rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-sub { font-family: var(--font-mono); font-size: 0.58rem; line-height: 1; color: var(--ink-soft); white-space: nowrap; }
.bk-day[aria-disabled="true"] { cursor: default; }

.bk-day.is-free::before { background: var(--paper); border-color: color-mix(in srgb, var(--ink) 8%, transparent); }
.bk-day.is-free:not([aria-disabled]):hover::before, .bk-day.is-out:hover::before { border-color: var(--acc-strong); transform: translateY(-1px); }
.bk-day.is-short { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.bk-day.is-short::before { background: transparent; border-style: dashed; }
.bk-day.is-taken .bk-num { color: color-mix(in srgb, var(--ink) 30%, transparent); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 400; }
.bk-day.is-taken::before { background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--ink) 7%, transparent) 5px 6px); }
.bk-day.is-off .bk-num { color: color-mix(in srgb, var(--ink) 22%, transparent); font-weight: 400; }

/* Choosing a check-out: valid days show the running total */
.bk-day.is-out::before { background: #fff; border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.bk-day.is-out .bk-sub { color: var(--acc-strong); font-weight: 700; }
.bk-day.is-outonly::before { background: repeating-linear-gradient(135deg, #fff 0 5px, color-mix(in srgb, var(--acc) 14%, #fff) 5px 6px); }
.bk-day.is-minstay { background: color-mix(in srgb, var(--acc) 10%, transparent); }
.bk-day.is-minstay .bk-num { color: var(--acc-strong); }

/* The stay itself: a band from check-in to check-out */
.bk-day.is-range, .bk-day.is-preview { background: var(--band); }
.bk-day.is-range::before, .bk-day.is-preview::before { background: transparent; border-color: transparent; }
.bk-day.is-preview { background: color-mix(in srgb, var(--acc) 14%, transparent); }
.bk-day.is-start::before, .bk-day.is-end::before, .bk-day.is-preview-end::before {
  background: var(--acc-strong); border-color: var(--acc-strong); transform: none;
}
.bk-day.is-start, .bk-day.is-end, .bk-day.is-preview-end { color: #fff; }
.bk-day.is-start .bk-num, .bk-day.is-end .bk-num, .bk-day.is-preview-end .bk-num { color: #fff; text-decoration: none; font-weight: 700; }
.bk-day.is-start .bk-sub, .bk-day.is-end .bk-sub, .bk-day.is-preview-end .bk-sub { color: color-mix(in srgb, #fff 85%, transparent); text-transform: uppercase; letter-spacing: 0.1em; }
.bk-days:has(.is-range, .is-end, .is-preview-end) .bk-day.is-start { background: linear-gradient(90deg, transparent 50%, var(--band) 50%); }
.bk-day.is-end { background: linear-gradient(90deg, var(--band) 50%, transparent 50%); }
.bk-day.is-preview-end { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 14%, transparent) 50%, transparent 50%); }
.bk-day:focus-visible { outline: none; }
.bk-day:focus-visible::before { outline: 2px solid var(--ink); outline-offset: 1px; }

.bk-until { margin: 1.2rem 0 0; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }
.bk-until a { color: var(--acc-strong); white-space: nowrap; }
.bk[data-failed] .bk-legend { display: none; }
.bk-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; margin: 1.4rem 0 0; padding: 1rem 0 0; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); font-size: 0.82rem; color: var(--ink-soft); }
.bk-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.bk-legend i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.bk-legend .lg-free { background: var(--paper); }
.bk-legend .lg-taken { background: repeating-linear-gradient(135deg, transparent 0 3px, color-mix(in srgb, var(--ink) 14%, transparent) 3px 4px); }
.bk-legend .lg-pick { background: var(--acc-strong); border-color: var(--acc-strong); }

.bk-skeleton { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.bk-skeleton span, .bk-sum-loading span {
  display: block; height: 300px; border-radius: 6px;
  background: linear-gradient(100deg, var(--paper) 30%, color-mix(in srgb, var(--paper) 40%, #fff) 50%, var(--paper) 70%) 0 0 / 300% 100%;
  animation: bk-shimmer 1.4s linear infinite;
}
@keyframes bk-shimmer { to { background-position: -150% 0; } }
.bk-msg { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; max-width: 46ch; margin-inline: auto; }
.bk-msg p { margin: 0; color: var(--ink-soft); }
.bk-msg b { color: var(--ink); }

/* Summary card */
.bk-summary { position: sticky; top: 90px; overflow: hidden; border-radius: 6px; background: var(--ink); color: var(--linen); }
.bk-sum-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.bk-sum-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-sum-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28, 35, 30, 0.85)); }
.bk-sum-media .mono { position: absolute; left: 1.2rem; bottom: 0.9rem; z-index: 1; color: var(--linen); font-size: 0.72rem; }
.bk-sum-body { padding: 1.3rem 1.3rem 1.5rem; display: grid; gap: 1rem; }
.bk-when { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0.5rem; }
.bk-when-box { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.8rem; border: 1px solid color-mix(in srgb, var(--linen) 16%, transparent); border-radius: var(--radius); }
.bk-when-box .mono { color: var(--brass); font-size: 0.6rem; }
.bk-when-box b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.bk-when-box small { color: var(--linen-dim); font-size: 0.78rem; min-height: 1.2em; }
.bk-when-box.is-set { border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.bk-when-arrow { align-self: center; color: var(--linen-dim); }
.bk-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--linen-dim); }
.bk-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.bk-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid color-mix(in srgb, var(--linen) 16%, transparent); }
.bk-total .mono { color: var(--brass); }
.bk-total b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.bk-sum-hint { margin: 0; color: var(--linen-dim); font-size: 0.95rem; }
.bk .bk-cta { justify-content: center; width: 100%; background: var(--acc-strong); color: #fff; padding-block: 0.95rem; font-weight: 600; }
.bk .bk-cta:hover { background: color-mix(in srgb, var(--acc-strong) 80%, black); }
.bk-summary .bk-cta { background: var(--brass); color: var(--ink); }
.bk-summary .bk-cta:hover { background: color-mix(in srgb, var(--brass) 85%, white); }
.bk-cta.is-disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.bk-clear { justify-self: center; padding: 0.2rem; font: inherit; font-size: 0.85rem; color: var(--linen-dim); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bk-clear:hover { color: var(--linen); }
.bk-fine { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--linen-dim); }
.bk-fine a { color: var(--brass); }
.bk-sum-loading { display: grid; gap: 0.6rem; }
.bk-sum-loading span { height: 48px; opacity: 0.12; }

.bk-help { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.bk-help a { color: var(--brass-deep); }

/* Phone/tablet: summary drops below; a bar keeps the total + checkout in reach */
.bk-bar { display: none; }
@media (max-width: 1099px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-summary { position: static; display: grid; grid-template-columns: 40% 1fr; }
  .bk-sum-media { aspect-ratio: auto; min-height: 100%; }
  .bk-bar:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ink) 96%, transparent); color: var(--linen);
    backdrop-filter: blur(8px); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.6);
    animation: bk-rise 0.25s ease;
  }
  .bk-bar div { display: flex; flex-direction: column; gap: 0.1rem; }
  .bk-bar .mono { color: var(--brass); font-size: 0.62rem; }
  .bk-bar b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
  .bk-bar .btn { background: var(--brass); color: var(--ink); font-weight: 600; padding: 0.7rem 1.2rem; }
  body:has(.bk-bar:not([hidden])) .site-footer { padding-bottom: 6rem; }
}
@keyframes bk-rise { from { transform: translateY(100%); } }
@media (max-width: 759px) {
  .bk-months, .bk-skeleton { grid-template-columns: minmax(0, 1fr); }
  .bk-skeleton span:last-child { display: none; }
  .bk-stays { grid-template-columns: 1fr; }
  .bk-stay { grid-template-columns: 112px 1fr; min-height: 112px; }
  .bk-stay-body { padding: 0.9rem 2.8rem 0.9rem 1rem; }
  .bk-summary { grid-template-columns: 1fr; }
  .bk-sum-media { aspect-ratio: 21 / 9; }
  .bk-panel { padding: 1rem 0.6rem; border-inline: 0; border-radius: 0; margin-inline: calc(var(--gutter) * -1); }
  .bk-panel-head { padding-inline: 0.4rem; }
  .bk-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -0.4rem; padding-inline: 0.4rem; width: calc(100% + 0.8rem); }
  .bk-chip { flex-shrink: 0; }
  .bk-hero { padding-block: 2.5rem 2rem; }
  .bk-legend { padding-inline: 0.4rem; }
}

/* ── Privacy policy ───────────────────────────────────────────────────────── */
.policy { max-width: 68ch; }
.policy h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.2rem 0 0.8rem; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin-bottom: 1rem; }
.policy ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.policy li { margin-bottom: 0.4rem; }
.policy address { font-style: normal; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .stays { grid-template-columns: 1fr; }
  .land-inner, .stay-intro, .contact-grid, .booking-form-grid { grid-template-columns: 1fr; }
  .land-figure { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery--portrait figure:first-child { aspect-ratio: 4 / 3; }
  .nearby-grid { grid-template-columns: 1fr 1fr; }
  .nearby-card--feature { display: block; }
  .nearby-link { margin-top: 1.1rem; }
  .site-nav { gap: 0.8rem; font-size: 0.85rem; }
  .site-nav a:not(.nav-book) { display: none; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
