/**
 * Home Next Draft 3 — Showreel FV
 * Black stage, 5-scene HTML motion, video slot
 */

body.nw-next-page.nw-next-draft3 {
  background: #080808;
}

body.nw-next-page.nw-next-draft3 .nw-next {
  padding-top: 0;
}

/* Transparent / dark header over showreel */
body.nw-next-page.nw-next-draft3 .nw-next-header {
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.28));
  border-bottom: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

body.nw-next-page.nw-next-draft3 .nw-next-header.is-solid,
body.nw-next-page.nw-next-draft3 .nw-next-header.is-menu-open {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.nw-next-page.nw-next-draft3 .nw-next-header__brand-en,
body.nw-next-page.nw-next-draft3 .nw-next-header__en {
  color: #fff;
}

body.nw-next-page.nw-next-draft3 .nw-next-header__brand-jp,
body.nw-next-page.nw-next-draft3 .nw-next-header__jp {
  color: rgba(255, 255, 255, 0.62);
}

body.nw-next-page.nw-next-draft3 .nw-next-header__burger {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

body.nw-next-page.nw-next-draft3 .nw-next-header__nav {
  background: #0a0a0a;
}

/* ——— Showreel shell ——— */
.nw-showreel {
  --sr-bg: #080808;
  --sr-bg-2: #111111;
  --sr-fg: #f5f5f5;
  --sr-muted: rgba(255, 255, 255, 0.58);
  --sr-glass: rgba(255, 255, 255, 0.07);
  --sr-glass-border: rgba(255, 255, 255, 0.16);
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 720px;
  max-height: 1080px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 68% 48%, rgba(90, 90, 90, 0.18), transparent 62%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(40, 40, 40, 0.35), transparent 60%),
    linear-gradient(160deg, var(--sr-bg) 0%, var(--sr-bg-2) 55%, #0a0a0a 100%);
  color: var(--sr-fg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nw-showreel.is-exiting {
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
}

.nw-showreel__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nw-showreel__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

.nw-showreel__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.nw-showreel__glow--1 {
  width: 42vw;
  height: 42vw;
  right: 8%;
  top: 18%;
  background: rgba(180, 180, 180, 0.18);
}

.nw-showreel__glow--2 {
  width: 28vw;
  height: 28vw;
  left: 18%;
  bottom: 10%;
  background: rgba(255, 255, 255, 0.06);
}

.nw-showreel__noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.nw-showreel__particles {
  position: absolute;
  inset: 0;
}

.nw-showreel__dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  left: calc(8% + (var(--i) * 5.1%));
  top: calc(12% + (var(--i) * 3.7%));
  animation: nw-sr-drift calc(2.4s + var(--i) * 0.18s) ease-in-out infinite alternate;
  opacity: calc(0.25 + (var(--i) * 0.03));
}

.nw-showreel__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
}

.nw-showreel.has-video.is-video-ready .nw-showreel__media {
  display: block;
}

.nw-showreel.has-video.is-video-ready .nw-showreel__stage,
.nw-showreel.has-video.is-video-ready .nw-showreel__wordmark,
.nw-showreel.has-video.is-video-ready .nw-showreel__indicator {
  opacity: 0;
  pointer-events: none;
}

.nw-showreel__poster,
.nw-showreel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-showreel__video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.nw-showreel.has-video.is-video-ready .nw-showreel__video {
  opacity: 1;
}

.nw-showreel__layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.44fr) minmax(0, 0.56fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px) clamp(20px, 3vw, 48px);
  align-items: center;
  width: var(--content-width);
  max-width: 1400px;
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 28px;
  min-height: 0;
}

/* Copy — keep under ~35% visual weight; never covered by stage motion */
.nw-showreel__primary {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  max-width: min(38em, 100%);
  pointer-events: auto;
}

