/* =====================================================================
   SELAH OUTPOST — Early Access landing page
   ---------------------------------------------------------------------
   PALETTE: pulled from alpenglow / glacier photography —
   deep evergreen forest, alpenglow ember orange, glacier turquoise,
   deep sky blue, and snow white. Bright, sharp, high-contrast.
   Edit the tokens below to shift the whole page at once.
   ===================================================================== */
:root {
  /* Core palette */
  --evergreen:    #123D2B;   /* deep forest — dark sections, headings */
  --evergreen-dk: #0B2A1D;   /* deepest shade — footer */
  --evergreen-lt: #1E5C41;   /* lifted forest — hovers on dark */

  --ember:        #F4541D;   /* alpenglow orange — primary CTA */
  --ember-dk:     #D33F0C;   /* CTA hover */
  --ember-lt:     #FF8A4C;   /* light orange — eyebrows on dark */

  --glacier:      #2FB6D4;   /* glacier turquoise — secondary accent */
  --sky:          #0A6FB8;   /* deep sky blue — links, accents */

  --snow:         #F9F8F4;   /* page background */
  --mist:         #E8EFEA;   /* alternating section background */

  --ink:          #16211C;   /* body text */
  --muted:        #55645C;   /* secondary text */
  --line:         #D2DFD7;   /* hairlines / borders */
  --cream:        #F9F8F4;   /* text on dark */
  --cream-mute:   #BFD1C6;   /* secondary text on dark */

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--snow);
  line-height: 1.7;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================ LAYOUT ============================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.6rem; }
.container--narrow { max-width: 720px; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
/* A section that is also the container keeps the container's side gutter (privacy, refund, /my at phone width). */
.section.container { padding-left: 1.6rem; padding-right: 1.6rem; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--evergreen); color: var(--cream); }
.section--accent {
  background: linear-gradient(135deg, var(--evergreen) 0%, var(--evergreen-lt) 55%, var(--sky) 130%);
  color: var(--cream);
}
.section__head { margin-bottom: 2.4rem; }
.section__head--center { text-align: center; }

/* ============================ TYPOGRAPHY ============================ */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--evergreen);
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.display--light { color: var(--cream); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  color: var(--ember);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--ember-lt); }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; max-width: 56ch; }
.lead--light { color: var(--cream-mute); }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.22s var(--ease), transform 0.2s var(--ease), box-shadow 0.22s var(--ease);
}
.btn--solid {
  background: var(--ember);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(244, 84, 29, 0.28);
}
.btn--solid:hover {
  background: var(--ember-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 84, 29, 0.34);
}
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ============================ TOPBAR ============================ */
.topbar { padding: 1.4rem 0; background: var(--snow); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__mark { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.09em; color: var(--evergreen); }
.brand__sub { font-family: var(--sans); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.36em; color: var(--ember); }
.topbar__pill {
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--sky); border: 1.5px solid var(--glacier); border-radius: 999px;
  padding: 0.35rem 0.95rem;
}

/* ============================ IMAGE PLACEHOLDERS ============================
   Every [data-img] shows a glacier-toned gradient plus a label naming the
   exact file to drop in. script.js swaps in the real photo automatically
   the moment that file exists — no HTML edits needed later. */
