:root {
  --ink: #080b09;
  --ink-soft: #101511;
  --paper: #ede4d2;
  --paper-dim: rgba(237, 228, 210, 0.72);
  --paper-faint: rgba(237, 228, 210, 0.14);
  --gold: #caa34d;
  --gold-soft: rgba(202, 163, 77, 0.24);
  --jade: #65a384;
  --teal: #0f514d;
  --crimson: #73262a;
  --line: rgba(237, 228, 210, 0.18);
  --line-strong: rgba(202, 163, 77, 0.42);
  --shadow: 0 22px 70px -34px rgba(3, 7, 6, 0.82);
  --ease-heavy: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 64% 10%, rgba(115, 38, 42, 0.22), transparent 30rem),
    radial-gradient(circle at 14% 46%, rgba(15, 81, 77, 0.28), transparent 34rem),
    var(--ink);
  color: var(--paper);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.14;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
}

.thread-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.52;
}

.thread-field svg {
  width: 100%;
  height: 100%;
}

.thread-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 12 18;
  filter: drop-shadow(0 0 8px rgba(202, 163, 77, 0.34));
  animation: threadDrift 14s var(--ease-heavy) infinite alternate;
}

.thread-line-b {
  stroke-width: 0.8;
  opacity: 0.42;
  animation-duration: 18s;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

section[id] {
  scroll-margin-top: 112px;
}

.site-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(92vw, 880px);
  padding: 9px 12px 9px 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(237, 228, 210, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 9, 0.64);
  box-shadow: 0 18px 55px -28px rgba(3, 6, 5, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  padding-right: 8px;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: "STXingkai", "HanziPen SC", "Kaiti SC", cursive;
  font-size: 28px;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-size: 10px;
  line-height: 1.1;
  color: var(--paper-dim);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

.nav-links a,
.mobile-panel a {
  border-radius: 999px;
  color: var(--paper-dim);
  transition:
    color 520ms var(--ease-soft),
    background 520ms var(--ease-soft),
    transform 520ms var(--ease-soft);
}

.nav-links a {
  padding: 11px 16px;
  font-size: 13px;
}

.nav-links a:hover,
.mobile-panel a:hover {
  background: rgba(237, 228, 210, 0.08);
  color: var(--paper);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(237, 228, 210, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--paper);
  transition:
    transform 620ms var(--ease-heavy),
    top 620ms var(--ease-heavy);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

body.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: 86px;
  left: 4vw;
  right: 4vw;
  z-index: 29;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(237, 228, 210, 0.14);
  border-radius: 8px;
  background: rgba(8, 11, 9, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.98);
  transition:
    opacity 520ms var(--ease-soft),
    transform 520ms var(--ease-soft);
}

body.menu-open .mobile-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-panel a {
  padding: 14px 16px;
  font-size: 15px;
}

.creator-seal {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 31;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 12px;
  border: 1px solid rgba(202, 163, 77, 0.52);
  border-radius: 50%;
  background: rgba(8, 11, 9, 0.72);
  box-shadow: 0 18px 42px -24px rgba(3, 6, 5, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition:
    transform 620ms var(--ease-heavy),
    border-color 620ms var(--ease-heavy),
    background 620ms var(--ease-heavy);
}

.creator-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(237, 228, 210, 0.18));
}

.creator-seal:hover {
  transform: translateY(-3px) rotate(-4deg);
  border-color: rgba(237, 228, 210, 0.72);
  background: rgba(16, 21, 17, 0.82);
}

.audio-panel {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 31;
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(237, 228, 210, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 9, 0.72);
  box-shadow: 0 18px 42px -24px rgba(3, 6, 5, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 8px 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(237, 228, 210, 0.08);
  color: var(--paper-dim);
  cursor: pointer;
  transition:
    transform 520ms var(--ease-heavy),
    background 520ms var(--ease-heavy),
    color 520ms var(--ease-heavy);
}

.audio-toggle strong {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(237, 228, 210, 0.1);
  color: var(--paper);
  font-size: 12px;
  font-weight: 560;
}

.audio-toggle[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.audio-toggle[aria-pressed="true"] strong {
  background: rgba(8, 11, 9, 0.12);
  color: var(--ink);
}

.audio-toggle:hover {
  transform: translateY(-2px);
  color: var(--paper);
}

.audio-toggle[aria-pressed="true"]:hover {
  color: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 52vh;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 9, 0) 0%,
    rgba(8, 11, 9, 0.5) 24%,
    rgba(8, 11, 9, 0.88) 58%,
    var(--ink) 100%
  );
}

.hero-backplate {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-backplate video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
  animation: heroBreath 16s var(--ease-heavy) infinite alternate;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 9, 0.96) 0%, rgba(8, 11, 9, 0.76) 32%, rgba(8, 11, 9, 0.18) 68%),
    linear-gradient(0deg, rgba(8, 11, 9, 0.96) 0%, rgba(8, 11, 9, 0.12) 42%, rgba(8, 11, 9, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 0.72fr);
  grid-template-areas:
    "title meta"
    "title copy"
    "title actions";
  align-content: end;
  align-items: end;
  column-gap: clamp(36px, 8vw, 140px);
  width: min(92%, 1280px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 86px 0 76px;
}

.hero-meta {
  grid-area: meta;
  display: grid;
  gap: 18px;
  align-self: end;
  margin: 0 0 26px;
  transform: translate3d(0, 0, 0);
}

.hero-meta,
.title-lockup,
.hero-summary,
.hero-actions {
  opacity: 0;
  filter: blur(14px);
  transition:
    opacity 1200ms var(--ease-soft),
    filter 1200ms var(--ease-soft),
    transform 1200ms var(--ease-soft);
}

.hero-meta,
.hero-summary,
.hero-actions {
  transform: translate3d(0, 24px, 0);
}

body.hero-copy-ready .hero-meta,
body.hero-copy-ready .title-lockup,
body.hero-copy-ready .hero-summary,
body.hero-copy-ready .hero-actions {
  opacity: 1;
  filter: blur(0);
}

body.hero-copy-ready .hero-meta,
body.hero-copy-ready .hero-summary,
body.hero-copy-ready .hero-actions {
  transform: translate3d(0, 0, 0);
}

body.hero-copy-ready .hero-meta {
  transition-delay: 0ms;
}

body.hero-copy-ready .title-lockup {
  transition-delay: 140ms;
}

body.hero-copy-ready .hero-summary {
  transition-delay: 280ms;
}

body.hero-copy-ready .hero-actions {
  transition-delay: 420ms;
}

.eyebrow,
.section-kicker,
.role-tag {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.title-lockup {
  position: relative;
  grid-area: title;
  width: min(100%, 640px);
  margin-top: 0;
  transform: translate3d(-10px, 22px, 0);
}

.title-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(17px, 1.7vw, 26px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.title-lockup h1 {
  margin: 0;
  line-height: 0;
}

.title-lockup h1 img {
  width: clamp(340px, 40vw, 620px);
  max-width: 100%;
  opacity: 0.94;
  filter:
    drop-shadow(12px 18px 0 rgba(8, 11, 9, 0.42))
    drop-shadow(0 22px 48px rgba(67, 4, 6, 0.58));
  transform: rotate(-3deg);
}

.hero-summary {
  grid-area: copy;
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--paper-dim);
  font-size: 18px;
  line-height: 1.9;
  text-shadow: 0 2px 16px rgba(3, 6, 5, 0.72);
}

.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  transition:
    transform 620ms var(--ease-heavy),
    background 620ms var(--ease-heavy),
    color 620ms var(--ease-heavy);
}

.pill-button:active,
.filter-chip:active,
.menu-toggle:active {
  transform: translateY(1px) scale(0.98);
}

.pill-button.primary {
  background: var(--paper);
  color: var(--ink);
}

.pill-button.ghost {
  border: 1px solid rgba(237, 228, 210, 0.18);
  background: rgba(237, 228, 210, 0.08);
  color: var(--paper);
}

.pill-button:hover {
  transform: translateY(-2px);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(8, 11, 9, 0.08);
  transition: transform 620ms var(--ease-heavy);
}

.ghost .button-icon {
  background: rgba(237, 228, 210, 0.12);
}

.pill-button:hover .button-icon {
  transform: translate(3px, -2px) scale(1.04);
}

.button-icon svg {
  width: 18px;
  height: 18px;
}

.button-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 54px 0 0;
  padding: 1px;
  border-radius: 8px;
  background: rgba(237, 228, 210, 0.12);
  overflow: hidden;
}

