/* ============================================
   Jungle Camp Masjid Gadda — Styles
   ============================================ */

:root {
  --primary: #004d49;
  --secondary: #a67c52;
  --supporting: #22285e;

  --bg: #f9f8f6;
  --bg-soft: #f1eee8;
  --bg-deep: #e8e2d8;
  --text: #1a1f1e;
  --text-muted: #4a524f;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--secondary) 35%, transparent);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 7.5rem;

  --radius: 1rem;
  --radius-lg: 1.5rem;
  --max: 72rem;
  --header-h: 5.75rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 40px color-mix(in srgb, var(--supporting) 12%, transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, color-mix(in srgb, var(--secondary) 10%, transparent), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin: 0 0 var(--space-2);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 var(--space-3);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-3);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: var(--space-2);
}

.section-shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.section-intro p:not(.eyebrow) {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, black);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 55%, transparent);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: var(--primary);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 18%, transparent);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--supporting) 8%, transparent);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  grid-column: 1;
  justify-self: start;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.25rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--primary);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  grid-column: 2;
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.9rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 450;
  color: #a67c52;
  transition: color 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #004d49;
}

.nav-cta {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 0.88rem !important;
}

.nav-cta:hover {
  background: color-mix(in srgb, var(--primary) 88%, black);
}

.partner-logo {
  display: block;
  width: auto;
  height: 4.5rem;
  object-fit: contain;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}

/* ---------- Hero ---------- */

.hero {
  margin-top: var(--header-h);
  background: #0c1614;
}

.hero-gallery {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: calc(100svh - var(--header-h));
  background: #0c1614;
  overflow: hidden;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 18, 16, 0.28) 0%, rgba(8, 18, 16, 0.05) 32%, rgba(8, 18, 16, 0.45) 62%, rgba(8, 18, 16, 0.82) 100%);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 7s linear;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-gallery-controls {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
}

.hero-gallery-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-gallery-btn:hover {
  background: color-mix(in srgb, var(--primary) 85%, black);
  transform: translateY(-1px);
}

.hero-gallery-dots {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.25rem;
}

.hero-gallery-dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: color-mix(in srgb, var(--primary) 28%, transparent);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-gallery-dot.is-active {
  width: 1.4rem;
  border-radius: 999px;
  background: var(--secondary);
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: end;
  width: min(100% - 2rem, 42rem);
  margin: 0 auto 0 max(1rem, calc((100% - var(--max)) / 2));
  padding: clamp(4.5rem, 12vh, 7rem) 0 clamp(6.75rem, 12vh, 8rem);
  pointer-events: none;
}

.hero-content .btn {
  pointer-events: auto;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: color-mix(in srgb, var(--white) 86%, var(--secondary));
}

.hero-content h1 {
  max-width: 12ch;
  margin: 0 0 var(--space-3);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--white);
  text-wrap: balance;
}

.hero-content > p:not(.hero-kicker) {
  margin: 0;
  line-height: 1.45;
  max-width: 38rem;
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-4);
  pointer-events: auto;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .hero-content {
    width: min(100% - 4rem, 46rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-slide.is-active img {
    transition: none;
    transform: none;
  }
}

/* ---------- Highlights carousel ---------- */

.highlights {
  padding: var(--space-7) 0;
  background:
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--primary) 94%, black);
  color: var(--white);
  min-height: 22rem;
  box-shadow: var(--shadow-soft);
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;
  padding: clamp(1.5rem, 4vw, 3rem);
  animation: riseIn 0.55s var(--ease);
}

.carousel-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.carousel-copy {
  max-width: 38rem;
}

.carousel-slide h3 {
  color: color-mix(in srgb, var(--secondary) 55%, white);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.carousel-slide p {
  color: color-mix(in srgb, var(--white) 88%, transparent);
  font-size: 1.125rem;
}

.carousel-media {
  margin: 0;
  width: min(100%, 16rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  order: -1;
}

.carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 800px) {
  .carousel-slide.is-active {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  }

  .carousel-media {
    width: 100%;
    justify-self: stretch;
    order: 0;
  }
}

.carousel-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
}

.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.carousel-btn:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  border-color: var(--secondary);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin-right: auto;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: color-mix(in srgb, var(--white) 35%, transparent);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.carousel-dot.is-active {
  width: 1.6rem;
  border-radius: 999px;
  background: var(--secondary);
}

/* ---------- Intro ---------- */

.intro {
  padding: var(--space-7) 0;
}

.intro-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.intro-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.intro-visual:hover img {
  transform: scale(1.04);
}

.intro-copy .eyebrow {
  margin-bottom: var(--space-2);
}