[data-img] {
  position: relative;
  background: linear-gradient(140deg, var(--glacier) 0%, var(--sky) 55%, var(--evergreen) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.media__label {
  display: block;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--evergreen);
  background: rgba(249, 248, 244, 0.92);
  padding: 0.5rem 0.7rem;
  margin: 0.7rem;
  border-radius: var(--radius);
  max-width: calc(100% - 1.4rem);
  transition: opacity 0.3s var(--ease);
}
[data-img].has-photo .media__label { opacity: 0; pointer-events: none; }

/* ============================ HERO ============================ */
.hero { position: relative; padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(3.5rem, 7vw, 5rem); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
/* keep the "drop in ___" label legible above the scrim while it's still a placeholder */
.hero .media__label { position: relative; z-index: 3; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(175deg, rgba(11,42,29,0.62) 0%, rgba(11,42,29,0.78) 70%, rgba(11,42,29,0.9) 100%);
}
.hero__content { position: relative; z-index: 2; text-align: left; }
.hero__note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.hero__note--light { color: var(--cream-mute); }

/* ============================ MAILCHIMP FORMS ============================ */
.mc-form {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: stretch;
  max-width: 520px; margin-bottom: 0.4rem;
}
.mc-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
}
.mc-form input[type="email"]::placeholder { color: #8A968F; }
.mc-form input[type="email"]:focus { outline: 3px solid var(--glacier); outline-offset: 1px; border-color: transparent; }
.mc-form .btn { flex: 0 0 auto; }
.early-access .mc-form { margin-left: auto; margin-right: auto; }
.early-access .hero__note { text-align: center; }

/* ============================ PROPERTY LAYOUT ============================ */
.layout__media { width: 100%; aspect-ratio: 21 / 9; border-radius: var(--radius); margin-bottom: 1.3rem; }
.layout__caption { color: var(--muted); max-width: 62ch; margin: 0 auto; text-align: center; }

/* ============================ STAYS ============================ */
.stays__grid { display: grid; gap: 2.4rem; grid-template-columns: repeat(2, 1fr); }
.stay {
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(18, 61, 43, 0.07);
}
.stay__media { aspect-ratio: 4 / 3; }
.stay__tag {
  background: var(--evergreen); color: var(--cream); font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; padding: 0.4rem 0.75rem;
  border-radius: var(--radius); margin: 0.7rem; align-self: flex-end; margin-top: auto;
}
.stay__body { padding: 1.7rem; }
.stay__body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; color: var(--evergreen); margin-bottom: 0.3rem; }
.stay__type { color: var(--sky); font-weight: 500; font-size: 0.85rem; margin-bottom: 0.9rem; }
.stay__body > p:not(.stay__type) { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.stay__features { margin-bottom: 1.4rem; }
.stay__features li {
  color: var(--ink); font-size: 0.9rem; padding-left: 1.3rem; position: relative; margin-bottom: 0.45rem;
}
.stay__features li::before {
  content: "\25B8"; position: absolute; left: 0; color: var(--ember); font-size: 0.85rem;
}
@media (max-width: 800px) { .stays__grid { grid-template-columns: 1fr; } }

/* ============================ LAND GALLERY ============================ */
.land-gallery__grid { display: grid; gap: 1.7rem; grid-template-columns: repeat(3, 1fr); }
.gallery-tile__media { aspect-ratio: 1 / 1; border-radius: var(--radius); margin-bottom: 0.9rem; }
.gallery-tile h4 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--cream); }
.gallery-tile p { font-size: 0.88rem; color: var(--cream-mute); }
@media (max-width: 860px) { .land-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .land-gallery__grid { grid-template-columns: 1fr; } }

/* ============================ WHY GRID ============================ */
.why__grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(3, 1fr); }
.why__num {
  font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em;
  color: var(--ember); display: block; margin-bottom: 0.6rem;
}
.why__item h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: 0.4rem; color: var(--evergreen); }
.why__item p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .why__grid { grid-template-columns: 1fr; } }

/* ============================ STEPS ============================ */
.steps__list { display: flex; flex-direction: column; gap: 1.3rem; }
.steps__list li { display: flex; gap: 1rem; align-items: flex-start; color: var(--ink); }
.steps__num {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--ember); color: #FFFFFF; font-family: var(--sans); font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.steps__note {
  margin-top: 1.8rem; padding: 1rem 1.2rem;
  border-left: 3px solid var(--glacier); background: var(--mist);
  color: var(--muted); font-size: 0.92rem; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================ FAQ ============================ */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq__item summary {
  cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--evergreen);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--ember); flex: none; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }
.faq__item p a { color: var(--sky); text-decoration: underline; }

/* ============================ FOOTER ============================ */
.footer { background: var(--evergreen-dk); color: var(--cream); padding: 2.8rem 0 1.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.8rem; padding-bottom: 1.8rem; }
.footer .brand__mark { color: var(--cream); }
.footer__tag { font-size: 0.85rem; color: var(--cream-mute); margin-top: 0.4rem; }
.contact__list { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; }
.contact__list span { color: #7E9587; margin-right: 0.5rem; }
.contact__list a:hover { color: var(--ember-lt); }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; font-size: 0.78rem; color: #7E9587; }
.footer__legal a { color: var(--cream-mute); text-decoration: underline; }

/* ============================ SUCCESS PAGE ============================ */
.success {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 3rem 1.5rem;
}
.success__mark {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--ember); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem;
}

/* ============================ RESERVATION FUNNEL ============================
   Shared by reserve.html → checkout.html → confirmed.html.
   Flow: landing email capture → offer page → Stripe → confirmation. */

