/* ==========================================================================
   Bike Barn Lodging Kanab: Desert Editorial rebuild (2026-07-15)
   One stylesheet, no patch layers. Fraunces display + Jost UI.
   ========================================================================== */

:root {
  --paper: #f5f0e4;
  --paper-2: #ece4d1;
  --ink: #17120c;
  --ink-2: #221b12;
  --night: #120e09;
  --orange: #e05a1d;
  --orange-deep: #c14a11;
  --green: #88bd4f;
  --clay: #b4552b;
  --text: #2e2820;
  --muted: #6f6653;
  --on-dark: #f5f0e4;
  --on-dark-muted: rgba(245, 240, 228, 0.74);
  --line: rgba(23, 18, 12, 0.16);
  --line-dark: rgba(245, 240, 228, 0.17);
  --maxw: 1360px;
  --gutter: clamp(1.25rem, 4.6vw, 4.5rem);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --shadow: 0 34px 90px -46px rgba(10, 7, 3, 0.65);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 4px;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 1rem; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible { outline: none; }

/* ---------------- Type helpers ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--on-dark-muted); }

.display {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: balance;
}
.on-dark .display { color: var(--on-dark); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 56ch;
}

.section {
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--gutter);
}
.wrap { max-width: var(--maxw); margin: 0 auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 4.2rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h1,
.section-head h2 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
.section-head p { margin-top: 1.1rem; }

.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark p { color: var(--on-dark-muted); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-book {
  background: linear-gradient(180deg, #ef6824, var(--orange-deep));
  color: #fff;
  box-shadow: 0 16px 36px -14px rgba(224, 90, 29, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(224, 90, 29, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-ghost {
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  background: rgba(18, 14, 9, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--on-dark); }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(18, 14, 9, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(245, 240, 228, 0.14); }
.brand-word { display: flex; flex-direction: column; line-height: 1.12; }
.brand-word strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--on-dark);
}
.brand-word small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.main-nav a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right 0.28s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--on-dark); }
.main-nav a.is-active::after, .main-nav a:hover::after { right: 0; }
.header-book { padding: 0.78rem 1.55rem; }

/* ---------------- Mobile bottom nav ---------------- */

.mobile-nav {
  display: none;
  position: fixed;
  left: 0.9rem;
  right: 0.9rem;
  bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(18, 14, 9, 0.94);
  border: 1px solid rgba(245, 240, 228, 0.18);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  color: rgba(245, 240, 228, 0.76);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mobile-nav a.is-active {
  background: rgba(245, 240, 228, 0.1);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 228, 0.14);
}

/* ---------------- Reveal motion ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------------- Hero (home) ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--night);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; }
.hero-media .hero-img-mobile { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroDrift 26s ease-out forwards; transform-origin: 50% 62%; }
  @keyframes heroDrift { from { transform: scale(1.09); } to { transform: scale(1); } }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 6, 3, 0.62) 0%, rgba(8, 6, 3, 0) 30%),
    linear-gradient(rgba(8, 6, 3, 0) 34%, rgba(8, 6, 3, 0.42) 66%, rgba(8, 6, 3, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 6, 3, 0.5) 0%, rgba(8, 6, 3, 0.08) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--gutter) clamp(3rem, 7vh, 5.5rem);
}
.hero-content .eyebrow { color: var(--on-dark-muted); margin-bottom: 1.4rem; }
.hero-content .eyebrow::before { background: var(--orange); }
.hero-title {
  font-size: clamp(3.6rem, 11.5vw, 9.5rem);
  color: var(--on-dark);
  max-width: 10ch;
  text-shadow: 0 3px 60px rgba(0, 0, 0, 0.45);
}
.hero-lede {
  margin: 1.6rem 0 2.3rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  color: rgba(245, 240, 228, 0.88);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(245, 240, 228, 0.16);
  background: rgba(10, 8, 4, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.9rem;
  color: var(--on-dark-muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-foot-inner > span { white-space: nowrap; }
.hero-foot-inner b { color: var(--on-dark); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: 0; margin-right: 0.4rem; }
.hero-foot-inner .pill {
  margin-left: auto;
  border: 1px solid rgba(245, 240, 228, 0.3);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.66rem;
}
.hero-foot-inner .pill + .pill { margin-left: 0; }

/* ---------------- Marquee ---------------- */

.marquee {
  overflow: hidden;
  background: var(--night);
  border-top: 1px solid rgba(245, 240, 228, 0.1);
  border-bottom: 1px solid rgba(245, 240, 228, 0.1);
  padding: 1.05rem 0;
}
.marquee-track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 34s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  color: rgba(245, 240, 228, 0.82);
  white-space: nowrap;
  padding: 0 1.7rem;
}
.marquee-group i {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--orange);
  transform: rotate(45deg);
}

