/* ==========================================================================
   RAJU HOLDINGS — LUXURY 3D CINEMATIC EXPERIENCE
   Styles for Cloudflare Pages Direct Upload
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #050608;
  --bg-card: rgba(12, 14, 18, 0.75);
  --bg-card-hover: rgba(20, 24, 32, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-bright: rgba(212, 175, 55, 0.7);
  
  --text-main: #F2F4F8;
  --text-muted: #8E95A5;
  --text-gold: #D4AF37;
  --text-gold-light: #F3E5AB;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #050608;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* Continuous cinematic image backgrounds */
#background-image-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050608;
}

.bg-scene {
  position: absolute;
  inset: -3%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08) translate3d(0, 0, 0);
  filter: saturate(0.98) brightness(0.76);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.bg-scene.active {
  opacity: 1;
}

#background-image-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(5, 6, 8, 0.02), rgba(5, 6, 8, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.22), rgba(5, 6, 8, 0.34));
}


/* ==========================================================================
   IMAGE LIGHT ANIMATION
   The supplied artwork remains the exact background. Only the lamp and
   torch light are animated with restrained, warm flicker.
   ========================================================================== */
#scene-effects {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.lamp-glow,
.torch-glow {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: opacity, transform, filter;
}

/* Lamp flame: centered over the hanging lantern in the supplied image. */
.lamp-glow {
  left: 23.3%;
  top: 38.4%;
  width: clamp(42px, 6.5vw, 105px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,245,190,.82) 0 7%, rgba(255,190,75,.52) 20%, rgba(255,132,24,.22) 43%, transparent 72%);
  filter: blur(2px);
  animation: lampFlicker 2.35s ease-in-out infinite;
}

/* Torch glow: centered where the beam hits the water. */
.torch-glow {
  left: 57.8%;
  top: 72.2%;
  width: clamp(55px, 8vw, 125px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,249,205,.96) 0 5%, rgba(255,196,74,.68) 18%, rgba(255,145,35,.24) 44%, transparent 72%);
  filter: blur(2px);
  animation: torchFlicker 1.75s ease-in-out infinite;
}

/* Gentle moving intensity along the existing torch beam. */
.torch-beam {
  position: absolute;
  left: 55.5%;
  top: 61.5%;
  width: 15%;
  height: 22%;
  transform: rotate(24deg);
  transform-origin: 8% 12%;
  background: linear-gradient(180deg, rgba(255,224,135,.30), rgba(255,188,65,.10) 48%, transparent 82%);
  clip-path: polygon(0 0, 100% 100%, 36% 92%);
  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: .72;
  animation: torchBeamPulse 1.75s ease-in-out infinite;
}

@keyframes lampFlicker {
  0%, 100% { opacity: .68; transform: translate(-50%, -50%) scale(.94); filter: blur(2px); }
  13% { opacity: .90; transform: translate(-50%, -50%) scale(1.06); }
  29% { opacity: .74; transform: translate(-50%, -50%) scale(.97); }
  46% { opacity: .98; transform: translate(-50%, -50%) scale(1.10); }
  63% { opacity: .79; transform: translate(-50%, -50%) scale(.99); }
  81% { opacity: .93; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes torchFlicker {
  0%, 100% { opacity: .64; transform: translate(-50%, -50%) scale(.92); }
  18% { opacity: .88; transform: translate(-50%, -50%) scale(1.08); }
  34% { opacity: .72; transform: translate(-50%, -50%) scale(.97); }
  57% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  76% { opacity: .76; transform: translate(-50%, -50%) scale(.95); }
}

@keyframes torchBeamPulse {
  0%, 100% { opacity: .52; transform: rotate(24deg) scaleY(.94); }
  22% { opacity: .78; transform: rotate(24deg) scaleY(1.04); }
  47% { opacity: .58; transform: rotate(24deg) scaleY(.97); }
  71% { opacity: .84; transform: rotate(24deg) scaleY(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .lamp-glow, .torch-glow, .torch-beam { animation: none; }
}

@media (max-width: 700px) {
  .lamp-glow { left: 23%; top: 38%; width: 70px; }
  .torch-glow { left: 58%; top: 72%; width: 80px; }
  .torch-beam { left: 55%; top: 61%; width: 18%; height: 22%; }
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #040507;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 1s var(--ease-out), visibility 1s var(--ease-out);
}

.loader-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
  animation: pulseLogo 2.5s infinite ease-in-out;
}

.loader-logo img, .loader-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
  }
}

.loader-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.loader-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-gold);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.loader-bar-container {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFFFFF, var(--text-gold));
  transition: width 0.2s ease;
}

.loader-percentage {
  margin-top: 12px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
  display: none;
}

#custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background-color: #FFFFFF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  display: none;
}

@media (pointer: fine) {
  #custom-cursor, #custom-cursor-dot {
    display: block;
  }
}