.nw-showreel__stage {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.nw-showreel__layout > .nw-showreel__indicator {
  grid-column: 2;
  grid-row: 2;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.nw-showreel__copy {
  position: relative;
  z-index: 8;
  max-width: none;
  pointer-events: auto;
}

.nw-showreel__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nw-showreel__title {
  margin: 0 0 28px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
  max-width: none;
}

.nw-showreel__title-pc,
.nw-showreel__title-sp {
  display: block;
}

.nw-showreel__title-sp {
  display: none;
}

.nw-showreel__title-line {
  display: block;
  white-space: nowrap;
}

.nw-showreel__lead {
  margin: 0 0 18px;
  font-size: clamp(12px, 0.88vw, 13.5px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  max-width: none;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
  text-wrap: pretty;
}

.nw-showreel__lead-line {
  display: block;
}

.nw-showreel__sub {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: min(40em, 100%);
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
}

.nw-showreel__sub-inner {
  display: inline;
  white-space: normal;
}

.nw-showreel__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.nw-next a.nw-showreel__cta,
.nw-showreel__cta {
  gap: 10px;
  min-height: 46px;
  padding: 0 22px 0 24px;
  border: 1px solid #c8e85a;
  border-radius: 999px;
  background: #c8e85a;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 1;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.nw-next a.nw-showreel__cta .nw-showreel__cta-label,
.nw-showreel__cta .nw-showreel__cta-label,
.nw-next a.nw-showreel__cta .nw-showreel__cta-arrow,
.nw-showreel__cta .nw-showreel__cta-arrow {
  color: #111111;
  opacity: 1;
}

.nw-next a.nw-showreel__cta:hover,
.nw-showreel__cta:hover {
  background: #d6f075;
  border-color: #d6f075;
  color: #111111;
}

.nw-next a.nw-showreel__cta:hover .nw-showreel__cta-label,
.nw-showreel__cta:hover .nw-showreel__cta-label,
.nw-next a.nw-showreel__cta:hover .nw-showreel__cta-arrow,
.nw-showreel__cta:hover .nw-showreel__cta-arrow {
  color: #111111;
  opacity: 1;
}

.nw-next a.nw-showreel__cta:hover .nw-showreel__cta-arrow,
.nw-showreel__cta:hover .nw-showreel__cta-arrow {
  transform: translateX(4px) rotate(45deg);
}

.nw-next a.nw-showreel__cta:focus-visible,
.nw-showreel__cta:focus-visible {
  outline: 2px solid #c8e85a;
  outline-offset: 3px;
  color: #111111;
}

.nw-next a.nw-showreel__cta:focus-visible .nw-showreel__cta-label,
.nw-showreel__cta:focus-visible .nw-showreel__cta-label,
.nw-next a.nw-showreel__cta:focus-visible .nw-showreel__cta-arrow,
.nw-showreel__cta:focus-visible .nw-showreel__cta-arrow {
  color: #111111;
  opacity: 1;
}

.nw-showreel__cta-arrow {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 981px) {
  .nw-showreel__lead--pc .nw-showreel__lead-line {
    display: block;
    white-space: nowrap;
  }
}

.nw-showreel .nw-next-btn--fill {
  background: #fff;
  color: #080808;
  border-color: #fff;
}

.nw-showreel .nw-next-btn--fill:hover {
  background: transparent;
  color: #fff;
}

.nw-showreel .nw-next-btn--line-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.nw-showreel .nw-next-btn--line-light:hover {
  background: #fff;
  color: #080808;
}

/* Stage */
.nw-showreel__stage {
  position: relative;
  z-index: 2;
  height: min(62vh, 560px);
  min-height: 360px;
  perspective: 1200px;
  overflow: hidden;
}

.nw-showreel__stage-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.nw-showreel__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.82) rotate(-8deg) translate3d(10%, 4%, 0);
  filter: blur(12px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease;
}

.nw-showreel__scene.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) rotate(-3deg) translate3d(0, 0, 0);
  filter: blur(0);
  z-index: 2;
}

.nw-showreel__scene.is-leaving {
  opacity: 0;
  transform: scale(0.92) rotate(4deg) translate3d(22%, -8%, 0);
  filter: blur(8px);
  z-index: 1;
}

.nw-showreel__scene-label {
  position: absolute;
  left: 4%;
  top: 5%;
  z-index: 6;
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.55);
}

