/* Wilderness Shores Ranch & Campground — Sample Client Preview */
:root {
  --bg: #f3efe6;
  --cream: #fbf8f2;
  --sand: #e8e1d3;
  --border: #cfc7b6;
  --pine: #1e2a21;
  --pine-deep: #141d16;
  --rust: #a9572b;
  --rust-hover: #8e4520;
  --muted: #4a564c;
  --olive: #5e6a5f;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--pine);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Extra soft-blur treatment + edge bleed containment */
.blur-media {
  filter: blur(5px) saturate(1.04);
  transform: scale(1.07);
  transition: transform 0.55s var(--ease), opacity 0.3s ease;
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 36px); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.kicker { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: var(--rust); margin-bottom: 18px; }
.h2-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 48px); line-height: 1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }

/* Preview Notice Strip */
.preview-bar {
  background: var(--pine-deep);
  color: #dcd6c7;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
}
.preview-pill {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(169, 87, 43, 0.28);
  color: #f4d3bf;
  border: 1px solid rgba(217, 138, 92, 0.35);
}

/* Sticky Header */
.site-head {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  color: var(--cream);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.head-inner {
  padding: 20px 0;
  transition: padding 0.25s ease;
}
.site-head.scrolled {
  background: rgba(243, 239, 230, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pine);
  box-shadow: 0 1px 0 rgba(30, 42, 33, 0.12);
}
.site-head.scrolled .head-inner { padding: 13px 0; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 29px); letter-spacing: -0.01em; }
.brand-sub { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 5px; opacity: 0.82; }
.nav-links { display: none; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--rust); }
.head-actions { display: flex; align-items: center; gap: 14px; }
.head-phone { display: none; font-size: 14px; font-weight: 500; opacity: 0.9; font-variant-numeric: tabular-nums; }
.btn-rust {
  background: var(--rust);
  color: var(--cream);
  padding: 11px 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-rust:hover { background: var(--rust-hover); color: var(--cream); transform: translateY(-1px); }
.menu-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  opacity: 0.88;
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .head-phone { display: inline; }
  .menu-btn { display: none; }
}

/* Mobile Nav Drawer */
.mob-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--pine);
  color: var(--cream);
  padding: 26px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mob-drawer[hidden] { display: none; }
.mob-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(251, 248, 242, 0.14); }
.mob-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(251, 248, 242, 0.28); background: none; color: var(--cream); font-size: 20px; cursor: pointer; }
.mob-drawer nav { display: grid; margin-top: 12px; }
.mob-drawer nav a { font-family: var(--serif); font-size: 32px; padding: 12px 0; border-bottom: 1px solid rgba(251, 248, 242, 0.1); }
.mob-foot { margin-top: auto; display: grid; gap: 12px; font-size: 15px; opacity: 0.85; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(660px, 88svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--pine);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 20, 0.62) 0%, rgba(18, 26, 20, 0.25) 35%, rgba(18, 26, 20, 0.35) 58%, rgba(18, 26, 20, 0.86) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 148px 0 46px; width: 100%; }
.hero-meta {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-line { width: 28px; height: 1px; background: var(--cream); opacity: 0.7; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(50px, 7.6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 11ch;
}
.hero-lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.58; max-width: 520px; margin: 24px 0 0; opacity: 0.94; }

.search-bar {
  margin-top: 40px;
  background: var(--cream);
  color: var(--pine);
  border-radius: 20px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 6px;
  max-width: 980px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.search-field { display: flex; flex-direction: column; gap: 4px; padding: 11px 16px; border-radius: 14px; transition: background 0.15s ease; }
.search-field:hover { background: #efe9dd; }
.search-field span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--olive); }
.search-field input, .search-field select { border: 0; background: transparent; font-size: 15.5px; color: var(--pine); padding: 0; outline: none; width: 100%; }
.search-field select { cursor: pointer; }
.search-submit {
  border: 0;
  border-radius: 14px;
  background: var(--pine);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 17px 24px;
  transition: background 0.2s ease;
}
.search-submit:hover { background: var(--rust); }

/* Stats Strip */
.stats-band { background: var(--pine); color: var(--bg); }
.stats-grid {
  padding: 42px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); line-height: 1; }
