:root {
  color-scheme: light;
  --paper: #fbf8f0;
  --sand: #eee6d6;
  --sea: #123637;
  --text: #193638;
  --muted: #52605b;
  --rust: #9d381f;
  --line: #d9cfbb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--text); font: 1rem/1.6 var(--sans) }
[hidden] { display: none !important }
a { color: inherit }
button, input, select { font: inherit }
button { cursor: pointer }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #d37c43; outline-offset: 4px }
img { display: block; max-width: 100%; height: auto }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-160%); background: white; padding: .5rem 1rem }
.skip:focus { transform: none }
.section { padding-block: clamp(3.7rem, 7vw, 7rem); scroll-margin-top: 1rem }
.header { background: var(--paper) }
.header-inner, .footer-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1rem }
.brand { display: inline-flex; align-items: center; gap: .72rem; line-height: 1; text-decoration: none }
.brand small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 750; margin-bottom: .3rem }
.brand strong { display: block; font: 700 1.48rem/1 var(--serif); white-space: nowrap }
.mark { position: relative; display: block; width: 2.7rem; height: 2.7rem; flex-shrink: 0; border-radius: 50%; background: var(--rust); color: #fff8e8; overflow: hidden }
.mark::before { position: absolute; content: ""; width: .96rem; height: .96rem; top: .52rem; left: .87rem; border: 1px solid currentColor; border-radius: 50% }
.mark::after { position: absolute; content: ""; width: 1.68rem; height: .38rem; top: 1.33rem; left: .51rem; background: var(--rust); border-block: 1px solid currentColor }
nav, .footer-links { display: flex; gap: clamp(.9rem, 2.8vw, 2.1rem); flex-wrap: wrap }
nav a, .footer-links a { text-decoration: none; font-size: .92rem; font-weight: 650 }
nav a:hover, .footer-links a:hover, .booking-contacts a:hover { text-decoration: underline; text-underline-offset: .22em }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: .3rem; background: var(--rust); color: #fffaf1; font-weight: 720; line-height: 1.28; text-align: center; text-decoration: none }
.button:hover { background: #782918 }
.header-button { min-height: 2.72rem; background: var(--sea) }
.header-button:hover { background: #265354 }
.hero { min-height: clamp(33rem, 66vw, 45rem); position: relative; isolation: isolate; display: grid; align-items: end; color: #fffaf1; background: var(--sea); overflow: hidden }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-image { z-index: -2; object-fit: cover; object-position: center 44% }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgb(8 26 25 / .45), transparent 82%), linear-gradient(0deg, rgb(5 22 22 / .93), rgb(5 22 22 / .48) 45%, transparent 88%) }
.hero-inner { padding-block: 5rem clamp(3.4rem, 7vw, 6rem) }
.eyebrow { margin: 0 0 .85rem; color: var(--rust); font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 760 }
.hero .eyebrow, .booking .eyebrow { color: #ffc19a }
h1, h2 { margin: 0; font: 400 clamp(2.5rem, 5.35vw, 4.6rem)/.99 var(--serif); letter-spacing: -.051em; text-wrap: balance }
h1 { font-size: clamp(3.85rem, 8.5vw, 8rem); line-height: .89; text-wrap: initial }
h1 em { color: #ffd5a9; font-weight: inherit }
.hero p:not(.eyebrow) { font-size: clamp(1.06rem, 2vw, 1.26rem); max-width: 30ch; margin: 1.25rem 0 1.45rem }
.hero-button { background: #fcdeb5; color: var(--sea) }
.hero-button:hover { background: #fff1d9 }
.facts { border-bottom: 1px solid var(--line) }
.facts-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding-block: 1.34rem }
.facts-inner div { padding: .3rem 1rem .3rem 1.55rem; border-inline-start: 1px solid var(--line) }
.facts-inner div:first-child { border: 0; padding-inline-start: 0 }
.facts strong, .facts span { display: block }
.facts strong { font: 700 clamp(1.18rem, 2.3vw, 1.68rem)/1.18 var(--serif) }
.facts span { color: var(--muted); font-size: .875rem; margin-top: .25rem }
.accommodation, .common, .location, .booking-inner { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.2rem) }
.accommodation-image img, .location img { width: 100%; object-fit: cover; aspect-ratio: 5 / 4; border-radius: .35rem }
.accommodation-copy > p:not(.eyebrow), .common p:not(.eyebrow), .location p:not(.eyebrow) { color: var(--muted); margin-block: 1.15rem }
.amenities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 1.4rem 0 .6rem; gap: .55rem 1rem }
.amenities li { border-bottom: 1px solid var(--line); padding-block: .35rem; font-weight: 650 }
.note { font-size: .94rem }
.gallery { background: var(--sand) }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem }
.gallery-controls { display: flex; align-items: center; gap: .48rem }
.gallery-controls button, .viewer button { border-radius: 50%; height: 2.8rem; width: 2.8rem; border: 1px solid currentColor; background: var(--paper); color: var(--sea); font-size: 1.75rem; font-weight: 500; line-height: 1 }
.gallery-controls button:hover { background: var(--sea); color: var(--paper) }
.gallery-controls button:disabled { opacity: .35; cursor: default }
.gallery-controls output { margin-inline: .1rem; min-width: 3.2rem; text-align: center; font-size: .88rem; font-variant-numeric: tabular-nums }
.gallery-track { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .15rem .1rem .8rem; scrollbar-color: #a2755c transparent }
.gallery-card { flex: 0 0 calc((100% - 1.8rem) / 3); min-width: 0; scroll-snap-align: start; background: var(--paper); border-radius: .25rem; overflow: hidden; text-decoration: none }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover }
.gallery-card span { display: block; padding: .72rem .9rem; font-size: .875rem; font-weight: 620 }
.gallery-help { color: var(--muted); margin: .7rem 0 0; font-size: .9rem }
dialog { width: min(95vw, 73rem); max-height: 94vh; padding: 0; border: 0; border-radius: .45rem; color: #fff; background: #132322 }
dialog::backdrop { background: rgb(6 19 18 / .89) }
.viewer { position: relative; padding: 3.3rem 3.45rem 1rem }
.viewer figure { margin: 0; text-align: center }
.viewer img { margin: auto; width: 100%; height: min(71vh, 45rem); object-fit: contain }
.viewer figcaption { padding: .5rem .1rem 0; font-size: .9rem }
.viewer button { position: absolute; display: grid; place-items: center; z-index: 1 }
.viewer-close { right: .55rem; top: .45rem }
.viewer-prev, .viewer-next { top: 50%; transform: translateY(-50%) }
.viewer-prev { left: .38rem }
.viewer-next { right: .38rem }
.common img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 70%; border-radius: .35rem }
.booking { background: var(--sea); color: var(--paper) }
.booking .price { font: 400 clamp(2.2rem, 4vw, 3.2rem)/1.08 var(--serif); margin: 1.2rem 0 .8rem; color: #ffd5a9 }
.price span { display: block; font: 600 .95rem/1.7 var(--sans); color: var(--paper) }
.booking p:not(.eyebrow) { max-width: 47ch }
.payments { font-weight: 650 }
.booking-card { padding: clamp(1rem, 3vw, 2rem); background: var(--paper); color: var(--sea); border-radius: .38rem }
.fields { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: .65rem; margin-bottom: .85rem }
.fields label { display: grid; gap: .24rem; font-size: .92rem; font-weight: 680; min-width: 0 }
.fields input, .fields select { display: block; min-width: 0; width: 100%; min-height: 3rem; padding: .48rem; color: var(--sea); background: white; border: 1px solid #a8a69b; border-radius: .23rem; font-size: 1rem }
.booking-card .button { width: 100% }
.confirmation { font-size: .93rem; color: var(--muted); margin: .85rem 0 }
.booking-contacts { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; font-size: .91rem; font-weight: 650 }
.location address { font-style: normal; margin-top: 1.2rem }
.location-photo { display: block }
.outline { color: var(--sea); background: transparent; border-color: var(--sea) }
.outline:hover { background: var(--sea); color: var(--paper) }
footer { border-top: 1px solid var(--line) }
@media (max-width: 850px) {
  .gallery-card { flex-basis: calc((100% - .9rem) / 2) }
  .accommodation, .common, .location, .booking-inner { gap: 2rem }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem) }
  .header-inner { padding-block: .8rem .58rem; flex-wrap: wrap }
  nav { flex-basis: 100%; order: 1; justify-content: space-between; padding-top: .28rem }
  nav a { display: grid; align-items: center; min-height: 2.3rem }
  .header-button { padding-inline: .75rem }
  .hero { min-height: 34rem }
  .hero-image { object-position: 57% center }
  .hero::after { background: linear-gradient(0deg, rgb(5 22 22 / .94), rgb(5 22 22 / .56) 49%, transparent 86%) }
  h1 { font-size: clamp(3rem, 11.2vw, 4.75rem) }
  .facts-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem }
  .facts-inner div { padding: .2rem .35rem .2rem .75rem }
  .facts-inner div:nth-child(odd) { padding-inline-start: 0; border: 0 }
  .accommodation, .common, .location, .booking-inner { grid-template-columns: minmax(0,1fr); gap: 1.55rem }
  .accommodation-copy { order: -1 }
  .gallery-heading { flex-wrap: wrap; align-items: center }
  .gallery-card { flex-basis: 78% }
  .fields { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .footer-inner { flex-wrap: wrap; padding-block: 1.1rem }
  .viewer { padding-inline: .2rem }
  .viewer-prev, .viewer-next { background: var(--paper) !important }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important } }
.gallery-controls output { min-width: 5.2rem }
.tour { margin-top: 1.35rem }
.tour summary { display: list-item; width: fit-content; padding: .55rem .9rem; border: 1px solid var(--sea); border-radius: .25rem; color: var(--sea); font-weight: 670; cursor: pointer }
.tour video { display: block; width: min(100%, 22rem); max-height: 74vh; margin-top: 1rem; background: var(--sea) }