/* ---------------- First look: picture, phrase ---------------- */

.firstlook { background: var(--ink); color: var(--on-dark); padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.firstlook .section-head { padding: 0 var(--gutter); max-width: none; }
.firstlook .section-head .inner { max-width: var(--maxw); margin: 0 auto; }
.firstlook .section-head h2 { color: var(--on-dark); max-width: 13ch; }

.look-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: clamp(1rem, 2.4vw, 2rem);
  max-width: var(--maxw);
  margin: 0 auto clamp(3.4rem, 7vw, 6.5rem);
  padding: 0 var(--gutter);
}
.look-row:last-child { margin-bottom: 0; }
.look-media {
  grid-column: 1 / span 8;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0804;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10.4;
}
.look-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.look-row:hover .look-media img { transform: scale(1.045); }
.look-copy { grid-column: 9 / -1; padding-bottom: 0.4rem; }
.look-row.is-flip .look-media { grid-column: 5 / -1; order: 2; }
.look-row.is-flip .look-copy { grid-column: 1 / span 4; order: 1; }
.look-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--clay);
  margin-bottom: 0.9rem;
}
.look-copy h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  text-wrap: balance;
}
.look-copy p { margin-top: 0.85rem; max-width: 30ch; color: var(--on-dark-muted); font-size: 1rem; }

/* ---------------- Spec band ---------------- */

.specband { background: var(--paper); border-bottom: 1px solid var(--line); }
.specband-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.2rem, 4.5vw, 3.6rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
}
.spec { display: flex; align-items: baseline; gap: 0.6rem; }
.spec b {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--ink);
}
.spec span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-badges { margin-left: auto; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.spec-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------------- Statement ---------------- */

.statement { background: var(--paper); text-align: center; }
.statement .eyebrow { justify-content: center; }
.statement .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--orange); }
.statement p {
  margin: 1.6rem auto 0;
  max-width: 21ch;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.statement em { font-style: italic; color: var(--clay); }

/* ---------------- Amenity mosaic ---------------- */

.mosaic { background: var(--ink); }
.mosaic .section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem; max-width: none; }
.mosaic .section-head > div:first-child { max-width: 34rem; }
.mosaic .section-head h2 { color: var(--on-dark); }
.mosaic .section-head .side-note { margin: 0 0 0.5rem auto; max-width: 34ch; color: var(--on-dark-muted); font-size: 1rem; }
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 250px);
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}
.mosaic-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0804;
  grid-column: span 3;
}
.mosaic-tile.is-lg { grid-column: span 6; grid-row: span 2; }
.mosaic-tile.is-tall { grid-row: span 2; }
.mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-tile:hover img { transform: scale(1.06); }
.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 6, 3, 0) 38%, rgba(8, 6, 3, 0.82) 100%);
}
.mosaic-cap {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.mosaic-cap i {
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(224, 90, 29, 0.22);
}
.mosaic-cap span {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

/* ---------------- Proximity strip ---------------- */

.prox { background: var(--night); border-top: 1px solid rgba(245, 240, 228, 0.09); }
.prox-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.2rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(1.4rem, 3.4vw, 3rem);
}
.prox-item { display: flex; align-items: baseline; gap: 0.6rem; }
.prox-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.prox-item b {
  font-family: var(--serif);
  font-weight: 460;
  font-size: 1.2rem;
  color: var(--orange);
}
.prox-sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(245, 240, 228, 0.26); }

