/* ============================================================
   Riverbend Lodge — styles.css
   Design system: "The River at Dusk" (see team/design.md)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* darks */
  --spruce-950: #0C1210;
  --spruce-900: #111A16;
  --spruce-800: #1B2A23;
  --river-900: #12242B;
  /* lights */
  --birch-50: #F5F1E8;
  --birch-100: #EBE4D6;
  --stone-200: #D8D2C4;
  /* text */
  --ink: #161A18;
  --mist: #E8ECE9;
  --mist-60: #9DA8A2;
  --stone-600: #5E6660;
  /* accents */
  --copper: #C4763B;
  --copper-bright: #E08D4C;
  --fern: #4E7A5A;
  --betsie-blue: #7FA8B5;
  --salmon: #C4574E;
  /* type scale */
  --fs-hero: clamp(2.8rem, 8vw, 6.5rem);
  --fs-h2: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h3: clamp(1.35rem, 2.5vw, 1.75rem);
  --fs-stat: clamp(2.4rem, 6vw, 4.5rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;
  /* misc */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 12px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--spruce-950);
  color: var(--mist);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-bright); text-decoration: none; }
a:hover { color: var(--copper); }
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  margin: 0 0 .5em;
}
h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
::selection { background: var(--copper); color: var(--spruce-950); }

.eyebrow {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.section--paper .eyebrow { color: var(--fern); }
.lede { font-size: 1.125rem; color: var(--mist-60); max-width: 52ch; }
.section--paper .lede { color: var(--stone-600); }
.accent-italic { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--copper-bright); }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--dark { background: var(--spruce-950); }
.section--dark-alt { background: var(--spruce-900); }
.section--river { background: var(--river-900); }
.section--paper { background: var(--birch-50); color: var(--ink); }
.section--paper h1, .section--paper h2, .section--paper h3 { color: var(--ink); }
.section--paper a { color: var(--fern); }

