:root {
  --bg: #08090a;
  --bg-deep: #020202;
  --surface: #202528;
  --surface-soft: var(--surface-soft);
  --line: rgba(255, 255, 21, 0.18);
  --line-soft: rgba(255, 255, 21, 0.08);
  --ink: #FFF7EF;
  --ink-strong: #ffffff;
  --ink-soft: rgba(255, 247, 239, 0.84);
  --ink-mid: #a99e96;
  --ink-muted: #7a6e66;
  --primary: #ffff15;
  --secondary: #990500;
  --cyan: #1C9AA1;
  --ochre: #83543D;
  --max: min(1480px, 94vw);
  --content: min(1120px, 88vw);
  --header-height: 80px;
  --font-title: "Cinzel", "Noto Serif TC", "Noto Serif SC", serif;
  --font-body: "Outfit", "Noto Sans SC", sans-serif;
  --font-calligraphy: "ZCOOL XiaoWei", "LXGW WenKai TC", "Ma Shan Zheng", "Zhi Mang Xing", cursive, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  overflow-x: hidden;
}

html:has(.immersive-page) {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 21, 0.08), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(153, 5, 0, 0.08), transparent 46%),
    linear-gradient(160deg, #050506, #0d0f11 42%, #050506);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 21, 0.06), transparent 42%),
    radial-gradient(circle at 84% 28%, rgba(153, 5, 0, 0.06), transparent 46%),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.04), transparent 66%);
  mix-blend-mode: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

p,
h1,
h2,
h3,
li,
blockquote {
  text-wrap: pretty;
}

.ink-noise,
.ink-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ink-noise {
  z-index: -1;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, rgba(74, 59, 39, 0.12) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.ink-vignette {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(0, 0, 0, 0.46) 98%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.62), transparent 24%, transparent 78%, rgba(4, 7, 12, 0.64));
}

.site-shell {
  width: 100%;
  padding-top: var(--header-height);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.84), rgba(8, 9, 10, 0.22));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-header.scrolled {
  padding: 10px 0;
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.94), rgba(8, 9, 10, 0.72));
}

.site-header-inner {
  width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(152px, 16vw, 212px);
  height: auto;
  opacity: 1;
  transition: transform 300ms cubic-bezier(0.2, 0.74, 0.22, 1), filter 300ms ease;
  /* High contrast mathematically solved neon yellow filter (#ffff15) */
  filter: brightness(0) saturate(100%) invert(87.50%) sepia(100.00%) saturate(500%) hue-rotate(10deg) brightness(140.00%) contrast(50.00%);
}

.site-brand:hover .brand-logo {
  transform: scale(1.03);
  /* Pure neon yellow - stays identical color and brightness on hover per user request */
  filter: brightness(0) saturate(100%) invert(87.50%) sepia(100.00%) saturate(500%) hue-rotate(10deg) brightness(140.00%) contrast(50.00%);
}



.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink-strong);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* AI中轉站 Premium Red Link Styles */
.nav-link-ai {
  color: var(--secondary) !important;
  font-weight: 600 !important;
  text-shadow: 0 0 8px rgba(153, 5, 0, 0.15);
}

.nav-link-ai:hover {
  color: #ff2010 !important;
  text-shadow: 0 0 12px rgba(255, 32, 16, 0.4);
}

.nav-link-ai::after {
  background: #ff2010 !important;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.immersive-page {
  display: block;
}

.scene-panel {
  --scene-visibility: 1;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.scene-panel-text,
.scene-panel-gallery,
.scene-panel-video,
.scene-panel-story {
  background: var(--bg);
}

.scene-backdrop,
.scene-carousel,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transform:
    scale(calc(1.1 - (var(--scene-visibility) * 0.08)))
    translate3d(0, calc((1 - var(--scene-visibility)) * 26px), 0);
  transition: transform 220ms linear, opacity 220ms linear;
}

.scene-panel::before,
.scene-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-panel::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.88), transparent 25%, transparent 75%, rgba(8, 9, 10, 0.96)),
    linear-gradient(120deg, rgba(8, 9, 10, 0.92), transparent 50%, rgba(8, 9, 10, 0.92));
}

