/* ============ TOKENS ============ */
:root {
  --bg: #FAFAFA;
  --bg-alt: #F4F6F9;
  --bg-dark: #0D1F35;
  --charcoal: #1F1F1F;
  --inverse: #FAFAFA;
  --navy: #1A3A5C;
  --steel: #5B7B9A;
  --glow: #7AA9D6;
  --stone: #7A7A7A;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --pad-x: clamp(24px, 6vw, 120px);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-power: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
}

html {
  scroll-behavior: auto;
}

body {
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 960px) {
  body {
    cursor: auto;
  }
}

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

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

button {
  font-family: inherit;
  cursor: none;
  border: 0;
  background: none;
}

::selection {
  background: var(--navy);
  color: #fff;
}

/* Lenis */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ============ CURTAIN REVEAL ============ */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.curtain__panel {
  background: var(--navy);
  height: 100%;
}

.curtain__logo {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 10000;
  pointer-events: none;
}

.curtain__logo svg {
  transform: scale(1.2);
}

.curtain__logo .name {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  color: #fff;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--steel);
  z-index: 200;
  pointer-events: none;
}

/* ============ CUSTOM CURSOR ============ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  transition: width 300ms var(--ease-smooth), height 300ms var(--ease-smooth), background 300ms var(--ease-smooth), border-color 300ms var(--ease-smooth);
  display: grid;
  place-items: center;
}

.cursor.is-large {
  width: 88px;
  height: 88px;
  background: rgba(26, 58, 92, 0.95);
  border-color: var(--navy);
}

.cursor.is-large.on-dark {
  background: rgba(255, 255, 255, 0.95);
  border-color: #fff;
}

.cursor__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 200ms;
  white-space: nowrap;
}

.cursor.is-large .cursor__label {
  opacity: 1;
}

.cursor.is-large.on-dark .cursor__label {
  color: var(--navy);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 169, 214, 0.15) 0%, rgba(122, 169, 214, 0) 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 400ms;
  mix-blend-mode: multiply;
}

.cursor-glow.hide {
  opacity: 0;
}

@media (max-width: 960px) {

  .cursor,
  .cursor-glow {
    display: none;
  }
}

/* ============ COMMON ============ */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

.eyebrow.on-dark {
  color: var(--glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 32px;
  transition: background 350ms var(--ease-smooth), color 350ms var(--ease-smooth), border-color 350ms var(--ease-smooth);
  position: relative;
  will-change: transform;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: #0F2940;
}

.btn--outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn .arrow {
  transition: transform 350ms var(--ease-smooth);
}

.btn:hover .arrow {
  transform: translateX(6px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 6px;
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms var(--ease-smooth);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.section-eyebrow {
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-title.on-dark {
  color: var(--inverse);
}

.section-sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 640px;
}

/* Split text prep */
.split-prep .char {
  display: inline-block;
  transform: translateY(110%) rotateX(-90deg);
  transform-origin: 50% 100%;
  opacity: 0;
}

.split-prep .word {
  display: inline-block;
  overflow: hidden;
  perspective: 600px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: transparent;
  transition: background 400ms var(--ease-smooth), backdrop-filter 400ms var(--ease-smooth), border-color 400ms var(--ease-smooth);
  border-bottom: 1px solid transparent;
  opacity: 0;
}

.nav.is-scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(91, 123, 154, 0.25);
}

.nav.is-dark {
  background: rgba(13, 31, 53, 0.85);
  border-bottom-color: rgba(122, 169, 214, 0.2);
}

.nav.is-dark .nav__logo-name,
.nav.is-dark .nav__links a {
  color: #fff;
}

.nav.is-dark .nav__logo-sub {
  color: var(--glow);
}

.nav.is-dark .btn--primary {
  background: #fff;
  color: var(--navy);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
}

.nav__logo-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.05;
  display: block;
}

.nav__logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 250ms var(--ease-smooth);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  height: 100vh;
  min-height: 720px;
  display: grid;
  grid-template-columns: 60fr 40fr;
  position: relative;
  overflow: hidden;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
}

.hero__ghost {
  position: absolute;
  left: -2vw;
  top: 22vh;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22vw;
  line-height: 0.85;
  color: var(--navy);
  opacity: 0.05;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  letter-spacing: -0.04em;
  will-change: transform;
}

.hero__eyebrow {
  margin-bottom: 36px;
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.4vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--navy);
  position: relative;
}

.hero__headline span.line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0;
}

.hero__subline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.2;
  color: var(--steel);
  margin-top: 32px;
  max-width: 620px;
}

.hero__body {
  margin-top: 32px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(31, 31, 31, 0.78);
}

.hero__buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: #0a1620;
  clip-path: inset(100% 0 0 0);
}

