/* =================================================================
   Wilderness Fishing Oasis - Rugged Northern fly-in fishing camp
   Single-page redesign · vanilla CSS, no build step
   ================================================================= */

:root {
  /* Palette */
  --ink: #0b1411;
  --pine-900: #0c1613;
  --pine-800: #102017;
  --pine-700: #14291f;
  --pine-600: #1a3527;
  --moss: #2f5e49;
  --moss-bright: #3f7a5e;
  --sage: #7aa089;
  --ember: #e2a261;
  --ember-bright: #f0b87c;
  --copper: #a85a2c; /* darkened for AA contrast on cream */
  --birch: #f4eedd;
  --birch-2: #efe6d0;
  --paper: #faf6ec;
  --mist: #b6c2bd;
  --ink-soft: #6f7d77;

  /* Text */
  --tx-on-dark: #ece7d8;
  --tx-on-dark-dim: #aebab2;
  --tx-on-light: #1c2a24;
  --tx-on-light-dim: #4e5d55;

  /* Lines & surfaces */
  --line-dark: rgba(244, 238, 221, 0.14);
  --line-light: rgba(28, 42, 36, 0.14);

  /* Type */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Bitter', Georgia, 'Times New Roman', serif;

  /* Spacing / shape */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --radius-lg: 12px;
  --section-y: clamp(72px, 10vw, 132px);
  --header-h: 72px; /* measured & overwritten by main.js for a CLS-free hero */

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(8, 16, 12, 0.16);
  --shadow-md: 0 18px 44px rgba(8, 16, 12, 0.26);
  --shadow-lg: 0 30px 70px rgba(6, 12, 9, 0.40);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  color: var(--tx-on-light);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

::selection { background: var(--ember); color: var(--pine-900); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ember); color: var(--pine-900);
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; z-index: 1000; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 0.95rem; letter-spacing: 0.16em; }
h1 em, h2 em { font-style: normal; color: var(--ember); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--ember); }
.eyebrow__rule { width: 42px; height: 2px; background: currentColor; display: inline-block; opacity: 0.7; }

.muted { color: var(--ink-soft); font-style: italic; font-size: 0.85em; font-family: var(--f-body); }
.section--dark .muted { color: var(--tx-on-dark-dim); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ember);
  --b-fg: var(--pine-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg);
  border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--ember { background: var(--ember); color: var(--pine-900); box-shadow: 0 8px 22px rgba(226, 162, 97, 0.28); }
.btn--ember:hover { background: var(--ember-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(226, 162, 97, 0.42); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(244, 238, 221, 0.10); transform: translateY(-2px); }
.section .btn--ghost { color: var(--tx-on-light); border-color: rgba(28,42,36,0.35); }
.section .btn--ghost:hover { background: rgba(28,42,36,0.06); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.site-header.scrolled {
  background: rgba(12, 22, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(6,12,9,0.28);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--birch); margin-right: auto; }
.brand__mark { color: var(--ember); display: grid; place-items: center; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.04rem; color: var(--birch); }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--tx-on-dark);
  position: relative; padding: 11px 0; /* ~43px hit area for touch-screen laptops */
  opacity: 0.86;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 5px; height: 2px; width: 0;
  background: var(--ember); transition: width .25s var(--ease);
}
.nav a:hover, .nav a.active { opacity: 1; color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav__cta { margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--birch); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: rgba(12, 22, 19, 0.98);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--tx-on-dark); padding: 14px 6px; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a.btn { border: none; margin-top: 12px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 920px);
  display: flex; align-items: center;
  color: var(--tx-on-dark);
  margin-top: calc(-1 * var(--header-h)); /* pull under transparent sticky header */
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,16,13,0.35), transparent 65%),
    linear-gradient(180deg, rgba(9,16,13,0.62) 0%, rgba(9,16,13,0.30) 36%, rgba(9,16,13,0.55) 72%, rgba(9,16,13,0.92) 100%),
    radial-gradient(120% 80% at 18% 30%, rgba(9,16,13,0.30), transparent 60%);
}
.hero__inner { padding-block: clamp(60px, 12vh, 140px); position: relative; }
.hero__title { max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.35); margin-bottom: 22px; }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 56ch; color: var(--tx-on-dark);
  margin-bottom: 34px; line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero__ownership {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--birch);
  margin: -8px 0 30px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  line-height: 1.9; /* comfortable spacing when it wraps to two lines */
}
.hero__ownership .own-phrase { white-space: nowrap; } /* break only between phrases, never mid-name */
.hero__ownership .own-star { color: var(--ember); padding-inline: 4px; }
@media (max-width: 360px) {
  .hero__ownership { letter-spacing: 0.14em; font-size: 0.8rem; }
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: #fff; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 60px);
  margin-top: clamp(40px, 7vh, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; line-height: 1; }
.stat__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ember); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(244,238,221,0.5); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--ember); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0);} 30% { opacity: 1;} 100% { opacity: 0; transform: translateY(12px);} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--pine-900); color: var(--birch);
  border-block: 1px solid var(--line-dark);
  overflow: hidden; padding: 16px 0;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 30px;
  white-space: nowrap; will-change: transform;
  animation: marquee 32s linear infinite;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 1.05rem;
}
.marquee__track span { color: var(--birch); }
.marquee__star { color: var(--ember); }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Generic section ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--dark {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(47,94,73,0.22), transparent 55%),
    linear-gradient(180deg, var(--pine-800), var(--pine-900));
  color: var(--tx-on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--birch); }