.scene-panel::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, calc(0.08 + ((1 - var(--scene-visibility)) * 0.14))), transparent 24%, transparent 76%, rgba(8, 9, 10, calc(0.2 + ((1 - var(--scene-visibility)) * 0.28)))),
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, calc(var(--scene-visibility) * 0.03)), transparent 42%);
}

.panel-home-manifesto::after,
.panel-about-manifesto::after,
.panel-story-epilogue::after,
.panel-article-body::after {
  background: linear-gradient(180deg, rgba(8, 9, 10, calc(0.18 + ((1 - var(--scene-visibility)) * 0.12))), rgba(8, 9, 10, calc(0.32 + ((1 - var(--scene-visibility)) * 0.22))));
}

.panel-home-gallery::before,
.panel-about-team::before,
.panel-article-related::before {
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.16), rgba(8, 9, 10, 0.44) 36%, rgba(8, 9, 10, 0.84)),
    linear-gradient(180deg, rgba(8, 9, 10, 0.12), transparent 32%, rgba(255, 255, 255, 0.18));
}

.scene-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.1), transparent 45%, rgba(8, 9, 10, 0.2));
}

.scene-inner {
  position: relative;
  z-index: 3;
  width: var(--content);
  margin: 0 auto;
  padding: clamp(96px, 12vh, 150px) 0;
  transform: translateY(calc((1 - var(--scene-visibility)) * 26px));
  opacity: calc(0.42 + (var(--scene-visibility) * 0.58));
  transition: transform 220ms linear, opacity 220ms linear;
}

.scene-inner > * {
  transform: translateY(calc((1 - var(--scene-visibility)) * 22px));
  opacity: calc(0.18 + (var(--scene-visibility) * 0.82));
  transition:
    transform 260ms cubic-bezier(0.2, 0.74, 0.22, 1),
    opacity 260ms ease;
}

.scene-inner > *:nth-child(2) {
  transition-delay: 55ms;
}

.scene-inner > *:nth-child(3) {
  transition-delay: 110ms;
}

.scene-panel-title .scene-inner,
.scene-panel-hero .scene-inner {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.title-scene-inner,
.epilogue-inner {
  align-items: center;
}

.title-scene-inner {
  display: flex;
  justify-content: flex-start;
  padding-top: clamp(72px, 10vh, 104px);
  padding-bottom: 56px;
}

.panel-home-gallery .scene-inner,
.panel-about-values .scene-inner,
.panel-about-team .scene-inner,
.panel-article-related .scene-inner,
.panel-legal-body .scene-inner {
  display: grid;
  align-content: center;
}

.hero-scene-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: end;
}

.hero-copy,
.hero-aside,
.title-copy,
.manifesto-copy,
.video-scene-copy,
.story-scene-copy,
.epilogue-copy,
.contact-copy,
.article-body,
.article-links,
.screen-caption,
.legal-item {
  max-width: 100%;
}

.hero-copy h1,
.title-copy h1 {
  margin: 0;
}

.title-copy > *,
.manifesto-copy > *,
.video-scene-copy > *,
.story-scene-copy > *,
.epilogue-copy > *,
.contact-copy > * {
  transform: translateY(calc((1 - var(--scene-visibility)) * 18px));
  opacity: calc(0.12 + (var(--scene-visibility) * 0.88));
  transition:
    transform 320ms cubic-bezier(0.2, 0.74, 0.22, 1),
    opacity 320ms ease;
}

.hero-copy {
  opacity: 1 !important;
  transform: none !important;
}

.hero-copy > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

.hero-copy > *:nth-child(2),
.title-copy > *:nth-child(2),
.manifesto-copy > *:nth-child(2),
.video-scene-copy > *:nth-child(2),
.story-scene-copy > *:nth-child(2),
.epilogue-copy > *:nth-child(2),
.contact-copy > *:nth-child(2) {
  transition-delay: 70ms;
}

.hero-copy > *:nth-child(3),
.title-copy > *:nth-child(3),
.manifesto-copy > *:nth-child(3),
.video-scene-copy > *:nth-child(3),
.story-scene-copy > *:nth-child(3),
.epilogue-copy > *:nth-child(3),
.contact-copy > *:nth-child(3) {
  transition-delay: 130ms;
}

