:root {
  --ink: #243340;
  --sand: #c8a877;
  --teal: #6a8e9b;
  --paper: #ffffff;
  --warm: #f5f3ee;
  --line: #e8e6e1;
  --soft-ink: rgba(36, 51, 64, 0.72);
  --shadow: 0 24px 70px rgba(36, 51, 64, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 2px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: clamp(72px, 9vw, 132px) 0;
}

section[id] {
  scroll-margin-top: 92px;
}

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

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(36, 51, 64, 0.08);
  backdrop-filter: blur(18px);
}

.brand-link {
  position: relative;
  justify-self: start;
  display: inline-grid;
  align-items: center;
}

.brand-logo {
  grid-area: 1 / 1;
  width: 176px;
  height: auto;
  transition: opacity 180ms ease;
}

.brand-logo--dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--light,
.site-header.is-open .brand-logo--light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--dark,
.site-header.is-open .brand-logo--dark {
  opacity: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 38px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.desktop-nav a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  border: 1px solid currentColor;
  padding: 11px 18px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header:not(.is-scrolled) .header-cta:hover,
.site-header:not(.is-scrolled) .header-cta:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.site-header.is-scrolled .header-cta:hover,
.site-header.is-scrolled .header-cta:focus-visible,
.site-header.is-open .header-cta:hover,
.site-header.is-open .header-cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 11px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  margin: 6px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 45;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  padding: 18px 20px 28px;
  box-shadow: 0 22px 40px rgba(36, 51, 64, 0.12);
}

.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mobile-menu__cta {
  margin-top: 10px;
  border: 1px solid var(--ink);
  padding: 13px 18px !important;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero__media,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(36, 51, 64, 0.68) 0%, rgba(36, 51, 64, 0.32) 48%, rgba(36, 51, 64, 0.08) 100%),
    linear-gradient(180deg, rgba(36, 51, 64, 0.08) 0%, rgba(36, 51, 64, 0.48) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  padding: 94px 0 clamp(68px, 7vw, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro h2,
.booking h2,
.destination h2,
.faq h2,
.next-apartments h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 990px;
  font-size: clamp(3.1rem, 5.7vw, 5.55rem);
}

.hero__text {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--paper);
  color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--sand);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--paper);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--paper);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(36, 51, 64, 0.16);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--teal);
}

.hero__facts {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 2;
  display: flex;
  gap: 1px;
  color: var(--paper);
}

.hero__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro {
  background: var(--paper);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
}

.intro__aside {
  display: grid;
  gap: 28px;
}

.intro__image {
  margin: 0;
  overflow: hidden;
}

