:root {
  color-scheme: dark;
  --ink: #07100f;
  --teal-black: #0b1a18;
  --teal-deep: #102521;
  --jade: #9dcec6;
  --jade-soft: #c4ded7;
  --gold: #c6ad63;
  --gold-pale: #e0cf93;
  --cinnabar: #c94338;
  --paper: #f1f0e4;
  --paper-soft: rgba(241, 240, 228, .78);
  --hairline: rgba(197, 222, 215, .2);
  --hairline-gold: rgba(198, 173, 99, .34);
  --page-bg-top: #071211;
  --page-bg-mid: #0c1b19;
  --page-bg-bottom: #071211;
  --header-height: 82px;
  --page-gutter: clamp(22px, 5vw, 82px);
  --pointer-x: 58vw;
  --pointer-y: 38vh;
  --serif: "Noto Serif CJK TC", "Songti TC", "STSong", "SimSun", serif;
  --display: "STKaiti", "KaiTi", "DFKai-SB", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 5%, rgba(67, 137, 125, .24), transparent 36rem),
    linear-gradient(180deg, var(--page-bg-top), var(--page-bg-mid) 38%, var(--page-bg-bottom));
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

body::after {
  opacity: .92;
  background:
    radial-gradient(circle 320px at var(--pointer-x) var(--pointer-y), rgba(134, 202, 189, .105), transparent 68%),
    radial-gradient(circle 145px at var(--pointer-x) var(--pointer-y), rgba(220, 197, 116, .07), transparent 66%);
  transition: opacity .3s ease;
}

::selection {
  color: #fff;
  background: rgba(201, 67, 56, .78);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.particle-field {
  position: fixed;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold-pale));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition:
    min-height .35s ease,
    border-color .35s ease,
    background-color .35s ease,
    backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  border-color: var(--hairline);
  background: rgba(2, 8, 8, .83);
  backdrop-filter: blur(18px) saturate(115%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(198, 173, 99, .18));
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .13em;
}

.brand-text small {
  color: rgba(241,240,228,.62);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 44px);
}

.site-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: rgba(241, 240, 228, .7);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  transition: color .25s ease;
}

.site-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 17px;
  left: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  transition: right .25s ease, left .25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
  left: 0;
}

.motion-toggle {
  min-width: 76px;
  padding: 9px 12px;
  border: 1px solid var(--hairline-gold);
  border-radius: 99px;
  color: var(--paper-soft);
  background: rgba(6, 17, 16, .5);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  border-color: rgba(224, 207, 147, .56);
  color: var(--paper);
  background: rgba(198, 173, 99, .09);
}

.page-main {
  position: relative;
  z-index: 5;
  min-height: 100vh;
}

.page-intro {
  display: grid;
  align-items: end;
  min-height: min(78vh, 850px);
  padding: calc(var(--header-height) + 86px) var(--page-gutter) clamp(72px, 9vw, 126px);
  border-bottom: 1px solid var(--hairline);
}

.page-intro__inner,
.section-shell {
  width: min(1340px, 100%);
  margin: 0 auto;
}

.eyebrow,
.chapter-kicker,
.section-index,
.article-label,
.meta-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.display-title {
  max-width: 940px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
}

.display-title em {
  color: var(--cinnabar);
  font-style: normal;
}

.lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--paper-soft);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.9;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 170px) var(--page-gutter);
  border-bottom: 1px solid var(--hairline);
}

/* Legal pages keep the same visual language as the main narrative while making
   policy content easy to scan and revisit. */
.legal-intro {
  min-height: min(68vh, 720px);
  padding-bottom: clamp(58px, 8vw, 104px);
}

.legal-intro .display-title {
  max-width: 760px;
}

.legal-updated {
  margin: 28px 0 0;
  color: rgba(241, 240, 228, .48);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .12em;
}

.legal-section {
  padding-top: clamp(72px, 9vw, 132px);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--hairline);
  background: var(--hairline);
}

