/* A-Frame Ranch — site styles
   Palette from the ranch: standing-seam steel, post oak, pine interiors, limestone. */
:root {
  --steel: #262b29;
  --steel-2: #3a403d;
  --oak: #47704c;
  --oak-dark: #355639;
  --pine: #c8692b;
  --pine-soft: #f6e6da;
  --limestone: #f3f2ee;
  --paper: #ffffff;
  --creek: #646b66;
  --line: #dcdad3;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1180px;
  --serif: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--steel);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--oak-dark); text-underline-offset: 3px; }
a:hover { color: var(--steel); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.muted { color: var(--creek); }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid var(--oak); background: var(--oak); color: #fff;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--oak-dark); border-color: var(--oak-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--steel); border-color: var(--steel); }
.btn-ghost:hover { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--limestone); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--steel); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--oak-dark); text-decoration: underline; }
.nav .btn { color: #fff; padding: 11px 18px; }
.nav .btn:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--steel); border-radius: var(--radius-s); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--steel); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--limestone); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Hero: the A-frame */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.2rem; max-width: 34ch; color: var(--steel-2); margin-bottom: 1.6em; }
.frame { position: relative; aspect-ratio: 1 / 0.9; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.frame::before {
  content: ""; position: absolute; inset: -6% -2% 0 8%;
  background: var(--pine);
  clip-path: polygon(50% 0, 100% 100%, calc(100% - 7px) 100%, 50% 14px, 7px 100%, 0 100%);
}
.hero .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; }
.facts p { margin: 0; color: var(--steel-2); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--steel); }
@media (max-width: 860px) {
  .hero { padding: 28px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .frame { order: -1; width: 92%; margin: 0 auto 8px; }
  .hero .facts { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--paper); }
.section-steel { background: var(--steel); color: #e9ebe8; }
.section-steel h2, .section-steel h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { font-size: 1.1rem; color: var(--creek); }
.section-steel .section-head p { color: #c3c8c4; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* Stay groups and cards */
.group { margin-bottom: 64px; }
.group:last-child { margin-bottom: 0; }
.group-head { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-bottom: 24px; align-items: end; }
.group-head h3 { font-size: 1.7rem; margin: 0; }
.group-head p { margin: 0; color: var(--creek); max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.wide-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; text-decoration: none; color: var(--steel); }
.wide-card .ph { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-m); background: var(--line); }
.wide-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.wide-card h4 { font-family: var(--serif); font-size: 1.7rem; margin: 0 0 8px; }
.wide-card p { color: var(--steel-2); }
.wide-card .more { font-weight: 600; color: var(--oak-dark); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .wide-card { grid-template-columns: 1fr; gap: 16px; } }
.card { text-decoration: none; color: var(--steel); display: block; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m); background: var(--line); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .ph img { transform: scale(1.03); }
.card h4 { font-family: var(--serif); font-size: 1.3rem; margin: 14px 0 4px; }
.card p { margin: 0; color: var(--creek); font-size: .95rem; }
.card:hover h4 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .group-head { grid-template-columns: 1fr; gap: 8px; }
  .cards, .cards.three { grid-template-columns: 1fr; }
}

/* Ranch features */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature.flip .feature-img { order: 2; }
.feature p { color: var(--steel-2); }
.section-steel .feature p { color: #d3d7d4; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; gap: 20px; } .feature.flip .feature-img { order: 0; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.review { margin: 0; border-left: 3px solid var(--pine); padding-left: 20px; }
.review blockquote { margin: 0 0 10px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
.review figcaption { color: var(--creek); font-size: .9rem; }
.section-steel .review figcaption { color: #aab1ac; }
.reviews.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .reviews, .reviews.two { grid-template-columns: 1fr; gap: 28px; } }

/* Short list */
.shortlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0 0 32px; padding: 0; list-style: none; }
.shortlist li { padding: 18px 0; border-top: 1px solid var(--line); }
.shortlist strong { font-family: var(--serif); font-size: 1.2rem; display: block; }
.shortlist span { color: var(--creek); }
@media (max-width: 800px) { .shortlist { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-family: var(--sans); font-weight: 400; color: var(--oak); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; max-width: 68ch; color: var(--steel-2); }

/* Footer */
.site-footer { background: var(--steel); color: #c9cec9; padding: 56px 0 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer img { width: 170px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--steel-2); padding-top: 20px; font-size: .9rem; color: #9aa19c; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Property page */
.crumbs { padding-top: 28px; font-size: .95rem; }
.crumbs a { color: var(--creek); }
.stay-head { padding: 12px 0 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.stay-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: .15em; }
.stay-head .sub { font-size: 1.15rem; color: var(--steel-2); margin: 0; max-width: 52ch; }
.keyfacts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.keyfacts li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(62vh, 560px); border-radius: var(--radius-m); overflow: hidden; position: relative; }
.gallery button { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .all { position: absolute; right: 16px; bottom: 16px; background: var(--paper); color: var(--steel); border: 1px solid var(--steel); border-radius: var(--radius-s); padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vw; }
  .gallery button:first-child { grid-column: 1 / 3; grid-row: 1; }
  .gallery button:nth-child(n+4) { display: none; }
}

.stay-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding: 48px 0 80px; align-items: start; }
.stay-body h2 { font-size: 1.8rem; margin-top: 1.6em; }
.stay-body h2:first-child { margin-top: 0; }
.stay-body .intro { font-size: 1.15rem; }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
.rooms div { border-top: 1px solid var(--line); padding-top: 12px; }
.rooms h3 { font-size: 1.15rem; margin-bottom: 4px; }
.rooms p { margin: 0; color: var(--steel-2); font-size: .97rem; }
.rules { padding-left: 1.2em; }
.rules li { margin-bottom: 6px; }
.note { background: var(--pine-soft); border-radius: var(--radius-m); padding: 18px 22px; margin: 24px 0; }
.note p:last-child { margin: 0; }
@media (max-width: 960px) { .stay-body { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr; } }

.book { position: sticky; top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; }
.book h2 { font-size: 1.5rem; margin: 0 0 6px; }
.book dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 22px; font-size: .97rem; }
.book dt { color: var(--creek); }
.book dd { margin: 0; font-weight: 600; text-align: right; }
.book .fine { font-size: .88rem; color: var(--creek); margin: 14px 0 0; }
.book .alt { display: block; text-align: center; margin-top: 12px; font-size: .95rem; }

.mobile-book { display: none; }
@media (max-width: 960px) {
  .book { position: static; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 20px; gap: 14px; align-items: center; justify-content: space-between; }
  .mobile-book span { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
  .mobile-book .btn { padding: 12px 18px; }
  body.has-mobile-book { padding-bottom: 76px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20, 23, 22, .96); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #fff; }
.lb-bar button, .lb-nav { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-s); padding: 8px 14px; font: inherit; cursor: pointer; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 16px 24px; min-height: 0; }
.lb-stage img { max-height: 100%; max-width: calc(100% - 140px); object-fit: contain; border-radius: var(--radius-s); }
@media (max-width: 700px) { .lb-stage img { max-width: 100%; } .lb-nav { position: absolute; bottom: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

/* Guide page */
.guide-group { margin-bottom: 56px; }
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; padding: 0; margin: 0; }
.guide-list li { border-top: 1px solid var(--line); padding: 16px 0; }
.guide-list a { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--steel); }
.guide-list p { margin: 4px 0 0; color: var(--creek); }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }

/* About + contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split img { border-radius: var(--radius-m); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.page-head { padding: 56px 0 24px; }
.page-head p { font-size: 1.2rem; color: var(--steel-2); max-width: 60ch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.page-head + .section { padding-top: 16px; }

/* ---- Matched to the old site: video hero, centered sections ---- */
.vhero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--steel); }
.vhero-media { position: absolute; inset: 0; }
.vhero-media img { width: 100%; height: 100%; object-fit: cover; }
.vhero-media iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.vhero-media iframe.ready { opacity: 1; }
.vhero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(20,24,22,.45), rgba(20,24,22,.55)); }
.vhero-text { position: relative; z-index: 1; padding: 80px 0; }
.vhero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); color: #fff; margin-bottom: .2em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.vhero-sub { font-size: clamp(1.1rem, 2.2vw, 1.5rem); max-width: 32ch; margin: 0 auto 18px; }
.vhero-rating { font-size: 1rem; margin-bottom: 28px; }
.vhero-rating span { color: #f2b544; letter-spacing: 3px; margin-right: 6px; }
.btn-light { background: #fff; border-color: #fff; color: var(--steel); }
.btn-light:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
body .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 1.1rem; font-weight: 500; color: var(--pine); margin-bottom: 1em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.pair img:last-child { margin-top: 48px; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-bottom: 40px; text-align: left; }
.offer { border-top: 3px solid var(--pine); padding-top: 18px; }
.offer h3 { font-size: 1.2rem; }
.offer p { color: #d3d7d4; margin: 0; }
.section-steel .wrap > .btn { display: table; margin: 0 auto; }
.section-white .wrap > .btn-ghost, .section .wrap > .btn-ghost { display: table; margin: 0 auto; }
.closing { text-align: center; background: var(--oak); color: #fff; }
.closing h2 { color: #fff; }
.closing .btn { background: #fff; border-color: #fff; color: var(--oak-dark); }
.oldtitle { color: var(--creek); margin: 0 0 6px; font-size: 1rem; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .pair img:last-child { margin-top: 24px; } }
