:root {
  --ink: #263128;
  --cream: #f4f0e7;
  --paper: #fbf9f4;
  --sage: #72806c;
  --line: rgba(38, 49, 40, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; padding: 26px 5vw; color: white; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap; font: 500 26px/1 var(--serif); letter-spacing: .02em; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.site-header .brand { padding: 8px 15px 8px 10px; color: #F3D997; background: rgba(20, 32, 24, .86); border: 1px solid rgba(243, 217, 151, .45); border-radius: 6px; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.site-header .brand-name { transform: translateY(3px); }
footer .brand { color: #F3D997; }
.navigation { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.navigation > a:not(.nav-cta) { opacity: .82; }
.navigation > a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 7px; }
.nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 12px 17px; }
.menu-button { display: none; background: none; border: 0; padding: 10px; }
.menu-button span { display: block; width: 24px; height: 2px; border-radius: 2px; background: white; transition: transform .2s ease; }
.hero { position: relative; min-height: 95vh; display: grid; align-items: end; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-image { background-image: url("images/hero-poolside-dining.jpg"); transform: scale(1.02); }
.hero h1 { font-size: clamp(28px, 8.5vw, 96px); white-space: nowrap; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,17,.62), rgba(15,23,17,.08) 70%), linear-gradient(0deg, rgba(15,23,17,.4), transparent 45%); }
.hero-content { position: relative; max-width: 760px; padding: 0 7vw 10vh; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 600; }
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(58px, 7.3vw, 112px); line-height: .86; }
h2 { font-size: clamp(44px, 5vw, 76px); line-height: .98; }
.hero-copy { max-width: 520px; margin: 28px 0 16px; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.6; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 5px 10px; max-width: 560px; margin: 0 0 30px; color: white; font-size: 13px; font-weight: 600; line-height: 1.5; }
.button { display: inline-flex; align-items: center; gap: 30px; padding: 16px 20px; font-size: 13px; font-weight: 600; }
.button-light { background: var(--paper); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.scroll-cue { position: absolute; right: 5vw; bottom: 45px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; display: flex; gap: 24px; align-items: center; }
.section { padding: 120px 7vw; }
.section-label { border-top: 1px solid var(--line); padding-top: 16px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.section-label span { color: var(--sage); margin-right: 12px; }
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.intro-copy { max-width: 760px; }
.intro-copy > p:last-child, .location-copy > p { max-width: 560px; line-height: 1.75; color: #667067; margin-top: 30px; }
.stay-facts-group { grid-column: 2; }
.stay-facts-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #667067; }
.stay-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 65px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.stay-facts div { display: grid; gap: 5px; }
.stay-facts dt { font: 400 42px var(--serif); }
.stay-facts dd { margin: 0; font-size: 12px; color: #747d75; }
.gallery { padding-top: 0; display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 310px 310px; gap: 16px; }
.photo { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.38), transparent 45%); }
.photo span { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: white; font-size: 12px; }
.photo-large { grid-row: 1 / 3; background-image: url("images/living-room-and-view.jpg"); }
.photo-small-one { background-image: url("images/bedroom.jpg"); }
.photo-small-two { background-image: url("images/stone-bath.jpg"); }
.photo-tour { padding-top: 0; }
.photo-tour h2 { margin: 40px 0; }
.photo-tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.photo-tour-grid figure { margin: 0; }
.photo-tour-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tour-grid figcaption { margin-top: 10px; font-size: 12px; color: #667067; }
.amenities { background: var(--cream); display: grid; grid-template-columns: 1fr 2fr; gap: 70px; }
.amenities-heading { grid-column: 2; }
.amenity-grid { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity-grid article { padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenity-grid .icon { font: 32px var(--serif); color: var(--sage); }
.amenity-grid h3 { font: 400 24px var(--serif); margin: 28px 0 10px; }
.amenity-grid p { color: #707870; line-height: 1.6; font-size: 13px; max-width: 280px; }
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.location .section-label { grid-column: 1 / 3; margin-bottom: 50px; }
.text-link { display: inline-flex; gap: 22px; margin-top: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.map-card { position: relative; min-height: 470px; background: #dfe2d9; overflow: hidden; display: grid; place-items: center; }
.map-lines { position: absolute; inset: -30%; opacity: .32; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 34px, var(--sage) 36px 38px, transparent 40px 57px); transform: rotate(-18deg) scale(1.3); }
.map-pin { position: relative; width: 82px; height: 82px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); color: white; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.map-pin span { transform: rotate(45deg); text-align: center; font: 16px/1 var(--serif); }
.map-card p { position: absolute; bottom: 18px; font-size: 10px; letter-spacing: .06em; }
.booking { min-height: 620px; display: grid; place-items: center; text-align: center; color: white; background: linear-gradient(rgba(29,42,32,.72), rgba(29,42,32,.72)), url("images/pool-and-mountain-view.jpg") center/cover; }
.booking-content { width: min(740px, 86vw); }
.booking-content p:not(.eyebrow) { max-width: 500px; margin: 24px auto 30px; line-height: 1.65; color: rgba(255,255,255,.8); }
.bare-header { position: static; background: #1e2921; }
.empty-page { min-height: calc(100vh - 78px); }
.inner-page .section { padding-top: 90px; padding-bottom: 90px; }
.page-intro { background: var(--cream); }
.page-intro h1 { max-width: 900px; line-height: .95; }
.page-intro > p:last-of-type { max-width: 700px; color: #667067; font-size: 18px; line-height: 1.7; margin: 28px 0 0; }
.page-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; max-width: 800px; margin: 65px 0 0; padding-top: 25px; border-top: 1px solid var(--line); }
.page-facts dt { font: 400 48px var(--serif); }
.page-facts dd { margin: 5px 0 0; color: #667067; font-size: 13px; }
.page-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7vw; align-items: center; }
.page-feature > img { display: block; width: 100%; height: 520px; object-fit: cover; }
.page-feature p:not(.eyebrow), .location-note p:not(.eyebrow), .page-action p, .feature-cards p, .detail-grid p { color: #667067; line-height: 1.7; }
.page-feature h2, .location-note h2 { margin-bottom: 25px; }
.room-gallery { background: var(--cream); }
.room-gallery h2 { margin-bottom: 45px; }
.room-gallery figcaption { display: grid; gap: 6px; }
.room-gallery figcaption strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.room-gallery figcaption span { color: #667067; font-size: 13px; }
.extra-beds-note { margin: 35px 0 0; color: #667067; font-size: 14px; line-height: 1.6; }
.feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 24px; }
.feature-cards article { min-width: 0; }
.feature-cards img { width: 100%; height: 390px; object-fit: cover; display: block; }
.feature-cards h2 { font-size: 38px; margin: 22px 0 8px; }
.feature-cards p { margin: 0; }
.amenities-detail { background: var(--cream); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin-top: 55px; }
.detail-grid h2 { font-size: 34px; }
.page-action { text-align: center; background: var(--ink); color: white; }
.page-action p { color: rgba(255,255,255,.76); margin: 25px auto; max-width: 580px; }
.location-note { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; background: var(--cream); }
.location-note .button { margin-top: 20px; }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.calendar-controls { display: flex; gap: 8px; }
.calendar-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 19px; }
.calendar-controls button:disabled { opacity: .35; cursor: default; }
.calendar-status { margin: 30px 0 12px; color: #58645a; font-size: 13px; }
.calendar-legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #58645a; }
.legend-swatch { width: 16px; height: 16px; background: #72806c; }
.calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 30px 0; }
.calendar-month { border: 1px solid var(--line); padding: 25px; }
.calendar-month h3 { font: 400 32px var(--serif); margin: 0 0 25px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.calendar-weekday { padding: 7px 0; color: #667067; font-size: 11px; }
.calendar-day { display: grid; place-items: center; width: 100%; min-height: 44px; border: 0; color: var(--ink); font: 13px var(--sans); background: var(--cream); cursor: pointer; }
.calendar-day:not(:disabled):hover, .calendar-day:not(:disabled):focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.calendar-day:disabled { cursor: default; }
.calendar-day.past { opacity: .4; }
.calendar-day.blocked { background: #72806c; color: white; }
.calendar-day.in-range { background: #d9e2d3; }
.calendar-day.selected { background: var(--ink); color: white; }
.calendar-selection { margin: 20px 0 12px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.calendar-fallback { max-width: 520px; margin: 18px 0 0; color: #58645a; font-size: 13px; line-height: 1.6; }
.calendar-fallback a { text-decoration: underline; text-underline-offset: 3px; }
.calendar-fallback[hidden] { display: none; }
.calendar-note { max-width: 620px; color: #667067; line-height: 1.6; font-size: 13px; margin-bottom: 25px; }
footer { padding: 60px 7vw 30px; background: #1e2921; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: start; }
footer > p { margin: 0; text-align: right; opacity: .58; font: 24px var(--serif); }
footer > div { display: flex; gap: 25px; font-size: 12px; }
footer small { text-align: right; opacity: .45; }
.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(42px);
  transition:
    opacity 1.05s cubic-bezier(.22, 1, .36, 1),
    filter 1.05s cubic-bezier(.22, 1, .36, 1),
    transform 1.05s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, filter, transform;
}
.reveal.visible { opacity: 1; filter: blur(0); transform: translateY(0); }
.amenity-grid.reveal article { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.amenity-grid.reveal.visible article { opacity: 1; transform: translateY(0); }
.amenity-grid.reveal.visible article:nth-child(1) { transition-delay: .12s; }
.amenity-grid.reveal.visible article:nth-child(2) { transition-delay: .22s; }
.amenity-grid.reveal.visible article:nth-child(3) { transition-delay: .32s; }
.amenity-grid.reveal.visible article:nth-child(4) { transition-delay: .42s; }

@media (max-width: 800px) {
  .site-header { padding: 22px 20px; position: absolute; }
  .site-header.bare-header { position: relative; }
  .menu-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; cursor: pointer; border-radius: 10px; }
  .menu-button[aria-expanded="true"] { background: rgba(20, 32, 24, .7); }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .navigation { display: flex; position: absolute; top: 90px; left: 16px; right: 16px; padding: 16px 20px; background: #e8ebe3; color: var(--ink); border: 1px solid rgba(38, 49, 40, .1); border-radius: 16px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 30px rgba(15, 23, 17, .18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .navigation.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
  .navigation a { display: flex; align-items: center; min-height: 48px; padding: 0 10px; border-radius: 8px; font-size: 14px; }
  .navigation a:hover, .navigation a:focus-visible { background: rgba(38, 49, 40, .08); }
  .nav-cta { justify-content: center; margin-top: 8px; border-color: rgba(38, 49, 40, .2); text-align: center; }
  .hero { min-height: 780px; }
  .hero-content { padding: 0 22px 95px; }
  .hero-highlights { font-size: 12px; gap: 3px 8px; }
  h1 { font-size: clamp(54px, 16vw, 76px); }
  .scroll-cue { display: none; }
  .section { padding: 80px 22px; }
  .intro, .amenities, .location { grid-template-columns: 1fr; gap: 40px; }
  .intro-copy, .stay-facts-group, .amenities-heading, .amenity-grid, .location .section-label { grid-column: 1; }
  .stay-facts { grid-template-columns: repeat(2, 1fr); margin-top: 15px; }
  .gallery { padding-top: 0; grid-template-columns: 1fr; grid-template-rows: 420px 260px 260px; }
  .photo-large { grid-row: auto; }
  .photo-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity-grid { grid-template-columns: 1fr; margin-top: 0; }
  .quote-section { min-height: 600px; }
  .location .section-label { margin-bottom: 10px; }
  .map-card { min-height: 390px; }
  .inner-page .section { padding-top: 70px; padding-bottom: 70px; }
  .page-intro h1 { font-size: clamp(52px, 12vw, 76px); }
  .page-facts { grid-template-columns: repeat(2, 1fr); }
  .page-feature, .location-note { grid-template-columns: 1fr; }
  .page-feature > img { height: 360px; }
  .feature-cards, .detail-grid { grid-template-columns: 1fr; }
  .feature-cards img { height: 320px; }
  .calendar-months { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer > p, footer small { text-align: left; }
  footer > div { flex-wrap: wrap; }
  .reveal { transition-duration: .7s; }
}

@media (max-width: 520px) {
  .site-header .brand { font-size: 20px; padding: 6px 10px 6px 7px; }
  .site-header .brand-mark { width: 40px; height: 40px; }
  .photo-tour-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .amenity-grid.reveal article { opacity: 1; filter: none; transform: none; transition: none; }
  .navigation, .navigation.open, .menu-button span { transition: none; }
}
