/*
 * Lazy Llama Campground & Farm · Sunflower Edition
 * Smoky Mountain Blue + Sunflower. Bricolage Grotesque headlines, Manrope body.
 * Self-contained: no external stylesheets besides Google Fonts.
 */

/* ===== Foundations ===== */
:root {
  --weight-regular: 400;
  --size-caption: 12px;
  --size-meta: 13px;
  --size-small: 14px;
  --size-body: 15px;
  --size-prose: 16px;
  --r-s: 12px;
  --r-m: 16px;
  --r-pill: 100px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-quick: 160ms;
  --gutter: clamp(16px, 3vw, 32px);
  --tap: 44px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #ffffff;
  color: #1a1f24;
  font: 400 15px/1.3 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin-inline: 0; }
a { color: inherit; }
b, strong { font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
small { font-size: max(12px, 0.85em); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid #14263a; outline-offset: 3px; border-radius: 6px; }

.screen-reader-text, .x-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.x-skip {
  position: absolute;
  z-index: 100;
  left: 12px;
  top: -80px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 100px;
  background: #f2b33d;
  color: #14263a;
  font: 800 15px/1 "Manrope", sans-serif;
  text-decoration: none;
}
.x-skip:focus { top: 12px; }
/* Smoky Mountain Blue + Sunflower, set through the library's own tokens so library parts follow it. */
:root {
  color-scheme: light;
  --night: #14263a;
  --night-2: #1c334c;
  --smoky: #4f7396;
  --mist: #dce7f0;
  --wool: #ffffff;
  --wool-2: #f7f9fb;
  --sun: #f2b33d;
  --sun-deep: #e09e1f;
  --pasture: #5f8f3e;
  --pasture-ink: #3f6e26;
  --pasture-tint: #e6efdd;
  --ink: #1a1f24;
  --slate: #4a5866;
  --on-night: #ffffff;
  --on-night-2: #c9d6e3;
  --line-night: #ffffff26;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-primary: var(--ink);
  --text-secondary: var(--slate);
  --fill-primary: var(--night);
  --text-primary-on: #ffffff;
  --fill-primary-on: var(--wool);
  --fill-tertiary: var(--mist);
  --stroke-primary: #14263a33;
  --stroke-secondary: #14263a1a;
  --x-shadow: 0 1px 2px #14263a10, 0 18px 40px -20px #14263a40;
  --x-wide: 1200px;
  --x-band: clamp(72px, 10vw, 128px);
  --x-r-photo: clamp(20px, 2.2vw, 28px);
}

/* Frame */
.x-flush { width: 100%; }
.x-in { max-width: var(--x-wide); margin-inline: auto; padding-inline: var(--gutter); }
.x-band { padding-block: var(--x-band); }
.x-band--night { background: var(--night); color: var(--on-night); }
.x-band--smoky { background: var(--smoky); color: #ffffff; }
.x-band--mist { background: var(--mist); }
.x-band--wool { background: var(--wool-2); }
.x-site { display: block; }
.x-site [id] { scroll-margin-top: 76px; }
.x-band--night :focus-visible, .x-band--smoky :focus-visible, .x-hero :focus-visible, .x-foot :focus-visible,
.x-nav.is-scrolled :focus-visible, .x-mbar :focus-visible, .x-rate--fav :focus-visible { outline-color: var(--sun); }

/* Type */
.x-eyebrow {
  font: 800 var(--size-caption)/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pasture-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.x-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--pasture); }
.x-band--night .x-eyebrow, .x-hero .x-eyebrow, .x-door--camp .x-eyebrow { color: var(--sun); }
.x-band--night .x-eyebrow::before, .x-hero .x-eyebrow::before, .x-door--camp .x-eyebrow::before, .x-band--smoky .x-eyebrow::before { background: var(--sun); }
.x-band--smoky .x-eyebrow { color: #ffffff; }
.x-h1, .x-h2, .x-h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.x-h1 { font-size: clamp(52px, 8.6vw, 124px); line-height: 0.92; }
.x-h2 { font-size: clamp(36px, 5vw, 64px); line-height: 0.98; }
.x-h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; font-weight: 700; }
.x-h2 em { font-style: normal; box-shadow: inset 0 -0.16em 0 var(--sun); }
.x-lede { font: var(--weight-regular) clamp(17px, 1.6vw, 20px)/1.6 var(--sans); max-width: 38em; }
.x-body { font: var(--weight-regular) var(--size-prose)/1.65 var(--sans); }
.x-muted { color: var(--text-secondary); }
.x-band--night .x-muted { color: var(--on-night-2); }
.x-band--smoky .x-muted { color: #ffffff; }
.x-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

/* Buttons */
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font: 800 15px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out);
}
.x-btn--sun { background: var(--sun); border-color: var(--sun); color: var(--night); }
.x-btn--sun:hover { background: var(--sun-deep); border-color: var(--sun-deep); }
.x-btn--line { border-color: currentColor; color: inherit; }
.x-btn--line:hover { background: var(--night); border-color: var(--night); color: #ffffff; }
.x-band--night .x-btn--line:hover, .x-band--smoky .x-btn--line:hover, .x-hero .x-btn--line:hover, .x-mbar .x-btn--line:hover { background: #ffffff; border-color: #ffffff; color: var(--night); }
.x-btn svg { width: 16px; height: 16px; }
.x-textlink {
  font: 800 15px/1 var(--sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  border-bottom: 3px solid var(--sun);
}
.x-textlink:hover { color: var(--smoky); }
.x-band--night .x-textlink:hover, .x-band--smoky .x-textlink:hover, .x-place--map .x-textlink:hover { color: var(--sun); }

/* Photos */
.x-photo { margin: 0; border-radius: var(--x-r-photo); overflow: hidden; box-shadow: var(--x-shadow); background: var(--mist); }
.x-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Nav: bright at the top, Ridge Night once the page scrolls */
.x-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wool);
  color: var(--ink);
  border-bottom: 1px solid var(--stroke-secondary);
  transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.x-nav.is-scrolled { background: var(--night); color: #ffffff; border-bottom-color: var(--night); }
.x-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.x-logo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); text-decoration: none; color: var(--night); }
.x-nav.is-scrolled .x-logo { color: #ffffff; }
.x-logo__mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--night); }
.x-logo__mark svg { width: 26px; height: 26px; }
.x-logo__words { display: grid; gap: 3px; }
.x-logo b { font: 800 23px/1 var(--display); letter-spacing: -0.02em; }
.x-logo small { font: 800 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pasture-ink); }
.x-nav.is-scrolled .x-logo small { color: var(--sun); }
.x-nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.x-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 12px;
  font: 700 var(--size-small)/1 var(--sans);
  text-decoration: none;
  color: inherit;
}
.x-nav__links a:hover { box-shadow: inset 0 -3px 0 var(--sun); }
.x-nav__end { display: flex; align-items: center; gap: 8px; }
.x-nav__end .x-btn { min-height: var(--tap); padding: 0 20px; }
.x-burger {
  display: none;
  flex: none;
  width: var(--tap);
  min-width: var(--tap);
  height: var(--tap);
  border: 2px solid var(--stroke-primary);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  place-items: center;
}
.x-nav.is-scrolled .x-burger { border-color: var(--line-night); }
.x-burger svg { width: 20px; height: 20px; }
.x-burger .x-close { display: none; }
.x-nav.is-open .x-burger .x-open { display: none; }
.x-nav.is-open .x-burger .x-close { display: block; }
/* Full-screen slide-in menu, phones, tablets and small laptops */
@media (max-width: 1199px) {
  .x-burger { display: grid; }
  .x-logo, .x-nav__end { position: relative; z-index: 2; }
  .x-nav.is-open { background: var(--night); color: #ffffff; border-bottom-color: var(--night); }
  .x-nav.is-open .x-logo { color: #ffffff; }
  .x-nav.is-open .x-logo small { color: var(--sun); }
  .x-nav.is-open .x-burger { border-color: var(--line-night); }
  .x-nav.is-open :focus-visible { outline-color: var(--sun); }
  .x-nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100vh;
    height: 100dvh;
    padding: 96px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(112px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--night);
    color: #ffffff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 420ms var(--ease-out), visibility 0s linear 420ms;
  }
  .x-nav.is-open .x-nav__links { transform: none; visibility: visible; transition: transform 420ms var(--ease-out), visibility 0s; }
  .x-nav__links li { opacity: 0; transform: translateX(28px); transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
  .x-nav.is-open .x-nav__links li { opacity: 1; transform: none; }
  .x-nav.is-open .x-nav__links li:nth-child(2) { transition-delay: 40ms; }
  .x-nav.is-open .x-nav__links li:nth-child(3) { transition-delay: 80ms; }
  .x-nav.is-open .x-nav__links li:nth-child(4) { transition-delay: 120ms; }
  .x-nav.is-open .x-nav__links li:nth-child(5) { transition-delay: 160ms; }
  .x-nav.is-open .x-nav__links li:nth-child(6) { transition-delay: 200ms; }
  .x-nav.is-open .x-nav__links li:nth-child(7) { transition-delay: 240ms; }
  .x-nav.is-open .x-nav__links li:nth-child(8) { transition-delay: 280ms; }
  .x-nav.is-open .x-nav__links li:nth-child(9) { transition-delay: 320ms; }
  .x-nav.is-open .x-nav__links li:nth-child(10) { transition-delay: 360ms; }
  .x-nav__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 68px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-night);
    font: 800 clamp(28px, 8vw, 44px)/1.05 var(--display);
    letter-spacing: -0.02em;
    color: #ffffff;
  }
  .x-nav__links a::after { content: "→"; flex: none; font: 700 22px/1 var(--sans); color: var(--sun); }
  .x-nav__links a:hover { box-shadow: none; color: var(--sun); }
  .x-nav__links :focus-visible { outline-color: var(--sun); }
  html.x-lock, html.x-lock body { overflow: hidden; }
}
@media (max-width: 1199px) and (prefers-reduced-motion: reduce) {
  .x-nav__links, .x-nav__links li { transition: none !important; }
}
@media (max-width: 420px) {
  .x-logo small { display: none; }
  .x-nav__bar { gap: 10px; }
  .x-logo { gap: 8px; }
  .x-logo__mark { width: 36px; height: 36px; }
  .x-logo b { font-size: 20px; }
  .x-nav__end .x-btn { padding: 0 14px; }
}