.hero-copy > *:nth-child(4),
.title-copy > *:nth-child(4),
.manifesto-copy > *:nth-child(4),
.video-scene-copy > *:nth-child(4),
.story-scene-copy > *:nth-child(4),
.epilogue-copy > *:nth-child(4),
.contact-copy > *:nth-child(4) {
  transition-delay: 190ms;
}

.hero-copy h1 span,
.hero-copy h1 em {
  color: #ffff15 !important;
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  opacity: 1 !important;
}

.title-copy h1,
.section-head h2,
.manifesto-copy h2,
.video-scene-copy h2,
.story-scene-copy h2,
.epilogue-copy h2,
.contact-copy h2 {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.02em; /* Roman and Serif style elegant spacing */
  line-height: 1.1;
}

.hero-copy h1 span {
  display: block;
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.hero-copy h1 em {
  display: block;
  font-style: normal;
  font-size: clamp(3.6rem, 10vw, 7rem);
  margin-top: 2px;
}

.hero-tagline {
  margin: 16px 0 0;
  color: #ffff15 !important;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 1 !important;
}

.hero-lead,
.title-copy p,
.manifesto-copy p,
.video-scene-copy p,
.story-scene-copy p,
.epilogue-copy p,
.contact-copy p,
.article-body p,
.screen-caption p,
.legal-item p,
.essay-copy p,
.shot-frame-copy p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.6vw, 1rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.hero-aside {
  max-width: 280px;
  margin-left: auto;
  color: var(--secondary);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hero-aside p {
  margin: 0;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
}

.hero-dot {
  width: 18px;
  height: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 200ms ease, background-color 200ms ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--ink);
}

.hero-actions,
.section-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-solid {
  background: linear-gradient(180deg, var(--secondary), #6b0300);
  color: var(--ink);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 14px rgba(153, 5, 0, 0.32);
}

.btn-solid:hover {
  background: linear-gradient(180deg, #bf0c06, var(--secondary));
  border-color: var(--ink-strong);
  box-shadow: 0 6px 20px rgba(153, 5, 0, 0.46);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.36);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 21, 0.08);
  color: var(--primary);
  border-color: var(--primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink-mid);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
}

.section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.title-copy h1,
.section-head h2,
.manifesto-copy h2,
.video-scene-copy h2,
.story-scene-copy h2,
.epilogue-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-head p {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.manifesto-inner,
.video-scene-inner,
.article-stream-inner,
.legal-body-inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.manifesto-list,
.value-stream,
.cast-stream,
.legal-list {
  display: grid;
  gap: 18px;
}

.manifesto-row,
.value-line,
.cast-line,
.article-links div,
.legal-item {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.manifesto-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
}

.manifesto-no,
.shot-frame-copy span,
.article-links span,
.meta {
  color: var(--ink-mid);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid var(--cyan);
  background: rgba(28, 154, 161, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 2px;
}

.manifesto-row h3,
.value-line h3,
.cast-copy h3,
.essay-copy h3,
.shot-frame-copy h3,
.article-links a,
.legal-item h3 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.shot-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.shot-river {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow: visible;
  padding: 24px 0 32px;
  width: max-content;
  cursor: default;
  pointer-events: auto;
  will-change: transform;
}

.shot-river:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.36);
  outline-offset: 10px;
}

.shot-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 38px;
  height: 56px;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.42), rgba(15, 18, 22, 0.72));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  opacity: 0.78;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shot-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.58), rgba(15, 18, 22, 0.88));
}

.shot-nav:disabled {
  opacity: 0.22;
  cursor: default;
  transform: translateY(-50%);
}

.shot-nav span {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 300;
}



.shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
  width: clamp(280px, 35vw, 440px);
  height: clamp(400px, 55vh, 640px);
  transform: translate3d(0, calc((1 - var(--scene-visibility)) * 30px), 0) scale(calc(0.94 + (var(--scene-visibility) * 0.06)));
  opacity: calc(0.2 + (var(--scene-visibility) * 0.8));
  transition: transform 760ms cubic-bezier(0.18, 0.72, 0.22, 1), opacity 760ms ease;
}



