:root {
  /* Design tokens */
  --bg: #edf4ee;
  --surface: #f8fcf8;
  --surface-2: #e6f1e7;
  --ink: #1e2f23;
  --ink-soft: #4f6857;
  --brand: #2f7a4b;
  --brand-2: #1f5f38;
  --line: #b9d2c0;
  --shadow: 0 14px 32px rgba(30, 47, 35, 0.1);
  --radius: 14px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 10%, rgba(47, 122, 75, 0.12), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(143, 182, 150, 0.22), transparent 45%),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 2px,
      transparent 2px,
      transparent 11px
    ),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Full-bleed hero with pale photo background */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(248, 252, 248, 0.58);
  padding: clamp(2rem, 5vw, 5rem) 0 2rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://a0.muscache.com/im/pictures/hosting/Hosting-U3RheVN1cHBseUxpc3Rpbmc6OTI1MjU2/original/c4f703aa-0791-4697-afbb-2d75ae6200bd.jpeg?im_w=1440");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.88) 65%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.hero-content > *:first-child {
  margin-top: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
}

.orb-a {
  width: 320px;
  height: 320px;
  background: rgba(47, 122, 75, 0.18);
  top: -80px;
  left: -80px;
}

.orb-b {
  width: 340px;
  height: 340px;
  background: rgba(143, 182, 150, 0.25);
  right: -100px;
  bottom: -90px;
}

/* Sticky top navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  background: rgba(248, 252, 248, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(185, 210, 192, 0.74);
}

.brand {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.8rem);
  color: var(--ink);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

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

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* Typographic hierarchy */
.kicker {
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.hero-copy {
  max-width: 56ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(31, 95, 56, 0.24);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(248, 252, 248, 0.74);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.94rem;
}

/* Main content cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.card {
  border: 0;
  border-top: 1px solid rgba(185, 210, 192, 0.8);
  background: transparent;
  border-radius: 0;
  padding: 1.25rem;
  box-shadow: none;
  position: relative;
}

.card.accent {
  background: transparent;
}

.card::before {
  content: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), transparent 35%);
}

.card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.chalet-summary {
  grid-column: 1 / -1;
}

.detail-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.detail-groups section {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(185, 210, 192, 0.8);
}

.detail-groups h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.detail-groups ul {
  margin-top: 0;
}

/* Gallery blocks and photo grids */
.gallery {
  margin: 2.5rem 0;
}

.gallery-head p {
  margin-top: 0;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-more {
  margin-top: 0.9rem;
}

.all-photos {
  margin: 2.2rem 0;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
}

.photo-tile {
  margin: 0;
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.can-open-lightbox {
  cursor: zoom-in;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 24, 16, 0.88);
}

.photo-lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  width: min(1100px, 94vw);
}

.lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lightbox-caption {
  margin-top: 0.8rem;
  text-align: center;
  color: #ffffff;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-open {
  overflow: hidden;
}

.carousel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(248, 252, 248, 0.65);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(30, 47, 35, 0.42);
  color: #ffffff;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn-prev {
  left: 0.8rem;
}

.carousel-btn-next {
  right: 0.8rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(30, 47, 35, 0.35);
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #ffffff;
}

/* Localisation and nearby sections */
.experience-section {
  margin: 2.8rem 0;
}

.experience-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.experience-copy,
.experience-map {
  padding-top: 0.3rem;
}

.section-mini-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.activity-line {
  position: relative;
  padding: 1rem 0 0.8rem;
}

.activity-line::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: rgba(155, 165, 156, 0.7);
}

.activity-line h4,
.experience-map h4 {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.16rem;
}

.activity-line p,
.experience-map p {
  margin: 0;
  color: var(--ink-soft);
}

.experience-map {
  padding-left: 1rem;
  border-left: 1px solid rgba(185, 210, 192, 0.8);
}

.experience-map .map-wrap {
  margin-top: 0.9rem;
}

.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.route-tags span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(230, 241, 231, 0.72);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.pricing {
  margin: 2.5rem 0;
}

.nearby {
  margin: 2.5rem 0;
}

.nearby-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nearby-panel h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.pricing-sub {
  color: var(--ink-soft);
  margin-top: 0;
}

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

.price-card {
  background: transparent;
  border: 1px solid rgba(185, 210, 192, 0.8);
  border-radius: 2px;
  padding: 1rem;
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.price-card p {
  margin: 0;
  color: var(--ink-soft);
}

.price-card strong {
  font-size: 1.4rem;
  color: var(--ink);
}

.nearby-grid .price-card p:last-child {
  margin-top: 0.6rem;
}

.nearby-grid .price-card a {
  color: var(--brand);
  font-weight: 600;
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 0.8rem;
}

.compact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.78rem 0 0.64rem;
  position: relative;
}

.compact-card::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: rgba(155, 165, 156, 0.7);
}

.compact-card h4 {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
}

.compact-card p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.compact-grid .compact-card {
  border-top: 0;
}

/* Reservation / contact area */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(185, 210, 192, 0.8);
  background: transparent;
  border-radius: 0;
  padding: 1.2rem;
  box-shadow: none;
}

.contact-links {
  display: grid;
  gap: 0.2rem;
  margin-top: 1rem;
}

.airbnb-cta {
  gap: 0.7rem;
  align-content: start;
}

.airbnb-cta .btn-primary {
  align-self: start;
  padding: 0.95rem 1.55rem;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.2;
}

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

.contact a {
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.reserve-card {
  align-self: stretch;
}

.reserve-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.reserve-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 0.8rem;
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fffdf8;
}

/* Footer shared by all pages */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-soft);
}

.footer-meta {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

.footer-meta a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

body.mode-forest main {
  width: min(980px, 90vw);
}

body.mode-forest .hero {
  padding-top: 3.2rem;
}

body.mode-forest .gallery-grid img,
body.mode-forest .map-wrap {
  box-shadow: none;
}

body.mode-forest .price-card {
  border-color: rgba(185, 210, 192, 0.8);
}

/* Reveal animation */
.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .info-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .experience-layout {
    grid-template-columns: 1fr;
  }

  .experience-map {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(185, 210, 192, 0.8);
    padding-top: 1rem;
  }

  .detail-groups,
  .compact-grid,
  .nearby-columns {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}