/* ---------------- Map band ---------------- */

.mapband { background: var(--ink); }
.mapband .section-head h2 { color: var(--on-dark); }
.map-shell {
  height: clamp(400px, 56vh, 600px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 240, 228, 0.16);
  box-shadow: var(--shadow);
  background: #0c0a07;
}
.map-shell .leaflet-container { width: 100%; height: 100%; }
.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 1.5rem;
}
.map-foot .text-link { margin-left: auto; }
.map-foot .address-card { margin-top: 0; }
.text-link--dark { color: var(--on-dark); border-color: var(--line-dark); }
.text-link--dark:hover { color: #ff8046; border-color: #ff8046; }
.address-card--dark b { color: var(--on-dark); }
.address-card--dark span { color: var(--on-dark-muted); }

.map-pin { background: transparent; border: 0; }
.map-pin-dot {
  display: block;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  border: 3px solid #f7f1e3;
  box-shadow: 0 8px 22px rgba(10, 8, 4, 0.45);
}
.leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.65); }
.leaflet-popup-content { font-family: var(--sans); font-size: 0.92rem; margin: 0.7rem 0.95rem; }
.leaflet-popup-content strong { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; }
.leaflet-popup-content .pop-dist { color: #938871; font-size: 0.8rem; }

/* ---------------- Live availability ---------------- */

.availability {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.availability-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.availability-copy .eyebrow { margin-bottom: 1.15rem; }
.availability-copy h2 { font-size: 4rem; max-width: 8ch; }
.availability-copy .lead { margin: 1.5rem 0 1.4rem; font-size: 1.05rem; }
.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}
.availability-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.availability-legend i { width: 13px; height: 13px; border-radius: 2px; }
.legend-open { background: rgba(136, 189, 79, 0.22); border: 1px solid rgba(75, 111, 38, 0.55); }
.legend-blocked { background: var(--ink); border: 1px solid var(--ink); }
.availability-tool {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  background: #faf7ef;
  border: 1px solid rgba(23, 18, 12, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.availability-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.availability-toolbar p {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.cal-nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cal-nav:hover:not(:disabled) { color: var(--orange); border-color: var(--orange); background: rgba(224, 90, 29, 0.06); }
.cal-nav:disabled { cursor: not-allowed; opacity: 0.28; }
.availability-status {
  min-height: 1.45rem;
  margin: 0.7rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}
.availability-status.is-error { color: #8f3613; font-weight: 600; }
.cal-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.8vw, 2.4rem);
  transition: opacity 0.2s ease;
}
.availability-tool[aria-busy="true"] .cal-months { opacity: 0.38; }
.availability-tool.has-error .cal-months { display: none; }
.cal-month { min-width: 0; }
.cal-month h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 480;
  text-align: center;
}
.cal-weekdays,
.cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-weekdays { margin-bottom: 0.35rem; }
.cal-weekdays span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}
.cal-day {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  margin: 1px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.78rem;
  line-height: 1;
}
.cal-day b { font-weight: 500; }
.cal-day.is-open { background: rgba(136, 189, 79, 0.15); border-color: rgba(75, 111, 38, 0.28); color: #344b21; }
.cal-day.is-blocked { background: var(--ink); color: var(--on-dark); }
.cal-day.is-past { background: transparent; border-color: rgba(23, 18, 12, 0.08); color: rgba(46, 40, 32, 0.3); }
.cal-day.is-blank { visibility: hidden; }

/* ---------------- CTA band ---------------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--night);
  text-align: center;
}
.cta-bg, .cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-bg img { object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 7, 3, 0.72), rgba(10, 7, 3, 0.55) 45%, rgba(10, 7, 3, 0.82));
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(6rem, 13vw, 10rem) var(--gutter);
}
.cta-inner .eyebrow { justify-content: center; color: var(--on-dark-muted); }
.cta-inner .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--orange); }
.cta-inner h2 {
  margin-top: 1.4rem;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  color: var(--on-dark);
}
.cta-inner p { margin: 1.3rem auto 2.2rem; max-width: 42ch; color: rgba(245, 240, 228, 0.85); }
.cta-note { margin-top: 1.4rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------------- Page hero (interior routes) ---------------- */

.page-hero {
  position: relative;
  min-height: min(78vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
}
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; }
.page-hero .hero-scrim { background:
  linear-gradient(rgba(8, 6, 3, 0.6) 0%, rgba(8, 6, 3, 0) 26%),
  linear-gradient(rgba(8, 6, 3, 0) 30%, rgba(8, 6, 3, 0.35) 55%, rgba(8, 6, 3, 0.92) 100%),
  linear-gradient(90deg, rgba(8, 6, 3, 0.55) 0%, rgba(8, 6, 3, 0.05) 62%); }
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 4.5rem) var(--gutter) clamp(2.6rem, 5vw, 4rem);
}
.page-hero-content .eyebrow { color: var(--on-dark-muted); margin-bottom: 1.2rem; }
.page-hero-title {
  font-size: clamp(2.5rem, 6.2vw, 5.2rem);
  color: var(--on-dark);
  max-width: 15ch;
  text-shadow: 0 2px 44px rgba(0, 0, 0, 0.5);
}
.page-hero-line {
  margin: 1.2rem 0 1.9rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.26rem);
  color: rgba(245, 240, 228, 0.88);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.55);
}