/* Hero: full-bleed photo, Ridge Night overlay, ridgeline at its foot */
.x-hero {
  position: relative;
  min-height: clamp(580px, 86vh, 840px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  background: var(--night);
}
.x-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}
.x-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 38, 58, 0.94) 0%, rgba(20, 38, 58, 0.65) 45%, rgba(20, 38, 58, 0.3) 80%, rgba(20, 38, 58, 0.45) 100%),
    linear-gradient(to right, rgba(20, 38, 58, 0.82) 0%, rgba(20, 38, 58, 0.45) 55%, rgba(20, 38, 58, 0.12) 100%);
}
.x-hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(96px, 11vw, 150px) clamp(110px, 13vw, 160px);
}
.x-hero__inner {
  display: grid;
  gap: 20px;
  max-width: 860px;
}
.x-hero .x-h1 {
  isolation: isolate;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 1.02;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.x-brush {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.x-brush svg {
  position: absolute;
  z-index: -1;
  left: -3%;
  bottom: -0.1em;
  width: 106%;
  height: 0.3em;
  overflow: visible;
  color: var(--sun);
}
.x-hero__sub {
  font: 500 clamp(16px, 1.5vw, 20px)/1.6 var(--sans);
  max-width: 36em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.x-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.x-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font: 700 var(--size-meta)/1 var(--sans);
  letter-spacing: 0.02em;
  color: #ffffff;
}
.x-hero__motto {
  font: 600 italic var(--size-meta)/1.5 var(--sans);
  color: var(--sun);
  letter-spacing: 0.02em;
}
.x-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 18px;
  border-top: 1px solid #ffffff40;
  font: 700 var(--size-meta)/1.4 var(--sans);
  letter-spacing: 0.06em;
  color: var(--on-night-2);
}
.x-trust span + span::before { content: "·"; margin-right: 18px; color: var(--sun); }
.x-ridge { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; display: block; width: 100%; height: clamp(56px, 8vw, 120px); }
.x-ridge path { stroke-width: 3; stroke-linejoin: round; }
.x-ridge__back { fill: var(--smoky); stroke: var(--smoky); }
.x-ridge__front { fill: var(--night); stroke: var(--night); }
.x-ridge__ground { fill: var(--wool); stroke: none; }
.x-ridge__line { fill: none; stroke: var(--smoky); stroke-width: 2 !important; stroke-linecap: round; opacity: 0.6; }

/* Video Spotlight: Welcome Tour */
.x-spotlight {
  padding-block: clamp(56px, 8vw, 96px);
  background: linear-gradient(180deg, #ffffff 0%, var(--wool-2) 100%);
  position: relative;
  border-bottom: 1px solid var(--stroke-secondary);
}
.x-spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.x-spotlight__content {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}
.x-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--pasture-tint);
  color: var(--pasture-ink);
  font: 800 var(--size-meta)/1 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.x-spotlight__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pasture);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.x-spotlight__desc {
  font: var(--weight-regular) clamp(16px, 1.3vw, 18px)/1.65 var(--sans);
  color: var(--slate);
  text-wrap: pretty;
  max-width: 38em;
}
.x-spotlight__perks {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.x-spotlight__perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--r-m);
  background: #ffffff;
  border: 1px solid var(--stroke-secondary);
  box-shadow: 0 2px 8px rgba(20, 38, 58, 0.04);
  transition: transform var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out);
}
.x-spotlight__perk:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 38, 58, 0.08);
}
.x-spotlight__perk-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mist);
  font-size: 22px;
  line-height: 1;
}
.x-spotlight__perk-text strong {
  display: block;
  font: 800 var(--size-body)/1.35 var(--sans);
  color: var(--night);
  margin-bottom: 3px;
}
.x-spotlight__perk-text span {
  font: 400 var(--size-small)/1.5 var(--sans);
  color: var(--slate);
}
.x-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.x-spotlight__quote {
  font: 600 italic var(--size-small)/1.5 var(--sans);
  color: var(--smoky);
  border-left: 3px solid var(--sun);
  padding-left: 12px;
  margin-top: 2px;
}

