/* Naixement de Nuah — /equip/ */
.nuah-birth {
  --nb-void: #0b110f;
  --nb-deep: #1a2b26;
  --nb-gold: #d4a93d;
  --nb-bronze: #c4923a;
  --nb-ala: #e5ddd1;
  --nb-siena: #da5026;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.25rem 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, #2a4038 0%, #15241f 52%, var(--nb-void) 100%);
  color: var(--nb-ala);
}
.nuah-birth-void,
.nuah-birth-shaft,
.nuah-birth-grain,
.nuah-birth-motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nuah-birth-void {
  background:
    radial-gradient(circle at 50% 38%, rgba(218, 80, 38, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 72% 78%, rgba(212, 169, 61, 0.1) 0%, transparent 40%);
}
.nuah-birth-shaft {
  background: linear-gradient(118deg, transparent 28%, rgba(243, 226, 168, 0.11) 46%, transparent 61%);
  transform: rotate(16deg) scale(1.2);
  animation: nbShaft 11s ease-in-out infinite;
}
.nuah-birth-grain {
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.nuah-birth-motes span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(243, 226, 168, 0.55);
  box-shadow: 0 0 8px rgba(243, 226, 168, 0.45);
  animation: nbMote 9s ease-in-out infinite;
}
.nuah-birth-motes span:nth-child(1) { left: 18%; top: 22%; animation-duration: 11s; animation-delay: -1s; }
.nuah-birth-motes span:nth-child(2) { left: 72%; top: 18%; width: 2px; height: 2px; animation-duration: 8s; animation-delay: -3s; }
.nuah-birth-motes span:nth-child(3) { left: 44%; top: 70%; animation-duration: 13s; animation-delay: -5s; }
.nuah-birth-motes span:nth-child(4) { left: 81%; top: 58%; width: 2px; height: 2px; animation-duration: 10s; }
.nuah-birth-motes span:nth-child(5) { left: 12%; top: 64%; animation-duration: 12s; animation-delay: -2s; }
.nuah-birth-motes span:nth-child(6) { left: 58%; top: 28%; width: 2px; height: 2px; animation-duration: 9.5s; animation-delay: -6s; }
.nuah-birth-motes span:nth-child(7) { left: 33%; top: 14%; animation-duration: 14s; animation-delay: -4s; }
.nuah-birth-motes span:nth-child(8) { left: 90%; top: 36%; animation-duration: 7.5s; animation-delay: -2.5s; }
.nuah-birth-fade-top,
.nuah-birth-fade-bot {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 3;
}
.nuah-birth-fade-top {
  top: 0;
  height: 5.5rem;
  background: linear-gradient(180deg, rgba(11, 17, 15, 0.55), transparent);
}
.nuah-birth-fade-bot {
  bottom: 0;
  height: 6rem;
  background: linear-gradient(180deg, transparent, hsl(34 24% 86%));
}

.nuah-birth-stage {
  position: relative;
  z-index: 4;
  width: min(1180px, 100%);
}

.nuah-birth-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #070b09;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(229, 221, 209, 0.08),
    inset 0 0 80px rgba(0, 0, 0, 0.28);
}
.nuah-birth-vid,
.nuah-birth-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nuah-birth-still--end {
  opacity: 0;
  transition: opacity 1.1s ease;
}
.nuah-birth.is-ended .nuah-birth-still--end {
  opacity: 1;
}
.nuah-birth-still--idle {
  z-index: 1;
  transform: scale(1.06);
  animation: nbKen 28s ease-in-out infinite alternate;
  transition: opacity 0.9s ease;
}
.nuah-birth.is-playing .nuah-birth-still--idle,
.nuah-birth.is-ended .nuah-birth-still--idle {
  opacity: 0;
  animation: none;
}
.nuah-birth-vid {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.nuah-birth.is-playing .nuah-birth-vid,
.nuah-birth.is-paused .nuah-birth-vid {
  opacity: 1;
}
.nuah-birth-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 72% at 50% 48%, transparent 48%, rgba(7, 11, 9, 0.55) 100%);
}

.nuah-birth-flash {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 48%, rgba(243, 226, 168, 0.95) 0%, rgba(196, 146, 58, 0.45) 34%, transparent 68%);
}
.nuah-birth.is-striking .nuah-birth-flash {
  animation: nbFlash 0.62s ease-out;
}

.nuah-birth-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 2px;
  background: rgba(229, 221, 209, 0.12);
  opacity: 0;
  transition: opacity 0.4s;
}
.nuah-birth.is-playing .nuah-birth-progress,
.nuah-birth.is-paused .nuah-birth-progress {
  opacity: 1;
}
.nuah-birth-progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nb-siena), var(--nb-gold));
}