.hero-facts div {
  margin: 0;
  padding: 18px;
  background: rgba(8, 11, 9, 0.54);
}

.hero-facts dt {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
}

.hero-facts dd {
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}

.section-pad {
  width: min(92%, 1280px);
  margin: 0 auto;
  padding: 126px 0;
}

.section-kicker {
  margin-bottom: 24px;
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-items: stretch;
}

.origin-copy h2,
.section-heading h2,
.gallery-head h2 {
  margin: 0;
  max-width: 820px;
  color: var(--paper);
  font-size: 4.1rem;
  font-weight: 650;
  line-height: 1.04;
}

.origin-copy p,
.section-heading p,
.gallery-head p,
.symbol-tile p,
.arc-rail p,
.character-overlay p,
.video-caption p {
  color: var(--paper-dim);
  font-size: 16px;
  line-height: 1.82;
}

.origin-copy > p:not(.eyebrow) {
  max-width: 720px;
}

.shell {
  border-radius: 8px;
  padding: 6px;
  background: rgba(237, 228, 210, 0.08);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.core {
  border-radius: 6px;
  overflow: hidden;
  background: rgba(16, 21, 17, 0.88);
}

.myth-core {
  position: relative;
  min-height: 100%;
  padding: 34px;
  border: 1px solid rgba(202, 163, 77, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 81, 77, 0.32), rgba(115, 38, 42, 0.22)),
    rgba(16, 21, 17, 0.92);
}