/* Video Frame & Controls */
.x-spotlight__media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.x-video-frame {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9 / 16;
  border-radius: var(--x-r-photo);
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(20, 38, 58, 0.28), 0 0 0 1px rgba(20, 38, 58, 0.08);
  background: var(--night);
  user-select: none;
  cursor: pointer;
}
.x-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.x-video__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(20, 38, 58, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font: 800 12px/1 var(--sans);
  letter-spacing: 0.03em;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.x-video__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.x-video__center-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 3;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: rgba(242, 179, 61, 0.95);
  color: var(--night);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out), background-color 220ms var(--ease-out), visibility 220ms var(--ease-out);
}
.x-video__center-play:hover {
  transform: scale(1.1);
  background: #ffffff;
}
.x-video-frame.is-playing .x-video__center-play {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.6) !important;
  display: none !important;
}
.x-video-frame.is-playing .x-video__tag {
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.x-video__sound-hint {
  position: absolute;
  bottom: 62px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(20, 38, 58, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font: 800 12px/1 var(--sans);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: pulse-hint 2s infinite ease-in-out;
  transition: opacity 300ms ease;
}
@keyframes pulse-hint {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50% { transform: translateY(-3px); opacity: 1; }
}
.x-video__bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(20, 38, 58, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.x-video__bar button {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.x-video__bar button:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--sun);
  transform: scale(1.08);
}
.x-video__progress-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.x-video__progress {
  height: 100%;
  width: 0%;
  background: var(--sun);
  border-radius: 4px;
  transition: width 100ms linear;
}

@media (max-width: 900px) {
  .x-spotlight__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .x-spotlight__media {
    order: -1;
  }
  .x-video-frame {
    max-width: 320px;
    margin-inline: auto;
  }
}
@media (max-width: 480px) {
  .x-video-frame {
    max-width: 290px;
  }
}

/* Choose your stay */
.x-choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.x-door {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 52vw, 600px);
  padding: clamp(12px, 1.6vw, 18px);
  border-radius: var(--x-r-photo);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--x-shadow);
  background: var(--mist);
}
.x-door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.x-door:hover img { transform: scale(1.03); }
.x-door__copy { position: relative; z-index: 1; display: grid; gap: 12px; max-width: 30em; padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--x-r-photo) - 8px); background: #ffffff; }
.x-door--camp .x-door__copy { background: var(--night); color: #ffffff; }
.x-door .x-h2 { font-size: clamp(32px, 3.6vw, 48px); }
.x-door__copy p { font: var(--weight-regular) var(--size-prose)/1.55 var(--sans); color: var(--slate); }
.x-door--camp .x-door__copy p { color: var(--on-night-2); }
.x-door__go { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); font: 800 15px/1 var(--sans); color: var(--pasture-ink); }
.x-door--camp .x-door__go { color: var(--sun); }
.x-door__go svg { width: 18px; height: 18px; transition: transform var(--dur-quick) var(--ease-out); }
.x-door:hover .x-door__go svg { transform: translateX(4px); }
@media (max-width: 719px) { .x-choose { grid-template-columns: minmax(0, 1fr); } }

/* Figures strip */
.x-figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px); border-radius: var(--x-r-photo); background: var(--night); color: #ffffff; }
.x-fig { display: grid; gap: 8px; padding-inline: clamp(12px, 2vw, 28px); border-left: 1px solid var(--line-night); }
.x-fig:first-child { border-left: 0; padding-left: 0; }
.x-fig b { font: 800 clamp(30px, 3.4vw, 48px)/1 var(--display); letter-spacing: -0.02em; color: var(--sun); }
.x-fig span { font: 700 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-2); }
@media (max-width: 799px) {
  .x-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .x-fig { padding-left: 0; border-left: 0; }
  .x-fig:last-child { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-night); }
}

/* Chapter opener */
.x-chapter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.x-chapter__num { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--pasture-ink); color: #ffffff; font: 800 var(--size-caption)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.x-chapter__num::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.x-band--night .x-chapter__num { background: var(--sun); color: var(--night); }
.x-chapter__title { display: grid; gap: 22px; }
.x-chapter__aside { display: grid; gap: 24px; justify-items: start; padding-bottom: 6px; }
@media (max-width: 859px) { .x-chapter { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Farm experiences */
.x-exp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
.x-exp > :nth-child(1) { grid-column: span 7; }
.x-exp > :nth-child(2) { grid-column: span 5; margin-top: clamp(0px, 8vw, 96px); }
.x-exp > :nth-child(3) { grid-column: span 5; }
.x-exp > :nth-child(4) { grid-column: span 7; }
.x-card { display: grid; gap: 18px; align-content: start; }
.x-card .x-photo { aspect-ratio: 4 / 3; }
.x-card--tall .x-photo { aspect-ratio: 4 / 5; }
.x-card--tall .x-photo img { object-position: 50% 60%; }
.x-card__meta { display: flex; align-items: baseline; gap: 14px; }
.x-card__n { font: 800 20px/1 var(--display); color: var(--night); }
.x-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: var(--pasture-tint); font: 800 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pasture-ink); }
.x-card__meta { align-items: center; }
.x-card p { font: var(--weight-regular) var(--size-prose)/1.6 var(--sans); color: var(--text-secondary); max-width: 34em; }
.x-card--plain {
  align-self: start;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--x-r-photo);
  background: var(--mist);
  margin-top: clamp(0px, 4vw, 48px);
}
.x-card--plain svg { width: 44px; height: 44px; color: var(--pasture-ink); }
.x-card--plain .x-tag { background: #ffffff; }
.x-exp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 40px); border-radius: var(--x-r-photo); background: var(--mist); }
.x-exp-cta p { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -0.01em; color: var(--night); }
@media (max-width: 799px) {
  .x-exp > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Meet the herd strip */
.x-herd { margin-top: var(--x-band); }
.x-herd .x-head { margin-bottom: clamp(28px, 4vw, 44px); }
.x-herd__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.x-herd__card { margin: 0; display: grid; gap: 14px; align-content: start; padding: 12px 12px 22px; border-radius: var(--x-r-photo); background: var(--mist); }
.x-herd__card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: calc(var(--x-r-photo) - 8px); }
.x-herd__card figcaption { display: grid; gap: 6px; padding-inline: 10px; font: 500 var(--size-prose)/1.5 var(--sans); color: var(--slate); }
.x-herd__card figcaption b { display: flex; align-items: center; gap: 10px; font: 800 22px/1.1 var(--display); letter-spacing: -0.01em; color: var(--night); }
.x-herd__card figcaption b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pasture); }
@media (max-width: 719px) {
  .x-herd__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .x-herd__row::-webkit-scrollbar { display: none; }
  .x-herd__row > * { scroll-snap-align: start; }
}

