/* ==========================================================================
   Camp Soularia — styles
   Mobile-first. Palette taken from the Camp Soularia logo (lime-to-leaf green)
   paired with deep forest greens and warm sand neutrals.
   ========================================================================== */

:root {
  --forest: #24361c;
  --forest-deep: #172413;
  --olive: #3f6b1f;
  --sage: #b3c39a;
  --sand: #efe7d8;
  --cream: #faf6ee;
  --clay: #3d7a12;      /* brand leaf green (buttons, links) */
  --sun: #c4dc3c;       /* brand lime (accents on dark) */
  --ink: #23261f;
  --muted: #5b5f52;
  --line: #ddd3bf;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 40, 28, 0.12);
  --header-h: 68px;
  --gutter: 16px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--forest); }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* ---------- Placeholder markers (remove usages before launch) ---------- */
.preview-banner {
  background: var(--sun); color: var(--forest-deep); text-align: center;
  font-size: .875rem; padding: 8px var(--gutter);
}
.ph {
  display: inline; background: rgba(226, 169, 82, 0.18); border-bottom: 2px dashed var(--sun);
  padding: 0 4px; font-style: italic; color: var(--muted);
}
.ph-dark { color: var(--sand); background: rgba(226, 169, 82, 0.15); }
.ph-block {
  border: 2px dashed var(--sun); background: rgba(226, 169, 82, 0.08);
  padding: 16px 18px; border-radius: var(--radius); font-style: normal; color: var(--muted);
}
.ph-tag {
  display: inline-block; font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; vertical-align: middle;
  background: var(--sun); color: var(--forest-deep); padding: 2px 8px; border-radius: 999px; margin-left: 4px;
}
.ph-block .ph-tag { display: table; margin: 0 0 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--clay);
  background: var(--clay); color: #fff; font: 600 1rem/1 var(--font-body); text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: #2f6210; border-color: #2f6210; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-light { background: var(--sun); border-color: var(--sun); color: var(--forest-deep); }
.btn-light:hover { background: #d4e86a; border-color: #d4e86a; color: var(--forest-deep); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .95rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest);
  font: 600 1.25rem var(--font-display); }
.brand:hover { color: var(--forest); }

.nav-toggle {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; border-radius: 10px;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 24px; height: 2px; background: var(--forest); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.site-nav a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.site-nav a:not(.btn):hover { color: var(--clay); }
.site-nav .btn { margin-top: 14px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .site-nav a:not(.btn) { border: 0; padding: 8px 12px; font-size: .97rem; }
  .site-nav .btn { margin: 0 0 0 10px; width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,18,.15) 0%, rgba(20,26,18,.35) 45%, rgba(20,26,18,.82) 100%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 10vh, 110px); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-lead { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,.92); }
.hero .ph { color: #fff; background: rgba(226,169,82,.3); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--clay); margin-bottom: .75em; }
.hero .eyebrow { color: var(--sun); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--forest); color: var(--sand); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sun); }
.section-dark a { color: var(--sun); }
.section-head { max-width: 680px; margin-bottom: 40px; }

.split { display: grid; gap: 40px; align-items: center; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 9 / 11; object-fit: cover; width: 100%; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

/* Cards */
.cards { display: grid; gap: 24px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.card-body { padding: 22px 22px 26px; }
.card-body p { color: var(--muted); margin: 0; }

/* Amenities */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .amenities { grid-template-columns: repeat(4, 1fr); } }
.amenities li {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 500;
}
.amenities .icon { font-size: 1.35rem; }

/* Experiences */
.exp-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .exp-grid { grid-template-columns: repeat(3, 1fr); } }
.exp { border-top: 1px solid rgba(239, 231, 216, .3); padding-top: 22px; }
.exp p { color: rgba(239, 231, 216, .85); }
.exp-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--sun); display: block; margin-bottom: 8px; }

/* Gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
.gallery-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery-item.g-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  /* wide tiles take the height of the square tiles in their row */
  .gallery-item.g-wide { aspect-ratio: auto; position: relative; }
  .gallery-item.g-wide img { position: absolute; inset: 0; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 90vh; }
.lightbox::backdrop { background: rgba(15, 20, 13, .88); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--forest); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { counter-increment: step; background: var(--cream); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--sand); font: 600 1.1rem var(--font-display); margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.12rem var(--font-display); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem var(--font-body); color: var(--clay); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Location */
address { font-style: normal; margin-bottom: 1em; }
.map-ph {
  min-height: 320px; border-radius: var(--radius); display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--sun); color: var(--muted); padding: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(94,107,71,.06) 0 12px, transparent 12px 24px),
    var(--cream);
}

/* Form */
.inquiry { display: grid; gap: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(239,231,216,.2);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: 6px; color: #fff; }
.opt { font-weight: 400; color: var(--sage); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(239,231,216,.45);
  background: var(--cream); color: var(--ink); font: 1rem var(--font-body);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; }
.field [aria-invalid="true"] { border: 2px solid #f19a7a; }
.error { color: #ffb59c; font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--sun); }
.check label { font-weight: 400; color: var(--sand); margin: 0; }
.check .error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; background: rgba(255,255,255,.08); border-left: 4px solid var(--sun); }
.form-status.success { border-color: #9fd18a; }
.form-status.error-state { border-color: #f19a7a; }
.form-status p { margin: 0 0 .5em; }
.form-status p:last-child { margin: 0; }
.alt-contact { margin-top: 24px; color: var(--sand); }
.inquiry .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--sand); padding: 56px 0 24px; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--sun); }
.brand-footer { color: #fff; margin-bottom: 12px; }
.brand-footer:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-base { border-top: 1px solid rgba(239,231,216,.15); margin-top: 40px; padding-top: 20px; font-size: .9rem; color: var(--sage); }

/* Simple content pages (privacy, 404) */
.page { padding: clamp(56px, 9vw, 110px) 0; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.page-404 .big { font: 600 clamp(5rem, 20vw, 9rem)/1 var(--font-display); color: var(--sage); margin: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: perspective(900px) translate3d(0, 28px, -40px) rotateX(9deg); transform-origin: 50% 100%; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .gallery-item:hover img { transform: none; }
}

/* ==========================================================================
   Content components
   ========================================================================== */
.lead { font-size: 1.15rem; color: var(--ink); }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(255,255,255,.88); font-size: .95rem; }
.hero-facts strong { display: block; font: 600 1.5rem var(--font-display); color: #fff; }
.verse { margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sun); }
.verse p { font: 400 1.35rem/1.4 var(--font-display); font-style: italic; color: var(--forest); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px !important; }
.chips span { font-size: .78rem; font-weight: 600; background: #e7efd5; color: #2c4a14; padding: 3px 10px; border-radius: 999px; }
.card h3 { margin-bottom: .4em; }
.card-body p:last-child { margin: 0; }

.amenity-feature { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.amenity-feature figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.amenity-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.amenity-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(15, 24, 12, .8));
}

.exp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.exp { border-top: 0; padding-top: 0; }

.events { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .events { grid-template-columns: repeat(2, 1fr); } .event-lg { grid-column: span 2; } }
@media (min-width: 1000px) { .events { grid-template-columns: repeat(3, 1fr); } .event-lg { grid-column: span 2; grid-row: span 2; } .event-wide { grid-column: span 2; } }
.event { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--forest); min-height: 240px; }
.event img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.event:hover img { transform: scale(1.03); }
.event figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; color: rgba(255,255,255,.9); font-size: .92rem;
  background: linear-gradient(transparent, rgba(12, 20, 10, .88));
}
.event figcaption strong { display: block; color: #fff; font: 600 1.2rem var(--font-display); }
.event-lg { min-height: 320px; }
@media (min-width: 1000px) { .event-lg { min-height: 500px; } }
.events-cta { margin-top: 32px; text-align: center; }

.gallery-item.g-tall { grid-row: span 2; aspect-ratio: auto; position: relative; }
.gallery-item.g-tall img { position: absolute; inset: 0; }

.reels { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; max-width: 720px; }
.reel { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 14; color: #fff; text-decoration: none; background: var(--forest); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s, opacity .3s; }
.reel:hover img { transform: scale(1.04); opacity: .7; }
.reel-play {
  position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.reel-play::after {
  content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--clay);
}
.reel-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(12, 20, 10, .85));
}
.reel:hover { color: #fff; }

.review-section { padding: clamp(48px, 7vw, 80px) 0; }
.review { margin: 0; text-align: center; }
.review blockquote { margin: 0 0 12px; }
.review blockquote p { font: 400 clamp(1.5rem, 4vw, 2.2rem)/1.3 var(--font-display); color: var(--forest); }
.review figcaption { color: var(--muted); }

.split-even figure img { aspect-ratio: 4 / 5; }
address { line-height: 1.6; }
.route { margin-top: 24px; }
.route h3 { font-size: 1.15rem; }
.route ol { padding-left: 1.2em; margin: 0; }
.route li { margin-bottom: 6px; }
.route-links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-outline { background: transparent; color: var(--clay); }
.btn-outline:hover { background: var(--clay); color: #fff; }

/* ==========================================================================
   3D and ambient effects (driven by assets/js/effects.js)
   ========================================================================== */
.hero-img { will-change: transform; transform: scale(1.15); }
.hero-content { will-change: transform, opacity; transform-style: preserve-3d; z-index: 3; }
.hero-hills { position: absolute; left: 0; right: 0; width: 100%; pointer-events: none; }
.hero-hills-back { bottom: -40px; height: clamp(110px, 18vw, 260px); z-index: 1; will-change: transform; }
.hero-hills-front { bottom: -1px; height: clamp(34px, 7vw, 110px); color: var(--cream); z-index: 4; }
.hero-content { padding-bottom: clamp(70px, 13vh, 150px); }

.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
#experiences { position: relative; overflow: hidden; }
#experiences .container { position: relative; z-index: 3; }

/* Tilt: the element leans towards the pointer with a soft glare */
.tilt { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; transform-style: preserve-3d; position: relative; }
/* higher specificity than the scroll-reveal rules so the tilt wins once an element has appeared */
.js .tilt:not(.reveal), .js .tilt.reveal.is-visible {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, opacity .8s ease;
}
.js .tilt.is-tilting.is-tilting { transition: transform .12s linear, box-shadow .4s ease; box-shadow: 0 22px 44px rgba(23, 36, 19, .25); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 55%);
  z-index: 2;
}
.tilt.is-tilting::after { opacity: 1; }
.exp img.tilt::after { display: none; }
.card .card-body { transform: translateZ(18px); }

@media (prefers-reduced-motion: reduce) {
  .hero-img { transform: none; }
  .fireflies { display: none; }
  .js .tilt { transform: none !important; }
}

/* ==========================================================================
   Atmospheric section backdrops: a day at camp, from sunrise to starry night
   ========================================================================== */
.section { position: relative; isolation: isolate; }

/* Morning sun spilling over the lawn */
.bg-sunrise {
  background:
    radial-gradient(ellipse 60% 55% at 92% 8%, rgba(255, 214, 140, .55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(196, 220, 60, .18), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, #fbf1df 60%, #f6ead2 100%);
}
/* Dappled leaf shadows, as if under the trees */
.bg-sunrise::before, .bg-shore::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='%233d7a12' fill-opacity='.05'%3E%3Cpath d='M40 60c30-30 70-20 80 10-30 20-60 20-80-10z'/%3E%3Cpath d='M170 30c25-15 55-5 60 20-25 12-50 8-60-20z'/%3E%3Cpath d='M150 170c30-25 70-15 78 15-30 18-62 15-78-15z'/%3E%3Cpath d='M20 200c22-20 52-12 58 12-22 14-46 12-58-12z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Softly blurred camp photos behind light content */
.bg-photo { overflow: hidden; background: var(--sand); }
.bg-photo::before {
  content: ""; position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center;
  filter: blur(18px) saturate(1.15); transform: scale(1.05);
}
.bg-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(250, 246, 238, .86) 0%, rgba(250, 246, 238, .74) 50%, rgba(246, 236, 214, .9) 100%);
}
.bg-photo-garden::before { background-image: url("../images/garden-view.webp"); }
.bg-photo-entrance::before { background-image: url("../images/entrance-driveway.webp"); }

/* Cool pool water with light ripples */
.bg-pool {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.45' stroke-width='2'%3E%3Cpath d='M0 30c30-14 60 14 90 0s60-14 90 0 45 8 60 0'/%3E%3Cpath d='M-20 80c30-14 60 14 90 0s60-14 90 0 60 14 90 0'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(180deg, #e6f6f3 0%, #c9ebe8 55%, #aedfe0 100%);
}
.bg-pool .amenities li { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }

/* Bonfire night: deep night with a warm ember glow rising from below */
.bg-bonfire {
  background:
    radial-gradient(ellipse 55% 45% at 50% 115%, rgba(240, 132, 48, .5), transparent 70%),
    radial-gradient(ellipse 30% 25% at 50% 105%, rgba(255, 190, 90, .35), transparent 70%),
    linear-gradient(180deg, #101c17 0%, #172a19 55%, #23311a 100%);
}

/* Golden hour */
.bg-golden {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 222, 150, .75), transparent 32%),
    linear-gradient(180deg, #fbf3e3 0%, #f8e2c4 55%, #f3d2b8 100%);
}

/* Deep garden green with light filtering through */
.bg-forest {
  background:
    radial-gradient(ellipse 50% 40% at 15% 0%, rgba(196, 220, 60, .22), transparent 70%),
    radial-gradient(ellipse 45% 35% at 90% 100%, rgba(120, 170, 70, .25), transparent 70%),
    linear-gradient(160deg, #1d3a1c 0%, #234520 50%, #16301a 100%);
}

/* Dusk: twilight over the treeline */
.bg-dusk {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(250, 170, 120, .35), transparent 70%),
    linear-gradient(180deg, #23284a 0%, #3b3a63 45%, #6b4f6e 80%, #8a5d63 100%);
}

/* Morning mist over the grass */
.bg-mist {
  background:
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(255, 255, 255, .6), transparent 70%),
    linear-gradient(180deg, #e3eedb 0%, #eef2e2 50%, #f6f1e4 100%);
}
.bg-mist .steps li { background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px); box-shadow: var(--shadow); }

/* Sunset glow behind the guest quote */
.bg-sunset { background: linear-gradient(120deg, #fde6c9 0%, #f9d0b4 45%, #f1c9cf 100%); }

/* Sandy shore with gentle waves at the bottom */
.bg-shore {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23cdeae6' fill-opacity='.7' d='M0 40c180-30 360 30 540 10s360-40 540-10 270 20 360 5V90H0z'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat,
    linear-gradient(180deg, var(--cream) 0%, #f6ecd6 100%);
  padding-bottom: clamp(100px, 12vw, 150px);
}

/* Starry night sky over camp */
.bg-starry {
  background:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, rgba(255,250,220,.85), transparent),
    radial-gradient(1px 1px at 60px 190px, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 250px 40px, rgba(255,255,255,.75), transparent),
    linear-gradient(180deg, #0e1a2b 0%, #152535 45%, #1b2f22 100%);
  background-size: 280px 220px, 280px 220px, 280px 220px, 280px 220px, 280px 220px, 100% 100%;
}
.bg-starry .inquiry { background: rgba(10, 20, 30, .45); backdrop-filter: blur(4px); }