.stat-num small { font-size: 0.54em; opacity: 0.65; }
.stat-label { font-size: 14px; opacity: 0.78; }

/* Intro & Feature Blurred Grid */
.sec { padding: clamp(56px, 7vw, 86px) 0; }
.intro-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 36px 49px; align-items: end; }
.intro-copy { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 520px; }
.feat-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.feat-card {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #d9d2c3;
  transition: transform 0.3s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); }
.feat-card img { width: 100%; height: 100%; object-fit: cover; }
.feat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 26, 20, 0.05) 35%, rgba(18, 26, 20, 0.84) 100%); pointer-events: none; }
.feat-cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: var(--cream); display: flex; flex-direction: column; gap: 6px; }
.feat-cap span:first-child { font-size: 12px; letter-spacing: 0.2em; opacity: 0.85; }
.feat-cap strong { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.06; }

/* Stays Interactive Section */
.stays-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.stays-note { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 380px; margin: 0; }
.stays-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 34px; align-items: start; }
.stay-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.stay-tab {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--border);
  color: #7a847b;
  transition: color 0.2s ease;
}
.stay-tab:hover, .stay-tab.on { color: var(--pine); }
.stay-tab-num { font-size: 13px; letter-spacing: 0.12em; }
.stay-tab-title { font-family: var(--serif); font-size: 26px; line-height: 1.06; display: block; }
.stay-tab-sub { font-size: 14px; opacity: 0.82; display: block; margin-top: 3px; }
.stay-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; transition: background 0.2s ease, color 0.2s ease; }
.stay-tab.on .stay-arrow { background: var(--rust); color: var(--cream); }