.nw-showreel__scene-heading {
  position: absolute;
  left: 4%;
  top: 5%;
  z-index: 8;
  display: grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.nw-showreel__lead--sp {
  display: none;
}

.nw-showreel__scene-label-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nw-showreel__scene-label-en-row--sp {
  display: none;
}

.nw-showreel__scene-label-en-row--pc {
  display: inline;
}

/* UI mocks */
.nw-mock {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.nw-mock--primary {
  width: min(72%, 500px);
  right: 2%;
  top: 4%;
  bottom: 8%;
  border-radius: 16px;
  transform: rotate(-4deg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(28, 28, 28, 0.62) 100%);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 100px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.nw-mock--tilt-alt {
  transform: rotate(3deg);
}

.nw-mock--owned {
  transform: rotate(-5deg);
}

.nw-mock--secondary {
  width: 38%;
  height: 34%;
  border-radius: 10px;
}

.nw-mock--float-a {
  z-index: 4;
  animation: nw-sr-float-a 2.8s ease-in-out infinite alternate;
}

.nw-mock--float-b {
  z-index: 5;
  animation: nw-sr-float-b 3.6s ease-in-out infinite alternate;
}

.nw-mock--card {
  width: 132px;
  padding: 12px;
  right: -2%;
  top: 22%;
  border-radius: 12px;
}

.nw-mock--cart {
  width: 56px;
  height: 56px;
  right: 18%;
  bottom: 14%;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.nw-mock--code {
  width: 120px;
  padding: 14px;
  left: 2%;
  bottom: 18%;
  border-radius: 10px;
  display: grid;
  gap: 6px;
}

.nw-mock--code span {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
}

.nw-mock--code span:nth-child(1) { width: 70%; }
.nw-mock--code span:nth-child(2) { width: 100%; }
.nw-mock--code span:nth-child(3) { width: 55%; }
.nw-mock--code span:nth-child(4) { width: 80%; }

.nw-mock--phone {
  width: min(46%, 240px);
  aspect-ratio: 9 / 19;
  right: 14%;
  top: 4%;
  bottom: auto;
  height: auto;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2a, #101010);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.nw-mock--vertical {
  width: min(44%, 230px);
  aspect-ratio: 9 / 16;
  right: 12%;
  top: 6%;
  bottom: auto;
  height: auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #2a2a2a, #0c0c0c);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}

.nw-mock--calendar {
  width: 140px;
  height: 110px;
  left: 6%;
  top: 28%;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
}

.nw-mock--calendar span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.nw-mock--timeline {
  width: 180px;
  height: 48px;
  right: 2%;
  bottom: 18%;
  border-radius: 10px;
  padding: 14px;
}

.nw-mock--yt {
  width: 150px;
  height: 90px;
  left: 4%;
  top: 24%;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.nw-mock--badge {
  right: 6%;
  bottom: 20%;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  width: auto;
  height: auto;
}

.nw-mock--chip-ghost {
  left: 8%;
  bottom: 24%;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  width: auto;
}

.nw-mock--cursor {
  width: 18px;
  height: 18px;
  right: 28%;
  bottom: 30%;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nw-mock--cursor::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-32deg);
}

.nw-mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.nw-mock__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.nw-mock__url {
  flex: 1;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
}

.nw-mock__body {
  position: relative;
  height: calc(100% - 37px);
  padding: 14px;
}

.nw-mock__body--product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.nw-mock__media-block {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  min-height: 120px;
}

.nw-mock__lines {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 8px;
}

.nw-mock__line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  width: 100%;
}

.nw-mock__line--lg { height: 12px; width: 78%; }
.nw-mock__line--sm { width: 48%; }
.nw-mock__cta-bar {
  display: block;
  margin-top: 8px;
  height: 28px;
  width: 70%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.nw-mock__price-bar {
  display: block;
  height: 8px;
  width: 40%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.nw-mock__thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.nw-mock__cart-icon {
  width: 18px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 3px;
  position: relative;
}

.nw-mock__cart-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  right: -4px;
  top: -6px;
}

.nw-mock__body--wp {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px;
}

.nw-mock__sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 6px;
}

.nw-mock__sidebar span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.nw-mock__canvas {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.nw-mock__wire {
  height: 40%;
  min-height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.nw-mock__wire--mid { width: 80%; min-height: 28px; height: auto; }
.nw-mock__wire--sm { width: 55%; min-height: 18px; height: auto; }

.nw-mock__body--mini {
  height: calc(100% - 30px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}

.nw-mock__phone-notch {
  width: 38%;
  height: 10px;
  margin: 4px auto 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.nw-mock__phone-screen {
  position: relative;
  height: calc(100% - 28px);
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
}

.nw-mock__lp-scroll {
  display: grid;
  gap: 10px;
  padding: 12px;
  animation: nw-sr-lp-scroll 4s linear infinite;
}

.nw-mock__lp-block {
  display: block;
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nw-mock__lp-block--hero { height: 90px; }
.nw-mock__lp-block--cta {
  height: 28px;
  width: 55%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.nw-mock__play-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  position: relative;
}

.nw-mock__play-lg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}

.nw-mock__tl-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-top: 8px;
}

.nw-mock__tl-playhead {
  display: block;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  margin-left: 35%;
  border-radius: 50%;
  background: #fff;
  animation: nw-sr-playhead 4s linear infinite;
}

.nw-mock__body--store {
  display: grid;
  gap: 14px;
}

.nw-mock__grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 55%;
}

.nw-mock__grid-3 span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nw-mock__slot-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.nw-mock__media-block .nw-mock__slot-label,
.nw-mock__canvas .nw-mock__slot-label,
.nw-mock__phone-screen .nw-mock__slot-label,
.nw-mock--vertical .nw-mock__slot-label,
.nw-mock__body--store .nw-mock__slot-label {
  position: absolute;
}

/* Side scene chips removed from FV */

/* Orbs / cursor */
.nw-showreel__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02));
  filter: blur(0.2px);
}

.nw-showreel__orb--1 {
  width: 48px;
  height: 48px;
  left: 8%;
  top: 18%;
  animation: nw-sr-float-a 1.8s ease-in-out infinite alternate;
}

.nw-showreel__orb--2 {
  width: 22px;
  height: 22px;
  right: 30%;
  bottom: 12%;
  opacity: 0.7;
  animation: nw-sr-float-b 4.2s ease-in-out infinite alternate;
}

.nw-showreel__orb--3 {
  width: 70px;
  height: 70px;
  right: 8%;
  top: 8%;
  opacity: 0.25;
  filter: blur(8px);
  animation: nw-sr-float-a 3.8s ease-in-out infinite alternate-reverse;
}

.nw-showreel__cursor-float {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 42%;
  bottom: 22%;
  z-index: 7;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-35deg);
  animation: nw-sr-float-b 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}

.nw-showreel__wordmark {
  position: absolute;
  right: 4vw;
  bottom: 18%;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

/* Footer of FV (ticker only; indicators live in layout under stage) */
.nw-showreel__footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
  align-items: center;
  padding: 0 0 10px;
  width: var(--content-width);
  max-width: 1400px;
  margin-inline: auto;
}

.nw-showreel__indicator {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.nw-showreel__ind-btn {
  appearance: none;
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  padding: 7px 10px 9px;
  display: grid;
  gap: 2px;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nw-showreel__ind-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.nw-showreel__ind-btn.is-active,
.nw-showreel__ind-btn[aria-current="true"] {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nw-showreel__ind-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nw-showreel__ind-num,
.nw-showreel__ind-name {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.nw-showreel__ind-num {
  font-size: 10px;
  opacity: 0.7;
}

.nw-showreel__ind-name {
  font-size: 11px;
}

.nw-showreel__ind-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.nw-showreel__ind-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.nw-showreel__ind-btn.is-active .nw-showreel__ind-progress::after {
  animation: nw-sr-ind-progress var(--nw-scene-ms, 5000ms) linear forwards;
}

.nw-showreel.is-user-paused .nw-showreel__ind-btn.is-active .nw-showreel__ind-progress::after,
.nw-showreel.is-timer-stopped .nw-showreel__ind-btn.is-active .nw-showreel__ind-progress::after {
  animation-play-state: paused;
}

@keyframes nw-sr-ind-progress {
  from { width: 0; }
  to { width: 100%; }
}

.nw-showreel__scene-name {
  display: none;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.nw-showreel__ticker {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.nw-showreel__ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  animation: nw-sr-ticker 52s linear infinite;
}

/* About section needs id for scroll target */
#nw-next-about {
  scroll-margin-top: 24px;
}

@keyframes nw-sr-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6px, -14px, 0); }
}

@keyframes nw-sr-float-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(8px, -18px, 0); }
}

@keyframes nw-sr-float-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-10px, 14px, 0); }
}

