:root {
  color-scheme: light;
  --navy: #153b3e;
  --muted: #50635f;
  --ocean: #24645e;
  --brand: #133c40;
  --sand: #f7f4ec;
  --coral: #e8b77c;
  --line: #e2ddd1;
  --header-height: 80px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }
body { margin: 0; color: var(--navy); background: #fff; font: 400 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a76a26; outline-offset: 4px; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 800; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.1vw, 3.45rem); }
h3 { margin: 0; font-size: 1.06rem; line-height: 1.35; }
p { margin: 0; }
.shell { width: min(100% - 64px, 1220px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; transform: translateY(-150%); background: white; padding: .65rem 1rem; }
.skip-link:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: var(--sand); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brand); font: 800 clamp(1.2rem, 2.25vw, 1.7rem)/1.1 var(--serif); text-decoration: none; white-space: nowrap; }
.brand img { width: clamp(185px, 22vw, 260px); height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 2.65vw, 36px); }
.header nav a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.header nav a:hover, .text-link:hover { color: #855017; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; line-height: 1.3; text-align: center; }
.button-navy { color: white; background: var(--navy); }
.button-navy:hover { background: #245254; }
.button-coral { color: #21302a; background: var(--coral); }
.button-coral:hover { background: #f5c995; }
.button-outline { color: #fff; border-color: #fff; background: #112d2e64; }
.button-outline:hover { background: #112d2ebb; }
.button-subtle { color: var(--navy); border-color: #dfdfd6; background: var(--sand); }
.button-subtle:hover { background: #eeebe1; }
.menu-toggle, .mobile-actions { display: none; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(540px, 49vw, 730px); overflow: hidden; isolation: isolate; color: white; background: #234b4d; text-align: left; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: center 51%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #102d31eb 0%, #102d31c2 34%, #102d3148 70%, #102d3126 100%); }
.hero-content { padding-block: 86px 98px; }
.eyebrow { color: var(--ocean); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.hero .eyebrow { color: #ffe2a9; }
.hero h1 { max-width: 830px; margin: .3em 0 .25em; font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -.025em; }
.hero-description { max-width: 525px; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button { padding-inline: 1.55rem; }

.section { padding-block: clamp(62px, 7.4vw, 106px); }
.section-sand { background: var(--sand); }
.section-heading { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.section-heading h2, .about-copy h2, .explore-grid h2 { margin-top: 8px; }
.section-heading > p:not(.eyebrow), .about-copy > p:not(.eyebrow), .explore-grid p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.about-grid, .explore-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(28px, 5.6vw, 76px); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 1.39; object-fit: cover; border-radius: 14px; background: var(--sand); }
.property-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; }
.property-facts > div { display: flex; flex-direction: column-reverse; padding: 14px 5px; text-align: center; background: var(--sand); border-radius: 12px; }
.property-facts dt { font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: .055em; }
.property-facts dd { margin: 0; font: 800 clamp(1.35rem, 2.5vw, 1.8rem)/1.25 var(--serif); color: var(--ocean); }

.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenity { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.amenity p { margin-top: 7px; color: var(--muted); font-size: .94rem; }

.section-rates { background: #eaf1ec; }
.rate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.rate-grid li { display: grid; gap: 6px; padding: 21px 10px 24px; background: white; border: 1px solid #d6e2d7; border-radius: 16px; text-align: center; }
.rate-grid span { color: var(--ocean); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; }
.rate-grid strong { font: 800 clamp(1.45rem, 3vw, 2.1rem)/1.2 var(--serif); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 14px; background: var(--sand); }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 1.33; object-fit: cover; transition: transform 180ms ease; }
.gallery-grid a:hover img { transform: scale(1.035); }
.explore-grid img { border-radius: 18px; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.text-link { display: inline-block; margin-top: 14px; color: var(--ocean); font-weight: 700; text-underline-offset: 4px; }

.inquiry-heading { margin-bottom: 26px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.contact-links .button { min-height: 42px; font-size: .93rem; }
.contact-links span { font-weight: 500; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 17px; max-width: 790px; margin-inline: auto; padding: clamp(22px, 4.3vw, 54px); background: var(--sand); border: 1px solid var(--line); border-radius: 26px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 51px; padding: 10px 13px; border: 1px solid #cbd4d8; border-radius: 10px; color: var(--navy); background: white; }
.field textarea { min-height: 110px; resize: vertical; }
.field :is(input, select, textarea):focus { border-color: var(--ocean); }
.full-width { grid-column: 1 / -1; }
.inquiry-form .button { min-height: 54px; font-size: 1.05rem; }
.inquiry-form .button:disabled { opacity: .72; cursor: wait; }
.spam-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.footer { background: var(--navy); color: #fff; }
.footer-inner { display: flex; gap: 22px; justify-content: space-between; align-items: center; padding-block: 35px; }
.footer .brand { color: #f0d6ad; font-size: 1.3rem; }
.footer p { font-size: .9rem; color: #d6e8e3; margin-top: 9px; }
.footer-contact { display: grid; gap: 5px; }
.footer-contact a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.top-link { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ffffff7a; border-radius: 50%; text-decoration: none; }
.top-link:hover { background: #ffffff26; }

.photo-viewer { width: min(1120px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 20px); padding: 0; border: none; border-radius: 14px; background: #123336; color: white; }
.photo-viewer::backdrop { background: #0a1f21eb; }
.viewer-frame { position: relative; padding: 45px clamp(36px, 6vw, 66px) 15px; }
.viewer-frame figure { margin: 0; }
.viewer-frame img { display: block; width: 100%; height: min(69vh, 730px); object-fit: contain; }
.viewer-frame figcaption { padding-top: 10px; text-align: center; font-size: .9rem; }
.viewer-button { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 3px; border: 1px solid #ffffff61; border-radius: 50%; color: white; background: #1e484a; font-size: 1.8rem; line-height: 1; }
.viewer-button:hover { background: #30615d; }
.viewer-close { top: 4px; right: 9px; }
.viewer-prev { top: 48%; left: 6px; }
.viewer-next { top: 48%; right: 6px; }
.thanks { text-align: center; }
.thanks p { margin-top: 15px; }
.thanks .button { margin-top: 23px; }

@media (max-width: 930px) {
  :root { --header-height: 69px; }
  .shell { width: min(100% - 42px, 1220px); }
  .header-inner { gap: 14px; }
  .header nav { gap: 15px; font-size: .93rem; }
  .header-inquiry { padding-inline: 1rem; font-size: .91rem; }
}

@media (max-width: 810px) {
  :root { --header-height: 65px; }
  .shell { width: min(100% - 32px, 1220px); }
  .header-inquiry { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); }
  .menu-toggle { align-content: center; gap: 4px; }
  .menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
  .header nav { display: none; position: absolute; inset: 100% 0 auto; padding: 12px 16px 16px; background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: 0 8px 15px #11273514; }
  .header nav.open { display: grid; gap: 0; }
  .header nav a { padding: 9px 12px; border-radius: 6px; }
  .header nav a:hover { background: #f0ede4; }
  .hero { min-height: 510px; }
  .hero::after { background: linear-gradient(90deg, #102d31e6, #102d3178); }
  .hero-content { padding-block: 66px; }
  .hero h1 { max-width: 560px; }
  .hero-description { max-width: 440px; }
  .about-grid, .explore-grid { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .amenity-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rate-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-wrap: wrap; align-items: start; }
  .mobile-actions { position: fixed; z-index: 4; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); }
  body:has(.mobile-actions) { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 455px) {
  .brand { gap: 8px; }
  .hero { min-height: 495px; }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 3.25rem); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: .9rem; padding-inline: 1rem; }
  .section-heading { margin-bottom: 26px; }
  .amenity-grid { gap: 8px; }
  .amenity { padding: 15px 12px; }
  .amenity h3 { font-size: .96rem; }
  .amenity p { font-size: .86rem; }
  .rate-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .inquiry-form { grid-template-columns: 1fr; border-radius: 19px; }
  .gallery-grid { gap: 8px; }
  .gallery-grid a { border-radius: 9px; }
  .viewer-button { width: 31px; height: 34px; }
  .viewer-frame img { height: min(61vh, 500px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img { transition: none; }
}