.shot-frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.84) brightness(0.72);
}

.shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 9, 10, 0.78));
}

.shot-frame-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.shot-frame-copy h3 {
  margin-top: 6px;
}

.screen-stage {
  width: min(1080px, 100%);
}

.screen-shell {
  overflow: hidden;
}

/* Custom Premium Video Wrapper */
.video-wrapper {
  position: relative;
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-video {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: cover;
  display: block;
  background: #000;
  transition: opacity 300ms ease;
}

/* Custom Play Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.46); /* Dark cinematic ambient mask */
  transition: opacity 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* Premium Calligraphy Play Button (No background circles, pure calligraphy triangle) */
.play-btn {
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Calligraphy play icon */
.play-btn-icon {
  width: 90px;
  height: 90px;
  transform: translateX(4px); /* Optical offset for perfect center alignment */
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.76)); /* Subtle dropshadow to pop against backgrounds */
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.play-btn-icon path {
  fill: #ffffff; /* PURE WHITE by default when mouse is NOT touching the video */
  transition: fill 350ms ease;
}

/* Hover dynamic effects: turns red and scales up when the mouse touches the video container */
.video-wrapper:hover .play-btn {
  transform: scale(1.12);
}

.video-wrapper:hover .play-btn-icon path {
  fill: var(--secondary); /* Brand True Red (#990500) when touching/hovering the video */
}

/* When the video is playing, fade out the overlay smoothly */
.video-wrapper.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.screen-caption {
  margin-top: 16px;
}

.title-copy {
  background: rgba(8, 9, 10, 0.28) !important; /* Seamless elegant dark wash for high text contrast */
  backdrop-filter: blur(6px) !important; /* Gentle backdrop blur for readability */
  -webkit-backdrop-filter: blur(6px) !important;
  border: none !important; /* Completely borderless */
  border-radius: 0 !important; /* No rounded corners */
  padding: clamp(16px, 2.5vw, 24px) !important;
  box-shadow: none !important; /* No shadow */
  width: min(640px, 100%) !important;
}

.story-scene-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
}

.story-panel-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story-panel-image {
  opacity: 0.22;
  transform:
    scale(calc(1.18 - (var(--scene-visibility) * 0.08)))
    translate3d(0, calc((1 - var(--scene-visibility)) * 34px), 0);
  transition: transform 220ms linear, opacity 220ms linear;
}

.story-panel-glow,
.story-panel-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-panel-glow {
  background:
    radial-gradient(circle at 18% 42%, rgba(27, 111, 169, 0.26), transparent 34%),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 21, 0.18), transparent 28%),
    linear-gradient(140deg, rgba(8, 16, 28, 0.82), rgba(8, 16, 28, 0.36) 42%, rgba(8, 16, 28, 0.84));
  opacity: calc(0.58 + (var(--scene-visibility) * 0.2));
  transition: opacity 420ms ease;
}

.panel-story-2 .story-panel-glow {
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 21, 0.2), transparent 30%),
    radial-gradient(circle at 82% 62%, rgba(27, 111, 169, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(9, 18, 32, 0.84), rgba(18, 34, 52, 0.38) 48%, rgba(10, 18, 28, 0.88));
}

.panel-story-3 .story-panel-glow {
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 21, 0.16), transparent 28%),
    radial-gradient(circle at 26% 72%, rgba(27, 111, 169, 0.24), transparent 32%),
    linear-gradient(130deg, rgba(8, 16, 28, 0.9), rgba(9, 18, 32, 0.4) 46%, rgba(8, 16, 28, 0.88));
}

.story-panel-grain {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%, transparent 74%, rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px);
  mix-blend-mode: screen;
  opacity: 0.26;
}

.story-scene-inner.is-reverse {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
}

.story-scene-copy {
  max-width: 520px;
  transform: translateX(calc((1 - var(--scene-visibility)) * 36px));
  opacity: calc(0.16 + (var(--scene-visibility) * 0.84));
  transition: transform 720ms cubic-bezier(0.2, 0.74, 0.22, 1), opacity 720ms ease;
}

