.nocturna {
  --paper: #211c21;
  --ink: #ffefe4;
  --accent: #efd0aa;
  --on-accent: #272024;
  --wash: #352b32;
  --display: "Instrument Serif", Georgia, serif;
}
.nocturna .brand img {
  filter: brightness(0) saturate(100%) invert(86%) sepia(30%) saturate(351%);
}
.nocturna-hero {
  color: #fff6ed;
  min-height: clamp(33rem, 41vw, 47rem);
  display: grid;
  align-items: end;
  padding: 4rem 7%;
  overflow: hidden;
}
.nocturna-hero > img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.nocturna-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #211c21 10%,
      #211c21f5 29%,
      #211c2166 61%,
      #211c2110 85%
    ),
    linear-gradient(0deg, #20171dad, transparent 34%);
}
.nocturna-hero h1 {
  font-size: clamp(4rem, 7.8vw, 9rem);
}
.nocturna-hero .lead {
  align-self: end;
}
.scene-link {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  font-size: 0.9rem;
  background: #211c21cb;
  padding: 0.45rem 0.8rem;
}
.nocturna .care-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}
.nocturna .care-picture {
  aspect-ratio: 16/9;
}
.nocturna .care-text {
  border-top: 1px solid #a08d83;
  margin-top: 0.8rem;
}
.nocturna .about-brand {
  background: #f2e9de;
}
@media (max-width: 900px) {
  .nocturna .care-list {
    gap: 2.1rem;
  }
}
@media (max-width: 680px) {
  .nocturna .care-list {
    grid-template-columns: 1fr;
  }
  .nocturna-hero {
    min-height: 36rem;
    padding: 2rem 7% 4.6rem;
  }
  .nocturna-hero > img {
    width: 100%;
    object-position: 55% 32%;
  }
  .nocturna-hero::before {
    background: linear-gradient(
      0deg,
      #211c21 0%,
      #211c21e0 37%,
      #211c21aa 58%,
      #211c2110 90%
    );
  }
  .nocturna-hero h1 {
    font-size: clamp(3.6rem, 12vw, 5.3rem);
  }
  .scene-link {
    left: 7%;
    right: auto;
    bottom: 1.65rem;
    padding: 0;
    background: none;
  }
}

/* Selector de fotografías con fundido manual. */
.nocturna .scene-photo { opacity: 0; pointer-events: none; }
.nocturna .scene-photo.active { opacity: 1; }
.nocturna .scene-photo[data-scene="manicura"] { object-position: center 68%; }
.filmstrip {
  position: absolute;
  right: 5%;
  bottom: 1.6rem;
  display: grid;
  justify-items: end;
  gap: .3rem;
}
.scene-controls:not([hidden]) {
  display: inline-flex;
  gap: .2rem;
  padding: .24rem;
  border: 1px solid #f9e4d959;
  border-radius: 3rem;
  background: #20191de6;
}
.scene-controls button {
  border: none;
  border-radius: 3rem;
  padding: .55rem .9rem;
  min-height: 44px;
  font: 600 .88rem "DM Sans", sans-serif;
  cursor: pointer;
  color: #fff2e8;
  background: transparent;
}
.scene-controls button[aria-pressed="true"] { background: #efd0aa; color: #272024; }
.scene-controls button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.filmstrip .scene-link {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: .4rem;
  background: #211c21dc;
  padding-inline: .8rem;
}
@media (max-width: 900px) {
  .nocturna-hero { padding-bottom: 8.5rem; }
  .filmstrip { left: 7%; right: auto; bottom: 1rem; justify-items: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .nocturna-hero .scene-photo { transition: opacity 600ms ease-out; }
  .nocturna-hero .scene-photo.active { animation: cinematic-focus 1250ms var(--ease-out); }
  .scene-controls button { transition: color 180ms ease, background-color 180ms ease; }
}
@keyframes cinematic-focus {
  from { scale: 1.065; }
  to { scale: 1; }
}

/* Luz desenfocada en el borde de la fotografía. */
.nocturna .ambient-art::before {
  content: "";
  position: absolute;
  inset: -14% -12% -8% 38%;
  background:
    radial-gradient(ellipse at 68% 22%, #ffcb9147, transparent 25%),
    radial-gradient(ellipse at 84% 48%, #dfad842b, transparent 15%);
}
@media (prefers-reduced-motion: no-preference) {
  .nocturna .ambient-art::before {
    animation: amber-light 8.5s ease-in-out infinite alternate;
  }
}
@keyframes amber-light {
  from { transform: translate(-4%, 3%); opacity: .55; }
  to { transform: translate(4%, -3%); opacity: .95; }
}

.nocturna .cover-wave { right: 26%; mask-image: linear-gradient(90deg, black 40%, transparent); }
@media (max-width: 680px) {
  .nocturna .cover-wave { right: 0; }
}