.intro__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro__image figcaption {
  margin-top: 12px;
  color: var(--soft-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro h2,
.booking h2,
.destination h2,
.faq h2,
.next-apartments h2 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
}

.editorial-copy {
  display: grid;
  gap: 20px;
  max-width: 760px;
  color: var(--soft-ink);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.editorial-copy p,
.section-heading p,
.booking p,
.destination p,
.faq p,
.next-apartments p,
.apartment__details p,
.benefit-card p,
.review-card blockquote,
.review-card figcaption,
.site-footer p {
  margin: 0;
}

.apartment {
  background: var(--warm);
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading h2 {
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.section-heading p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--soft-ink);
  font-size: 1.05rem;
}

.apartment__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.apartment__details {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 28px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.detail-list div {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-list strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
}

.detail-list span {
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apartment__details p {
  color: var(--soft-ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery__item {
  position: relative;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  background: var(--line);
}

.gallery__item--large {
  grid-column: 1 / -1;
  min-height: clamp(420px, 52vw, 640px);
}

.gallery__item--wide {
  grid-column: 1 / -1;
  min-height: clamp(340px, 34vw, 430px);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery__item:hover img {
  transform: scale(1.035);
}

.gallery__item figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking {
  background: var(--warm);
  color: var(--ink);
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.42fr) minmax(520px, 0.58fr);
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.booking__copy {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: clamp(34px, 4.2vw, 58px);
  background:
    linear-gradient(135deg, rgba(106, 142, 155, 0.18), transparent 48%),
    var(--ink);
  color: var(--paper);
}

.booking__copy h2 {
  max-width: 560px;
  font-size: clamp(2.65rem, 3.75vw, 4.35rem);
}

.booking__copy p {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.booking__notes {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.booking__notes li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.booking__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  background: var(--sand);
}

.booking-widget {
  display: grid;
  align-content: start;
  padding: clamp(10px, 1.8vw, 18px);
  background:
    linear-gradient(180deg, rgba(245, 243, 238, 0.72), rgba(255, 255, 255, 0.95)),
    var(--paper);
  color: var(--ink);
  border-left: 1px solid var(--line);
  overflow-anchor: none;
}

.booking-widget__frame {
  min-height: 360px;
  background: var(--paper);
  overflow: hidden;
  overflow-anchor: none;
}

.booking-widget__frame iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  height: 500px;
  border: 0;
  background: var(--paper);
  overflow-anchor: none;
}

.benefits {
  background: var(--paper);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 180ms ease, transform 180ms ease;
}

.benefit-card:hover {
  background: var(--warm);
  transform: translateY(-3px);
}

.benefit-card span {
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.benefit-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.benefit-card p {
  color: var(--soft-ink);
}

.destination {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.destination__media,
.destination__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.destination__media img {
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
}

.destination::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 51, 64, 0.16) 0%, rgba(36, 51, 64, 0.76) 100%),
    linear-gradient(90deg, rgba(36, 51, 64, 0.65), rgba(36, 51, 64, 0.1));
}

.destination__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(44px, 8vw, 88px);
}

.destination__content p {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.destination__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.destination__tags span {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 13px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.reviews {
  background: var(--warm);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  margin: 0;
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.review-card blockquote {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.13;
}

.review-card figcaption {
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq {
  background: var(--paper);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(32px, 7vw, 84px);
}

.faq__intro {
  position: sticky;
  top: 112px;
  align-self: start;
}

.faq__intro p {
  margin-top: 24px;
  color: var(--soft-ink);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  color: var(--teal);
  font-size: 1.15rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 680px;
  padding: 0 0 24px;
  color: var(--soft-ink);
}

.next-apartments {
  background: linear-gradient(90deg, var(--warm) 0%, var(--paper) 100%);
}

.next-apartments__inner {
  display: grid;
  justify-items: start;
  max-width: 820px;
}

.next-apartments p {
  margin: 24px 0 32px;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 62px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.6fr) minmax(160px, 0.6fr);
  gap: clamp(32px, 6vw, 84px);
}

.site-footer__logo {
  width: 170px;
  margin-bottom: 22px;
}

.site-footer p {
  max-width: 410px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__content {
    padding-top: 130px;
  }

  .hero__facts {
    left: 20px;
    right: 20px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero__facts span {
    white-space: nowrap;
  }

  .intro__grid,
  .apartment__layout,
  .booking__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .booking-widget {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .apartment__details,
  .faq__intro {
    position: static;
  }

  .benefit-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 62px 0;
  }

  .brand-link img {
    width: 154px;
  }

  .site-header {
    padding: 14px;
  }

  .mobile-menu {
    inset: 72px 0 auto 0;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(36, 51, 64, 0.32) 0%, rgba(36, 51, 64, 0.82) 100%),
      linear-gradient(90deg, rgba(36, 51, 64, 0.52), rgba(36, 51, 64, 0.18));
  }

  .hero__content {
    padding: 94px 0 128px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__facts {
    bottom: 14px;
  }

  .hero__facts span {
    min-height: 42px;
    padding: 11px 13px;
    font-size: 0.68rem;
  }

  .intro h2,
  .booking h2,
  .destination h2,
  .faq h2,
  .next-apartments h2 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .section-heading h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .detail-list,
  .gallery,
  .benefit-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item--large {
    min-height: 330px;
  }

  .booking-widget__frame {
    min-height: 300px;
  }

  .booking-widget__frame iframe {
    min-height: 560px;
    height: 560px;
  }

  .benefit-card,
  .review-card {
    min-height: auto;
  }

  .destination {
    min-height: 660px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
  }
}
