:root {
  --ink: #17201d;
  --muted: #61706b;
  --paper: #fbfaf7;
  --stone: #e7e0d4;
  --sand: #cbb795;
  --copper: #9b5f3d;
  --teal: #225a55;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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;
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .mobile-action-bar {
  display: none;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(13, 19, 17, 0.74), rgba(13, 19, 17, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 34px);
  font-size: 0.85rem;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--white);
}

.mobile-action-bar {
  display: none;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 76px) 42px;
  overflow: hidden;
  color: var(--white);
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 19, 17, 0.85) 0%, rgba(13, 19, 17, 0.42) 48%, rgba(13, 19, 17, 0.2) 100%),
    linear-gradient(0deg, rgba(13, 19, 17, 0.78) 0%, rgba(13, 19, 17, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-bottom: clamp(120px, 12vw, 170px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead6b5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7.4vw, 7.5rem);
}

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

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.price-card {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 76px);
  bottom: 42px;
  width: min(380px, calc(100vw - 40px));
  padding: 28px;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.price-card > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card > strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 500;
  line-height: 1;
}

.price-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 32, 29, 0.14);
}

.price-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.price-card dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.gallery-section,
.tour-section,
.details-band,
.location-section,
.contact-section {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 5vw, 76px);
}

.tour-copy p,
.residence-story p,
.location-copy p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

.brochure-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 90, 85, 0.28);
  color: var(--teal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 32, 29, 0.12);
  border-bottom: 1px solid rgba(23, 32, 29, 0.12);
}

.feature-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 46px);
  border-right: 1px solid rgba(23, 32, 29, 0.12);
  background: var(--white);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.tour-section {
  background: #12211f;
  color: var(--white);
}

.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.76fr);
  gap: clamp(18px, 2.8vw, 36px);
  align-items: stretch;
}

.tour-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: 12px;
}

.tour-copy .eyebrow {
  grid-column: 1;
  color: #d9bd8d;
}

.tour-copy h2 {
  grid-column: 1;
  max-width: 820px;
}

.tour-copy > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.tour-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #0d1311;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.video-frame::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-photo-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tour-photo-stack figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #0d1311;
}

.tour-photo-stack img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.tour-photo-stack figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.residence-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  margin-top: clamp(54px, 7vw, 92px);
  padding-top: clamp(38px, 5vw, 62px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.residence-story .eyebrow {
  color: #d9bd8d;
}

.residence-story p {
  color: rgba(255, 255, 255, 0.72);
}

.tour-features {
  margin-top: clamp(30px, 5vw, 58px);
  border-color: rgba(255, 255, 255, 0.16);
}

.tour-features article {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
}

.tour-features span {
  color: #d9bd8d;
}

.tour-features p {
  color: rgba(255, 255, 255, 0.68);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.58fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.gallery-heading > div {
  min-width: 0;
}

.gallery-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.gallery-heading-visual {
  display: grid;
  gap: 14px;
  align-content: end;
  justify-items: end;
}

.gallery-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.gallery-mini-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.gallery-heading-visual > span {
  justify-self: end;
  width: max-content;
  padding: 11px 14px;
  border: 1px solid rgba(23, 32, 29, 0.16);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-tour-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 34px);
  background: #12211f;
  color: var(--white);
}

.gallery-tour-feature .eyebrow {
  color: #d9bd8d;
}

.gallery-tour-feature h3 {
  max-width: 420px;
  margin-bottom: 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 500;
  line-height: 0.98;
}

.gallery-tour-feature p:not(.eyebrow) {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-video-frame {
  position: relative;
  overflow: hidden;
  background: #0d1311;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.gallery-video-frame::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.gallery-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, 24vw);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--stone);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.details-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 8vw, 120px);
  background: var(--teal);
  color: var(--white);
}

.details-panel .eyebrow {
  color: #d9bd8d;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
}

.location-image {
  min-height: 520px;
  overflow: hidden;
  background: var(--stone);
}

.location-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.location-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.location-stats span {
  padding: 10px 12px;
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 480px);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: #f1eee7;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  display: grid;
  gap: 4px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(23, 32, 29, 0.1);
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(23, 32, 29, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 90, 85, 0.4);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 56px);
  background: rgba(8, 13, 12, 0.92);
  color: var(--white);
}

.lightbox figure {
  display: grid;
  gap: 14px;
  width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: min(78svh, 760px);
  object-fit: contain;
  background: #0a0f0e;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

.lightbox figcaption {
  min-height: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox button {
  position: absolute;
  min-width: 54px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.lightbox button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  padding: 0 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.previous {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero-content {
    padding-bottom: 280px;
  }

  .price-card {
    left: clamp(20px, 5vw, 76px);
    right: auto;
  }

  .tour-layout,
  .tour-copy,
  .residence-story,
  .gallery-tour-feature,
  .details-band,
  .location-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .tour-photo-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .tour-copy > p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .feature-grid article:nth-child(2n) {
    border-right: 0;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(230px, 48vw);
  }

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

  .gallery-heading-visual {
    align-content: start;
    justify-items: start;
  }

  .gallery-mini-strip {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 74px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 100px 20px 98px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 19, 17, 0.9) 0%, rgba(13, 19, 17, 0.52) 100%),
      linear-gradient(0deg, rgba(13, 19, 17, 0.86) 0%, rgba(13, 19, 17, 0.12) 64%);
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-content {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .button {
    width: 100%;
  }

  .price-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100vw - 40px);
    margin-top: 28px;
    padding: 22px;
  }

  .price-card dl {
    grid-template-columns: 1fr;
  }

  .tour-photo-stack {
    grid-template-columns: 1fr;
  }

  .tour-photo-stack img {
    min-height: 240px;
  }

  .feature-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 32, 29, 0.12);
  }

  .feature-grid span {
    margin-bottom: 30px;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-heading-visual {
    width: 100%;
    justify-items: start;
  }

  .gallery-mini-strip {
    max-width: 520px;
  }

  .gallery-heading-visual > span {
    width: max-content;
  }

  .gallery {
    display: flex;
    gap: 12px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item,
  .gallery-item.large {
    flex: 0 0 min(82vw, 340px);
    width: min(82vw, 340px);
    height: 280px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .location-image,
  .location-image img {
    min-height: 360px;
  }

  footer {
    flex-direction: column;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 45;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    background: rgba(18, 33, 31, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 52px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .lightbox {
    padding: 64px 12px 86px;
  }

  .lightbox img {
    max-height: 68svh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-nav.previous {
    left: 12px;
  }

  .lightbox-nav.next {
    right: 12px;
  }
}