.legal-card {
  min-height: 218px;
  padding: 30px clamp(22px, 2.7vw, 40px) 34px;
  background: rgba(7, 16, 15, .88);
}

.legal-card > span {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
}

.legal-card h3 {
  margin: 35px 0 12px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}

.legal-card p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.9;
}

.site-footer__rights a {
  margin-left: 12px;
  color: var(--gold);
}

.site-footer__rights a:hover,
.site-footer__rights a:focus-visible {
  color: var(--gold-pale);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 92px);
}

.section-heading h2,
.about-title,
.article-page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.7vw, 82px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.section-heading p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.9;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2,.75,.2,1);
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 21px;
  border: 1px solid var(--hairline-gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.primary-link {
  color: #080b09;
  background: var(--gold-pale);
}

.secondary-link {
  color: var(--paper);
  background: rgba(4, 10, 9, .28);
}

.primary-link:hover,
.primary-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible {
  border-color: var(--cinnabar);
  color: #fff;
  background: var(--cinnabar);
}

/* Home */

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 74px) var(--page-gutter) clamp(64px, 8vw, 112px);
}

.home-hero__media,
.home-hero__media::after {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 44%;
  filter: saturate(.92) contrast(1.02) brightness(1.06);
}

.home-hero__media::after {
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3,10,10,.78) 0%, rgba(3,10,10,.44) 38%, rgba(3,10,10,.05) 72%),
    linear-gradient(180deg, rgba(3,10,10,.08), transparent 48%, rgba(3,10,10,.58));
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(180px, 1fr);
  gap: 80px;
  align-items: end;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.home-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.08em;
}

.home-hero h1 span {
  display: block;
  margin-left: .55em;
  color: var(--cinnabar);
}

.home-hero__slogan {
  margin: 28px 0 0;
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: .12em;
}

.home-hero__intro {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--paper-soft);
  font-size: 15px;
  line-height: 1.8;
}

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

.home-hero__aside {
  align-self: center;
  padding: 26px 0 26px 28px;
  border-left: 1px solid var(--hairline-gold);
  color: rgba(241,240,228,.66);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 2;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
}

.world-card {
  position: relative;
  min-height: 310px;
  padding: clamp(28px, 3vw, 46px);
  overflow: hidden;
  background: rgba(13, 32, 29, .9);
}

.world-card::before {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(198,173,99,.1);
  border-radius: 50%;
  content: "";
  transition: transform .6s ease, border-color .6s ease;
}

.world-card:hover::before {
  border-color: rgba(201,67,56,.32);
  transform: scale(1.18);
}

.world-card__number {
  color: var(--cinnabar);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
}

.world-card h3 {
  margin: 92px 0 18px;
  font-family: var(--display);
  font-size: clamp(27px, 2.6vw, 40px);
  font-weight: 400;
}

.world-card p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.9;
}

.storyboard {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.storyboard-card {
  position: relative;
  grid-column: span 4;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--teal-deep);
}

.storyboard-card:nth-child(1),
.storyboard-card:nth-child(4) {
  grid-column: span 7;
}

.storyboard-card:nth-child(2),
.storyboard-card:nth-child(5) {
  grid-column: span 5;
}

.storyboard-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  filter: saturate(.82) contrast(1.04) brightness(1.04);
  transition: transform 1.1s cubic-bezier(.2,.75,.2,1), opacity .6s ease, filter .6s ease;
}

.storyboard-card:hover img {
  opacity: 1;
  filter: saturate(.96) contrast(1.01) brightness(1.05);
  transform: scale(1.035);
}

.storyboard-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 62px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(2,8,8,.94));
}

.storyboard-card__caption span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
}

.storyboard-card__caption h3 {
  margin: 7px 0 4px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.storyboard-card__caption p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.65;
}

/* Story */

body[data-page="story"] {
  --lantern-x: 50vw;
  --lantern-y: 42vh;
}

