/* ─── Little Bear Rental ─────────────────────────────────── */
:root {
  --ink: #17221d;
  --ink-soft: #3d4a43;
  --muted: #6b766f;
  --forest: #1f3a2e;
  --forest-deep: #12241c;
  --moss: #4f6f58;
  --bear: #d8383c;
  --bear-dark: #b02a2e;
  --cedar: #a8642f;
  --cream: #f7f2ea;
  --sand: #ece4d6;
  --paper: #fffdf9;
  --line: rgba(23, 34, 29, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(18, 36, 28, 0.35);
  --shadow-sm: 0 6px 20px -10px rgba(18, 36, 28, 0.3);
  --max: 1200px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: #eef2ec; }
.section--forest .eyebrow { color: #e9b98c; }
.section--forest .lede { color: rgba(238, 242, 236, 0.8); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.98rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--bear); color: #fff; box-shadow: 0 10px 24px -10px rgba(216, 56, 60, 0.7); }
.btn--primary:hover { background: var(--bear-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-solid {
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 44px; width: auto; transition: filter 0.3s ease; }
.nav:not(.is-solid) .nav__logo img { filter: brightness(0) invert(1); }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.92;
}
.nav.is-solid .nav__links a { color: var(--ink); }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__links .btn { color: #fff !important; padding: 11px 20px; }
.nav__links .btn:hover { text-decoration: none; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: #fff;
}
.nav.is-solid .nav__toggle { color: var(--ink); }
.nav__toggle svg { width: 28px; height: 28px; }

/* Pages without a hero image start with a solid nav */
.page-plain .nav { background: rgba(247, 242, 234, 0.94); box-shadow: 0 1px 0 var(--line); }
.page-plain .nav .nav__logo img { filter: none; }
.page-plain .nav .nav__links a { color: var(--ink); }
.page-plain .nav .nav__toggle { color: var(--ink); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--cream);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a { color: var(--ink) !important; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { margin-top: 16px; justify-content: center; border: 0; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/photos/exterior-lawn.jpg") center 60% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 22, 16, 0.72) 0%, rgba(10, 22, 16, 0.35) 50%, transparent 80%),
    linear-gradient(180deg, rgba(10, 22, 16, 0.55) 0%, rgba(10, 22, 16, 0.05) 35%, rgba(10, 22, 16, 0.25) 60%, rgba(10, 22, 16, 0.85) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { padding: calc(var(--nav-h) + 60px) 0 clamp(56px, 9vw, 110px); }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero__kicker svg { width: 16px; height: 16px; }
.hero h1 { max-width: 14ch; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero__sub, .hero__facts { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.hero h1 em { font-style: italic; font-weight: 400; color: #f3c79c; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 54ch; opacity: 0.92; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
  padding-left: 0;
}
.hero__facts:empty { display: none; }
.hero__facts li { display: flex; align-items: baseline; gap: 8px; font-size: 0.95rem; opacity: 0.9; }
.hero__facts strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }

/* ─── Intro ─── */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__media .intro__main { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__media .intro__inset {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 52%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--cream);
}
.intro__badge {
  position: absolute;
  top: 28px;
  right: 4%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--bear);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
}
.intro__badge strong { display: block; font-size: 1.6rem; }
.intro__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.intro__points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.intro__points .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sand); color: var(--forest);
  display: grid; place-items: center;
}
.intro__points .icon svg { width: 22px; height: 22px; }
.intro__points h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 2px 0 2px; letter-spacing: 0; }
.intro__points p { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media { margin-bottom: 50px; }
}

/* ─── Amenity feature cards ─── */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.feature {
  position: relative;
  grid-column: span 4;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.feature--wide { grid-column: span 8; }
.feature img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform 0.8s ease;
}
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 22, 16, 0.88) 100%);
}
.feature:hover img { transform: scale(1.05); }
.feature__body { padding: 28px; }
.feature__tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(4px); margin-bottom: 10px;
}
.feature h3 { font-size: 1.6rem; margin-bottom: 6px; }
.feature p { margin: 0; opacity: 0.88; font-size: 0.97rem; max-width: 46ch; }
@media (max-width: 900px) {
  .feature, .feature--wide { grid-column: span 12; min-height: 320px; }
}

.amenity-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.amenity-list div {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.97rem;
}
.amenity-list svg { width: 22px; height: 22px; color: var(--moss); flex-shrink: 0; }

/* ─── Gallery ─── */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.gallery-filters button {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font: 500 0.92rem var(--font-body); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-filters button:hover { border-color: var(--ink); color: var(--ink); }
.gallery-filters button.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand);
}
.gallery button.is-hidden { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s ease; }
.gallery button:hover img { transform: scale(1.05); opacity: 0.92; }
.gallery-more { text-align: center; margin-top: 32px; }
.gallery-more[hidden] { display: none; }

