/* ==========================================================================
   YULYA — MINIMALIST LUXURY 3D ATELIER STYLESHEET
   Zero visual clutter · Editorial negative space · Spatial 3D focus
   ========================================================================== */

:root {
  --bg: #06050b;
  --surface: rgba(12, 10, 20, 0.52);
  --surface-hover: rgba(20, 16, 34, 0.74);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(196, 155, 255, 0.34);

  --ink: #f7f4fc;
  --ink-soft: rgba(247, 244, 252, 0.68);
  --ink-muted: rgba(247, 244, 252, 0.44);

  --lilac: #c084fc;
  --violet: #9333ea;
  --rose: #f472b6;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* ==========================================================================
   FULL-VIEWPORT 3D WEBGL2 STAGE
   ========================================================================== */
#stage-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background:
    radial-gradient(ellipse 62% 72% at 62% 46%, rgba(114, 54, 185, 0.22) 0%, rgba(16, 11, 29, 0.45) 52%, rgba(6, 5, 11, 1) 100%);
}

#yulya-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

#yulya-canvas:active {
  cursor: grabbing;
}

/* Subtle left editorial legibility scrim — lets Yulya on center/right stay 100% crisp */
.stage-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 5, 11, 0.72) 0%, rgba(6, 5, 11, 0.28) 38%, transparent 62%),
    radial-gradient(circle at 60% 48%, transparent 52%, rgba(4, 3, 9, 0.62) 100%);
}

/* Minimal Kinetic Preloader */
#stage-loader {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease-luxury), visibility 0.7s var(--ease-luxury);
}

#stage-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 220px;
}

.loader-wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--ink);
  padding-left: 0.34em;
}

.loader-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--lilac), var(--ink));
  transition: width 0.22s ease;
}

.loader-pct {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

/* ==========================================================================
   MINIMAL GHOST HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 68px);
  pointer-events: none;
  transition: background 0.35s var(--ease-luxury), padding 0.35s var(--ease-luxury), border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 15px clamp(24px, 5vw, 68px);
  background: rgba(6, 5, 11, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.wordmark {
  pointer-events: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.wordmark-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lilac);
  vertical-align: super;
}

.site-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-weight: 500;
  transition: all 0.3s var(--ease-luxury);
}

.site-nav a.nav-cta:hover {
  border-color: var(--lilac);
  background: rgba(192, 132, 252, 0.14);
}

/* ==========================================================================
   EDITORIAL LAYOUT & TYPOGRAPHY
   ========================================================================== */
main {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.section-hero,
.section-presence {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 5vw, 68px) 84px;
  position: relative;
}

.editorial-col {
  max-width: 460px;
  pointer-events: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 18px;
}

.display-title {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 6.8vw, 6.2rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.display-title em,
.section-heading em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(125deg, #ffffff 10%, #d8b4fe 62%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 410px;
  margin-bottom: 36px;
}

/* Two Clean Luxury CTAs — Zero Button Clutter */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-luxury-primary,
.btn-luxury-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.35s var(--ease-luxury);
}

.btn-luxury-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-luxury-primary:hover {
  background: #ebd7ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(192, 132, 252, 0.45);
}

.btn-luxury-ghost {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 10, 20, 0.35);
  backdrop-filter: blur(12px);
}

.btn-luxury-ghost:hover {
  border-color: var(--lilac);
  background: rgba(192, 132, 252, 0.12);
  transform: translateY(-2px);
}

.interaction-whisper {
  position: absolute;
  bottom: 34px;
  left: clamp(24px, 5vw, 68px);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  pointer-events: none;
}

/* ==========================================================================
   SECTION 2: LIVING PRESENCE
   ========================================================================== */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: 36px;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--lilac);
}

.pillar-list h3 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.pillar-list p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ==========================================================================
   SECTION 3: THE YULYA ECOSYSTEM (CLEAN EDITORIAL GRID)
   ========================================================================== */
.section-ecosystem {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px clamp(24px, 5vw, 68px) 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 5, 11, 0.76) 28%, rgba(6, 5, 11, 0.94) 100%);
}

.ecosystem-wrap {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  pointer-events: auto;
}

.ecosystem-intro {
  margin-bottom: 44px;
}

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

.eco-tile {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.35s var(--ease-luxury);
}

.eco-live:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.eco-featured {
  border-color: rgba(192, 132, 252, 0.28);
  background: rgba(24, 15, 42, 0.62);
}

.eco-muted {
  opacity: 0.78;
}

.eco-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.eco-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.eco-tag-accent {
  color: var(--lilac);
}

.eco-tag-soft {
  color: var(--ink-muted);
}

.eco-arrow {
  font-size: 1rem;
  color: var(--ink-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.eco-live:hover .eco-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.eco-tile h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.eco-tile p {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}

.eco-host {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ==========================================================================
   MINIMAL FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 15;
  background: rgba(6, 5, 11, 0.96);
  border-top: 1px solid var(--border);
  padding: 32px clamp(24px, 5vw, 68px);
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.footer-brand {
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

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

.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 980px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .section-hero,
  .section-presence {
    justify-content: flex-end;
    padding-bottom: 72px;
  }

  .stage-atmosphere {
    background: linear-gradient(180deg, transparent 0%, rgba(6, 5, 11, 0.35) 50%, rgba(6, 5, 11, 0.92) 86%);
  }

  .interaction-whisper {
    bottom: 20px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}
