/* A brief Naru M identity reveal; no media processing or engine changes. */
.opening-curtain {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 53%, #45303d 0%, #1a1422 36%, #100d17 75%);
  place-items: center;
}
.reveal-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff0dc;
  gap: 22px;
  font:
    800 clamp(50px, 7vw, 92px)/1 Arial,
    sans-serif;
  letter-spacing: -0.06em;
}
.reveal-mark small {
  font:
    400 9px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4b9c6;
}
.reveal-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffce7, #ffd294 48%, #a96443);
  box-shadow:
    0 0 30px #ffc68166,
    0 0 110px #f6b97b44;
}
.skip-opening {
  position: fixed;
  right: 5%;
  bottom: 6%;
  z-index: 81;
  border: 1px solid #f5d1b666;
  border-radius: 99px;
  background: #201725;
  color: #ffe9d3;
  font:
    12px Arial,
    sans-serif;
  min-height: 44px;
  padding: 12px 20px;
}
.skip-opening[hidden] {
  display: none !important;
}
.image-opening {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .opening-reveal .opening-curtain {
    display: grid;
    animation: curtain-away 4.8s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
  }
  .opening-reveal .reveal-mark > span:not(.reveal-orb),
  .opening-reveal .reveal-mark small {
    animation: mark-arrive 4.8s ease-out both;
  }
  .opening-reveal .reveal-orb {
    animation: orb-arrive 2.8s ease-out both;
  }
  .opening-reveal .opening-image {
    animation: art-arrive 5s cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }
  .opening-reveal .opening-caption {
    animation: caption-arrive 5s ease-out both;
  }
  .opening-reveal .section-home > .site-header {
    animation: header-arrive 5s ease-out both;
  }
  @keyframes curtain-away {
    0%,
    55% {
      opacity: 1;
      clip-path: circle(150% at 50% 50%);
    }
    78% {
      opacity: 0.75;
    }
    100% {
      opacity: 0;
      visibility: hidden;
      clip-path: circle(0% at 50% 50%);
    }
  }
  @keyframes mark-arrive {
    0% {
      opacity: 0;
      transform: translateY(14px) scale(0.94);
    }
    32%,
    65% {
      opacity: 1;
      transform: none;
    }
    92%,
    100% {
      opacity: 0;
      transform: scale(1.12);
    }
  }
  @keyframes orb-arrive {
    0% {
      opacity: 0;
      transform: scale(0.45);
    }
    55%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  @keyframes art-arrive {
    0%,
    48% {
      transform: scale(1.08);
      filter: brightness(0.25);
    }
    100% {
      transform: scale(1);
      filter: brightness(1);
    }
  }
  @keyframes caption-arrive {
    0%,
    76% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes header-arrive {
    0%,
    72% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .main-menu[open] {
    /* Navigation remains visible when atmosphere motion is paused. */
    animation: none;
    opacity: 1;
  }
  @keyframes menu-arrive {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.main-menu {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: #191220;
  color: #fff0dc;
  overflow: auto;
}
.main-menu:not([open]) {
  display: none;
}
.main-menu[open] {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.main-menu::backdrop {
  background: #100d17f5;
}
body:has(.main-menu[open]) {
  overflow: hidden;
}
.menu-scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #2c202b;
  isolation: isolate;
}
.menu-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.menu-scene:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #211529e8, transparent 70%);
  z-index: -1;
}
.menu-scene > span {
  position: absolute;
  left: 9%;
  bottom: 9%;
  font:
    800 clamp(45px, 5.5vw, 88px)/0.95 Arial,
    sans-serif;
  letter-spacing: -0.06em;
  color: #ffe6cb;
}
.menu-content {
  padding: 35px 9% 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100svh;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}
.menu-top h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.menu-top button {
  border: 0;
  background: transparent;
  color: #ddc4d8;
  font-size: 12px;
  padding: 10px 0;
  min-height: 44px;
  white-space: nowrap;
}
.main-menu-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: auto 0;
}
.main-menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid #e9cadd20;
  font:
    800 clamp(26px, 3.5vw, 53px)/1.05 Arial,
    sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.main-menu-links a span {
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #bf9bb8;
}
.main-menu-links a:hover,
.main-menu-links a[aria-current='page'] {
  color: #ffd0a7;
}
.menu-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  margin-top: 35px;
}
.menu-bottom .button {
  font-size: 12px;
  padding: 15px 22px;
  min-height: 48px;
}
.menu-bottom > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 800px) {
  .main-menu[open] {
    grid-template-columns: 1fr;
  }
  .menu-scene {
    display: none;
  }
  .menu-content {
    padding: 22px 7% 35px;
    min-height: 100svh;
  }
  .menu-top {
    margin-bottom: 25px;
  }
  .main-menu-links a {
    font-size: clamp(28px, 7.2vw, 47px);
    min-height: 60px;
  }
  .menu-bottom {
    gap: 15px;
    margin-top: 28px;
  }
  .menu-bottom .button {
    width: 100%;
  }
  .skip-opening {
    bottom: 25px;
    right: 6%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-curtain,
  .skip-opening {
    display: none !important;
  }
  .main-menu[open] {
    animation: none;
  }
  .opening-image,
  .opening-caption {
    animation: none !important;
  }
}
