:root {
  color-scheme: light;
  --paper: #f8f5eb;
  --ink: #242c21;
  --muted: #545a49;
  --line: #d9d7c7;
  --gold: #e8b78b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
html { scroll-behavior: smooth; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2.45rem, 5.2vw, 4.55rem); line-height: 1.04; letter-spacing: -.055em; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1rem max(5vw, 1.2rem); }
.header { min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.58rem; letter-spacing: -.05em; white-space: nowrap; }
.sun { color: #9a4c2b; font: 2rem/1 var(--sans); }
.nav, .nav-cottages, .nav-utilities, .languages { display: flex; align-items: center; }
.nav { gap: .5rem clamp(1rem, 2.5vw, 2.4rem); font-size: .9rem; font-weight: 600; }
.nav-cottages, .nav-utilities { justify-content: center; flex-wrap: wrap; gap: .4rem clamp(.75rem, 2vw, 1.8rem); }
.nav-utilities { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(1rem, 2.5vw, 2.4rem); }
.nav a, .footer a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"], .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.languages { gap: .2rem; padding: .18rem; border: 1px solid var(--line); border-radius: 2rem; }
.languages button { min-width: 2.4rem; min-height: 2.2rem; padding: .15rem .35rem; border: 0; border-radius: 2rem; background: transparent; color: var(--ink); font-size: .875rem; font-weight: 650; }
.languages button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hero { position: relative; isolation: isolate; display: grid; min-height: clamp(34rem, 72svh, 50rem); place-items: center; padding: 4rem 1.25rem 5rem; text-align: center; color: #fffaf0; background: #4c5037; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 50% 53%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(180deg,#211b1463,#211b148f 49%,#211b1490); }
.hero-copy { max-width: 52rem; }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.location { margin: 0 auto 1.25rem; }
h1 { white-space: pre-line; font-size: clamp(3.55rem, 8.2vw, 8rem); letter-spacing: -.064em; line-height: .93; }
.hero-intro { margin: 1.5rem auto 1.65rem; font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 33rem; }
.hero-credit { position: absolute; right: max(5vw,1.2rem); bottom: 1.05rem; font-size: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: .25rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.light { background: var(--paper); color: var(--ink); }
.light:hover { background: #f2dfc6; }
.outline { border-color: #62694e; }
.outline:hover { color: white; background: var(--ink); }
.section { width: min(90%, 76rem); margin: auto; padding: clamp(3.8rem, 7.3vw, 7rem) 0; }
.section-heading { text-align: center; margin-bottom: clamp(1.65rem, 4vw, 3rem); }
.section-heading .eyebrow, .visit .eyebrow { color: #854024; margin-bottom: .7rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.card { display: flex; flex-direction: column; overflow: hidden; background: #fffdf6; border: 1px solid var(--line); border-radius: .4rem; }
.card-photo { display: block; overflow: hidden; }
.card-photo img { aspect-ratio: 1.55; height: auto; object-fit: cover; transition: transform .3s ease; }
.card-photo:hover img { transform: scale(1.035); }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1.3rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.9rem, 3.6vw, 3.15rem); line-height: 1.03; letter-spacing: -.04em; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; text-underline-offset: .13em; }
.card-body p { color: var(--muted); margin: .8rem 0 1.35rem; max-width: 35rem; }
.card-actions { display: flex; align-items: center; gap: .65rem 1.2rem; flex-wrap: wrap; margin-top: auto; }
.text-link { font-size: .9rem; font-weight: 650; text-underline-offset: .24em; }
.text-link:hover { color: #854024; }
.visit { display: grid; grid-template-columns: 1.15fr 1fr; background: #e9eadc; }
.visit > img { width: 100%; height: 100%; min-height: 25rem; object-fit: cover; }
.visit-copy { padding: clamp(2rem, 6vw, 6.25rem); }
.visit-copy > p:not(.eyebrow) { max-width: 26rem; margin-top: 1rem; }
address { margin: 1.15rem 0 .75rem; font-style: normal; font-weight: 650; }
.contact { background: var(--ink); color: var(--paper); text-align: center; padding: clamp(3.8rem, 8vw, 7rem) 1.25rem; }
.contact .sun { display: inline-block; margin-bottom: .85rem; color: var(--gold); }
.contact p { max-width: 32rem; margin: 1.1rem auto 1.5rem; }
.contact .card-actions { justify-content: center; }
.phone-link { font-weight: 650; white-space: nowrap; text-underline-offset: .24em; }
.email-address { display: block; width: fit-content; margin: .8rem auto 0; overflow-wrap: anywhere; }
.footer { min-height: 85px; font-size: .875rem; }
.property {
  --property-wash: #e7e9da;
  --property-accent: #45513d;
}
.property.refuge {
  --property-wash: #f0ded0;
  --property-accent: #873d29;
}
.property-wrap { width: min(90%, 76rem); margin-inline: auto; }
.property-intro { background: var(--property-wash); padding: clamp(1.75rem, 4.5vw, 4rem) 0; }
.intro-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: clamp(1rem, 4vw, 4rem); }
.property-intro .eyebrow { color: var(--property-accent); margin-bottom: .62rem; }
.property h1 { font-size: clamp(2.95rem, 6.5vw, 6.5rem); white-space: normal; }
.property-summary { max-width: 31rem; }
.property-summary .card-actions, .detail-panel .card-actions { margin-top: 1rem; }
.property-gallery { padding-block: clamp(1.5rem, 3vw, 2.75rem); }
.property-gallery h2, .detail-panel h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); margin-bottom: .85rem; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(8rem, 15vw, 12rem);
  gap: clamp(.35rem, 1vw, .75rem);
}
.photo-tile { display: block; overflow: hidden; border-radius: .3rem; background: var(--property-wash); }
.photo-tile:first-child { grid-column: span 2; grid-row: span 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.property-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: .65rem clamp(2rem, 5vw, 4rem); }
.detail-panel { padding: clamp(1.15rem, 3vw, 2.5rem); background: var(--property-wash); border-radius: .4rem; }
.detail-panel .email-address { margin-inline: 0; }
.property .footer { border-top: 1px solid var(--line); }
dialog { width: min(94vw, 62rem); max-height: 95dvh; padding: 0; color: var(--paper); background: var(--ink); border: 1px solid #62694e; border-radius: .4rem; }
dialog::backdrop { background: #181c16df; }
.gallery-head, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .65rem clamp(.7rem, 2vw, 1.35rem); }
.gallery-head h2 { font-size: clamp(1.25rem, 4vw, 2rem); letter-spacing: -.025em; }
.gallery-head button, .gallery-controls button { min-height: 2.75rem; padding: .35rem .7rem; border-radius: .2rem; border: 1px solid #a7ab96; color: inherit; background: transparent; }
.gallery-head button { min-width: 2.75rem; font-size: 1.4rem; line-height: 1; }
.gallery-head button:hover, .gallery-controls button:hover { background: #3b4836; }
#gallery-image { height: min(68dvh, 42rem); object-fit: contain; background: #1b2219; }
#gallery-caption { text-align: center; font-size: .875rem; }
:focus-visible { outline: 2px solid #b55428; outline-offset: 4px; }
@media (max-width: 960px) {
  .header { flex-wrap: wrap; gap: .65rem; padding-block: .7rem; }
  .nav { order: 3; width: 100%; padding-top: .55rem; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .nav-cottages { width: 100%; }
  .nav-utilities { border: 0; padding-inline-start: 0; }
  .cards, .visit, .intro-layout, .property-details { grid-template-columns: 1fr; }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(10rem, 54vw, 22rem);
    grid-auto-rows: clamp(6rem, 30vw, 12rem);
  }
  .photo-tile:first-child { grid-row: auto; }
  .visit > img { min-height: 0; height: clamp(12rem, 49vw, 19rem); }
  .footer { flex-wrap: wrap; padding-block: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