.stay-panel { background: var(--cream); border-radius: 24px; overflow: hidden; box-shadow: 0 2px 0 #e3dccd; }
.stay-media { position: relative; aspect-ratio: 16 / 10; background: #d9d2c3; overflow: hidden; }
.stay-media img { width: 100%; height: 100%; object-fit: cover; }
.stay-badge { position: absolute; z-index: 2; top: 18px; left: 18px; background: var(--cream); color: var(--pine); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.stay-body { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.stay-body h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; margin: 0; }
.stay-body p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }
.amen-list { display: flex; flex-wrap: wrap; gap: 8px; }
.amen-list span { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: #3b473d; font-weight: 500; }
.stay-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.btn-dark { background: var(--pine); color: var(--cream); padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; transition: background 0.2s ease; }
.btn-dark:hover { background: var(--rust); color: var(--cream); }
.btn-outline { border: 1px solid var(--pine); color: var(--pine); background: transparent; padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.btn-outline:hover { background: var(--pine); color: var(--cream); }

/* Ranch Life */
.ranch-sec { background: var(--pine); color: var(--bg); }
.ranch-grid { padding: clamp(56px, 7vw, 84px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 42px; align-items: center; }
.ranch-photo-wrap { position: relative; }
.ranch-photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #2e3b31; }
.ranch-photo img { width: 100%; height: 100%; object-fit: cover; }
.bull-tag {
  position: absolute;
  right: 16px;
  bottom: 20px;
  background: var(--bg);
  color: var(--pine);
  padding: 15px 19px;
  border-radius: 16px;
  max-width: 225px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
}
.bull-tag strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.bull-tag span { display: block; font-size: 13px; color: var(--olive); margin-top: 4px; }
.ranch-lead { font-size: 18px; line-height: 1.65; opacity: 0.84; margin: 22px 0 34px; max-width: 520px; }
.act-list { border-top: 1px solid rgba(243, 239, 230, 0.18); }
.act-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(243, 239, 230, 0.18); align-items: baseline; }
.act-row strong { font-family: var(--serif); font-weight: 400; font-size: 25px; }
.act-row span { font-size: 14px; opacity: 0.68; text-align: right; }

.video-wrap { padding-bottom: clamp(56px, 7vw, 84px); }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0d140f; }
.video-box img { width: 100%; height: 100%; object-fit: cover; }
.video-btn { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video-scrim { position: absolute; inset: 0; background: rgba(18, 26, 20, 0.38); }
.video-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--cream); }
.play-circle { width: 88px; height: 88px; border-radius: 50%; background: var(--cream); color: var(--pine); display: flex; align-items: center; justify-content: center; font-size: 26px; padding-left: 5px; transition: transform 0.25s ease; }
.video-btn:hover .play-circle { transform: scale(1.07); }
.play-lbl { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; }

/* Distances */
.dist-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.dist-row span:first-child { font-size: 18px; }
.dist-mi { font-family: var(--serif); font-size: 38px; line-height: 1; }
.dist-mi small { font-family: var(--sans); font-size: 14px; color: var(--olive); margin-left: 5px; }

/* Site Map Card */
.map-card { background: var(--sand); border-radius: 28px; padding: clamp(22px, 3.6vw, 38px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: center; }
.map-img-btn { all: unset; cursor: zoom-in; display: block; border-radius: 18px; overflow: hidden; background: var(--cream); box-shadow: 0 30px 60px -30px rgba(30, 42, 33, 0.45); position: relative; }
.map-img-btn img { width: 100%; }

/* Gallery */
.gal-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.gal-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-link { border: 1px solid var(--border); padding: 9px 17px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip-link:hover { border-color: var(--pine); }
.masonry { column-count: 4; column-gap: 14px; }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px) { .masonry { column-count: 2; } }
.gal-item { all: unset; cursor: zoom-in; display: block; width: 100%; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: #d9d2c3; transition: opacity 0.2s ease; }
.gal-item:hover { opacity: 0.9; }
.gal-item img { width: 100%; }

/* CTA Banner */
.cta-sec { position: relative; overflow: hidden; color: var(--cream); background: var(--pine); }
.cta-sec img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: rgba(18, 26, 20, 0.62); }
.cta-inner { position: relative; z-index: 2; padding: clamp(72px, 9vw, 114px) 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-inner h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 58px); line-height: 0.96; letter-spacing: -0.025em; margin: 0; max-width: 14ch; }
.btn-cream { background: var(--cream); color: var(--pine); padding: 17px 32px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 0; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.btn-cream:hover { background: var(--rust); color: var(--cream); }

/* Contact & Footer */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 44px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.masked-tag { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--pine); }
.map-embed { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #d9d2c3; margin-top: 8px; }
.map-embed img { width: 100%; height: 100%; object-fit: cover; }
.map-mask-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  background: rgba(30, 42, 33, 0.88); color: var(--cream); backdrop-filter: blur(8px);
  padding: 14px 20px; border-radius: 14px; text-align: center; width: min(86%, 320px);
  border: 1px solid rgba(251, 248, 242, 0.2); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}
.map-mask-badge strong { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #f4d3bf; }
.map-mask-badge span { display: block; font-size: 13.5px; margin-top: 4px; opacity: 0.9; font-variant-numeric: tabular-nums; }
.note-form { background: var(--cream); border-radius: 24px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; align-self: start; }
.note-form h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0; }
.note-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--olive); }
.note-field input, .note-field textarea { border: 0; border-bottom: 1px solid var(--border); background: transparent; font-size: 16.5px; padding: 10px 0; color: var(--pine); outline: none; }
.note-field input:focus, .note-field textarea:focus { border-bottom-color: var(--rust); }

.site-foot { background: var(--pine); color: var(--bg); }
.foot-inner { padding: 68px 0 36px; }
.foot-wordmark { font-family: var(--serif); font-size: clamp(48px, 8vw, 90px); line-height: 0.88; letter-spacing: -0.03em; }
.foot-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(243, 239, 230, 0.18); display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 14px; opacity: 0.78; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Modals & Lightbox */
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(14, 20, 16, 0.88); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop[hidden] { display: none; }
.preview-dialog { width: 100%; max-width: 500px; background: var(--cream); color: var(--pine); border-radius: 24px; padding: 30px; position: relative; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.preview-dialog h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 10px; line-height: 1.02; }
.preview-dialog p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.dlg-close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 18px; cursor: pointer; }
.lb-img { max-width: min(92vw, 920px); max-height: 82vh; border-radius: 16px; object-fit: contain; filter: blur(6px); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--cream); color: var(--pine); font-size: 20px; cursor: pointer; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-x { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cream); color: var(--pine); font-size: 22px; cursor: pointer; }
