:root {
  color-scheme: light;
  --page: #f8f5ee;
  --panel: #eee8db;
  --ink: #1e2d28;
  --muted: #4e5a52;
  --dark: #172721;
  --green: #20352e;
  --gold: #efcc94;
  --accent: #785329;
  --line: #d8d0c0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, "Segoe UI", sans-serif;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--page); }
h1, h2, p, figure, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #a0602b; outline-offset: 4px; }
section[id], main[id] { scroll-margin-top: calc(var(--header-height) + 14px); }
.shell { width: min(1300px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 7vw, 7rem); }
.eyebrow { color: var(--accent); font-size: .8125rem; font-weight: 750; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
h2 { font: 400 clamp(2.4rem, 4.65vw, 4.5rem)/.99 var(--serif); letter-spacing: -.047em; }
.section h2, .wellness h2, .location h2, .reservation h2 { margin-top: .65rem; }
.intro { max-width: 47ch; color: var(--muted); }
.skip-link { position: fixed; z-index: 8; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .55rem 1rem; background: var(--page); }
.skip-link:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: var(--page); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ad8d5c; border-radius: 50%; color: var(--accent); font: italic 1.05rem/1 var(--serif); letter-spacing: -.08em; padding-right: .08em; }
.brand-name { font: 400 1.72rem/.94 var(--serif); letter-spacing: -.04em; }
.brand small { display: block; margin-top: .35rem; font: 750 .625rem/1 var(--sans); text-transform: uppercase; letter-spacing: .17em; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 3.5vw, 2.65rem); }
.nav a { font-size: .9375rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav a:hover, .footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: .25em; }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.button { display: inline-flex; min-height: 47px; justify-content: center; align-items: center; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: 5px; font-size: .875rem; font-weight: 720; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.button-dark { background: var(--dark); color: var(--page); }
.button-dark:hover { background: #354b42; }
.button-gold { background: var(--gold); color: #211a11; }
.button-gold:hover { background: #ffdfa9; }
.button-ghost { color: var(--page); background: transparent; border-color: #b6b5a6; }
.button-ghost:hover { background: #ffffff19; border-color: var(--page); }
.button-line { color: var(--ink); background: transparent; border-color: #998263; }
.button-line:hover { background: var(--panel); border-color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 17px; height: 1px; background: currentColor; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 0; content: ""; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.hero { display: grid; grid-template-columns: 42% minmax(0, 1fr); margin-top: clamp(1rem, 2.6vw, 2.4rem); overflow: hidden; border-radius: 12px; color: var(--page); background: var(--dark); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; padding: clamp(2rem, 4.25vw, 4.7rem); min-height: clamp(470px, 44vw, 630px); background: radial-gradient(ellipse at bottom left, #293d32, transparent 70%); }
.hero .eyebrow, .wellness .eyebrow, .reservation .eyebrow { color: var(--gold); }
.hero h1 { margin-top: .55rem; font: 400 clamp(3.65rem, 7.05vw, 7.65rem)/.98 var(--serif); letter-spacing: -.075em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-subtitle { margin-top: .55rem; font: 400 clamp(1.2rem, 2vw, 1.7rem)/1.25 var(--serif); color: #f2eadc; }
.hero-description { max-width: 33ch; margin-top: 1.05rem; color: #e1e7df; }
.hero-photo { min-width: 0; position: relative; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 61% 52%; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.65rem; }
.hero-offer-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .65rem; color: var(--gold); font-weight: 750; letter-spacing: .065em; text-underline-offset: .3em; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin-top: 1.15rem; list-style: none; border: 1px solid var(--line); border-radius: 8px; }
.facts li { display: grid; justify-items: center; gap: .2rem; padding: 1.02rem .4rem; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font: 400 clamp(1.35rem, 2.6vw, 2.25rem)/1.12 var(--serif); letter-spacing: -.04em; }
.facts span { color: var(--muted); font-size: .875rem; }

.section-heading { display: grid; align-items: end; grid-template-columns: 1.15fr minmax(0, .85fr); column-gap: 2rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading .intro { padding-bottom: .15rem; }
.apartment-photos { display: grid; grid-template-columns: 1.15fr minmax(0, .85fr); gap: .9rem; margin-top: 1.65rem; }
.feature-photo, .wellness-photo { position: relative; overflow: hidden; border-radius: 8px; background: var(--panel); }
.feature-photo img, .wellness-photo img { object-fit: cover; }
.apartment-photos .feature-photo img { height: clamp(240px, 30vw, 410px); }
.living-photo img { object-position: 51% 61%; }
.jacuzzi-photo img { object-position: 49% 62%; }
.feature-photo figcaption { position: absolute; bottom: .7rem; left: .7rem; padding: .35rem .7rem; border-radius: 4px; color: #fff; background: #16231fea; font-size: .875rem; }
.apartment-details { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.apartment-details span { padding: .36rem .7rem; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .875rem; }

.wellness { color: var(--page); background: var(--green); }
.wellness-inner { display: grid; grid-template-columns: 1.08fr minmax(0, .92fr); align-items: center; gap: clamp(2rem, 6.5vw, 6.5rem); padding-block: clamp(3.4rem, 6.25vw, 6.35rem); }
.wellness-photo img { aspect-ratio: 4 / 3; object-position: 57% 57%; }
.wellness .intro, .reservation .intro { color: #e2e8df; margin-top: 1.1rem; }
.spa-list { padding: 0; margin-top: 1.25rem; list-style: none; }
.spa-list li { position: relative; padding: .66rem 0 .66rem 1.1rem; border-top: 1px solid #cfc7b055; }
.spa-list li::before { content: ""; position: absolute; width: 6px; height: 6px; top: 1.27rem; left: .04rem; border: 1px solid var(--gold); transform: rotate(45deg); }

.gallery-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 1.5rem; margin-bottom: 1.3rem; }
.gallery-heading h2 { margin: 0; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.gallery-filters button { padding: .42rem .82rem; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font-size: .875rem; font-weight: 650; cursor: pointer; }
.gallery-filters button:hover { border-color: #998263; }
.gallery-filters button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--page); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.gallery-tile { position: relative; isolation: isolate; display: block; min-width: 0; overflow: hidden; border-radius: 8px; color: #fff; background: var(--dark); text-decoration: none; }
.gallery-tile img { aspect-ratio: 1.55; height: auto; object-fit: cover; object-position: center 58%; transition: transform .25s; }
.gallery-tile:hover img { transform: scale(1.035); }
.gallery-tile span { position: absolute; display: flex; justify-content: space-between; align-items: end; min-height: 44%; inset: auto 0 0; padding: .65rem .8rem; gap: .2rem; background: linear-gradient(transparent, #101c17ea); font-size: .875rem; font-weight: 700; line-height: 1.3; }
.gallery-tile span::after { content: "+"; align-self: end; font-weight: 400; font-size: 1.2rem; }
.gallery-more { margin: 1.2rem auto 0; display: flex; width: fit-content; }

.location { background: var(--panel); }
.location-inner { display: grid; grid-template-columns: .86fr minmax(0, 1.14fr); align-items: center; gap: clamp(2rem, 5.9vw, 5.5rem); padding-block: clamp(3rem, 6.25vw, 5.75rem); }
.location-copy address { margin-block: 1.2rem; color: var(--muted); font-style: normal; }
.location-photo img { aspect-ratio: 1.75; object-position: center 54%; }
.location .button-line:hover { background: var(--page); }

.reservation { color: var(--page); background: var(--dark); }
.reservation-inner { display: grid; grid-template-columns: 1fr minmax(230px, .63fr); align-items: center; gap: clamp(1.5rem, 7vw, 7rem); padding-block: clamp(3rem, 6.25vw, 5.75rem); }
.reservation-actions { display: grid; gap: .65rem; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.inquiry-section { display: grid; grid-template-columns: .85fr minmax(0, 1.15fr); align-items: start; gap: clamp(1.4rem, 5vw, 5.5rem); }
.inquiry-section .intro { margin-top: .9rem; }
.stay-offers { margin-top: 1.35rem; padding: clamp(.9rem, 2.4vw, 1.35rem); border-radius: 12px; color: var(--page); background: var(--green); }
.stay-offers h3 { margin: 0; color: var(--gold); font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.2; letter-spacing: .035em; }
.stay-offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .45rem 1.5rem; margin: .8rem 0 .65rem; padding: .6rem 0; border-block: 1px solid #64766b; list-style: none; }
.stay-offer-list li { display: grid; }
.stay-offer-list strong { color: var(--gold); font: 400 clamp(2rem, 4vw, 2.85rem)/1 var(--serif); }
.stay-offer-list span { margin-top: .15rem; font-size: .9375rem; }
.stay-offer-note { color: #eef1e9; font-size: .875rem; }
.offer-dialog { width: min(calc(100% - 2rem), 33rem); max-height: calc(100dvh - 2rem); padding: clamp(1.25rem, 4vw, 2.15rem); border: 1px solid #9e825a; border-radius: 14px; color: var(--page); background: var(--green); }
.offer-dialog::backdrop { background: #101a16b8; }
body:has(.offer-dialog[open]) { overflow: hidden; }
.offer-dialog h2 { padding-right: 2.6rem; color: var(--gold); font: 750 clamp(1.1rem, 4vw, 1.6rem)/1.22 var(--sans); letter-spacing: .035em; }
.offer-dialog .stay-offer-list { margin-block: 1rem .85rem; padding-block: .9rem; }
.offer-dialog .stay-offer-list strong { font-size: clamp(2.15rem, 9vw, 3.5rem); }
.offer-dialog-close { position: absolute; inset: .6rem .6rem auto auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #9caa9f; border-radius: 50%; color: var(--page); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.offer-dialog-close:hover { background: #344a40; }
.offer-dialog :focus-visible { outline-color: var(--gold); }
.offer-dialog-link { margin-top: 1rem; }
.stay-calendar { margin-top: 1.35rem; padding: clamp(.55rem, 2vw, 1.1rem); border: 1px solid var(--line); border-radius: 12px; background: #fffcf6; }
.stay-calendar-heading { display: grid; grid-template-columns: 2.65rem 1fr 2.65rem; align-items: center; text-align: center; gap: .4rem; margin-bottom: .6rem; }
.stay-calendar-heading h3 { margin: 0; font-size: 1.1rem; text-transform: capitalize; }
.stay-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; }
.stay-calendar-grid > * { min-width: 0; }
.stay-calendar button { background: white; color: var(--ink); border: 1px solid #d9d2c4; border-radius: 5px; font: inherit; cursor: pointer; }
.stay-calendar-heading button { width: 100%; min-height: 43px; font-size: 1.5rem; line-height: 1; }
.stay-calendar button:disabled { cursor: default; color: #645f58; background: #eeeae2; }
.stay-weekday { text-align: center; font-weight: 650; font-size: .8rem; }
.stay-calendar .stay-day { min-height: 47px; padding: .12rem; line-height: 1.1; font-weight: 650; }
.stay-day small { display: block; margin-top: .25rem; font-size: .71rem; font-weight: 500; }
.stay-calendar .occupied { text-decoration: line-through; background: #f5e5df; color: #71352d; }
.stay-calendar .in-range { background: #eaeee7; }
.stay-calendar [aria-pressed="true"] { background: #28483d; border-color: #28483d; color: #fff; text-decoration: none; }
.stay-calendar button:not(:disabled):hover { border-color: #8b632e; }
.stay-calendar-key { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .65rem 0 0; padding: 0; list-style: none; font-size: .875rem; }
.stay-calendar-key li { display: inline-flex; align-items: center; gap: .35rem; }
.stay-calendar-key li::before { width: .86rem; height: .86rem; border: 1px solid #a49b89; border-radius: 3px; background: white; content: ""; }
.stay-calendar-key .stay-key-busy::before { border-color: #71352d; background: linear-gradient(135deg, #f5e5df 44%, #71352d 45%, #71352d 55%, #f5e5df 56%); }
.stay-calendar .form-hint { margin-top: .65rem; }
.stay-quote { padding: .75rem .9rem; color: #1f3a30; border-radius: 6px; background: #e6ede3; }
.stay-quote strong { display: block; font-size: 1.25rem; }
.stay-quote.is-error { color: #7b2118; background: #f9e6df; }
.inquiry-form { display: grid; gap: .95rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: #fffcf6; }
.inquiry-form label { display: grid; align-content: start; gap: .3rem; min-width: 0; font-weight: 650; }
.inquiry-form input, .inquiry-form textarea { min-width: 0; width: 100%; min-height: 46px; padding: .48rem .6rem; border: 1px solid #a49b89; border-radius: 6px; color: var(--ink); background: white; font: inherit; font-weight: 400; }
.inquiry-form textarea { resize: vertical; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.inquiry-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(80px, .72fr); }
.inquiry-form .button, .inquiry-result .button { justify-self: start; }
.inquiry-form .button:disabled { opacity: .65; cursor: wait; }
.form-hint, .gallery-empty { color: var(--muted); font-size: .875rem; font-weight: 400; }
.inquiry-status { padding: .7rem .85rem; border-radius: 6px; color: #1a3c2b; background: #e3efe2; font-weight: 650; }
.inquiry-status.is-error { color: #7b2118; background: #f9e6df; }
.inquiry-result { display: grid; gap: 1rem; }
.footer-inner { padding-block: 1.45rem; }
.footer a:not(.brand) { color: var(--muted); font-weight: 700; font-size: .875rem; text-decoration: none; }
.floating-call { display: none; }

.lightbox { width: min(95vw, 1100px); max-width: none; max-height: 96dvh; padding: 0; border: 0; background: transparent; color: white; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox::backdrop { background: #0e1815f3; }
.lightbox-inner { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-rows: 44px auto; align-items: center; gap: .55rem; }
.lightbox figure { grid-area: 2 / 2; min-width: 0; }
.lightbox figure img { width: auto; max-width: 100%; max-height: 77dvh; margin: auto; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem .8rem; margin-top: .65rem; text-align: center; }
.lightbox-count { color: #e8c99c; }
.lightbox button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 .12em; border: 1px solid #979c8e; border-radius: 50%; color: white; background: #32443b; font: 400 1.7rem/1 var(--sans); cursor: pointer; }
.lightbox button:hover { background: #46594e; }
.lightbox button:focus-visible { outline-color: var(--gold); }
.lightbox-close { grid-area: 1 / 3; }
.lightbox-prev { grid-area: 2 / 1; }
.lightbox-next { grid-area: 2 / 3; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 56px); }
  .hero { grid-template-columns: 46% minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-height: 66px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: .4rem .55rem; }
  .header-actions { order: 2; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 1.48rem; }
  .brand small { letter-spacing: .12em; }
  .header-cta { min-height: 44px; padding-inline: .65rem; }
  .menu-toggle { display: inline-flex; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: wrap; gap: .5rem 1rem; }
  .header.menu-ready .nav { position: absolute; display: none; top: 100%; inset-inline: 0; padding: .4rem 18px .8rem; background: var(--page); border-bottom: 1px solid var(--line); }
  .header.menu-open .nav { display: grid; gap: 0; }
  .nav a { padding-block: .62rem; }
  .hero { width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-height: auto; padding: 1.8rem 1.3rem 1.65rem; }
  .hero .eyebrow { font-size: .75rem; }
  .hero h1 { font-size: clamp(3.6rem, 12vw, 5.35rem); }
  .hero-photo { grid-row: 1; height: clamp(190px, 54vw, 355px); }
  .hero-photo img { object-position: 64% 53%; }
  .actions { margin-top: 1.22rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding-block: .78rem; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-heading, .wellness-inner, .location-inner, .reservation-inner, .inquiry-section { grid-template-columns: 1fr; gap: .95rem; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading h2 { margin-top: 0; }
  .section-heading h2 br { display: none; }
  .wellness-inner, .location-inner { gap: 1.6rem; }
  .wellness-photo { grid-row: 2; }
  .wellness-photo img { aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gallery-tile span { padding: .5rem .55rem; }
}

@media (max-width: 660px) {
  .apartment-photos { grid-template-columns: minmax(0, 1fr); }
  .apartment-photos .feature-photo img { height: auto; aspect-ratio: 1.55; }
}

@media (max-width: 440px) {
  .inquiry-fields { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
}

@media (max-width: 350px) {
  .header .brand-mark { display: none; }
  .hero .actions { display: grid; justify-items: start; }
  .gallery-filters { gap: .3rem; }
  .gallery-filters button { padding-inline: .58rem; }
  .lightbox-inner { gap: .18rem; }
}

@media (max-width: 760px), (max-height: 540px) and (pointer: coarse) {
  .floating-call {
    position: fixed;
    z-index: 6;
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid #947444;
    border-radius: 50%;
    color: #211a11;
    background: var(--gold);
    box-shadow: 0 4px 14px #17272145;
    text-decoration: none;
  }
  .floating-call:is(:hover, :active) { background: #ffdfa9; }
  .footer-inner { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
