:root {
  --ldg-bnb-background: #ffffff;
  --ldg-bnb-border-radius: 0.42em;
  --ldg-bnb-box-shadow: 0px 24px 54px 0px rgba(0,0,0,0.1);
  --ldg-bnb-padding: 14px;
  --ldg-bnb-input-background: #ffffff;
  --ldg-bnb-button-border-radius: 0.42em;
  --ldg-bnb-color-primary: #fac600;
  --ldg-bnb-color-primary-lighter: #fde380;
  --ldg-bnb-color-primary-darker: #7d6300;
  --ldg-bnb-color-primary-contrast: #333333;
  --ldg-component-calendar-cell-selection-bg-color: #fac600;
  --ldg-component-calendar-cell-selection-color: #333333;
  --ldg-component-calendar-cell-selected-bg-color: #fde380;
  --ldg-component-calendar-cell-selected-color: #333333;
  --ldg-bnb-font-family: inherit;
  --ldg-component-modal-z-index: 999;
  --pine: #173827;
  --pine-dark: #0f291d;
  --paper: #f4f1e9;
  --white: #fff;
  --gold: #d8c49b;
  --ink: #17231b;
  --muted: #5f6962;
  --line: rgba(23, 56, 39, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem clamp(1.2rem, 4vw, 4.5rem); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid currentColor; border-radius: 50%; font-family: "Fraunces", serif; font-size: .85rem; }
nav { display: flex; align-items: center; gap: 1.8rem; font-size: .94rem; }
nav a { text-decoration: none; }
nav a:not(.nav-book):hover { border-bottom: 1px solid currentColor; }
.nav-book { padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.65); }
.nav-book:hover { background: var(--white); color: var(--pine); }
.menu-toggle { display: none; color: inherit; background: none; border: 1px solid rgba(255,255,255,.55); padding: .55rem .8rem; font: inherit; }

