:root {
  --ink: #4d4d4d;
  --forest: #338c7d;
  --moss: #4f8c0d;
  --accent: #4f8c0d;
}

body {
  color: #4d4d4d;
}

.brand-logo {
  width: clamp(175px, 17vw, 245px);
  height: 54px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header {
  border-bottom: 3px solid #338c7d;
}

.nav a:hover,
.nav a:focus-visible,
.agent a:hover,
footer a:hover {
  color: #4f8c0d;
}

.header-cta {
  color: #338c7d;
  border-color: #338c7d;
}

.header-brokerage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid rgba(77, 77, 77, .22);
  flex: 0 0 auto;
}

.header-brokerage span {
  color: #7b827e;
  font: 600 8px Manrope, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-brokerage img {
  width: 58px;
  height: 32px;
  object-fit: contain;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: white;
  background: #338c7d;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(29, 67, 61, .72) 0%, rgba(51, 140, 125, .2) 62%, rgba(51, 140, 125, .06));
}

.hero-badge,
.toast {
  color: white;
  background: #4f8c0d;
}

.eyebrow {
  color: #338c7d;
}

.eyebrow.light {
  color: #e7f5f2;
}

.text-link,
.feature-list article,
.agent {
  border-color: rgba(51, 140, 125, .3);
}

.feature-list article > span,
.feature-list h3 {
  color: #338c7d;
}

.residences,
.contact {
  background: #338c7d;
}

.contact-simple {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(60px, 12vw, 180px);
}

.contact-action {
  border-top: 1px solid rgba(255, 255, 255, .35);
  padding-top: 26px;
}

.contact-action > span {
  display: block;
  margin-bottom: 22px;
  color: #dcece9;
  font-size: 13px;
}

.contact-button {
  width: 100%;
  border: 0;
  background: white;
  color: #338c7d;
  padding: 18px 20px;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: #4f8c0d;
  color: white;
}

.contact-action p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
}

.specs {
  border-color: rgba(255, 255, 255, .35);
}

.button.light {
  border-color: rgba(255, 255, 255, .7);
}

.button.dark,
.pin {
  background: #4d4d4d;
}

.button.dark:hover,
.button.dark:focus-visible,
.submit:hover,
.submit:focus-visible {
  background: #4f8c0d;
  color: white;
}

.map-card {
  background: #e2ede8;
  border-color: rgba(51, 140, 125, .3);
}

.map-grid {
  background-image: linear-gradient(rgba(51, 140, 125, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 140, 125, .2) 1px, transparent 1px);
}

.lake {
  color: #338c7d;
}

.agent-avatar.accent {
  background: #4f8c0d;
}

.agent-logo {
  background: white;
  border: 1px solid rgba(51, 140, 125, .25);
  padding: 6px;
}

.agent-logo img {
  object-fit: contain;
}