.intro-copy p {
  color: var(--text-muted);
}

/* ---------- Accommodation ---------- */

.subpage {
  padding-top: var(--header-h);
}

.lead-stay {
  padding: var(--space-7) 0;
}

.lead-stay-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-3);
  align-items: center;
}

.lead-stay-copy {
  grid-column: 1;
  grid-row: 1;
}

.lead-stay-photo {
  grid-column: 2;
  grid-row: 1;
}

.lead-stay-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
}

.lead-stay-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 72%;
}

.lead-stay-copy p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--text-muted);
}

.lead-stay-list {
  margin: var(--space-3) 0 var(--space-4);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lead-stay-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
}

.lead-stay-list a::after {
  content: "→";
  font-family: var(--font-body);
  color: var(--secondary);
}

.lead-stay-list a:hover {
  color: var(--secondary);
}

.lead-facilities {
  padding: var(--space-7) 0;
  background: var(--bg-soft);
}

.lead-facilities-head {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.lead-facilities-head p:not(.eyebrow) {
  max-width: 36rem;
  margin: 0;
  color: var(--text-muted);
}

.lead-facility-grid {
  display: grid;
  gap: var(--space-3);
}

.lead-facility-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 9.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.lead-facility-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.lead-facility-grid span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--secondary);
}

.lead-facility-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
}

.lead-things {
  padding: var(--space-7) 0;
}

.lead-things-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
}

.lead-things-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-things-panel {
  margin-top: var(--space-4);
}

.lead-things-panel p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--text-muted);
}

.lead-things-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.lead-things-links a {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
}

.lead-things-links a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

@media (max-width: 699px) {
  .lead-stay-grid {
    grid-template-columns: 1fr;
  }

  .lead-stay-copy,
  .lead-stay-photo {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 800px) {
  .lead-stay-grid {
    gap: var(--space-5);
  }

  .lead-stay-photo,
  .lead-stay-photo img {
    height: 100%;
    min-height: 32rem;
    aspect-ratio: auto;
  }

  .lead-facilities-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 860px) {
  .lead-things-photo {
    aspect-ratio: 16 / 8;
  }

  .lead-things-frame {
    padding-bottom: 2rem;
  }

  .lead-things-panel {
    position: relative;
    z-index: 1;
    width: min(40rem, 72%);
    margin-top: -7rem;
    margin-left: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--bg) 94%, white);
    box-shadow: var(--shadow-soft);
  }
}

@media (min-width: 720px) {
  .lead-facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lead-facility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.accommodation h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.accommodation {
  padding: var(--space-7) 0;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 4%, transparent) 40%, transparent),
    var(--bg-soft);
}

.accommodation-cards {
  display: grid;
  gap: var(--space-4);
}

.unit-card {
  display: grid;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.unit-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  background: var(--bg-deep);
}

.unit-carousel {
  aspect-ratio: 4 / 3;
}

.unit-slides,
.unit-slide {
  position: absolute;
  inset: 0;
}

.unit-slide {
  margin: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.unit-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.unit-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-carousel-controls {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  backdrop-filter: blur(8px);
}

.unit-carousel-controls[hidden] {
  display: none;
}

.unit-carousel-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
}

.unit-carousel-btn:hover {
  background: color-mix(in srgb, var(--primary) 85%, black);
}

.unit-carousel-dots {
  display: flex;
  gap: 0.35rem;
  padding: 0 0.2rem;
}

.unit-body {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.unit-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.unit-body p {
  color: var(--text-muted);
}

.unit-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.unit-body li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.92rem;
  color: var(--supporting);
}

.unit-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---------- Facilities ---------- */

.facility-page {
  padding: var(--space-6) 0 var(--space-7);
}

.facility-page-intro {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.facility-page-intro p:not(.eyebrow) {
  color: var(--text-muted);
}

.facility-page-list {
  border-bottom: 1px solid var(--line);
}

.facility-feature {
  display: grid;
  gap: var(--space-3);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.facility-copy h2 {
  margin-bottom: var(--space-2);
}

.facility-media {
  border-radius: var(--radius-lg);
  min-height: 14rem;
}

.facility-index {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--secondary);
}

.facility-copy p {
  max-width: 40rem;
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .facility-feature {
    grid-template-columns: 7rem minmax(0, 1fr) minmax(16rem, 22rem);
    gap: var(--space-4);
    align-items: center;
  }
}

/* ---------- Outdoor spaces ---------- */

.outdoor-spaces {
  padding: var(--space-7) 0;
  background: var(--supporting);
  color: color-mix(in srgb, var(--white) 90%, transparent);
}

.outdoor-spaces h2,
.outdoor-spaces h3 {
  color: var(--white);
}

.outdoor-spaces .eyebrow {
  color: color-mix(in srgb, var(--secondary) 75%, white);
}

.outdoor-spaces .section-intro p:not(.eyebrow) {
  color: color-mix(in srgb, var(--white) 75%, transparent);
}

.outdoor-layout {
  display: grid;
  gap: var(--space-5);
}

.outdoor-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
}

