:root {
  --red: #7e2f29;
  --red-dark: #5d211d;
  --rust: #b25a3b;
  --cream: #f7f0e4;
  --paper: #fffdf8;
  --ink: #2b2621;
  --muted: #6e655d;
  --sage: #72806a;
  --line: rgba(69, 50, 38, .16);
  --shadow: 0 24px 60px rgba(76, 43, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 104px; height: 104px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.site-header .brand-logo { width: 120px; height: 120px; }
.site-header .brand-copy strong { font-size: 22px; }
.site-header .brand-copy small { font-size: 11px; line-height: 1.35; }
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  padding: 122px max(24px, calc((100vw - 1180px) / 2)) 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(178, 90, 59, .1), transparent 34%),
    var(--cream);
}
.hero-copy { max-width: 610px; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.04; }
h1 { max-width: 670px; font-size: clamp(52px, 6vw, 84px); letter-spacing: -.045em; }
h1 em { color: var(--red); font-weight: 500; }
.hero-intro { max-width: 560px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 3px;
  padding: 14px 21px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .toggle:focus-visible, .gallery-button:focus-visible, .gallery-nav:focus-visible, .gallery-close:focus-visible, .gallery-thumb:focus-visible, input:focus-visible + label { outline: 3px solid #d69b6f; outline-offset: 3px; }
.button-primary { color: white; background: var(--red); box-shadow: 0 12px 24px rgba(126,47,41,.2); }
.button-primary:hover { background: var(--red-dark); }
.quick-facts { display: flex; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; }
.quick-facts li { display: grid; min-width: 128px; padding: 0 22px; border-left: 1px solid var(--line); }
.quick-facts li:first-child { padding-left: 0; border-left: 0; }
.quick-facts strong { font-family: "Fraunces", serif; font-size: 19px; }
.quick-facts span { color: var(--muted); font-size: 12px; }
.diamond-callout { max-width: 510px; display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 17px; border-radius: 5px; color: white; background: var(--red); box-shadow: 0 12px 28px rgba(126,47,41,.16); }
.baseball-mark { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); }
.baseball-mark svg { width: 31px; height: 31px; fill: none; stroke: white; stroke-width: 1.4; stroke-linecap: round; }
.diamond-callout p { display: grid; gap: 2px; margin: 0; }
.diamond-callout strong { font-family: "Fraunces", serif; font-size: 17px; line-height: 1.25; }
.diamond-callout span:not(.baseball-mark) { color: rgba(255,255,255,.76); font-size: 11px; }

.hero-art {
  position: relative;
  aspect-ratio: .88;
  min-height: 500px;
  border-radius: 240px 240px 8px 8px;
  overflow: hidden;
  background: var(--red-dark);
  box-shadow: var(--shadow);
}
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; }
.hero-photo { position: relative; min-width: 0; height: 100%; margin: 0; overflow: hidden; }
.hero-photo + .hero-photo { border-left: 4px solid var(--cream); }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-big img { object-position: 51% center; }
.hero-little img { object-position: 56% center; }
.hero-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(31,20,15,.76)); }
.hero-photo figcaption { position: absolute; z-index: 2; left: 24px; bottom: 52px; color: white; font-family: "Fraunces", serif; font-size: 24px; }
.hero-photo figcaption span { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.art-note { position: absolute; z-index: 5; right: 23px; bottom: 20px; color: rgba(255,255,255,.86); font-family: "Fraunces", serif; font-size: 13px; font-style: italic; }

.section { padding: 105px max(24px, calc((100vw - 1180px) / 2)); }
.cabins { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
h2 { font-size: clamp(39px, 5vw, 60px); letter-spacing: -.035em; }
.toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; }
.toggle-track { width: 38px; height: 22px; padding: 3px; border-radius: 30px; background: #d5cdc2; transition: background .2s ease; }
.toggle-track span { display: block; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform .2s ease; }
.toggle[aria-pressed="true"] .toggle-track { background: var(--red); }
.toggle[aria-pressed="true"] .toggle-track span { transform: translateX(16px); }
.cabin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cabin-card { min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 26px rgba(55,35,22,.05); }
.card-media { position: relative; display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 275px; overflow: hidden; background: var(--red-dark); }
.card-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-media .media-main { grid-row: 1 / -1; }
.big-red .card-media .media-main { object-position: center; }
.little-red .card-media .media-main { object-position: 44% center; }
.cabin-number { position: absolute; top: 15px; left: 15px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; background: rgba(55,33,22,.35); backdrop-filter: blur(6px); font-size: 9px; letter-spacing: .12em; }
.gallery-button { position: absolute; right: 13px; bottom: 13px; min-height: 36px; border: 0; border-radius: 3px; padding: 8px 12px; color: var(--ink); background: rgba(255,253,248,.94); box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; font-size: 11px; font-weight: 700; }
.gallery-button:hover { background: white; }
.card-body { display: flex; flex-direction: column; min-height: 500px; padding: 32px 34px; }
.card-kicker { margin: 0 0 4px; color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.cabin-card h3 { font-size: 39px; }
.card-description { min-height: 75px; margin: 14px 0 23px; color: var(--muted); }
.facts-list { margin: 0; border-top: 1px solid var(--line); }
.facts-list div { display: grid; grid-template-columns: 79px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.facts-list dd { margin: 0; font-size: 13px; line-height: 1.4; }
.location-detail { display: block; margin-top: 3px; }
.button-card { width: 100%; margin-top: auto; color: var(--red); border: 1px solid var(--red); background: transparent; }
.button-card:hover { color: white; background: var(--red); }
.comparison-note { margin: 14px 0 0; color: var(--muted); text-align: right; font-size: 12px; }
.differences-only .facts-list .shared { display: none; }
.differences-only .card-description { min-height: 0; }
.differences-only .card-body { min-height: 420px; }

.gallery-dialog { width: min(1050px, calc(100% - 36px)); max-width: none; max-height: calc(100dvh - 36px); margin: auto; padding: 0; border: 0; border-radius: 8px; color: #fff; background: #171310; box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.gallery-dialog::backdrop { background: rgba(26,20,17,.84); backdrop-filter: blur(4px); }
.gallery-shell { padding: 24px; }
.gallery-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 18px; }
.gallery-header .eyebrow { margin-bottom: 5px; color: #dfaa87; }
.gallery-header h2 { font-size: clamp(31px, 4vw, 45px); }
.gallery-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 28px; line-height: 1; }
.gallery-stage { position: relative; height: min(62vh, 650px); min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 5px; background: #0e0b09; }
#gallery-image { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; display: block; object-fit: contain !important; flex: 0 1 auto; }
.gallery-nav { position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,253,248,.9); box-shadow: 0 5px 16px rgba(0,0,0,.2); cursor: pointer; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-meta { display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px 10px; color: rgba(255,255,255,.72); font-size: 13px; }
.gallery-meta p { margin: 0; }
.gallery-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 70px; width: 70px; height: 52px; overflow: hidden; border: 2px solid transparent; border-radius: 3px; padding: 0; background: transparent; cursor: pointer; opacity: .55; }
.gallery-thumb[aria-current="true"] { border-color: #dfaa87; opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }

.finder-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(48px, 8vw, 120px); background: #e8dfd1; }
.finder-intro { position: sticky; top: 36px; align-self: start; }
.finder-intro p:not(.eyebrow) { max-width: 450px; color: var(--muted); font-size: 18px; }
.ranch-details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ranch-details span { padding: 7px 11px; border: 1px solid rgba(87,80,65,.2); border-radius: 30px; color: #555f4d; font-size: 12px; }
.stay-finder { padding: 40px; border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
fieldset { min-width: 0; margin: 0 0 35px; padding: 0; border: 0; }
legend { margin-bottom: 15px; font-family: "Fraunces", serif; font-size: 21px; font-weight: 600; }
legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; color: white; background: var(--red); font-family: "DM Sans", sans-serif; font-size: 12px; }
input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.guest-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.guest-options label { display: grid; place-items: center; aspect-ratio: 1; max-height: 62px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-weight: 700; transition: .2s ease; }
.guest-options label:hover, .guest-options input:checked + label { color: white; border-color: var(--red); background: var(--red); }
.trip-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.trip-options label { display: grid; gap: 2px; padding: 15px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: .2s ease; }
.trip-options label:hover, .trip-options input:checked + label { border-color: var(--red); background: rgba(126,47,41,.06); box-shadow: inset 0 0 0 1px var(--red); }
.trip-options b { font-family: "Fraunces", serif; font-size: 16px; }
.trip-options small { color: var(--muted); font-size: 11px; }
.finder-placeholder { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed rgba(126,47,41,.3); color: var(--muted); background: rgba(126,47,41,.035); }
.finder-placeholder span { color: var(--red); font-size: 24px; }
.finder-placeholder p { margin: 0; font-size: 13px; }
.recommendation { padding: 25px; border-left: 4px solid var(--red); background: var(--cream); }
.recommendation-label { margin: 0; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.recommendation h3 { margin-top: 3px; font-size: 34px; }
.recommendation > p:not(.recommendation-label):not(.airbnb-note) { margin: 10px 0 20px; color: var(--muted); }
.recommendation-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.recommendation-actions .button { min-height: 46px; padding: 12px 16px; font-size: 13px; }
.airbnb-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 55px; align-items: center; padding: 35px max(24px, calc((100vw - 1180px) / 2)); color: #f8eee3; background: var(--red-dark); }
.footer-brand .brand-logo { border-radius: 50%; background: #f8eee3; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.65); }
.social-block, .footer-booking { display: grid; gap: 7px; }
.social-block > span, .footer-booking > span { color: rgba(255,255,255,.5); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.social-links { display: flex; gap: 18px; align-items: center; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.social-links a { text-underline-offset: 5px; }
.social-links svg { width: 18px; height: 18px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-links .icon-fill { fill: currentColor; stroke: none; }
.social-links a:last-child svg { fill: currentColor; stroke: none; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; font-weight: 700; text-underline-offset: 5px; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: 720px; }
  .hero-art { width: min(650px, 100%); min-height: 530px; aspect-ratio: 1.15; border-radius: 260px 260px 8px 8px; }
  .cabin-grid { grid-template-columns: 1fr; }
  .cabin-card { min-height: 0; }
  .finder-wrap { grid-template-columns: 1fr; }
  .finder-intro { position: static; }
  footer { grid-template-columns: 1fr auto; }
  .footer-booking { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 20px); padding-top: 14px; }
  .brand-logo { width: 78px; height: 78px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 8px; }
  .site-header .brand-logo { width: 98px; height: 98px; margin-left: -6px; }
  .site-header .brand-copy { min-width: 0; max-width: 225px; }
  .site-header .brand-copy strong { font-size: 20px; }
  .site-header .brand-copy small { font-size: 9.5px; line-height: 1.35; letter-spacing: .1em; }
  .hero { gap: 45px; padding: 148px 20px 54px; }
  h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 0; margin-top: 28px; }
  .quick-facts { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 38px; }
  .quick-facts li { min-width: 0; padding: 0 10px; }
  .quick-facts span { font-size: 10px; line-height: 1.25; }
  .diamond-callout { margin-top: 22px; padding: 13px 14px; }
  .diamond-callout strong { font-size: 15px; }
  .hero-art { min-height: 390px; aspect-ratio: .88; }
  .hero-photo figcaption { left: 13px; bottom: 52px; font-size: 18px; }
  .hero-photo figcaption span { font-size: 8px; }
  .art-note { left: calc(50% + 13px); right: 13px; bottom: 13px; width: auto; font-size: 9.5px; line-height: 1.25; text-align: right; }
  .section { padding: 72px 20px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 25px; }
  .toggle { align-self: flex-end; }
  .card-media { height: 235px; }
  .card-body { padding: 28px 22px 23px; }
  .card-description { min-height: 0; }
  .facts-list div { grid-template-columns: 73px 1fr; }
  .comparison-note { text-align: left; }
  .stay-finder { padding: 25px 18px; }
  .trip-options { grid-template-columns: 1fr; }
  .guest-options { gap: 5px; }
  .guest-options label { max-height: none; }
  footer { grid-template-columns: 1fr; gap: 24px; }
  .social-block, .footer-booking { grid-column: auto; }
  .footer-links { justify-content: flex-start; gap: 32px; }
  .gallery-dialog { width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .gallery-shell { min-height: 100%; display: flex; flex-direction: column; padding: 18px 14px; }
  .gallery-stage { height: auto; min-height: 0; flex: 1; }
  .gallery-nav { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
