@font-face {
  font-family: "Intro Script";
  src: url("./assets/wordmark/IntroScriptDemo-Medium.otf") format("opentype");
  font-display: swap;
}
/* Long (light) follows the reference: near-black green hero and closing with
   off-white text and vivid lime glass, an off-white content body with
   near-black text, and lime accent chips. Short (dark) is deep wine, pale
   rose, and ruby. Region tokens keep text and pinned controls readable over
   both surfaces; their Short aliases resolve to the colors Short already had.
   Sticker edges and shadows stay theme-independent so the cached sticker
   textures never go stale on toggle. */
:root {
  color-scheme: light;
  --paper: #f6f6f6;
  --ink: #0a2120;
  --muted: #4b6a5e;
  --line: rgba(10, 33, 32, 0.18);
  --sky: #0a2120;
  --accent: #52d71b;
  --accent-ink: #0a2120;
  --focus: var(--ink);
  --hero-ink: #f6f6f6;
  --hero-focus: var(--accent);
  --hud: #5c9429;
  --hud-focus: #5c9429;
  --hud-hover: var(--accent);
  --hud-hover-edge: var(--ink);
  --hud-scrim: rgba(3, 20, 18, 0.62);
  --surface: #eef7e2;
  --sticker-edge: #f5fbf6;
  --sticker-shadow: rgba(27, 30, 28, 0.2);
  --sky-base: #0a2120;
  --sky-edge: #031c1b;
  --sky-end: #1e4a24;
  --glass-top: #52d71b;
  --glass-bottom: #52d71b;
  --flare: #a6e941;
  --overlay: rgba(3, 20, 18, 0.62);
  --nav-glass: var(--overlay);
  --nav-glass-paper: color-mix(in srgb, var(--paper) 72%, transparent);
  --gutter: 4%;
  --gap: 16px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, Helvetica, sans-serif;
  --small: 12px;
  --body: 16px;
  --medium: 24px;
  --large: clamp(32px, 4.2vw, 64px);
  --display: clamp(48px, 6.2vw, 112px);
  --card-title: clamp(32px, 7cqw, 64px);
  --card-symbol: clamp(24px, 7cqw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #2a0e19;
  --ink: #ffe7ee;
  --muted: #d8a9ba;
  --line: rgba(255, 231, 238, 0.18);
  --sky: #5a1c31;
  --accent: #ff4d6d;
  --accent-ink: #3a0a18;
  --surface: #47202f;
  --sky-base: #7c2543;
  --sky-edge: #170a10;
  --sky-end: #5e1b2e;
  --glass-top: #ff9db3;
  --glass-bottom: #ad3a5e;
  --flare: #ff6b8a;
  --overlay: rgba(26, 6, 14, 0.62);
  --hero-ink: var(--ink);
  --hero-focus: var(--ink);
  --hud: var(--ink);
  --hud-focus: var(--accent);
  --hud-hover: var(--accent-ink);
  --hud-hover-edge: transparent;
  --hud-scrim: transparent;
}
/* Chinese and Korean render in the system CJK faces; the Latin display
   tracking is dropped because CJK glyphs need their full advance. */
:root[lang="zh"] {
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    Arial, sans-serif;
}
:root[lang="ko"] {
  --sans: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Arial,
    sans-serif;
}
:root:is([lang="zh"], [lang="ko"])
  :is(
    .hero h1,
    .story h2,
    .stocks-section h2,
    .token-section h2,
    .creators-section h2,
    .closing h2,
    .story-copy > p,
    .poster-type,
    .card-title,
    .token-facts dd,
    .closing-legal > span
  ) {
  letter-spacing: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.5;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button:active,
a:active {
  opacity: 0.65;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
h3 {
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
}
.skip-link:focus {
  top: 16px;
}
#stage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: clip;
  contain: paint;
  pointer-events: none;
  z-index: 0;
}
#stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.graphics-ready #stage {
  opacity: 1;
}
main {
  position: relative;
  z-index: 2;
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--gutter);
}
.section-space {
  padding-top: 160px;
  padding-bottom: 144px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.secondary-copy {
  color: var(--muted);
}
.registration-grid {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.registration-grid i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line);
}
.registration-grid i:nth-child(1) {
  left: 4%;
}
.registration-grid i:nth-child(2) {
  left: 34.6667%;
}
.registration-grid i:nth-child(3) {
  left: 65.3333%;
}
.registration-grid i:nth-child(4) {
  left: 96%;
}
.registration-grid b {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  top: 34%;
}
.registration-grid b:nth-of-type(2) {
  top: 70%;
}
.registration-grid span {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-8px, -8px);
  top: 34%;
}
.registration-grid span:before,
.registration-grid span:after {
  content: "";
  position: absolute;
  background: var(--muted);
  opacity: 0.38;
}
.registration-grid span:before {
  width: 12px;
  height: 1px;
  left: 2px;
  top: 7px;
}
.registration-grid span:after {
  width: 1px;
  height: 12px;
  left: 7px;
  top: 2px;
}
.registration-grid span:nth-of-type(4n + 1) {
  left: 4%;
}
.registration-grid span:nth-of-type(4n + 2) {
  left: 34.6667%;
}
.registration-grid span:nth-of-type(4n + 3) {
  left: 65.3333%;
}
.registration-grid span:nth-of-type(4n + 4) {
  left: 96%;
}
.registration-grid span:nth-of-type(n + 5) {
  top: 70%;
}
.site-header {
  position: fixed;
  inset: 16px var(--gutter) auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
  color: var(--hero-ink);
  --focus: var(--hero-focus);
}
.site-header a,
.site-header button,
.site-header .lang-list {
  pointer-events: auto;
}
/* Frosted glass bar once scrolled, matching the pinned footer's floating
   band. app.js sets nav-on-paper while the bar sits over the body, which
   swaps the dark tint and light text for a paper tint and ink text. */