.hero { min-height: 94vh; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: #58745d; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; background-image: url("farm-panorama.jpeg"); background-repeat: no-repeat; background-size: cover; background-position: center 65%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,25,15,.8) 0%, rgba(7,25,15,.45) 50%, rgba(7,25,15,.08) 80%), linear-gradient(0deg, rgba(7,25,15,.55) 0%, transparent 48%); }
.hero-content { position: relative; z-index: 1; width: min(850px, 90%); margin: 0 0 clamp(5rem, 10vh, 8rem) clamp(1.2rem, 7vw, 7rem); }
.eyebrow, .section-label { margin: 0 0 1rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
h1, h2 { font-family: "Fraunces", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(3.4rem, 7.2vw, 7.4rem); text-wrap: balance; }
h2 { font-size: clamp(2.7rem, 5.2vw, 5.2rem); }
.hero-copy { max-width: 650px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.55; margin: 1.7rem 0 2.2rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { display: inline-block; text-decoration: none; padding: .95rem 1.35rem; font-weight: 600; border: 1px solid transparent; transition: .2s ease; }
.button-primary { background: var(--gold); color: var(--pine-dark); }
.button-primary:hover { background: var(--white); }
.text-link { text-underline-offset: .3rem; }
.photo-note { position: absolute; z-index: 2; right: 2rem; bottom: 1.5rem; font-size: .76rem; letter-spacing: .04em; opacity: .85; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 7vw, 7rem); }
.section-label { color: #786d55; }
.intro-copy { max-width: 650px; font-size: 1.12rem; }
.intro-copy p:first-child { margin-top: 0; }

.facts { margin: 0 clamp(1.2rem, 7vw, 7rem); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts article { padding: 2.4rem 1.5rem 2.4rem 0; border-right: 1px solid var(--line); }
.facts article:not(:first-child) { padding-left: 1.5rem; }
.facts article:last-child { border-right: 0; }
.facts strong { display: block; font-family: "Fraunces", serif; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.facts span { color: var(--muted); font-size: .92rem; }

.setting { margin-top: clamp(5rem, 10vw, 10rem); display: grid; grid-template-columns: 1.08fr .92fr; background: var(--pine); color: var(--white); }
.setting-panel { padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 7vw, 7rem); }
.setting .section-label, .booking .section-label { color: var(--gold); }
.setting-panel > p:not(.section-label) { max-width: 620px; font-size: 1.08rem; margin: 1.8rem 0; }
.feature-list { list-style: none; padding: 0; margin: 2.5rem 0 0; max-width: 620px; }
.feature-list li { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.feature-list li::before { content: "—"; color: var(--gold); margin-right: .8rem; }
blockquote { margin: 0; padding: clamp(4rem, 8vw, 8rem); background: var(--gold); color: var(--pine-dark); display: flex; align-items: center; }
blockquote p { margin: 0; font-family: "Fraunces", serif; font-size: clamp(2.2rem, 4.2vw, 4.3rem); line-height: 1.1; }

.location { padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 7vw, 7rem); }
.location > div:first-child { display: grid; grid-template-columns: .6fr 1.4fr; align-items: start; }
.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-top: 3rem; }
.location-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.location-card { padding: 2rem 0 1rem; border-top: 1px solid var(--line); min-width: 0; }
.guide-links { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; font-size: .95rem; }
.guide-links a { text-underline-offset: .2em; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 1.8rem; }
.guide-intro { max-width: 720px; color: var(--muted); margin: 1.5rem 0 0; }
.grocery-section { background: #e6dfd1; }
.number { color: #8b7e63; font-size: .8rem; }
h3 { font-family: "Fraunces", serif; font-size: 1.8rem; font-weight: 500; margin: .8rem 0; }
.location-card p { color: var(--muted); }
.location-card .drive-time { color: var(--pine); font-size: .9rem; font-weight: 600; margin: 0 0 1.2rem; }

.booking { text-align: center; padding: clamp(5rem, 10vw, 9rem) 1.2rem; background: var(--pine-dark); color: var(--white); }
.booking h2 { max-width: 900px; margin: auto; }
.booking p:not(.section-label) { color: rgba(255,255,255,.75); margin: 1.4rem auto 2rem; }
.button-light { background: var(--white); color: var(--pine-dark); }
.button-light:hover { background: var(--gold); }
.booking > p { max-width:650px; }
.booking-widget { width:min(100%,740px);margin:2rem auto;color:var(--ink);text-align:left; }
#lodgify-book-now-box { width:100%; }
.booking .booking-fallback { font-size:1rem; }
#booking { scroll-margin-top:1rem; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem clamp(1.2rem, 7vw, 7rem); background: #0a1c14; color: rgba(255,255,255,.72); font-size: .85rem; }
.footer-brand { color: var(--white); }

@media (max-width: 820px) {
  .site-header { padding: 1rem 1.2rem; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1.2rem; background: var(--pine-dark); flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .nav-book { text-align: center; }
  .hero { min-height: 88vh; }
  .hero-photo { background-image: url("farm-portrait.jpeg"); background-size: cover; background-position: center; }
  .hero-content { margin-left: 1.2rem; margin-bottom: 4.5rem; }
  h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .photo-note { display: none; }
  .intro, .location > div:first-child, .setting { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts article:nth-child(2) { border-right: 0; }
  .facts article:nth-child(3), .facts article:nth-child(4) { border-top: 1px solid var(--line); }
  blockquote { min-height: 360px; }
  .location-grid, .location-grid.two-columns { grid-template-columns: 1fr; }
  .location-card + .location-card { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .hero-copy { font-size: 1rem; }
  .facts { grid-template-columns: 1fr; }
  .facts article, .facts article:not(:first-child) { border-right: 0; border-top: 1px solid var(--line); padding: 1.5rem 0; }
  .facts article:first-child { border-top: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.gallery-section,.history-section { padding: 5rem clamp(1.2rem,7vw,7rem); }
.gallery-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem; }
.gallery-card { margin:0;min-width:0; }
.gallery-card button { width:100%;padding:0;border:0;cursor:zoom-in;background:none;display:block; }
.photo-frame { display:block;position:relative;overflow:hidden;background:#163526;aspect-ratio:4/3; }
.photo-frame img { display:block;width:100%;height:100%;object-fit:cover; }
.photo-frame.screen { background-image:var(--photo);background-repeat:no-repeat;background-size:100% auto;aspect-ratio:var(--ratio);background-position:center var(--offset); }
.gallery-card figcaption { padding:.6rem 0;font-size:1rem; }
.gallery-card button:hover { opacity:.9; }
button:focus-visible,a:focus-visible { outline:3px solid #bb861c;outline-offset:5px; }
.setting-photo { margin:0;position:relative;min-height:500px; }
.setting-photo img { width:100%;height:100%;position:absolute;object-fit:cover; }
.setting-photo figcaption { position:absolute;bottom:0;padding:1rem;background:#102a1dcc;width:100%;font-size:.9rem; }
.setting-photo > a { display:block;position:absolute;inset:0;cursor:zoom-in; }
.cattle-photo img { object-position:center 70%; }
.setting-photo figcaption { pointer-events:none; }
.farm-section { padding:clamp(4rem,8vw,8rem) clamp(1.2rem,7vw,7rem);background:#ede7dc; }
.farm-intro { max-width:760px;color:var(--muted);font-size:1.12rem;margin:1.5rem 0 2rem; }
.farm-guidance { max-width:760px;margin:-.7rem 0 2.1rem;padding-left:1rem;border-left:3px solid var(--gold);color:var(--muted);font-size:.98rem;line-height:1.55; }
.farm-photo-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem; }
.farm-photo-grid figure { margin:0;min-width:0; }
.farm-photo-link { display:block;background:var(--pine-dark);cursor:zoom-in; }
.farm-photo-link img { display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover; }
.farm-photo-grid figcaption { font-size:.95rem;padding:.7rem 0;color:var(--muted); }
@media(max-width:820px) { .farm-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .farm-photo-grid { grid-template-columns:1fr;gap:1.5rem; } }
.history-section { background:#e6dfd1; }
.history-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;margin:2rem 0; }
.history-grid article { border-top:1px solid var(--line); }
.history-grid a,.source-note { font-size:.9rem; }
.history-photo { margin:2rem 0 0; }
.history-photo img { display:block;width:100%;max-height:420px;object-fit:cover; }
.history-photo figcaption { font-size:.9rem;padding:.7rem 0; }
dialog { border:0;padding:1rem;background:#10251b;color:white;width:min(1000px,94vw);max-height:95dvh;overflow:auto; }
dialog::backdrop { background:#000c; }
.viewer-toolbar { display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem; }
.viewer-toolbar button { font:inherit;background:white;color:#173827;border:0;padding:.55rem .85rem;cursor:pointer; }
#photo-close { margin-left:auto; }
#photo-large .photo-frame { margin:auto;max-width:100%;width:min(800px,75vh);aspect-ratio:var(--ratio,4/3); }
#photo-large .photo-frame:not(.screen) { height:65vh;width:100%;aspect-ratio:auto; }
#photo-large img { object-fit:contain; }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:820px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .history-grid { grid-template-columns:1fr; } }
@media(max-width:520px) { .gallery-grid { grid-template-columns:1fr; } h2 { font-size:2.5rem; } .hero-content { padding-top:7rem; } .hero { min-height:900px; } }

.comforts { padding:clamp(4rem,8vw,8rem) clamp(1.2rem,7vw,7rem) 1rem; }
.experience { padding:clamp(4.5rem,9vw,8rem) clamp(1.2rem,7vw,7rem); background:var(--pine-dark); color:var(--white); }
.experience-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:2rem 5rem; align-items:end; }
.experience-heading .section-label { color:var(--gold); }
.experience-heading h2 { margin:0; }
.experience-heading > p:last-child { margin:0; max-width:620px; color:rgba(255,255,255,.78); font-size:1.12rem; line-height:1.6; }
.experience-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.25rem; margin-top:3.5rem; }
.experience-grid article { border-top:1px solid rgba(255,255,255,.38); padding-top:1rem; }
.experience-grid span { display:block; color:var(--gold); font-size:.84rem; letter-spacing:.1em; }
.experience-grid h3 { margin:.8rem 0; font-size:1.32rem; }
.experience-grid p { margin:0; color:rgba(255,255,255,.72); line-height:1.55; }
.stay-fit { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:2rem 5rem; padding:clamp(4.5rem,8vw,7rem) clamp(1.2rem,7vw,7rem); background:#f4f0e8; }
.stay-fit h2 { margin:0; }
.stay-fit-copy { max-width:680px; }
.stay-fit-copy > p { margin:0; font-size:1.1rem; line-height:1.6; }
.stay-fit-copy ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1.4rem; list-style:none; padding:1.5rem 0 0; margin:1.5rem 0 0; border-top:1px solid var(--line); }
.stay-fit-copy li { position:relative; padding-left:1rem; color:var(--muted); line-height:1.45; }
.stay-fit-copy li::before { content:""; position:absolute; left:0; top:.58rem; width:.35rem; height:.35rem; border-radius:50%; background:var(--gold); }
@media(max-width:820px) { .experience-heading,.stay-fit { grid-template-columns:1fr; gap:1.5rem; } .experience-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .experience-grid,.stay-fit-copy ul { grid-template-columns:1fr; } }
.comforts-heading { max-width:760px; }
.comforts-heading > p:last-child { max-width:600px;font-size:1.12rem;color:var(--muted);margin-top:1.5rem; }
.comforts-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem;margin-top:3rem; }
.comforts-grid article { border-top:2px solid var(--pine);padding-top:1.5rem; }
.comforts-grid .section-label { font-size:.875rem;letter-spacing:.08em; }
.comforts-grid p { color:var(--muted); }
@media(max-width:820px) { .comforts-grid { grid-template-columns:1fr;gap:1.5rem; } }