.oracle-word {
  display: block;
  color: rgba(237, 228, 210, 0.1);
  font-family: "STXingkai", "HanziPen SC", "Kaiti SC", cursive;
  font-size: 8rem;
  line-height: 0.9;
}

.myth-stack {
  display: grid;
  gap: 18px;
  margin-top: 70px;
}

.myth-stack div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 228, 210, 0.14);
}

.myth-stack span {
  color: var(--gold);
  font-family: "STXingkai", "HanziPen SC", "Kaiti SC", cursive;
  font-size: 42px;
  line-height: 1;
}

.myth-stack p {
  margin: 0;
  color: var(--paper-dim);
  line-height: 1.7;
}

.arc-rail {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 0.8fr;
  gap: 1px;
  margin-top: 54px;
  border-radius: 8px;
  background: rgba(237, 228, 210, 0.14);
  overflow: hidden;
}

.arc-rail article {
  min-height: 260px;
  padding: 28px;
  background: rgba(16, 21, 17, 0.88);
}

.arc-rail span {
  color: var(--gold);
  font-size: 12px;
}

.arc-rail h3,
.symbol-tile h3,
.video-caption h3 {
  margin: 28px 0 10px;
  color: var(--paper);
  font-size: 22px;
  font-weight: 560;
}

.characters-section {
  width: min(94%, 1360px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 42px;
  align-items: end;
}

.section-heading.compact {
  display: block;
}

.section-heading.compact p:last-child {
  max-width: 760px;
}

.character-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  margin-top: 46px;
}

.character-card {
  min-height: 640px;
}

