/* ============================================================
   V16 — WABI-MODERN (ACOE.jp-Inspired)
   Prospera Group | Complete Rewrite
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --dark: #1C1C1E;
  --cream: #F5F0E8;
  --sage: #5B6B5A;
  --sage-deep: #4A5548;
  --yellow: #E8C845;
  --text-dark: #1C1C1E;
  --text-light: #F5F0E8;
  --text-muted: #999;

  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --ease-smooth: cubic-bezier(0.25, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: 4vw;
}


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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: initial;
}

body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

::selection {
  background-color: var(--yellow);
  color: var(--dark);
}

ul, ol {
  list-style: none;
}


/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preloader__logo img {
  height: 868px;
  width: auto;
  animation: preloader-pulse 2s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 0px rgba(232, 200, 69, 0)); }
  50% { filter: brightness(1.15) drop-shadow(0 0 40px rgba(232, 200, 69, 0.3)); }
}

.preloader__ring {
  position: absolute;
  width: 920px;
  height: 920px;
  pointer-events: none;
}

.preloader__ring circle {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 0.4;
  stroke-linecap: round;
  stroke-dasharray: 301.6;
  stroke-dashoffset: 301.6;
  transform-origin: center;
  animation: preloader-ring-spin 2.5s linear infinite, preloader-ring-draw 2.5s ease-in-out infinite;
}

@keyframes preloader-ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloader-ring-draw {
  0% { stroke-dashoffset: 301.6; opacity: 0.3; }
  50% { stroke-dashoffset: 75.4; opacity: 1; }
  100% { stroke-dashoffset: 301.6; opacity: 0.3; }
}


/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem var(--gutter);
  z-index: 1000;
  transition: background-color 0.5s var(--ease-smooth),
              padding 0.5s var(--ease-smooth),
              transform 0.5s var(--ease-smooth);
}

.nav--scrolled {
  background-color: rgba(245, 240, 232, 0);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.2rem var(--gutter);
}

.nav--dark {
  background-color: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(16px);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: filter 0.5s var(--ease-smooth);
}

.nav__logo img {
  height: 248px;
  width: auto;
  margin: -79px 0;
}

.nav--scrolled .nav__logo {
  filter: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  background-color: var(--yellow);
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  transition: background-color 0.3s, transform 0.3s;
}

.nav__cta:hover {
  background-color: #d4b63e;
  transform: scale(1.03);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
}

.nav__hamburger {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: background-color 0.5s var(--ease-smooth);
}

.nav--scrolled .nav__hamburger-line {
  background-color: var(--text-dark);
}


/* === HERO (Cinematic Video) === */
.hero {
  position: relative;
  height: 100vh;
  background-color: var(--dark);
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 30, 0.3) 0%,
    rgba(28, 28, 30, 0.05) 40%,
    rgba(28, 28, 30, 0.15) 70%,
    rgba(28, 28, 30, 0.7) 100%
  );
  z-index: 1;
}

/* Sound toggle */
.hero__sound-toggle {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, background 0.3s;
}

.hero__sound-toggle:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.2);
}

.hero__sound-icon {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hero__sound-icon--on {
  display: none;
}

.hero__sound-toggle.is-unmuted .hero__sound-icon--off {
  display: none;
}

.hero__sound-toggle.is-unmuted .hero__sound-icon--on {
  display: block;
}

/* Scroll indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero__scroll-hint span {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* === INTRO (Title Section) === */
.intro {
  background-color: var(--cream);
  padding: clamp(6rem, 10vw, 10rem) var(--gutter) clamp(4rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}

.intro__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.intro__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8.5vw, 9rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  text-transform: uppercase;
  flex-shrink: 0;
}

.intro__title-line {
  display: block;
  overflow: hidden;
}

.intro__title-line:nth-child(1) {
  padding-left: 0;
}

.intro__title-line:nth-child(2) {
  padding-left: clamp(2rem, 6vw, 8rem);
}

.intro__title-line:nth-child(3) {
  padding-left: 0;
}

.intro__title-line:nth-child(4) {
  padding-left: clamp(3rem, 8vw, 10rem);
}

.intro__title-inner {
  display: inline-block;
}

.intro__right {
  max-width: 280px;
  padding-top: clamp(1rem, 3vw, 4rem);
  flex-shrink: 0;
}

.intro__description {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2.5rem;
}

.intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  background-color: var(--yellow);
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: background-color 0.3s, transform 0.3s;
}

