@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,700&family=Fragment+Mono&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=switzer@400,500,700,900&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════ */
:root {
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fragment Mono', monospace;
  --color-bg: #031124;
  --color-surface: #0a1b38;
  --color-white: #e0f2fe;
  --color-muted: rgba(224, 242, 254, 0.65);
  --color-border: rgba(224, 242, 254, 0.15);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL BLUR
════════════════════════════════════════════ */
.reveal-blur {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(30px);
  transition: opacity 1s var(--ease-smooth), filter 1s var(--ease-smooth), transform 1s var(--ease-smooth);
}

.reveal-blur.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 5%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.navbar-logo {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-white);
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.25s ease;
}

.navbar-links a:hover {
  color: var(--color-white);
}

.navbar-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.navbar-cta:hover {
  background: var(--color-white);
  color: #000;
}

/* ═══════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  z-index: 2;
}

/* Hero content — static, only bg changes */
.hero-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  z-index: 3;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-badge {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.0;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  background: var(--color-white);
  color: #000;
  border: 1.5px solid var(--color-white);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-cta:hover {
  background: transparent;
  color: var(--color-white);
}

/* Slide thumbnails — bottom right */
.hero-thumbs {
  position: absolute;
  bottom: 3%;
  right: 5%;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-thumb {
  width: 80px;
  height: 52px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 1px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.55;
}

.hero-thumb.active {
  border-color: var(--color-white);
  opacity: 1;
}

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

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.hero-progress-fill {
  height: 100%;
  background: var(--color-white);
  width: 0%;
  transition: width 50ms linear;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.scroll-hint-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 11px;
  position: relative;
}

.scroll-hint-wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  60% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
}

/* ═══════════════════════════════════════════
   PROJECTS / PROPERTIES SECTION
   (Sticky scroll-stacking)
════════════════════════════════════════════ */
.projects-wrapper {
  position: relative;
  height: 400vh;
  z-index: 2;
}

.projects-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.project-card {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  will-change: transform;
}

.project-card.stacked {
  transform: translateY(0);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(0, 0, 0, 0.65) 100%);
}

.project-card-content {
  position: relative;
  z-index: 2;
  padding: 0 8% 5%;
  width: 100%;
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.05;
}

.project-card-location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.project-card-actions {
  display: flex;
  gap: 1rem;
}

.project-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  border: 1.5px solid;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.project-btn.primary {
  background: var(--color-white);
  color: #000;
  border-color: var(--color-white);
}

.project-btn.primary:hover {
  background: transparent;
  color: var(--color-white);
}

.project-btn.secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.project-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════ */
.about {
  position: relative;
  z-index: 3;
  background: var(--color-bg);
  width: 100%;
  height: 100vh;
  padding: 5rem 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 2.5rem 6%;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 10rem);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.5px;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.about-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin-bottom: 1rem;
}

.about-link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.about-link:hover {
  background: var(--color-white);
  color: #000;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}

.about-landscape {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
}

.about-caption {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 500px;
}

/* ═══════════════════════════════════════════
   COMMUNITIES SECTION
════════════════════════════════════════════ */
.communities {
  position: relative;
  z-index: 4;
  background: var(--color-bg);
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-top: 3rem;
}

.communities-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

/* Marquee */
.marquee-wrap {
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
  height: 80%;
  max-height: 600px;
  animation: scrollLeft 40s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.comm-card {
  position: relative;
  width: 26vw;
  min-width: 240px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

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

.comm-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%);
}

.comm-card-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.comm-card-label .thin {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

.comm-card-label .bold {
  font-weight: 600;
  color: #fff;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
════════════════════════════════════════════ */
.testimonials {
  position: relative;
  z-index: 5;
  background: var(--color-bg);
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 4rem 8% 3rem;
}

.testimonials-heading {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

.testimonials-body {
  display: flex;
  flex: 1;
  gap: 8%;
  min-height: 0;
  align-items: flex-start;
}

.testimonials-img-panel {
  position: relative;
  width: 38%;
  max-width: 420px;
  flex-shrink: 0;
  height: 100%;
  max-height: 68vh;
  overflow: hidden;
  border-radius: 1px;
}

.testimonials-img-panel .t-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.testimonials-img-panel .t-slide.active {
  opacity: 1;
}

.testimonials-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-height: 68vh;
}

.t-slides-wrap {
  position: relative;
  min-height: 180px;
}

.t-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.t-slide-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.t-stars {
  font-size: 1rem;
  color: var(--color-white);
  letter-spacing: 4px;
}

.t-quote {
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.t-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.3rem;
}

.t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.t-role {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
}

.testimonials-nav {
  position: absolute;
  bottom: 3rem;
  right: 8%;
  display: flex;
  gap: 0.4rem;
}

.t-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.t-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ═══════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════ */
.cta-section {
  position: relative;
  z-index: 6;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.cta-section:hover .cta-bg {
  transform: scale(1.0);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.0;
  letter-spacing: -0.5px;
}

.cta-sub {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  border: 1.5px solid;
  transition: background 0.25s ease, color 0.25s ease;
}

.cta-btn.primary {
  background: var(--color-white);
  color: #000;
  border-color: var(--color-white);
}

.cta-btn.primary:hover {
  background: transparent;
  color: var(--color-white);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-portrait {
    aspect-ratio: 16/9;
  }

  .testimonials-body {
    flex-direction: column;
  }

  .testimonials-img-panel {
    width: 100%;
    max-width: none;
    height: 40vh;
  }

  .comm-card {
    width: 70vw;
  }

  .hero-content {
    left: 5%;
    bottom: 20%;
  }

  .navbar-links {
    display: none;
  }
}