.lantern-field {
  position: fixed;
  z-index: 35;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle 104px at var(--lantern-x) var(--lantern-y), rgba(249, 217, 139, .2), transparent 100%),
    radial-gradient(circle 360px at var(--lantern-x) var(--lantern-y), rgba(112, 190, 176, .15), transparent 76%),
    radial-gradient(circle 680px at var(--lantern-x) var(--lantern-y), transparent 0 34%, rgba(0, 5, 5, .1) 68%, rgba(0, 3, 3, .32) 100%);
  box-shadow: inset 0 0 130px rgba(0,0,0,.22);
  will-change: background;
}

.lantern-field::before,
.lantern-field::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate3d(
    calc(var(--lantern-x) - 50%),
    calc(var(--lantern-y) - 50%),
    0
  );
}

.lantern-field::before {
  top: 0;
  left: 0;
  width: 286px;
  height: 286px;
  border: 1px solid rgba(238, 209, 126, .13);
  background:
    radial-gradient(circle, rgba(255, 226, 156, .13), rgba(170, 211, 190, .045) 42%, transparent 72%);
  filter: blur(.4px);
}

.lantern-field::after {
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  opacity: .7;
  background: radial-gradient(circle, rgba(255,237,184,.72), rgba(198,173,99,.18) 36%, transparent 72%);
  box-shadow: 0 0 24px rgba(224, 207, 147, .34);
}

.story-reference {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(82px, 10vw, 150px)) var(--page-gutter) clamp(100px, 12vw, 190px);
  border-bottom: 1px solid var(--hairline);
  background: #0a1716;
}

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

.story-reference__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  opacity: .78;
  filter: sepia(.08) saturate(.72) contrast(1.02) brightness(.92);
}

.story-reference__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4,13,13,.8) 0%, rgba(4,13,13,.42) 48%, rgba(4,13,13,.12) 78%),
    linear-gradient(180deg, rgba(4,13,13,.18), transparent 48%, rgba(4,13,13,.7));
}

.story-reference::after {
  position: absolute;
  z-index: 1;
  top: 5rem;
  right: -3rem;
  content: "馗";
  color: rgba(241, 240, 228, .045);
  font-family: var(--display);
  font-size: clamp(18rem, 42vw, 48rem);
  line-height: 1;
  pointer-events: none;
}

.story-reference__inner {
  position: relative;
  z-index: 2;
  width: min(1340px, 100%);
  margin: 0 auto;
}

.story-reference__heading {
  max-width: 930px;
}

.story-reference__heading h1 {
  max-width: 12em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.story-reference__heading h1 em {
  color: var(--cinnabar);
  font-style: normal;
}

.story-reference__heading > p:last-child {
  max-width: 41rem;
  margin: 2rem 0 0 auto;
  color: rgba(241, 240, 228, .78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 2;
  letter-spacing: .07em;
}

.story-folds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  margin-top: clamp(5rem, 9vw, 9rem);
}

.story-fold {
  position: relative;
  min-height: 27rem;
  padding: 2.4rem 0 2rem clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid var(--hairline-gold);
}

.story-fold:first-child {
  margin-top: 5rem;
}

.story-fold > span {
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .2em;
}

.story-fold h2 {
  max-width: 7em;
  margin: 1.8rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  font-weight: 400;
  line-height: 1.12;
}

.story-fold p {
  max-width: 31rem;
  margin: 0;
  color: rgba(241, 240, 228, .76);
  line-height: 2.05;
  letter-spacing: .06em;
}

.story-chapter {
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 11vw, 170px) var(--page-gutter);
  border-bottom: 1px solid var(--hairline);
}

.story-chapter::before {
  position: absolute;
  top: 50%;
  right: var(--page-gutter);
  color: rgba(198,173,99,.055);
  content: attr(data-index);
  font-family: var(--display);
  font-size: clamp(160px, 25vw, 390px);
  line-height: .7;
  transform: translateY(-50%);
}

.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .78fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.story-chapter.is-reverse .story-visual {
  order: 2;
}

.story-chapter.is-reverse .story-copy {
  order: 1;
}

