:root {
  --bg: #f7f4ef;
  --bg-alt: #efe8dd;
  --ink: #1c1915;
  --muted: #5c564c;
  --accent: #3d4f3a;
  --accent-hover: #2f3d2d;
  --standout: #6b3a2a;
  --standout-hover: #542d21;
  --card: #fffdf9;
  --border: rgba(28, 25, 21, 0.12);
  --radius: 12px;
  --shadow: 0 12px 40px rgba(28, 25, 21, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
}

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

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

.skip-link:focus {
  left: 0;
}

.inner {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover {
  color: var(--standout);
}

.nav-toggle {
  display: none;
  font: inherit;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-highlight {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: var(--space);
    right: var(--space);
    top: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    line-height: 1.35;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--bg-alt);
    color: var(--accent);
  }

  .site-nav .nav-highlight {
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 8px;
    border-width: 1px;
  }
}

.hero {
  position: relative;
  min-height: min(78vh, 820px);
  display: grid;
}

.hero-media {
  grid-area: 1 / 1;
}

.hero-media img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
}

.hero-overlay {
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    to top,
    rgba(28, 25, 21, 0.75) 0%,
    rgba(28, 25, 21, 0.2) 45%,
    transparent 70%
  );
}

.hero-inner {
  padding-bottom: clamp(2rem, 6vw, 4rem);
  padding-top: 2rem;
  color: #fdfaf6;
  max-width: 40rem;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin: 0;
  opacity: 0.9;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-row.centered {
  justify-content: center;
}

.cta-row.stacked {
  flex-direction: column;
  align-items: stretch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: #fdfaf6;
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
  color: var(--standout);
}

.btn-secondary {
  background: transparent;
  color: #fdfaf6;
  border-color: rgba(253, 250, 246, 0.65);
}

.btn-secondary:hover {
  background: rgba(253, 250, 246, 0.12);
  color: #fff;
}

/* Hero: strong contrast on photo overlay (secondary was too faint on mid tones) */
.hero-inner .btn-primary {
  background: var(--standout);
  color: #fff;
  border-color: var(--standout);
}

.hero-inner .btn-primary:hover {
  background: var(--standout-hover);
  border-color: var(--standout-hover);
  color: #fff;
}

.hero-inner .btn-secondary {
  background: #fdfaf6;
  color: var(--ink);
  border-color: rgba(28, 25, 21, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-inner .btn-secondary:hover {
  background: #fff;
  color: var(--standout);
  border-color: var(--ink);
}

.section .btn-primary {
  background: var(--standout);
  color: #fff;
}

.section .btn-primary:hover {
  background: var(--standout-hover);
  color: #fff;
}

.section .btn-secondary {
  color: var(--ink);
  border-color: var(--border);
  background: var(--card);
}

.section .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-lead.narrow-text {
  max-width: 28rem;
}

.narrow {
  max-width: 38rem;
  margin-inline: auto;
  padding-inline: var(--space);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlight {
  background: var(--card);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.highlight h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.35rem 0 0.5rem;
}

.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.highlight-icon {
  color: var(--standout);
  font-size: 0.85rem;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cards-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-display);
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.card-meta {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-accent {
  border-top: 4px solid var(--accent);
}

.card-standout {
  border-top: 4px solid var(--standout);
  background: linear-gradient(160deg, #fffdf9 0%, #f5ebe4 100%);
}

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

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.gallery-grid--tight {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Homepage photos: single horizontal row */
.gallery-grid--home-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.5rem;
  margin: 0 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-grid--home-row li {
  flex: 1 1 0;
  min-width: min(160px, 28vw);
}

@media (min-width: 900px) {
  .gallery-grid--home-row li {
    min-width: 0;
  }
}

.home-gallery-cta {
  text-align: center;
  margin: 0;
}

.gallery-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.gallery-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
  margin: 0 0 0.5rem;
}

.gallery-page-intro {
  margin-bottom: 1.5rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.gallery-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fdfaf6;
}

.gallery-filter.is-active:hover {
  color: #fdfaf6;
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.gallery-hut-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2rem 0 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.gallery-page .gallery-hut-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.gallery-category-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.5rem 0 0.75rem;
}

.gallery-category-title--hut {
  text-align: left;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hut-photos-lead {
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.hut-carousel {
  max-width: 44rem;
  margin: 0 auto 2rem;
}

.hut-carousel:last-child {
  margin-bottom: 0;
}

.hut-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.hut-carousel-viewport:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.hut-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: calc(var(--carousel-slides, 1) * 100%);
  transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hut-carousel-track {
    transition: none;
  }
}

.hut-carousel-slide {
  flex: 0 0 calc(100% / var(--carousel-slides, 1));
  min-width: 0;
}

.hut-carousel-item {
  border-radius: 0;
}

.hut-carousel-item img {
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 420px);
}

.hut-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.65rem;
}

.hut-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.hut-carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hut-carousel-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.hut-carousel-counter {
  margin: 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 3.5rem;
  text-align: center;
}

.gallery-page .gallery-filters + .gallery-category-title,
.gallery-page .gallery-filters ~ .gallery-category-title:first-of-type {
  margin-top: 0.25rem;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-alt);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 8, 0.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.price-tag {
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 0.75rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--standout);
}

.price-hint {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: normal;
}

.price-both {
  text-align: center;
  margin: 0 0 1.25rem;
}

.checklist {
  padding-left: 1.2rem;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 0.35rem;
}

.availability-foot {
  margin-top: 2rem;
}

.centered {
  text-align: center;
}

.foot-cta {
  margin-top: 1.5rem;
}

.hut-hero {
  background: var(--bg-alt);
}

.hut-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.hut-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 220px;
}

.hut-hero-split-half img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

@media (max-width: 560px) {
  .hut-hero-split {
    grid-template-columns: 1fr;
  }

  .hut-hero-split-half img {
    max-height: 320px;
  }
}

.hut-hero-copy {
  padding: 2rem var(--space) 2.5rem;
}

.hut-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: 0.35rem 0 0.5rem;
}

/* Light page strip under hut photos (not dark overlay): light buttons need dark text */
.hut-hero-copy .btn-primary {
  background: var(--standout);
  color: #fff;
  border-color: var(--standout);
}

.hut-hero-copy .btn-primary:hover {
  background: var(--standout-hover);
  border-color: var(--standout-hover);
  color: #fff;
}

.hut-hero-copy .btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: rgba(28, 25, 21, 0.35);
}

.hut-hero-copy .btn-secondary:hover {
  background: #fdfaf6;
  color: var(--ink);
  border-color: var(--ink);
}

.prose {
  color: var(--muted);
}

.prose-stack .prose {
  margin: 0 0 1.1rem;
}

.prose-stack .prose:last-child {
  margin-bottom: 0;
}

.about-moor-view .section-title {
  margin-bottom: 1.25rem;
}

.amenity-list {
  columns: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding-left: 1.2rem;
}

@media (min-width: 640px) {
  .amenity-list {
    columns: 2;
    column-gap: 2rem;
  }
}

.amenity-list li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

.calendar-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  background: var(--card);
}

.calendar-embed iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0.35rem 0 0.75rem;
}

.steps {
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.65rem;
}

.site-footer {
  background: var(--ink);
  color: #d8d2c8;
  padding: 2rem 0;
  font-size: 0.92rem;
}

.site-footer a {
  color: #e8e2d8;
}

.footer-area {
  margin: 0 0 1rem;
  max-width: 52rem;
  line-height: 1.55;
}

.footer-copy {
  margin: 0;
  opacity: 0.75;
  font-size: 0.85rem;
}
