/* ============================================================
   Wild Haven Cabin — daylight forest editorial
   Warm parchment light theme · deep pine ink · ember accents
   Display: Alegreya · Body: Newsreader · Labels: Archivo
   ============================================================ */

:root {
  --paper: #f4efe3;
  --paper-2: #faf7ee;
  --card: #fbf9f2;
  --ink: #1c2a20;
  --ink-soft: #33422f;
  --stone: #57644f;
  --faint: #8b957d;
  --line: #ddd5c0;
  --ember: #c25c25;
  --ember-hot: #a84d1d;
  --gold: #8a6d1c;
  /* dark sections */
  --pine: #0e1511;
  --pine-2: #121a15;
  --moss: #17211a;
  --dline: #2c3a2e;
  --cream: #ede7da;
  --cream-dim: #d9d2c2;
  --dstone: #a4ad97;
  --serif: "Alegreya", Georgia, serif;
  --body: "Newsreader", Georgia, serif;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ember); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
}
.display em { font-style: italic; font-weight: 380; color: var(--ember); }
.lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--stone); }
.small { font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s, color 0.4s;
  color: #fff;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px var(--pad);
  color: var(--ink);
}
.nav .wordmark {
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.01em; display: flex; align-items: center; gap: 10px;
}
.nav .wordmark svg { width: 26px; height: 26px; }
.nav .wordmark-loc { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; margin-left: 2px; align-self: center; padding-top: 3px; }
@media (max-width: 560px) { .nav .wordmark-loc { display: none; } }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: inherit; opacity: 0.92;
  transition: color 0.25s, opacity 0.25s;
}
.nav-links a:hover { color: var(--ember); opacity: 1; }
.nav:not(.scrolled) .nav-links a { text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.nav:not(.scrolled) .wordmark { text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff !important; text-decoration: none;
  background: var(--ember);
  padding: 14px 28px; border: 0; border-radius: 99px;
  cursor: pointer; text-shadow: none !important;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn:hover { background: var(--ember-hot); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(194, 92, 37, 0.3); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: #fff !important; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--pine); }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.4%, -2%); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(12,18,12,0.34) 0%, rgba(12,18,12,0) 24%, rgba(12,18,12,0) 46%, rgba(8,13,8,0.62) 70%, rgba(8,13,8,0.94) 100%);
}
.hero-inner { padding: 0 var(--pad) clamp(40px, 7vh, 84px); max-width: 1500px; }
/* Text lives in the lower third, over the gradient-darkened ground — cabin stays clear. */
.hero h1, .hero .lede {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.55);
}
.hero h1 span, .hero .lede span { background: none; padding: 0; }
.hero h1 { font-size: clamp(36px, 5vw, 72px); line-height: 1.12; max-width: 15em; }
.hero .lede {
  color: rgba(255, 255, 255, 0.97);
  max-width: max-content;
  background: rgba(11, 17, 12, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.32em 0.65em 0.42em;
}
.hero h1 em, .hero .display em { color: #f0a36b; }
.hero .lede { margin-top: 18px; color: rgba(255, 255, 255, 0.96); line-height: 1.55; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex; gap: clamp(18px, 3vw, 46px); flex-wrap: wrap;
  margin-top: clamp(28px, 5vh, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-stats b { color: #f3c04b; font-weight: 600; }
.hero-badge {
  position: absolute; top: 84px; right: var(--pad);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.55); border-radius: 99px;
  padding: 9px 18px; color: #fff;
  background: rgba(12,18,12,0.32); backdrop-filter: blur(6px);
}
.scroll-cue {
  position: absolute; bottom: 26px; right: var(--pad);
  width: 1px; height: 64px; background: rgba(255,255,255,0.45); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
  background: #f0a36b;
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- sections ---------- */
section { padding: clamp(80px, 12vh, 150px) var(--pad); position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 60px); margin-top: 16px; text-wrap: balance; }
.section-head p { margin-top: 18px; }

/* intro statement */
.intro { background: var(--paper); text-align: center; }
.intro .statement {
  font-size: clamp(28px, 3.6vw, 50px);
  max-width: 22em; margin: 18px auto 0; text-wrap: balance;
}

/* editorial split rows */
.row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 84px); align-items: center;
  margin-bottom: clamp(64px, 10vh, 130px);
}
.row:last-child { margin-bottom: 0; }
.row.flip .row-media { order: 2; }
.row-media { position: relative; }
.row-media img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(52, 60, 42, 0.28);
  aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%;
}
.row-media .accent {
  position: absolute; z-index: 2;
  width: 38%; border-radius: 10px;
  bottom: -9%; right: -6%;
  border: 5px solid var(--paper);
  box-shadow: 0 16px 40px rgba(52, 60, 42, 0.32);
  aspect-ratio: 1 / 1.05; object-fit: cover;
}
.row.flip .row-media .accent { right: auto; left: -6%; }
.row-copy h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 450; line-height: 1.12; margin: 14px 0 18px; text-wrap: balance; }
.row-copy p + p { margin-top: 14px; }
.row-copy .tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px;
  background: var(--card);
}
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; }
  .row.flip .row-media { order: 0; }
  .row-media .accent { display: none; }
}