/* ---------------- Stay: intro ---------------- */

.stay-intro { background: var(--paper); }
.stay-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.stay-intro-copy .eyebrow { margin-bottom: 1.1rem; }
.stay-intro-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.stay-intro-copy .lead { margin-top: 1.3rem; }
.stay-intro-copy > p:not(.lead):not(.eyebrow) { margin-top: 1rem; max-width: 56ch; }

.specline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.9rem 0 0;
}
.specline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
}

.stay-notes { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.stay-note { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.stay-note b {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.4rem;
}
.stay-note p { color: var(--text); max-width: 56ch; }

.stay-intro-media { position: relative; }
.stay-intro-media figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
  background: var(--paper-2);
}
.stay-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.stay-intro-media figcaption {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- Stay: chapters ---------------- */

.chapters { background: var(--paper); border-top: 1px solid var(--line); }
.chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(2.6rem, 5.5vw, 4.6rem) 0;
}
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-media {
  grid-column: 1 / span 7;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.chapter-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.chapter:hover .chapter-media img { transform: scale(1.04); }
.chapter-copy { grid-column: 8 / -1; }
.chapter.is-flip .chapter-media { grid-column: 6 / -1; order: 2; }
.chapter.is-flip .chapter-copy { grid-column: 1 / span 5; order: 1; }
.chapter-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1;
  color: var(--clay);
}
.chapter-copy h3 {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.chapter-lead { margin-top: 1rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink); font-weight: 500; }
.chapter-copy p:not(.chapter-lead) { margin-top: 0.8rem; color: var(--text); max-width: 46ch; }

/* ---------------- Stay: ledger ---------------- */

.ledger { background: var(--paper-2); }
.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.ledger-copy h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.ledger-copy .lead { margin-top: 1.2rem; }
.ledger-list {
  list-style: none;
  columns: 2;
  column-gap: clamp(1.6rem, 3vw, 3rem);
}
.ledger-list li {
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--text);
}
.ledger-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--orange);
  transform: rotate(45deg) translateY(-1px);
}

/* ---------------- Stay: beds and baths ---------------- */

.sleep { background: var(--ink); }
.sleep .section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem; max-width: none; }
.sleep .section-head h2 { color: var(--on-dark); }
.sleep .section-head p { margin: 0 0 0.5rem auto; color: var(--on-dark-muted); }
.sleep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.sleep-item { margin: 0; }
.sleep-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: #0b0804;
}
.sleep-item figcaption {
  padding: 0.8rem 0.1rem 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}

/* ---------------- Gallery ---------------- */