@keyframes nw-sr-chip {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-4px, -10px, 0); }
}

@keyframes nw-sr-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes nw-sr-lp-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-40%); }
}

@keyframes nw-sr-playhead {
  from { margin-left: 8%; }
  to { margin-left: 78%; }
}

/* SP */
@media (max-width: 980px) {
  .nw-showreel {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow-x: clip;
  }

  @supports (height: 100dvh) {
    .nw-showreel {
      min-height: 100dvh;
    }
  }

  .nw-showreel__layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-content: start;
    gap: 18px;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 12px;
    width: min(var(--content-width), calc(100% - 32px));
    max-width: 100%;
    box-sizing: border-box;
  }

  .nw-showreel__primary {
    display: contents;
    max-width: none;
    grid-column: auto;
    grid-row: auto;
  }

  .nw-showreel__copy {
    max-width: 100%;
    width: 100%;
    order: 1;
    z-index: 8;
    box-sizing: border-box;
  }

  .nw-showreel__eyebrow {
    margin: 0 0 8px;
    font-size: clamp(10px, 2.7vw, 12px);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
  }

  .nw-showreel__title {
    font-size: clamp(21px, 5.5vw, 26px);
    line-height: 1.42;
    margin: 0 0 12px;
    max-width: none;
  }

  .nw-showreel__title-pc {
    display: none;
  }

  .nw-showreel__title-sp {
    display: block;
  }

  .nw-showreel__title-line {
    white-space: nowrap;
  }

  .nw-showreel__lead,
  .nw-showreel__lead--pc,
  .nw-showreel__lead--sp,
  .nw-showreel__sub,
  .nw-showreel__actions {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden;
    border: 0 !important;
  }

  .nw-showreel__stage {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    position: relative;
    height: auto;
    min-height: 0;
    max-height: none;
    width: min(88vw, 350px);
    max-width: 100%;
    overflow: hidden;
    margin-top: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .nw-showreel__stage-inner {
    position: relative;
    inset: auto;
    width: 100%;
    height: 270px;
    min-height: 270px;
    max-height: 300px;
    transform: none !important;
    overflow: hidden;
  }

  .nw-showreel__scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    transform: translateY(8px) scale(0.985);
    filter: none;
    opacity: 0;
  }

  .nw-showreel__scene.is-active {
    transform: translateY(0) scale(1);
    filter: none;
    opacity: 1;
  }

  .nw-showreel__scene.is-leaving {
    transform: translateY(-6px) scale(0.99);
    filter: none;
    opacity: 0;
  }

  .nw-showreel__scene-heading {
    position: relative;
    left: auto;
    top: auto;
    z-index: 3;
    display: grid;
    gap: 0;
    max-width: 100%;
    width: 100%;
    min-height: 28px;
    max-height: 40px;
    padding: 0 2px;
    box-sizing: border-box;
    text-shadow: none;
    flex: 0 0 auto;
  }

  .nw-showreel__scene-label-en {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.1em;
  }

  .nw-showreel__scene-label-en-row {
    display: inline;
  }

  .nw-showreel__scene-label-en-row--sp {
    display: inline;
  }

  .nw-showreel__scene-label-en-row--pc {
    display: none;
  }

  .nw-showreel__scene-visual {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .nw-mock--primary {
    width: min(78%, 280px);
    right: 10%;
  }

  .nw-mock--float-a,
  .nw-mock--float-b,
  .nw-showreel__orb,
  .nw-showreel__orb--3,
  .nw-showreel__cursor-float {
    display: none;
  }

  .nw-showreel__layout > .nw-showreel__indicator {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
    margin-bottom: 0;
  }

  .nw-showreel__actions {
    display: none !important;
  }

  .nw-showreel__actions .nw-next-btn {
    display: none !important;
  }

  .nw-showreel__footer {
    display: none;
  }

  .nw-showreel__wordmark {
    display: none;
  }
}