/* Garden */
.x-garden { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: var(--x-band); }
.x-garden .x-photo { aspect-ratio: 4 / 5; }
.x-garden__copy { display: grid; gap: 24px; }
.x-garden__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.x-garden__facts div { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-m); background: var(--pasture-tint); }
.x-garden__facts b { font: 800 32px/1 var(--display); letter-spacing: -0.02em; color: var(--night); }
.x-garden__facts span { font: 600 var(--size-meta)/1.4 var(--sans); color: var(--pasture-ink); }
.x-pull { font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--display); letter-spacing: -0.01em; color: var(--night); padding-left: 20px; border-left: 4px solid var(--sun); }
.x-pull small { display: block; margin-top: 8px; font: 500 var(--size-meta)/1.4 var(--sans); letter-spacing: 0; color: var(--text-secondary); }
@media (max-width: 799px) { .x-garden { grid-template-columns: minmax(0, 1fr); } .x-garden .x-photo { aspect-ratio: 4 / 3; } }

/* Image band with quote */
.x-wideband { position: relative; min-height: clamp(380px, 58vw, 620px); display: flex; align-items: flex-end; background: var(--night); overflow: hidden; }
.x-wideband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.x-wideband .x-in { position: relative; z-index: 1; width: 100%; padding-block: clamp(24px, 4vw, 56px); }
.x-wideband blockquote { margin: 0; display: inline-block; max-width: 14em; padding: clamp(22px, 3vw, 36px); border-radius: var(--x-r-photo); background: var(--night); font: 800 clamp(28px, 4vw, 52px)/1 var(--display); letter-spacing: -0.02em; color: #ffffff; }
.x-wideband blockquote span { color: var(--sun); }

/* Campground */
.x-camp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 8vw, 104px); }
.x-camp-top__copy { display: grid; gap: 24px; }
.x-camp-top .x-photo { aspect-ratio: 3 / 4; background: var(--night-2); box-shadow: 0 24px 50px -24px #0008; }
@media (max-width: 799px) { .x-camp-top { grid-template-columns: minmax(0, 1fr); } .x-camp-top .x-photo { aspect-ratio: 4 / 3; } }
.x-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line-night); }
.x-feature .x-photo { aspect-ratio: 4 / 5; background: var(--night-2); box-shadow: 0 24px 50px -24px #0008; }
.x-feature__copy { display: grid; gap: 20px; }
.x-feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.x-feature li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-night); font: var(--weight-regular) var(--size-prose)/1.5 var(--sans); }
.x-feature li b { font: 800 26px/1 var(--display); color: var(--sun); min-width: 1.4em; }
@media (max-width: 799px) { .x-feature { grid-template-columns: minmax(0, 1fr); } .x-feature .x-photo { aspect-ratio: 4 / 3; } }
.x-amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-night); }
.x-amen > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-night); }
.x-amen svg { width: 32px; height: 32px; color: var(--sun); grid-row: span 2; }
.x-amen h3 { font: 700 22px/1.15 var(--display); letter-spacing: -0.01em; }
.x-amen p { font: var(--weight-regular) var(--size-small)/1.55 var(--sans); color: var(--on-night-2); }
@media (max-width: 899px) { .x-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .x-amen { grid-template-columns: minmax(0, 1fr); } .x-amen > div { padding-right: 0; } }

