/* Naru M Premiere — original film-site composition using official Naru M artwork. */
:root {
  --ink: #080b0d;
  --text: #f0eee5;
  --muted: #b9b9b3;
  --peach: #dac39a;
  --line: #dac39a30;
  --paper: #e8e5d9;
}
body {
  background: #080b0d;
  color: var(--text);
}
.site-header,
.home-with-hero-switch > .site-header {
  background: #080b0d;
  border-color: #dac39a24;
  height: 96px;
  padding-inline: 6%;
}
.site-header .brand {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 30px;
}
.site-header .brand-orb {
  background: #ecd5a2;
  box-shadow: 0 0 22px #e7bb5d55;
}
.site-header nav {
  gap: 32px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-header .nav-cta,
.home-with-hero-switch > .site-header .nav-cta {
  border: 1px solid #dac39a6b;
  background: transparent;
  color: #f1dfb8;
  border-radius: 0;
  min-height: 42px;
}
.premiere-home:not([data-section]) > .site-header,
.premiere-home[data-section='home'] > .site-header {
  position: absolute;
  background: linear-gradient(#080b0de6, transparent);
  z-index: 20;
}
.button {
  border-radius: 0;
  background: #dbc69f;
  color: #151718;
  border: 1px solid #dbc69f;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.button:hover {
  background: #f3e0bb;
  color: #151718;
}
.premiere-home .image-opening {
  height: 100svh;
  min-height: 780px;
  background: #030504;
  overflow: hidden;
  position: relative;
}
.premiere-home .image-opening .opening-image,
.premiere-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: -2;
}
.premiere-loop {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.premiere-loop.is-playing {
  opacity: 1;
}
.premiere-home .image-opening:after {
  background:
    linear-gradient(0deg, #080b0dfc 0%, #080b0d44 25%, transparent 55%, #080b0d22),
    linear-gradient(90deg, #080b0d75, transparent 37%, transparent 65%, #080b0d55);
  z-index: -1;
}
.premiere-kicker {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 125px;
  display: flex;
  justify-content: space-between;
  color: #c9c4b6;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
}
.premiere-home .opening-caption {
  left: 6%;
  right: 6%;
  bottom: 150px;
  align-items: flex-end;
  gap: 35px;
}
.premiere-home .opening-caption h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(76px, 10.7vw, 164px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: #f0e4ca;
  text-shadow: 0 3px 40px #0008;
}
.premiere-home .opening-caption .eyebrow {
  font-size: 9px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  color: #dac39a;
}
.premiere-home .opening-caption p:last-child {
  font-size: 14px;
  color: #ccc8be;
  letter-spacing: 0.04em;
  margin-top: 19px;
}
.premiere-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 5px;
}
.film-trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #f0e4ca;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  min-height: 60px;
}
.play-ring {
  display: grid;
  place-items: center;
  font-size: 30px;
  border: 1px solid #d8c39c;
  border-radius: 50%;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.film-trigger:hover .play-ring {
  background: #dac39a22;
  box-shadow: 0 0 35px #d6af5733;
}
.film-trigger small {
  display: block;
  color: #b7b6ae;
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-top: 9px;
}
.premiere-home .opening-explore {
  min-width: 246px;
  min-height: 50px;
  padding: 16px 22px;
  box-shadow: none;
  margin: 0;
}
.premiere-rail {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid #dac39a40;
}
.premiere-rail a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-right: 1px solid #dac39a30;
}
.premiere-rail a:first-child {
  padding-left: 0;
}
.premiere-rail a:last-child {
  border: 0;
}
.premiere-rail a span {
  font-size: 9px;
  color: #d9c39b;
}
.premiere-rail a:hover {
  color: #e5c991;
  background: #dac39a0a;
}
.ambient-toggle {
  position: absolute;
  right: 6%;
  top: 165px;
  color: #c7c1b5;
  background: #080b0d80;
  border: 1px solid #dac39a40;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.ambient-toggle[hidden] {
  display: none;
}
.opening-curtain {
  background: radial-gradient(ellipse at center, #2f271b, #080b0d 70%);
}
.reveal-mark {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.reveal-mark small {
  font-family: Arial, sans-serif;
  color: #cbbfaa;
}
.main-menu {
  background: #080b0d;
}
.menu-scene:after {
  background: linear-gradient(0deg, #080b0d, transparent);
}
.main-menu-links a {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.035em;
}
.main-menu-links a:hover,
.main-menu-links a[aria-current='page'] {
  color: #dac39a;
}
.menu-scene > span {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #f0e4ca;
  letter-spacing: -0.04em;
}
.premiere-home .section-directory {
  background: radial-gradient(ellipse at 80% 0%, #49371e33, transparent 65%), #080b0d;
  padding-top: 80px;
}
.directory-heading h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(45px, 5.4vw, 82px);
  color: #e8dbc2;
}
.section-card {
  aspect-ratio: 3/4;
  background: #111516;
}
.section-card > div {
  padding: 30px;
}
.section-card h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 48px);
}
.section-card span {
  color: #cfbb91;
}
.section-card:after {
  background: linear-gradient(0deg, #060909fa, transparent 85%);
}
.chapter-navigation {
  background: #101313f5;
  border-color: #dac39a30;
}
.chapter-navigation span {
  color: #b7a885;
}
.cinema-home .light-section,
.cinema-home .design,
.cinema-home .gallery,
.cinema-home .meet {
  background: #101415;
  color: #eeeadf;
  --muted: #bcbcb3;
}
.cinema-home .feelings-story,
.cinema-home .motion-section,
.cinema-home .developer-teaser {
  background: #161a19;
  color: #eeeadf;
}
.cinema-home .showcase {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(var(--accent), 0.09), transparent 60%), #080b0d;
}
.cinema-home .section-heading h2,
.cinema-home .feelings-copy h2,
.cinema-home .design-pair h3,
.cinema-home .concept-film h3,
.cinema-home .engine-title h2,
.cinema-home .developer-teaser h2,
.cinema-home .final-cta h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.055em;
  color: #e9ddc5;
}
.cinema-home .section-heading h2 {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.02;
}
.cinema-home .gallery-scroll img {
  object-fit: contain;
  background: #0b0e10;
}
.cinema-home .skin-link {
  transform: none;
  box-shadow: none;
  max-width: 360px;
}
.cinema-home .engine-story {
  background: #0b0e10;
}
.cinema-home .final-cta {
  background: radial-gradient(ellipse at 50% 100%, #6e4b203d, transparent 65%), #080b0d;
}
.cinema-home .hero-switch,
.cinema-home .hero-switch-bar {
  background: #080b0d;
}
.cinema-home #hero-home h1,
.cinema-home #hero-feelings h1,
.cinema-home #hero-original h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
  font-size: clamp(62px, 7vw, 108px);
  line-height: 1;
}
.cinema-home #hero-home .photo:after {
  background: linear-gradient(0deg, #080b0d, transparent 20%, transparent 85%, #080b0d44);
}
.official-portrait-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.official-portrait-motion.is-playing {
  opacity: 1;
}
.hero-motion-paused .official-portrait-motion {
  opacity: 0;
}
.cinema-page .developer-hero,
.cinema-page .experience-page {
  background: radial-gradient(ellipse at 80% 0%, #49371e22, transparent 65%), #080b0d;
}
.cinema-page .developer-hero h1,
.cinema-page .experience-heading h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
  color: #e9ddc5;
}
footer {
  background: #080b0d;
}
.cinema-menu > div {
  background: #151a1a;
}
.film-dialog {
  padding: 22px;
  margin: auto;
  width: min(1100px, 94vw);
  max-width: 94vw;
  max-height: 92svh;
  overflow: auto;
  background: #080b0d;
  color: #f0eee5;
  border: 1px solid #dac39a55;
}
.film-dialog::backdrop {
  background: #000e;
}
.film-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.film-dialog h2 {
  font:
    12px Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.film-dialog button {
  min-height: 44px;
  background: transparent;
  color: #f0e4ca;
  border: 1px solid #dac39a50;
  padding: 10px 18px;
}
.film-dialog video {
  width: 100%;
  max-height: 70svh;
  background: black;
}
.film-dialog p {
  font-size: 11px;
  color: #b9b9b3;
  margin-top: 15px;
}
body:has(.film-dialog[open]) {
  overflow: hidden;
}
@media (max-width: 900px) {
  .premiere-home .opening-caption h1 {
    font-size: clamp(72px, 11vw, 110px);
  }
  .premiere-kicker {
    top: 112px;
  }
  .premiere-home .opening-caption {
    bottom: 158px;
  }
  .premiere-rail a {
    padding: 12px;
    font-size: 9px;
    gap: 9px;
  }
  .premiere-home .opening-explore {
    min-width: 210px;
  }
  .site-header nav {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .site-header,
  .home-with-hero-switch > .site-header {
    height: 80px;
    min-height: 80px;
    padding: 12px 6%;
    flex-wrap: nowrap;
  }
  .site-header .brand {
    font-size: 25px;
  }
  .site-header nav {
    width: auto;
    font-size: 9px;
    gap: 20px;
  }
  .site-header .nav-experience {
    display: none;
  }
  .premiere-home .image-opening {
    height: 100svh;
    min-height: 800px;
  }
  .premiere-home .image-opening .opening-image,
  .premiere-loop {
    height: 68%;
    top: 60px;
    object-fit: cover;
    object-position: 50% 40%;
  }
  .premiere-home .image-opening:after {
    background: linear-gradient(0deg, #080b0d 23%, #080b0d00 58%, transparent);
  }
  .premiere-kicker {
    top: 99px;
    font-size: 7px;
    letter-spacing: 0.13em;
  }
  .premiere-kicker span:last-child {
    display: none;
  }
  .ambient-toggle {
    top: 88px;
    right: 6%;
    font-size: 8px;
    background: #080b0d90;
    padding: 8px 10px;
  }
  .premiere-home .opening-caption {
    bottom: 164px;
    display: block;
    left: 7%;
    right: 7%;
  }
  .premiere-home .opening-caption h1 {
    font-size: clamp(64px, 18vw, 105px);
    line-height: 0.94;
  }
  .premiere-home .opening-caption .eyebrow {
    font-size: 8px;
    margin-bottom: 10px;
  }
  .premiere-home .opening-caption p:last-child {
    font-size: 12px;
    margin-top: 12px;
  }
  .premiere-actions {
    margin-top: 24px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    padding: 0;
  }
  .film-trigger {
    font-size: 9px;
    gap: 10px;
    letter-spacing: 0.05em;
    min-height: 50px;
  }
  .film-trigger small {
    font-size: 7px;
    margin-top: 5px;
  }
  .play-ring {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }
  .premiere-home .opening-explore {
    min-width: 0;
    min-height: 48px;
    font-size: 8px;
    padding: 13px 14px;
    letter-spacing: 0.06em;
  }
  .premiere-rail {
    bottom: 32px;
    left: 7%;
    right: 7%;
    grid-template-columns: 1fr 1fr;
  }
  .premiere-rail a {
    min-height: 48px;
    padding: 10px 0;
    font-size: 9px;
    gap: 12px;
  }
  .premiere-rail a:nth-child(2n) {
    padding-left: 16px;
    border-right: 0;
  }
  .premiere-rail a:nth-child(-n + 2) {
    border-bottom: 1px solid #dac39a30;
  }
  .cinema-home .section-heading h2 {
    font-size: clamp(43px, 10.5vw, 68px);
  }
  .cinema-home #hero-home h1,
  .cinema-home #hero-feelings h1,
  .cinema-home #hero-original h1 {
    font-size: clamp(48px, 11.7vw, 76px);
  }
  .cinema-home #hero-home .photo:after {
    background: linear-gradient(0deg, #080b0d, transparent 17%, transparent 82%, #080b0d);
  }
  .section-card {
    aspect-ratio: 4/5;
  }
  .section-card h2 {
    font-size: 32px;
  }
  .premiere-home .section-directory {
    padding-top: 45px;
  }
  .film-dialog {
    padding: 14px;
  }
  .film-dialog h2 {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .premiere-loop,
  .official-portrait-motion {
    display: none;
  }
  .premiere-home .opening-image,
  .premiere-home .opening-caption {
    animation: none !important;
  }
  .play-ring {
    transition: none;
  }
}

/* v0.5.2: intrinsic dimensions reserve space, not fixed rendered heights. */
.cinema-home .meet-front,
.cinema-home .meet-detail,
.cinema-home .design-pair > figure,
.cinema-home .design-pair > div {
  min-width: 0;
}
.cinema-home .meet-front img,
.cinema-home .meet-detail img,
.cinema-home .design-pair > figure img,
.cinema-home .skin-link img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (min-width: 701px) {
  .cinema-home .meet {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .cinema-home .design-pair {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* Card artwork has explicit framing; no positional nth-child exceptions. */
.section-home .section-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