@media (max-width: 640px) {
  .nw-mock--primary {
    width: min(82%, 260px);
    right: 8%;
  }

  .nw-mock--phone {
    width: min(52%, 160px);
    right: 14%;
  }

  .nw-showreel {
    /* Keep FV from becoming an endless scroll on mobile browser chrome */
    min-height: unset;
    height: auto;
    padding-bottom: 0;
  }

  .nw-showreel__layout {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-showreel *,
  .nw-showreel *::before,
  .nw-showreel *::after {
    animation: none !important;
    transition: none !important;
  }

  .nw-showreel__scene {
    opacity: 0;
    transform: none;
    filter: none;
  }

  .nw-showreel__scene.is-active {
    opacity: 1;
  }

  .nw-showreel__stage-inner {
    transform: none !important;
  }
}

/* ========== Story scenes ========== */
.nw-sr-story {
  position: absolute;
  inset: 0;
}

.nw-sr-shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #141414;
}

.nw-sr-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.nw-sr-browser--main {
  width: min(74%, 520px);
  right: 3%;
  top: 8%;
  bottom: 10%;
  border-radius: 14px;
  transform: rotate(-3deg);
  z-index: 3;
}

.nw-sr-browser--side {
  width: 36%;
  height: 38%;
  left: 4%;
  bottom: 12%;
  border-radius: 10px;
  transform: rotate(4deg);
  z-index: 4;
}