.story-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--hairline-gold);
  background: #081311;
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(3,8,8,.34)),
    radial-gradient(circle at 70% 22%, rgba(198,173,99,.08), transparent 30%);
}

.visual-caption {
  margin-top: 16px;
  color: rgba(224,207,147,.52);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
}

.story-copy {
  max-width: 610px;
}

.story-copy h2 {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(43px, 5.5vw, 79px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.story-copy h2 em {
  color: var(--cinnabar);
  font-style: normal;
}

.story-copy p {
  margin: 0 0 18px;
  color: var(--paper-soft);
  font-size: 15px;
  line-height: 2;
}

.story-quote {
  margin: 33px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 1px solid var(--cinnabar);
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
}

.story-epilogue {
  display: grid;
  place-items: center;
  min-height: 82vh;
  padding: 120px var(--page-gutter);
  text-align: center;
}

.story-epilogue .story-copy {
  max-width: 820px;
}

.story-seal {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 46px auto 0;
  border: 2px solid rgba(201,67,56,.66);
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 28px;
  transform: rotate(-5deg);
}

/* Articles */

.article-page-intro {
  min-height: 62vh;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.article-count {
  color: var(--paper-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .1em;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(circle 240px at var(--card-x, 50%) var(--card-y, 50%), rgba(157,206,198,.08), transparent 72%),
    rgba(6, 16, 15, .72);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: rgba(198,173,99,.42);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transform: translateY(-5px);
}

.article-card__link {
  display: grid;
  height: 100%;
  grid-template-rows: 218px 1fr;
}

.article-card__media {
  position: relative;
  overflow: hidden;
  background: #0a1110;
}

.article-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 56%, rgba(4,10,9,.54));
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05);
  transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}

.article-card:hover img {
  filter: saturate(.95) contrast(1);
  transform: scale(1.045);
}

.article-card__body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 225px;
  padding: 24px;
}

.article-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 400;
  line-height: 1.45;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(241,240,228,.66);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.5;
}

.article-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  background: rgba(1,5,5,.83);
  backdrop-filter: blur(22px);
  transition: opacity .25s ease, visibility .25s ease;
}

.article-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.article-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(360px, 1fr);
  width: min(1040px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  border: 1px solid var(--hairline-gold);
  background: #07100f;
  box-shadow: 0 50px 150px rgba(0,0,0,.52);
  transform: translateY(18px);
  transition: transform .35s cubic-bezier(.2,.75,.2,1);
}

.article-modal.is-open .article-modal__panel {
  transform: none;
}

.article-modal__image {
  min-height: 470px;
  overflow: hidden;
  background: #0a1211;
}

.article-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-modal__content {
  align-self: center;
  padding: clamp(34px, 5vw, 72px);
}

.article-modal__content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(29px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.25;
}

.article-modal__meta {
  margin: 20px 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
}

.article-modal__excerpt {
  margin: 28px 0 0;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 2;
}

.article-modal__actions {
  margin-top: 30px;
}

.article-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--hairline-gold);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(3,8,8,.72);
  font-family: var(--sans);
  font-size: 20px;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

/* About */