.site-header:before {
  content: "";
  position: absolute;
  inset: -8px -16px;
  z-index: -1;
  border-radius: 4px;
  background: var(--nav-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  opacity: 0;
  transition:
    opacity 0.2s,
    background-color 0.2s;
  pointer-events: none;
}
.is-scrolled .site-header:before {
  opacity: 1;
}
.nav-on-paper .site-header:before {
  background: var(--nav-glass-paper);
}
.nav-on-paper .site-header {
  color: var(--ink);
  --focus: var(--ink);
}

.wordmark {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 800;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}
.site-header nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}
.site-header nav a,
.site-header nav button {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-header nav a:before,
.site-header nav button:before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dotted transparent;
  transition: border-color 0.15s;
}
.site-header nav a:hover:before,
.site-header nav button:hover:before {
  border-color: currentColor;
}
/* On wide screens the section links sit inline; on phones they fold behind
   the Menu button (rules in the phone block). */
.nav-links {
  display: contents;
}
.site-header nav .menu-button {
  display: none;
}
.site-header nav .app-link:disabled {
  opacity: 0.5;
  cursor: default;
}
.site-header nav .app-link:disabled:hover:before {
  border-color: transparent;
}
/* The one filled action in the header: accent fill in both themes (lime in
   Long, ruby in Short) so it stands apart from the text links. */
.site-header nav .app-link {
  padding-inline: 16px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
}
/* Language picker: the native select dressed as the other nav items. */
/* Language picker: a listbox in the header's own glass, flags as circles
   like the stock stickers. The list opts back into pointer events. */