.nw-sr-browser .nw-mock__chrome {
  position: relative;
  z-index: 2;
}

.nw-sr-aux {
  position: absolute;
  left: 5%;
  bottom: 5%;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nw-sr-aux span {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

/* CLARIFY: First Paint = finished EC screens, then cards assemble */
.nw-sr-story--clarify .nw-sr-live {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.nw-sr-story--clarify .nw-sr-cards,
.nw-sr-story--clarify .nw-sr-board {
  opacity: 0;
}

.nw-sr-card {
  position: absolute;
  z-index: 4;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 12, 12, 0.72);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transform: translate3d(0, 0, 0);
}

.nw-sr-card:nth-child(1) { left: 8%; top: 18%; }
.nw-sr-card:nth-child(2) { left: 70%; top: 14%; }
.nw-sr-card:nth-child(3) { left: 12%; top: 58%; }
.nw-sr-card:nth-child(4) { left: 78%; top: 48%; }
.nw-sr-card:nth-child(5) { left: 40%; top: 20%; }
.nw-sr-card:nth-child(6) { left: 55%; top: 62%; }
.nw-sr-card:nth-child(7) { left: 28%; top: 72%; }

.nw-sr-board {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(52%, 280px);
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 5;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 10, 10, 0.82);
  display: grid;
  gap: 8px;
}

.nw-sr-board__title {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.nw-sr-board__row {
  display: block;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.nw-sr-board__row--mid { width: 78%; }
.nw-sr-board__row--sm { width: 52%; }

.nw-sr-board__tags {
  display: flex;
  gap: 6px;
}

.nw-sr-board__tags em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.nw-next-js .nw-showreel__scene[data-scene-key="clarify"].is-active .nw-sr-live {
  animation: nw-sr-clarify-live 5s ease forwards;
}

.nw-next-js .nw-showreel__scene[data-scene-key="clarify"].is-active .nw-sr-cards {
  animation: nw-sr-fade-in 0.5s ease 0.9s forwards;
}

.nw-next-js .nw-showreel__scene[data-scene-key="clarify"].is-active .nw-sr-card {
  animation: nw-sr-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(1.1s + var(--i) * 0.08s) forwards;
}

.nw-next-js .nw-showreel__scene[data-scene-key="clarify"].is-active .nw-sr-board {
  animation: nw-sr-board-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards;
}

@keyframes nw-sr-clarify-live {
  0%, 18% { opacity: 1; filter: blur(0); transform: scale(1); }
  45% { opacity: 0.35; filter: blur(2px); transform: scale(0.96); }
  70%, 100% { opacity: 0.12; filter: blur(4px); transform: scale(0.94); }
}

@keyframes nw-sr-fade-in {
  to { opacity: 1; }
}

@keyframes nw-sr-card-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.92); }
  to {
    opacity: 1;
    transform: translate3d(
      calc((50% - 50%) * 0),
      0,
      0
    ) scale(1);
  }
}

/* pull cards toward center visually via left/top transitions on later keyframes - simplify: fade+scale only */
@keyframes nw-sr-board-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* DESIGN */
.nw-sr-design-stack {
  position: absolute;
  inset: 0;
}

.nw-sr-wire {
  position: absolute;
  inset: 14% 10% 18%;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 1;
}

.nw-sr-wire__hero {
  grid-column: 1 / -1;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  min-height: 42%;
}