.story-scene-inner.is-reverse .story-scene-copy {
  margin-left: auto;
  transform: translateX(calc((1 - var(--scene-visibility)) * -36px));
}

.story-image-wrap {
  width: 100%;
  max-width: 520px;
  transform: translateX(calc((1 - var(--scene-visibility)) * -48px)) scale(calc(0.96 + (var(--scene-visibility) * 0.04)));
  opacity: calc(0.16 + (var(--scene-visibility) * 0.84));
  transition: transform 760ms cubic-bezier(0.2, 0.74, 0.22, 1), opacity 760ms ease;
}

.story-scene-inner.is-reverse .story-image-wrap {
  justify-self: end;
  transform: translateX(calc((1 - var(--scene-visibility)) * 48px)) scale(calc(0.96 + (var(--scene-visibility) * 0.04)));
}

.story-illustration {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}



.story-scene-copy blockquote {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--secondary); /* Accent brand red border */
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

.values-inner,
.team-inner {
  display: grid;
  gap: 28px;
}

.cast-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.cast-avatar {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%; /* Force all avatars to render as circles */
}

.role {
  margin: 6px 0 0;
  color: var(--ink-mid);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-copy {
  max-width: 620px !important;
  background: linear-gradient(135deg, rgba(153, 5, 0, 0.08) 0%, rgba(8, 9, 10, 0.42) 100%) !important; /* Seamless dark-red wash */
  border: none !important; /* No border */
  border-radius: 0 !important; /* No rounded corners */
  padding: 46px 52px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: none !important; /* No shadow */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
}

.filter-strip {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0 12px;
  background: linear-gradient(180deg, var(--bg-deep), rgba(8, 9, 10, 0.88), transparent);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease, border-color 160ms ease;
}

.tab:hover,
.tab.is-active {
  color: var(--primary);
  border-color: var(--primary);
}

.list-count {
  margin: 0;
  color: var(--ink-mid);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  position: relative;
  z-index: 4;
  align-items: start;
}

.essay-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.essay-card[hidden],
.essay-card.is-hidden {
  display: none !important;
}

.essay-media-link {
  display: block;
  overflow: hidden;
}

.essay-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

.essay-card:hover .essay-media {
  transform: scale(1.03);
}

.essay-copy {
  padding-right: 8px;
}

.essay-copy h3 {
  line-height: 1.08;
}

.meta {
  display: block;
  margin-top: 12px;
}

.article-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(220px, 0.48fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.article-links {
  display: grid;
  gap: 22px;
}

.article-links p {
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(8, 9, 10, 0.08);
  color: var(--ink-mid);
  font-size: 0.74rem;
  letter-spacing: -0.01em;
}

.cookie-list {
  margin: 12px 0 0;
  padding-left: 22px;
}

.cookie-list li {
  color: var(--ink-soft);
}

.page-footer {
  margin-top: 0;
  padding: 48px 0 32px;
  background: #060708; /* Ultra-deep obsidian black */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Subtle red gradient ambient glow at the bottom corner for premium atmosphere */
.page-footer::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 5, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.footer-inner {
  width: var(--content);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  gap: clamp(20px, 3.5vw, 36px);
  position: relative;
  z-index: 2;
}

.footer-brand h4 {
  margin: 0 0 10px;
  color: #ffffff; /* Pure luxury white */
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-title);
}

.footer-brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 320px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px; /* More elegant vertical spacing between Email and Address */
}

.footer-contact p {
  margin: 0;
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-contact strong {
  display: block;
  color: var(--ink-mid); /* Muted gray label */
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  font-weight: 500;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h4 {
  margin: 0 0 12px;
  color: var(--ink-mid);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 300ms ease, transform 300ms ease;
  display: inline-block;
  width: fit-content;
}

.footer-links a:hover {
  color: var(--secondary); /* Brand True Red #990500 on hover */
  transform: translateX(4px);
}

.rights {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--ink-mid);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.74, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-scroll-item] {
  opacity: 1;
  transform: none;
}

.has-scroll-effects .scroll-load [data-scroll-item] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2.2px);
  transition:
    opacity 920ms cubic-bezier(0.18, 0.72, 0.22, 1),
    transform 920ms cubic-bezier(0.18, 0.72, 0.22, 1),
    filter 920ms ease;
  transition-delay: calc(var(--stagger, 0) * 130ms);
}

