:root {
  --burgundy: #912b3b;
  --burgundy-dark: #6e1f2c;
  --burgundy-soft: #a94a58;
  --cream: #f6efe4;
  --sand: #eadbc8;
  --paper: #fffdf9;
  --ink: #1d1614;
  --muted: #5d534c;
  --line: rgba(29, 22, 20, 0.12);
  --gold: #b0894f;
  --shadow: 0 16px 40px rgba(29, 22, 20, 0.1);
  --radius: 18px;
  --header-h: 4.5rem;
  --max: 1120px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

main {
  flex: 1;
  position: relative;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy-dark);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  isolation: isolate;
  background: var(--burgundy);
  color: #fff;
  min-height: var(--header-h);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.logo:hover,
.logo:focus-visible {
  color: #fff;
}

.logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav ul {
  display: flex;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  min-height: min(78vh, 42rem);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(29, 22, 20, 0.18) 0%, rgba(29, 22, 20, 0.55) 48%, rgba(29, 22, 20, 0.82) 100%);
}

.hero-inner,
.section,
.page-hero {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero-inner {
  padding: 4.5rem 0 5.4rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 650;
}

.hero h1,
.page-hero h1,
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 650;
  line-height: 1.15;
  color: var(--ink);
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  max-width: 14ch;
}

.lead {
  margin: 0 0 1.6rem;
  font-size: 1.15rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-light {
  background: var(--paper);
  color: var(--burgundy);
  border-color: var(--line);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--burgundy-dark);
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-header p,
.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.feature,
.card,
.price-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature {
  padding: 1.35rem 1.4rem 1.2rem;
}

.feature strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.welcome h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.teasers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.teaser {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.teaser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.teaser-body,
.price-card,
.contact-card,
.legal {
  padding: 1.4rem 1.5rem 1.5rem;
}

.teaser h3,
.price-card h2,
.contact-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}

.meta li,
.chip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.banner {
  width: 100%;
  max-height: 12rem;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.page-hero {
  padding: 2.6rem 0 0.4rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-hero p {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0 0 2.5rem;
  list-style: none;
}

.amenity-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.apartment {
  padding-bottom: 3rem;
}

.apartment h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.apartment > p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.floorplan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.8rem;
}

.floorplan .gallery-item {
  background: transparent;
  border-radius: 8px;
}

.floorplan img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.room {
  margin-bottom: 2rem;
}

.room h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.room p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sand);
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.floorplan .gallery-item img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 16rem;
}

.gallery-single {
  max-width: 22rem;
  margin-bottom: 1.8rem;
}

.map-note {
  margin: 1rem 0 0;
}

.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.price-card.featured {
  background: var(--burgundy);
  color: #fff;
  border-color: transparent;
}

.price-card.featured h2,
.price-card.featured p,
.price-card.featured li {
  color: #fff;
}

.rate {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
  margin: 0.4rem 0 0.2rem;
}

.rate small {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.rate-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.price-card .rate-list {
  padding-left: 0;
}

.rate-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.rate-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.rate-amount {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 650;
}

.rate-label {
  font-size: 0.95rem;
  opacity: 0.92;
  text-align: right;
}

.price-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.contact-card {
  height: 100%;
}

.contact-card address {
  font-style: normal;
  margin: 0 0 1rem;
}

.contact-card dl {
  margin: 0 0 1.2rem;
}

.contact-card dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-card dd {
  margin: 0 0 0.8rem;
}

.map-wrap {
  min-height: 22rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
}

.map-consent {
  min-height: 22rem;
  height: 100%;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  background: var(--paper);
}

.map-consent p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.map-consent strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.map-consent .btn {
  align-self: flex-start;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
}

.legal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal h2,
.legal h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.25rem;
}

.legal h2:first-child,
.legal h3:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a {
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.4rem 0 1.6rem;
  margin-top: 2rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  background: rgba(18, 12, 12, 0.92);
  padding: 1rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lightbox-ui button {
  pointer-events: auto;
  position: absolute;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.95rem;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .features,
  .split,
  .teasers,
  .amenity-list,
  .price-grid,
  .contact-layout,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .features {
    margin-top: 1.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--burgundy-dark);
    padding: 0.6rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .features,
  .split,
  .teasers,
  .amenity-list,
  .price-grid,
  .contact-layout,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img {
    transition: none;
  }
}
