/* Shared site header, menu and footer.
   Linked from every page after its own <style> blocks so these win.
   Selectors are prefixed with #nav.site-nav / #mobile-menu.site-menu /
   #footer.site-footer to outrank the older per-page rules. */

:root {
  --sc-bar: rgba(30, 15, 11, 0.95);
  --sc-panel: #241410;
  --sc-cream: #F5EEDE;
  --sc-green: #355E3B;
  --sc-green-hover: #3F6E46;
  --sc-green-deep: #294A2E;
  --sc-sage: #8FAE7B;
  --sc-nav-h: 78px;
}

/* Anchor links land below the fixed header (site-nav.js refines this). */
html { scroll-padding-top: calc(var(--sc-nav-h) + 12px); }

/* ── HEADER ──────────────────────────────────────────────────── */
#nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem;
  box-sizing: border-box; min-height: var(--sc-nav-h);
  padding: 0.6rem clamp(1rem, 3vw, 3rem);
  background: var(--sc-bar);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 238, 222, 0.1);
  transition: background 0.35s ease, border-color 0.35s ease;
}
/* Homepage: see-through over the hero until the page scrolls. */
#nav.site-nav.site-nav--overlay:not(.scrolled) {
  background: linear-gradient(rgba(15, 8, 6, 0.55), rgba(15, 8, 6, 0));
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

#nav.site-nav .nav-logo {
  position: static; display: block; flex-shrink: 0;
  width: auto; height: auto; line-height: 0;
}
#nav.site-nav .nav-logo img {
  position: static; transform: none; display: block;
  height: 62px; width: auto; max-width: none;
}

#nav.site-nav .nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  margin: 0 auto; padding: 0; list-style: none;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#nav.site-nav .nav-links > li { position: relative; list-style: none; margin: 0; }
#nav.site-nav .nav-links a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 6px;
  font-family: 'Jost', sans-serif; font-size: 0.92rem; font-weight: 400; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: none; white-space: nowrap;
  color: var(--sc-cream); opacity: 0.9; text-decoration: none;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
}
#nav.site-nav .nav-links a:hover,
#nav.site-nav .nav-links a:focus-visible { opacity: 1; color: var(--sc-sage); }
#nav.site-nav .nav-links a.is-current { opacity: 1; color: var(--sc-sage); }

/* Locations dropdown */
#nav.site-nav .nav-drop > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 0.5rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
#nav.site-nav .nav-drop-menu {
  position: absolute; top: 100%; left: 50%; z-index: 5;
  min-width: 240px; margin: 0; padding: 0.5rem; list-style: none;
  background: var(--sc-panel); border: 1px solid rgba(245, 238, 222, 0.12);
  border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
#nav.site-nav .nav-drop:hover .nav-drop-menu,
#nav.site-nav .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
#nav.site-nav .nav-drop-menu li { list-style: none; margin: 0; }
#nav.site-nav .nav-drop-menu a { padding: 0.7rem 0.9rem; font-size: 0.92rem; }
#nav.site-nav .nav-drop-menu a:hover { background: rgba(245, 238, 222, 0.06); }
#nav.site-nav .nav-drop-menu small {
  display: block; margin-top: 0.1rem; font-size: 0.74rem; letter-spacing: 0.04em;
  color: rgba(245, 238, 222, 0.6);
}

/* Buttons (header, menu and footer) */
.sc-btn {
  display: inline-block; box-sizing: border-box;
  font-family: 'Jost', sans-serif; font-size: 0.88rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: none; white-space: nowrap;
  padding: 0.72rem 1.3rem; border-radius: 6px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.sc-btn:hover { transform: translateY(-1px); }
.sc-btn--light { background: var(--sc-cream); color: var(--sc-green-deep); border-color: var(--sc-cream); }
.sc-btn--light:hover { background: #fff; border-color: #fff; color: var(--sc-green-deep); }
.sc-btn--green { background: var(--sc-green); color: var(--sc-cream); border-color: var(--sc-green); }
.sc-btn--green:hover { background: var(--sc-green-hover); border-color: var(--sc-green-hover); color: var(--sc-cream); }
.sc-btn--outline { background: transparent; color: var(--sc-cream); border-color: rgba(245, 238, 222, 0.5); }
.sc-btn--outline:hover { border-color: var(--sc-cream); color: var(--sc-cream); }

#nav.site-nav .nav-cta-group {
  display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; margin: 0;
}

#nav.site-nav .nav-hamburger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; margin: 0 -0.4rem 0 0; padding: 0;
  background: none; border: 0; cursor: pointer; flex-shrink: 0;
}
#nav.site-nav .nav-hamburger span {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--sc-cream);
}