/* Rates */
.x-rates-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(32px, 5vw, 56px); }
.x-rates-head .x-head { margin-bottom: 0; }
.x-rates { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.x-rate { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 32px); border-radius: var(--x-r-photo); background: var(--mist); }
.x-rate__type { font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.x-rate__name { font: 800 clamp(22px, 2vw, 26px)/1.05 var(--display); letter-spacing: -0.015em; color: var(--night); }
.x-rate__sites { font: 600 var(--size-small)/1.4 var(--sans); color: var(--slate); }
.x-rate__price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; color: var(--night); }
.x-rate__price b { font: 800 clamp(40px, 4.4vw, 56px)/1 var(--display); letter-spacing: -0.03em; }
.x-rate__price span { font: 700 var(--size-small)/1 var(--sans); color: var(--slate); }
.x-rate__terms { padding-top: 12px; border-top: 1px solid var(--stroke-primary); font: 500 var(--size-small)/1.5 var(--sans); color: var(--ink); }
.x-rate__terms small { display: block; color: var(--slate); }
.x-rate--fav { grid-row: span 2; align-content: end; padding-top: clamp(72px, 9vw, 120px); background: var(--night); color: #ffffff; box-shadow: inset 0 0 0 2px var(--sun), var(--x-shadow); }
.x-rate--fav .x-rate__type, .x-rate--fav .x-rate__sites, .x-rate--fav .x-rate__price span, .x-rate--fav .x-rate__terms small { color: var(--on-night-2); }
.x-rate--fav .x-rate__name { font-size: clamp(32px, 3.4vw, 44px); color: #ffffff; }
.x-rate--fav .x-rate__price { color: var(--sun); }
.x-rate--fav .x-rate__price b { font-size: clamp(56px, 6vw, 80px); }
.x-rate--fav .x-rate__terms { color: #ffffff; border-top-color: var(--line-night); }
.x-rate--fav .x-btn { justify-self: start; margin-top: 10px; }
.x-rate__ribbon { position: absolute; top: 24px; right: 0; display: inline-flex; align-items: center; min-height: 36px; padding: 0 20px 0 26px; background: var(--sun); color: var(--night); font: 800 var(--size-caption)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
.x-rate .x-textlink { justify-self: start; }
@media (max-width: 899px) { .x-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-rate--fav { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 559px) { .x-rates { grid-template-columns: minmax(0, 1fr); } }
.x-rates-notes { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; margin-top: 28px; }
.x-rates-notes p { font: var(--weight-regular) var(--size-small)/1.6 var(--sans); color: var(--text-secondary); }
.x-rates-notes strong { color: var(--ink); }
@media (max-width: 719px) { .x-rates-notes { grid-template-columns: minmax(0, 1fr); } }

/* Llama Villa */
.x-llama-villa { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-llama-villa .x-photo { aspect-ratio: 4 / 5; }
.x-cabin__copy { display: grid; gap: 26px; justify-items: start; }
.x-badge-bnb { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; border: 2px solid var(--pasture-ink); border-radius: var(--r-pill); background: var(--pasture-tint); font: 800 var(--size-caption)/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pasture-ink); }
.x-badge-bnb::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pasture); }
@media (max-width: 799px) { .x-llama-villa { grid-template-columns: minmax(0, 1fr); } .x-llama-villa .x-photo { aspect-ratio: 4 / 3; } }

/* Plan your visit */
.x-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.x-plan > li { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: var(--x-r-photo); background: #ffffff; color: var(--ink); }
.x-plan > li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -23px; width: 12px; height: 12px; border-top: 3px solid var(--sun); border-right: 3px solid var(--sun); border-radius: 2px; transform: translateY(-50%) rotate(45deg); }
.x-plan__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--night); color: var(--sun); font: 800 24px/1 var(--display); }
.x-plan h3 { font: 800 clamp(22px, 2vw, 26px)/1.1 var(--display); letter-spacing: -0.015em; color: var(--night); }
.x-plan p { font: var(--weight-regular) var(--size-prose)/1.55 var(--sans); color: var(--slate); }
.x-plan .x-btns, .x-plan .x-textlink { margin-top: 4px; justify-self: start; }
.x-plan .x-btn { min-height: var(--tap); padding: 0 20px; }
.x-band--smoky .x-plan .x-btn--line:hover { background: var(--night); border-color: var(--night); color: #ffffff; }
.x-band--smoky .x-plan .x-textlink:hover { color: var(--smoky); }
.x-band--smoky .x-plan :focus-visible { outline-color: var(--night); }
@media (max-width: 859px) { .x-plan { grid-template-columns: minmax(0, 1fr); gap: 16px; } .x-plan > li::after { display: none; } }

/* Base camp */
.x-places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.x-place { display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-radius: 20px; background: #ffffff; box-shadow: 0 1px 2px #14263a14; }
.x-place__d { font: 800 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pasture-ink); }
.x-place h3 { font: 700 22px/1.12 var(--display); letter-spacing: -0.01em; color: var(--night); }
.x-place p { font: var(--weight-regular) var(--size-small)/1.5 var(--sans); color: var(--text-secondary); }
.x-place--map { background: var(--night); color: #ffffff; }
.x-place--map h3 { color: #ffffff; }
.x-place--map p { color: var(--on-night-2); }
.x-place--map .x-place__d { color: var(--sun); }
.x-place--map .x-textlink { justify-self: start; color: #ffffff; }
@media (max-width: 959px) { .x-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .x-places { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.x-faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.x-faq-wrap .x-head { margin-bottom: 0; }
.x-faq { border-top: 2px solid var(--night); }
.x-faq details { border-bottom: 1px solid var(--stroke-primary); }
.x-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-block: 12px; list-style: none; cursor: pointer; font: 700 clamp(18px, 1.6vw, 21px)/1.25 var(--display); letter-spacing: -0.01em; color: var(--night); }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); font: 700 22px/1 var(--sans); color: var(--night); transition: transform var(--dur-quick) var(--ease-out), background-color var(--dur-quick) var(--ease-out); }
.x-faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.x-faq summary:hover { color: var(--smoky); }
.x-faq details p { padding: 0 56px 22px 0; font: var(--weight-regular) var(--size-prose)/1.6 var(--sans); color: var(--slate); }
.x-faq details p a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 799px) { .x-faq-wrap { grid-template-columns: minmax(0, 1fr); } .x-faq details p { padding-right: 0; } }

/* Reviews */
.x-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.x-review { margin: 0; display: grid; gap: 22px; align-content: start; padding-top: 28px; border-top: 3px solid var(--sun); }
.x-review svg { width: 34px; height: 26px; color: #ffffff; }
.x-review blockquote { margin: 0; font: 600 clamp(21px, 2.1vw, 27px)/1.32 var(--display); letter-spacing: -0.01em; color: #ffffff; }
.x-review figcaption { font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff; }
.x-review figcaption span { letter-spacing: 0.08em; font-weight: 500; }
.x-reviews-foot { margin-top: clamp(36px, 5vw, 56px); }
.x-reviews-foot .x-textlink { color: #ffffff; }
@media (max-width: 799px) { .x-reviews { grid-template-columns: minmax(0, 1fr); } }

/* Closing CTA, ending in the ridgeline that becomes the footer */
.x-cta-band { position: relative; padding-bottom: calc(var(--x-band) + clamp(56px, 8vw, 120px)); }
.x-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-cta__copy { display: grid; gap: 28px; }
.x-cta .x-h1 { color: var(--night); font-size: clamp(46px, 7vw, 96px); }
.x-cta .x-photo { aspect-ratio: 3 / 4; box-shadow: 0 24px 50px -24px #14263a80; transform: rotate(1.5deg); }
.x-cta__fine { font: var(--weight-regular) var(--size-small)/1.5 var(--sans); color: var(--slate); }
.x-cta__fine a { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; min-height: var(--tap); text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 799px) { .x-cta { grid-template-columns: minmax(0, 1fr); } .x-cta .x-photo { max-width: 360px; transform: none; } }

/* Footer */
.x-foot { background: var(--night); color: #ffffff; padding-block: clamp(40px, 6vw, 72px) 32px; }
.x-foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-night); }
.x-foot .x-logo { color: #ffffff; }
.x-foot .x-logo small { color: var(--sun); }
.x-foot__brand { display: grid; gap: 18px; align-content: start; }
.x-foot__brand p { font: var(--weight-regular) var(--size-small)/1.6 var(--sans); color: #ffffff; max-width: 28em; }
.x-foot h3 { font: 800 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; margin-bottom: 14px; }
.x-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.x-foot li a, .x-foot li span { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); font: 600 var(--size-small)/1.4 var(--sans); color: var(--sun); text-decoration: none; }
.x-foot li a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.x-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font: var(--weight-regular) var(--size-caption)/1.4 var(--sans); color: var(--on-night-2); }
.x-foot__base a { color: var(--sun); font-weight: 700; display: inline-flex; align-items: center; min-height: var(--tap); }
@media (max-width: 799px) { .x-foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* Sticky booking bar, phones only */
.x-mbar { display: none; }
@media (max-width: 719px) {
  .x-mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--night); color: #ffffff; border-top: 1px solid var(--line-night); }
  .x-mbar .x-btn { min-height: 48px; padding: 0 16px; }
  .x-foot { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Mobile polish ===== */
html { overflow-x: clip; }
@media (max-width: 959px) {
  /* Body text never below 16px on phones and tablets */
  :root { --size-small: 16px; --size-meta: 16px; }
  body { font-size: 16px; }
  .x-btn, .x-textlink, .x-door__go { font-size: 16px; }
}
@media (min-width: 720px) and (max-width: 1024px) {
  .x-hero {
    min-height: clamp(540px, 75vh, 720px);
  }
  .x-hero > img {
    object-position: 65% 45%;
  }
  .x-hero__copy {
    padding-block: clamp(72px, 9vw, 110px) clamp(100px, 11vw, 130px);
  }
  .x-hero .x-h1 {
    font-size: clamp(38px, 5.4vw, 54px);
    line-height: 1.05;
  }
}
@media (max-width: 719px) {
  .x-brush {
    white-space: normal;
  }
  /* Hero: fully responsive, never clips content on phones */
  .x-hero {
    min-height: calc(100svh - 68px);
    min-height: 520px;
    justify-content: flex-start;
  }
  .x-hero > img {
    object-position: 68% 40%;
  }
  .x-hero__copy {
    padding-block: clamp(32px, 6vh, 52px) clamp(96px, 15vw, 125px);
  }
  .x-hero__inner {
    gap: 16px;
  }
  .x-hero .x-h1 {
    font-size: clamp(30px, 8.4vw, 42px);
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .x-hero__sub {
    font-size: 15px;
    line-height: 1.55;
  }
  .x-hero__badges {
    gap: 6px;
  }
  .x-hero__badges span {
    font-size: 12px;
    padding: 5px 10px;
  }
  .x-hero .x-btns, .x-cta .x-btns, .x-camp-top .x-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .x-hero .x-btn, .x-cta .x-btn, .x-camp-top .x-btn {
    width: 100%;
    min-height: 48px;
  }
  .x-hero__motto {
    font-size: 13px;
    text-align: center;
  }

  /* Campground / Farm selector: tall photo cards, text on a gradient */
  .x-choose { gap: 14px; }
  .x-door { min-height: min(76svh, 580px); padding: 0; background: var(--night); }
  .x-door .x-door__copy { z-index: 2; width: 100%; max-width: none; gap: 10px; padding: 4px 24px 28px; border-radius: 0; background: var(--night); color: #ffffff; }
  .x-door .x-door__copy::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: linear-gradient(to top, var(--night) 0%, rgb(20 38 58 / 0.7) 45%, rgb(20 38 58 / 0) 100%); pointer-events: none; }
  .x-door .x-door__copy p { color: var(--on-night-2); }
  .x-door .x-eyebrow, .x-door .x-door__go { color: var(--sun); }
  .x-door .x-eyebrow::before { background: var(--sun); }

  .x-fig b { font-size: 28px; }

  /* Swipe rows: walks, herd, nearby places */
  .x-exp, .x-herd__row, .x-places {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 85vw;
    gap: 14px;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .x-exp::-webkit-scrollbar, .x-herd__row::-webkit-scrollbar, .x-places::-webkit-scrollbar { display: none; }
  .x-exp > *, .x-herd__row > *, .x-places > * { scroll-snap-align: start; scroll-snap-stop: always; }
  .x-exp > * { grid-column: auto !important; margin-top: 0 !important; }
  .x-exp .x-photo, .x-card--tall .x-photo { aspect-ratio: 4 / 3; }
  .x-card--plain { align-self: stretch; padding: 28px 24px; }
  .x-herd__row > li, .x-herd__card { height: 100%; }

  /* Rates stack full width */
  .x-rates { grid-template-columns: minmax(0, 1fr); }
  .x-rate--fav .x-btn { justify-self: stretch; }

  /* Amenities: two columns, icon on top */
  .x-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .x-amen > div { grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; padding: 24px 0; }
  .x-amen svg { grid-row: auto; }
  .x-amen h3 { font-size: 19px; }

  /* FAQ: comfortable rows, never under 48px */
  .x-faq summary { min-height: 48px; padding-block: 14px; gap: 16px; font-size: 18px; }
  .x-faq details p { padding-bottom: 20px; }

  /* Images keep their shape */
  .x-wideband { min-height: 0; aspect-ratio: 4 / 5; }
  .x-cta .x-photo { aspect-ratio: 4 / 5; }

  /* Booking bar clears the side insets too */
  .x-mbar { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
}
@media (max-width: 399px) {
  .x-hero__copy { padding-block: 24px 105px; }
  .x-hero .x-h1 { font-size: 27px; }
  .x-hero__badges span:nth-child(n+3) { display: none; }
  .x-amen { grid-template-columns: minmax(0, 1fr); }
  .x-amen > div { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; }
  .x-amen svg { grid-row: span 2; }
}

/* Motion: a slow fade-up on scroll, nothing else */
.x-js .x-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out); }
.x-js .x-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .x-js .x-reveal { opacity: 1; transform: none; transition: none; }
  .x-door img { transition: none; }
}

/* ===== Multi-page additions (same tokens, same voice) ===== */

/* Active page in the nav */
.x-nav__links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sun); }
@media (max-width: 1199px) {
  .x-nav__links a[aria-current="page"] { box-shadow: none; color: var(--sun); }
}
@media (min-width: 1200px) and (max-width: 1319px) {
  .x-nav__links a { padding: 0 9px; }
  .x-nav__bar { gap: 16px; }
}

/* Inner-page hero: the same ridge, a shorter stage */
.x-hero--page { min-height: min(70vh, 640px); }
.x-hero--page .x-hero__copy { padding-block: clamp(96px, 11vw, 140px) clamp(100px, 11vw, 150px); }
.x-hero--page .x-h1 { font-size: clamp(44px, 6.4vw, 96px); }
.x-crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font: 700 var(--size-meta)/1.4 var(--sans); color: var(--on-night-2); }
.x-crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: #ffffff; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.x-crumbs li { display: inline-flex; align-items: center; }
.x-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--sun); }
@media (max-width: 719px) {
  .x-hero--page { min-height: 0; }
  .x-hero--page .x-hero__copy { padding-block: 64px 96px; }
  .x-hero--page .x-h1 { font-size: clamp(38px, 11vw, 56px); }
}

/* Generic photo + copy split (same rhythm as the llama-villa block) */
.x-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.x-split--rev > .x-photo { order: 2; }
.x-split .x-photo { aspect-ratio: 4 / 5; }
.x-split .x-photo--wide { aspect-ratio: 4 / 3; }
.x-split__copy { display: grid; gap: 24px; justify-items: start; }
.x-split + .x-split { margin-top: var(--x-band); }
@media (max-width: 799px) {
  .x-split, .x-split--rev { grid-template-columns: minmax(0, 1fr); }
  .x-split--rev > .x-photo { order: 0; }
  .x-split .x-photo { aspect-ratio: 4 / 3; }
}

/* Plain checklist */
.x-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; }
.x-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--stroke-primary); font: var(--weight-regular) var(--size-prose)/1.5 var(--sans); }
.x-checks li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px #f2b33d33; transform: translateY(1px); }
.x-checks b { font-weight: 800; color: var(--night); }
.x-band--night .x-checks li { border-bottom-color: var(--line-night); }
.x-band--night .x-checks b { color: #ffffff; }

/* Note cards: policies, good-to-know items */
.x-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.x-note { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 32px); border-radius: var(--x-r-photo); background: var(--mist); }
.x-band--mist .x-note { background: #ffffff; }
.x-band--night .x-note { background: var(--night-2); }
.x-note .x-note__k { font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pasture-ink); }
.x-band--night .x-note .x-note__k { color: var(--sun); }
.x-note h3 { font: 800 clamp(21px, 1.9vw, 24px)/1.1 var(--display); letter-spacing: -0.015em; color: var(--night); }
.x-band--night .x-note h3 { color: #ffffff; }
.x-note p { font: var(--weight-regular) var(--size-prose)/1.55 var(--sans); color: var(--slate); }
.x-band--night .x-note p { color: var(--on-night-2); }
.x-note a:not(.x-btn) { color: var(--ink); font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: var(--tap); }
.x-band--night .x-note a:not(.x-btn) { color: #ffffff; }
@media (max-width: 899px) { .x-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .x-notes { grid-template-columns: minmax(0, 1fr); } }

/* Rates table */
.x-table-wrap { border-radius: var(--x-r-photo); background: #ffffff; box-shadow: var(--x-shadow); overflow: hidden; }
.x-table { width: 100%; border-collapse: collapse; font: var(--weight-regular) var(--size-prose)/1.45 var(--sans); }
.x-table caption { text-align: left; padding: 22px 24px 0; font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.x-table th, .x-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stroke-secondary); }
.x-table thead th { font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); background: var(--wool-2); }
.x-table tbody th { font: 800 19px/1.2 var(--display); letter-spacing: -0.01em; color: var(--night); }
.x-table tbody th small { display: block; margin-top: 4px; font: 600 var(--size-small)/1.4 var(--sans); letter-spacing: 0; color: var(--slate); }
.x-table td.x-num { font: 800 22px/1.1 var(--display); color: var(--night); white-space: nowrap; }
.x-table tr.is-fav { background: #f2b33d1f; }
.x-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 759px) {
  .x-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .x-table, .x-table tbody, .x-table tr, .x-table th, .x-table td, .x-table caption { display: block; width: 100%; }
  .x-table caption { padding: 20px 20px 4px; }
  .x-table tr { padding: 18px 20px; border-bottom: 1px solid var(--stroke-primary); }
  .x-table th, .x-table td { padding: 6px 0; border: 0; }
  .x-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; }
  .x-table td::before { content: attr(data-label); font: 800 var(--size-caption)/1.6 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
  .x-table td.x-num { white-space: normal; }
}

/* Long-form text */
.x-prose { max-width: 720px; font: var(--weight-regular) 17px/1.7 var(--sans); color: var(--ink); }
.x-prose > * + * { margin-top: 1.1em; }
.x-prose h2, .x-prose h3, .x-prose h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: var(--night); margin-top: 1.6em; }
.x-prose h2 { font-size: clamp(30px, 3.4vw, 42px); }
.x-prose h3 { font-size: clamp(23px, 2.2vw, 28px); }
.x-prose a { color: var(--ink); font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.x-prose ul, .x-prose ol { padding-left: 1.3em; }
.x-prose li + li { margin-top: 0.4em; }
.x-prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--sun); font: 700 clamp(21px, 2vw, 25px)/1.3 var(--display); color: var(--night); }
.x-prose img { border-radius: var(--r-m); }