/* ─── Rooms ─── */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.room { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room__img { display: block; padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room__img:hover img { transform: scale(1.05); }
.room__body { padding: 20px 22px 24px; }
.room__level { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cedar); }
.room h3 { margin: 6px 0 8px; }
.room__bed { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.room__bed svg { width: 20px; height: 20px; color: var(--moss); }
.room p:last-child { color: var(--muted); font-size: 0.93rem; margin: 0; }
@media (max-width: 1000px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }

.plans { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.plans__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: var(--ink-soft); font-size: 0.97rem; }
.plans__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plans__imgs button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; cursor: zoom-in; position: relative; }
.plans__imgs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plans__imgs span { position: absolute; left: 10px; top: 10px; background: var(--forest); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .plans__imgs { grid-template-columns: 1fr; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 14, 11, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,0.1); border: 0; color: #fff;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.22); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 60px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 50px; transform: none; } }

/* ─── Area ─── */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.place {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.place:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.place__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(233, 185, 140, 0.16); color: #e9b98c;
  display: grid; place-items: center; margin-bottom: 18px;
}
.place__icon svg { width: 24px; height: 24px; }
.place h3 { margin-bottom: 8px; }
.place p { color: rgba(238, 242, 236, 0.75); font-size: 0.97rem; margin-bottom: 14px; }
.place__time { font-size: 0.85rem; font-weight: 600; color: #e9b98c; letter-spacing: 0.02em; }

.drive-times {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid rgba(255,255,255,0.15);
}
.drive-times div { padding: 26px 18px 0 0; }
.drive-times strong { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: #fff; }
.drive-times span { font-size: 0.9rem; color: rgba(238, 242, 236, 0.7); }
.fine-print { font-size: 0.82rem; opacity: 0.6; margin-top: 22px; }

/* ─── Stay options ─── */
.stays { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stay {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column;
}
.stay--featured { background: var(--forest); color: #eef2ec; border-color: transparent; }
.stay--featured .stay__list li { color: rgba(238, 242, 236, 0.85); }
.stay--featured .eyebrow { color: #e9b98c; }
.stay h3 { font-size: 1.9rem; }
.stay__list { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 12px; }
.stay__list li { display: flex; gap: 12px; color: var(--ink-soft); }
.stay__list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; color: var(--bear); }
.stay__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .stays { grid-template-columns: 1fr; } }

/* ─── Booking ─── */
.booking {
  display: grid; grid-template-columns: 320px 1fr;
  max-width: 860px; margin-inline: auto;
  background: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative; z-index: 2; /* no overflow:hidden, so the iGMS date picker can pop out of the card */
}
.booking__info { background: var(--forest); border-radius: calc(var(--radius) + 5px) 0 0 calc(var(--radius) + 5px); color: #eef2ec; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.booking__rating .stars { color: #f3c79c; font-size: 1.2rem; letter-spacing: 3px; }
.booking__rating div { font-size: 1.05rem; margin-top: 4px; }
.booking__rating strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; margin-right: 4px; }
.booking__rating > span:last-child { font-size: 0.9rem; opacity: 0.75; }
.booking__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 0.95rem; }
.booking__perks li { display: flex; align-items: center; gap: 10px; }
.booking__perks svg { width: 18px; height: 18px; color: #f3c79c; flex-shrink: 0; }
.booking__note { margin: auto 0 0; font-size: 0.9rem; opacity: 0.8; }
.booking__note a { color: #f3c79c; }
.booking__widget { padding: clamp(20px, 3vw, 36px); min-height: 360px; }
.booking__widget .igms-direct-booking-widget { width: 100%; }
.booking__fallback { padding: clamp(24px, 4vw, 48px); text-align: center; }
.booking__fallback p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }
.booking__fallback .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.booking__alt { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.booking__alt a { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .booking { grid-template-columns: 1fr; }
  .booking__info { border-radius: calc(var(--radius) + 5px) calc(var(--radius) + 5px) 0 0; }
}

/* Responsive YouTube embed (guest guide) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 10px 0 24px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── FAQ ─── */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--font-display); font-size: 1.22rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.8rem; line-height: 1;
  color: var(--cedar); transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; margin: 0; color: var(--ink-soft); max-width: 70ch; }
.faq__more { text-align: center; margin-top: 44px; color: var(--muted); }

/* ─── CTA band ─── */
.cta-band {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(90px, 12vw, 150px) 0; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../images/photos/exterior-dusk.jpg") center 55% / cover no-repeat;
}
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 26, 19, 0.62); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 50ch; margin: 0 auto 30px; opacity: 0.9; }

/* ─── Footer ─── */
.footer { background: var(--forest-deep); color: rgba(238, 242, 236, 0.75); padding: 72px 0 36px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Chat widget ─── */
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--forest); color: #fff; font: 600 0.95rem var(--font-body);
  box-shadow: 0 16px 40px -12px rgba(18, 36, 28, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.chat-launcher:hover { transform: translateY(-2px); background: var(--forest-deep); }
.chat-launcher svg { width: 22px; height: 22px; }
.chat-launcher.is-hidden { display: none; }

.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100svh - 40px));
  background: var(--paper); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(18, 36, 28, 0.55);
  display: none; flex-direction: column;
  border: 1px solid var(--line);
}
.chat.is-open { display: flex; animation: chatIn 0.25s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.chat__head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--forest); color: #fff;
}
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.chat__avatar img { width: 34px; height: auto; object-fit: contain; object-position: left; }
.chat__title { font-weight: 600; line-height: 1.2; }
.chat__status { font-size: 0.8rem; opacity: 0.75; }
.chat__close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.chat__close:hover { background: rgba(255,255,255,0.12); }
.chat__close svg { width: 22px; height: 22px; display: block; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 0.94rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg--bot { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--forest); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { display: inline-flex; gap: 5px; align-items: center; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: var(--cream); }
.chat__chips button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 7px 13px; font: 500 0.82rem var(--font-body); color: var(--ink-soft); cursor: pointer;
}
.chat__chips button:hover { border-color: var(--forest); color: var(--forest); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat__form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px;
  font: 400 0.95rem var(--font-body); background: var(--cream); color: var(--ink); outline: none;
}
.chat__form input:focus { border-color: var(--moss); }
.chat__form button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bear); color: #fff; display: grid; place-items: center; flex-shrink: 0;
}
.chat__form button:disabled { opacity: 0.5; cursor: default; }
.chat__form button svg { width: 20px; height: 20px; }
.chat__note { font-size: 0.72rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: var(--paper); }

