:root {
  --bg: #14110e;
  --bg-2: #1c1814;
  --bg-3: #252019;
  --paper: #efe6d6;
  --ink: #f4ead8;
  --ink-dim: #c4b8a4;
  --ink-mute: #8d8273;
  --pine: #2f4a3c;
  --pine-2: #3d5c4b;
  --gold: #c9a24a;
  --gold-2: #e0be6a;
  --steel: #7a746a;
  --dirt: #3a3026;
  --line: rgba(201, 162, 74, 0.28);
  --line-weak: rgba(244, 234, 216, 0.1);
  --danger: #c45c3e;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --max: 1180px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, .display {
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20, 17, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 50%; }
.brand-kicker { display: block; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; }
.brand-name { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.06em; }

.nav { display: flex; gap: 0.15rem; flex-wrap: wrap; }
.nav a {
  color: var(--ink-dim);
  padding: 0.45rem 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--display);
}
.nav a:hover, .nav a.is-active { color: var(--gold-2); }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 0.4rem 0.7rem; border-radius: 8px; font-family: var(--display);
  letter-spacing: 0.08em; text-transform: uppercase;
}

.weather-chip {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--ink-dim);
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0.2rem 0;
  font-family: inherit;
  user-select: none;
}
.weather-chip strong { color: var(--ink); }
.weather-chip:hover, .weather-chip:focus-visible { color: var(--gold-2); }
.weather-chip:hover strong, .weather-chip:focus-visible strong { color: var(--gold-2); }
.weather-caret { font-size: 0.7rem; color: var(--ink-mute); }
.wx-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 8, 6, 0.62);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 5.2rem 1.2rem 1.2rem;
  overflow: auto;
}
.wx-overlay[hidden] { display: none; }
.wx-panel {
  position: relative;
  width: min(24rem, 100%);
  max-height: calc(100vh - 6.4rem);
  overflow: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.25rem;
  color: var(--ink);
}
.wx-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  background: transparent;
  border: 0;
  color: var(--ink-dim);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
}
.wx-close:hover { color: var(--ink); }
.wx-now { font-size: 1.35rem; margin: 0.2rem 0 0.35rem; }
.wx-now strong { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em; }
.wx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  margin: 0.9rem 0 0.3rem;
}
.wx-grid span { display: block; color: var(--ink-mute); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.wx-grid strong { color: var(--ink); font-weight: 600; }
.wx-sub {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin: 1rem 0 0.45rem;
}
.wx-hours {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  text-align: center;
}
.wx-hours div, .wx-days div {
  background: var(--bg-3);
  border-radius: 8px;
  padding: 0.4rem 0.25rem;
}
.wx-hours span, .wx-days span {
  display: block;
  color: var(--ink-mute);
  font-size: 0.68rem;
  white-space: nowrap;
}
.wx-hours strong, .wx-days strong { display: block; font-size: 0.88rem; }
.wx-days {
  display: grid;
  gap: 0.35rem;
}
.wx-days em {
  display: block;
  font-style: normal;
  color: var(--ink-dim);
  font-size: 0.78rem;
}
.wx-link { margin: 1rem 0 0; font-size: 0.88rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  align-items: stretch;
  min-height: 520px;
  background: var(--bg-2);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.2rem, 3vw, 2.6rem);
  max-width: 36rem;
}
.hero-slides {
  position: relative;
  min-height: 520px;
  background: #111;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-slide.is-on { opacity: 1; }
.hero-slide-fill {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  object-position: center;
  filter: blur(32px) saturate(1.08) brightness(0.72);
  transform: scale(1.12);
}
.hero-slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.hero-dots button.is-on { background: var(--gold); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-slides { order: -1; min-height: 280px; height: 42vh; }
  .hero-copy { max-width: none; padding: 1.5rem 1.1rem 1.8rem; }
}
.hero .eyebrow { color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 12ch; }
.hero p { color: var(--ink-dim); font-size: 1.02rem; }

.btn {
  display: inline-block;
  background: var(--gold); color: #1a140c;
  font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.75rem 1.15rem; border-radius: 999px; font-weight: 600;
}
.btn:hover { background: var(--gold-2); color: #1a140c; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.section { padding: 3.2rem 0; }
.section-alt { background: var(--bg-2); }
.kicker { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.76rem; }
.lede { color: var(--ink-dim); max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line-weak);
  border-radius: var(--radius);
  overflow: hidden;
}
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3 { font-size: 1.15rem; }

.prose { max-width: 70ch; color: var(--ink-dim); }
.prose h2 { color: var(--ink); margin-top: 1.6rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.4rem;
  background: #0f0d0b;
  color: var(--ink-dim);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: var(--ink-dim); }
.site-footer a:hover { color: var(--gold-2); }
.legal {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.4rem;
}
.legal p { margin: 0; }
.cf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-mute);
  white-space: nowrap;
}
.cf-badge img {
  display: block;
  height: 1.55rem;
  width: auto;
}

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.video-grid .feature { grid-column: 1 / -1; }
.video-box {
  background: #000; border: 1px solid var(--line-weak); border-radius: var(--radius); overflow: hidden;
}
.video-box video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.video-box .feature video { aspect-ratio: 16 / 8.2; min-height: 280px; }
.caption { padding: 0.55rem 0.8rem; color: var(--ink-dim); font-size: 0.9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.bio img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }
.bio img.about-photo {
  height: min(68vh, 580px);
  object-position: 92% 12%;
}
.online-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem 2rem;
  align-items: start;
  scroll-margin-top: 5.75rem;
}
.online-title {
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
  max-width: 12ch;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}
