/* Figure 8 — luxury adventure photography, Whistler
   Palette derived from the live site's Squarespace theme variables:
   alabaster hsl(33.33,81.82%,95.69%), charcoal hsl(195,8%,19.61%),
   steel blue hsl(189.13,24.73%,63.53%) */

:root {
  --alabaster: #fdf5eb;
  --alabaster-dim: #f3e9da;
  --charcoal: #2e3436;
  --charcoal-soft: #3c4548;
  --steel: #8bb2b9;
  --steel-dark: #5f8994;
  --steel-deep: #3f6169;
  --line: rgba(253, 245, 235, 0.18);
  --line-dark: rgba(46, 52, 54, 0.12);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--alabaster);
  color: var(--charcoal);
  font-family: 'DM Sans', -apple-system, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(to bottom, rgba(46,52,54,0.55), rgba(46,52,54,0));
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(46, 52, 54, 0.92);
  padding: 14px 40px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}
.site-nav .brand img { height: 34px; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--alabaster);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--alabaster);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.cta {
  border: 1px solid var(--alabaster);
  padding: 10px 20px;
  border-radius: 2px;
}
.nav-links a.cta::after { display: none; }
.nav-links a.cta:hover { background: var(--alabaster); color: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span { width: 26px; height: 1.5px; background: var(--alabaster); display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 0 44px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a.cta { border-color: var(--steel); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--alabaster);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,35,36,0.45) 0%, rgba(30,35,36,0.35) 45%, rgba(30,35,36,0.72) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 30px;
}
.hero h1 em { font-style: italic; color: var(--steel); }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--alabaster);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--alabaster); color: var(--charcoal); }
.btn.solid {
  background: var(--steel-deep);
  border-color: var(--steel-deep);
}
.btn.solid:hover { background: var(--alabaster); color: var(--charcoal); border-color: var(--alabaster); }
.btn.dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn.dark:hover { background: var(--charcoal); color: var(--alabaster); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-bottom: 18px;
  display: block;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 760px; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 760px;
  line-height: 1.7;
  color: var(--charcoal-soft);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

.mission {
  background: var(--charcoal);
  color: var(--alabaster);
  text-align: center;
}
.mission p { max-width: 760px; margin: 0 auto 34px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-family: 'Newsreader', serif; line-height: 1.6; }
.mission a.btn { border-color: var(--steel); }
.mission a.btn:hover { background: var(--steel); border-color: var(--steel); color: var(--charcoal); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
@media (max-width: 780px) { .grid-3 { grid-template-columns: 1fr; gap: 40px; } }
.grid-3 .num { font-family: 'Newsreader', serif; font-size: 2rem; color: var(--steel-deep); margin-bottom: 14px; }
.grid-3 h3 { font-size: 1.25rem; margin-bottom: 12px; }
.grid-3 p { color: var(--charcoal-soft); font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
}
.split-media img { border-radius: 3px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-body p { color: var(--charcoal-soft); }

/* teaser band */
.teaser {
  position: relative;
  color: var(--alabaster);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 140px 24px;
}
.teaser::before { content: ""; position: absolute; inset: 0; background: rgba(30,35,36,0.55); }
.teaser-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.teaser h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 22px; }

/* ---------- Package page ---------- */
.package-hero-panel {
  background: var(--alabaster-dim);
  padding: 60px;
  border-radius: 3px;
}
.package-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px; }
.package-list li { display: flex; gap: 16px; align-items: flex-start; }
.package-list .arrow { color: var(--steel-deep); font-family: 'Newsreader', serif; font-size: 1.3rem; line-height: 1; margin-top: 2px; }
.package-list h4 { margin: 0 0 6px; font-size: 1.05rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: 0.01em; }
.package-list p { margin: 0; color: var(--charcoal-soft); font-size: 0.96rem; }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 40px;
}
@media (max-width: 780px) { .addon-grid { grid-template-columns: 1fr; } }
.addon-card {
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 30px;
  background: #fff;
}
.addon-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.addon-card .note { display: inline-block; margin-top: 12px; font-size: 0.82rem; color: var(--steel-deep); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Team ---------- */
.team-portrait { max-width: 640px; margin: 0 auto; border-radius: 3px; }

/* ---------- Gallery ---------- */
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media (max-width: 980px) { .masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
.masonry figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
}
.masonry figure:nth-child(5n+1) { aspect-ratio: 4/5; grid-row: span 2; }
.masonry img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.masonry figure:hover img { transform: scale(1.05); }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 56px; }
.faq-group h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-bottom: 6px;
}
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--steel-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 24px; color: var(--charcoal-soft); max-width: 720px; }

/* ---------- Book Now ---------- */
.book-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; max-width: 520px; }
.book-steps li { display: flex; gap: 16px; align-items: flex-start; }
.book-steps .n {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--steel-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', serif; font-size: 0.9rem; color: var(--steel-deep);
}
.book-steps p { margin: 0; padding-top: 4px; color: var(--charcoal-soft); }

form.booking {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 44px;
  border-radius: 3px;
}
form.booking .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { form.booking .row2 { grid-template-columns: 1fr; } }
form.booking label { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal-soft); display: block; margin-bottom: 8px; }
form.booking input, form.booking select, form.booking textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: var(--alabaster);
  padding: 13px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  border-radius: 2px;
}
form.booking textarea { min-height: 110px; resize: vertical; }
form.booking button { justify-self: start; margin-top: 6px; }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal p { color: var(--charcoal-soft); }
.legal a { color: var(--steel-deep); text-decoration: underline; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--charcoal);
  color: var(--alabaster);
  padding: 70px 0 30px;
  text-align: center;
}
footer.site-footer .foot-tagline {
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 30px;
  opacity: 0.92;
}
footer.site-footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
footer.site-footer .foot-links a { opacity: 0.85; }
footer.site-footer .foot-links a:hover { opacity: 1; color: var(--steel); }
footer.site-footer .foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.55;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