/* ─── Guide page ─── */
.guide-hero { padding: calc(var(--nav-h) + 70px) 0 60px; background: var(--forest); color: #eef2ec; }
.guide-hero .eyebrow { color: #e9b98c; }
.guide-hero .lede { color: rgba(238,242,236,0.82); }
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.guide-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.guide-toc h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.guide-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.guide-toc a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.guide-toc a:hover, .guide-toc a.is-active { background: var(--sand); color: var(--ink); }
.guide-section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.guide-section:last-child { border-bottom: 0; }
.guide-section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); display: flex; align-items: center; gap: 14px; }
.guide-section h2 .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--forest); display: grid; place-items: center; flex-shrink: 0; }
.guide-section h2 .icon svg { width: 24px; height: 24px; }
.guide-section h3 { margin-top: 32px; font-size: 1.2rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem;
}
.steps li > div { padding-top: 5px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fbeee3; border-left: 4px solid var(--cedar); margin: 20px 0; font-size: 0.96rem; }
.callout svg { width: 22px; height: 22px; color: var(--cedar); flex-shrink: 0; margin-top: 2px; }
.callout--todo { background: #fff6d6; border-left-color: #d4a514; }
.callout--todo svg { color: #b58a00; }
.callout p { margin: 0; }
.manual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.manual-grid button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; cursor: zoom-in; }
.manual-grid img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--ink-soft); }
.guide-photo { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 10px 0 24px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .guide-toc a { background: var(--sand); }
}

/* TODO notes for the owner: hidden unless the page is opened with ?edit */
.callout--todo { display: none; }
.show-todos .callout--todo { display: flex; }
.video--short { aspect-ratio: 9 / 16; max-width: 340px; }

/* ─── Host's favorites (inside the forest Area section) ─── */
.favorites {
  margin-top: 64px; display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
.favorites__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.favorites__head p { color: rgba(238, 242, 236, 0.75); margin: 0; }
.favorites__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 32px; }
.favorites__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #e9b98c; }
.favorites__list h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin: 4px 0 6px; letter-spacing: 0; }
.favorites__list h4 a { color: #fff; text-decoration-color: rgba(233, 185, 140, 0.6); text-underline-offset: 4px; }
.favorites__list h4 a:hover { text-decoration-color: #e9b98c; }
.favorites__list small { font-family: var(--font-body); font-size: 0.8rem; color: rgba(238, 242, 236, 0.6); margin-left: 4px; }
.favorites__list p { color: rgba(238, 242, 236, 0.75); font-size: 0.93rem; margin: 0; }
@media (max-width: 860px) { .favorites { grid-template-columns: 1fr; gap: 24px; } }