.nw-sr-wire__col,
.nw-sr-wire__cta {
  border: 1px dashed rgba(255, 255, 255, 0.28);
  min-height: 28%;
}

.nw-sr-wire__cta {
  grid-column: 1 / -1;
  max-width: 40%;
  min-height: 14%;
  background: rgba(255, 255, 255, 0.08);
}

.nw-sr-shot--fill {
  opacity: 0;
  z-index: 2;
}

.nw-sr-story--design .nw-sr-float--a {
  left: 6%;
  top: 18%;
  width: 30%;
  height: 28%;
  z-index: 4;
}

.nw-next-js .nw-showreel__scene[data-scene-key="design"].is-active .nw-sr-shot--fill {
  animation: nw-sr-fill-in 1.1s ease 0.8s forwards;
}

.nw-next-js .nw-showreel__scene[data-scene-key="design"].is-active .nw-sr-wire {
  animation: nw-sr-wire-out 1s ease 1.4s forwards;
}

@keyframes nw-sr-fill-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nw-sr-wire-out {
  to { opacity: 0.15; }
}

/* BUILD */
.nw-sr-code {
  position: absolute;
  left: 3%;
  top: 16%;
  width: 28%;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  transform: rotate(-6deg);
}

.nw-sr-code span:nth-child(odd) { color: rgba(255, 255, 255, 0.78); }

.nw-sr-admin {
  position: absolute;
  right: 4%;
  top: 10%;
  width: 26%;
  z-index: 5;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.88);
  display: grid;
  gap: 7px;
  transform: rotate(5deg);
}