body.hovering #custom-cursor {
  width: 44px;
  height: 44px;
  background-color: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.9);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.85) 0%, rgba(5, 6, 8, 0) 100%);
  backdrop-filter: blur(8px);
  transition: padding 0.3s ease, background 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #FFFFFF;
}

.navbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.08) rotate(2deg);
}

.navbar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--text-gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-portal {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-gold-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-portal:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--border-gold-bright);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.btn-sound {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-sound:hover {
  border-color: var(--text-gold);
  color: #FFFFFF;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 4px;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 90;
}

.scroll-track {
  width: 2px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 1px;
  overflow: hidden;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--text-gold);
  transition: height 0.1s linear;
}

.scroll-section-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-gold);
  letter-spacing: 0.1em;
}

/* Sections Container */
#content-container {
  position: relative;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through to 3D canvas when clicking blank space */
}

.content-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  position: relative;
  opacity: var(--flow-opacity, 1);
  transform: translate3d(0, var(--flow-y, 0px), var(--flow-z, 0px)) scale(var(--flow-scale, 1)) rotateZ(var(--flow-rotate, 0deg));
  transform-origin: center center;
  will-change: transform, opacity;
  transition: opacity 0.18s linear;
  backface-visibility: hidden;
  perspective: 1200px;
}

.content-section.is-visible {
  opacity: var(--flow-opacity, 1);
}

.interactive-element {
  pointer-events: auto; /* Enable clicks on cards, buttons, inputs */
}

/* Glass Panel Card */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 40px;
  max-width: 620px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.glass-panel:hover {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.05);
}

/* Section Typography */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-gold-light);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(180, 140, 30, 0.05) 100%);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--text-gold);
  color: #050608;
  border-color: var(--text-gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* HERO SECTION Specifics */
#section-hero {
  justify-content: flex-start;
  align-items: center;
}

.hero-content-box {
  max-width: 580px;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 0.95;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.hero-main-title span {
  display: block;
  background: linear-gradient(180deg, #FFFFFF 0%, #A0A5B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ABOUT SECTION */
#section-about {
  justify-content: flex-end;
}

/* OUR HOLDINGS SECTION */
#section-holdings {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.holdings-header {
  text-align: center;
  margin-bottom: 40px;
}

.holdings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1100px;
}

.holding-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.holding-card:hover {
  border-color: var(--border-gold-bright);
  background: var(--bg-card-hover);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
}

.holding-icon {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-gold);
}

.holding-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.holding-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* OUR PHILOSOPHY */
#section-philosophy {
  justify-content: flex-start;
}

/* PORTFOLIO SECTION */
#section-portfolio {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.portfolio-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-item:hover, .portfolio-item.active {
  border-color: var(--text-gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.portfolio-item-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.portfolio-item-tag {
  font-size: 0.7rem;
  color: var(--text-gold);
  text-transform: uppercase;
}

.portfolio-details-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.portfolio-stat-grid {
  display: flex;
  gap: 32px;
}

.portfolio-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-gold-light);
}

.portfolio-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* GLOBAL PRESENCE SECTION */
#section-presence {
  justify-content: flex-end;
}

.presence-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.city-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.city-tag:hover {
  border-color: var(--text-gold);
  color: var(--text-gold-light);
  background: rgba(212, 175, 55, 0.1);
}

/* FINAL CONTACT SECTION */
#section-contact {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-box {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

/* Footer */
.footer {
  width: 100%;
  padding: 30px 40px;
  background: #030405;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
  z-index: 20;
}