.section-head { max-width: 64ch; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head__lede { font-size: 1.08rem; color: var(--tx-on-light-dim); max-width: 58ch; }
.section--dark .section-head__lede { color: var(--tx-on-dark-dim); }

/* ---------- The Camp ---------- */
.camp__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.camp__media { position: relative; }
.camp__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 100 / 124; object-fit: cover; }
.camp__body h2 { margin-bottom: 22px; }
.camp__body p { margin-bottom: 18px; color: var(--tx-on-light-dim); }

.seal {
  position: absolute; right: -28px; bottom: -28px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--pine-900); color: var(--ember);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-dark);
}
.seal__text { font-family: var(--f-display); font-size: 7.4px; letter-spacing: 1.4px; fill: var(--ember); text-transform: uppercase; }

.ticks { display: grid; gap: 12px; margin: 26px 0 28px; }
.ticks li { position: relative; padding-left: 34px; color: var(--tx-on-light); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: var(--moss); border-radius: 50%;
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px;
  border-left: 2px solid var(--birch); border-bottom: 2px solid var(--birch);
  transform: rotate(-45deg);
}
.section--dark .ticks li { color: var(--tx-on-dark); }

.signature { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--moss); }

/* ---------- The Fishing (species) ---------- */
.species-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.species {
  background: rgba(244, 238, 221, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.species:hover { transform: translateY(-6px); border-color: rgba(226,162,97,0.5); box-shadow: var(--shadow-lg); }
.species__media { aspect-ratio: 11 / 8; overflow: hidden; }
.species__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.species:hover .species__media img { transform: scale(1.06); }
.species__body { padding: 22px 24px 26px; }
.species__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.species__latin { font-family: var(--f-serif); font-style: italic; font-size: 0.85rem; color: var(--sage); }
.species__body p { color: var(--tx-on-dark-dim); font-size: 0.96rem; margin-bottom: 18px; }
.species__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.72rem; padding: 5px 11px; border-radius: 100px;
  background: rgba(244,238,221,0.07); border: 1px solid var(--line-dark); color: var(--tx-on-dark);
}
.tag strong { color: var(--ember); }
.tag--season { background: rgba(226,162,97,0.12); border-color: rgba(226,162,97,0.3); color: var(--ember); }

/* ---------- Cabins & Amenities ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 36px); }
.feature {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__media { aspect-ratio: 6 / 5; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature h3 { padding: 22px 24px 8px; }
.feature p { padding: 0 24px 26px; color: var(--tx-on-light-dim); font-size: 0.98rem; }

.amenities {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px;
  margin-top: clamp(34px, 4vw, 50px);
  padding-top: 34px; border-top: 1px solid var(--line-light);
}
.amenities li { position: relative; padding-left: 28px; font-weight: 500; color: var(--tx-on-light); }
.amenities li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--ember); transform: rotate(45deg);
}

/* ---------- Catch of the season ---------- */
.catch { position: relative; color: var(--tx-on-dark); overflow: hidden; }
.catch__media { position: absolute; inset: 0; z-index: -1; }
.catch__media img { width: 100%; height: 100%; object-fit: cover; }
.catch__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,16,13,0.92) 0%, rgba(9,16,13,0.7) 42%, rgba(9,16,13,0.25) 100%); }
.catch__inner { padding-block: clamp(80px, 12vw, 150px); }
.catch__card { max-width: 56ch; }
.catch blockquote {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4;
  color: #fff; margin: 6px 0 18px;
}
.catch__by { color: var(--tx-on-dark-dim); margin-bottom: 26px; }