.about-intro {
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  position: absolute;
  top: 14%;
  right: 4%;
  width: min(48vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(198,173,99,.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 80px rgba(198,173,99,.025),
    0 0 0 160px rgba(198,173,99,.018);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(52px, 9vw, 130px);
  align-items: start;
}

.mission-copy p {
  margin: 28px 0 0;
  color: var(--paper-soft);
  font-size: 16px;
  line-height: 2;
}

.mission-points {
  display: grid;
  gap: 1px;
  background: var(--hairline);
}

.mission-point {
  padding: 34px;
  background: rgba(13,32,29,.9);
}

.mission-point span {
  color: var(--cinnabar);
  font-family: var(--sans);
  font-size: 10px;
}

.mission-point h3 {
  margin: 20px 0 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.mission-point p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.8;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle {
  min-height: 280px;
  padding: 36px;
  border: 1px solid var(--hairline);
  background: linear-gradient(145deg, rgba(25,54,49,.72), rgba(9,24,22,.9));
}

.principle h3 {
  margin: 106px 0 14px;
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.principle p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
}

.team-member {
  min-height: 320px;
  padding: 36px;
  background: rgba(13,32,29,.92);
}

.team-member__index {
  color: rgba(201,67,56,.68);
  font-family: var(--sans);
  font-size: 10px;
}

.team-member h3 {
  margin: 86px 0 8px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.team-member strong {
  display: block;
  min-height: 42px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
}

.team-member p {
  margin: 18px 0 0;
  color: var(--paper-soft);
  font-size: 13px;
  line-height: 1.8;
}

/* Footer and transition */

.site-footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr;
  gap: 52px;
  padding: 70px var(--page-gutter) 36px;
  color: rgba(241,240,228,.7);
  background: #07100f;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.site-footer h3 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.85;
}

.site-footer strong {
  display: block;
  color: var(--paper-soft);
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 10px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
}

.site-footer__rights {
  grid-column: 1 / -1;
  margin-top: 24px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: var(--sans);
  font-size: 9px !important;
  letter-spacing: .08em;
}

.page-curtain {
  position: fixed;
  z-index: 300;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(157,206,198,.09), transparent 28%),
    #010504;
  transform: translate3d(0, -102%, 0);
  transition: transform .48s cubic-bezier(.75,0,.25,1);
}

body.is-leaving .page-curtain {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    gap: 20px;
  }

  .home-hero__inner,
  .story-grid {
    gap: 56px;
  }

  .home-hero h1 {
    font-size: clamp(68px, 13vw, 128px);
  }

  .storyboard-card,
  .storyboard-card:nth-child(n) {
    grid-column: span 6;
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 68px;
  }

  .site-nav {
    position: fixed;
    z-index: 71;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--hairline);
    background: rgba(7,16,15,.94);
    backdrop-filter: blur(18px);
  }

  .site-nav a {
    padding: 15px 4px;
    text-align: center;
    font-size: 10px;
  }

  .site-nav a::after {
    bottom: 7px;
  }

  .motion-toggle {
    margin-right: 0;
  }

  .home-hero__inner,
  .section-heading,
  .story-folds,
  .story-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__aside {
    display: none;
  }

  .story-chapter.is-reverse .story-visual,
  .story-chapter.is-reverse .story-copy {
    order: initial;
  }

  .story-visual {
    width: min(640px, 100%);
  }

  .story-fold:first-child {
    margin-top: 0;
  }

  .story-fold {
    min-height: auto;
  }

  .world-grid,
  .principles-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .world-card {
    min-height: 240px;
  }

  .world-card h3 {
    margin-top: 54px;
  }

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

  .article-modal__image {
    min-height: 260px;
    max-height: 36vh;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 100px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 20px;
  }

  body::after {
    opacity: .5;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .motion-toggle {
    min-width: 68px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .site-nav a {
    font-size: 9px;
    letter-spacing: .04em;
  }

  .home-hero {
    padding-bottom: 96px;
  }

  .home-hero__media img {
    object-position: 63% 44%;
  }

  .home-hero h1 {
    font-size: clamp(62px, 23vw, 104px);
  }

  .home-hero h1 span {
    margin-left: .24em;
  }

  .home-hero__slogan {
    font-size: 19px;
    line-height: 1.55;
  }

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

  .page-intro {
    min-height: 72vh;
    padding-top: 130px;
  }

  .display-title {
    font-size: clamp(48px, 16vw, 78px);
  }

  .section,
  .story-chapter {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .storyboard {
    gap: 12px;
  }

  .storyboard-card,
  .storyboard-card:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 330px;
  }

  .story-reference {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 92px;
  }

  .story-reference::after {
    top: 9rem;
    right: -7rem;
    font-size: 25rem;
  }

  .story-reference__media img {
    object-position: 67% 50%;
  }

  .story-reference__heading h1 {
    font-size: clamp(2.9rem, 15vw, 5.2rem);
  }

  .story-reference__heading > p:last-child {
    margin-left: 0;
  }

  .story-folds {
    gap: 2.7rem;
    margin-top: 4rem;
  }

  .story-fold {
    padding: 1.8rem 0 1.2rem 1.35rem;
  }

  .story-fold h2 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .visual-frame {
    aspect-ratio: 1 / 1.28;
  }

  .story-copy h2 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .article-grid,
  .team-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .article-card__link {
    grid-template-rows: 205px 1fr;
  }

  .article-modal {
    padding: 10px;
  }

  .article-modal__panel {
    max-height: 92vh;
  }

  .article-modal__content {
    padding: 30px 22px 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

html[data-motion="reduced"] body::after,
html[data-motion="reduced"] .particle-field {
  display: none;
}

html[data-motion="reduced"] .reveal-on-scroll {
  animation: none;
  opacity: 1;
  transform: none;
}

html[data-motion="reduced"] .page-curtain {
  display: none;
}

@media (hover: none), (pointer: coarse) {
  body[data-page="story"] {
    --lantern-x: 50vw;
    --lantern-y: 34vh;
  }

  .lantern-field::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  body::after,
  .particle-field {
    display: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Protocol skin: an archival Web3 layer inside the ink-wash identity.
.site-header {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 48px);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, .9);
}

.protocol-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(242, 240, 234, .58);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .13em;
  line-height: 1.45;
  white-space: nowrap;
}

.protocol-status > span:last-child {
  display: grid;
  gap: 2px;
}

.protocol-status small,
.protocol-status strong {
  font: inherit;
}

.protocol-status small {
  color: rgba(242, 240, 234, .38);
  font-size: 7px;
}

.protocol-status strong {
  color: var(--paper-soft);
  font-weight: 400;
}

.protocol-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 4px rgba(138, 31, 23, .1);
}

.home-hero__media img {
  filter: grayscale(.84) saturate(.28) contrast(1.12) brightness(.78);
  mix-blend-mode: screen;
}

.home-hero__media::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .88) 0%, rgba(5, 5, 5, .52) 38%, rgba(5, 5, 5, .12) 74%),
    linear-gradient(180deg, rgba(5, 5, 5, .32), transparent 46%, rgba(5, 5, 5, .8));
}

