/* v0.4.18: presentation atmosphere only. Emotion engine colors remain independent. */
:root {
  --ink: #0d0d16;
  --paper: #eee4d6;
  --text: #f5eadb;
  --muted: #c5bbca;
  --line: #eee4d62b;
  --peach: #eac590;
  --rose: #c5a9c8;
  --violet: #685473;
  color-scheme: dark;
}
body {
  background: #0d0d16;
  color: var(--text);
}
.site-header,
.home-with-hero-switch > .site-header,
footer {
  background: #0d0d16;
  color: #f5eadb;
}
.button,
.site-header .nav-cta,
.home-with-hero-switch > .site-header .nav-cta {
  background: #eac590;
  color: #201b25;
  border-color: #eac590;
}
.button:hover,
.site-header .nav-cta:hover {
  background: #ffe1b2;
  color: #201b25;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #ffe1b2;
  outline-offset: 5px;
}
.opening-curtain {
  background: radial-gradient(ellipse at 50% 48%, #302131 0%, #14111e 35%, #080a12 78%);
}
.reveal-orb {
  width: 56px;
  height: 56px;
  box-shadow:
    0 0 38px #ffc68188,
    0 0 140px #f6b97b55;
}
.reveal-mark small {
  color: #d8c6d5;
}
.skip-opening {
  background: #14111e;
  color: #f6dfba;
}
.image-opening {
  background: #080a12;
}
.image-opening:after {
  background:
    linear-gradient(0deg, #080a12f5, transparent 58%, #080a1266),
    linear-gradient(90deg, #080a1255, transparent 65%);
}
.opening-caption h1 {
  font-weight: 600;
  letter-spacing: -0.05em;
}
.opening-caption .eyebrow {
  color: #edce9e;
}
.opening-caption p:last-child {
  color: #f1e2d1;
}
.opening-explore {
  background: #eac590;
  box-shadow: 0 0 55px #eac59026;
}
.main-menu {
  background: #10101b;
}
.main-menu::backdrop {
  background: #080a12;
}
.menu-scene:after {
  background: linear-gradient(0deg, #10101b, transparent 85%);
}
.menu-top button,
.main-menu-links a span {
  color: #cabbce;
}
.main-menu-links a:hover,
.main-menu-links a[aria-current='page'] {
  color: #eac590;
}
.section-home .section-directory {
  background: radial-gradient(ellipse at 65% 0%, #33223b66, transparent 65%), #0d0d16;
}
.directory-heading h1 {
  color: #ead6b9;
}
.section-card {
  background: #15121e;
}
.section-card:after {
  background: linear-gradient(0deg, #080a12fa, transparent 90%);
}
.chapter-navigation {
  background: #10101bf5;
  border-color: #eac59026;
}
.cinema-home .light-section,
.cinema-home .design,
.cinema-home .gallery {
  background: #14121d;
  color: #f5eadb;
  --muted: #c5bbca;
  --line: #eee4d62b;
}
.cinema-home .meet {
  background: radial-gradient(ellipse at 90% 15%, #30203466, transparent 65%), #14121d;
}
.cinema-home .feelings-story,
.cinema-home .motion-section,
.cinema-home .developer-teaser {
  background: #191420;
  color: #f5eadb;
}
.cinema-home .showcase {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(var(--accent), 0.1), transparent 60%), #0d0d16;
}
.cinema-home .showcase h2,
.cinema-home .motion-section h2,
.cinema-home .engine-title h2 {
  color: #e9cfab;
}
.cinema-home .engine-story {
  background: #10101a;
}
.cinema-home .final-cta {
  background: radial-gradient(ellipse at 50% 115%, #78503155, transparent 68%), #10101a;
}
.cinema-home .design-pair > div > p,
.cinema-home .large-note {
  color: #eee4d6;
}
.cinema-page .developer-hero,
.cinema-page .experience-page {
  background: radial-gradient(ellipse at 80% 0%, #30203455, transparent 60%), #0d0d16;
}
/* Finite, decorative lights during the intro; no extra canvas or perpetual animation. */
@media (prefers-reduced-motion: no-preference) {
  .opening-reveal .opening-curtain:before {
    content: '';
    position: absolute;
    inset: 18% 15%;
    pointer-events: none;
    background:
      radial-gradient(circle at 15% 65%, #ffd99faa 0 2px, transparent 4px),
      radial-gradient(circle at 77% 28%, #ffe9c499 0 2px, transparent 5px),
      radial-gradient(circle at 68% 76%, #eac59088 0 1px, transparent 4px),
      radial-gradient(circle at 32% 21%, #ffe9c477 0 1px, transparent 3px);
    animation: mystery-motes 4.8s ease-out both;
  }
  @keyframes mystery-motes {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    30%,
    60% {
      opacity: 0.85;
    }
    100% {
      opacity: 0;
      transform: translateY(-25px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-curtain:before {
    display: none;
  }
}