.lang-menu {
  position: relative;
}
.site-header nav .lang-menu button {
  gap: 8px;
}
.flag {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.lang-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 1;
  min-width: 100%;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 4px;
  background: var(--nav-glass);
  backdrop-filter: blur(20px) saturate(1.4);
}
.nav-on-paper .lang-list {
  background: var(--nav-glass-paper);
}
.lang-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.lang-list li:hover {
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.lang-list li:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
.lang-list li[aria-selected="true"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}
.site-header nav a[aria-current="true"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}
.hero {
  position: relative;
  height: 100svh;
  min-height: 760px;
  isolation: isolate;
  background: var(--sky);
}
.graphics-ready .hero {
  background: transparent;
}
.intro-grid {
  position: relative;
  padding-top: 112px;
  align-items: start;
  z-index: 2;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.intro-note {
  grid-column: 5/9;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
}
.intro-description {
  grid-column: 9/13;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  max-width: 40ch;
}
.glass-fallback {
  position: absolute;
  top: 30%;
  left: 10%;
  width: 80%;
  font-family: "Intro Script", "Brush Script MT", cursive;
  font-size: clamp(72px, 12vw, 200px);
  font-weight: 400;
  text-align: center;
  line-height: 0.82;
  color: var(--glass-top);
  opacity: 0.6;
  text-shadow:
    0 2px 1px var(--sticker-edge),
    4px 14px 24px var(--sky-edge);
  pointer-events: none;
}
.glass-fallback span {
  display: block;
}
.graphics-ready .glass-fallback {
  visibility: hidden;
}
.hero-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 88px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  z-index: 2;
}
.hero h1 {
  font-size: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
}
.primary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  min-height: 56px;
  padding: 8px 0;
  flex-shrink: 0;
}
.action-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 40px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.primary-link:hover .action-arrow {
  transform: translate(3px, 3px);
}
.section-aside {
  grid-column: 1/4;
  position: relative;
}
.hand-arrow {
  width: 65%;
  margin-top: 48px;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hand-arrow path {
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
}
.hand-arrow.is-visible path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.4s var(--ease);
}
.story-copy {
  grid-column: 5/13;
}
.story h2,
.stocks-section h2,
.token-section h2,
.creators-section h2 {
  font-size: var(--large);
}
.story-copy > p {
  font-size: clamp(24px, 3.5vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  margin-top: 32px;
}
.inline-link {
  padding: 0;
  min-height: 44px;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.13em;
  transition: text-decoration-color 0.15s;
}
.inline-link:hover {
  text-decoration-color: var(--ink);
}
.work-grid {
  row-gap: 96px;
  padding-bottom: 32px;
  align-items: start;
}
.work {
  position: relative;
  min-width: 0;
}
.work-large {
  grid-column: 5/13;
}
.work-left {
  grid-column: 1/7;
}
.work-right {
  grid-column: 8/13;
}
.work-small-left {
  grid-column: 3/8;
}
.work-small-right {
  grid-column: 9/13;
}
.work-wide {
  grid-column: 1/9;
}
.card-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Poster cards: the headline is set as type inside the artwork, as the
   original posters were, and each panel takes one of three palette tones so
   both themes keep the same rhythm. */
.art-frame {
  background: var(--surface);
  color: var(--ink);
}
.art-frame[data-tone="ink"] {
  background: var(--ink);
  color: var(--paper);
}
.art-frame[data-tone="accent"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.card-illustration {
  display: block;
  width: 100%;
  height: auto;
}
.poster-type {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  fill: currentColor;
}
.card-copy {
  padding: 24px 3.5% 32px;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.card-copy p {
  max-width: 44ch;
  font-size: var(--body);
  line-height: 1.5;
}
.card-copy small {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: var(--small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.art-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: var(--small);
  text-transform: uppercase;
  line-height: 1.5;
}
.art-caption > span:first-child {
  max-width: 75%;
}
.art-caption > span:last-child {
  flex-shrink: 0;
  text-align: right;
}
.caption-cycle {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aside-copy {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}
.stocks-content,
.token-content,
.creators-content {
  grid-column: 5/13;
}
.stocks-content > p,
.token-content > p:not(.token-note),
.creators-content > p:not(.form-status) {
  margin-top: 24px;
  font-size: 20px;
  color: var(--muted);
}
.stock-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 16px;
  list-style: none;
  padding: 0;
  margin: 48px 0 24px;
}
.stock-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}
.stock-list img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--sticker-edge);
  border-radius: 50%;
  padding: 4px;
}
/* Past twenty pairs the list folds behind a Show-all button. */
.stock-list.is-collapsed li:nth-child(n + 21) {
  display: none;
}
.stock-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
  cursor: pointer;
}
.stock-more[hidden] {
  display: none;
}
.stock-more:hover {
  text-decoration-color: var(--accent);
}
.stock-more:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.token-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  max-width: 64ch;
}
.token-facts {
  margin: 48px 0 24px;
}
.token-facts > div {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) 3fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.token-facts dt {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted);
}
.token-facts dd {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.token-facts a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.token-facts a:hover {
  text-decoration-color: var(--accent);
}
/* 44px tap height without moving the text. */
.token-facts a {
  display: inline-block;
  padding-block: 11px;
  margin-block: -11px;
}
.token-facts code {
  font-family: var(--mono);
  font-size: 16px;
  word-break: break-all;
}
.creator-form {
  max-width: 480px;
  margin-top: 48px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.field :is(input, select, textarea) {
  width: 100%;
  min-height: 40px;
  padding: 8px;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.field :is(input, select, textarea):user-invalid {
  border-color: var(--ink);
}
/* Reserved line so a message never shifts the field below it. */
.field-error {
  display: block;
  min-height: 24px;
  font-family: var(--mono);
  font-size: 12px;
}
.creator-form .primary-link {
  margin-top: 8px;
}
.form-privacy {
  max-width: 64ch;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.form-status {
  margin-top: 16px;
  min-height: 24px;
  font-family: var(--mono);
  font-size: 12px;
}
.closing {
  position: relative;
  padding: 80px var(--gutter) 112px;
  min-height: 850px;
  background: var(--sky);
}
.graphics-ready .closing {
  background: transparent;
}
/* The dark hero and closing bookends carry off-white text and lime rings. */
.hero,
.closing {
  color: var(--hero-ink);
  --ink: var(--hero-ink);
  --focus: var(--hero-focus);
}
.closing-content {
  position: relative;
  margin-top: 280px;
}
.closing h2 {
  font-size: clamp(64px, 8.2vw, 128px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-top: 24px;
}
.closing .primary-link {
  position: absolute;
  right: 0;
  bottom: 0;
}
.closing-legal {
  margin-top: 104px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  font-family: var(--mono);
  font-size: 12px;
}
.closing-legal > span {
  font-family: var(--sans);
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 800;
}
.closing-legal > a {
  justify-self: end;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.closing-legal > a:hover {
  text-decoration: underline;
}
.viewport-footer {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 20;
  color: var(--hero-ink);
  --focus: var(--hero-focus);
}
/* app.js sets hud-on-paper while the pinned footer sits over the body. */
.hud-on-paper .viewport-footer {
  color: var(--ink);
  --focus: var(--ink);
}
/* While a bookend boundary crosses the footer's own band, a scrim keeps the
   light glyphs readable over the dark and paper surfaces at once. It fades
   in from above like the header's backdrop, not a hard-edged strip. */
.hud-crossing .viewport-footer {
  background: linear-gradient(180deg, transparent, var(--hud-scrim) 20%);
}
.status-line {
  white-space: nowrap;
}
.footer-divider {
  margin: 0 8px;
  color: var(--muted);
}
#coordinates {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.globe-button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: 44px;
  padding: 8px 0;
}
.globe-button svg {
  width: 48px;
  stroke: currentColor;
  stroke-width: 1;
}
.globe-button:hover svg {
  transform: rotate(-12deg);
  transition: transform 0.2s;
}
.scroll-rail {
  position: fixed;
  right: 0;
  top: 42%;
  height: 20%;
  width: 44px;
  padding: 0 20px;
  margin: 0;
  appearance: none;
  writing-mode: vertical-lr;
  direction: ltr;
  cursor: pointer;
  background: transparent;
  z-index: 20;
}
.scroll-rail::-webkit-slider-runnable-track {
  width: 4px;
  height: 100%;
  background: var(--line);
  border-radius: 4px;
}
.scroll-rail::-webkit-slider-thumb {
  appearance: none;
  width: 4px;
  height: 24px;
  border-radius: 4px;
  background: var(--hud);
}
.scroll-rail::-moz-range-track {
  width: 4px;
  height: 100%;
  background: var(--line);
  border-radius: 4px;
}
.scroll-rail::-moz-range-thumb {
  width: 4px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: var(--hud);
}
/* Lime fill with an ink edge: the hover thumb reads over the dark hero and
   the off-white body alike; Short keeps its own accent-ink fill. The Mozilla
   rule is new, so it stays scoped to Long: Short Firefox keeps its original
   pale thumb on hover. */
.scroll-rail:hover::-webkit-slider-thumb {
  background: var(--hud-hover);
  box-shadow: 0 0 0 1px var(--hud-hover-edge);
}
:root[data-theme="light"] .scroll-rail:hover::-moz-range-thumb {
  background: var(--hud-hover);
  box-shadow: 0 0 0 1px var(--hud-hover-edge);
}
.scroll-rail:focus-visible {
  outline: 2px solid var(--hud-focus);
  outline-offset: -4px;
}
dialog {
  width: min(1120px, calc(100% - 48px));
  max-height: calc(100svh - 64px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(8px);
}
dialog[open] {
  animation: dialog-in 0.2s var(--ease);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dialog-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 24px 16px 16px;
  z-index: 2;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
}
.dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}
.rules-copy h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-top: 16px;
}
.rules-copy > p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 68ch;
  margin-top: 24px;
}
.rules-copy {
  clear: both;
  padding: 8px 64px 64px;
}
.rules-copy ol {
  padding-left: 24px;
  margin-top: 32px;
  max-width: 72ch;
}
.rules-copy li {
  padding-left: 8px;
  margin-top: 24px;
  line-height: 1.6;
}
.rules-copy strong {
  font-weight: 700;
}
@media (min-width: 1800px) {
  :root {
    --gutter: 5%;
  }
  .hero {
    min-height: 960px;
  }
  .intro-grid {
    padding-top: 128px;
  }
  .hero-bottom {
    bottom: 104px;
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 8px;
    font-size: 12px;
  }
  .intro-note,
  .intro-description {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 6.1vw;
  }
  .hero-bottom {
    gap: 16px;
  }
  .hero-bottom .primary-link {
    font-size: 11px;
    gap: 16px;
  }
  .hero-bottom .action-arrow {
    width: 48px;
    height: 48px;
  }
  .work-grid {
    row-gap: 80px;
  }
  .section-space {
    padding-top: 112px;
    padding-bottom: 104px;
  }
  .closing-content {
    margin-top: 224px;
  }
  .closing h2 {
    font-size: 8vw;
  }
  .closing-legal {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 24px;
    --gap: 12px;
    --large: 36px;
    --display: clamp(40px, 7.8vw, 60px);
  }
  html {
    scroll-padding-top: 96px;
  }
  .site-header {
    top: 8px;
    gap: 8px;
  }
  .wordmark {
    font-size: 20px;
  }
  .site-header nav {
    gap: 4px;
    font-size: 12px;
  }
  .site-header nav a,
  .site-header nav button {
    padding: 8px 6px;
    min-height: 44px;
  }
  .site-header nav .app-link {
    padding-inline: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    min-width: 200px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: color-mix(in srgb, var(--ink) 92%, transparent);
    backdrop-filter: blur(20px) saturate(1.4);
  }
  .nav-on-paper .nav-links {
    background: color-mix(in srgb, var(--paper) 94%, transparent);
  }
  .nav-links.is-open {
    display: flex;
  }
  .site-header nav .menu-button {
    display: flex;
  }
  .registration-grid i:nth-child(1) {
    left: 24px;
  }
  .registration-grid i:nth-child(2) {
    left: 50%;
  }
  .registration-grid i:nth-child(3) {
    display: none;
  }
  .registration-grid i:nth-child(4) {
    left: calc(100% - 24px);
  }
  .registration-grid span:nth-of-type(4n + 1) {
    left: 24px;
  }
  .registration-grid span:nth-of-type(4n + 2) {
    left: 50%;
  }
  .registration-grid span:nth-of-type(4n + 3) {
    display: none;
  }
  .registration-grid span:nth-of-type(4n + 4) {
    left: calc(100% - 24px);
  }
  .hero {
    min-height: 880px;
    height: 100svh;
    max-height: 1100px;
  }
  .intro-grid {
    padding-top: 112px;
  }
  .intro-note {
    grid-column: 1/13;
    font-size: 12px;
  }
  .intro-description {
    grid-column: 1/13;
    max-width: 52ch;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 24px;
  }
  .hero-bottom {
    bottom: 144px;
    display: block;
  }
  .hero h1 {
    font-size: clamp(32px, 7.8vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.05em;
  }
  .hero-bottom .primary-link {
    margin-top: 24px;
    max-width: 224px;
    font-size: 12px;
  }
  .hero-bottom .primary-link span:first-child br {
    display: none;
  }
  .hero-bottom .action-arrow {
    height: 44px;
    width: 44px;
    font-size: 32px;
  }
  .glass-fallback {
    top: 43%;
    left: 0;
    width: 100%;
    font-size: 15vw;
  }
  .section-space {
    padding-block: 88px;
  }
  .section-aside {
    grid-column: 1/13;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hand-arrow {
    width: 96px;
    height: 72px;
    margin: 0;
  }
  .story-copy {
    grid-column: 1/13;
    margin-top: 40px;
  }
  .story-copy > p {
    font-size: 28px;
    margin-top: 24px;
    line-height: 1.17;
  }
  .work-grid {
    row-gap: 48px;
  }
  .work-large,
  .work-left,
  .work-right,
  .work-small-left,
  .work-small-right,
  .work-wide {
    grid-column: 1/13;
  }
  .art-frame {
    padding: 24px;
  }
  .art-caption {
    gap: 8px;
  }
  .stocks-content,
  .token-content,
  .creators-content {
    grid-column: 1/13;
    margin-top: 40px;
  }
  .aside-copy {
    margin-top: 0;
    font-size: 12px;
    text-align: right;
  }
  .stock-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 12px;
    margin-top: 32px;
  }
  .stock-list li {
    padding-block: 16px;
  }
  .stocks-content > p,
  .token-content > p:not(.token-note),
  .creators-content > p:not(.form-status) {
    font-size: 18px;
  }
  .token-facts > div {
    padding-block: 16px;
  }
  .closing {
    padding-top: 64px;
    padding-bottom: 112px;
    min-height: 840px;
  }
  .closing-content {
    margin-top: 144px;
  }
  .closing h2 {
    font-size: clamp(44px, 10.5vw, 80px);
  }
  .closing .primary-link {
    position: static;
    margin-top: 32px;
    max-width: 224px;
  }
  .closing-legal {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 72px;
  }
  .closing-legal > a {
    justify-self: start;
  }
  .viewport-footer {
    bottom: 8px;
    font-size: 12px;
  }
  #coordinates {
    display: none;
  }
  .globe-button svg {
    width: 40px;
  }
  .footer-divider {
    margin: 0 4px;
  }
  dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }
  .dialog-close {
    margin-right: 16px;
    top: 8px;
  }
  .rules-copy {
    padding: 24px;
  }
  .rules-copy > p {
    font-size: 16px;
  }
  .rules-copy ol {
    padding-left: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hand-arrow path,
  .card-illustration .doodle {
    stroke-dashoffset: 0;
  }
}