.intro__cta:hover {
  background-color: #d4b63e;
  transform: scale(1.03);
}

.intro__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.intro__cta:hover svg {
  transform: translateX(3px);
}


/* === PROPERTY CAROUSEL === */
.carousel {
  background-color: var(--cream);
  padding: 4rem 0 4rem;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  flex: 0 0 260px;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.carousel__item:hover {
  transform: translateY(-4px);
}

.carousel__image-wrap {
  width: 260px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.carousel__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.carousel__item:hover .carousel__image-wrap img {
  transform: scale(1.05);
}

.carousel__number {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark);
  background-color: var(--yellow);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.carousel__name {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.carousel__subtitle {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: #999;
  margin-top: 0.2rem;
}


/* === BRAND CIRCLE SECTION === */
.brand-circle {
  background-color: var(--dark);
  padding: clamp(8rem, 14vw, 16rem) 0 0;
  position: relative;
  overflow: hidden;
}

.brand-circle__container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(4rem, 8vw, 10rem);
}

.brand-circle__orb {
  width: clamp(320px, 45vw, 550px);
  height: clamp(320px, 45vw, 550px);
  background-color: var(--sage);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.brand-circle__text-top {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-transform: uppercase;
}

.brand-circle__text-bottom {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-circle__icon {
  font-size: clamp(1.2rem, 2vw, 2rem);
  opacity: 0.7;
}

.brand-circle__transition {
  height: clamp(80px, 12vw, 160px);
  background: linear-gradient(to bottom, var(--dark), var(--sage));
}


/* === SCATTERED GALLERY === */
.scattered-gallery {
  background-color: var(--sage);
  position: relative;
  min-height: 100vh;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) clamp(6rem, 10vw, 12rem);
  overflow: hidden;
}

.scattered-gallery__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: clamp(600px, 75vh, 900px);
}

.scattered-gallery__item {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

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

.scattered-gallery__item--1 {
  width: clamp(180px, 22vw, 300px);
  height: clamp(140px, 18vw, 240px);
  top: 2%;
  left: 5%;
  transform: rotate(-3deg);
}

.scattered-gallery__item--2 {
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  top: 10%;
  left: 30%;
  transform: rotate(2deg);
}

.scattered-gallery__item--3 {
  width: clamp(220px, 28vw, 380px);
  height: clamp(160px, 20vw, 260px);
  top: 0%;
  right: 5%;
  transform: rotate(1deg);
}

.scattered-gallery__item--4 {
  width: clamp(200px, 24vw, 320px);
  height: clamp(200px, 26vw, 340px);
  bottom: 18%;
  left: 10%;
  transform: rotate(-1deg);
}

.scattered-gallery__item--5 {
  width: clamp(220px, 28vw, 360px);
  height: clamp(180px, 22vw, 280px);
  bottom: 10%;
  right: 8%;
  transform: rotate(3deg);
}

.scattered-gallery__item--6 {
  width: clamp(160px, 18vw, 240px);
  height: clamp(120px, 14vw, 180px);
  top: 50%;
  left: 42%;
  transform: rotate(-2deg) translateY(-50%);
}

.scattered-gallery__text {
  position: absolute;
  top: 3%;
  right: 5%;
  max-width: 280px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.65);
  text-align: right;
}

/* Hover effect on scattered items */
.scattered-gallery__item {
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), z-index 0s;
}

.scattered-gallery__item:hover {
  transform: scale(1.15) rotate(0deg) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 10;
}

.scattered-gallery__item:hover img {
  transform: scale(1.05);
}

.scattered-gallery__item img {
  transition: transform 0.5s var(--ease-out);
}

/* Lightbox */
.scattered-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.scattered-gallery__lightbox.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.scattered-gallery__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.scattered-gallery__lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.85);
  transition: transform 0.5s var(--ease-out);
}

.scattered-gallery__lightbox.is-active .scattered-gallery__lightbox-content {
  transform: scale(1);
}