.character-card:nth-child(2) {
  margin-top: 72px;
}

.character-core {
  position: relative;
  height: 100%;
  min-height: 628px;
  isolation: isolate;
}

.character-core img {
  width: 100%;
  height: 100%;
  min-height: 628px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 900ms var(--ease-heavy);
}

.character-card:hover img {
  transform: scale(1.06);
}

.niran-core img {
  object-position: 54% center;
}

.pete-core img {
  object-position: 52% center;
}

.character-core::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(8, 11, 9, 0.92) 0%, rgba(8, 11, 9, 0.12) 58%),
    linear-gradient(90deg, rgba(8, 11, 9, 0.36), transparent 48%);
}

.character-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.character-overlay h3 {
  margin: 8px 0 10px;
  color: var(--paper);
  font-size: 4rem;
  line-height: 0.94;
}

.symbols-section {
  padding-top: 112px;
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 46px;
  border-radius: 8px;
  background: rgba(237, 228, 210, 0.12);
  overflow: hidden;
}

.symbol-tile {
  min-height: 300px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(237, 228, 210, 0.045), rgba(237, 228, 210, 0.012)),
    rgba(16, 21, 17, 0.86);
}

.symbol-tile:nth-child(1),
.symbol-tile:nth-child(5),
.symbol-tile:nth-child(9) {
  grid-column: span 2;
}

.symbol-tile:nth-child(2),
.symbol-tile:nth-child(6) {
  grid-column: span 3;
}

.symbol-tile:nth-child(3),
.symbol-tile:nth-child(4),
.symbol-tile:nth-child(7),
.symbol-tile:nth-child(8) {
  grid-column: span 2;
}

.symbol-tile > span {
  display: block;
  color: var(--gold);
  font-family: "STXingkai", "HanziPen SC", "Kaiti SC", cursive;
  font-size: 6.4rem;
  line-height: 0.84;
}

.symbol-tile h3 {
  margin-top: 44px;
}

.symbol-tile p {
  margin: 0;
}

.gallery-section {
  width: min(94%, 1420px);
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.gallery-head p {
  max-width: 680px;
}

.gallery-counter {
  display: grid;
  gap: 2px;
  min-width: 142px;
  padding: 18px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.gallery-counter span:first-child {
  color: var(--gold);
  font-size: 42px;
  line-height: 0.9;
}

.gallery-counter span:last-child {
  color: var(--paper-dim);
  font-size: 12px;
  text-transform: uppercase;
}

.filter-bar {
  position: sticky;
  top: 94px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 28px;
  padding: 10px;
  border: 1px solid rgba(237, 228, 210, 0.12);
  border-radius: 8px;
  background: rgba(8, 11, 9, 0.78);
  backdrop-filter: blur(18px);
}

.filter-chip {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper-dim);
  cursor: pointer;
  transition:
    background 460ms var(--ease-soft),
    color 460ms var(--ease-soft),
    transform 460ms var(--ease-soft);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--paper);
  color: var(--ink);
}

.gallery-status {
  min-height: 28px;
  color: var(--paper-dim);
  font-size: 14px;
}

.masonry-grid {
  column-count: 4;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(237, 228, 210, 0.08);
  transform: translateZ(0);
}

.gallery-item[data-shape="cinema"] {
  aspect-ratio: 16 / 9;
}

.gallery-item[data-shape="wide"] {
  aspect-ratio: 16 / 10;
}

.gallery-item[data-shape="portrait"] {
  aspect-ratio: 4 / 5;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(110deg, transparent 0%, rgba(237, 228, 210, 0.09) 32%, transparent 64%),
    rgba(237, 228, 210, 0.04);
  transform: translateX(-100%);
  animation: skeletonSweep 1400ms var(--ease-soft) infinite;
}

.gallery-item.loaded::before,
.gallery-item.error::before {
  opacity: 0;
  animation: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 700ms var(--ease-soft),
    transform 900ms var(--ease-heavy);
}

