:root {
  color-scheme: light dark;
  --bg: #f4f8f7;
  --surface: #ffffff;
  --surface-2: #e8f0ee;
  --ink: #17211f;
  --muted: #5e6d69;
  --line: rgba(23, 33, 31, 0.13);
  --accent: #1f766f;
  --accent-strong: #12504b;
  --accent-soft: #d8ece8;
  --shadow: 0 24px 80px rgba(18, 80, 75, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101715;
    --surface: #17211f;
    --surface-2: #1e2b28;
    --ink: #edf5f2;
    --muted: #a9b8b3;
    --line: rgba(237, 245, 242, 0.14);
    --accent: #73c8bd;
    --accent-strong: #9be1d7;
    --accent-soft: rgba(115, 200, 189, 0.14);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(31, 118, 111, 0.08), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(23, 33, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}

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

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

button,
input {
  font: inherit;
}

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

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(calc(100% - 2rem), 1240px);
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(170px, 18vw, 226px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-links a,
.site-footer a,
.text-link {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.btn-primary {
  background: var(--accent-strong);
  color: #f7fffd;
  box-shadow: 0 14px 34px rgba(18, 80, 75, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-cta:active,
.btn:active {
  transform: translateY(1px) scale(0.99);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero {
  min-height: min(820px, calc(100dvh - 72px));
  display: grid;
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5.8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 10.4ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.hero-sub {
  max-width: 34ch;
  margin-bottom: 1.5rem;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-media {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 8% 8% auto;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  margin-top: -2.25rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: color-mix(in srgb, var(--muted) 60%, transparent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stats article {
  min-height: 142px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
}

.stats strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1;
}

.stats span,
.unit-cards span,
.process-grid span,
.review-cards span {
  color: var(--muted);
  font-size: 0.92rem;
}

.community-grid,
.unit-layout,
.location-grid,
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.community-copy {
  padding-left: clamp(0rem, 6vw, 4rem);
}

.community-copy p,
.narrow p,
.unit-copy > p,
.location-copy p,
.review-summary p,
.investment-shell > div p,
.final-cta-box p {
  max-width: 62ch;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--accent-strong);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.feature-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.feature-mosaic article {
  min-height: 190px;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(18, 80, 75, 0.08);
}

.feature-mosaic .mosaic-large {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.feature-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-mosaic span,
.unit-cards span,
.process-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.feature-mosaic strong {
  display: block;
  max-width: 12ch;
  font-size: clamp(1.55rem, 4vw, 2.8rem);
  line-height: 0.98;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.facility-card {
  position: relative;
  min-height: 260px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.facility-card:nth-child(1) {
  grid-row: span 2;
}

.facility-card:nth-child(4) {
  grid-column: span 2;
}

.visual-card {
  color: #f4fbf9;
  background:
    linear-gradient(145deg, rgba(18, 80, 75, 0.92), rgba(31, 118, 111, 0.72)),
    url("images/lounge-amenity.webp") center / cover;
  border-color: transparent;
}

.photo-card {
  min-height: 540px;
  padding: 0;
  color: #f7fffd;
  background: #123f3d;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 63, 61, 0.86), rgba(18, 63, 61, 0.08) 62%);
}

.photo-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.photo-card-copy p {
  color: rgba(247, 255, 253, 0.86);
}

.visual-card p,
.visual-card .icon-circle {
  color: rgba(244, 251, 249, 0.86);
}

.accent-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 76%, transparent), var(--surface));
}

.icon-circle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.unit-section {
  background: color-mix(in srgb, var(--surface-2) 54%, transparent);
}

.unit-media {
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-cards {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.unit-cards article {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.unit-cards strong {
  display: block;
  margin-bottom: 0.35rem;
}

.gallery-band {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.86fr 0.96fr;
  grid-auto-rows: 220px;
  align-items: end;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: 0 18px 48px rgba(18, 80, 75, 0.12);
}

.gallery-grid figure:nth-child(1) {
  grid-row: span 2;
}

.gallery-grid figure:nth-child(2) {
  grid-row: span 2;
}

.gallery-grid figure:nth-child(3) {
  grid-row: span 1;
}

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

.gallery-grid figure:nth-child(5) {
  grid-column: 3;
  grid-row: span 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-photo {
  margin: 0;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.location-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.map-card {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 24px, rgba(31, 118, 111, 0.12) 25px, transparent 26px),
    linear-gradient(0deg, transparent 24px, rgba(31, 118, 111, 0.12) 25px, transparent 26px),
    color-mix(in srgb, var(--surface) 82%, var(--accent-soft));
  background-size: 54px 54px;
  box-shadow: var(--shadow);
}

.map-line {
  position: absolute;
  height: 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 66%, transparent);
  transform-origin: left center;
}

.line-a {
  left: 8%;
  top: 50%;
  width: 82%;
  transform: rotate(-18deg);
}

.line-b {
  left: 16%;
  top: 30%;
  width: 70%;
  transform: rotate(31deg);
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 42px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: #f7fffd;
  background: var(--accent-strong);
  box-shadow: 0 16px 36px rgba(18, 80, 75, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.pin-home {
  left: 42%;
  top: 45%;
}

.pin-transit {
  left: 12%;
  top: 22%;
}

.pin-office {
  right: 12%;
  top: 28%;
}

.pin-river {
  right: 14%;
  bottom: 18%;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

.investment-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 60%, transparent), transparent),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.calculator {
  display: grid;
  gap: 1rem;
}

.calculator label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 760;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.score-output {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-strong);
  color: #f7fffd;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 850;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-grid article {
  min-height: 250px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.process-grid article:nth-child(2) {
  transform: translateY(1.4rem);
}

.reviews {
  background: color-mix(in srgb, var(--surface-2) 54%, transparent);
}

.reviews-layout {
  align-items: start;
}

.rating-box {
  display: inline-grid;
  gap: 0.2rem;
  min-width: 190px;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.rating-box strong {
  font-size: 3rem;
  line-height: 1;
}

.rating-box span {
  color: var(--muted);
}

.review-cards {
  display: grid;
  gap: 1rem;
}

.review-cards article {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.review-cards p {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
}

.review-cards strong {
  display: block;
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  padding: 0 1.2rem 1.2rem;
  margin: 0;
}

.final-cta-box {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: calc(var(--radius) + 16px);
  color: #f7fffd;
  background:
    linear-gradient(135deg, rgba(18, 80, 75, 0.95), rgba(31, 118, 111, 0.82)),
    url("images/hero-apartment.webp") center / cover;
  box-shadow: var(--shadow);
}

.final-cta-box p {
  color: rgba(247, 255, 253, 0.84);
}

.final-cta-box .btn-primary {
  color: var(--accent-strong);
  background: #f7fffd;
}

.site-footer {
  padding-block: 3rem 1.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr;
  gap: 2rem;
}

.footer-grid h2 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .delay-1 {
    animation-delay: 120ms;
  }

  .delay-2 {
    animation-delay: 220ms;
  }

  .delay-3 {
    animation-delay: 320ms;
  }

  @keyframes rise {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    white-space: normal;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero-grid,
  .community-grid,
  .unit-layout,
  .location-grid,
  .reviews-layout,
  .investment-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

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

  .facility-card:nth-child(1),
  .facility-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid figure:nth-child(3) {
    transform: none;
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body::before {
    opacity: 0.16;
  }

  .container {
    width: min(calc(100% - 1rem), var(--max));
  }

  .section-pad {
    padding-block: 3.2rem;
  }

  .nav-shell {
    width: min(calc(100% - 1rem), 1240px);
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 162px;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    left: 0.5rem;
    right: 0.5rem;
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding-top: 2.8rem;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .stats,
  .process-grid,
  .footer-grid,
  .footer-bottom,
  .facility-grid,
  .feature-mosaic,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:nth-child(3) {
    grid-column: auto;
  }

  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .community-copy {
    padding-left: 0;
  }

  .map-card,
  .location-photo {
    min-height: 360px;
  }

  .process-grid article:nth-child(2) {
    transform: none;
  }

  .footer-bottom {
    display: grid;
  }
}