.scattered-gallery__lightbox-content img {
  display: block;
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
}

.scattered-gallery__lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
  z-index: 10;
}

.scattered-gallery__lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.scattered-gallery__lightbox-close svg {
  width: 18px;
  height: 18px;
  color: #fff;
}


/* === VALUES SECTION (Yellow) === */
.values {
  background-color: var(--yellow);
  position: relative;
  padding: clamp(4rem, 6vw, 8rem) var(--gutter) clamp(2rem, 3vw, 4rem);
  overflow: hidden;
}

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

.values__title {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 10rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.values__description {
  max-width: 340px;
  margin-left: auto;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(28, 28, 30, 0.7);
}

.values__description-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark);
  opacity: 0.5;
}

.values__waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.values__waves svg {
  position: absolute;
  width: 100%;
  height: 100%;
}


/* === VIDEO FEATURE SECTION === */
.video-feature {
  background-color: var(--yellow);
  position: relative;
  padding: 0 var(--gutter) clamp(3rem, 5vw, 6rem);
  overflow: hidden;
}

.video-feature__container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-feature__circle {
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--dark);
  margin-bottom: clamp(3rem, 5vw, 5rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-feature__circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3D Model Viewer inside circle */
.video-feature__circle model-viewer {
  width: 100%;
  height: 100%;
  display: block;
  --poster-color: transparent;
  outline: none;
  background: transparent;
}

.video-feature__circle model-viewer::part(default-progress-bar) {
  background-color: var(--yellow);
  height: 3px;
}

/* Loading state for 3D model */
.video-feature__circle .model-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}

.video-feature__circle .model-fallback svg {
  opacity: 0.5;
}

.video-feature__circle .model-fallback span {
  opacity: 0.4;
}

.model-viewer__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(28, 28, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  pointer-events: none;
}

.video-feature__text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
}

.video-feature__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--dark);
  text-transform: uppercase;
}

.video-feature__info {
  max-width: 340px;
  padding-top: 2.5rem;
}

.video-feature__info-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark);
  opacity: 0.5;
}

.video-feature__info p {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(28, 28, 30, 0.7);
}

.video-feature__waves {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


/* === OUR PROJECTS (Split Layout) === */
.projects-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.projects-split__left {
  background-color: var(--cream);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter);
  display: flex;
  flex-direction: column;
}

.projects-split__header {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.projects-split__label {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.1;
}

.projects-split__subtitle {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: #999;
  margin-top: 0.8rem;
  max-width: 400px;
  line-height: 1.6;
}

.projects-split__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.projects-split__list-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: padding-left 0.3s var(--ease-out);
}

.projects-split__list-item:hover,
.projects-split__list-item.is-active {
  padding-left: 0.5rem;
}

.projects-split__list-number {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark);
  background-color: var(--yellow);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  min-width: 32px;
  text-align: center;
  letter-spacing: 0.02em;
}

.projects-split__list-name {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.projects-split__list-type {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: #999;
  margin-left: auto;
}

.projects-split__list-icons {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.projects-split__list-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-split__list-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--cream);
}