.footer-copy {
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 4, 6, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

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

.modal-content {
  background: #0A0C10;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 40px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.15);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #FFFFFF;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--text-gold);
  background: rgba(212, 175, 55, 0.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .holdings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #080A0E;
    border-left: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 100px 40px 40px;
    transition: right 0.4s var(--ease-out);
    z-index: 99;
  }
  .navbar-menu.open {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 20px;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 101;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 16px 20px;
  }
  .content-section {
    --flow-z: 0px;
  }

  .content-section {
    padding: 100px 5% 60px;
  }
  .holdings-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-details-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ========================================================================
   MINIMAL CINEMATIC TYPOGRAPHY / IMAGE-FIRST REVISION
   ======================================================================== */
:root {
  --text-main: #F7F7F5;
  --text-muted: rgba(247,247,245,.72);
  --text-gold: #F2F2EE;
  --text-gold-light: #FFFFFF;
  --border-gold: rgba(255,255,255,.18);
  --border-gold-bright: rgba(255,255,255,.38);
  --bg-card: rgba(5,7,10,.16);
  --bg-card-hover: rgba(8,10,14,.28);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Keep the supplied cinematic images bright and visible. */
#background-image-stage::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.04) 58%, rgba(0,0,0,.18)),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.10) 48%, rgba(0,0,0,.30));
}
.bg-scene { filter: saturate(1.02) brightness(.86) contrast(1.02); }

/* Remove the large glass boxes that were covering the artwork. */
.glass-panel,
.hero-content-box {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 640px;
  overflow: visible;
}
.glass-panel::before { display: none; }
.glass-panel:hover {
  border-color: transparent;
  box-shadow: none;
}

/* Minimal white typography. */
.section-tag {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255,255,255,.72);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 5px 24px rgba(0,0,0,.38);
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(.78rem, 1.25vw, 1rem);
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
}
.section-desc {
  max-width: 600px;
  font-size: .94rem;
  line-height: 1.75;
  color: rgba(255,255,255,.76);
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}

/* Hero: no clipping, no oversized editorial serif treatment. */
#hero {
  justify-content: flex-start;
  align-items: center;
  padding-left: 8%;
}
#hero .hero-content-box { max-width: min(620px, 88vw); }
.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .94;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 8px 30px rgba(0,0,0,.62);
  white-space: normal;
}
.hero-main-title span {
  display: block;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
#hero .section-subtitle { color: #fff; letter-spacing: .10em; }
#hero .section-desc { max-width: 500px; }

/* Section 02 — holdings: visual field stays open, content is on the right. */
#holdings {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(280px,.72fr);
  grid-template-areas: 'visual copy';
  gap: clamp(40px,7vw,100px);
  align-content: center;
  align-items: center;
  padding-left: 7%;
  padding-right: 8%;
}
#holdings .holdings-header {
  grid-area: copy;
  text-align: left;
  margin: 0;
  max-width: 420px;
}
#holdings .holdings-grid {
  grid-area: visual;
  width: 100%;
  max-width: 760px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.holding-card {
  background: rgba(4,6,9,.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
.holding-card:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(4,6,9,.30);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.holding-icon {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.holding-title { font-family: var(--font-body); font-size: .82rem; letter-spacing: .08em; font-weight: 600; }
.holding-desc { color: rgba(255,255,255,.66); }

/* Section 04 — flagship portfolio: content sits on the right. */
#portfolio {
  justify-content: flex-end;
  align-items: center;
  padding-right: 8%;
  padding-left: 8%;
}
#portfolio .portfolio-container {
  width: min(620px, 52vw);
  max-width: 620px;
  margin-left: auto;
  gap: 22px;
}
#portfolio .portfolio-container > div:first-child { text-align: left !important; }
.portfolio-list { grid-template-columns: repeat(2,1fr); gap: 10px; }
.portfolio-item {
  background: rgba(4,6,9,.18);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 16px 14px;
}
.portfolio-item:hover, .portfolio-item.active {
  border-color: rgba(255,255,255,.34);
  background: rgba(4,6,9,.28);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.portfolio-item-name { font-family: var(--font-body); font-size: .76rem; letter-spacing: .08em; font-weight: 600; }
.portfolio-item-tag { color: rgba(255,255,255,.58); }
.portfolio-details-card {
  background: rgba(4,6,9,.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.portfolio-stat-num { color: #fff; font-family: var(--font-body); font-size: 1.45rem; }
.portfolio-stat-label { color: rgba(255,255,255,.58); }

/* Other image-led sections: keep copy readable without a panel. */
#about, #philosophy, #presence { padding-right: 9%; }
#about .glass-panel, #philosophy .glass-panel, #presence .glass-panel { max-width: 560px; }
#about { justify-content: flex-end; }
#philosophy { justify-content: flex-start; }
#presence { justify-content: flex-end; }

/* White controls instead of gold UI. */
.btn-primary,
.btn-portal {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.24);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover,
.btn-portal:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.48);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.nav-link::after,
.scroll-thumb { background-color: #fff; }
.nav-link:hover, .nav-link.active { color: #fff; }
.scroll-section-num { color: rgba(255,255,255,.76) !important; }
.btn-sound:hover { border-color: rgba(255,255,255,.4); }
.city-tag:hover { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }

@media (max-width: 900px) {
  #holdings {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-left: 6%;
    padding-right: 6%;
  }
  #holdings .holdings-header { order: 0; max-width: 620px; }
  #holdings .holdings-grid { order: 1; max-width: none; }
  #portfolio { justify-content: center; padding-left: 6%; padding-right: 6%; }
  #portfolio .portfolio-container { width: min(620px, 100%); margin-left: 0; }
}

@media (max-width: 640px) {
  #hero { padding-left: 7%; padding-right: 7%; }
  .hero-main-title { font-size: clamp(2.65rem, 13vw, 4.2rem); letter-spacing: -.05em; }
  #hero .section-desc { font-size: .88rem; }
  #holdings .holdings-grid { grid-template-columns: 1fr; }
  #portfolio .portfolio-list { grid-template-columns: 1fr; }
  #portfolio .portfolio-details-card { align-items: flex-start; }
}