.nw-sr-admin__title {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.nw-sr-admin__row {
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.nw-sr-admin__row.is-on {
  background: rgba(255, 255, 255, 0.55);
}

.nw-sr-pulse {
  position: absolute;
  inset: 18% 12% auto;
  height: 28%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.nw-next-js .nw-showreel__scene[data-scene-key="build"].is-active .nw-sr-admin__row.is-on {
  animation: nw-sr-admin-pulse 1.6s ease 0.6s 2;
}

.nw-next-js .nw-showreel__scene[data-scene-key="build"].is-active .nw-sr-pulse {
  animation: nw-sr-preview-pulse 1.4s ease 0.9s 2;
}

@keyframes nw-sr-admin-pulse {
  0%, 100% { background: rgba(255, 255, 255, 0.55); }
  50% { background: rgba(255, 255, 255, 0.9); }
}

@keyframes nw-sr-preview-pulse {
  0%, 100% { opacity: 0; }
  40%, 60% { opacity: 1; }
}

/* CREATE */
.nw-sr-phone {
  left: 50%;
  top: 10%;
  width: min(34%, 180px);
  height: 78%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
  border-radius: 22px;
}

.nw-sr-phone-screen {
  background: linear-gradient(180deg, #2a2a2a, #111);
}

.nw-sr-phone-label {
  position: absolute;
  left: 10px;
  bottom: 12px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.nw-sr-create-cards {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.nw-sr-create-card {
  position: absolute;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.75);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0;
}

.nw-sr-create-card:nth-child(1) { left: 8%; top: 22%; }
.nw-sr-create-card:nth-child(2) { right: 8%; top: 20%; }
.nw-sr-create-card:nth-child(3) { left: 6%; bottom: 24%; }
.nw-sr-create-card:nth-child(4) { right: 7%; bottom: 22%; }

.nw-sr-yt {
  right: 6%;
  bottom: 10%;
  width: 28%;
  height: 22%;
  z-index: 5;
  border-radius: 8px;
}

.nw-sr-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nw-sr-yt .nw-mock__play-lg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nw-next-js .nw-showreel__scene[data-scene-key="create"].is-active .nw-sr-create-card {
  animation: nw-sr-fade-up 0.55s ease calc(0.35s + var(--i) * 0.12s) forwards;
}

@keyframes nw-sr-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* OPERATE */
.nw-sr-loop {
  position: absolute;
  left: 6%;
  top: 16%;
  width: 140px;
  height: 140px;
  z-index: 3;
}

.nw-sr-loop svg {
  width: 100%;
  height: 100%;
}

.nw-sr-loop__dot {
  transform-origin: 60px 60px;
}

.nw-next-js .nw-showreel__scene[data-scene-key="operate"].is-active .nw-sr-loop__dot {
  animation: nw-sr-orbit 4.2s linear infinite;
}

@keyframes nw-sr-orbit {
  to { transform: rotate(360deg); }
}

.nw-sr-loop__item {
  position: absolute;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.nw-sr-loop__item:nth-child(2) { left: 48px; top: -2px; }
.nw-sr-loop__item:nth-child(3) { right: -8px; top: 58px; }
.nw-sr-loop__item:nth-child(4) { left: 42px; bottom: -2px; }
.nw-sr-loop__item:nth-child(5) { left: -18px; top: 58px; }

.nw-sr-ops {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 48%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  z-index: 4;
}

.nw-sr-ops__tile {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #111;
}

.nw-sr-ops__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.nw-sr-ops__tile--yt {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.nw-sr-live--return {
  opacity: 0;
  z-index: 5;
}

.nw-next-js .nw-showreel__scene[data-scene-key="operate"].is-active .nw-sr-live--return {
  animation: nw-sr-return-live 5s ease forwards;
}

.nw-next-js .nw-showreel__scene[data-scene-key="operate"].is-active .nw-sr-loop,
.nw-next-js .nw-showreel__scene[data-scene-key="operate"].is-active .nw-sr-ops {
  animation: nw-sr-ops-fade 5s ease forwards;
}

@keyframes nw-sr-return-live {
  0%, 55% { opacity: 0; }
  75%, 100% { opacity: 1; }
}

@keyframes nw-sr-ops-fade {
  0%, 50% { opacity: 1; }
  75%, 100% { opacity: 0.15; }
}

/* Soften scene transitions for story continuity (PC) */
@media (min-width: 981px) {
  .nw-showreel__scene {
    transform: scale(0.96) translate3d(4%, 0, 0);
    filter: blur(6px);
  }

  .nw-showreel__scene.is-active {
    transform: scale(1) translate3d(0, 0, 0);
    filter: blur(0);
  }

  .nw-showreel__scene.is-leaving {
    transform: scale(0.98) translate3d(-4%, 0, 0);
    filter: blur(4px);
  }
}

@media (max-width: 980px) {
  .nw-showreel__indicator {
    gap: 6px;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .nw-showreel__ind-btn {
    min-width: 0;
    width: auto;
    flex: 1 1 0;
    max-width: 56px;
    height: 40px;
    padding: 6px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .nw-showreel__ind-btn.is-active,
  .nw-showreel__ind-btn[aria-current="true"] {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
  }

  .nw-showreel__ind-name {
    display: none;
  }

  .nw-showreel__ind-num {
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
  }

  .nw-showreel__scene-name {
    display: none;
  }

  .nw-showreel__ticker {
    display: none;
  }

  .nw-sr-browser--side,
  .nw-sr-code,
  .nw-sr-aux,
  .nw-sr-create-card:nth-child(n + 3),
  .nw-sr-ops__tile--yt,
  .nw-sr-loop__item {
    display: none;
  }

  .nw-sr-browser--main {
    width: min(88%, 420px);
    right: 6%;
    left: auto;
    top: 12%;
    bottom: 14%;
    transform: none;
  }

  .nw-sr-phone {
    width: min(42%, 150px);
  }

  .nw-sr-yt {
    width: 34%;
    height: 18%;
  }

  .nw-sr-ops {
    width: 56%;
  }

  .nw-sr-card:nth-child(n + 5) {
    display: none;
  }

  .nw-sr-board {
    width: min(70%, 240px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-next-js .nw-showreel__scene[data-scene-key="clarify"].is-active .nw-sr-live {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .nw-sr-story--clarify .nw-sr-cards,
  .nw-sr-story--clarify .nw-sr-board {
    opacity: 0 !important;
  }

  .nw-showreel__ind-btn.is-active .nw-showreel__ind-progress::after {
    animation: none;
    width: 100%;
  }
}

/* No-JS: first scene already .is-active — keep finished EC visible */
.nw-next:not(.nw-next-js) .nw-sr-story--clarify .nw-sr-cards,
.nw-next:not(.nw-next-js) .nw-sr-story--clarify .nw-sr-board,
.nw-next:not(.nw-next-js) .nw-sr-live--return {
  display: none;
}