/* ---------- rituals (stays deep-forest dark for contrast) ---------- */
.rituals { background: linear-gradient(var(--pine-2), var(--pine)); color: var(--cream); }
.rituals .eyebrow { color: #c9a227; }
.rituals .display em { color: #e8945c; }
.rituals .muted { color: var(--dstone); }
.ritual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1020px) { .ritual-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ritual-grid { grid-template-columns: 1fr; } }
.ritual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4.2; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--cream);
}
.ritual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.ritual:hover img { transform: scale(1.07); }
.ritual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 13, 9, 0.92) 0%, rgba(8, 13, 9, 0.12) 52%);
}
.ritual-copy { position: relative; z-index: 2; padding: 24px; }
.ritual-copy .num { font-family: var(--serif); font-style: italic; color: #f3c04b; font-size: 17px; }
.ritual-copy h3 { font-family: var(--serif); font-weight: 480; font-size: 30px; margin: 6px 0 8px; }
.ritual-copy p { font-size: 15px; color: var(--cream-dim); line-height: 1.5; }

/* ---------- gallery ---------- */
.gallery-grid { columns: 3; column-gap: 16px; }
@media (max-width: 980px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }
.gallery-grid a {
  display: block; margin-bottom: 16px; border-radius: 10px; overflow: hidden; position: relative;
  box-shadow: 0 8px 26px rgba(52, 60, 42, 0.16);
}
.gallery-grid img { transition: transform 0.8s cubic-bezier(0.2,0.6,0.2,1), filter 0.4s; width: 100%; }
.gallery-grid a:hover img { transform: scale(1.045); filter: brightness(1.06); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 14, 10, 0.96);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 8px; box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.lightbox .cap { color: #b9c1ab; font-size: 15px; font-style: italic; font-family: var(--serif); }
.lightbox button {
  position: absolute; background: none; border: 1px solid #4a5544; color: #ede7da;
  border-radius: 99px; width: 48px; height: 48px; font-size: 20px; cursor: pointer;
  display: grid; place-items: center; transition: border-color 0.25s, color 0.25s;
}
.lightbox button:hover { border-color: #e8945c; color: #e8945c; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- reviews ---------- */
.reviews { background: #ebe5d2; border-block: 1px solid var(--line); }
.review-stage { position: relative; min-height: 300px; }
.review {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s, transform 0.7s;
  pointer-events: none;
}
.review.active { opacity: 1; transform: none; pointer-events: auto; }
.review blockquote {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 38px);
  font-weight: 420; line-height: 1.32; max-width: 26em; text-wrap: balance;
}
.review blockquote::before { content: "“"; color: var(--ember); }
.review blockquote::after { content: "”"; color: var(--ember); }
.review cite {
  display: block; margin-top: 26px; font-style: normal;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone);
}
.review-dots { display: flex; gap: 10px; margin-top: 40px; }
.review-dots button {
  width: 34px; height: 3px; border: 0; background: #cfc7ae; cursor: pointer; border-radius: 2px;
  transition: background 0.3s;
}
.review-dots button.active { background: var(--ember); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 22px; font-size: 15px; }

/* ---------- location ---------- */
.location-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }
.distance-list { list-style: none; margin-top: 28px; }
.distance-list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 16.5px;
}
.distance-list li span:last-child { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* ---------- amenities ---------- */
.amenity-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .amenity-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenity-cols { grid-template-columns: 1fr; } }
.amenity-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.amenity-col ul { list-style: none; }
.amenity-col li { padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent); font-size: 16.5px; color: var(--ink-soft); }