/* ---- Progress rail: Reservation → Checkout → Confirmation ---- */
.rail { background: var(--mist); border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.rail__list { display: flex; align-items: center; justify-content: center; gap: 0.55rem; flex-wrap: wrap; }
.rail__step {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.rail__step--done { color: var(--evergreen); }
.rail__step--now { color: var(--sky); font-weight: 600; }
.rail__sep { color: #A9BDB1; font-size: 0.9rem; }

/* ---- Placeholder for a business value that isn't set yet (rates, deposit).
        Deliberately loud so an unconfigured page can't be mistaken for live. ---- */
.tbd {
  display: inline-block; background: #FFF3ED; color: var(--ember-dk);
  border: 1px dashed var(--ember); border-radius: 4px;
  padding: 0 0.35rem; font-weight: 600; font-size: 0.92em;
  font-family: var(--sans); letter-spacing: 0.02em;
}

/* ---- Offer page ---- */
.offer__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}
.offer__media { aspect-ratio: 4 / 5; border-radius: var(--radius); position: sticky; top: 1.5rem; }
.offer__body h1 { margin-bottom: 1.2rem; }
.offer__body > p { color: var(--muted); margin-bottom: 1rem; }
.offer__subhead {
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--evergreen);
  margin: 1.8rem 0 0.8rem;
}
.rates { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.5rem; }
.rate {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.85rem 1rem; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.rate__name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--evergreen); }
.rate__sub { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.rate__price { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate__vip { font-weight: 600; color: var(--ember); font-size: 1.05rem; }
.rate__was { display: block; font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.perks { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.8rem; }
.perks li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; color: var(--ink); }
.perks li::before { content: "\25B8"; position: absolute; left: 0; color: var(--ember); }
.offer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.offer__reassure { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 860px) {
  .offer__grid { grid-template-columns: 1fr; }
  .offer__media { position: static; aspect-ratio: 16 / 10; }
}

/* ---- Checkout page ---- */
.checkout__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.checkout__note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  color: var(--ink); font-size: 0.95rem; margin-bottom: 2rem;
}
.checkout__note svg { flex: none; margin-top: 0.15rem; }
.summary { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.summary__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem;
}
.summary__label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.summary__amount { font-size: 1.15rem; font-weight: 600; color: var(--sky); font-variant-numeric: tabular-nums; }
.disclaimer h4 {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 0.5rem;
}
.disclaimer p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.pay {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.9rem); box-shadow: 0 2px 14px rgba(18, 61, 43, 0.07);
}
.pay__head { margin-bottom: 1.1rem; }
.pay__head h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--evergreen); }
.pay__head p { font-size: 0.85rem; color: var(--muted); }
/* Revealed by script.js only while the Stripe keys are still placeholders. */
.pay__unset {
  display: none; background: #FFF3ED; border: 1px dashed var(--ember);
  border-radius: var(--radius); padding: 1rem 1.1rem; color: var(--ember-dk); font-size: 0.9rem;
}
.pay__unset strong { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }
@media (max-width: 860px) { .checkout__grid { grid-template-columns: 1fr; } }

/* ---- Confirmation page ---- */
.next-steps { display: flex; flex-direction: column; gap: 1.1rem; text-align: left; margin: 2rem 0; }
.next-steps li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--ink); font-size: 0.95rem; }
.next-steps__num {
  flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--mist); color: var(--evergreen); font-weight: 600; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* =====================================================================
   CONSENT NOTICE
   Fixed bottom bar. Kept under ~60px on mobile and above the safe-area
   inset so it can't sit on top of the hero form's submit button.
   ===================================================================== */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--evergreen-dk); color: var(--cream);
  box-shadow: 0 -2px 14px rgba(11, 42, 29, 0.25);
  font-family: var(--sans); font-size: 0.8rem; line-height: 1.4;
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; max-width: 60ch; color: var(--cream-mute); }
.consent__text a { color: var(--cream); text-decoration: underline; }
.consent__actions { display: flex; align-items: center; gap: 1rem; }
.consent .btn { padding: 0.45rem 1.2rem; font-size: 0.78rem; }
.consent__decline {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--cream-mute); font-family: var(--sans); font-size: 0.78rem;
  text-decoration: underline;
}
.consent__decline:hover { color: var(--cream); }

@media (max-width: 640px) {
  .consent { justify-content: space-between; text-align: left; gap: 0.5rem 0.75rem; }
  .consent__text { font-size: 0.74rem; }
}

/* ---- Pay box merged into the offer page (2026-10-16) ---- */
.offer__deposit { font-weight: 700; color: var(--ember); margin-left: 0.6rem; letter-spacing: 0.12em; }
.offer__pay { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.4rem; }
.offer__pay .summary__row { margin-bottom: 0.3rem; padding-bottom: 0.8rem; }
.offer__pay .offer__reassure a { color: inherit; text-decoration: underline; }