.has-scroll-effects .scroll-load.is-loaded [data-scroll-item] {
  opacity: 1;
  transform: none;
  filter: none;
}

.has-scroll-effects .scene-panel-story.scroll-load [data-scroll-item] {
  transform: translateY(54px) scale(0.97);
  filter: blur(10px);
}

.has-scroll-effects .scene-panel-story.scroll-load.is-loaded [data-scroll-item] {
  transform: none;
  filter: none;
}

.page-home [data-scene] {
  transition: opacity 620ms ease, transform 620ms ease, filter 620ms ease;
}

.page-home [data-scene]:not(.scene-active) {
  opacity: 0.94;
  transform: translateY(8px);
  filter: saturate(0.92);
}

.page-home [data-scene].scene-active {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 1160px) {
  .hero-scene-inner,
  .article-body-inner,
  .essay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-body-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    width: min(280px, 78vw);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: rgba(8, 9, 10, 0.96);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .hero-scene-inner,
  .story-scene-inner,
  .story-scene-inner.is-reverse,
  .essay-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: none;
    margin-left: 0;
  }

  .scene-panel {
    min-height: auto;
  }

  .scene-panel-title .scene-inner,
  .scene-panel-hero .scene-inner {
    min-height: min(86vh, 860px);
  }

  .shot-nav {
    width: 32px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .scene-inner,
  .site-header-inner,
  .footer-inner {
    width: min(1120px, 90vw);
  }

  .scene-inner {
    padding: 88px 0 64px;
  }

  .hero-copy h1 span {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .hero-copy h1 em {
    font-size: clamp(3.6rem, 16vw, 5.8rem);
  }

  .title-copy h1,
  .section-head h2,
  .manifesto-copy h2,
  .video-scene-copy h2,
  .story-scene-copy h2,
  .epilogue-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .btn {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 0.78rem;
  }

  .manifesto-row,
  .cast-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filter-strip {
    top: calc(var(--header-height) + 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  width: 28px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, opacity 200ms ease, color 200ms ease;
  opacity: 0.92;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}
.hero-nav:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.hero-prev {
  left: 18px;
}
.hero-next {
  right: 18px;
}

/* Completely hide duplicate blurred background images to let the clean, premium deep black background shine through */
.scene-panel-text .scene-backdrop,
.scene-panel-story .scene-backdrop,
.scene-panel-gallery .scene-backdrop,
.scene-panel-video .scene-backdrop,
.panel-articles-stream .scene-backdrop,
.panel-article-body .scene-backdrop,
.panel-article-related .scene-backdrop,
.panel-legal-body .scene-backdrop {
  display: none !important;
}

/* Ensure the scene containers maintain their elegant structure without background image dependencies */
.scene-panel-text,
.scene-panel-gallery,
.scene-panel-video,
.scene-panel-story {
  background: transparent !important;
}

/* ==========================================================================
   AI Transit Hub Premium Dropdown & Cyber Modals
   ========================================================================== */

.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: rgba(8, 9, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 21, 0.15);
  border-radius: 12px;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 252px;
  z-index: 100;
  transition: opacity 280ms cubic-bezier(0.2, 0.74, 0.22, 1), transform 280ms cubic-bezier(0.2, 0.74, 0.22, 1);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-soft) !important;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
  width: 100%;
}

.dropdown-item:hover {
  background: rgba(255, 255, 21, 0.08);
  color: #ffff15 !important;
}

.dropdown-item .icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dropdown-item .item-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.dropdown-item .item-copy strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 180ms ease;
}

.dropdown-item:hover .item-copy strong {
  color: #ffff15;
}

.dropdown-item .item-copy p {
  margin: 1px 0 0;
  font-size: 0.68rem;
  color: var(--ink-mid);
}

.chevron {
  font-size: 0.55rem;
  margin-left: 6px;
  color: var(--secondary);
  transition: transform 220ms ease;
  display: inline-block;
}

.nav-dropdown-wrapper:hover .chevron {
  transform: rotate(180deg);
}