.gallery-page { background: var(--paper); padding-top: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.5rem)); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.4rem; margin-bottom: clamp(2.2rem, 4.6vw, 3.8rem); }
.gallery-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.gallery-count { margin-left: auto; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17.4vw, 250px);
  gap: clamp(0.7rem, 1.3vw, 1.1rem);
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 0;
  cursor: zoom-in;
}
.g-item.g-a { grid-column: span 4; grid-row: span 2; }
.g-item.g-b, .g-item.g-c { grid-column: span 2; }
.g-item.g-d, .g-item.g-e { grid-column: span 3; }
.g-item.g-final { grid-column: 1 / -1; grid-row: span 1; }
.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-num {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
}
.g-view {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.7rem;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 14, 9, 0.62);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.g-item:hover .g-view, .g-item:focus-visible .g-view { opacity: 1; transform: none; }

/* ---------------- Lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  flex-direction: column;
  background: rgba(12, 9, 5, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  color: var(--on-dark-muted);
}
.lb-counter { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--on-dark); }
.lb-close {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 228, 0.3);
  color: var(--on-dark);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lb-close:hover { border-color: var(--on-dark); background: rgba(245, 240, 228, 0.08); }
.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(3.6rem, 8vw, 7rem);
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 228, 0.3);
  color: var(--on-dark);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 14, 9, 0.5);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lb-nav:hover { border-color: var(--on-dark); background: rgba(245, 240, 228, 0.1); }
.lb-prev { left: clamp(0.7rem, 2vw, 1.6rem); }
.lb-next { right: clamp(0.7rem, 2vw, 1.6rem); }
.lb-cap {
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.4rem;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

/* ---------------- Kanab ---------------- */

.kanab-intro { background: var(--paper); }
.kanab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: start;
}
.kanab-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.kanab-copy .lead { margin-top: 1.3rem; }
.activity-label {
  margin: 2rem 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.82rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
}
.chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.mileage { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.4); padding: clamp(1.3rem, 2.6vw, 2.2rem); }
.mileage-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.mileage-label::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.mileage-row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}
.mileage-row:last-child { border-bottom: 0; }
.mileage-row span { font-size: 0.95rem; color: var(--text); }
.mileage-row i { flex: 1; border-bottom: 1px dotted rgba(23, 18, 12, 0.3); transform: translateY(-4px); }
.mileage-row b {
  font-family: var(--serif);
  font-weight: 460;
  font-size: 1.35rem;
  color: var(--clay);
  white-space: nowrap;
}
.mileage-row b small { font-size: 0.72rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-left: 0.25rem; }

/* ---------------- Kanab: cycling map exhibit ---------------- */

.mapwork { background: var(--ink); }
.mapwork-card {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.6rem, 3.6vw, 3.4rem);
  align-items: center;
}
.mapwork-copy .eyebrow { margin-bottom: 1.1rem; }
.mapwork-copy h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); color: var(--on-dark); max-width: 12ch; }
.mapwork-credit {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb165;
  max-width: 40ch;
  line-height: 1.5;
}
.mapwork-copy > p:not(.mapwork-credit) { margin-top: 1rem; color: var(--on-dark-muted); max-width: 58ch; }
.mapwork-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f2ecdd;
  border: 1px solid rgba(245, 240, 228, 0.22);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  padding: 0;
  width: 100%;
}
.mapwork-frame img { width: 100%; height: auto; }
.mapwork-frame .g-view { opacity: 1; transform: none; }

/* ---------------- Kanab: find the barn ---------------- */