.outdoor-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outdoor-items {
  display: grid;
  gap: var(--space-4);
}

.outdoor-item {
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--secondary) 45%, transparent);
}

.outdoor-item p {
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

/* ---------- Things to do ---------- */

.activity-page {
  padding: var(--space-6) 0 var(--space-7);
}

.activity-page-intro {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.activity-page-intro p:not(.eyebrow) {
  color: var(--text-muted);
}

.activity-list {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.activity {
  display: grid;
  gap: var(--space-3);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.activity,
.facility-feature,
.unit-card,
.lead-stay-copy,
.lead-stay-photo {
  min-width: 0;
}

.activity-media {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  min-height: 0;
}

.activity-media.unit-carousel {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.activity-body h2 {
  margin-bottom: var(--space-2);
}

.activity-body p {
  max-width: 36rem;
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 860px) {
  .activity {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
  }

  .activity:nth-child(even) .activity-media {
    order: 2;
  }
}

/* ---------- Contact ---------- */

.contact-page,
.gallery-page {
  padding: var(--space-6) 0 var(--space-7);
}

.contact-page-intro,
.gallery-page-intro {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.contact-page-intro p:not(.eyebrow),
.gallery-page-intro p:not(.eyebrow) {
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  gap: var(--space-4);
}

.contact-phones {
  display: grid;
  gap: 0.35rem;
  margin: var(--space-4) 0;
}

.contact-phones a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--primary);
}

.contact-phones a:hover {
  color: var(--secondary);
}

.contact-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.contact-card h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
    gap: var(--space-6);
    align-items: start;
  }
}

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

.gallery-grid {
  display: grid;
  gap: var(--space-3);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  min-width: 0;
}

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

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid figure:first-child {
    grid-column: 1 / -1;
  }

  .gallery-grid figure:first-child img {
    aspect-ratio: 16 / 8;
  }
}

@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .gallery-grid figure:first-child {
    grid-column: 1 / 2;
    grid-row: span 2;
  }

  .gallery-grid figure:first-child img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

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

.site-footer {
  padding: var(--space-6) 0 var(--space-5);
  background: color-mix(in srgb, var(--supporting) 92%, black);
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

.footer-brand {
  display: grid;
  gap: var(--space-3);
  max-width: 28rem;
}

.footer-logo {
  display: block;
  width: 7.5rem;
  height: auto;
  object-fit: contain;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--secondary) 70%, white);
}

.footer-phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--white);
  transition: color 0.25s var(--ease);
}

.footer-phone:hover {
  color: var(--secondary);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--secondary) 55%, white);
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) 45%, transparent);
}

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

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .outdoor-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-6);
  }

  .unit-card {
    grid-template-columns: 0.95fr 1.15fr;
  }

  .unit-card .unit-carousel {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .outdoor-layout {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "intro visual"
      "items visual";
    align-items: start;
  }

  .outdoor-layout .section-intro {
    grid-area: intro;
    margin-bottom: 0;
  }

  .outdoor-visual {
    grid-area: visual;
    height: 100%;
    min-height: 28rem;
    aspect-ratio: auto;
  }

  .outdoor-items {
    grid-area: items;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: end;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .activities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .brand {
    grid-column: 1;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    grid-column: 3;
  }

  .partner-logo {
    grid-column: 4;
    height: 3.5rem;
  }

  .brand-logo {
    height: 2.75rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  /* Keep the "Plan your stay" button in the header bar; only the links drop down */
  .site-nav,
  .site-nav.is-open {
    display: contents;
  }

  .site-nav ul {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: var(--space-3) var(--space-2) var(--space-4);
    background: color-mix(in srgb, var(--bg) 97%, white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open ul {
    display: flex;
  }

  .brand,
  .nav-toggle,
  .nav-cta,
  .partner-logo {
    grid-row: 1;
  }

  .nav-cta {
    grid-column: 2;
    justify-self: end;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .unit-body ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand-logo {
    height: 2.25rem;
  }

  .partner-logo {
    height: 2.9rem;
  }

  .nav-cta {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem !important;
  }
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease), background 0.25s var(--ease);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: color-mix(in srgb, var(--primary) 88%, black);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide img,
  .hero-slide.is-active img {
    transform: none;
  }
}
