:root {
  color-scheme: light;
  --ink: #1c2420;
  --muted: #66736c;
  --paper: #fbfaf5;
  --paper-2: #f0efe7;
  --line: #dedbd0;
  --forest: #24483b;
  --forest-2: #183028;
  --moss: #7a8c5a;
  --clay: #b5693d;
  --sun: #e3ba6e;
  --white: #ffffff;
  --shadow: 0 20px 70px rgb(28 36 32 / 18%);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sun);
  color: var(--forest-2);
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 44px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgb(251 250 245 / 94%);
  color: var(--ink);
  box-shadow: 0 10px 35px rgb(28 36 32 / 10%);
  backdrop-filter: blur(14px);
  padding-block: 12px;
}

.brand,
.nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
}

.nav a,
.site-footer a {
  position: relative;
}

.nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.lang-toggle,
.header-cta,
.button {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  cursor: pointer;
}

.lang-toggle {
  min-width: 48px;
  background: transparent;
  color: inherit;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 700;
}

.header-cta {
  background: var(--white);
  color: var(--forest);
}

.site-header:not(.is-scrolled) .header-cta {
  color: var(--forest-2);
}

.site-header.is-scrolled .header-cta {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--forest-2);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hero-media figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: imageSettle 900ms ease both;
}

.hero-media figcaption {
  position: absolute;
  left: clamp(16px, 4vw, 36px);
  bottom: 28px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: var(--radius);
  background: rgb(13 22 18 / 52%);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(13 22 18 / 82%), rgb(13 22 18 / 46%) 54%, rgb(13 22 18 / 22%)),
    linear-gradient(0deg, rgb(13 22 18 / 76%), transparent 48%);
}

.hero-content {
  position: absolute;
  z-index: 1;
  top: 44%;
  left: 0;
  right: 0;
  width: min(700px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0;
  color: var(--white);
  transform: translateY(-50%)
    translateX(calc((min(100vw, var(--max)) - min(760px, calc(100vw - 36px))) / -2));
  animation: heroSettle 650ms ease 120ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.hero .button.primary {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--forest-2);
}

.button.secondary {
  background: transparent;
  color: currentColor;
}

.hero .button.secondary {
  border-color: rgb(255 255 255 / 68%);
  color: var(--white);
}

.button:hover,
.lang-toggle:hover {
  transform: translateY(-1px);
}

.button,
.lang-toggle,
.stay-card,
.amenity-grid article,
.nearby-list article,
.gallery-grid img {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease,
    background 180ms ease;
}

.button:focus-visible,
.lang-toggle:focus-visible,
.gallery-grid button:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sun) 70%, white);
  outline-offset: 3px;
}

.availability-strip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 44px);
  bottom: 28px;
  left: clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(13 22 18 / 46%);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.availability-strip div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.availability-strip div:last-child {
  border-right: 0;
}

.availability-strip strong,
.availability-strip span {
  display: block;
}

.availability-strip strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.availability-strip span {
  margin-top: 3px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
}

.section-band {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 44px);
  scroll-margin-top: 78px;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.section-band:nth-of-type(odd) {
  background: var(--paper-2);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid,
.split,
.property-layout,
.contact-layout {
  display: grid;
  gap: clamp(32px, 6vw, 74px);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: end;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.12rem;
}

.split {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  align-items: center;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.location-media img {
  aspect-ratio: 1.45 / 1;
  object-fit: contain;
  object-position: center center;
  background: var(--paper);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.amenity-grid article {
  min-height: 174px;
  padding: 24px;
  background: var(--paper);
}

.amenity-grid article:hover,
.nearby-list article:hover,
.stay-card:hover {
  transform: translateY(-3px);
}

.amenity-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--clay);
  font-weight: 800;
}

.amenity-grid p,
.property-copy p,
.nearby-list span {
  color: var(--muted);
}

.property {
  background: var(--forest-2);
  color: var(--white);
}

.property .eyebrow {
  color: var(--sun);
}

.property-copy p {
  max-width: 620px;
  color: rgb(255 255 255 / 72%);
  font-size: 1.12rem;
}

.shared-amenities {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 7%);
}

.shared-amenities p {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shared-amenities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shared-amenities li {
  color: rgb(255 255 255 / 82%);
}

.property-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  align-items: center;
}

.stay-cards {
  display: grid;
  gap: 14px;
}