.hero__photo {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  will-change: transform;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 31, 53, 0.15) 0%, rgba(26, 58, 92, 0.55) 100%);
}

.hero__caption {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  z-index: 2;
  color: #fff;
}

.hero__caption-line {
  width: 1px;
  height: 80px;
  background: var(--glow);
}

.hero__caption-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.7;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
}

.hero__scroll-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: var(--steel);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: translateY(0) scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(6px) scaleY(0.7);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 120px;
  }

  .hero__copy {
    padding-bottom: 60px;
  }

  .hero__media {
    height: 70vh;
    min-height: 480px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__ghost {
    font-size: 38vw;
  }
}

/* ============ STATS (Sticky scroll-jack) ============ */
.stats {
  position: relative;
  background: var(--bg-alt);
  height: 400vh;
}

.stats__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stats__bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
}

.stats__bg-lines svg {
  width: 100%;
  height: 100%;
}

.stats__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 600ms var(--ease-expo), transform 600ms var(--ease-expo);
  text-align: center;
  padding: 0 var(--pad-x);
}

.stats__panel.is-active {
  opacity: 1;
  transform: scale(1);
}

.stats__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 0.9;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}

.stats__num .plus {
  color: var(--steel);
  font-size: 0.6em;
  margin-left: 0.05em;
}

.stats__label {
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--steel);
}

.stats__detail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.stats__progress {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.stats__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 58, 92, 0.2);
  transition: background 300ms, transform 300ms;
}

.stats__dot.is-active {
  background: var(--navy);
  transform: scale(1.4);
}

/* Stats detail backgrounds */
.stats__timeline {
  position: absolute;
  bottom: 22%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.stats__timeline-tick {
  width: 1px;
  height: 14px;
  background: var(--steel);
  opacity: 0.5;
}

.stats__timeline span.year-active {
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

.stats__constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats__india {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0.1;
}

.stats__icons {
  position: absolute;
  bottom: 22%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 var(--pad-x);
}

.stats__icon {
  width: 56px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-smooth), transform 500ms var(--ease-smooth);
}

.stats__panel.is-active .stats__icon {
  opacity: 1;
  transform: none;
}

.stats__icon svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  color: var(--navy);
}

.stats__icon-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ============ VISION ============ */
.vision {
  position: relative;
  padding: 160px var(--pad-x);
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.vision__ghost {
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 50vw;
  color: var(--navy);
  opacity: 0.04;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  will-change: transform;
}

.vision__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.vision__rule {
  width: 0;
  height: 2px;
  background: var(--steel);
  margin: 0 auto 40px;
  transition: width 800ms var(--ease-expo);
}

.vision__rule.in {
  width: 80px;
}

.vision__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.vision__quote .word {
  display: inline-block;
  opacity: 0;
  transition: opacity 600ms var(--ease-smooth);
}

.vision__attr {
  margin-top: 48px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ============ MARQUEE PROJECTS (Dark) ============ */
.marquee-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--inverse);
  height: 600vh;
}

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

.marquee-section__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18vw;
  white-space: nowrap;
  color: #fff;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.02em;
  will-change: transform;
}

.marquee-section__header {
  position: absolute;
  top: 80px;
  left: var(--pad-x);
  z-index: 5;
  max-width: 720px;
}

.marquee-section__counter {
  position: absolute;
  top: 80px;
  right: var(--pad-x);
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--glow);
  z-index: 5;
  line-height: 1;
}

.marquee-section__counter .total {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6em;
}

.marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  gap: 4vw;
  padding-left: 8vw;
  padding-right: 8vw;
  will-change: transform;
}

.marquee-card {
  position: relative;
  width: 70vw;
  height: 78vh;
  flex-shrink: 0;
  overflow: hidden;
}

.marquee-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  clip-path: inset(0);
  transition: transform 1200ms var(--ease-expo);
}

.marquee-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 31, 53, 0.05) 0%, rgba(13, 31, 53, 0.7) 100%);
}

.marquee-card__info {
  position: absolute;
  left: 48px;
  bottom: 48px;
  display: flex;
  gap: 24px;
  align-items: stretch;
  z-index: 2;
  max-width: 80%;
}

.marquee-card__rule {
  width: 2px;
  background: var(--glow);
  flex-shrink: 0;
}

.marquee-card__num {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--glow);
  text-transform: uppercase;
}

.marquee-card__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
  margin-top: 12px;
  color: #fff;
}

.marquee-card__meta {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ ONGOING ============ */
.ongoing {
  position: relative;
  padding: 140px var(--pad-x) 120px;
  background: var(--bg);
}

.ongoing__header {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin-bottom: 64px;
}

.ongoing__rotated {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right top;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.ongoing__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.proj-card {
  position: relative;
  cursor: none;
}

.proj-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a1620;
}

.proj-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms var(--ease-expo);
  will-change: transform;
}