/* Gallery + lightbox */
.x-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); list-style: none; margin: 0; padding: 0; }
.x-gallery li { margin: 0; }
.x-gallery li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.x-gallery__btn { position: relative; display: block; width: 100%; height: 100%; min-height: var(--tap); padding: 0; border: 0; border-radius: var(--x-r-photo); overflow: hidden; background: var(--mist); cursor: zoom-in; box-shadow: var(--x-shadow); }
.x-gallery__btn img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 900ms var(--ease-out); }
.x-gallery li:nth-child(6n + 1) .x-gallery__btn img { aspect-ratio: auto; }
.x-gallery__btn:hover img { transform: scale(1.03); }
.x-gallery__btn span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgb(20 38 58 / 0.86); color: #ffffff; font: 600 var(--size-small)/1.35 var(--sans); text-align: left; opacity: 0; transform: translateY(6px); transition: opacity var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out); }
.x-gallery__btn:hover span, .x-gallery__btn:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 719px) {
  .x-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-gallery li:nth-child(6n + 1) { grid-row: auto; }
  .x-gallery li:nth-child(6n + 1) .x-gallery__btn img { aspect-ratio: 4 / 3; }
  .x-gallery__btn span { display: none; }
}
.x-lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 64px 16px 24px; background: rgb(12 24 37 / 0.94); color: #ffffff; }
.x-lightbox.is-open { display: grid; }
.x-lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(1200px, 100%); }
.x-lightbox img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 14px; }
.x-lightbox figcaption { font: 600 var(--size-prose)/1.45 var(--sans); color: var(--on-night-2); text-align: center; max-width: 40em; }
.x-lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #ffffff40; border-radius: 50%; background: var(--night); color: #ffffff; cursor: pointer; }
.x-lightbox__btn:hover { border-color: var(--sun); color: var(--sun); }
.x-lightbox__btn svg { width: 22px; height: 22px; }
.x-lightbox__close { top: 12px; right: 12px; }
.x-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.x-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.x-lightbox :focus-visible { outline-color: var(--sun); }
@media (max-width: 719px) {
  .x-lightbox__prev, .x-lightbox__next { top: auto; bottom: 16px; transform: none; }
  .x-lightbox { padding-bottom: 80px; }
}