/* ---------- Gallery ---------- */
.masonry { columns: 3; column-gap: 18px; }
.shot {
  position: relative; break-inside: avoid; margin-bottom: 18px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.shot img { width: 100%; display: block; aspect-ratio: 14 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.shot--tall img { aspect-ratio: 4 / 5; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px; color: #fff;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem;
  background: linear-gradient(transparent, rgba(9,16,13,0.85));
  transform: translateY(8px); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.shot:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery__note { margin-top: 26px; color: var(--tx-on-dark-dim); font-size: 0.9rem; }
.gallery__note code, .trip-form__note code { background: rgba(244,238,221,0.1); padding: 2px 7px; border-radius: 4px; font-size: 0.85em; }

/* ---------- Rates ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: linear-gradient(180deg, var(--pine-700), var(--pine-900));
  color: var(--tx-on-dark); border-color: var(--ember);
  box-shadow: var(--shadow-lg);
}
.plan--featured .plan__name, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc { color: var(--tx-on-dark-dim); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ember); color: var(--pine-900);
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.plan__name { margin-bottom: 14px; }
.plan__price { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--pine-900); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__from { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--copper); }
.plan--featured .plan__from { color: var(--ember); }
.plan__unit { font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.plan--featured .plan__unit { color: var(--tx-on-dark-dim); }
.plan__desc { margin: 14px 0 20px; color: var(--tx-on-light-dim); }
.plan__list { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 0.96rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--moss-bright); font-weight: 700; }
.plan--featured .plan__list li::before { color: var(--ember); }
.plan--featured .btn--ghost { color: #fff; border-color: rgba(244,238,221,0.5); }
.rates__foot { text-align: center; margin-top: 36px; color: var(--tx-on-light-dim); }
.rates__foot a, .reviews__foot a, .gallery__note a { color: var(--copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section--dark .reviews__foot a { color: var(--ember); }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.quote {
  background: rgba(244,238,221,0.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.quote__stars { color: var(--ember); letter-spacing: 3px; margin-bottom: 14px; }
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: 1.08rem; line-height: 1.55; color: var(--birch); margin-bottom: 18px; }
.quote figcaption { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--ember); }
.reviews__foot { text-align: center; margin-top: 34px; color: var(--tx-on-dark-dim); }

/* ---------- Plan / Contact ---------- */
.plan-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.plan-grid__intro h2 { margin-bottom: 18px; }
.plan-grid__intro > p { color: var(--tx-on-light-dim); margin-bottom: 30px; max-width: 46ch; }

.contact-list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__ic {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--pine-900); color: var(--ember);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-list__k { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--copper); margin-bottom: 2px; }
.contact-list a:hover { color: var(--copper); }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem;
  padding: 9px 18px; border: 1px solid var(--line-light); border-radius: 100px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social:hover { background: var(--pine-900); color: var(--ember); border-color: var(--pine-900); }

/* Form */
.trip-form {
  background: #fff; border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--tx-on-light-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-light); border-radius: var(--radius);
  background: var(--paper); color: var(--tx-on-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(226,162,97,0.22);
}
.field textarea { resize: vertical; }
.trip-form .btn { margin-top: 6px; }
.trip-form__note { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }

/* Post-submit status (inserted above the form by main.js when ?sent= is present) */
.form-status {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px;
  font-weight: 500; border: 1px solid;
}
.form-status--ok { background: rgba(63, 122, 94, 0.12); border-color: rgba(63, 122, 94, 0.4); color: #24523d; }
.form-status--err { background: rgba(168, 90, 44, 0.10); border-color: rgba(168, 90, 44, 0.4); color: var(--copper); }
.form-status--pending { background: rgba(28, 42, 36, 0.05); border-color: var(--line-light); color: var(--tx-on-light-dim); }
.trip-form button[disabled] { opacity: 0.75; cursor: default; transform: none; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-900); color: var(--tx-on-dark); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.brand--footer { color: var(--birch); margin-bottom: 16px; }
.footer-brand__blurb { color: var(--tx-on-dark-dim); margin-bottom: 18px; max-width: 38ch; font-size: 0.95rem; }
.footer-col h4 { color: var(--ember); margin-bottom: 18px; text-transform: uppercase; }
.footer-col a { display: block; color: var(--tx-on-dark-dim); padding: 6px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--birch); }
.footer-news p { color: var(--tx-on-dark-dim); font-size: 0.92rem; margin-bottom: 14px; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; padding: 11px 14px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(244,238,221,0.06); color: var(--birch); }
.news input::placeholder { color: var(--ink-soft); }
.news input:focus { outline: none; border-color: var(--ember); }
.footer-partners { margin-top: 16px; font-size: 0.82rem; color: var(--ink-soft); }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--tx-on-dark-dim); }
.footer-bottom__credit { color: var(--tx-on-dark-dim); }

/* ---------- Reveal animation ----------
   Only hide when JS is confirmed (html.js). Without JS, or if the observer
   never fires, content is always visible - progressive enhancement only. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .species-grid, .feature-grid, .plans, .quotes { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .camp__grid { grid-template-columns: 1fr; }
  .camp__media { max-width: 560px; }
  .seal { width: 108px; height: 108px; right: 12px; bottom: -22px; }
}
@media (max-width: 1240px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.8rem; }
  .nav__cta { padding: 12px 18px; font-size: 0.82rem; }
}
@media (max-width: 1080px) {
  .nav, .nav__cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
}
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .species-grid, .feature-grid, .plans, .quotes { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .plan--featured { transform: none; }
}

/* ===========================================================
   Round 2+ polish - depth, texture, anchor offset, utilities
   =========================================================== */

/* Anchored nav jumps clear the sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* Subtle topographic texture on dark sections for rugged depth (cheap, static) */
.section--dark, .catch, .hero { position: relative; }
.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5;
  background-image:
    radial-gradient(60% 50% at 85% -10%, rgba(47,94,73,0.16), transparent 60%),
    repeating-linear-gradient(115deg, rgba(244,238,221,0.018) 0 2px, transparent 2px 7px);
}
.section--dark > .wrap, .catch__inner { position: relative; z-index: 2; }