.findbarn { background: var(--paper); }
.findbarn-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 4.4vw, 4rem);
  align-items: center;
}
.findbarn-copy h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.findbarn-copy .lead { margin-top: 1.2rem; }
.address-card {
  margin-top: 1.8rem;
  border-left: 3px solid var(--orange);
  padding: 0.4rem 0 0.4rem 1.2rem;
}
.address-card b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--ink); }
.address-card span { display: block; color: var(--muted); font-size: 0.95rem; }
.findbarn-map {
  height: clamp(360px, 46vh, 500px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e8e2d2;
}
.findbarn-map .leaflet-container { width: 100%; height: 100%; }

/* ---------------- Kanab: reach ---------------- */

.reach {
  position: relative;
  overflow: hidden;
  background: var(--night);
}
.reach-bg, .reach-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reach-bg img { object-fit: cover; }
.reach-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 14, 9, 0.28) 0%, rgba(18, 14, 9, 0.9) 82%),
    linear-gradient(90deg, rgba(18, 14, 9, 0.78) 0%, rgba(18, 14, 9, 0.2) 70%);
}
.reach-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.9fr);
  gap: clamp(1.8rem, 4.5vw, 4rem);
  align-items: end;
}
.reach-copy .eyebrow { color: var(--on-dark-muted); margin-bottom: 1rem; }
.reach-copy h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--on-dark); max-width: 13ch; }
.reach-copy p { margin-top: 1.1rem; color: rgba(245, 240, 228, 0.86); max-width: 38ch; }
.reach-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.reach-chips span {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(245, 240, 228, 0.24);
  background: rgba(245, 240, 228, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
  padding: 0.8rem 0.9rem;
  color: var(--on-dark);
  font-size: 0.86rem;
}
.reach-chips em { font-style: normal; color: var(--green); white-space: nowrap; }

/* ---------------- Story ---------------- */

.story {
  background: linear-gradient(180deg, #17120c 0%, #120e09 100%);
  color: var(--on-dark);
  /* Keep the first chapter connected to the hero: the generic section
     padding plus the chapter's own padding read as a dead gap here. */
  padding-top: clamp(2.2rem, 4.5vw, 4rem);
}
.story-chapter:first-child { padding-top: 0; }
.story-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}
.story-chapter + .story-chapter { border-top: 1px solid rgba(245, 240, 228, 0.14); }
.story-copy .eyebrow { margin-bottom: 1rem; }
.story-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--on-dark); max-width: 16ch; }
.story-copy .lead { margin-top: 1.2rem; color: var(--on-dark); }
.story-copy p:not(.lead) { margin-top: 1rem; color: var(--on-dark-muted); max-width: 56ch; }
.story-instagram { margin-top: 1.3rem; color: var(--on-dark); }
.story-instagram a {
  color: #ff8046;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}
.story-instagram a:hover, .story-instagram a:focus-visible { color: #ffb15c; }

.story-media { position: relative; margin: 0; }
.story-media figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #0b0804; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media figcaption, .fig-cap {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.story-media figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 6, 3, 0) 55%, rgba(8, 6, 3, 0.78) 100%);
}
.story-main-media figure { aspect-ratio: 4 / 4.4; }

.murals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.murals figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #0b0804; aspect-ratio: 4 / 3; }
.murals figure.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 8.6; }
.murals img { width: 100%; height: 100%; object-fit: cover; }
.murals figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 6, 3, 0) 55%, rgba(8, 6, 3, 0.78) 100%); }

.cleon-photos { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.9rem; }
.cleon-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #0b0804; min-height: clamp(360px, 34vw, 500px); }
.cleon-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cleon-photos figure:first-child img { object-position: 50% 40%; }
.cleon-photos figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 6, 3, 0) 55%, rgba(8, 6, 3, 0.8) 100%); }
.cleon-wide { margin-top: 0.9rem; position: relative; overflow: hidden; border-radius: var(--radius); }
.cleon-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.cleon-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 6, 3, 0) 55%, rgba(8, 6, 3, 0.8) 100%); }

.story-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: clamp(2.6rem, 5vw, 4rem);
  border-top: 1px solid rgba(245, 240, 228, 0.14);
}
.story-proof article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.story-proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-proof div { padding: 1.15rem 1.15rem 1.3rem; }
.story-proof span { display: block; font-family: var(--serif); font-weight: 460; font-size: 1.35rem; line-height: 1.08; color: var(--ink); }
.story-proof p { margin-top: 0.5rem; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }

/* ---------------- Footer ---------------- */