/* ---------- booking ---------- */
.booking { background: linear-gradient(var(--paper), #eee8d6); border-top: 1px solid var(--line); }
.booking-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 940px) { .booking-grid { grid-template-columns: 1fr; } }

.cal-card, .quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 18px 50px rgba(52, 60, 42, 0.12);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head button {
  background: none; border: 1px solid var(--line); color: var(--ink); width: 40px; height: 40px;
  border-radius: 99px; cursor: pointer; font-size: 17px; transition: border-color 0.2s, color 0.2s;
}
.cal-head button:hover:not([disabled]) { border-color: var(--ember); color: var(--ember); }
.cal-head button[disabled] { opacity: 0.3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
@media (max-width: 620px) { .cal-months { grid-template-columns: 1fr; } .cal-month:last-child { display: none; } }
.cal-month h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; text-align: center; margin-bottom: 12px; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow span { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--faint); text-align: center; padding-bottom: 8px; text-transform: uppercase; }
.cal-days button {
  aspect-ratio: 1; border: 0; background: none; color: var(--ink);
  font-family: var(--sans); font-size: 13.5px; cursor: pointer; border-radius: 8px; position: relative;
  transition: background 0.15s, color 0.15s;
}
.cal-days button:hover:not([disabled]) { background: #ece5d0; }
.cal-days button[disabled] { color: #b8b09a; cursor: default; text-decoration: line-through; text-decoration-color: rgba(194,92,37,0.55); text-decoration-thickness: 1px; }
.cal-days button.empty { visibility: hidden; }
.cal-days button.in-range { background: color-mix(in srgb, var(--ember) 18%, transparent); border-radius: 0; }
.cal-days button.sel { background: var(--ember); color: #fff; font-weight: 600; }
.cal-days button.sel.start { border-radius: 8px 0 0 8px; }
.cal-days button.sel.end { border-radius: 0 8px 8px 0; }
.cal-legend { display: flex; gap: 22px; margin-top: 18px; font-size: 13px; color: var(--stone); font-family: var(--sans); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }

.quote-card h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 6px; }
.q-dates { color: var(--ink-soft); font-size: 15.5px; min-height: 24px; }
.q-lines { margin: 20px 0; }
.q-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 16px; color: var(--ink-soft); }
.q-line.total { font-family: var(--serif); font-size: 21px; color: var(--ink); border-bottom: 0; padding-top: 14px; }
.gsel { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; }
.gsel button { width: 34px; height: 34px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 16px; cursor: pointer; }
.gsel button:hover { border-color: var(--ember); color: var(--ember); }

.bform { display: grid; gap: 12px; margin-top: 18px; }
.bform input, .bform textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 16px; padding: 13px 16px; border-radius: 10px;
  transition: border-color 0.2s;
}
.bform input:focus, .bform textarea:focus { outline: none; border-color: var(--ember); }
.bform textarea { min-height: 84px; resize: vertical; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--stone); }
.agree input { width: auto; margin-top: 4px; accent-color: var(--ember); }
.agree a { color: var(--ink-soft); }
.bmsg { font-size: 15px; min-height: 22px; }
.bmsg.err { color: #b3401f; }
.bmsg.ok { color: #3f7a33; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.booking-success { text-align: center; padding: 30px 10px; }
.booking-success h3 { font-family: var(--serif); font-size: 30px; font-weight: 480; margin-bottom: 12px; }

/* ---------- footer (dark anchor) ---------- */
footer { background: var(--pine-2); border-top: 1px solid var(--dline); padding: 60px var(--pad) 40px; color: var(--cream); }
.foot-grid { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-grid .wordmark { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.foot-grid .muted { color: var(--dstone); }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; color: var(--dstone); text-decoration: none; }
.foot-links a:hover { color: #e8945c; }
.foot-note { max-width: 1280px; margin: 34px auto 0; color: #6d7663; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-note a { color: inherit; }

/* ---------- inner pages ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 150px var(--pad) 100px; }
.page h1 { font-family: var(--serif); font-weight: 450; font-size: clamp(36px, 5vw, 54px); margin: 14px 0 30px; line-height: 1.1; }
.page h1 em { color: var(--ember); }
.page h2 { font-family: var(--serif); font-weight: 500; font-size: 27px; margin: 44px 0 14px; }
.page h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 30px 0 10px; }
.page p + p { margin-top: 14px; }
.page ul, .page ol { margin: 12px 0 12px 22px; }
.page li { margin: 7px 0; color: var(--ink-soft); }
.page .callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ember);
  border-radius: 10px; padding: 18px 22px; margin: 22px 0; color: var(--ink-soft);
}
/* inner pages: nav is over light bg from the start */
.nav.scrolled .wordmark, .nav.scrolled .nav-links a { text-shadow: none; }

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2,0.6,0.2,1), transform 0.9s cubic-bezier(0.2,0.6,0.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; } .rv-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
}


/* ---------- clear-dates + policy modal ---------- */
.cal-clear {
  background: none; border: 0; color: var(--ember); font-family: var(--sans);
  font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-right: 8px;
  text-decoration: underline; text-underline-offset: 3px;
}
.cal-clear:hover { color: var(--ember-hot); }
.docmodal {
  position: fixed; inset: 0; z-index: 400; background: rgba(15, 20, 15, 0.6);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
  backdrop-filter: blur(4px);
}
.docmodal.open { display: flex; }
.doc-card {
  position: relative; background: var(--paper-2); border-radius: 16px;
  max-width: 760px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 120px rgba(0,0,0,0.4);
}
.doc-close {
  position: sticky; top: 0; float: right; background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); border-radius: 99px; width: 40px; height: 40px; font-size: 17px; cursor: pointer;
}
.doc-close:hover { border-color: var(--ember); color: var(--ember); }

.doc-actions {
  position: sticky; bottom: -44px; margin: 20px -8px -20px;
  padding: 18px 8px 20px; display: flex; justify-content: flex-end;
  background: linear-gradient(to top, var(--paper-2) 65%, transparent);
}

.verify-link { color: var(--stone); text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0.06em; }
.verify-link:hover { color: var(--ember); }