.gallery-item.loaded img {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.gallery-item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 20px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 11, 9, 0.68);
  color: var(--paper);
  font-size: 12px;
  backdrop-filter: blur(14px);
}

.gallery-item.error {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--paper-dim);
  text-align: center;
}

.video-section {
  width: min(94%, 1360px);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 46px;
}

.video-card {
  display: grid;
  align-content: start;
}

.video-card.local-video {
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 0.55fr;
  gap: 0;
}

.video-core {
  aspect-ratio: 16 / 9;
  background: rgba(237, 228, 210, 0.06);
}

.video-core iframe,
.video-core video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(237, 228, 210, 0.06);
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 11, 9, 0.7), rgba(8, 11, 9, 0.1)),
    radial-gradient(circle at 68% 42%, rgba(202, 163, 77, 0.16), transparent 18rem);
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 900ms var(--ease-heavy);
}

.video-poster:hover img {
  transform: scale(1.08);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(237, 228, 210, 0.34);
  border-radius: 50%;
  background: rgba(8, 11, 9, 0.58);
  color: var(--paper);
  transform: translate(-50%, -50%);
  transition:
    transform 620ms var(--ease-heavy),
    background 620ms var(--ease-heavy);
}

.video-poster:hover .play-mark {
  background: rgba(202, 163, 77, 0.84);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-mark svg {
  width: 24px;
  height: 24px;
}

.play-mark path {
  fill: currentColor;
}

.video-caption {
  padding: 20px 4px 4px;
}

.video-card.local-video .video-caption {
  padding: 26px;
}

.video-caption span {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.video-caption h3 {
  margin-top: 10px;
}

.video-caption a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--paper);
  border-bottom: 1px solid rgba(202, 163, 77, 0.58);
  transition:
    color 500ms var(--ease-soft),
    border-color 500ms var(--ease-soft);
}