.proj-card:hover .proj-card__img {
  transform: scale(1.06);
}

.proj-card__mask {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateX(0);
  transition: transform 1200ms var(--ease-expo);
}

.proj-card.in .proj-card__mask {
  transform: translateX(101%);
}

.proj-card.alt-mask .proj-card__mask {
  transition: transform 1200ms var(--ease-expo);
}

.proj-card.alt-mask.in .proj-card__mask {
  transform: translateX(-101%);
}

.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0);
  transition: background 500ms var(--ease-smooth);
  z-index: 2;
}

.proj-card:hover .proj-card__overlay {
  background: rgba(26, 58, 92, 0.32);
}

.proj-card__num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.18em;
  z-index: 3;
}

.proj-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  z-index: 3;
}

.proj-card__badge::before,
.proj-card__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--glow);
}

.proj-card__badge::after {
  background: rgba(122, 169, 214, 0.6);
  animation: pulseRing 1.6s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.proj-card__info {
  padding-top: 16px;
}

.proj-card__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.proj-card__name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--steel);
  transition: width 400ms var(--ease-smooth);
}

.proj-card:hover .proj-card__name::after {
  width: 100%;
}

.proj-card__loc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--stone);
}

@media (max-width: 1080px) {
  .ongoing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .ongoing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ongoing__rotated {
    display: none;
  }
}

/* ============ AIRPORTS GRID ============ */
.airports {
  background: var(--bg-alt);
  padding: 140px var(--pad-x);
  position: relative;
}

.airports__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.airports__sub {
  margin-top: 20px;
  color: var(--stone);
  font-size: 16px;
}

.airports__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.airports__grid .proj-card {
  display: flex;
  flex-direction: column;
}

.airports__grid .proj-card .proj-card__media {
  aspect-ratio: auto;
  flex: 1;
}

.a-large {
  grid-column: span 2;
  grid-row: span 2;
}

.a-mid {
  grid-column: span 2;
}

.a-small {
  grid-column: span 1;
}

.airports__footer-note {
  margin-top: 48px;
  text-align: center;
  color: var(--stone);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .airports__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .a-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .a-mid,
  .a-small {
    grid-column: span 1;
  }
}

/* ============ METRO horizontal hijack ============ */
.metro {
  position: relative;
  background: var(--bg);
  height: 500vh;
}

.metro__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.metro__header {
  padding: 100px var(--pad-x) 0;
  z-index: 5;
}

.metro__bg-text {
  position: absolute;
  bottom: 8%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28vw;
  color: var(--navy);
  opacity: 0.06;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  will-change: transform;
}

.metro__track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 60px var(--pad-x);
  flex: 1;
  will-change: transform;
}

.metro-card {
  width: 320px;
  flex-shrink: 0;
  position: relative;
}

.metro-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a1620;
  position: relative;
}

.metro-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms var(--ease-expo);
}

.metro-card:hover .metro-card__img {
  transform: scale(1.05);
}

.metro-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #fff;
  z-index: 2;
  background: rgba(13, 31, 53, 0.5);
  padding: 4px 10px;
}

.metro-card__name {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
}

.metro-card__city {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.metro-divider {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 60vw;
  height: 100%;
  pointer-events: none;
}

.metro-divider span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20vw;
  color: var(--navy);
  opacity: 0.12;
  white-space: nowrap;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.metro__progress {
  position: absolute;
  bottom: 32px;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: rgba(26, 58, 92, 0.15);
  z-index: 5;
}

.metro__progress-bar {
  height: 100%;
  width: 0;
  background: var(--navy);
  transform-origin: left center;
}

/* ============ IT PARKS ============ */
.itparks {
  position: relative;
  background: var(--bg-alt);
  padding: 160px var(--pad-x);
  overflow: hidden;
}

.itparks__bg {
  position: absolute;
  top: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22vw;
  color: var(--navy);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  will-change: transform;
}

.itparks__header {
  max-width: 760px;
  margin-bottom: 80px;
}

.itparks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.itparks__col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.itparks__col .proj-card .proj-card__media {
  aspect-ratio: 4 / 5;
}

@media (max-width: 1080px) {
  .itparks__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ RESIDENTIAL CAROUSEL ============ */
.resi {
  background: var(--bg);
  padding: 140px var(--pad-x);
}

.resi__header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 64px;
}

.resi__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  min-height: 620px;
}

.resi__feature {
  position: relative;
  overflow: hidden;
  background: #0a1620;
}

.resi__feature-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 700ms var(--ease-smooth);
}

