:root {
  --ink: #102a3d;
  --ink-deep: #091c2a;
  --gold: #c99b51;
  --gold-soft: #ead4ad;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #edf1f2;
  --line: #d7dfe1;
  --text: #263742;
  --muted: #687983;
  --shadow: 0 24px 65px rgba(8, 28, 41, 0.14);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.top {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #072e50;
  color: var(--white);
  backdrop-filter: blur(14px);
}

.top-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 190px;
  height: auto;
  display: block;
}

.brand-office {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  padding-left: 12px;
  color: #d8e2e8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #dce5e9;
  font-size: 0.82rem;
}

.nav a,
.phone,
.footer a {
  text-decoration: none;
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

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

.phone {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 155, 81, 0.18), transparent 26rem),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-areas:
    "copy visual"
    "price visual";
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: 28px clamp(38px, 5vw, 68px);
  align-items: start;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
  padding-top: 24px;
}

.hero-visual {
  position: relative;
  grid-area: visual;
  align-self: center;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #d6d0c4;
  box-shadow: 0 28px 74px rgba(3, 16, 24, 0.34);
}

.hero-visual::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(5, 20, 30, 0.66));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
}

.hero-visual figcaption span {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 28, 42, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  font-weight: 500;
  text-align: right;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-soft);
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 590px;
  color: var(--white);
  font-size: clamp(3rem, 4.45vw, 4.5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.08;
}

.hero-copy > p:not(.kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d7e0e4;
  font-size: 1.08rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-gold {
  background: var(--gold);
  color: var(--ink-deep);
}

.button-gold:hover {
  background: #d6ab65;
}

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

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

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.button-block {
  width: 100%;
  margin-top: 12px;
}

.price-card {
  position: relative;
  z-index: 1;
  grid-area: price;
  align-self: start;
  border-left: 5px solid var(--gold);
  padding: 22px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.price-card > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin: 5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  transform: translateY(50%);
  background: var(--white);
  box-shadow: 0 15px 45px rgba(7, 25, 37, 0.18);
  color: var(--ink);
}

.stat {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b,
.stat small {
  display: block;
}

.stat b {
  font-size: 1.2rem;
}

.stat small {
  margin-top: 2px;
  color: var(--muted);
}

.property {
  padding-top: 142px;
  padding-bottom: 86px;
}

.property-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
  gap: clamp(40px, 7vw, 82px);
}

.property article > p:not(.eyebrow) {
  font-size: 1.03rem;
}

.points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 13px 0 13px 24px;
}

.points li::before {
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--gold);
  content: "◆";
  font-size: 0.62rem;
}

.contact-card {
  align-self: start;
  border-top: 4px solid var(--gold);
  padding: 30px;
  background: var(--mist);
}

.contact-card h3,
.viewer-copy h3,
.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

.contact-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.notice {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.projection-section {
  padding: 90px 0;
  background: var(--mist);
}

.section-heading {
  margin-bottom: 32px;
}

.split-heading,
.tour-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
}

.heading-copy {
  margin: 0;
  color: var(--muted);
}

.projection-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 28px;
  border: 1px solid #d9c49e;
  padding: 13px 16px;
  background: #fffaf0;
  color: #665335;
  font-size: 0.86rem;
}

.projection-note span {
  color: var(--gold);
}

.projection-note p {
  margin: 0;
}

.room-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding: 3px 3px 8px;
  scrollbar-width: thin;
}

.room-tab {
  flex: 0 0 auto;
  border: 1px solid #c8d1d4;
  border-radius: 999px;
  padding: 10px 15px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.room-tab span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.room-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.room-tab.is-active span {
  color: #cdd9de;
}

.viewer-shell {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.viewer-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-deep);
}

.viewer-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--ink-deep);
  cursor: zoom-in;
  touch-action: pan-y;
}

.viewer-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(4, 17, 25, 0.28));
  content: "";
  pointer-events: none;
}

.viewer-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 180ms ease, transform 400ms ease;
}

.viewer-media:hover .viewer-image {
  transform: scale(1.015);
}

.viewer-image.is-changing {
  opacity: 0.25;
}

.zoom-hint {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(8, 28, 42, 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}

.viewer-copy {
  min-width: 0;
}

.viewer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 28px 30px 25px;
}

.viewer-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.viewer-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 500;
}

.viewer-description {
  margin: 4px 0 0;
  color: var(--muted);
}

.viewer-count {
  display: block;
  color: #98a6ac;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  text-align: right;
}

.viewer-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
}

.viewer-arrows {
  display: flex;
  gap: 8px;
}