.hero-protocol {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-height) + 28px);
  right: var(--page-gutter);
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(242, 240, 234, .48);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-protocol__line {
  width: min(180px, 18vw);
  height: 1px;
  background: rgba(242, 240, 234, .25);
}

.home-hero h1 span {
  position: relative;
  color: var(--paper);
  text-shadow: 0 0 32px rgba(242, 240, 234, .08);
}

.home-hero h1 span::after {
  position: absolute;
  right: .1em;
  bottom: -.12em;
  width: .38em;
  height: 2px;
  content: "";
  background: var(--cinnabar);
  transform: rotate(-7deg);
}

.home-hero__aside {
  min-width: 220px;
  padding: 24px 0 24px 28px;
  border-left-color: rgba(242, 240, 234, .28);
  background: linear-gradient(90deg, rgba(5, 5, 5, .18), transparent);
}

.home-hero__aside-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(242, 240, 234, .42);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .18em;
}

.home-hero__aside strong {
  display: block;
  color: var(--paper-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .17em;
}

.home-hero__aside dl {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}

.home-hero__aside dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(242, 240, 234, .1);
  padding-bottom: 6px;
}

.home-hero__aside dt,
.home-hero__aside dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .12em;
}

.home-hero__aside dt {
  color: rgba(242, 240, 234, .38);
}

.home-hero__aside dd {
  color: rgba(242, 240, 234, .72);
  text-align: right;
}

.primary-link {
  border-color: rgba(242, 240, 234, .78);
  color: var(--ink);
  background: var(--paper);
}

.secondary-link,
.archive-entry {
  border-color: rgba(242, 240, 234, .25);
  color: var(--paper-soft);
  background: rgba(5, 5, 5, .34);
}