/* Contact */
.x-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .x-contact { grid-template-columns: minmax(0, 1fr); } }
.x-form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--x-r-photo); background: var(--mist); }
.x-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 559px) { .x-form__row { grid-template-columns: minmax(0, 1fr); } }
.x-field { display: grid; gap: 8px; min-width: 0; }
.x-field label { font: 800 var(--size-small)/1.3 var(--sans); color: var(--night); }
.x-field label small { font-weight: 600; color: var(--slate); }
.x-field input, .x-field select, .x-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid #14263a26;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: 500 16px/1.4 var(--sans);
  transition: border-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out);
}
.x-field textarea { min-height: 160px; resize: vertical; }
.x-field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314263a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.x-field input:focus, .x-field select:focus, .x-field textarea:focus { outline: none; border-color: var(--smoky); box-shadow: 0 0 0 4px #4f739633; }
.x-field.has-error input, .x-field.has-error select, .x-field.has-error textarea { border-color: #b3261e; }
.x-field__err { font: 700 var(--size-small)/1.4 var(--sans); color: #b3261e; }
.x-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.x-form .x-btn { justify-self: start; border: 0; cursor: pointer; }
.x-form__fine { font: 500 var(--size-small)/1.5 var(--sans); color: var(--slate); }
.x-alert { display: grid; gap: 6px; padding: 18px 22px; border-radius: 16px; font: 600 var(--size-prose)/1.5 var(--sans); }
.x-alert b { font: 800 19px/1.2 var(--display); }
.x-alert--ok { background: var(--pasture-tint); color: var(--pasture-ink); border: 2px solid var(--pasture); }
.x-alert--err { background: #fbe9e7; color: #8c1d18; border: 2px solid #b3261e; }
.x-reach { display: grid; gap: 14px; }
.x-reach a, .x-reach div { display: grid; gap: 4px; padding: 20px 22px; border-radius: 20px; background: #ffffff; box-shadow: 0 1px 2px #14263a14; text-decoration: none; color: var(--ink); min-height: var(--tap); }
.x-reach a:hover { box-shadow: inset 0 0 0 2px var(--sun); }
.x-reach span { font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pasture-ink); }
.x-reach b { font: 800 20px/1.2 var(--display); letter-spacing: -0.01em; color: var(--night); overflow-wrap: anywhere; }
.x-map { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--x-r-photo); overflow: hidden; box-shadow: var(--x-shadow); background: var(--mist); aspect-ratio: 16 / 7; }
.x-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 719px) { .x-map { aspect-ratio: 4 / 3; } }

/* Section helpers */
.x-center { text-align: center; justify-items: center; margin-inline: auto; }
.x-center .x-eyebrow { justify-content: center; }
.x-stack { display: grid; gap: 24px; justify-items: start; }
.x-gap-top { margin-top: clamp(40px, 6vw, 72px); }
.x-band--tight { padding-block: clamp(48px, 6vw, 80px); }

/* 404 */
.x-lost { display: grid; gap: 28px; justify-items: start; max-width: 760px; }
.x-lost .x-h1 { color: var(--night); }
.x-lost__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

/* WordPress content compatibility (harmless on the PHP site) */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.x-prose .alignwide { max-width: min(1100px, 100vw - 2 * var(--gutter)); margin-inline: calc(50% - min(550px, 50vw - var(--gutter))); }
.x-prose .alignfull { max-width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption, .wp-block-image figcaption { font: 500 var(--size-small)/1.45 var(--sans); color: var(--slate); }
.wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: var(--r-pill); background: var(--sun); color: var(--night); font: 800 15px/1 var(--sans); text-decoration: none; }
.wp-block-button__link:hover { background: var(--sun-deep); }
.wp-block-separator { border: 0; border-top: 2px solid var(--stroke-primary); }
.x-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.x-pager .page-numbers { display: inline-grid; place-items: center; min-width: var(--tap); min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); background: var(--mist); color: var(--night); font: 800 15px/1 var(--sans); text-decoration: none; }
.x-pager .page-numbers.current, .x-pager .page-numbers:hover { background: var(--sun); }
.x-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.x-post { display: grid; gap: 14px; align-content: start; padding: 12px 12px 24px; border-radius: var(--x-r-photo); background: var(--mist); }
.x-post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--x-r-photo) - 8px); }
.x-post h2 { padding-inline: 10px; font: 800 23px/1.1 var(--display); letter-spacing: -0.015em; color: var(--night); }
.x-post h2 a { text-decoration: none; }
.x-post h2 a:hover { box-shadow: inset 0 -3px 0 var(--sun); }
.x-post p { padding-inline: 10px; font: var(--weight-regular) var(--size-prose)/1.55 var(--sans); color: var(--slate); }
.x-post__meta { padding-inline: 10px; font: 800 var(--size-caption)/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pasture-ink); }
@media (max-width: 899px) { .x-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .x-posts { grid-template-columns: minmax(0, 1fr); } }
.x-search { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.x-search input[type="search"] { flex: 1 1 220px; min-height: 52px; padding: 12px 18px; border: 2px solid #14263a26; border-radius: var(--r-pill); font: 500 16px/1.4 var(--sans); }
.x-search button { border: 0; cursor: pointer; }
.x-comments { margin-top: var(--x-band); max-width: 720px; }
.x-comments ol { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.x-comments ol ol { margin: 16px 0 0 24px; }
.x-comments .comment-body { padding: 20px 22px; border-radius: 18px; background: var(--mist); font: var(--weight-regular) var(--size-prose)/1.6 var(--sans); }
.x-comments .comment-meta { font: 700 var(--size-small)/1.4 var(--sans); color: var(--slate); margin-bottom: 8px; }
.x-comments .comment-form { display: grid; gap: 14px; }
.x-comments .comment-form label { display: block; font: 800 var(--size-small)/1.3 var(--sans); margin-bottom: 6px; }
.x-comments .comment-form input[type="text"], .x-comments .comment-form input[type="email"], .x-comments .comment-form input[type="url"], .x-comments .comment-form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #14263a26; border-radius: 14px; font: 500 16px/1.4 var(--sans); }
.x-comments .comment-form .submit { min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r-pill); background: var(--sun); color: var(--night); font: 800 15px/1 var(--sans); cursor: pointer; }
.x-comments .reply a, .x-comments .comment-reply-link { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .x-gallery__btn img, .x-gallery__btn span { transition: none; }
}
html.x-lock, html.x-lock body { overflow: hidden; }
.x-head .x-textlink, .x-stack .x-textlink { justify-self: start; }
.x-foot__h { font: 800 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; margin-bottom: 14px; }
main:focus { outline: none; }
.x-nav nav { display: contents; }
.x-lede a, .x-body a { color: var(--ink); font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.x-band--night .x-lede a, .x-band--smoky .x-lede a { color: #ffffff; }
