/* Spirit West River Lodge — ported from the previous live site.
   Design tokens are copied verbatim from src/globals.css. This is a FUNCTIONAL PORT
   (council A9): the visual language matches the current live site exactly. A redesign
   is a separate brief. */

:root {
  --cream: #F5F0E8;
  --warm-white: #FDFAF5;
  --charcoal: #2C2C2C;
  --deep-brown: #3D2B1F;
  --wood-brown: #6B4226;
  --muted-sage: #8A9B7E;
  --river-blue: #4A7C8E;
  --gold: #C49A3C;
  --soft-tan: #D4B896;
  --line: #E8E0D4;
  --body: #5A5A5A;
  --muted: #8A8A8A;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; }
p { margin: 0; }
/* FIX 2026-08-20 — `height: auto` is NOT optional next to `max-width: 100%`.
   The previous site's Tailwind Preflight shipped `img,video{max-width:100%;height:auto}`.
   This port kept only the first half. Because the HTML width/height attributes are
   presentational hints that map to the CSS width/height properties, dropping
   `height:auto` left every image rendering at its FULL intrinsic pixel height while
   `max-width` squeezed its width down to the column — i.e. every inline photo was
   vertically stretched, and every fixed-height frame showed only the top sliver of it.
   Rules further down that set an explicit height (.hero > img, .card-img img,
   .frame img, .room-detail img, .rr-left img) all out-specify this and are unaffected. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; transition: all .25s ease; }

/* A1 — visible focus on every interactive element. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--deep-brown); color: #fff; padding: .75rem 1.25rem; font-size: .875rem;
}
.skip-link:focus { left: 0; }

/* A1 — honour reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .card-img:hover img, .frame:hover img { transform: none !important; }
}

/* ── R2: staging banner ─────────────────────────────────────────────────── */
#staging-banner {
  position: sticky; top: 0; z-index: 3000;
  background: #B91C1C; color: #fff;
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em; text-align: center; padding: .625rem 1rem;
  border-bottom: 2px solid #7F1D1D;
}
#staging-banner span { font-weight: 400; opacity: .9; }

/* ── layout ─────────────────────────────────────────────────────────────── */
.wrap    { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-lg { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-md { max-width: 960px;  margin: 0 auto; padding: 0 1.5rem; }
.wrap-sm { max-width: 768px;  margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.sec-tight { padding: 3.5rem 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-warm  { background: var(--warm-white); }
.bg-brown { background: var(--deep-brown); }
.bg-char  { background: var(--charcoal); }

/* ── top bar / nav ──────────────────────────────────────────────────────── */
.topbar {
  background: var(--deep-brown); color: rgba(255,255,255,.75);
  font-size: .75rem; letter-spacing: .02em;
}
.topbar .wrap-lg { display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.5rem; align-items: center; }
@media (max-width: 768px) { .topbar { display: none; } }

nav.site-nav { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
@media (max-width: 768px) { .nav-inner { height: 4rem; } }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--deep-brown); }
.brand span { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--charcoal); text-decoration: none; position: relative; padding: .25rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; color: var(--deep-brown); padding: .5rem; cursor: pointer; }
@media (max-width: 900px) { .nav-toggle { display: block; } }
#mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: .875rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--charcoal); text-decoration: none; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .75rem 2rem; border: none; cursor: pointer; transition: all .25s ease;
}
.btn-primary { background: var(--wood-brown); color: #fff; }
.btn-primary:hover { background: var(--deep-brown); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--wood-brown); border: 1px solid var(--soft-tan); }
.btn-ghost:hover { background: var(--cream); }
.btn-glass {
  background: rgba(255,255,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.45); color: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3);
  padding: 1rem 2.5rem;
}
.btn-glass:hover { background: rgba(255,255,255,.28); }
.btn-block { width: 100%; padding: 1rem; }