/* Warm "first-light" glow in the hero */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 18%, rgba(226,162,97,0.22), transparent 60%);
  mix-blend-mode: screen;
}

/* Section accent rule - a thin topographic divider above headed sections */
.section-head .eyebrow { position: relative; }

/* Back-to-top */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ember); color: var(--pine-900);
  display: grid; place-items: center; z-index: 90;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease), background .2s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ember-bright); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s, visibility .2s; transform: none; }
}

/* ---- Round 3 micro-polish: typography balance + card depth ---- */
h1, h2, h3 { text-wrap: balance; }
.hero__lede, .section-head__lede { text-wrap: pretty; }

.species, .quote {
  box-shadow: inset 0 1px 0 rgba(244,238,221,0.05);
}
.feature, .plan, .trip-form {
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6);
}
.feature:hover { box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.6); }

/* Crisper card media framing */
.species__media, .feature__media { position: relative; }
.species__media::after, .feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -40px 60px -30px rgba(9,16,13,0.55);
}

/* ---- FAQ ---- */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.faq { background: linear-gradient(180deg, var(--birch-2), var(--paper)); }
.faq-list { max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  text-align: left; padding: 24px 6px;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--tx-on-light);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--copper); }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--copper); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-icon::before { left: 3px; right: 3px; top: 12px; height: 2px; }
.faq-icon::after { top: 3px; bottom: 3px; left: 12px; width: 2px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 6px 26px; color: var(--tx-on-light-dim); max-width: 72ch; }
.faq .section-head__lede a { color: var(--copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ===========================================================
   Round 4 - owner photo drop: species note card, breakfast,
   life-at-camp gallery, seasons & limits (Zone 5)
   =========================================================== */

/* ---------- Breakfast band ---------- */
.breakfast { background: linear-gradient(180deg, var(--paper), var(--birch-2)); padding-block: var(--section-y); }
.breakfast__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.breakfast__body h2 { margin-bottom: 18px; }
.breakfast__body > p { color: var(--tx-on-light-dim); margin-bottom: 22px; max-width: 46ch; }
.breakfast__shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
.breakfast__shots figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.breakfast__shots img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; transition: transform .5s var(--ease); }
.breakfast__shots figure:hover img { transform: scale(1.05); }

/* ---------- Life at Camp (reuses .masonry/.shot) ---------- */
.masonry--life .shot figcaption { opacity: 1; transform: none; } /* captions always legible over scenery */
@media (hover: hover) {
  .masonry--life .shot figcaption { opacity: 0; transform: translateY(8px); }
  .masonry--life .shot:hover figcaption { opacity: 1; transform: none; }
}

/* ---------- Fishing Seasons (Zone 5) - slim uniform rows; limits live on ontario.ca ---------- */
.regs-list { max-width: 860px; border-top: 1px solid var(--line-dark); }
.reg-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-dark);
}
.reg-row h3 { color: var(--birch); font-size: clamp(1.02rem, 1.6vw, 1.25rem); letter-spacing: 0.04em; }
.reg__season {
  flex: none; white-space: nowrap;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
  color: var(--ember); background: rgba(226,162,97,0.12); border: 1px solid rgba(226,162,97,0.3);
  padding: 4px 12px; border-radius: 100px;
}
.regs-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  max-width: 860px; margin-top: 30px;
  background: linear-gradient(180deg, var(--pine-700), var(--pine-900));
  border: 1px solid rgba(226,162,97,0.35); border-radius: var(--radius-lg);
  padding: 22px 26px;
  position: relative; z-index: 2;
}
.regs-cta h3 { color: var(--birch); margin-bottom: 4px; }
.regs-cta p { color: var(--tx-on-dark-dim); font-size: 0.95rem; max-width: 48ch; }
@media (max-width: 560px) {
  .reg-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .regs-cta { flex-direction: column; align-items: flex-start; }
  .regs-cta .btn { width: 100%; }
}

