:root {
  color-scheme: dark;
  --ink: #f8f1f3;
  --muted: #c7b9c0;
  --night: #12040d;
  --wine: #4e0d30;
  --red: #ff385d;
  --cyan: #4fe1df;
  --yellow: #f1d15b;
  --line: rgba(255, 255, 255, 0.22);
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 56, 93, 0.12), transparent 35%),
    linear-gradient(315deg, rgba(79, 225, 223, 0.1), transparent 42%),
    var(--night);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
img { 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; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  text-transform: uppercase;
}
.site-header a { font-weight: 700; text-decoration: none; }
.site-header p { margin: 0; color: rgba(255,255,255,.72); }

.hero {
  position: relative;
  min-height: 900px;
  height: 100vh;
  max-height: 1100px;
  overflow: hidden;
  isolation: isolate;
  background: #16040f;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,4,13,.98) 0%, rgba(18,4,13,.54) 42%, rgba(18,4,13,.12) 68%, rgba(18,4,13,.58) 100%),
    linear-gradient(0deg, rgba(18,4,13,.9) 0%, transparent 42%);
  pointer-events: none;
}
.hero-images { position: absolute; inset: 0; }
.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #24111d;
}
.hero-image img { width: 100%; height: 100%; object-fit:contain; filter: saturate(1.38) contrast(1.08); }
.hero-image-a { width: 48%; height: 94%; top: 0; right: 11%; }
.hero-image-a img { object-position: center 28%; }
.hero-image-b { width: 32%; height: 72%; top: 12%; right: -7%; mix-blend-mode: screen; opacity: .76; }
.hero-image-c { width: 34%; height: 64%; bottom: -8%; left: 35%; mix-blend-mode: color-dodge; opacity: .54; }
.hero-copy {
  position: absolute;
  z-index: 5;
  left: 5.5%;
  top: 50%;
  width: min(780px, 70%);
  transform: translateY(-46%);
}
.eyebrow, .hero-credit, .statement-heading > p, .viewer-intro > p:first-child, .process-index {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 24px; color: var(--cyan); }
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 116px;
  line-height: .78;
  font-weight: 400;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.78); transform: translateX(12%); }
.hero-line { width: min(510px, 78%); margin: 50px 0 0 12%; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.3; }
.hero-credit { position: absolute; z-index: 5; right: 28px; bottom: 28px; text-align: right; line-height: 1.7; }