/* ── section heading ────────────────────────────────────────────────────── */
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.divider { width: 60px; height: 2px; background: var(--gold); margin: 0 auto 1.5rem; }
.divider.left { margin: 0 0 1.5rem; }
.sec-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 600; line-height: 1.2; color: var(--deep-brown); margin-bottom: 1rem; }
.sec-sub { font-size: 1.0625rem; line-height: 1.7; color: var(--body); max-width: 42rem; }
.center { text-align: center; }
.center .sec-sub { margin-left: auto; margin-right: auto; }
.on-dark .sec-title { color: #fff; }
.on-dark .sec-sub { color: rgba(255,255,255,.75); }
.lead { font-size: 1rem; line-height: 1.75; color: var(--body); }

/* ── heroes ─────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 600px; max-height: 900px; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(44,44,44,.15) 0%, rgba(44,44,44,.4) 60%, rgba(44,44,44,.7) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; }
.hero-badge { display: inline-block; padding: .5rem 1rem; margin-bottom: 1.5rem; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 600; color: #fff; line-height: 1.15; max-width: 900px; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero p { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 42rem; margin-bottom: 2.5rem; line-height: 1.7; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-foot { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.page-hero { position: relative; padding: 7rem 1.5rem; text-align: center; background: var(--deep-brown); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: #fff; margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,.78); max-width: 36rem; margin: 0 auto; }

/* ── grids / cards ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 2rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.gap-sm { gap: .75rem; }
@media (max-width: 1024px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── inline photo galleries (FIX 2026-08-20) ────────────────────────────────
   The previous site's galleries were fixed-height crop frames:
     Tailwind  `block overflow-hidden relative group` + inline style height:NNNpx
     on the frame, and `w-full h-full object-cover` on the <img> inside it.
   `.frame` is the byte-equivalent of that pair. The frame's own height is set
   per-instance (220 / 210 / 280 / 160 / 120 px) to match the old site 1:1.
   object-position stays at the CSS initial value (50% 50%) — the previous site
   never set one, so every crop is centred there too. */
.frame { position: relative; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.frame:hover img { transform: scale(1.05); }

/* Gallery grids keep their column count at every width, exactly as the old site
   did — its `grid-cols-2` / `grid-cols-3` carried no responsive prefix. The
   generic .g2/.g3 collapse to one column on small screens and must NOT be used
   for a photo collage, or the 2x2 mosaic unstacks into a 4-photo column. */
.gal { display: grid; gap: .75rem; }
.gal-2 { grid-template-columns: repeat(2, 1fr); }
.gal-3 { grid-template-columns: repeat(3, 1fr); }

/* ── clickable gallery tiles (2026-08-20, "copy old") ───────────────────────
   On the previous live site a gallery tile is not a <div> at all — it is
     <button className="block overflow-hidden relative group" style={{height}}>
   with the photo inside it and a black scrim that fades in on hover. `.frame.lb`
   is that button. Everything about the BOX is inherited from `.frame`, so the
   crop geometry fixed earlier today is byte-identical whether a tile is
   clickable or not; the rules below only strip the UA button chrome and add the
   hover scrim + the pointer. */
button.frame {
  display: block; width: 100%; padding: 0; border: 0; margin: 0;
  background: none; font: inherit; color: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
button.frame::after {
  content: ""; position: absolute; inset: 0; background: #000; opacity: 0;
  transition: opacity .3s ease; pointer-events: none;
}
/* The old site used two scrim strengths: opacity-20 on Home's three galleries,
   opacity-15 on the Events mosaic and the open room panel. Kept as-is. */
button.frame.lb-dim20:hover::after,
button.frame.lb-dim20:focus-visible::after { opacity: .20; }
button.frame.lb-dim15:hover::after,
button.frame.lb-dim15:focus-visible::after { opacity: .15; }

/* ── the lightbox itself ────────────────────────────────────────────────────
   Every value below is the old viewer's, converted from its Tailwind classes:
     overlay  fixed inset-0 z-50 flex items-center justify-center + rgba(0,0,0,.92)
     close    absolute top-5 right-5 p-2 rounded-full  bg rgba(255,255,255,.12)
     arrows   absolute left-4 / right-4 (md: 8) p-3 rounded-full, same bg
     photo    max-w-[90vw] max-h-[85vh] object-contain, 0 8px 60px rgba(0,0,0,.6)
     counter  absolute bottom-6 text-xs tracking-widest, opacity .5
   z-index is the one deliberate change: the old site's stack topped out at 50,
   this one has a sticky nav at 1000 and the staging banner at 3000, so the
   overlay sits at 4000 to actually cover the page it is modal over. */
.lb-overlay {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .92);
}
.lb-overlay[hidden] { display: none; }
.lb-img {
  max-width: 90vw; max-height: 85vh; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 8px 60px rgba(0, 0, 0, .6);
}
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  color: #fff; border: 0; border-radius: 9999px; cursor: pointer;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 1.25rem; right: 1.25rem; padding: .5rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); padding: .75rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (min-width: 768px) { .lb-prev { left: 2rem; } .lb-next { right: 2rem; } }
.lb-count {
  position: absolute; bottom: 1.5rem; margin: 0;
  font-family: var(--sans); font-size: .75rem; letter-spacing: .1em;
  color: #fff; opacity: .5;
}
/* A one-photo group has no arrows and no counter, exactly as the old viewer
   rendered nothing when `images.length > 1` was false. */
.lb-overlay[data-lb-single] .lb-prev,
.lb-overlay[data-lb-single] .lb-next,
.lb-overlay[data-lb-single] .lb-count { display: none; }

.card { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.card-img { position: relative; overflow: hidden; height: 240px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card-img:hover img { transform: scale(1.05); }
.card-tag { position: absolute; top: .75rem; right: .75rem; padding: .25rem .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--deep-brown); margin: .25rem 0 .75rem; }
.card-body p { font-size: .875rem; line-height: 1.7; color: var(--body); flex: 1; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { font-size: .75rem; padding: .25rem .5rem; background: var(--cream); color: var(--wood-brown); border-radius: 2px; }

.feature { text-align: center; padding: 1.5rem; }
.feature .ico { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(107,66,38,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; }
.feature h3 { font-size: 1.125rem; font-weight: 600; color: var(--deep-brown); margin-bottom: .75rem; }
.feature p { font-size: .875rem; line-height: 1.7; color: var(--body); }
.on-dark .feature h3 { color: #fff; }
.on-dark .feature p { color: rgba(255,255,255,.65); }

.info-tile { text-align: center; padding: 1.5rem 1rem; background: var(--cream); border-top: 3px solid var(--gold); }
.info-tile .k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-sage); margin-bottom: .5rem; }
.info-tile .v { font-size: .875rem; font-weight: 600; color: var(--deep-brown); }

.policy { padding: 1.25rem; background: #fff; border: 1px solid var(--line); display: flex; gap: .75rem; align-items: flex-start; }
.policy .tick { color: var(--muted-sage); flex-shrink: 0; font-weight: 700; }
.policy b { font-size: .875rem; color: var(--deep-brown); }
.policy b i { font-style: normal; color: var(--wood-brown); }
.policy p { font-size: .875rem; color: #7A7A7A; margin-top: .125rem; }

.note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; background: var(--cream); font-size: .875rem; color: var(--body); }
.note.gold { border-left: 3px solid var(--gold); }

/* ── accordion (FAQ) ────────────────────────────────────────────────────── */
.acc { border-bottom: 1px solid var(--line); }
.acc > button { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--deep-brown); line-height: 1.4; }
.acc > button .caret { color: var(--gold); flex-shrink: 0; transition: transform .3s ease; }
.acc > button[aria-expanded="true"] .caret { transform: rotate(90deg); }
.acc-panel { display: none; padding: 0 2rem 1.25rem 0; font-size: .9375rem; line-height: 1.75; color: var(--body); }
.acc-panel.open { display: block; }
.faq-cat { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--soft-tan); }

/* ── forms ──────────────────────────────────────────────────────────────── */
label.fl { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-brown); margin-bottom: .5rem; }
input, select, textarea {
  width: 100%; padding: .75rem 1rem; font-family: var(--sans); font-size: .875rem;
  border: 1px solid var(--soft-tan); background: var(--warm-white); color: var(--charcoal);
}
textarea { resize: vertical; }
.hint { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 24px rgba(0,0,0,.07); padding: 2rem; }

/* A1 — errors are announced, not just coloured. */
.alert { padding: .875rem 1rem; font-size: .875rem; border: 1px solid; margin-bottom: 1.25rem; }
.alert-error { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.alert-warn  { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-info  { background: var(--cream); border-color: #E8D4A0; color: var(--wood-brown); }
.alert-ok    { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.alert:empty { display: none; }
.alt-rooms { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.alt-rooms button { font-size: .8125rem; padding: .5rem .875rem; background: #fff; border: 1px solid var(--soft-tan); color: var(--wood-brown); cursor: pointer; font-family: var(--sans); }
.alt-rooms button:hover { background: var(--cream); }

.price-row { display: flex; justify-content: space-between; align-items: center; padding: .875rem 1rem; background: var(--cream); border: 1px solid #E8D4A0; margin-bottom: 1.25rem; }
.price-row .total { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--deep-brown); }

/* ── availability calendar (A1: never colour alone) ─────────────────────── */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h3 { font-size: 1.0625rem; font-weight: 600; color: var(--deep-brown); }
.cal-nav { background: none; border: 1px solid var(--line); color: var(--deep-brown); padding: .5rem .75rem; cursor: pointer; font-size: 1rem; line-height: 1; }
.cal-nav:hover { background: var(--cream); }
.dow { display: grid; grid-template-columns: repeat(7, 1fr); }
.dow div { text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); padding: .5rem 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cal-cell { background: #fff; min-height: 78px; padding: .25rem; font-size: .75rem; }
.cal-cell.pad  { background: var(--warm-white); }
.cal-cell.past { background: #F8F5F0; }
.cal-cell:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.cal-day { width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 500; color: var(--deep-brown); margin-bottom: .125rem; }
.cal-cell.past .cal-day { color: #BBB; }
.cal-cell.today .cal-day { background: var(--deep-brown); color: #fff; }
.cal-pill { font-size: .625rem; padding: .0625rem .25rem; border-radius: 2px; color: #fff; margin-bottom: .0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* A1: a hatch pattern + a text token, so availability is never encoded in colour alone. */
.cal-pill.blocked { background: #6B7280 !important; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 4px, transparent 4px 8px) !important; }
.cal-open { font-size: .6875rem; color: var(--muted-sage); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; margin-top: 1rem; }
.legend span { display: flex; align-items: center; gap: .375rem; font-size: .75rem; color: var(--body); }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.room-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.room-filters button { padding: .5rem 1rem; font-size: .875rem; font-weight: 500; font-family: var(--sans); background: #fff; color: var(--deep-brown); border: 1px solid var(--soft-tan); cursor: pointer; }
.room-filters button[aria-pressed="true"] { background: var(--deep-brown); color: #fff; }

/* ── room detail accordion (Rooms page) ─────────────────────────────────── */
.room-row { border: 1px solid var(--line); margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.room-row[open] { box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.room-row > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; background: #fff; border: 0; cursor: pointer; text-align: left; font-family: var(--sans); }
.room-row > button[aria-expanded="true"] { background: var(--cream); }
.room-row .rr-left { display: flex; align-items: center; gap: 1rem; }
.room-row .rr-left img { width: 4rem; height: 4rem; object-fit: cover; flex-shrink: 0; }
.room-row .rr-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--deep-brown); }
.room-row .rr-rate { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--deep-brown); text-align: right; }
.room-row .rr-rate small { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 400; color: var(--muted); }
.room-detail { display: none; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.room-detail.open { display: grid; }
@media (max-width: 900px) { .room-detail.open { grid-template-columns: 1fr; } }
.room-detail img { width: 100%; height: 360px; object-fit: cover; }
.room-detail .rd-body { padding: 2rem; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1.5rem 0; font-size: .875rem; color: var(--deep-brown); }
.feat-grid div { display: flex; gap: .5rem; align-items: center; }
.feat-grid .tick { color: var(--muted-sage); font-weight: 700; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--charcoal); color: rgba(255,255,255,.75); }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding: 4rem 0; }
@media (max-width: 900px) { footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
footer a { color: rgba(255,255,255,.65); text-decoration: none; }
footer a:hover { color: #fff; }
footer .fb b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; display: block; }
footer .fb span { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
footer .flabel { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .125rem; }
footer .fitem { margin-bottom: .75rem; font-size: .875rem; }
footer .plist div { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; margin-bottom: .5rem; }
footer .plist span { color: var(--gold); }
footer .fbot { border-top: 1px solid rgba(255,255,255,.1); }
footer .fbot .wrap-lg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.25rem 1.5rem; font-size: .75rem; color: rgba(255,255,255,.35); }
footer .flinks a { display: block; font-size: .875rem; margin-bottom: .5rem; }

.mt0{margin-top:0}.mt1{margin-top:.5rem}.mt2{margin-top:1rem}.mt3{margin-top:1.5rem}.mt4{margin-top:2rem}.mt6{margin-top:3rem}
.mb1{margin-bottom:.5rem}.mb2{margin-bottom:1rem}.mb3{margin-bottom:1.5rem}.mb4{margin-bottom:2rem}.mb6{margin-bottom:3rem}
.tc{text-align:center}
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* 2026-11-20 fix: inline display:flex on #edit-modal overrode the [hidden] attribute, so the edit dialog covered the owner dashboard on load and Cancel could not close it. */
#edit-modal[hidden] { display: none !important; }

/* 2026-11-20 parity: Summit Intake Systems badge, copied from the live SisBadge component */
.sis-w-badge{position:fixed;right:18px;bottom:18px;z-index:900;display:flex;align-items:center;justify-content:center;width:84px;min-height:48px;padding:9px;box-sizing:border-box;background:#111b22;border:1px solid #436470;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.2);text-decoration:none;transition:transform .16s ease}
.sis-w-badge:hover{transform:translateY(-2px)}
.sis-w-badge img{display:block;width:66px;height:auto;max-width:none;border:0;margin:0}
.sis-w-tip{position:absolute;bottom:calc(100% + 12px);right:0;white-space:nowrap;background:#17252e;color:#eefaff;border:1px solid #59d8fa;padding:10px 14px;border-radius:8px;font:600 12px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;opacity:0;visibility:hidden;transition:opacity .15s ease;pointer-events:none}
.sis-w-badge:hover .sis-w-tip,.sis-w-badge:focus-visible .sis-w-tip{opacity:1;visibility:visible}
@media(max-width:760px){.sis-w-badge{right:12px;bottom:calc(18px + env(safe-area-inset-bottom));width:68px;min-height:44px;padding:7px}.sis-w-badge img{width:52px}}
@media print{.sis-w-badge{display:none}}

/* 2026-11-20 parity: container widths measured on the live site at 1440px.
   Live uses Tailwind max-w-* on the CONTENT box (section padding outside it);
   v2's .wrap* included the 1.5rem padding inside the max-width, so every column was 48-80px off. */
main .wrap    { max-width: 1072px; }   /* live max-w-5xl = 1024 content */
main .wrap-md { max-width: 944px; }    /* live max-w-4xl = 896 */
main .wrap-sm { max-width: 816px; }    /* live max-w-3xl = 768 */
main .wrap-lg { max-width: 1200px; }   /* live max-w-6xl = 1152 */
main #rooms > .wrap-lg { max-width: 1328px; }  /* live max-w-7xl = 1280 (Home room cards) */
/* Home "Booking Information": live is grid-cols-2 md:grid-cols-4 gap-6 (4 + 1 on desktop, 2-up on phones) */
main .sec-tight .g5 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 767px) { main .sec-tight .g5 { grid-template-columns: repeat(2, 1fr); } }
/* live outlined buttons ("Call (307) 327-5753", "Inquire About Events") are mixed-case */
main .btn-ghost { text-transform: none; letter-spacing: normal; }
/* Rooms accordion rows: live shows [price][chevron] at the right, chevron flips when open; price hidden < 640px */
.room-row .rr-rate { margin-left: auto; }
.room-row > button::after { content: ""; flex-shrink: 0; width: 20px; height: 20px; transition: transform .3s ease;
  background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B4226' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.room-row > button[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (max-width: 639px) { .room-row .rr-rate { display: none; } }

/* ── 2026-11-20 parity pass 2 ─────────────────────────────────────────────
   Type sizes / line-heights / spacing measured on live (Tailwind defaults:
   text-xs 12/16, text-sm 14/20, text-base 16/24, text-lg 18/28, text-xl 20/28,
   text-2xl 24/32, text-4xl 36/40, text-5xl 48/48, leading-relaxed 1.625,
   leading-tight 1.25; breakpoints md 768 / lg 1024). */
.topbar .wrap-lg { max-width: none; padding: .5rem 2rem; }
.topbar a { display: inline-flex; align-items: center; gap: .375rem; }
.topbar svg, .call-q svg, .btn svg { flex-shrink: 0; }
.call-q { display: flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: var(--wood-brown); text-decoration: none; }
.lead { line-height: 1.625; }
.sec-title { font-size: 1.875rem; line-height: 1.25; }
.sec-sub { font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) {
  .sec-title { font-size: 2.25rem; line-height: 2.5rem; }
  .sec-sub { font-size: 1.125rem; line-height: 1.75rem; }
}
.hero h1 { font-size: 2.25rem; line-height: 1.25; }
.hero p { font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; line-height: 1; }
  .hero p { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.page-hero h1 { font-size: 2.25rem; line-height: 2.5rem; }
.page-hero p { font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; line-height: 1; } }
.cta-title { font-size: 2.25rem; line-height: 1.25; font-weight: 600; color: #fff; margin-bottom: 1.5rem; }
.cta-sub { font-size: 1.125rem; line-height: 1.75rem; color: rgba(255,255,255,.75); max-width: 36rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .cta-title { font-size: 3rem; line-height: 1; } }
.feature h3 { line-height: 1.75rem; }
.feature p, .card-body p { line-height: 1.625; }
.card-body h3 { line-height: 1.75rem; margin-top: 0; }
label.fl { line-height: 1rem; }
.hint { line-height: 1rem; }
.btn { line-height: 1.25rem; }
.room-filters button { line-height: 1.25rem; }
/* accordions: Home = py-4 items-center, answer text-sm leading-relaxed pb-4;
   FAQ = py-5, question leading-snug, answer text-sm leading-relaxed pb-5 pr-8 */
.acc > button { line-height: 1.5rem; }
.acc > button[aria-controls^="hf"] { padding: 1rem 0; align-items: center; }
.acc > button[aria-controls^="fa"] > span:first-child { line-height: 1.375; }
.acc-panel { font-size: .875rem; line-height: 1.625; }
.acc-panel[id^="hf"] { padding: 0 0 1rem 0; }
footer .plist { color: rgba(255,255,255,.65); }
footer .plist span { color: inherit; }
footer .plist span:first-child { color: var(--gold); }
/* booking page: price bar only once dates are picked (the [hidden] attribute lost to display:flex) */
.price-row[hidden], .legend[hidden] { display: none; }
#book-panel { max-width: none; margin: 0; }
#cal-grid .cal-open { display: none; }
.cal-nav { border: 0; border-radius: .25rem; padding: .5rem; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:hover { background: #F3F4F6; }
.cal-head { padding: 0 .25rem; }
.cal-head h3 { font-size: 1rem; line-height: 1.5rem; }
.cal-cell { min-height: 64px; }
@media (min-width: 768px) { .cal-cell { min-height: 80px; } }
.cal-day { margin-bottom: .25rem; font-size: .75rem; line-height: 1rem; }
.cal-pill { font-size: .65rem; line-height: 1rem; padding: .125rem .25rem; border-radius: .25rem; margin-bottom: .125rem; }
.legend { gap: .375rem 1rem; }
.legend span { line-height: 1rem; }
/* parity pass 2b: home icons + cards */
.feature .ico { color: var(--wood-brown); }
.feature .ico svg, .caret svg { display: block; }
.acc > button .caret { margin-top: 2px; }
.acc > button[aria-controls^="hf"] .caret { margin-top: 0; }
.nat-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .nat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .nat-grid { grid-template-columns: repeat(5, 1fr); } }
.nat-grid > div { overflow: hidden; }
.nat-body { padding: 1.25rem; text-align: center; }
.nat-body svg { display: block; color: var(--gold); margin: 0 auto 10px; }
.nat-body h3 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: #fff; margin-bottom: .5rem; }
.nat-body p { font-size: .875rem; line-height: 1.625; color: rgba(255,255,255,.65); }
.home-faq { background: #fff; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
@media (min-width: 768px) { .home-faq { padding: 2rem; } }
/* parity pass 2c: nav/footer container = live max-w-7xl px-6 lg:px-8; footer type */
.site-nav .wrap-lg, footer .wrap-lg { max-width: 1280px; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .site-nav .wrap-lg, footer .wrap-lg { padding-left: 2rem; padding-right: 2rem; } }
.eyebrow { line-height: 1rem; }
.info-tile .k { line-height: 1rem; }
.info-tile .v { line-height: 1.25rem; }
footer .fb b { line-height: 2rem; }
footer .fb span { display: block; margin-top: .125rem; font-size: .75rem; line-height: 1rem; letter-spacing: .1em; }
footer .fb > div[style] { line-height: 1rem; }
footer h4, footer .fitem, footer .flinks a, footer .plist div { line-height: 1.25rem; }
footer .flabel { font-size: .7rem; line-height: 1.25rem; }
footer .fbot .wrap-lg { flex-direction: column; align-items: center; gap: .75rem; line-height: 1rem; }
@media (min-width: 768px) { footer .fbot .wrap-lg { flex-direction: row; justify-content: space-between; } }
footer .fbot .wrap-lg { padding-top: 1.25rem; padding-bottom: 1.25rem; }
@media (max-width: 767px) { footer .cols { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px) { footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { footer .cols { grid-template-columns: repeat(4, 1fr); } }
footer .flinks a, footer .plist div { margin-bottom: 0; }
footer .flinks a + a, footer .plist div + div { margin-top: .5rem; }
footer .fitem:last-child { margin-bottom: 0; }
/* parity pass 2d: nav brand/links, page heroes, FAQ, booking form */
.brand b { font-size: 1.25rem; line-height: 1.75rem; }
.brand span { font-size: .75rem; line-height: 1rem; letter-spacing: .1em; }
@media (min-width: 768px) { .brand b { font-size: 1.5rem; line-height: 2rem; } }
.nav-links a { line-height: 1.25rem; padding: 0; letter-spacing: .025em; }
.page-hero .eyebrow { font-weight: 400; margin-bottom: 1rem; letter-spacing: .1em; }
input, select, textarea { line-height: 1.25rem; }
.faq-cat { line-height: 1rem; }
.faq-block:last-child { margin-bottom: 0; }
.faq-contact { padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
@media (min-width: 768px) { .faq-contact { padding: 2.5rem; } }
#book-sec { padding: 3rem 0; }
#book-sec > .wrap { padding: 0 1rem; }
@media (min-width: 768px) { #book-sec > .wrap { padding: 0 1.5rem; } }
.cal-card { padding: 1rem; margin-bottom: .75rem; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
@media (min-width: 768px) { .cal-card { padding: 1.5rem; } }
.dow div { line-height: 1rem; }
.field-row .field { margin-bottom: 0; }
.field-row { margin-bottom: 1.25rem; }
/* parity pass 2e: tracking-widest = .1em on live; card details */
.eyebrow, .faq-cat, .info-tile .k, footer h4 { letter-spacing: .1em; }
.btn-glass { line-height: 1.5rem; }
.chip { line-height: 1rem; }
.card-body .eyebrow { font-weight: 400; line-height: 1.5rem; }
.card-tag { line-height: 1rem; letter-spacing: .05em; }
/* parity pass 2f: rooms / events / in memory */
label.fl { letter-spacing: .05em; }
.tier-sec .grid > div > div:first-child { font-size: 1.125rem !important; line-height: 1.75rem; }
.tier-sec .grid > div > div:last-child > div:first-child { line-height: 1.5rem; }
.tier-sec .grid > div > div:last-child > div:last-child { line-height: 1.25rem; }
.cta-row { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } }
.policy .tick svg { display: block; margin-top: 3px; }
.policy b { display: block; line-height: 1.25rem; margin-bottom: .125rem; }
.policy p { line-height: 1.25rem; margin-top: 0; }
.ev-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ev-grid { grid-template-columns: repeat(4, 1fr); } }
.ev-type { background: #fff; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.ev-ico { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background: rgba(107,66,38,.1); color: var(--wood-brown); }
.ev-type h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: var(--deep-brown); margin-bottom: .75rem; }
.ev-type p { font-size: .875rem; line-height: 1.625; color: var(--body); }
#event-form-panel { padding: 2rem; }
@media (min-width: 768px) { #event-form-panel { padding: 2.5rem; } }
.call-band { background: var(--deep-brown); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .call-band { flex-direction: row; } }
.call-band-btn { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; font-size: .875rem; line-height: 1.25rem; font-weight: 600; padding: .75rem 1.5rem; background: var(--gold); color: #fff; letter-spacing: .05em; text-decoration: none; }
.mem-quote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.625; font-style: italic; font-weight: 500; color: var(--deep-brown); margin-bottom: 2rem; }
@media (min-width: 768px) { .mem-quote { font-size: 1.5rem; } }
.card { border: 0; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.faq-cta-row { display: flex; flex-direction: column; gap: .75rem; justify-content: center; }
@media (min-width: 640px) { .faq-cta-row { flex-direction: row; } }
.fc-k { display: block; font-size: .75rem; line-height: 1rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }
.fc-n { display: block; font-size: .75rem; line-height: 1rem; margin-top: .125rem; }
.mem-quote { line-height: 1.625; }
@media (min-width: 768px) { .mem-quote { line-height: 2rem; } }
/* live: Tailwind preflight placeholder colour; booking/events textareas are resize-none */
input::placeholder, textarea::placeholder { color: #9ca3af; opacity: 1; }
#bk-req, #ev-msg, #book-form textarea, #event-form textarea { resize: none; }