/* Right panel */
.projects-split__right {
  background-color: var(--dark);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.projects-split__detail-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.projects-split__detail-number {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
}

.projects-split__detail-location {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

.projects-split__detail-name {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.projects-split__detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.projects-split__detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-split__detail-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.projects-split__detail-stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.projects-split__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.projects-split__stat-value {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
}

.projects-split__stat-label {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.projects-split__detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  background-color: var(--yellow);
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  transition: background-color 0.3s, transform 0.3s;
}

.projects-split__detail-cta:hover {
  background-color: #d4b63e;
  transform: scale(1.03);
}

.projects-split__detail-cta svg {
  width: 14px;
  height: 14px;
}


/* === MARQUEE === */
.marquee {
  background-color: var(--dark);
  padding: clamp(2rem, 3vw, 3rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}

.marquee__text {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0 2rem;
  flex-shrink: 0;
}

.marquee__separator {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--yellow);
  padding: 0 1rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* === CTA CARD === */
.cta-card {
  background-color: var(--cream);
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
}

.cta-card__inner {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.cta-card__content {
  flex: 1;
}

.cta-card__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-card__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.cta-card__btn--outline {
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  background: transparent;
}

.cta-card__btn--outline:hover {
  background-color: var(--dark);
  color: var(--cream);
}

.cta-card__btn--filled {
  color: var(--dark);
  background-color: var(--yellow);
  border: 1.5px solid var(--yellow);
}

.cta-card__btn--filled:hover {
  background-color: #d4b63e;
  border-color: #d4b63e;
}

.cta-card__btn svg {
  width: 12px;
  height: 12px;
}

.cta-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  max-width: 250px;
}

.cta-card__side-text {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: #999;
  text-align: right;
}


/* === STATEMENT SECTION === */
.statement {
  background-color: var(--dark);
  padding: clamp(6rem, 10vw, 12rem) var(--gutter);
}

.statement__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.statement__text {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-light);
  text-transform: uppercase;
  max-width: 700px;
}

.statement__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  flex-shrink: 0;
}

.statement__logo {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}

.statement__description {
  max-width: 240px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  text-align: right;
}


/* === FEATURED / TESTIMONIAL === */
.featured {
  background-color: var(--cream);
  padding: clamp(6rem, 10vw, 10rem) var(--gutter) clamp(4rem, 8vw, 8rem);
  position: relative;
  overflow: hidden;
}

.featured__container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured__photos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(4rem, 7vw, 8rem);
  position: relative;
  padding: 2rem 0;
}

.featured__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

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

.featured__photo--1 {
  width: clamp(180px, 22vw, 280px);
  height: clamp(200px, 26vw, 320px);
  transform: rotate(-5deg);
  margin-top: 2rem;
}

.featured__photo--2 {
  width: clamp(160px, 20vw, 260px);
  height: clamp(160px, 20vw, 260px);
  transform: rotate(3deg);
  border-radius: 16px;
}

.featured__photo--3 {
  width: clamp(200px, 24vw, 300px);
  height: clamp(160px, 20vw, 240px);
  transform: rotate(-2deg);
  margin-top: 3rem;
}

.featured__waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.featured__waves svg {
  width: 100%;
  height: 100%;
}

.featured__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.featured__label-group {
  flex-shrink: 0;
}

.featured__label {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.featured__see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid var(--yellow);
  background-color: transparent;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.featured__see-all:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

.featured__see-all svg {
  width: 12px;
  height: 12px;
}

.featured__quote-area {
  flex: 1;
  max-width: 700px;
}

.featured__quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.featured__attribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.featured__author {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dark);
}

.featured__author-role {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: #999;
}

.featured__nav {
  display: flex;
  gap: 0.8rem;
}

.featured__nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.featured__nav-btn:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

.featured__nav-btn:hover svg {
  stroke: var(--cream);
}

.featured__nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* === FOOTER === */
.footer {
  background-color: var(--dark);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter) 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
}