@media (max-width: 1024px) {
  .breakfast__grid { grid-template-columns: 1fr; }
  .breakfast__shots { max-width: 560px; }
}

/* ===========================================================
   Mobile compatibility audit fixes
   =========================================================== */

/* -- Long unbreakable strings (email, place names) must never force
      horizontal scroll on narrow phones; flex children must be shrinkable,
      and the inline-block links inside them must wrap within their column -- */
.contact-list li > span:last-child { min-width: 0; }
.contact-list li { overflow-wrap: anywhere; }
.contact-list a { max-width: 100%; overflow-wrap: anywhere; }

/* -- Footer newsletter: the flexed email input must be allowed to shrink
      below its placeholder's min-content beside the nowrap Join button -- */
.news input { min-width: 0; }

/* -- Grid blowout guard: a bare `1fr` track is minmax(auto,1fr), so one
      wide child (long email, unbroken string) can force the whole column
      past the viewport on narrow phones. Give every layout grid a
      shrinkable 0-minimum instead. -- */
.plan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.camp__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.breakfast__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.species-grid, .plans, .quotes, .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 4 cabin cards in a roomy 2x2 */
.footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); }
.field-row, .breakfast__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .species-grid, .feature-grid, .plans, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .camp__grid, .breakfast__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .species-grid, .feature-grid, .plans, .quotes,
  .footer-grid, .field-row { grid-template-columns: minmax(0, 1fr); }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -- Open mobile menu must scroll when taller than the viewport
      (e.g. phones in landscape) so every link stays reachable -- */
.mobile-nav {
  /* 48px headroom keeps the last link clear of browser chrome */
  max-height: calc(100vh - var(--header-h) - 48px);
  max-height: calc(100dvh - var(--header-h) - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* -- Touch devices have no hover: gallery captions must be visible.
      Keep the hover-reveal only where hovering exists. -- */
@media (hover: none) {
  .shot figcaption { opacity: 1; transform: none; }
}

/* -- Touch-target sizing (Apple HIG ~44px). Where enlarging the box
      would shift the layout, grow the tap area invisibly instead. -- */
.footer-col a { padding: 10px 0; }
.gallery__note a,
.rates__foot a,
.reviews__foot a,
.faq .section-head__lede a,
.faq-a__inner a,
.contact-list a {
  display: inline-block;
  padding-block: 10px;
  margin-block: -10px;
}
.faq-a__inner a { color: var(--copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.social { padding: 12px 20px; }
.brand--footer { padding-block: 6px; }

/* -- Legibility floors -- */
.brand__sub { font-size: 0.7rem; }
.trip-form__note .muted { font-size: inherit; }

/* -- iOS Safari: size the hero to the *visible* viewport (svh), not the
      layout viewport (vh) that hides behind the collapsing URL bar -- */
.hero { min-height: min(94svh, 920px); }
@media (max-width: 680px) {
  .hero { min-height: 88svh; }
}

/* -- Reviews: northern-lights backdrop. Light scrim lets the aurora glow;
      the quote cards carry their own frosted dark surface for readability -- */
.reviews {
  background:
    linear-gradient(180deg, rgba(12,22,19,0.58) 0%, rgba(12,22,19,0.40) 45%, rgba(12,22,19,0.91) 100%),
    url("../img/reviews-aurora.jpg") center 35% / cover no-repeat;
}
.reviews .quote {
  background: rgba(12, 22, 19, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-color: rgba(244, 238, 221, 0.18);
}

/* -- Touch feedback: brand-tinted tap highlight + a subtle press state -- */
a, button { -webkit-tap-highlight-color: rgba(226, 162, 97, 0.18); }
.btn:active { transform: translateY(0) scale(0.985); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