.agent-photo { height: 118px; overflow: hidden; background: #e7e7e3; }
.agent-photo img { object-fit: cover; object-position: center top; }
.agent-brokerage { width: max-content; min-height: 24px; display: flex; align-items: center; margin: 0 0 13px; }
.agent-brokerage.exp img { width: 54px; height: 26px; object-fit: contain; object-position: left center; }
.agent-brokerage.royal { padding-left: 10px; border-left: 3px solid #d71920; color: #222; font: 700 12px Manrope, sans-serif; }

.brokerage-lockup {
  display: grid;
  grid-template-columns: 82px minmax(90px, 120px) 1fr;
  gap: 22px;
  align-items: center;
  padding: 25px 27px;
  border-top: 1px solid rgba(51, 140, 125, .3);
}

.brokerage-lockup > span,
.footer-brokerage > span {
  color: #338c7d;
  font: 600 10px Manrope, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brokerage-lockup img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brokerage-lockup p {
  margin: 0;
  color: #758078;
  font-size: 12px;
  line-height: 1.5;
}

footer {
  background: #4d4d4d;
  grid-template-columns: 1.2fr .9fr auto auto;
}

.footer-brand {
  width: clamp(210px, 22vw, 310px);
  height: 70px;
}

footer > small {
  border-color: rgba(255, 255, 255, .2);
}

.footer-brokerage {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-brokerage > span {
  color: rgba(255, 255, 255, .62);
}

.footer-brokerage img {
  width: 96px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}

.modal {
  background: rgba(51, 140, 125, .97);
}

.mobile-break {
  display: none;
}

.hero > img { animation: hero-drift 14s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.04); } to { transform: scale(1.12); } }

.film-section { padding: 16px var(--pad) 0; background: var(--paper); }
.film-poster { position: relative; height: min(76vh, 760px); min-height: 560px; overflow: hidden; color: white; }
.film-poster > img { transition: transform 1.2s ease; }
.film-poster:hover > img { transform: scale(1.025); }
.film-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,31,23,.78), rgba(14,31,23,.1) 68%), linear-gradient(0deg, rgba(14,31,23,.35), transparent 45%); }
.film-copy { position: absolute; left: clamp(28px,6vw,88px); top: 50%; transform: translateY(-50%); }
.film-copy h2 { font: 500 clamp(52px,7vw,104px)/.94 Manrope,sans-serif; margin: 0 0 42px; }
.film-play { display: flex; align-items: center; gap: 18px; padding: 0; color: white; background: transparent; border: 0; cursor: pointer; text-align: left; }
.play-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: white; color: var(--ink); transition: .25s; }
.film-play:hover .play-icon { transform: scale(1.08); background: var(--accent); color: white; }
.film-play strong, .film-play small { display: block; }
.film-play strong { font: 600 14px Manrope; }
.film-play small { margin-top: 5px; color: #d8e2dc; font-size: 11px; }
.film-index { position: absolute; right: 28px; bottom: 25px; font: 600 10px Manrope; letter-spacing: 1px; text-transform: uppercase; }

.investment { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; background: #eceee8; }

/* Residence availability */
.availability { background: var(--paper); }
.availability-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 10vw; align-items: end; margin-bottom: clamp(48px,7vw,88px); }
.availability-heading h2 { font: 500 clamp(44px,5.5vw,80px)/.98 Manrope,sans-serif; margin: 0; }
.availability-heading > p { max-width: 520px; margin: 0; color: #657169; line-height: 1.7; }
.availability-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(51,140,125,.3); border-bottom: 1px solid rgba(51,140,125,.3); }
.unit-card { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid rgba(51,140,125,.3); }
.unit-card:last-child { border-right: 0; }
.unit-photo { position: relative; overflow: hidden; background: #dfe5df; }
.unit-photo img { width: 100%; height: auto; object-fit: contain; transition: opacity .25s ease; }
.unit-card:hover .unit-photo img { opacity: .94; }
.unit-card-body { min-height: 380px; padding: 26px clamp(20px,2.4vw,36px) 30px; display: flex; flex-direction: column; }
.unit-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.unit-level { color: var(--forest); font: 700 10px Manrope,sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.status { padding: 7px 10px; border-radius: 999px; color: #fff; background: var(--accent); font: 600 9px Manrope,sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.unit-building { margin: 40px 0 7px; color: #7b8780; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.unit-card h3 { margin: 0 0 24px; color: var(--ink); font: 500 clamp(27px,2.4vw,38px) Manrope,sans-serif; }
.unit-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0; margin-bottom: 20px; border-top: 1px solid rgba(51,140,125,.22); border-bottom: 1px solid rgba(51,140,125,.22); color: #657169; font-size: 11px; }
.unit-price { display: grid; gap: 5px; min-height: 57px; margin-bottom: 26px; }
.unit-price span { color: #858e89; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }
.unit-price strong { color: var(--ink); font: 600 clamp(15px,1.5vw,21px) Manrope,sans-serif; }
.unit-card a { width: max-content; margin-top: auto; padding-bottom: 7px; border-bottom: 1px solid #9eb9b1; color: var(--forest); font-size: 13px; font-weight: 600; }
.unit-card a span { margin-left: 24px; }
.unit-card.pending { background: #eceee8; }
.unit-card.pending .status { background: #777f7a; }
.unit-card.blue-unit { position: relative; box-shadow: inset 0 4px 0 #338c7d; }
.unit-card.blue-unit .unit-photo::after { content: "Blue residence"; position: absolute; left: 0; bottom: 0; padding: 9px 12px; background: #338c7d; color: white; font: 700 9px Manrope,sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.unit-unavailable { color: #858c88; font-size: 12px; }
.availability-note { margin: 18px 0 0; color: #858e89; font-size: 10px; }
.investment-heading h2 { font: 500 clamp(44px,5.3vw,78px)/.98 Manrope,sans-serif; margin: 0; }
.investment-heading > p:not(.eyebrow) { max-width: 560px; line-height: 1.7; color: #5d6961; margin: 30px 0; }
.investment-grid { display: grid; grid-template-columns: 1fr 1fr; }
.investment-grid article { padding: 34px 30px; border-top: 1px solid #bdc7bf; }
.investment-grid article:nth-child(odd) { border-right: 1px solid #bdc7bf; }
.investment-grid strong { font: 500 clamp(42px,5vw,70px) Manrope; color: var(--forest); }
.investment-grid h3 { font: 600 16px Manrope; margin: 16px 0 8px; }
.investment-grid p { font-size: 13px; line-height: 1.55; color: #68736c; margin: 0; }

.video-modal { position: fixed; inset: 0; z-index: 80; background: rgba(9,18,14,.96); display: none; place-items: center; padding: clamp(18px,5vw,70px); }
.video-modal.active { display: grid; }
.video-frame { width: min(1180px,100%); aspect-ratio: 16/9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; right: 24px; top: 18px; color: white; background: transparent; border: 0; font-size: 38px; cursor: pointer; line-height: 1; }

@media (max-width: 900px) {
  .investment { grid-template-columns: 1fr; }
  .availability-grid { grid-template-columns: 1fr 1fr; }
  .unit-card:nth-child(2) { border-right: 0; }
  .unit-card:nth-child(-n+2) { border-bottom: 1px solid rgba(51,140,125,.3); }
  .header-brokerage { margin-left: auto; }
  .menu-button { margin-left: 0; flex: 0 0 auto; }
}

/* Cinematic hero sequence */
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 1.4s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img { transform: scale(1.035); }
.hero-slide.active img { animation: slide-zoom 8s ease-out both; }
@keyframes slide-zoom { from { transform: scale(1.035); } to { transform: scale(1.105); } }
.hero-shade, .hero-copy, .hero-badge, .hero-controls { z-index: 3; }
.hero-controls { position: absolute; right: 242px; bottom: 22px; display: flex; align-items: center; gap: 14px; color: white; }
.hero-arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(20,36,29,.12); color: white; cursor: pointer; transition: .25s; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: white; color: var(--forest); }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 24px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.42); cursor: pointer; overflow: hidden; position: relative; }
.hero-dot::after { content: ""; position: absolute; inset: 0; background: white; transform: scaleX(0); transform-origin: left; }
.hero-dot.active::after { animation: dot-progress 7s linear both; }
@keyframes dot-progress { to { transform: scaleX(1); } }
.hero-count { min-width: 45px; font: 500 10px Manrope,sans-serif; letter-spacing: 1px; }
.hero-count b { font-size: 13px; }

/* Editorial interior walk-through */
.interior-story { padding-bottom: clamp(80px,10vw,150px); overflow: hidden; }
.interior-heading { display: grid; grid-template-columns: 1fr 1.2fr .7fr; gap: 5vw; align-items: end; padding-bottom: clamp(55px,7vw,90px); }
.interior-heading .eyebrow { align-self: start; }
.interior-heading h2 { font: 500 clamp(44px,5.5vw,80px)/.98 Manrope,sans-serif; margin: 0; }
.interior-heading > p:last-child { color: #657169; line-height: 1.65; margin: 0; }
.interior-mosaic { padding: 0 var(--pad); display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 310px 260px 430px; gap: 16px; }
.interior-shot { margin: 0; overflow: hidden; position: relative; }
.interior-shot img { transition: transform 1s ease; }
.interior-shot:hover img { transform: scale(1.025); }
.interior-shot figcaption { display: flex; gap: 16px; align-items: center; }
.interior-shot figcaption span { color: var(--forest); font: 600 10px Manrope,sans-serif; }
.interior-wide { grid-row: 1 / 3; }
.interior-tall { grid-row: 1 / 2; }
.interior-detail { grid-row: 2 / 3; width: 82%; justify-self: end; }
.interior-room { grid-column: 1 / 2; width: 72%; margin-left: 10%; }
.interior-last { grid-column: 2 / 3; margin-top: 70px; height: 360px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active img, .hero-dot.active::after { animation: none; transition: none; }
}

@media (max-width: 600px) {
  .site-header { gap: 12px; }
  .brand-logo {
    width: 170px;
    height: 44px;
  }

  .header-brokerage {
    gap: 7px;
    padding-left: 10px;
  }

  .header-brokerage span { display: none; }
  .header-brokerage img { width: 42px; height: 26px; }

  .footer-brand {
    width: 225px;
    height: 58px;
  }

  .mobile-break {
    display: inline;
  }

  .brokerage-lockup {
    grid-template-columns: 64px 90px;
    gap: 16px;
    padding: 22px 0;
  }

  .brokerage-lockup p {
    grid-column: 1 / -1;
  }

  .agent-photo { height: 92px; }

  .footer-brokerage {
    grid-column: 1;
  }

  .contact-simple {
    grid-template-columns: 1fr;
  }

  .film-section { padding: 0; }
  .film-poster { min-height: 620px; height: 78svh; }
  .film-copy { left: 24px; right: 24px; }
  .film-copy h2 { font-size: 52px; }
  .investment { gap: 56px; }
  .investment-grid { grid-template-columns: 1fr; }
  .investment-grid article:nth-child(odd) { border-right: 0; }
  .availability-heading { grid-template-columns: 1fr; gap: 28px; }
  .availability-grid { grid-template-columns: 1fr; }
  .unit-card { border-right: 0; border-bottom: 1px solid rgba(51,140,125,.3); }
  .unit-card-body { min-height: 300px; }
  .unit-card:last-child { border-bottom: 0; }
  .hero-controls { right: 18px; bottom: 92px; gap: 8px; }
  .hero-bottom { width: min(300px, calc(100vw - 48px)) !important; }
  .hero-bottom p { max-width: 300px !important; }
  .hero-dots, .hero-count { display: none; }
  .hero-arrow { width: 36px; height: 36px; }
  .interior-heading { grid-template-columns: 1fr; gap: 22px; }
  .interior-heading h2 { font-size: 46px; }
  .interior-mosaic { padding: 0 18px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 390px 250px 310px; gap: 10px; }
  .interior-wide { grid-column: 1 / -1; grid-row: 1; }
  .interior-tall { grid-column: 1; grid-row: 2; }
  .interior-detail { grid-column: 2; grid-row: 2; width: 100%; }
  .interior-room { grid-column: 1; grid-row: 3; width: 100%; margin: 0; }
  .interior-last { grid-column: 2; grid-row: 3; margin: 0; height: auto; }
  .interior-shot figcaption { padding: 10px; font-size: 10px; }
}