.viewer-arrow {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.viewer-arrow:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.viewer-progress {
  height: 2px;
  background: var(--line);
}

.viewer-progress span {
  width: 33.333%;
  height: 100%;
  display: block;
  background: var(--gold);
  transition: width 220ms ease;
}

.variant-panel {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 24px;
  width: 248px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 15px;
  background: rgba(7, 30, 45, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.variant-panel-title {
  margin: 0 0 10px;
  color: #dfe8ec;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.variant-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.variant-card {
  min-height: 52px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  padding: 8px 11px 8px 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.variant-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.variant-name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
}

.variant-card:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.17);
}

.variant-card.is-active {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.variant-card.is-active .variant-number {
  background: var(--gold);
  color: var(--ink-deep);
}

.tour-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(201, 155, 81, 0.16), transparent 23rem),
    var(--ink);
  color: var(--white);
}

.tour-section h2 {
  color: var(--white);
}

.tour-copy p {
  margin: 0 0 20px;
  color: #d4dfe4;
}

.matterport-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 16 / 9;
  background: var(--ink-deep);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.matterport-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.details {
  padding: 88px 0;
}

.details {
  background: var(--mist);
}

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

.card {
  min-height: 220px;
  border: 1px solid var(--line);
  padding: 25px;
  background: var(--white);
}

.card-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #bd6b4b;
  padding: 3px 8px;
  color: #a84e2c;
  font-size: 0.76rem;
  font-weight: 800;
}

.final-cta {
  padding: 58px 0;
  background: var(--ink-deep);
  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta-inner,
.footer-inner,
.final-actions,
.footer-contact {
  display: flex;
  align-items: center;
}

.final-cta-inner,
.footer-inner {
  justify-content: space-between;
  gap: 32px;
}

.final-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.text-link {
  color: var(--white);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.footer {
  padding: 34px 0;
  background: #072e50;
  color: var(--white);
}

.footer p {
  margin: 7px 0 0;
  color: #afbec5;
  font-size: 0.84rem;
}

.footer-brand .brand-logo {
  width: 230px;
}

.footer-contact {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  width: min(1200px, calc(100% - 34px));
  max-width: none;
  height: min(88vh, 900px);
  max-height: none;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(3, 13, 20, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox figure {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

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

.lightbox figcaption {
  color: #e2eaed;
  font-size: 0.88rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 2px;
  right: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(9, 28, 42, 0.88);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.lightbox-close span {
  margin-left: 5px;
  font-size: 1.1rem;
}

@media (max-width: 960px) {
  .top-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 12px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "price";
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    width: 100%;
  }

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

  .price-card {
    width: 100%;
    max-width: none;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 740px) {
  .wrap {
    width: min(100% - 32px, 1160px);
  }

  html {
    scroll-padding-top: 120px;
  }

  .top-inner {
    min-height: 62px;
  }

  .brand-office {
    display: none;
  }

  .brand-logo {
    width: 158px;
  }

  .phone {
    font-size: 0.82rem;
  }

  .nav {
    gap: 22px;
    margin-inline: -16px;
    padding-inline: 16px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

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

  .price-card {
    padding: 24px;
  }

  .stats {
    margin-top: 42px;
  }

  .stat {
    padding: 16px;
  }

  .stat b {
    font-size: 1rem;
  }

  .stat small {
    font-size: 0.76rem;
  }

  .property {
    padding-top: 118px;
    padding-bottom: 65px;
  }

  .projection-section,
  .tour-section,
  .details {
    padding: 66px 0;
  }

  .split-heading,
  .tour-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .room-tabs {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .viewer-meta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .viewer-navigation {
    justify-content: space-between;
  }

  .viewer-count {
    text-align: left;
  }

  .variant-panel {
    top: 10px;
    right: 10px;
    width: 138px;
    padding: 8px;
  }

  .variant-panel-title {
    margin-bottom: 6px;
    font-size: 0.56rem;
  }

  .variant-list {
    gap: 5px;
  }

  .variant-card {
    min-height: 42px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 6px;
    padding: 5px;
  }

  .variant-number {
    width: 26px;
    height: 26px;
    font-size: 0.58rem;
  }

  .variant-name {
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .zoom-hint {
    right: auto;
    bottom: 10px;
    left: 10px;
    padding: 6px 9px;
    font-size: 0.66rem;
  }

  .matterport-frame {
    margin-inline: -16px;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-left: 0;
  }

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

  .final-cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .stats {
    grid-template-columns: 1fr;
    transform: translateY(34%);
  }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .property {
    padding-top: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