.site-footer { background: var(--night); color: var(--on-dark); border-top: 1px solid rgba(245, 240, 228, 0.1); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 1.1rem; }
.footer-brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(245, 240, 228, 0.14); }
.footer-brand div { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-brand strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.footer-brand span { color: var(--on-dark-muted); font-size: 0.86rem; }
.footer-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--on-dark); }
.footer-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.3rem var(--gutter) 1.6rem;
  border-top: 1px solid rgba(245, 240, 228, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .look-media, .look-row.is-flip .look-media { grid-column: 1 / -1; order: 1; }
  .look-copy, .look-row.is-flip .look-copy { grid-column: 1 / -1; order: 2; }
  .look-copy p { max-width: 52ch; }
  .chapter-media, .chapter.is-flip .chapter-media { grid-column: 1 / -1; order: 1; }
  .chapter-copy, .chapter.is-flip .chapter-copy { grid-column: 1 / -1; order: 2; }
  .stay-intro-grid, .ledger-grid, .kanab-grid, .mapwork-card, .findbarn-grid, .story-chapter { grid-template-columns: 1fr; }
  .stay-intro-media figure { aspect-ratio: 16 / 10; }
  .story-main-media figure { aspect-ratio: 16 / 10; }
  .reach-inner { grid-template-columns: 1fr; }
  .availability-grid { grid-template-columns: 1fr; }
  .mosaic-tile { grid-column: span 6; }
  .mosaic-tile.is-lg { grid-column: span 12; grid-row: span 2; }
  .sleep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  body { padding-bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px)); }

  .main-nav { display: none; }
  .mobile-nav { display: grid; }
  .brand img { width: 42px; height: 42px; }
  .brand-word strong { font-size: 1.05rem; }
  .brand-word small { font-size: 0.5rem; letter-spacing: 0.26em; }
  .header-book { margin-left: auto; padding: 0.66rem 1.25rem; font-size: 0.72rem; }
  .site-header { background: rgba(18, 14, 9, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }

  .hero { min-height: 100svh; }
  .hero-media .hero-img-desktop { display: none; }
  .hero-media .hero-img-mobile { display: block; }
  .hero-title { font-size: clamp(3.2rem, 16vw, 4.6rem); max-width: 9ch; }
  .hero-lede { max-width: 30ch; }
  .hero-foot { display: none; }

  .look-media { aspect-ratio: 4 / 4.3; }
  .look-copy p { max-width: 34ch; }
  .look-index { font-size: 2.1rem; }

  .specband-inner { gap: 1.1rem 1.6rem; }
  .spec b { font-size: 1.8rem; }
  .spec-badges { margin-left: 0; }

  .ledger-list { columns: 1; }
  .availability-tool { padding: 0.9rem; }
  .availability-copy h2 { font-size: 2.8rem; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-month:nth-child(2) { display: none; }
  .cal-day { font-size: 0.78rem; }
  .sleep-grid { gap: 0.9rem 0.7rem; }
  .sleep-item figcaption { font-size: 0.66rem; letter-spacing: 0.1em; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .g-item, .g-item.g-a, .g-item.g-b, .g-item.g-c, .g-item.g-d, .g-item.g-e { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .g-item img { position: absolute; }
  .g-view { opacity: 1; transform: none; }

  .lb-stage { padding: 0 0.6rem; }
  .lb-nav { width: 46px; height: 46px; top: auto; bottom: -0.2rem; transform: none; position: relative; }
  .lb-stage .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); bottom: auto; background: rgba(18, 14, 9, 0.72); }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }

  .mileage { padding: 1.2rem 1.1rem; }
  .reach-chips { grid-template-columns: 1fr; }
  .cleon-photos { grid-template-columns: 1fr; }
  .cleon-photos figure { min-height: 320px; }
  .cleon-photos figure:first-child { min-height: 420px; }
  .story-proof { grid-template-columns: 1fr; }
  .murals { grid-template-columns: 1fr; }
  .murals figure.is-wide { aspect-ratio: 4 / 3; }

  .footer-nav { margin-left: 0; }
  .site-footer { padding-bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