.footer__tagline {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.footer__description {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  max-width: 300px;
}

.footer__col-title {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.footer__link {
  display: block;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--yellow);
}

.footer__contact-item {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.footer__contact-link {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer__contact-link:hover {
  color: var(--yellow);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background-color 0.3s;
}

.footer__social-link:hover {
  border-color: var(--yellow);
  background-color: var(--yellow);
}

.footer__social-link svg {
  width: 14px;
  height: 14px;
  fill: rgba(255,255,255,0.6);
  transition: fill 0.3s;
}

.footer__social-link:hover svg {
  fill: var(--dark);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 2rem;
}

.footer__copy {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

.footer__bottom-tagline {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.6;
}


/* === SCROLL-DRIVEN ANIMATION SUPPORT === */

/* GPU-accelerated transforms for scrubbed animations.
   backface-visibility: hidden promotes to own compositor layer without
   the drawback of will-change (which reserves GPU memory permanently). */
.intro__title-line,
.brand-circle__orb,
.video-feature__circle,
.values__title,
.featured__photo,
.scattered-gallery__item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.brand-circle__orb {
  transform-origin: center center;
}

.video-feature {
  /* Remove overflow:hidden so ScrollTrigger pin works correctly */
  overflow: visible;
}

.video-feature__circle {
  transform-origin: center center;
  will-change: transform, opacity;
}

.video-feature__container {
  overflow: hidden;
}

.values__title {
  transform-origin: left center;
}

.featured__photo {
  transform-origin: center center;
}

/* Statement word-by-word reveal — no CSS transition; GSAP handles everything */
.statement__text .word {
  display: inline-block;
  backface-visibility: hidden;
}

/* Pinned section z-index layering */
.video-feature.pin-spacer,
.video-feature [style*="position: fixed"] {
  z-index: 10;
}

/* Ensure sections below pinned content layer correctly */
.projects-split {
  position: relative;
  z-index: 11;
}

.marquee {
  position: relative;
  z-index: 11;
}

/* Smooth carousel grab cursor */
.carousel__track {
  user-select: none;
  -webkit-user-select: none;
}

/* Intro right column + statement — GPU layer for parallax */
.intro__right,
.statement__logo {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.statement__logo {
  transform-origin: right center;
}


/* === RESPONSIVE — 1024px === */
@media (max-width: 1024px) {
  .intro__content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .intro__right {
    max-width: 100%;
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .intro__description {
    margin-bottom: 0;
    max-width: 400px;
  }

  .projects-split {
    grid-template-columns: 1fr;
  }

  .projects-split__right {
    min-height: 60vh;
  }

  .video-feature__text {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-feature__info {
    max-width: 100%;
  }

  .statement__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .statement__right {
    align-items: flex-start;
  }

  .statement__description {
    text-align: left;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}


/* === RESPONSIVE — 768px === */
@media (max-width: 768px) {
  :root {
    --gutter: 6vw;
  }

  .nav__cta {
    display: none;
  }

  .nav__logo img {
    height: 210px;
    margin: -65px 0 -85px;
    margin-left: -20px;
  }

  .preloader__logo img {
    height: 500px;
  }

  .preloader__ring {
    width: 550px;
    height: 550px;
  }

  .intro {
    padding: 5rem var(--gutter) 3rem;
  }

  .intro__title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .intro__title-line:nth-child(2) {
    padding-left: 1.5rem;
  }

  .intro__title-line:nth-child(4) {
    padding-left: 2rem;
  }

  .intro__right {
    flex-direction: column;
    gap: 1.5rem;
  }

  .carousel__item {
    flex: 0 0 220px;
  }

  .carousel__image-wrap {
    width: 220px;
    height: 170px;
  }

  .video-feature {
    padding: 0;
  }

  .video-feature__container {
    min-height: 100vh;
    justify-content: center;
    padding: 0 var(--gutter);
  }

  .video-feature__circle {
    width: 85vw;
    height: 85vw;
    margin-bottom: 1.5rem;
  }

  .video-feature__text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .video-feature__title {
    text-align: center;
  }

  .video-feature__info {
    max-width: 100%;
    text-align: center;
    padding-top: 0;
  }

  .featured__photos {
    gap: 1rem;
  }

  .featured__photo--1 {
    width: 30%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .featured__photo--2 {
    width: 28%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .featured__photo--3 {
    width: 32%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .featured__content {
    flex-direction: column;
  }

  .cta-card__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-card__side {
    align-items: center;
  }

  .cta-card__side-text {
    text-align: center;
  }

  .cta-card__buttons {
    justify-content: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* === RESPONSIVE — 480px === */
@media (max-width: 480px) {
  .nav__logo img {
    height: 160px;
    margin: -45px 0 -65px;
    margin-left: -15px;
  }

  .preloader__logo img {
    height: 350px;
  }

  .preloader__ring {
    width: 400px;
    height: 400px;
  }

  .intro__title {
    font-size: clamp(2rem, 11vw, 4rem);
  }

  .values__title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .video-feature__title {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .video-feature__circle {
    width: 280px;
    height: 280px;
  }

  .brand-circle__orb {
    width: 260px;
    height: 260px;
  }

  .statement__text {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .featured__quote {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .featured__attribution {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel__item {
    flex: 0 0 200px;
  }

  .carousel__image-wrap {
    width: 200px;
    height: 150px;
  }

  .hero__sound-toggle {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
  }

  .hero__sound-icon {
    width: 16px;
    height: 16px;
  }
}


/* ============================================================
   PROJECT PAGES + NAV OVERLAY + PROJECT NAV LINKS
   ============================================================ */

/* === NAV PROJECT LINKS (Desktop Inline) === */
.nav__projects {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__project-link {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  transition: color 0.3s, background-color 0.3s;
}

.nav__project-link:hover {
  color: var(--cream);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav--scrolled .nav__project-link {
  color: rgba(28, 28, 30, 0.5);
}

.nav--scrolled .nav__project-link:hover {
  color: var(--dark);
  background-color: rgba(28, 28, 30, 0.06);
}

body[data-page="estates"] .nav__project-link[data-nav="estates"],
body[data-page="aarka"] .nav__project-link[data-nav="aarka"],
body[data-page="ayara"] .nav__project-link[data-nav="ayara"] {
  color: var(--yellow);
  font-weight: 600;
}

.nav__project-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.6rem;
  user-select: none;
}

.nav--scrolled .nav__project-sep {
  color: rgba(28, 28, 30, 0.15);
}


/* === NAV OVERLAY (Fullscreen Menu) === */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-smooth), visibility 0.5s;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__link {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.6rem 2rem;
  transition: color 0.3s, transform 0.3s;
  display: block;
}

.nav-overlay__link:hover {
  color: var(--yellow);
  transform: translateX(10px);
}

body[data-page="home"] .nav-overlay__link[data-nav="home"],
body[data-page="estates"] .nav-overlay__link[data-nav="estates"],
body[data-page="aarka"] .nav-overlay__link[data-nav="aarka"],
body[data-page="ayara"] .nav-overlay__link[data-nav="ayara"] {
  color: var(--yellow);
}

.nav-overlay__contact {
  margin-top: 2rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

.nav-overlay__contact a {
  color: var(--yellow);
  transition: opacity 0.3s;
}

.nav-overlay__contact a:hover {
  opacity: 0.7;
}

/* Hamburger X state */
.nav__hamburger-line {
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s, background-color 0.5s var(--ease-smooth);
}

.nav__hamburger--active .nav__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__hamburger--active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active .nav__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav__hamburger--active .nav__hamburger-line {
  background-color: var(--text-light) !important;
}


/* === PROJECT HERO === */
.project-hero {
  position: relative;
  height: 100vh;
  background-color: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero__image {
  position: absolute;
  inset: 0;
}

.project-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 30, 0.2) 0%,
    rgba(28, 28, 30, 0.0) 30%,
    rgba(28, 28, 30, 0.3) 60%,
    rgba(28, 28, 30, 0.85) 100%
  );
}

.project-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
  width: 100%;
}

.project-hero__logo {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.project-hero__name {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.project-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.project-hero__type,
.project-hero__location {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.project-hero__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--yellow);
}

.project-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.project-hero__scroll span {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.project-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}


/* === PROJECT OVERVIEW === */
.project-overview {
  background-color: var(--cream);
  padding: clamp(5rem, 8vw, 8rem) var(--gutter);
}

.project-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.project-overview__label {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-overview__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--yellow);
}

.project-overview__title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.project-overview__description {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  max-width: 500px;
}

.project-overview__stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
}

.project-overview__stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-overview__stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-overview__stat-value {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.project-overview__stat-label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}


/* === PROJECT GALLERY === */
.project-gallery {
  background-color: var(--dark);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter);
}

.project-gallery__header {
  max-width: 1200px;
  margin: 0 auto clamp(2rem, 4vw, 4rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.project-gallery__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.project-gallery__count {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.project-gallery__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-gallery__item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.project-gallery__item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.project-gallery__item:hover img {
  transform: scale(1.08);
}

.project-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* Project Gallery Lightbox */
.project-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.project-gallery__lightbox.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.project-gallery__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.project-gallery__lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.5s var(--ease-out);
}

.project-gallery__lightbox.is-active .project-gallery__lightbox-content {
  transform: scale(1);
}

.project-gallery__lightbox-content img {
  display: block;
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
}

.project-gallery__lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
  z-index: 10;
}

.project-gallery__lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.project-gallery__lightbox-close svg {
  width: 18px;
  height: 18px;
  color: #fff;
}


/* === PROJECT 3D SECTION === */
.project-3d {
  background-color: var(--yellow);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter);
  position: relative;
  overflow: hidden;
}

.project-3d__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-3d__circle {
  width: clamp(280px, 45vw, 600px);
  height: clamp(280px, 45vw, 600px);
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--dark);
  margin-bottom: clamp(2rem, 4vw, 4rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-3d__circle model-viewer {
  width: 100%;
  height: 100%;
  display: block;
  --poster-color: transparent;
  outline: none;
  background: transparent;
}

.project-3d__circle model-viewer::part(default-progress-bar) {
  background-color: var(--yellow);
  height: 3px;
}

.project-3d__text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
}

.project-3d__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--dark);
  text-transform: uppercase;
}

.project-3d__info {
  max-width: 340px;
  padding-top: 1.5rem;
}

.project-3d__info-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark);
  opacity: 0.5;
}

.project-3d__info p {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(28, 28, 30, 0.7);
}


/* === EXPLORE OTHER PROJECTS === */
.other-projects {
  background-color: var(--cream);
  padding: clamp(5rem, 8vw, 8rem) var(--gutter);
}

.other-projects__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.other-projects__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.other-projects__subtitle {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: #999;
}

.other-projects__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.other-projects__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.other-projects__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.other-projects__card-image {
  position: absolute;
  inset: 0;
}

.other-projects__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.other-projects__card:hover .other-projects__card-image img {
  transform: scale(1.05);
}

.other-projects__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(28, 28, 30, 0.8) 100%);
}

.other-projects__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.other-projects__card-name {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.other-projects__card-type {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.other-projects__contact {
  text-align: center;
  margin-top: 2rem;
}

.other-projects__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.other-projects__contact-btn:hover {
  background-color: var(--dark);
  color: var(--cream);
}

.other-projects__contact-btn svg {
  width: 14px;
  height: 14px;
}


/* === PROJECT PAGE NAV (Always Dark) === */
body[data-page="estates"] .nav,
body[data-page="aarka"] .nav,
body[data-page="ayara"] .nav {
  background-color: rgba(28, 28, 30, 0.0);
}

body[data-page="estates"] .nav.nav--scrolled,
body[data-page="aarka"] .nav.nav--scrolled,
body[data-page="ayara"] .nav.nav--scrolled {
  background-color: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(16px);
}

body[data-page="estates"] .nav.nav--scrolled .nav__hamburger-line,
body[data-page="aarka"] .nav.nav--scrolled .nav__hamburger-line,
body[data-page="ayara"] .nav.nav--scrolled .nav__hamburger-line {
  background-color: var(--text-light);
}

body[data-page="estates"] .nav.nav--scrolled .nav__project-link,
body[data-page="aarka"] .nav.nav--scrolled .nav__project-link,
body[data-page="ayara"] .nav.nav--scrolled .nav__project-link {
  color: rgba(255, 255, 255, 0.6);
}

body[data-page="estates"] .nav.nav--scrolled .nav__project-link:hover,
body[data-page="aarka"] .nav.nav--scrolled .nav__project-link:hover,
body[data-page="ayara"] .nav.nav--scrolled .nav__project-link:hover {
  color: var(--cream);
  background-color: rgba(255, 255, 255, 0.1);
}

body[data-page="estates"] .nav.nav--scrolled .nav__project-sep,
body[data-page="aarka"] .nav.nav--scrolled .nav__project-sep,
body[data-page="ayara"] .nav.nav--scrolled .nav__project-sep {
  color: rgba(255, 255, 255, 0.2);
}


/* === PROJECT PAGE RESPONSIVE === */
@media (max-width: 768px) {
  .nav__projects {
    display: none;
  }

  .project-overview__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-gallery__item--wide {
    grid-column: span 2;
  }

  .project-3d__text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .project-3d__info {
    max-width: 100%;
    text-align: center;
    padding-top: 0;
  }

  .project-3d__circle {
    width: 80vw;
    height: 80vw;
  }

  .other-projects__grid {
    grid-template-columns: 1fr;
  }

  .nav-overlay__link {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .project-hero__name {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .project-gallery__grid {
    grid-template-columns: 1fr;
  }

  .project-gallery__item--wide {
    grid-column: span 1;
  }

  .project-3d__circle {
    width: 260px;
    height: 260px;
  }
}

