:root {
  --bg-deep: #080809;
  --text-primary: #ece8e1;
  --text-secondary: #7e7b76;
  --text-muted: #42413e;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric Canvas */
#ambientCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Analog Film Grain */
.grain-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

/* Main Layout */
.scene {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.frame {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Header minimalistic element */
.header-mark {
  opacity: 0;
  animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.mark-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--text-muted);
}

/* Center Content */
.content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Studio Title */
.studio-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
  opacity: 0;
  transform: translateY(16px);
  animation: revealTitle 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.studio-title .word {
  display: inline-block;
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
}

.studio-title .accent {
  font-style: italic;
  font-weight: 300;
  color: #c8c3ba;
}

/* Understated Status */
.status-label {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

/* Minimalist Footer */
.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.meta-sep {
  opacity: 0.4;
}

/* Animations */
@keyframes revealTitle {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .studio-title {
    flex-direction: column;
    gap: 0.1em;
  }
  
  .status-label {
    letter-spacing: 0.25em;
  }
  
  .frame {
    justify-content: space-around;
  }
}