/* ── FULL-SCREEN MENU (tablets & phones) ─────────────────────── */
#mobile-menu.site-menu {
  display: none; position: fixed; inset: 0; z-index: 9999;
  box-sizing: border-box; width: 100%; height: 100vh; height: 100dvh;
  padding: 5rem 1.5rem 2.5rem; margin: 0; overflow-y: auto;
  flex-direction: column; align-items: center; gap: 0;
  background: rgba(30, 15, 11, 0.985); list-style: none;
}
#mobile-menu.site-menu.open { display: flex; }
#mobile-menu.site-menu ul { list-style: none; margin: 0; padding: 0; }
#mobile-menu.site-menu li { list-style: none; margin: 0; }
#mobile-menu.site-menu .site-menu__links { margin-top: auto; text-align: center; }
#mobile-menu.site-menu .site-menu__links a {
  display: block; padding: 0.65rem 1rem;
  font-family: 'Jost', sans-serif; font-size: 1.1rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sc-cream); text-decoration: none; background: none; border: 0;
}
#mobile-menu.site-menu .site-menu__links a:hover,
#mobile-menu.site-menu .site-menu__links a.is-current { color: var(--sc-sage); }
#mobile-menu.site-menu .site-menu__sub { padding-bottom: 0.4rem; }
#mobile-menu.site-menu .site-menu__sub a {
  padding: 0.35rem 1rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: none;
  color: rgba(245, 238, 222, 0.72);
}
#mobile-menu.site-menu .site-menu__ctas {
  display: flex; flex-direction: column; gap: 0.75rem;
  width: 100%; max-width: 320px; margin: 2rem 0 auto;
}
#mobile-menu.site-menu .site-menu__ctas .sc-btn {
  display: block; text-align: center; padding: 0.95rem 1rem; font-size: 0.98rem;
}
/* Older per-page "#mobile-menu a" colours would otherwise win over the button colours. */
#mobile-menu.site-menu .sc-btn--light { color: var(--sc-green-deep); }
#mobile-menu.site-menu .sc-btn--green,
#mobile-menu.site-menu .sc-btn--outline { color: var(--sc-cream); }
#mobile-menu.site-menu #mobile-close {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
}
#mobile-menu.site-menu #mobile-close span {
  position: absolute; display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--sc-cream); transform: rotate(45deg);
}
#mobile-menu.site-menu #mobile-close span:last-child { transform: rotate(-45deg); }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer.site-footer {
  display: block; box-sizing: border-box; margin: 0;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: #120C08; color: rgba(245, 238, 222, 0.78);
  font-family: 'Jost', sans-serif; font-weight: 300; text-align: left;
  border-top: 1px solid rgba(245, 238, 222, 0.08);
}
#footer.site-footer a { color: inherit; text-decoration: none; transition: color 0.2s; }
#footer.site-footer a:hover { color: var(--sc-sage); }
#footer.site-footer .sf-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
#footer.site-footer .sf-logo { display: inline-block; line-height: 0; }
#footer.site-footer .sf-logo img { height: 80px; width: auto; display: block; margin: 0; }
#footer.site-footer .sf-tag {
  margin: 1.1rem 0 1.4rem; max-width: 280px;
  font-size: 0.95rem; line-height: 1.6; color: rgba(245, 238, 222, 0.7);
}
#footer.site-footer .sf-socials { display: flex; gap: 0.6rem; margin: 0; }
#footer.site-footer .sf-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(245, 238, 222, 0.25);
}
#footer.site-footer .sf-socials a:hover { border-color: var(--sc-sage); }
#footer.site-footer .sf-socials svg { width: 17px; height: 17px; fill: currentColor; }
#footer.site-footer .sf-head {
  margin: 0 0 1rem; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-cream);
}
#footer.site-footer .sf-col ul { list-style: none; margin: 0; padding: 0; }
#footer.site-footer .sf-col li { margin: 0 0 0.65rem; font-size: 0.97rem; line-height: 1.45; }
#footer.site-footer .sf-col li a { display: inline-flex; align-items: center; gap: 0.55rem; }
#footer.site-footer .sf-col svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
#footer.site-footer .sf-note {
  margin: 0.9rem 0 0; font-size: 0.85rem; line-height: 1.5; color: rgba(245, 238, 222, 0.5);
}
#footer.site-footer .sf-bottom {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 238, 222, 0.1);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  font-size: 0.82rem; line-height: 1.6; color: rgba(245, 238, 222, 0.5);
}
#footer.site-footer .sf-bottom p { margin: 0; max-width: 820px; }
#footer.site-footer .sf-bottom a { white-space: nowrap; color: rgba(245, 238, 222, 0.7); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1240px) {
  #nav.site-nav { gap: 1rem; }
  #nav.site-nav .nav-links a { padding: 0.6rem 0.6rem; }
  #nav.site-nav .nav-links .nav-about { display: none; }
}