.resi__feature-img.is-active {
  opacity: 1;
  animation: kenBurns 5s ease-in-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.resi__feature-info {
  position: absolute;
  left: 32px;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  color: #fff;
}

.resi__feature-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  line-height: 1.1;
}

.resi__feature-loc {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--glow);
}

.resi__feature-bar {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.resi__feature-bar-fill {
  height: 100%;
  width: 0;
  background: var(--glow);
  transition: width 100ms linear;
}

.resi__feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 31, 53, 0) 50%, rgba(13, 31, 53, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

.resi__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}

.resi__chip {
  position: relative;
  padding: 24px 20px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid transparent;
  transition: border-color 300ms var(--ease-smooth), background 300ms var(--ease-smooth);
  cursor: none;
}

.resi__chip.is-active {
  border-left-color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 40px -12px rgba(26, 58, 92, 0.18);
}

.resi__chip-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.1em;
}

.resi__chip-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 8px;
}

.resi__chip-loc {
  margin-top: 6px;
  font-size: 12px;
  color: var(--stone);
}

@media (max-width: 1080px) {
  .resi__layout {
    grid-template-columns: 1fr;
  }

  .resi__feature {
    min-height: 60vh;
  }
}

/* ============ CLIENTS ============ */
.clients {
  position: relative;
  background: var(--bg-alt);
  padding: 140px var(--pad-x);
  overflow: hidden;
}

.clients__header {
  text-align: center;
  margin-bottom: 80px;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 32px;
  max-width: 1280px;
  margin: 0 auto;
  transition: opacity 300ms;
}

.brandlogo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients__grid.dim .logo-cell:not(:hover) {
  opacity: 0.4;
}

.logo-cell {
  height: 80px;
  display: grid;
  place-items: center;
  opacity: 0.7;
  transition: opacity 250ms var(--ease-smooth);
}

.logo-cell:hover {
  opacity: 1;
}

.logo-cell .logo-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  text-align: center;
  line-height: 1.1;
}

.clients__marquee {
  margin-top: 80px;
  overflow: hidden;
  position: relative;
}

.clients__marquee-track {
  display: flex;
  gap: 64px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: rgba(26, 58, 92, 0.3);
  white-space: nowrap;
  animation: marqueeSlide 60s linear infinite;
  width: max-content;
}

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

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

.clients__caption {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  font-size: 16px;
  color: var(--stone);
}

@media (max-width: 880px) {
  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============ CONTACT + FOOTER ============ */
.contact {
  position: relative;
  background: var(--bg-alt);
  padding: 140px var(--pad-x) 0;
}

.contact__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 100px;
}

.contact__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  color: var(--navy);
  margin-top: 24px;
}

.contact__title .line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0;
}

.contact__body {
  margin-top: 32px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--stone);
}

.contact__cta {
  margin-top: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
}

.detail__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.detail__content {
  font-size: 18px;
  line-height: 1.55;
  color: var(--charcoal);
}

.detail__link {
  position: relative;
  display: inline-block;
}

.detail__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms var(--ease-smooth);
}

.detail__link:hover::after {
  transform: scaleX(1);
}

.footer {
  border-top: 1px solid rgba(91, 123, 154, 0.3);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.footer__brand-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-top: 4px;
}

.footer__tag {
  margin-top: 8px;
  font-size: 13px;
  color: var(--stone);
}

.footer__col-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}

.footer__companies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--charcoal);
}

.footer__companies span+span::before {
  content: '·';
  margin-right: 16px;
  color: var(--stone);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 200ms;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__bottom {
  margin-top: 48px;
  padding-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--stone);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a:hover {
  color: var(--navy);
}

.footer__marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(91, 123, 154, 0.18);
  padding: 14px 0;
}

.footer__marquee-track {
  display: flex;
  gap: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(26, 58, 92, 0.5);
  white-space: nowrap;
  animation: marqueeSlide 50s linear infinite;
  width: max-content;
}

@media (max-width: 880px) {
  .contact__top {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-bottom: 64px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .split-prep .char {
    opacity: 1 !important;
    transform: none !important;
  }

  .vision__quote .word {
    opacity: 1 !important;
  }

  .vision__rule {
    width: 80px !important;
  }

  .stats__panel {
    opacity: 1 !important;
    transform: none !important;
    position: relative;
  }

  .marquee-section,
  .metro,
  .stats {
    height: auto !important;
  }

  .marquee-section__sticky,
  .metro__sticky,
  .stats__sticky {
    position: relative !important;
    height: auto !important;
  }

  .marquee-track,
  .metro__track {
    flex-wrap: wrap;
    transform: none !important;
  }

  .cursor,
  .cursor-glow {
    display: none;
  }
}