.stay-card {
  min-height: 168px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.stay-card div {
  min-width: 0;
  padding: 22px;
}

.stay-card .eyebrow {
  margin-bottom: 8px;
  color: var(--clay);
}

.stay-card p:last-child,
.stay-card p[data-i18n$="Copy"] {
  margin: 0;
  color: var(--muted);
}

.stay-price {
  display: inline-flex;
  width: fit-content;
  margin: 4px 0 14px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--clay) 34%, var(--line));
  border-radius: var(--radius);
  background: rgb(181 105 61 / 9%);
  color: var(--forest-2);
  font-size: 0.95rem;
  font-weight: 800;
}

.stay-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stay-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.stay-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.gallery-block {
  margin-top: clamp(36px, 6vw, 58px);
}

.gallery-block:first-of-type {
  margin-top: 0;
}

.gallery-subheading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-subheading .eyebrow {
  margin: 0;
}

.gallery-subheading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-grid button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(4) {
  grid-column: span 3;
}

.gallery-grid button:nth-child(2),
.gallery-grid button:nth-child(3),
.gallery-grid button:nth-child(5),
.gallery-grid button:nth-child(6) {
  grid-column: span 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  filter: saturate(0.95);
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.gallery-grid button:hover img {
  filter: saturate(1.08);
  transform: scale(1.01);
}

.nearby-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.nearby-list article {
  min-height: 142px;
  padding: 22px;
  background: var(--paper);
}

.nearby-list strong,
.nearby-list span {
  display: block;
}

.nearby-list span {
  margin-top: 8px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.8fr);
  align-items: start;
}

address {
  margin-top: 26px;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--forest);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--moss);
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(122 140 90 / 14%);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 44px);
  background: var(--forest-2);
  color: rgb(255 255 255 / 78%);
}

.site-footer span {
  color: var(--white);
  font-weight: 800;
}

.lightbox {
  width: min(1100px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.lightbox::backdrop {
  background: rgb(8 12 10 / 82%);
  opacity: 0;
  transition: opacity 170ms ease;
}

.lightbox.is-open {
  opacity: 1;
  transform: scale(1);
}

.lightbox.is-open::backdrop {
  opacity: 1;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 28px);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: 50%;
  background: rgb(8 12 10 / 62%);
  color: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

@keyframes heroSettle {
  from {
    opacity: 0;
    transform: translateY(-44%)
      translateX(calc((min(100vw, var(--max)) - min(760px, calc(100vw - 36px))) / -2));
  }
  to {
    opacity: 1;
    transform: translateY(-50%)
      translateX(calc((min(100vw, var(--max)) - min(760px, calc(100vw - 36px))) / -2));
  }
}

@keyframes imageSettle {
  from {
    filter: saturate(0.86) brightness(0.94);
    transform: scale(1.05);
  }
  to {
    filter: saturate(1) brightness(1);
    transform: scale(1.02);
  }
}

.js-reveal .section-band,
.js-reveal .stay-card,
.js-reveal .gallery-block,
.js-reveal .nearby-list article {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js-reveal .section-band.is-visible,
.js-reveal .stay-card.is-visible,
.js-reveal .gallery-block.is-visible,
.js-reveal .nearby-list article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal .section-band,
  .js-reveal .stay-card,
  .js-reveal .gallery-block,
  .js-reveal .nearby-list article {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 16px;
  }

  .nav {
    display: none;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    width: auto;
    animation: none;
    transform: none;
  }

  .intro-grid,
  .split,
  .property-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nearby-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1060px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media figure:nth-child(2) {
    display: none;
  }

  .hero-media figcaption {
    bottom: auto;
    top: 86px;
  }

  .hero-content {
    top: 34%;
    padding: 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13.5vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.95rem, 11vw, 3rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .availability-strip {
    grid-template-columns: 1fr;
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .availability-strip div {
    padding: 13px 16px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .availability-strip div:last-child {
    border-bottom: 0;
  }

  .amenity-grid,
  .nearby-list {
    grid-template-columns: 1fr;
  }

  .shared-amenities ul {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 58px 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-subheading {
    display: block;
  }

  .gallery-subheading h3 {
    margin-top: 6px;
  }

  .gallery-grid button:nth-child(n) {
    grid-column: span 1;
  }

  .gallery-grid img {
    min-height: 220px;
  }
}