@media (max-width: 1080px) {
  #nav.site-nav .nav-links { display: none; }
  #nav.site-nav .nav-hamburger { display: flex; }
  #nav.site-nav .nav-cta-group { margin-left: auto; }
  #nav.site-nav .nav-cta-brochure { display: none; }

  #footer.site-footer .sf-inner { grid-template-columns: 1fr 1fr; }
  #footer.site-footer .sf-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --sc-nav-h: 70px; }
  #nav.site-nav { gap: 0.5rem; padding: 0.4rem 1rem; }
  #nav.site-nav .nav-logo img { height: 58px; }
  #nav.site-nav .nav-cta-group .sc-btn { padding: 0.6rem 0.9rem; font-size: 0.82rem; }

  #footer.site-footer { padding-top: 3.5rem; }
  #footer.site-footer .sf-inner { grid-template-columns: 1fr; gap: 2rem; }
  #footer.site-footer .sf-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  #nav.site-nav .nav-logo img { height: 50px; }
  #nav.site-nav .nav-cta-group .sc-btn { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
}

/* ── BLOG COMPARISON TABLES ──────────────────────────────────── */
/* Wide tables scroll sideways inside themselves on phones instead of
   being cut off or widening the page. */
@media (max-width: 760px) {
  table.comparison-table {
    display: block; max-width: 100%; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── LODGE CARD STRIPS (park pages, blog posts, sold lodge) ──── */
/* Cards are drawn by lodge-cards.js from lodges-data.js. */
.lc-section {
  background: #162013; color: var(--sc-cream);
  padding: 5.5rem clamp(1.25rem, 4vw, 3rem);
}
.lc-section .lc-inner { max-width: 1200px; margin: 0 auto; }
.lc-section .lc-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.lc-section .lc-eyebrow {
  display: block; font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-sage);
}
.lc-section .lc-head h2 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; line-height: 1.15;
  color: var(--sc-cream); margin: 0.8rem 0 1rem; text-transform: none; letter-spacing: 0;
}
.lc-section .lc-head p {
  font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 300; line-height: 1.7;
  color: rgba(245, 238, 222, 0.75); margin: 0;
}
.lc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 370px)); justify-content: center; gap: 1.5rem;
}
.lc-grid .lc-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(245, 238, 222, 0.04); border: 1px solid rgba(245, 238, 222, 0.1);
  border-radius: 10px; color: inherit; text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
.lc-grid .lc-card:hover { transform: translateY(-3px); border-color: rgba(143, 174, 123, 0.55); }
.lc-grid .lc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f1a0e; }
.lc-grid .lc-img img {
  display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0;
  transition: transform 0.5s;
}
.lc-grid .lc-card:hover .lc-img img { transform: scale(1.04); }
.lc-grid .lc-img.is-sold img { filter: grayscale(0.35) brightness(0.72); }
.lc-grid .lc-price,
.lc-grid .lc-sold {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 0.85rem; border-radius: 4px;
}
.lc-grid .lc-price {
  color: var(--sc-cream); background: rgba(22, 32, 19, 0.85);
  border: 1px solid rgba(245, 238, 222, 0.55);
}
.lc-grid .lc-sold { color: #fff; background: #8B1A1A; letter-spacing: 0.2em; }
.lc-grid .lc-park {
  position: absolute; top: 0.9rem; right: 0.9rem;
  font-family: 'Jost', sans-serif; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem;
  border-radius: 999px; background: rgba(245, 238, 222, 0.92); color: #2A241D;
}
.lc-grid .lc-body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.lc-grid .lc-name {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--sc-cream);
  margin: 0; text-transform: none; letter-spacing: 0;
}
.lc-grid .lc-meta {
  font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300;
  color: rgba(245, 238, 222, 0.65); margin: 0;
}
.lc-grid .lc-cta {
  margin-top: auto; padding-top: 0.9rem;
  font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-sage);
}
.lc-section .lc-foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.75rem;
}

/* Phones: cards become a swipeable row so long lists stay short. */
@media (max-width: 700px) {
  .lc-section { padding-top: 4rem; padding-bottom: 4rem; }
  .lc-grid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem));
    padding: 0 clamp(1.25rem, 4vw, 3rem) 0.75rem;
    scroll-padding-left: clamp(1.25rem, 4vw, 3rem);
  }
  .lc-grid .lc-card { scroll-snap-align: start; }
  .lc-grid .lc-card:hover { transform: none; }
}

