:root {
  color-scheme: light;
  --paper: #f8f4e8;
  --white: #fffdf6;
  --sand: #ece3cb;
  --olive: #384031;
  --night: #252b22;
  --ink: #292e24;
  --muted: #57584b;
  --line: #d9d1bd;
  --gold: #e2b24a;
  --ochre: #805512;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #9b521f; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .99; }
h2 { font-size: clamp(2.65rem, 5vw, 4.6rem); letter-spacing: -.035em; white-space: pre-line; }
p { color: var(--muted); }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(calc(100% - 5rem), 73rem); margin-inline: auto; }
.sr, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 12; padding: .65rem 1rem; background: var(--gold); color: var(--night); top: .6rem; left: .6rem; }
.eyebrow { margin-bottom: .72rem; color: var(--ochre); text-transform: uppercase; letter-spacing: .15em; font-size: .875rem; font-weight: 750; }

.sticky-header { position: sticky; top: 0; z-index: 10; }
.site-header, .site-footer { background: var(--night); color: var(--paper); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.header-inner { min-height: 5.65rem; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, dialog :focus-visible { outline-color: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: .68rem; color: inherit; text-decoration: none; flex: 0 0 auto; font: 600 1.62rem/.9 var(--display); }
.brand img { width: 3.5rem; height: 3.5rem; border-radius: .15rem; background: var(--paper); object-fit: contain; }
.brand small { display: block; margin-top: .37rem; font: 650 .7rem/1 var(--body); letter-spacing: .17em; }
.site-nav { display: flex; justify-content: center; gap: clamp(.75rem, 2vw, 1.65rem); flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.language { display: flex; align-items: center; flex: 0 0 auto; flex-wrap: nowrap; gap: .15rem; }
.language a { display: grid; place-items: center; min-width: 2.5rem; min-height: 2.75rem; padding-inline: .24rem; border: 1px solid transparent; border-radius: .14rem; color: var(--paper); font-size: .875rem; font-weight: 650; text-decoration: none; }
.language a[aria-current] { border-color: var(--gold); color: var(--gold); }
.language a:hover { background: #41493a; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .66rem 1.12rem; border: 1px solid var(--olive); border-radius: .14rem; background: var(--olive); color: white; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.25; }
.button:hover { background: #48523f; }
.button.secondary { background: transparent; color: var(--olive); }
.button.secondary:hover { background: #eee9da; }
.button.gold { border-color: var(--gold); background: var(--gold); color: var(--night); }
.button.gold:hover { border-color: #edc76d; background: #edc76d; }

.hero { display: grid; align-items: center; position: relative; isolation: isolate; min-height: clamp(30rem, 54vw, 42rem); background: var(--night); color: white; overflow: hidden; }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 55%; }
.hero::after { content: ''; background: linear-gradient(180deg, rgb(29 27 17 / .48), rgb(27 29 21 / .68)), linear-gradient(90deg, transparent, rgb(20 24 17 / .28), transparent); }
.hero-copy { padding-block: 3rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow, .hero-name, .hero-type, .hero-intro {
    animation: hero-reveal .65s ease-out backwards;
  }
  .hero-copy .eyebrow { animation-delay: .5s; }
  .hero-name { animation-delay: .95s; }
  .hero-type { animation-delay: 1.4s; }
  .hero-intro { animation-delay: 1.85s; }
}
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy .eyebrow { color: #ffe3a2; }
.hero h1 { font-size: clamp(4rem, 9.6vw, 9rem); letter-spacing: -.041em; line-height: .9; }
.hero-name { display: block; }
.hero-type { display: block; margin-top: .55rem; font-size: .42em; letter-spacing: .005em; font-weight: 500; }
.hero-intro { color: white; max-width: 42ch; margin: 1.2rem auto 1.5rem; font-size: clamp(1.02rem, 2vw, 1.23rem); }
.hero-actions { display: flex; justify-content: center; padding-top: clamp(1rem, 3vw, 1.8rem); }
.hero-actions .button { min-width: 10rem; min-height: 2.85rem; }

.booking { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1rem, 3.7vw, 3.1rem); margin-bottom: clamp(2.5rem, 6vw, 5.5rem); padding: clamp(1.15rem, 3vw, 2.3rem); border-top: .22rem solid var(--gold); background: var(--white); box-shadow: 0 .8rem 2.4rem rgb(53 51 35 / .13); }
.booking h2 { margin-bottom: .55rem; font-size: clamp(2.25rem, 4vw, 3.5rem); }
.booking-intro p:last-child { max-width: 29ch; }
.fields { display: grid; grid-template-columns: 1fr 1fr .65fr; gap: .7rem; }
.fields label, .notes { display: grid; gap: .27rem; min-width: 0; color: var(--ink); font-size: .94rem; font-weight: 650; }
input, select, textarea { width: 100%; min-width: 0; min-height: 2.8rem; padding: .52rem .64rem; border: 1px solid #9d9d86; border-radius: .13rem; background: var(--white); color: var(--ink); }
select { appearance: none; padding-right: 1.7rem; background: var(--white) url('/chevron.svg') no-repeat right .62rem center / .8rem; }
textarea { resize: vertical; }
.booking-notes { margin-top: .65rem; font-size: .94rem; }
.booking-notes summary { font-weight: 600; color: var(--olive); }
.notes textarea { margin-top: .55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.availability, .estimate { margin-top: .57rem; font-size: .93rem; }
.availability[data-state=blocked], .availability[data-state=invalid] { color: #873c27; font-weight: 700; }
.estimate { color: var(--olive); font-weight: 700; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: clamp(2.7rem, 5vw, 4.5rem); }
.highlights > div { padding-inline: clamp(.7rem, 2vw, 1.6rem); text-align: center; border-right: 1px solid var(--line); }
.highlights > div:last-child { border: 0; }
.highlights h2 { font-size: clamp(1.8rem, 3vw, 2.48rem); margin-bottom: .48rem; }
.highlights p { margin-inline: auto; max-width: 31ch; }

.apartment { background: var(--sand); }
.apartment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.3rem); }
.apartment-logo { width: 100%; height: auto; border-radius: 1.35rem; }
.apartment-copy > p:not(.eyebrow) { max-width: 43ch; margin-top: 1rem; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: .52rem 1rem; list-style: none; padding: 1rem 0; margin: .9rem 0 1rem; border-block: 1px solid #c5bba0; }
.amenities li { padding-left: 1.05rem; position: relative; }
.amenities li::before { content: ''; position: absolute; top: .69em; left: 0; width: .38rem; height: .38rem; background: var(--ochre); transform: rotate(45deg); }

.gallery-section { padding-block: 0 clamp(2.5rem, 6vw, 5rem); }
.section-intro { margin-bottom: 1.85rem; }
.gallery { display: grid; grid-template-columns: 1.75fr repeat(3, 1fr); grid-auto-rows: clamp(9rem, 15vw, 13.2rem); gap: .55rem; }
.gallery a { display: block; position: relative; min-width: 0; overflow: hidden; background: var(--sand); }
.gallery .featured { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery .pool-preview img { object-position: center 63%; }
.gallery a:hover img { transform: scale(1.045); }

.location { background: var(--olive); color: var(--white); }
.location-intro { display: grid; grid-template-columns: 1fr 1fr; }
.location-copy { width: min(100%, 36.5rem); margin-left: auto; padding: clamp(2.75rem, 6vw, 5.4rem) clamp(1.6rem, 5vw, 5rem) clamp(2.75rem, 6vw, 5.4rem) 0; }
.location-copy .eyebrow { color: #f2ca70; }
.location-copy p:not(.eyebrow) { color: #f1ead6; margin-top: .95rem; max-width: 39ch; }
.local-links { display: flex; flex-wrap: wrap; gap: .25rem .95rem; list-style: none; margin: .85rem 0 .95rem; padding: 0; }
.local-links a { text-underline-offset: .2em; text-decoration-color: #e2b24a; }
.location :focus-visible { outline-color: var(--gold); }
.coast { position: relative; min-width: 0; }
.coast figcaption { position: absolute; bottom: .4rem; right: .4rem; max-width: calc(100% - .8rem); padding: .2rem .5rem; background: rgb(24 26 20 / .86); color: white; font-size: .8rem; }
.coast-photo { width: 100%; height: 100%; min-height: 21rem; object-fit: cover; object-position: 48% center; }

.rates { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.4rem, 6vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.rates p:not(.eyebrow) { max-width: 43ch; margin-top: .72rem; }
.stay-perks { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .95rem; }
.stay-perks strong { padding: .4rem .72rem; border-radius: .14rem; background: #4d5b3c; color: var(--white); }
.rates dl { margin: 0; border-top: 2px solid var(--gold); align-self: start; }
.rates dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .64rem .3rem; border-bottom: 1px solid var(--line); }
.rates dd { flex: none; margin: 0; text-align: right; font-weight: 750; }

.nearby { background: var(--paper); color: var(--ink); }
.nearby :focus-visible { outline-color: #9b521f; }
.nearby-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); padding-block: clamp(2rem, 5vw, 4rem); }
.nearby-groups h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.nearby-groups ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.nearby-groups li { padding-block: .65rem; border-top: 1px solid var(--line); }
.nearby-groups li a { text-underline-offset: .2em; font-weight: 700; }
.nearby-groups li p { margin-top: .22rem; }
.footer { min-height: 8.1rem; padding-block: 1.4rem; }
.footer-apartment { display: flex; align-items: center; gap: .68rem; font-size: .94rem; }
.footer-apartment address { font-style: normal; }
.footer-contacts { display: grid; gap: .14rem; overflow-wrap: anywhere; text-align: center; font-size: .94rem; }
.footer-contacts a { text-underline-offset: .26em; }
.footer-copyright { max-width: 33ch; color: var(--paper); font-size: .9rem; text-align: right; }
.booking-privacy { display: grid; justify-items: start; gap: .18rem; max-width: 54ch; margin-top: .95rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; }
.booking-privacy a { color: var(--olive); text-underline-offset: .22em; }

dialog { position: fixed; max-width: min(92vw, 70rem); max-height: 94vh; padding: .55rem; border: 0; background: var(--night); color: var(--white); }
dialog::backdrop { background: rgb(20 23 17 / .86); }
.lightbox-toolbar, .lightbox-toolbar > div { display: flex; gap: .35rem; justify-content: space-between; }
.lightbox-toolbar button { padding: .42rem .6rem; border: 1px solid #aaa891; color: var(--white); background: transparent; min-height: 2.5rem; }
.lightbox-toolbar button:hover { background: #48523f; }
dialog figure { margin-top: .42rem; }
dialog img { width: auto; max-height: 77vh; object-fit: contain; }

.host { max-width: 55rem; padding-block: 2.6rem 4rem; }
.host h1 { font-size: clamp(3rem, 7vw, 5rem); }
.host h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.host p { margin: .65rem 0; }
.host-panel { margin: .9rem 0; padding: 1.2rem; border: 1px solid var(--line); background: var(--white); }
.host-panel form, .host-panel label { display: grid; gap: .5rem; margin: .8rem 0; }
.host-panel form .button { justify-self: start; }
.blocks { padding: 0; list-style: none; }
.blocks li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin: .4rem 0; }

@media (max-width: 82rem) {
  .location-copy { padding-left: 2.5rem; }
}
@media (max-width: 62rem) {
  html { scroll-padding-top: 7.5rem; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding-block: .62rem; gap: .58rem 1rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; }
  .location-copy { padding-left: 1.35rem; }
  .gallery { grid-template-columns: 1.35fr repeat(3, 1fr); }
}
@media (max-width: 43rem) {
  .brand img { width: 2.85rem; height: 2.85rem; }
  .hero { min-height: clamp(21rem, 80vw, 30rem); }
  .hero h1 { font-size: clamp(3.45rem, 13vw, 5.4rem); }
  .hero-image { object-position: 47% center; }
  .booking { grid-template-columns: 1fr; gap: 1rem; }
  .highlights { padding-block: 2.45rem; }
  .highlights > div { padding-inline: .55rem; }
  .highlights h2 { font-size: clamp(1.45rem, 4.3vw, 2rem); }
  .highlights p { font-size: .94rem; }
  .apartment-inner, .rates, .nearby-groups, .location-intro { grid-template-columns: 1fr; }
  .apartment-inner { gap: 1.7rem; }
  .apartment-logo { order: 2; max-width: 30rem; justify-self: center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(8rem, 33vw, 12rem); }
  .gallery .featured { grid-row: span 1; grid-column: span 2; }
  .location-copy { width: 100%; padding-inline: 1rem; }
  .coast-photo { min-height: 0; height: clamp(15rem, 56vw, 24rem); }
  .footer { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.2rem; }
  .footer-contacts { text-align: left; }
  .footer-copyright { flex-basis: 100%; text-align: left; }
}
@media (max-width: 25rem) {
  html { scroll-padding-top: 8.4rem; }
  .header-inner { column-gap: .4rem; }
  .site-header .brand { font-size: 1.3rem; gap: .42rem; }
  .site-header .brand img { width: 2.15rem; height: 2.15rem; }
  .site-header .brand small { font-size: .6rem; letter-spacing: .1em; }
  .language a { min-width: 2.25rem; }
  .fields { grid-template-columns: 1fr 1fr; }
  #request-form .fields label:last-child { grid-column: 1 / -1; max-width: 10rem; }
  .site-nav { gap: .45rem .85rem; }
  .highlights { grid-template-columns: 1fr; gap: .95rem; padding-block: 2rem; }
  .highlights > div { padding-bottom: .95rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .highlights > div:last-child { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.booking-calendar { margin-top: 1.15rem; max-width: 29rem; }
.calendar-controls { display: flex; justify-content: space-between; gap: .5rem; }
.calendar-controls button { min-height: 2.5rem; padding: .25rem .55rem; border: 1px solid var(--line); border-radius: .15rem; background: var(--white); color: var(--olive); font-size: .875rem; }
.calendar-controls button:disabled { opacity: .5; cursor: default; }
.calendar-controls button:not(:disabled):hover { background: var(--sand); }
.booking-calendar table { width: 100%; border-collapse: separate; border-spacing: .15rem; table-layout: fixed; text-align: center; }
.booking-calendar caption { padding: .5rem 0 .15rem; font-weight: 700; }
.booking-calendar th { color: var(--muted); font-size: .875rem; font-weight: 650; }
.calendar-hint { margin-bottom: .55rem; font-size: .9rem; }
.booking-calendar td button { display: grid; place-items: center; width: 100%; min-height: 2.2rem; padding: 0; border: 1px solid transparent; border-radius: .2rem; background: transparent; color: var(--ink); font-size: .875rem; }
.booking-calendar td button:not(:disabled) { border-color: var(--line); }
.booking-calendar td button:not(:disabled):hover, .booking-calendar .stay-day button { background: var(--sand); }
.booking-calendar td button:disabled { cursor: default; color: var(--muted); }
.booking-calendar .booked-day button { background: #f1d8cf; color: #733320; text-decoration: line-through; }
.booking-calendar .booked-day button:not(:disabled):hover { background: #e7c5b9; }
.booking-calendar .chosen-day button { outline: 2px solid var(--olive); outline-offset: -2px; font-weight: 750; }
.booking-calendar .chosen-day button:focus-visible { outline: 3px solid #9b521f; outline-offset: 1px; }
.calendar-key { display: flex; align-items: center; gap: .45rem; margin-top: .35rem; font-size: .875rem; }
.calendar-key > span:first-child { display: inline-block; width: .8rem; height: .8rem; border-radius: .15rem; background: #f1d8cf; }
.guest-email { display: grid; gap: .27rem; margin-top: .75rem; max-width: 32rem; font-size: .94rem; font-weight: 650; }
.booking-delivery, .booking-result { margin-top: .55rem; font-size: .93rem; }
.booking-result:empty, .booking-delivery:empty { display: none; }
.booking-result[data-error=true] { color: #873c27; font-weight: 700; }

.host-links { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: .8rem 0 1rem; padding: 0; list-style: none; }
.host-links a { text-underline-offset: .22em; }
.integration-results { display: grid; gap: .35rem; margin: .65rem 0 0; }
.integration-results > div { display: flex; flex-wrap: wrap; gap: .25rem .65rem; }
.integration-results dt { font-weight: 650; }
.integration-results dd { margin: 0; }