.primary-link:hover,
.primary-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.archive-entry:hover,
.archive-entry:focus-visible {
  border-color: var(--cinnabar);
  color: var(--paper);
  background: var(--cinnabar);
}

.archive-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  gap: 8px;
  padding: 0 17px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .13em;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.archive-entry__mark {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.archive-entry[aria-pressed="true"] {
  border-color: rgba(242, 240, 234, .62);
  color: var(--ink);
  background: var(--paper);
}

.archive-entry[aria-pressed="true"] .archive-entry__mark {
  color: var(--cinnabar);
}

.protocol-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px var(--page-gutter);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  color: rgba(242, 240, 234, .44);
  background: #090908;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.protocol-strip span:nth-child(2) {
  color: rgba(242, 240, 234, .7);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: none;
}

.protocol-strip span:nth-child(3) {
  text-align: center;
}

.protocol-strip span:last-child {
  text-align: right;
}

.protocol-strip b {
  color: var(--paper);
  font-weight: 400;
}

.world-card {
  background: rgba(20, 20, 19, .9);
}

.world-card::before {
  border-color: rgba(242, 240, 234, .1);
}

.world-card:hover::before {
  border-color: rgba(138, 31, 23, .42);
}

.world-card h3 {
  max-width: 8em;
}

.world-card::after {
  position: absolute;
  right: clamp(28px, 3vw, 46px);
  bottom: clamp(28px, 3vw, 46px);
  color: rgba(242, 240, 234, .3);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .14em;
}

.world-card:nth-child(1)::after { content: "LAYER 01 / ORIGIN"; }
.world-card:nth-child(2)::after { content: "LAYER 02 / IDENTITY"; }
.world-card:nth-child(3)::after { content: "LAYER 03 / RITUAL"; }

.world-card__number {
  color: var(--cinnabar);
}

.archive-count {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(242, 240, 234, .45);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
}

.storyboard-card {
  border-color: rgba(242, 240, 234, .18);
  background: #10100f;
}

.storyboard-card img {
  filter: grayscale(.56) saturate(.45) contrast(1.08) brightness(.88);
}

.storyboard-card:hover img {
  filter: grayscale(.22) saturate(.72) contrast(1.04) brightness(.96);
}

.storyboard-card__caption {
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, .96));
}

.storyboard-card__caption span {
  color: rgba(242, 240, 234, .55);
}

.footer-protocol {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
  color: rgba(242, 240, 234, .45);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
}

.footer-protocol span {
  color: rgba(242, 240, 234, .3);
  font-size: 8px;
}

.footer-protocol strong {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 400;
}

.footer-protocol small {
  max-width: 220px;
  color: rgba(242, 240, 234, .4);
  font-size: 10px;
  letter-spacing: .03em;
  line-height: 1.6;
}

body.is-witnessed .protocol-status__dot {
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(242, 240, 234, .1);
}

body.is-witnessed .hero-protocol__line {
  background: var(--paper);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .protocol-status {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .hero-protocol {
    top: calc(var(--header-height) + 18px);
    right: var(--page-gutter);
    left: var(--page-gutter);
  }

  .protocol-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .protocol-strip span:nth-child(2),
  .protocol-strip span:nth-child(3),
  .protocol-strip span:last-child {
    text-align: left;
  }

  .footer-protocol {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero-protocol {
    display: none;
  }

  .home-hero__aside {
    display: block;
    min-width: 0;
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(242, 240, 234, .2);
    border-left: 0;
    background: none;
  }

  .home-hero__aside dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .home-hero__aside dl div {
    display: grid;
    gap: 5px;
    border-bottom: 0;
  }

  .home-hero__aside dd {
    text-align: left;
    line-height: 1.45;
  }

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

  .archive-entry {
    grid-column: 1 / -1;
  }

  .protocol-strip {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .protocol-strip span:nth-child(2) {
    font-size: 12px;
  }
}
*/