/* ── PHONE ACTION BAR (lodge pages) ──────────────────────────── */
/* Get in Touch / Book always in reach on phones. Replaces the header's Book
   button and the duplicate "Ready to visit?" box on these pages. */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  .mobile-bar {
    display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(30, 15, 11, 0.97); border-top: 1px solid rgba(245, 238, 222, 0.12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; border-radius: 6px; text-decoration: none;
    font-family: 'Jost', sans-serif; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em;
  }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar .mobile-bar__call {
    color: var(--sc-cream); border: 1px solid rgba(245, 238, 222, 0.5);
  }
  .mobile-bar .mobile-bar__main { background: var(--sc-cream); color: var(--sc-green-deep); }
  body:has(> .mobile-bar) { padding-bottom: 72px; }
  body:has(> .mobile-bar) #nav.site-nav .nav-cta-group { display: none; }
  body:has(> .mobile-bar) #nav.site-nav .nav-hamburger { margin-left: auto; }
  body:has(> .mobile-bar) .detail-sidebar { display: none; }
}

/* ── READABLE SMALL TEXT ON PHONES ───────────────────────────── */
/* Lifts labels that were 8–11px on phones to at least ~12px. */
@media (max-width: 768px) {
  #page-subnav .subnav-list li a { font-size: 0.75rem; letter-spacing: 0.08em; padding: 0.9rem 1rem; }
  .park-tags .park-tag,
  .rest-tags .rest-tag { font-size: 0.75rem; letter-spacing: 0.08em; }
  .amenity-overlay .amenity-tag { font-size: 0.72rem; letter-spacing: 0.14em; }
  .amenity-overlay p { font-size: 0.85rem; line-height: 1.5; }
  .town-overlay .town-eyebrow,
  .section-eyebrow, .eyebrow, .video-title .eyebrow, .article-hero .eyebrow, .article-eyebrow,
  .panel-eyebrow, .cta-eyebrow, .section-label, .location-mini-sub { font-size: 0.75rem; }
  .card-body .card-sub { font-size: 0.78rem; }
  .form-group label, .filter-field label { font-size: 0.75rem; }
  .lodge-card-img .park-pill, .lc-grid .lc-park { font-size: 0.7rem; }
  .lodge-price .price-label, .stat-box .stat-label { font-size: 0.75rem; }
}

/* ── PHOTO VIEWER CONTRAST (lodge pages) ─────────────────────── */
.lightbox .lb-btn { background: rgba(245, 238, 222, 0.12); border-color: rgba(245, 238, 222, 0.5); color: var(--sc-cream); }
.lightbox .lb-btn:hover { background: rgba(245, 238, 222, 0.24); }
.lightbox .lb-btn svg { stroke: var(--sc-cream); stroke-width: 2; }
.lightbox .lb-close { color: var(--sc-cream); border-color: rgba(245, 238, 222, 0.5); }
.lightbox .lb-close:hover { border-color: var(--sc-cream); color: #fff; }
.lightbox .lb-counter { color: rgba(245, 238, 222, 0.85); font-size: 0.8rem; letter-spacing: 0.14em; }

/* ── FLOOR PLAN (lodge pages) ────────────────────────────────── */
.floorplan-section h2 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700;
  color: #2A241D; line-height: 1.3; margin: 0 0 0.6rem;
}
.floorplan-section .floorplan-sub {
  font-size: 1rem; line-height: 1.7; color: rgba(42, 36, 29, 0.72); margin: 0 0 1.6rem;
}
.floorplan-section .floorplan-frame {
  position: relative; display: block; width: 100%; padding: 1.25rem; margin: 0;
  background: #fff; border: 1px solid rgba(42, 36, 29, 0.14); border-radius: 10px;
  cursor: zoom-in; transition: border-color 0.25s, box-shadow 0.25s;
}
.floorplan-section .floorplan-frame:hover {
  border-color: rgba(53, 94, 59, 0.45); box-shadow: 0 14px 40px rgba(42, 36, 29, 0.1);
}
.floorplan-section .floorplan-frame img {
  display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; margin: 0 auto;
}
.floorplan-section .floorplan-zoom {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Jost', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  color: #F5EEDE; background: rgba(30, 15, 11, 0.85); padding: 0.55rem 0.9rem; border-radius: 999px;
}
.floorplan-section .floorplan-zoom svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 768px) {
  .floorplan-section h2 { font-size: 1.35rem; }
  .floorplan-section .floorplan-frame { padding: 0.6rem; }
  .floorplan-section .floorplan-frame img { max-height: 560px; }
}

/* ── BACK TO TOP (phones only) ───────────────────────────────── */
.sc-to-top { display: none; }
@media (max-width: 768px) {
  .sc-to-top {
    display: flex; align-items: center; justify-content: center;
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 890;
    width: 48px; height: 48px; border-radius: 50%; padding: 0; cursor: pointer;
    background: rgba(30, 15, 11, 0.9); border: 1px solid rgba(245, 238, 222, 0.55);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .sc-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
  .sc-to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--sc-cream); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  /* Lodge pages: sit above the Enquire / Book a Viewing bar. */
  body:has(> .mobile-bar) .sc-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