/* river-line divider */
.river-line {
  height: 1px; border: 0; margin: 0; opacity: .6;
  background: linear-gradient(90deg, transparent, #C4763B 35%, #7FA8B5 65%, transparent);
}
.river-line--draw { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.river-line--draw.in { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.btn-copper { background: var(--copper); color: var(--spruce-950); }
.btn-copper:hover {
  background: var(--copper-bright); color: var(--spruce-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -8px rgba(196, 118, 59, .5);
}
.btn-ghost { background: transparent; color: var(--mist); border-color: var(--mist); }
.btn-ghost:hover { background: rgba(232, 236, 233, .1); color: var(--mist); }
.section--paper .btn-ghost { color: var(--ink); border-color: var(--ink); }
.section--paper .btn-ghost:hover { background: rgba(22, 26, 24, .06); color: var(--ink); }
.btn-lg { font-size: 1.125rem; padding: 20px 36px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 14px clamp(1rem, 4vw, 2.5rem);
  min-height: var(--nav-h);
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(12, 18, 16, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(232, 236, 233, .08);
}
.nav-logo img { height: 58px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { color: var(--mist); font-weight: 500; font-size: .9rem; padding: 6px 0; }
.nav-links a:hover { color: var(--copper-bright); }
.nav-links a[aria-current="page"] {
  border-bottom: 2px solid var(--copper);
  padding-bottom: 4px;
}
.nav-cta { padding: 10px 22px; font-size: .9rem; }
.nav-burger {
  display: none; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--mist);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .3s;
}

/* mobile overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--spruce-950);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-overlay a {
  font-family: "Fraunces", serif; font-size: 2rem; color: var(--mist);
  padding: .5rem 1rem; opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav-overlay.open a { opacity: 1; transform: none; }
.nav-overlay.open a:nth-child(1) { transition-delay: .05s; }
.nav-overlay.open a:nth-child(2) { transition-delay: .12s; }
.nav-overlay.open a:nth-child(3) { transition-delay: .19s; }
.nav-overlay.open a:nth-child(4) { transition-delay: .26s; }
.nav-overlay.open a:nth-child(5) { transition-delay: .33s; }
.nav-overlay .btn { position: absolute; bottom: max(2rem, env(safe-area-inset-bottom)); font-family: "Inter", sans-serif; font-size: 1rem; }
body.nav-open { overflow: hidden; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile sticky book bar */
.book-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 98;
  display: none; align-items: center; justify-content: space-between; gap: .75rem;
  background: rgba(12, 18, 16, .95);
  backdrop-filter: blur(8px);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  min-height: 52px; max-height: 72px;
  box-shadow: 0 -1px 0 rgba(232, 236, 233, .1);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.book-bar.show { transform: none; }
.book-bar .price { font-size: .85rem; color: var(--mist-60); }
.book-bar .price strong { color: var(--mist); }
.book-bar .btn { padding: 9px 18px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: saturate(1.05) contrast(1.03);
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media img { animation: kenburns 9s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,18,16,.45) 0%, rgba(12,18,16,.22) 40%, rgba(12,18,16,.92) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1200px, 92vw); margin-inline: auto;
  padding-bottom: max(96px, env(safe-area-inset-bottom));
}
.hero-content .eyebrow { color: var(--mist); text-shadow: 0 1px 12px rgba(12,18,16,.9); }
.hero-content h1 { max-width: 16ch; margin-bottom: .4em; text-shadow: 0 2px 24px rgba(12,18,16,.85); }
.hero-content .lede { color: var(--mist); text-shadow: 0 1px 14px rgba(12,18,16,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-stagger { opacity: 0; transform: translateY(24px); }
.hero-stagger.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

.scroll-cue {
  position: absolute; z-index: 2; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: var(--fs-label); letter-spacing: .14em; color: var(--mist-60);
  transition: opacity .4s;
}
.scroll-cue .line { position: relative; width: 1px; height: 56px; background: rgba(232,236,233,.25); overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--copper-bright);
  animation: cue-drop 2.2s ease-in-out infinite;
}
@keyframes cue-drop { 0% { top: -6px; } 70% { top: 56px; } 100% { top: 56px; } }
.scroll-cue.hide { opacity: 0; }

/* ---------- Chips / answer block ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-size: var(--fs-small); font-weight: 500;
  border: 1px solid rgba(232, 236, 233, .22);
  color: var(--mist);
  border-radius: 999px; padding: 8px 16px;
  background: rgba(232, 236, 233, .04);
}
.chip--copper { border-color: rgba(196,118,59,.5); color: var(--copper-bright); }
.chip--fern { border-color: rgba(78,122,90,.6); color: #8FBF9D; }
.chip--blue { border-color: rgba(127,168,181,.5); color: var(--betsie-blue); }
.chip--salmon { border-color: rgba(196,87,78,.55); color: #E08078; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat .num {
  font-family: "Fraunces", serif; font-weight: 600;
  font-size: var(--fs-stat); color: var(--copper); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num .unit { font-size: .45em; }
.stat .label { margin-top: .5rem; color: var(--mist-60); font-size: var(--fs-small); }

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split--flip > .split-media { order: 2; }
.split-media { overflow: hidden; border-radius: var(--radius); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: saturate(1.05) contrast(1.03); transition: transform .6s var(--ease); }
.split-media::after { content: ""; position: absolute; inset: 0; background: rgba(18, 36, 43, .08); pointer-events: none; }
.split-media:hover img { transform: scale(1.045); }
.pull-line { font-family: "Fraunces", serif; font-style: italic; font-size: 1.2rem; color: var(--copper-bright); }
.section--paper .pull-line { color: var(--copper); }

/* ---------- Parallax band ---------- */
.parallax-band {
  position: relative; height: 60vh; min-height: 380px;
  overflow: clip; display: flex; align-items: center; justify-content: center;
}
.parallax-band img {
  position: absolute; left: 0; top: -15%; width: 100%; height: 130%;
  object-fit: cover; will-change: transform;
  filter: saturate(1.05) contrast(1.03) brightness(.75);
}
.parallax-band blockquote {
  position: relative; z-index: 2; margin: 0; padding: 0 1rem;
  font-family: "Fraunces", serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem); text-align: center; color: var(--mist);
  text-shadow: 0 2px 24px rgba(12, 18, 16, .8);
}

/* ---------- Seasons ---------- */
.seasons-title { text-align: center; padding: clamp(4rem, 8vw, 6rem) 1rem 2rem; }
.season { min-height: 100vh; }
.season-card {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.season-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.season-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,18,16,.3), rgba(12,18,16,.55) 55%, rgba(12,18,16,.92) 90%);
}
.season--summer img { filter: saturate(1.15) contrast(1.02); }
.season--fall img { filter: saturate(.85) sepia(.28) hue-rotate(-18deg) contrast(1.05); }
.season--winter img { filter: saturate(.45) brightness(1.12) hue-rotate(165deg) contrast(.98); }
.season--spring img { filter: saturate(1.1) hue-rotate(12deg) brightness(1.04); }
.season-inner { position: relative; z-index: 2; width: min(1200px, 92vw); margin-inline: auto; padding-bottom: clamp(3rem, 8vh, 6rem); }
.season-word {
  font-family: "Fraunces", serif; font-weight: 600;
  font-size: clamp(3rem, 10vw, 8rem); line-height: 1; margin: 0 0 .2em;
  text-shadow: 0 2px 28px rgba(12,18,16,.9);
}
.season--summer .season-word { color: #8FBF9D; }
.season--fall .season-word { color: #E08078; }
.season--winter .season-word { color: var(--betsie-blue); }
.season--spring .season-word { color: var(--copper-bright); }
.season-desc { max-width: 46ch; color: var(--mist); text-shadow: 0 1px 14px rgba(12,18,16,.95); font-weight: 500; }
.season-inner .chip-row { margin-top: 1rem; }
.season-inner .chip { background: rgba(12, 18, 16, .6); backdrop-filter: none; }

/* progress rail */
.season-rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.season-rail.show { opacity: 1; }
.season-rail i { width: 7px; height: 7px; border-radius: 50%; background: rgba(232,236,233,.3); transition: background .3s, transform .3s; }
.season-rail i.active { background: var(--copper-bright); transform: scale(1.35); }

/* ---------- Cards (teasers, segments) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--spruce-800); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.card-media { overflow: hidden; }
.card-media img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform .6s var(--ease); filter: saturate(1.05) contrast(1.03); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { font-size: var(--fs-small); color: var(--mist-60); margin-bottom: .8rem; }
.section--paper .card { background: var(--birch-100); }
.section--paper .card-body p { color: var(--stone-600); }

.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--copper); color: var(--copper-bright);
}
.badge svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Rates table ---------- */
.rates-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates-table th, .rates-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid rgba(232, 236, 233, .12);
  font-size: var(--fs-small);
}
.rates-table th { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--mist-60); }
.rates-table td strong { font-size: 1.05rem; }
.rates-table .mini-badge {
  display: inline-block; font-size: .7rem; font-weight: 600;
  background: rgba(78, 122, 90, .25); color: #8FBF9D;
  border-radius: 6px; padding: 2px 8px; margin-left: .5rem; white-space: nowrap;
}
.fees-box, .ota-strip {
  border: 1px solid rgba(232, 236, 233, .15); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin-top: 1.5rem;
  font-size: var(--fs-small); color: var(--mist-60);
}
.ota-strip { border-color: rgba(78, 122, 90, .5); }
.ota-strip strong { color: var(--mist); }
.ota-strip .links { margin-top: .8rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Calculator ---------- */
.calc {
  background: var(--spruce-800); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 2rem;
}
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 480px; }
.calc-result { margin-top: 1.4rem; }
.calc-result .total { font-family: "Fraunces", serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--copper-bright); }
.calc-result .pp { color: var(--mist-60); font-size: var(--fs-small); }
.calc-note { font-size: .8rem; color: var(--mist-60); margin-top: .8rem; }
.calc-warn { color: #E08078; font-size: var(--fs-small); margin-top: .6rem; }

/* ---------- Cost splitter ---------- */
.split-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.split-row {
  display: grid; grid-template-columns: 2fr 0.8fr 1.2fr 1.2fr auto;
  gap: .8rem; align-items: end; margin-bottom: .8rem;
}
.sp-remove {
  background: none; border: 1px solid rgba(232, 236, 233, .25); color: var(--mist-60);
  width: 38px; height: 42px; border-radius: 8px; cursor: pointer; font-size: .9rem;
  transition: border-color .3s, color .3s;
}
.sp-remove:hover { border-color: var(--salmon); color: #E08078; }
.split-table td, .split-table th { padding: 10px 12px; }
#sp-copy { margin-top: 1rem; }
@media (max-width: 900px) {
  .split-controls { grid-template-columns: 1fr 1fr; }
  .split-row { grid-template-columns: 1.5fr 0.7fr auto; }
  .split-row div:nth-child(3), .split-row div:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .split-controls { grid-template-columns: 1fr; }
  .split-row { grid-template-columns: 1fr 1fr auto; }
  .split-row div:nth-child(1) { grid-column: 1 / -1; }
}

/* ---------- Stepper ---------- */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; margin-top: 2rem; counter-reset: step; }
.step { position: relative; }
.step .n {
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--copper); color: var(--copper-bright);
  margin-bottom: .9rem; background: var(--spruce-950);
  position: relative; z-index: 2;
}
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { font-size: var(--fs-small); color: var(--mist-60); }
.stepper::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 1px;
  background: rgba(196, 118, 59, .35);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s;
}
.stepper.in::before { transform: scaleX(1); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: var(--fs-small); font-weight: 500; margin-bottom: .35rem; color: var(--mist); }
label .hint { color: var(--mist-60); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  background: var(--spruce-800); color: var(--mist);
  border: 1px solid rgba(232, 236, 233, .18); border-radius: 8px;
  font: inherit; font-size: var(--fs-small);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: transparent; }