.video-caption a:hover {
  color: var(--gold);
  border-color: var(--paper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(92%, 1280px);
  margin: 0 auto;
  padding: 44px 0 76px;
  border-top: 1px solid rgba(237, 228, 210, 0.14);
  color: var(--paper-dim);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-glyph {
  color: var(--gold);
  font-family: "STXingkai", "HanziPen SC", "Kaiti SC", cursive;
  font-size: 40px;
  line-height: 1;
}

.site-footer a {
  color: var(--paper);
  border-bottom: 1px solid rgba(202, 163, 77, 0.54);
}

.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(34px);
  transition:
    opacity 900ms var(--ease-soft),
    filter 900ms var(--ease-soft),
    transform 900ms var(--ease-soft);
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes threadDrift {
  from {
    stroke-dashoffset: 0;
    opacity: 0.22;
    transform: translate3d(0, 0, 0);
  }
  to {
    stroke-dashoffset: -90;
    opacity: 0.7;
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes heroBreath {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.065);
  }
}

@keyframes skeletonSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1120px) {
  .hero-content {
    grid-template-columns: minmax(260px, 0.76fr) minmax(320px, 0.68fr);
    column-gap: clamp(28px, 5vw, 72px);
  }

  .title-lockup {
    transform: translate3d(-12px, 18px, 0);
  }

  .title-lockup h1 img {
    width: clamp(300px, 42vw, 520px);
  }

  .origin-copy h2,
  .section-heading h2,
  .gallery-head h2 {
    font-size: 3.6rem;
  }

  .origin-grid,
  .section-heading,
  .video-grid,
  .video-card.local-video {
    grid-template-columns: 1fr;
  }

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

  .symbol-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .symbol-tile,
  .symbol-tile:nth-child(1),
  .symbol-tile:nth-child(2),
  .symbol-tile:nth-child(3),
  .symbol-tile:nth-child(4),
  .symbol-tile:nth-child(5),
  .symbol-tile:nth-child(6),
  .symbol-tile:nth-child(7),
  .symbol-tile:nth-child(8),
  .symbol-tile:nth-child(9) {
    grid-column: span 1;
  }

  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 820px) {
  .site-nav {
    width: calc(100vw - 28px);
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .creator-seal {
    width: 54px;
    height: 54px;
    padding: 10px;
    right: 14px;
    bottom: 14px;
  }

  .audio-panel {
    left: 14px;
    bottom: 14px;
    max-width: calc(100vw - 88px);
    overflow-x: auto;
  }

  .audio-toggle {
    flex: 0 0 auto;
    min-height: 36px;
    padding-left: 12px;
    font-size: 13px;
  }

  .hero-section {
    min-height: 100dvh;
  }

  .hero-section::after {
    height: 54vh;
    background: linear-gradient(
      180deg,
      rgba(8, 11, 9, 0) 0%,
      rgba(8, 11, 9, 0.66) 26%,
      rgba(8, 11, 9, 0.96) 66%,
      var(--ink) 100%
    );
  }

  .hero-backplate video {
    object-position: center center;
  }

  .hero-gradient {
    background:
      linear-gradient(0deg, rgba(8, 11, 9, 0.98) 0%, rgba(8, 11, 9, 0.62) 50%, rgba(8, 11, 9, 0.72) 100%),
      linear-gradient(90deg, rgba(8, 11, 9, 0.78), rgba(8, 11, 9, 0.22));
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100% - 32px);
    min-height: 100dvh;
    padding: 66px 0 42px;
  }

  .hero-meta {
    order: 0;
    gap: 16px;
    width: 100%;
    margin: 0 0 18px;
    padding-left: 2px;
  }

  .title-lockup {
    order: 1;
    width: min(88vw, 440px);
    transform: translate3d(-8px, 6px, 0);
    margin-bottom: 30px;
  }

  .title-subtitle {
    margin: 0;
    font-size: 18px;
  }

  .title-lockup h1 img {
    width: min(86vw, 430px);
  }

  .hero-summary {
    order: 2;
    max-width: 600px;
    margin: 0;
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-actions {
    order: 3;
    width: 100%;
    margin-top: 22px;
  }

  .pill-button {
    flex: 1 1 210px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section-pad,
  .characters-section,
  .gallery-section,
  .video-section {
    width: calc(100% - 32px);
    padding: 82px 0;
  }

  .origin-copy h2,
  .section-heading h2,
  .gallery-head h2 {
    font-size: 2.7rem;
    line-height: 1.04;
  }

  .oracle-word {
    font-size: 5rem;
  }

  .arc-rail,
  .character-grid,
  .gallery-head {
    grid-template-columns: 1fr;
  }

  .arc-rail article {
    min-height: auto;
  }

  .character-card,
  .character-card:nth-child(2) {
    min-height: auto;
    margin-top: 0;
  }

  .character-core,
  .character-core img {
    min-height: 520px;
  }

  .character-overlay h3 {
    font-size: 3.1rem;
  }

  .symbol-grid {
    grid-template-columns: 1fr;
  }

  .symbol-tile {
    min-height: auto;
  }

  .filter-bar {
    top: 84px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .masonry-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .site-footer {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .brand-copy {
    display: none;
  }

  .hero-backplate video {
    object-position: center center;
  }

  .title-lockup {
    width: min(92vw, 390px);
    transform: translate3d(-10px, 8px, 0);
    margin-bottom: 34px;
  }

  .title-subtitle {
    font-size: 16px;
  }

  .title-lockup h1 img {
    width: min(92vw, 390px);
  }

  .origin-copy h2,
  .section-heading h2,
  .gallery-head h2 {
    font-size: 2.25rem;
  }

  .masonry-grid {
    column-count: 1;
  }

  .myth-core {
    padding: 24px;
  }

  .myth-stack div {
    grid-template-columns: 42px 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
