/* DESIGN DNA — AURAE Design Studio
   Direction: Architectural Film & High-Fashion Editorial
   Palette: #0A0A0B (Obsidian), #141416 (Charcoal), #222225 (Stone), #F5F2EC (Ivory), #E8E2D6 (Warm Beige), #C8A87C (Bronze)
   Type: 'Cormorant Upright' (Display Serif) / 'Plus Jakarta Sans' (Body Sans) / 'Syne Mono' (Labels)
   Hero pattern: Architectural Filmstrip (100vh full-bleed Mumbai penthouse, settled zoom, line reveal)
   Signature: Scroll-linked horizontal project slider + interactive 4-stage visual approach matrix
   First-timers: (1) Scroll-Linked Horizontal Project Reel with Drag/Wheel Smooth Scrubber & Cursor Transform Indicator ('VIEW' mode); (2) Interactive Sunset Atmosphere Video & 4-Stage Visual Approach Matrix (Hover Background Image Swap + Dynamic Muting).
   Banned here: Bouncy animations, generic cards, glassmorphism everywhere, neon, excessive text.
*/

:root {
  /* Primary Palette */
  --color-bg: #0A0A0B;
  --color-surface: #141416;
  --color-stone: #222225;
  --color-text: #F5F2EC;
  --color-text-muted: #8E8D8A;
  --color-beige: #E8E2D6;
  --color-bronze: #C8A87C;
  --color-border: rgba(245, 242, 236, 0.08);

  /* Typography */
  --font-display: 'Cormorant Upright', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Syne Mono', monospace;

  /* Fluid Type Scale */
  --text-xs: clamp(0.7rem, 0.9vw, 0.8rem);
  --text-sm: clamp(0.8rem, 1.1vw, 0.9rem);
  --text-base: clamp(0.95rem, 1.3vw, 1.05rem);
  --text-lg: clamp(1.2rem, 1.8vw, 1.4rem);
  --text-xl: clamp(1.8rem, 2.8vw, 2.4rem);
  --text-2xl: clamp(2.5rem, 4.5vw, 4rem);
  --text-hero: clamp(3.2rem, 7.5vw, 6.8rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transition & Blur */
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --blur-nav: blur(12px);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  position: relative;
  overflow-x: hidden;
}

/* Subtle Film Grain */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-text);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: difference;
}

.custom-cursor .cursor-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #000;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.custom-cursor.view-mode {
  width: 70px;
  height: 70px;
  background: var(--color-text);
  mix-blend-mode: normal;
}

.custom-cursor.view-mode .cursor-text {
  opacity: 1;
}

/* 03 — NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2.2rem 4rem;
  transition: background 0.5s ease, padding 0.5s ease, backdrop-filter 0.5s ease, border-bottom 0.5s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: var(--blur-nav);
  padding: 1.2rem 4rem;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1700px;
  margin: 0 auto;
}

.brand-link {
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 4px;
  font-weight: 600;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3.5rem;
}

.nav-item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-bronze);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 2px;
}

.dot-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 12px;
  height: 12px;
}

.dot-icon i {
  width: 3px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.menu-trigger:hover .dot-icon i {
  background-color: var(--color-bronze);
}

/* 04 — HERO SECTION */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 4rem 5rem 4rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section.loaded .hero-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,11,0.4) 0%, rgba(10,10,11,0.2) 50%, rgba(10,10,11,0.85) 100%);
  z-index: 2;
  opacity: 1;
  transition: opacity 1.8s ease;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  color: var(--color-bronze);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

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

.hero-line span {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1.2s ease 0.8s, transform 1.2s ease 0.8s;
}

.hero-cta-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 1.3s, transform 1s ease 1.3s;
}

.hero-section.loaded .hero-label,
.hero-section.loaded .hero-line span,
.hero-section.loaded .hero-cta-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* Circular Arrow CTA Button */
.cta-button-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  transition: transform 0.3s ease;
}

.cta-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.cta-circle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.5;
  transition: stroke 0.4s ease, transform 0.4s ease;
}