input[type="date"] { color-scheme: dark; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-small); color: var(--mist-60); }
.check-row input { width: auto; margin-top: 3px; }
.form-aside { font-size: var(--fs-small); color: var(--mist-60); }
.form-aside strong { color: var(--mist); }

/* sticky rates column on stay */
.stay-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.stay-side { position: sticky; top: 96px; }
.stay-side .side-card {
  background: var(--spruce-800); border-radius: var(--radius); padding: 1.6rem;
  font-size: var(--fs-small);
}
.stay-side .side-card .big { font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--copper-bright); }

/* ---------- Accordions ---------- */
details {
  border-bottom: 1px solid rgba(232, 236, 233, .12);
  padding: 1.1rem 0;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--copper); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p, details ul { color: var(--mist-60); font-size: var(--fs-small); margin-top: .8rem; }

/* ---------- Gallery ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.filter-pill {
  font: inherit; font-size: var(--fs-small); font-weight: 500;
  background: none; border: 1px solid rgba(232, 236, 233, .22); color: var(--mist);
  border-radius: 999px; padding: 8px 18px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filter-pill:hover { border-color: var(--copper); }
.filter-pill.active { background: var(--copper); border-color: var(--copper); color: var(--spruce-950); font-weight: 600; }
.masonry { columns: 3; column-gap: 14px; }
.masonry figure {
  margin: 0 0 14px; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in;
}
.masonry figure.hide { display: none; }
.masonry img { width: 100%; height: auto; transition: transform .6s var(--ease); filter: saturate(1.05) contrast(1.03); }
.masonry figure::after { content: ""; position: absolute; inset: 0; background: rgba(18,36,43,.08); transition: opacity .4s; pointer-events: none; }
.masonry figure:hover img { transform: scale(1.045); }
.masonry figure:hover::after { opacity: 0; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px 14px 10px;
  font-size: var(--fs-label); letter-spacing: .1em; color: var(--mist);
  background: linear-gradient(transparent, rgba(12,18,16,.75));
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(12, 18, 16, .94); }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; margin-inline: auto; border-radius: 8px; }
.lightbox .lb-bar {
  display: flex; justify-content: center; align-items: center; gap: 1.5rem;
  padding-top: 14px; color: var(--mist-60); font-size: var(--fs-small);
}
.lightbox button {
  background: none; border: 1px solid rgba(232,236,233,.3); color: var(--mist);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  transition: border-color .3s, color .3s;
}
.lightbox button:hover { border-color: var(--copper); color: var(--copper-bright); }

/* ---------- Explore ---------- */
.explore-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.explore-toc { position: sticky; top: 96px; font-size: var(--fs-small); }
.explore-toc a { display: block; color: var(--mist-60); padding: 6px 0 6px 14px; border-left: 2px solid rgba(232,236,233,.12); transition: color .3s, border-color .3s; }
.explore-toc a:hover { color: var(--mist); }
.explore-toc a.active { color: var(--copper-bright); border-left-color: var(--copper); }
.explore-section { padding: clamp(2.5rem, 5vw, 4rem) 0; scroll-margin-top: 96px; border-bottom: 1px solid rgba(232,236,233,.08); }
.explore-section:last-child { border-bottom: 0; }
.explore-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
.explore-head h2 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.quick-facts {
  background: var(--spruce-800); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin-top: 1.4rem;
  font-size: var(--fs-small); color: var(--mist-60);
}
.quick-facts h4 { font-family: "Inter", sans-serif; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: .7rem; }
.quick-facts ul { margin: 0; padding-left: 1.1rem; }
.quick-facts li { margin-bottom: .45rem; }
.tie-back { margin-top: 1.4rem; font-weight: 600; }
.explore-note { font-size: .8rem; color: var(--mist-60); margin-top: 1rem; }