.statement {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 7vw;
  padding: 130px 7vw 150px;
  background: var(--ink);
  color: #1b0713;
}
.statement-heading > p { margin-bottom: 28px; color: #82546c; }
.statement h2 { margin: 0; max-width: 300px; font-family: Georgia, "Times New Roman", serif; font-size: 66px; line-height: .96; font-weight: 400; }
.statement-copy { max-width: 820px; }
.statement-copy p { margin: 0 0 28px; max-width: 690px; font-size: 19px; line-height: 1.65; }
.statement-copy .lead { max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1.22; }

.viewer-section { padding: 110px 4vw 120px; background: #0a080b; }
.viewer-intro { display: flex; justify-content: space-between; gap: 40px; margin: 0 auto 46px; max-width: 1540px; }
.viewer-intro > p:first-child { color: var(--red); }
.viewer-intro > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.viewer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .7fr);
  grid-template-areas: "stage panel" "strip strip";
  gap: 0;
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.media-stage {
  grid-area: stage;
  position: relative;
  height: min(78vh, 920px);
  min-height: 650px;
  overflow: hidden;
  background: #050405;
  border-right: 1px solid var(--line);
}
.media-stage::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0,0,0,.5);
  pointer-events: none;
}
.media-mount { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.media-image { position: absolute; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-loading-image { filter: saturate(.78) blur(1px); transform: scale(1.008); }
.media-preview-image { opacity: 0; transition: opacity .28s ease; }
.media-preview-image.is-ready { opacity: 1; }
.media-status {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 16px;
  margin: 0;
  padding: 7px 9px;
  background: rgba(8,6,8,.74);
  color: rgba(255,255,255,.84);
  font-size: 10px;
  text-transform: uppercase;
}
.viewer-panel { grid-area: panel; display: flex; min-width: 0; flex-direction: column; padding: 46px 38px 36px; background: linear-gradient(180deg, rgba(78,13,48,.24), transparent 60%); }
.token-label { margin: 0 0 10px; color: var(--cyan); font-size: 11px; text-transform: uppercase; }
.token-heading h2 { margin: 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: .95; font-weight: 400; }
.token-description { margin: 32px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.token-facts { margin: 0; border-top: 1px solid var(--line); }
.token-facts div { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.token-facts dt { color: #a9909d; font-size: 10px; text-transform: uppercase; }
.token-facts dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.viewer-controls { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; height: 48px; margin-top: auto; padding-top: 28px; box-sizing: content-box; }
.viewer-controls button, .viewer-controls select { height: 48px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; }
.viewer-controls button { width: 48px; cursor: pointer; font-size: 19px; }
.viewer-controls button:hover, .viewer-controls button:focus-visible { background: var(--red); color: #15030d; }
.select-wrap { min-width: 0; }
.viewer-controls select { width: 100%; padding: 0 34px 0 14px; border-left: 0; border-right: 0; cursor: pointer; }
.token-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; }
.token-links a { color: var(--ink); font-size: 11px; text-underline-offset: 4px; }
.token-links a:hover, .token-links a:focus-visible { color: var(--cyan); }
.filmstrip { grid-area: strip; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--line); }
.filmstrip button { position: relative; height: 162px; min-width: 0; padding: 0; overflow: hidden; border: 0; border-right: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #090709; cursor: pointer; }
.filmstrip button:last-child { border-right: 0; }
.filmstrip img { width: 100%; height: 100%; object-fit:contain; object-position: center 25%; opacity: .42; filter: saturate(.65); transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.filmstrip span { position: absolute; left: 10px; right: 10px; bottom: 10px; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; text-transform: uppercase; }
.filmstrip button:hover img, .filmstrip button:focus-visible img, .filmstrip button.is-active img { opacity: .92; filter: saturate(1.2); transform: scale(1.03); }
.filmstrip button.is-active::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--cyan); }

.process { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; padding: 130px 7vw; background: var(--wine); }
.process-index { color: var(--yellow); }
.process h2 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; font-weight: 400; }
.process div > p { max-width: 650px; margin: 40px 0 0; color: #e1cdd7; font-size: 17px; line-height: 1.65; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 25px 28px; background: #050405; border-top: 1px solid var(--line); font-size: 10px; text-transform: uppercase; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .hero { min-height: 760px; }
  .hero h1 { font-size: 82px; }
  .hero-image-a { width: 62%; right: 4%; }
  .hero-image-b { width: 40%; }
  .statement, .process { grid-template-columns: 1fr; gap: 56px; }
  .viewer-shell { grid-template-columns: minmax(0,1fr) 330px; }
  .media-stage { min-height: 580px; }
  .viewer-panel { padding: 38px 26px 30px; }
  .token-heading h2 { font-size: 42px; }
}

@media (max-width: 720px) {
  .site-header { padding: 18px; }
  .site-header p { display: none; }
  .hero { min-height: 720px; height: 92vh; }
  .hero::after { background: linear-gradient(0deg, rgba(18,4,13,.96) 0%, rgba(18,4,13,.15) 72%), linear-gradient(90deg, rgba(18,4,13,.7), transparent); }
  .hero-image-a { width: 88%; height: 76%; right: -8%; }
  .hero-image-b { width: 48%; height: 58%; right: -12%; }
  .hero-image-c { width: 55%; height: 48%; left: -10%; bottom: -3%; }
  .hero-copy { left: 18px; top: auto; bottom: 92px; width: calc(100% - 36px); transform: none; }
  .eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: 54px; line-height: .82; }
  .hero h1 span:last-child { transform: translateX(5%); }
  .hero-line { width: 90%; margin: 28px 0 0 5%; font-size: 20px; }
  .hero-credit { right: 18px; bottom: 18px; }
  .statement, .process { padding: 86px 20px; }
  .statement { gap: 40px; }
  .statement h2 { font-size: 48px; }
  .statement-copy .lead { font-size: 28px; }
  .statement-copy p { font-size: 16px; }
  .viewer-section { padding: 76px 14px 84px; }
  .viewer-intro { display: block; margin-bottom: 30px; }
  .viewer-intro > p:last-child { margin-top: 18px; }
  .viewer-shell { display: flex; flex-direction: column; }
  .media-stage { order: 1; width: 100%; height: 68vh; min-height: 470px; max-height: 660px; border-right: 0; }
  .viewer-panel { order: 3; padding: 34px 6px 28px; background: none; }
  .filmstrip { order: 2; display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .filmstrip button { flex: 0 0 112px; height: 124px; }
  .token-heading h2 { font-size: 42px; }
  .viewer-controls { margin-top: 0; }
  .process { gap: 42px; }
  .process h2 { font-size: 44px; }
  footer { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-preview-image, .filmstrip img { transition: none; }
}
