:root {
  --model-bg: #e9e8e8;
  --model-surface: #ffffff;
  --model-text: #1f2328;
  --model-muted: #5a5a5a;
  --model-line: #d5d5d5;
  --model-brand: #3daead;
}

.model-page-body {
  background: var(--model-bg);
  color: var(--model-text);
}

.model-main {
  padding-top: 0;
}

.model-hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.model-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 25, 0.8) 0%, rgba(20, 22, 25, 0.48) 54%, rgba(20, 22, 25, 0.16) 100%);
}

.model-hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 10rem 0 4.8rem;
  max-width: 820px;
}

.model-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--model-brand);
}

.model-hero-copy h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.model-hero-copy p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.model-quick-facts {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.model-quick-facts span {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.42rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.model-content {
  padding: 4rem 0;
  background: #e5e4e4;
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.model-main-column {
  display: grid;
  gap: 1rem;
}

.model-card {
  background: #efefef;
  border: none;
  padding: 1.35rem;
}

.model-card h2 {
  margin: 0 0 0.8rem;
  color: #252525;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  font-weight: 900;
}

.model-card p {
  margin: 0;
  color: var(--model-muted);
  line-height: 1.55;
  font-size: 1rem;
}

.model-card p + p {
  margin-top: 0.75rem;
}

.model-bullets {
  margin: 1rem 0 0;
  padding: 0;
  color: var(--model-muted);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.model-bullets li {
  position: relative;
  background: #e3e3e3;
  padding: 0.72rem 0.75rem 0.72rem 2rem;
  color: #3f3f3f;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
}

.model-bullets li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  width: 0.46rem;
  height: 0.46rem;
  background: var(--model-brand);
}

.model-side-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--model-brand);
  font-weight: 900;
}

.model-side-value {
  margin: 0.4rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.model-side-value small {
  font-size: 0.78rem;
  color: #66717c;
  font-weight: 700;
}

.model-side-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--model-brand);
  color: #fff;
  padding: 0.78rem 1rem;
  font-weight: 900;
  border: 1px solid var(--model-brand);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

.model-side-cta:hover {
  background: #2f8f8f;
  border-color: #2f8f8f;
}

.model-side-card {
  position: sticky;
  top: 118px;
  height: fit-content;
  background: #353636;
  color: #ffffff;
}

.model-side-card p:not(.model-side-label) {
  color: rgba(255, 255, 255, 0.84);
}

.model-media {
  padding: 0;
  display: grid;
  gap: 1rem;
}

.model-plan-slider {
  position: relative;
  background: #f4f4f4;
  border: none;
  padding: 1rem;
  margin-bottom: 0;
}

.model-plan-slider::before {
  content: "Floor Plans + Elevations";
  display: block;
  margin: 0 0 0.75rem;
  color: #525252;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.model-plan-slide {
  display: none;
}

.model-plan-slide.is-active {
  display: block;
}

.model-plan-slide img {
  width: 100%;
  height: min(60vh, 560px);
  object-fit: contain;
  background: #ffffff;
}

.model-plan-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(53, 54, 54, 0.9);
  color: #ffffff;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.model-plan-prev {
  left: 1.2rem;
}

.model-plan-next {
  right: 1.2rem;
}

.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.model-gallery img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: none;
  filter: saturate(0.98);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.model-gallery img:hover {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}
.model-project-gallery {
  padding-top: 0;
}
.model-gallery-headline {
  margin: 0 0 1rem;
}
.model-gallery-note {
  margin: 0 0 1.4rem;
  color: var(--model-muted);
}
.model-gallery-block + .model-gallery-block {
  margin-top: 1.2rem;
}
.model-gallery-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.model-gallery figure {
  margin: 0;
}
.model-gallery figcaption {
  margin-top: 0.35rem;
  color: #5a6673;
  font-size: 0.76rem;
  line-height: 1.35;
}

.model-gallery-clickable {
  cursor: zoom-in;
}

.model-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 10, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 5.2rem 2.6rem;
}

.model-lightbox[hidden] {
  display: none !important;
}

.model-lightbox-stage {
  width: min(1180px, 100%);
  height: min(84vh, 820px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
}

.model-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(223, 232, 241, 0.3);
  background: #0f141a;
}

.model-lightbox-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 0.8rem;
  align-items: center;
  color: #ffffff;
}

.model-lightbox-meta p {
  margin: 0;
}

.model-lightbox-label {
  color: #3daead;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-lightbox-caption {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.35;
}

.model-lightbox-count {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.model-lightbox-close,
.model-lightbox-nav {
  border: 1px solid rgba(223, 232, 241, 0.45);
  background: rgba(12, 16, 21, 0.7);
  color: #fff;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.model-lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}

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

.model-lightbox-prev {
  left: 1.1rem;
}

.model-lightbox-next {
  right: 1.1rem;
}

.model-lightbox-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .model-lightbox {
    padding: 4.2rem 1rem 1.4rem;
  }

  .model-lightbox-stage {
    height: 82vh;
  }

  .model-lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .model-lightbox-prev {
    left: 1rem;
  }

  .model-lightbox-next {
    right: 1rem;
  }

  .model-lightbox-meta {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-bottom: 3.4rem;
  }
}

.v8-premium-footer {
  margin-top: 0;
  background: #353636;
  border-top: 1px solid rgba(61, 174, 173, 0.45);
  color: #e6f1f0;
}

.v8-premium-footer-wrap {
  padding: 2.4rem 0 2.2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.v8-premium-footer-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.v8-premium-footer-logo .v8-premium-footer-tagline {
  margin: 0.7rem 0 0;
  color: #3daead;
  font-weight: 700;
  font-size: 1rem;
}

.v8-premium-footer-main {
  display: grid;
  gap: 1rem;
}

.v8-premium-footer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.v8-premium-footer-item {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 0.85rem;
}

.v8-premium-footer-label {
  margin: 0;
  color: #84bdbb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.v8-premium-footer-value {
  margin: 0.3rem 0 0;
  color: #eef6f5;
  font-size: 1.03rem;
  line-height: 1.35;
  font-weight: 600;
}

.v8-premium-footer-line {
  margin: 0;
  color: #d4e4e3;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.v8-premium-footer-bottomline {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.8rem;
}

.v8-memberships {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.v8-memberships span {
  color: #84bdbb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.v8-memberships-logos {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.v8-membership-logo {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(5, 7, 10, 0.24);
  padding: 10px;
  overflow: hidden;
}

.v8-membership-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v8-premium-footer-credits {
  background: #353636;
  border-top: 1px solid rgba(205, 204, 204, 0.28);
}

.v8-premium-footer-credits p {
  margin: 0;
  padding: 0.8rem 0;
  color: #b9c8cd;
  font-size: 0.82rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.v8-premium-footer-credits a {
  color: #3daead;
  font-weight: 700;
  text-decoration: none;
}

.v8-premium-footer-credits a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .model-layout {
    grid-template-columns: 1fr;
  }

  .model-side-card {
    position: static;
    top: auto;
  }

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

  .v8-premium-footer-wrap {
    grid-template-columns: 1fr;
  }

  .v8-premium-footer-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .model-hero {
    min-height: 52svh;
  }

  .model-hero-copy {
    padding: 8rem 0 3.5rem;
  }

  .model-content {
    padding: 2.4rem 0;
  }

  .model-bullets {
    grid-template-columns: 1fr;
  }

  .model-plan-slide img {
    height: 420px;
  }

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