/**
 * Origin X Digital (OXD) - Scene & Section Architecture
 * Layout choreography for all 10 continuous scenes:
 * 01 Opening · 02 Hero · 03 Philosophy · 04 Capabilities · 05 Selected Work
 * 06 Built By OXD · 07 Proof · 08 Trust · 09 Contact · 10 Colophon
 */

/* ==========================================================================
   1. Ambient Spatial Backdrop & Lighting Transitions
   ========================================================================== */
.ambient-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: background-color 1.2s ease;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  -webkit-filter: blur(140px);
  opacity: 0.30;
  will-change: transform;
  pointer-events: none;
}

.ambient-orb-wine {
  width: 55vw;
  height: 55vw;
  left: -15vw;
  top: -10vw;
  background: var(--oxd-wine);
}

.ambient-orb-sapphire {
  width: 52vw;
  height: 52vw;
  right: -10vw;
  bottom: -15vw;
  background: var(--oxd-sapphire);
}

.ambient-orb-burgundy {
  width: 45vw;
  height: 45vw;
  left: 25vw;
  top: 40vh;
  background: var(--oxd-burgundy);
  opacity: 0.18;
}

/* ==========================================================================
   2. Scene 01 & 02: Hero (Open, Spacious & Monumental Centered Composition)
   ========================================================================== */
.scene-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
  z-index: 1;
  overflow: hidden;
}

/* Abstract OXD Architectural System in Hero */
.hero-architectural-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.20;
  transition: transform 0.4s var(--ease-out-expo);
}

.hero-architectural-svg {
  width: min(880px, 90vw);
  height: min(600px, 75vh);
}

.hero-center-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
}

.hero-headline {
  margin-top: 0;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-monument-line {
  font-family: var(--font-display);
  font-size: var(--text-monument);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  text-transform: uppercase;
  color: var(--oxd-cream);
  font-weight: 400;
  display: block;
}

.hero-expressive-line {
  font-family: var(--font-display);
  font-size: var(--text-expressive);
  font-style: italic;
  color: var(--oxd-gold);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  display: block;
  letter-spacing: var(--tracking-tight);
}

.hero-sub {
  font-size: var(--text-lead);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 auto var(--space-xl);
  color: var(--oxd-muted);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Minimalist Scroll Line (NO Text) */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.scroll-indicator-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--oxd-gold), transparent);
}

/* ==========================================================================
   3. Scene 03: Philosophy (We Know What Works)
   ========================================================================== */
.scene-philosophy {
  position: relative;
  z-index: 1;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.philosophy-sticky-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.philosophy-anchor-statement {
  font-family: var(--font-display);
  font-size: var(--text-anchor);
  line-height: var(--leading-tight);
  color: var(--oxd-gold);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-tight);
}

.philosophy-narrative-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.philosophy-narrative-col p {
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: var(--oxd-muted);
}

.philosophy-narrative-col p strong {
  color: var(--oxd-cream);
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-sticky-col {
    position: static;
  }
}

/* ==========================================================================
   4. Scene 04: Capabilities (01 BUILD & 02 GROW)
   ========================================================================== */
.scene-capabilities {
  position: relative;
  z-index: 1;
}

.capabilities-header {
  max-width: 820px;
}

.section-subtitle {
  font-size: var(--text-lead);
  color: var(--oxd-muted);
  margin-top: var(--space-xs);
}

/* ==========================================================================
   5. Scene 05: Selected Work (Energy Nexus)
   ========================================================================== */
.scene-selected-work {
  position: relative;
  z-index: 1;
}

.work-header {
  max-width: 820px;
}

/* ==========================================================================
   6. Scene 06: Built By OXD (Ventures)
   ========================================================================== */
.scene-ventures {
  position: relative;
  z-index: 1;
}

.ventures-header {
  max-width: 820px;
}

/* ==========================================================================
   7. Scene 07: Proof (Audited Meta Data)
   ========================================================================== */
.scene-proof {
  position: relative;
  z-index: 1;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

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

/* ==========================================================================
   8. Scene 08: Trust (Credibility & Craft)
   ========================================================================== */
.scene-trust {
  position: relative;
  z-index: 1;
}

.trust-header {
  max-width: 780px;
}

/* ==========================================================================
   9. Scene 09: Contact & Project Enquiry (Form -> WhatsApp)
   ========================================================================== */
.scene-contact {
  position: relative;
  z-index: 1;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.contact-intro-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  text-align: left;
}

.contact-headline {
  margin-bottom: var(--space-sm);
  text-align: left;
}

.contact-sub {
  font-size: var(--text-lead);
  line-height: var(--leading-normal);
  color: var(--oxd-muted);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.contact-direct-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  color: var(--oxd-gold);
  text-transform: uppercase;
}

.contact-direct-hint::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--oxd-gold);
  border-radius: 50%;
}

.contact-form-col {
  background: linear-gradient(155deg, rgba(16, 31, 68, 0.5) 0%, rgba(5, 13, 34, 0.85) 100%);
  border: 1px solid var(--oxd-line-dark);
  border-top: 1px solid var(--oxd-line);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 4vw, 44px);
  text-align: left;
}

@media (max-width: 960px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-intro-col {
    position: static;
  }
}

/* ==========================================================================
   10. Scene 10: Colophon & Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--oxd-line-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
  font-size: 13px;
  color: var(--oxd-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