/* accent variants for explore section eyebrows / badges */
.acc-blue .eyebrow, .acc-blue .badge { color: var(--betsie-blue); border-color: var(--betsie-blue); }
.acc-copper .eyebrow, .acc-copper .badge { color: var(--copper-bright); border-color: var(--copper); }
.acc-fern .eyebrow, .acc-fern .badge { color: #8FBF9D; border-color: var(--fern); }
.acc-mist .eyebrow, .acc-mist .badge { color: var(--mist); border-color: var(--mist-60); }
.acc-salmon .eyebrow, .acc-salmon .badge { color: #E08078; border-color: var(--salmon); }

/* calendar grid */
.calendar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.month {
  background: var(--spruce-800); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  font-size: var(--fs-small); color: var(--mist-60);
}
.month h4 { font-family: "Fraunces", serif; color: var(--copper-bright); font-size: 1.1rem; margin-bottom: .4rem; }
.month p { margin: 0; }

/* ---------- Pre-footer CTA + footer ---------- */
.cta-band { position: relative; overflow: clip; text-align: center; padding: clamp(5rem, 10vw, 8rem) 1rem; }
.cta-band .bg { position: absolute; inset: -15% 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.28) saturate(.85); will-change: transform; }
.cta-band .inner { position: relative; z-index: 2; text-shadow: 0 1px 16px rgba(12,18,16,.9); }
.cta-band .inner .btn { text-shadow: none; }
.cta-band .eyebrow { color: #8FBF9D; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; color: var(--mist); }
.cta-band .hero-ctas { justify-content: center; }

footer { background: var(--spruce-950); padding: 0 0 2rem; position: relative; }
.footer-cols {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer-cols h4 { font-family: "Inter", sans-serif; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--mist-60); margin-bottom: 1rem; }
.footer-cols a { display: block; color: var(--mist); font-size: var(--fs-small); padding: 4px 0; }
.footer-cols a:hover { color: var(--copper-bright); }
.footer-brand img { height: 68px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: var(--fs-small); color: var(--mist-60); }
.footer-news p { font-size: var(--fs-small); color: var(--mist-60); }
.footer-news form { display: flex; gap: .6rem; margin-top: .8rem; }
.footer-news input { flex: 1; }
.footer-micro {
  border-top: 1px solid rgba(232, 236, 233, .08);
  padding-top: 1.5rem; font-size: var(--fs-small); color: var(--mist-60);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.footer-micro a { color: var(--mist-60); }
.ext-note { font-size: .78rem; color: var(--mist-60); }

/* ---------- Reveal system ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="scale"] { transform: scale(1.06); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js .hero-stagger { opacity: 1; transform: none; }
.no-js .river-line--draw { transform: scaleX(1); }
.no-js .stepper::before { transform: scaleX(1); }

/* ---------- Page headers (subpages) ---------- */
.page-head { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 18ch; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .masonry { columns: 2; }
  .explore-layout { grid-template-columns: 1fr; }
  .explore-toc { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .book-bar { display: flex; }
  .split, .stay-layout, .grid-2 { grid-template-columns: 1fr; }
  .split--flip > .split-media { order: 0; }
  .stay-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stepper { grid-template-columns: 1fr 1fr; }
  .stepper::before { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .season-rail { display: none; }
  .season { min-height: 90svh; }
  .season-card { height: 90svh; }
  body { padding-bottom: 60px; } /* room for book bar */
}
@media (max-width: 560px) {
  .masonry { columns: 1; }
  .form-grid, .calc-fields, .calendar-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem; }
  .rates-wrap { overflow-x: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .hero-stagger { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none; }
  .scroll-cue .line::after { animation: none; }
  .river-line--draw, .stepper::before { transform: scaleX(1); transition: none; }
  .parallax-band img, .cta-band .bg img { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