.nuah-birth-gong {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 7;
  width: 8.6rem;
  height: 8.6rem;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  overflow: visible;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.nuah-birth-gong-cue {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2.55rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: max-content;
  transform: translateX(-50%);
  pointer-events: none;
  color: rgba(229, 221, 209, 0.88);
}
.nuah-birth-gong-cue-txt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.nuah-birth-gong-arrow {
  display: block;
  width: 0.95rem;
  height: 1.55rem;
  color: #d4a93d;
  opacity: 0.82;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.nuah-birth.is-inview .nuah-birth-gong-arrow {
  animation: nbArrow 2.15s ease-in-out infinite;
}
.nuah-birth.is-playing .nuah-birth-gong,
.nuah-birth.is-ended .nuah-birth-gong {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}
.nuah-birth.is-paused .nuah-birth-gong {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.nuah-birth-gong-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1.5px solid rgba(229, 221, 209, 0.16);
  border-top-color: var(--nb-siena);
  animation: nbSpin 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.nuah-birth-gong-ring--2 {
  inset: -28%;
  border-top-color: var(--nb-gold);
  border-right-color: rgba(212, 169, 61, 0.28);
  animation-duration: 3.8s;
  animation-direction: reverse;
  opacity: 0.7;
}
.nuah-birth-gong-core {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nuah-birth.is-inview .nuah-birth-gong-core {
  animation: nbPulse 2.8s ease-in-out infinite;
}
.nuah-birth-gong:hover .nuah-birth-gong-core,
.nuah-birth-gong:focus-visible .nuah-birth-gong-core {
  transform: scale(1.06);
  animation: none;
}
.nuah-birth-gong:focus-visible {
  outline: none;
}
.nuah-birth-gong:focus-visible .nuah-birth-gong-ring--2 {
  box-shadow: 0 0 0 3px rgba(212, 169, 61, 0.45);
}

.nuah-birth-copy {
  position: absolute;
  left: 50%;
  z-index: 7;
  width: min(34rem, calc(100% - 2.4rem));
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.nuah-birth-copy--idle {
  bottom: 8%;
  transition: opacity 0.5s ease;
}
.nuah-birth.is-playing .nuah-birth-copy--idle,
.nuah-birth.is-paused .nuah-birth-copy--idle,
.nuah-birth.is-ended .nuah-birth-copy--idle {
  opacity: 0;
}
.nuah-birth-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(229, 221, 209, 0.62);
}
.nuah-birth-title {
  margin: 0 0 0.55rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.nuah-birth-hint {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(229, 221, 209, 0.72);
}

.nuah-birth-say {
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 8;
  width: min(22.5rem, calc(100% - 2.6rem));
  transform: translateX(-50%);
  padding: 1.35rem 1.5rem 1.25rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.nuah-birth.is-ended .nuah-birth-say {
  opacity: 1;
  pointer-events: auto;
}
.nuah-birth-stain {
  position: absolute;
  inset: -1.2rem -1.4rem -1.1rem -1.25rem;
  z-index: 0;
  pointer-events: none;
}
.nuah-birth-stain i {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(18px);
}
.nuah-birth-stain i:nth-child(1) {
  left: 6%;
  top: 10%;
  width: 84%;
  height: 78%;
  border-radius: 46% 54% 48% 52% / 58% 42% 56% 44%;
  background: rgba(255, 255, 255, 0.84);
  filter: blur(16px);
}
.nuah-birth-stain i:nth-child(2) {
  left: -6%;
  top: 20%;
  width: 58%;
  height: 66%;
  border-radius: 62% 38% 70% 30% / 40% 65% 35% 60%;
  background: rgba(229, 221, 209, 0.8);
  filter: blur(20px);
}
.nuah-birth-stain i:nth-child(3) {
  right: -8%;
  top: 2%;
  width: 54%;
  height: 58%;
  border-radius: 38% 62% 44% 56% / 52% 38% 62% 48%;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(17px);
}
.nuah-birth-stain i:nth-child(4) {
  left: 16%;
  bottom: -12%;
  width: 66%;
  height: 50%;
  border-radius: 55% 45% 62% 38% / 48% 58% 42% 52%;
  background: rgba(255, 255, 255, 0.74);
  filter: blur(22px);
}
.nuah-birth-line {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #2f2f2f;
}
.nuah-birth-line + .nuah-birth-line {
  margin-top: 0.45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
}
.nuah-birth-line em {
  font-style: italic;
  font-weight: 600;
  color: var(--nb-siena);
}
.nuah-birth .nuah-ch {
  display: inline;
  opacity: 0;
}
.nuah-birth .nuah-ch.is-on {
  opacity: 1;
}
.nuah-birth.is-playing .nuah-birth-frame {
  cursor: pointer;
}
.nuah-birth-bars {
  position: fixed;
  inset: 0;
  z-index: 100060;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}
html.nuah-birth-live .nuah-birth-bars {
  opacity: 1;
}
.nuah-birth-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 7vh;
  min-height: 36px;
  background: #050807;
}
.nuah-birth-bar--top { top: 0; }
.nuah-birth-bar--bot { bottom: 0; }

html.nuah-birth-live #site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.nuah-birth-vid::-webkit-media-controls {
  display: none !important;
}
.nuah-birth .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes nbShaft {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes nbMote {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  50% { transform: translateY(-18px); opacity: 0.9; }
}
@keyframes nbKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
@keyframes nbSpin {
  to { transform: rotate(360deg); }
}
@keyframes nbPulse {
  0%, 100% { filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45)); }
  50% { filter: drop-shadow(0 18px 36px rgba(212, 169, 61, 0.45)); }
}
@keyframes nbFlash {
  0% { opacity: 0; }
  16% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes nbArrow {
  0%, 100% { transform: translateY(0); opacity: 0.62; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 720px) {
  .nuah-birth { padding: 5rem 0.7rem 3.4rem; min-height: 86vh; }
  .nuah-birth-frame { border-radius: 0; aspect-ratio: 16 / 11; }
  .nuah-birth-gong { width: 6.8rem; height: 6.8rem; top: 44%; }
  .nuah-birth-gong-cue { bottom: calc(100% + 2.1rem); }
  .nuah-birth-gong-cue-txt { font-size: 0.95rem; }
  .nuah-birth-copy--idle { bottom: 6%; }
  .nuah-birth-fade-bot { height: 4.2rem; }
  .nuah-birth-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nuah-birth-shaft,
  .nuah-birth-motes span,
  .nuah-birth-still--idle,
  .nuah-birth-gong-ring,
  .nuah-birth-gong-core,
  .nuah-birth-gong-arrow {
    animation: none;
  }
  html.nuah-birth-live #site-header {
    transform: none;
  }
}