.cta-button-magnetic:hover .cta-circle {
  border-color: var(--color-bronze);
  background: var(--color-bronze);
}

.cta-button-magnetic:hover .cta-circle svg {
  stroke: #000;
  transform: translateX(4px);
}

/* Vertical Page Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  right: 4rem;
  bottom: 5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.indicator-num {
  transition: color 0.4s ease;
}

.indicator-num.active {
  color: var(--color-bronze);
}

.indicator-line {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.indicator-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: var(--color-bronze);
  transition: top 0.3s ease, height 0.3s ease;
}

/* 05 — FEATURED PROJECTS */
.projects-section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.projects-header {
  padding: 0 4rem 3.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.vertical-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  color: var(--color-bronze);
  text-transform: uppercase;
}

.projects-view-all {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.projects-view-all:hover {
  color: var(--color-bronze);
}

.horizontal-scroll-container {
  display: flex;
  gap: 2.5rem;
  padding: 0 4rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  user-select: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.horizontal-scroll-container:active {
  cursor: grabbing;
}

.project-card {
  flex: 0 0 540px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  position: relative;
}

.project-image-wrapper {
  width: 100%;
  height: 640px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.project-card:hover .project-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 500;
  transition: transform 0.4s ease, color 0.4s ease;
}

.project-card:hover .project-title {
  transform: translateX(6px);
  color: var(--color-bronze);
}

.project-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

/* 06 — PROJECT TRANSITION */
.transition-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem;
}

.transition-bg-container {
  width: 70vw;
  height: 70vh;
  overflow: hidden;
  position: relative;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto;
}

.transition-section.expanded .transition-bg-container {
  width: 100vw;
  height: 100vh;
}

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

.transition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.transition-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 900px;
}

/* 07 — OUR APPROACH */
.approach-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-bg);
  padding: 8rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.approach-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.approach-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.2s ease;
  transform: scale(1.03);
}

.approach-bg-img.active {
  opacity: 0.25;
  transform: scale(1);
}

.approach-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1700px;
  margin: 0 auto;
  width: 100%;
}

.approach-item {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.approach-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-text-muted);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.5s ease, transform 0.5s ease;
}

.approach-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: 3px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.5s ease;
}

.approach-grid:hover .approach-item {
  opacity: 0.35;
}

.approach-grid .approach-item:hover {
  opacity: 1;
  transform: translateY(-8px);
}

.approach-grid .approach-item:hover .approach-number {
  color: var(--color-bronze);
}

/* 08 — IMMERSIVE VIDEO SECTION */
.video-section {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.6) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.play-button-circular {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 236, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.4);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.play-button-circular svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text);
  margin-left: 4px;
  transition: fill 0.4s ease;
}

.play-button-circular:hover {
  transform: scale(1.1);
  border-color: var(--color-bronze);
  background: var(--color-bronze);
}

.play-button-circular:hover svg {
  fill: #000;
}

.video-subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 4px;
  color: var(--color-text);
  text-transform: uppercase;
}

/* 09 — STUDIO SECTION */
.studio-section {
  padding: 10rem 4rem;
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.studio-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.studio-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.studio-copy {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

.studio-location {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  color: var(--color-bronze);
  margin-top: 1rem;
}

.studio-image-wrapper {
  width: 100%;
  height: 680px;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

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

/* 10 — FINAL CTA */
.final-cta-section {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-section:hover .cta-bg-img {
  transform: scale(1);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 11, 0.7);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-button-large {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.8rem;
  border: 1px solid rgba(245, 242, 236, 0.4);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  border-radius: 9999px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.cta-button-large:hover {
  border-color: var(--color-bronze);
  background: var(--color-bronze);
  color: #000;
  transform: scale(1.05);
}

/* 11 — FOOTER */
.site-footer {
  background-color: #050506;
  padding: 5rem 4rem 3rem 4rem;
  border-top: 1px solid var(--color-border);
}

.footer-container {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 4px;
}

.footer-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

.footer-meta p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-bronze);
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.social-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-bronze);
}

.footer-bottom {
  max-width: 1700px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 242, 236, 0.05);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}