.rr-mark {
  display: block;
  flex-shrink: 0;
}
.rr-mark img {
  width: clamp(150px, 20vw, 240px);
  height: auto;
  background: #fff;
  border-radius: 50%;
}
.rr-head {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  margin-bottom: 0.35rem;
}
.rr-head h2 { margin: 0 0 0.45rem; }
.rr-mark-sm img {
  width: 72px;
  height: 72px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #161310; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 0.6rem 1rem 1rem;
  }
  .nav.open { display: flex; }
  .weather-chip {
    display: flex;
    flex-direction: row;
    width: 100%;
    order: 5;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid var(--line-weak);
    font-size: 0.8rem;
  }
  .wx-overlay {
    justify-content: center;
    padding: 5.6rem 0.9rem 1rem;
  }
  .wx-hours {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar-inner { flex-wrap: wrap; }
  .cards, .footer-grid, .split, .video-grid, .online-block { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
  .card img, .bio img { height: 240px; }
  .bio img.about-photo { height: min(52vh, 420px); }
  .rr-mark { justify-self: start; }
}

/* Ranch Cam / Donkey Cam — wide players, no tiny letterbox */
.cam-intro { padding: 1.6rem 0 1rem; }
.cam-streams { padding: 0 0 2.6rem; }
.cam-wrap {
  width: min(1440px, calc(100% - 1.25rem));
  margin-inline: auto;
}
.video-box { margin: 0; width: 100%; }
.video-box video {
  min-height: 220px;
  object-fit: contain;
}
.video-grid .feature video {
  aspect-ratio: 16 / 8.2;
  min-height: 340px;
}
.caption .pip {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(196, 92, 62, 0.28);
}
.video-box[data-stream="offline"] .pip { background: var(--steel); box-shadow: none; }
.video-box[data-stream="offline"] .caption::after { content: " · offline"; }
.cam-bios .bio img { object-position: center 20%; }

@media (max-width: 860px) {
  .cam-wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  .video-box video,
  .video-grid .feature video {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
}

/* Home gallery + inner pages */
main { min-height: 55vh; }
.hero-logo {
  width: clamp(168px, 28vw, 280px);
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 0.55rem 0.7rem 0.4rem;
  margin-bottom: 1.15rem;
  border: 2px solid var(--line);
}
.page-hero { padding: 2.4rem 0 0.4rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
a.card { color: var(--ink); }
a.card:hover { color: var(--ink); }
a.card:hover h3 { color: var(--gold-2); }
.gallery .card p,
.cards .card p { color: var(--ink-dim); margin: 0; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}
.contact-list li {
  border-top: 1px solid var(--line-weak);
  padding: 0.9rem 0;
}
.contact-list a { font-weight: 600; }
.contact-list span { display: block; color: var(--ink-mute); font-size: 0.92rem; }
.empty-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  color: var(--ink-dim);
  background: var(--bg-2);
  max-width: 62ch;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.yt-grid .feature { grid-column: auto; }
.yt-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-weak);
}
.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.shorts-kicker { margin: 1.35rem 0 0.55rem; }
.yt-shorts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.75rem;
}
.yt-short {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-weak);
}
.yt-short > div {
  position: absolute;
  inset: 0;
}
.yt-short iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .yt-shorts {
    display: flex;
    overflow-x: auto;
    gap: 0.65rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
  }
  .yt-short {
    flex: 0 0 62vw;
    max-width: 240px;
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .yt-grid { grid-template-columns: 1fr; }
}
