:root {
  color-scheme: dark;
  --ink: #02050b;
  --ink-soft: #07111f;
  --paper: #f4f8ff;
  --muted: #8ca5bf;
  --blue: #0a8eff;
  --cyan: #30d9ff;
  --line: rgba(141, 210, 255, 0.28);
  --hero-progress: 0;
  --fragment-reveal: 0;
  --copy-alpha: 1;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heavy: cubic-bezier(0.22, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.2, 1.42, 0.36, 1);
  font-family: Inter, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scrollbar-color: #0a6fc2 #02050b;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 92, 170, 0.13), transparent 45%),
    var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  color: #00101e;
  background: var(--cyan);
}

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--cyan);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-chrome {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 3.2vw, 52px) 14px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand-mark,
.skip-intro {
  pointer-events: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  color: rgba(242, 248, 255, 0.8);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand-mark__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(48, 217, 255, 0.9);
}

.site-role {
  margin: 0;
  color: rgba(198, 218, 237, 0.58);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.28em;
}

.skip-intro {
  justify-self: end;
  padding: 8px 0;
  border-bottom: 1px solid rgba(100, 203, 255, 0.5);
  color: rgba(223, 240, 255, 0.72);
  background: none;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.22em;
  cursor: pointer;
}

.hero-scroll {
  position: relative;
  height: 280svh;
  min-height: 1800px;
}

.hero-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
  background: var(--ink);
}

.hero-art,
.hero-bg,
.hero-text,
.hero-vignette,
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-bg,
.hero-text {
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-bg {
  z-index: 0;
  filter: saturate(0.94) brightness(calc(0.91 + var(--hero-progress) * 0.06));
  transform: scale(calc(1.02 + var(--hero-progress) * 0.035));
  transition: filter 80ms linear;
}

.hero-text {
  z-index: 2;
  will-change: transform, filter;
  transform-style: preserve-3d;
  filter: saturate(1.08) brightness(1.02);
  pointer-events: none;
}

.hero-text--left {
  transform:
    perspective(1050px)
    translate3d(calc(var(--left-x, 0) * 1px), calc(var(--left-y, 0) * 1px), calc(var(--left-z, 0) * 1px))
    rotateX(calc(var(--left-rx, 0) * 1deg))
    rotateY(calc(var(--left-ry, 0) * 1deg))
    rotateZ(calc(var(--left-rz, 0) * 1deg))
    scale(var(--left-scale, 1));
}

.hero-text--right {
  transform:
    perspective(1050px)
    translate3d(calc(var(--right-x, 0) * 1px), calc(var(--right-y, 0) * 1px), calc(var(--right-z, 0) * 1px))
    rotateX(calc(var(--right-rx, 0) * 1deg))
    rotateY(calc(var(--right-ry, 0) * 1deg))
    rotateZ(calc(var(--right-rz, 0) * 1deg))
    scale(var(--right-scale, 1));
}

.hero-vignette {
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 4, 10, 0.5), transparent 18%, transparent 72%, rgba(0, 2, 7, 0.72)),
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 3, 9, 0.62) 100%);
}

.hero-grain {
  z-index: 5;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  animation: grain-shift 420ms steps(2, end) infinite;
}

@keyframes grain-shift {
  0% { transform: translate3d(-1.5%, -1%, 0); }
  50% { transform: translate3d(1%, 1.5%, 0); }
  100% { transform: translate3d(0.5%, -1%, 0); }
}

.hero-copy {
  position: absolute;
  z-index: 8;
  left: clamp(20px, 4vw, 64px);
  bottom: clamp(70px, 9vh, 116px);
  width: min(430px, 78vw);
  opacity: var(--copy-alpha);
  transform: perspective(700px) rotateY(calc(var(--hero-progress) * -4deg));
  transform-origin: left center;
  pointer-events: none;
}

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

.hero-copy__eyebrow {
  margin-bottom: 9px !important;
  color: rgba(88, 201, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.hero-copy h1 {
  color: rgba(239, 248, 255, 0.82);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.hero-copy > p:last-child {
  margin-top: 14px;
  color: rgba(184, 205, 224, 0.58);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.hero-meter {
  position: absolute;
  z-index: 10;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(28px, 4vh, 54px);
  display: grid;
  grid-template-columns: auto minmax(90px, 12vw) 24px;
  align-items: center;
  gap: 10px;
  color: rgba(185, 218, 239, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hero-meter__track {
  height: 1px;
  overflow: hidden;
  background: rgba(136, 197, 228, 0.22);
}

.hero-meter__track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: scaleX(var(--hero-progress));
  transform-origin: left;
}

.hero-meter__value {
  text-align: right;
}

.scroll-cue {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(218, 235, 248, calc(0.52 - var(--hero-progress) * 0.52));
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.32em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-pulse 1.8s var(--ease-out) infinite;
}

@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.fragment-field {
  position: absolute;
  z-index: 15;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}

.fragment-button {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(118px, 14vw, 220px);
  aspect-ratio: 1;
  padding: 0;
  border-radius: 28%;
  opacity: var(--fragment-opacity, 0);
  background: transparent;
  cursor: pointer;
  transform:
    translate3d(calc(var(--fragment-x, 0) * 1px), calc(var(--fragment-y, 0) * 1px), calc(var(--fragment-z, 0) * 1px))
    translate(-50%, -50%)
    rotateZ(calc(var(--fragment-rz, 0) * 1deg))
    scale(var(--fragment-scale, 0.72));
  transform-style: preserve-3d;
  transition: filter 220ms ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.fragment-button.is-ready {
  pointer-events: auto;
}

.fragment-button__surface {
  position: absolute;
  inset: -8%;
  display: grid;
  place-items: center;
  transform:
    perspective(650px)
    rotateX(calc(var(--tilt-x, 0) * 1deg))
    rotateY(calc(var(--tilt-y, 0) * 1deg))
    translateZ(calc(var(--hover-z, 0) * 1px));
  transition: transform 240ms var(--ease-heavy), filter 240ms ease;
  will-change: transform;
}

.fragment-button__token {
  position: absolute;
  z-index: 3;
  top: 4%;
  right: 2%;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(92, 200, 255, 0.36);
  border-radius: 50%;
  color: rgba(200, 231, 248, 0.78);
  background: rgba(1, 8, 17, 0.72);
  box-shadow: 0 0 18px rgba(31, 160, 240, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
  opacity: 0.62;
  transform: translateZ(30px);
  pointer-events: none;
}

.fragment-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 25px 24px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 14px rgba(42, 164, 255, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.fragment-button:hover,
.fragment-button:focus-visible {
  z-index: 30;
  filter: brightness(1.08);
}

.fragment-button:hover .fragment-button__surface,
.fragment-button:focus-visible .fragment-button__surface {
  --hover-z: 46;
  filter: drop-shadow(0 0 24px rgba(40, 174, 255, 0.2));
}

.theme-preview {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.preview-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 3, 8, 0.78);
  backdrop-filter: blur(16px) saturate(0.72);
  cursor: default;
}

.preview-card {
  --preview-image: none;
  position: relative;
  width: min(960px, 92vw);
  min-height: min(590px, 78vh);
  overflow: hidden;
  border: 1px solid rgba(139, 211, 255, 0.28);
  border-radius: clamp(24px, 4vw, 54px);
  background:
    linear-gradient(120deg, rgba(10, 24, 41, 0.96), rgba(1, 5, 11, 0.98) 66%),
    var(--ink);
  box-shadow:
    0 55px 120px rgba(0, 0, 0, 0.72),
    inset 0 1px rgba(255, 255, 255, 0.05);
  isolation: isolate;
  transform-origin: center;
}

.preview-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(255, 255, 255, 0.035) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 0 49.8%, rgba(255, 255, 255, 0.025) 50%, transparent 50.2%);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 72% 50%, black, transparent 56%);
  pointer-events: none;
}

.preview-card__texture {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -3%;
  width: min(58%, 560px);
  aspect-ratio: 1;
  background-image: var(--preview-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 40px 34px rgba(0, 0, 0, 0.62));
  transform: translateY(-50%) rotate(var(--preview-rotation, 0deg));
  opacity: 0.84;
}

.preview-card__index {
  position: absolute;
  z-index: 2;
  top: -0.16em;
  left: 0.03em;
  color: rgba(86, 173, 231, 0.07);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(150px, 25vw, 340px);
  line-height: 1;
  pointer-events: none;
}

.preview-card__body {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 56%;
  min-height: inherit;
  padding: clamp(34px, 6vw, 86px);
}

.preview-card__kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.preview-card h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.preview-card__body > p:not(.preview-card__kicker) {
  max-width: 460px;
  margin: 24px 0 0;
  color: rgba(194, 215, 232, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.preview-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.preview-card__meta span {
  padding: 6px 8px;
  border: 1px solid rgba(112, 188, 232, 0.22);
  color: rgba(171, 211, 235, 0.66);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.enter-theme {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 12px 0 9px;
  border-bottom: 2px solid var(--cyan);
  color: var(--paper);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.28em;
  cursor: pointer;
  transition: gap 260ms var(--ease-out), color 180ms ease;
}

.enter-theme:hover {
  gap: 46px;
  color: var(--cyan);
}

.preview-close {
  position: absolute;
  z-index: 8;
  top: 22px;
  right: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(155, 212, 241, 0.22);
  border-radius: 50%;
  color: rgba(224, 240, 250, 0.72);
  background: rgba(1, 6, 13, 0.62);
  font-size: 24px;
  font-weight: 200;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 260ms var(--ease-out);
}

.preview-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(90deg);
}

.theme-space {
  position: fixed;
  z-index: 90;
  inset: 0;
  overflow: hidden;
  background: #02050a;
  opacity: 0;
}

.theme-space.is-visible {
  opacity: 1;
}

.theme-space__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 144, 255, 0.13), transparent 32%),
    linear-gradient(120deg, rgba(4, 19, 34, 0.7), rgba(1, 4, 9, 0.95));
  pointer-events: none;
}

.theme-space__scene {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.theme-space__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(120, 194, 231, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 194, 231, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(100deg, transparent, black 55%, transparent);
}

.theme-heading {
  position: absolute;
  z-index: 5;
  top: max(64px, calc(env(safe-area-inset-top) + 48px));
  left: clamp(22px, 4vw, 64px);
  max-width: 72vw;
  pointer-events: none;
}

.theme-heading p,
.theme-heading h2,
.theme-heading span {
  display: block;
  margin: 0;
}

.theme-heading p {
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.theme-heading h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 6vw, 90px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0.01em;
}

.theme-heading span {
  margin-top: 10px;
  color: rgba(166, 202, 225, 0.5);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.theme-content {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.theme-shell {
  min-height: 100%;
  display: grid;
  align-items: end;
  padding: clamp(190px, 29vh, 300px) clamp(22px, 5vw, 80px) clamp(74px, 9vh, 120px);
}

.theme-shell__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(26px, 6vw, 96px);
  align-items: end;
}

.theme-statement {
  max-width: 440px;
}

.theme-statement__number {
  display: block;
  margin-bottom: 20px;
  color: rgba(63, 184, 255, 0.28);
  font-family: Impact, sans-serif;
  font-size: 76px;
  line-height: 0.8;
}

.theme-statement h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.08;
}

.theme-statement p {
  margin: 18px 0 0;
  color: rgba(183, 207, 224, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.archive-slots {
  display: grid;
  gap: 10px;
}

.archive-slot {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 188, 232, 0.16);
  background: rgba(5, 17, 29, 0.55);
}

.archive-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 146, 255, 0.15), transparent 42%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}

.archive-slot:hover::before {
  transform: scaleX(1);
}

.archive-slot > * {
  position: relative;
  z-index: 1;
}

.archive-slot__index {
  color: rgba(73, 190, 255, 0.6);
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.archive-slot strong {
  font-size: 12px;
  letter-spacing: 0.13em;
}

.archive-slot small {
  color: rgba(167, 199, 218, 0.42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visual-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.gallery-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.gallery-stage::after {
  content: "";
  position: absolute;
  z-index: 30;
  inset: 0;
  border: max(16px, 2.4vw) solid rgba(1, 5, 10, 0.86);
  box-shadow: inset 0 0 90px rgba(0, 3, 8, 0.9);
  pointer-events: none;
}

.gallery-plane {
  position: absolute;
  z-index: 2;
  top: 52%;
  left: 50%;
  width: clamp(240px, 28vw, 460px);
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(123, 198, 239, 0.22);
  border-radius: 4px;
  background: #02060c;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.58);
  cursor: zoom-in;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.gallery-plane::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.gallery-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-plane__label {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: rgba(236, 247, 255, 0.92);
  background: rgba(0, 5, 12, 0.78);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: perspective(300px) rotateX(-34deg) translateY(12px);
  transform-origin: bottom;
  transition: opacity 160ms ease, transform 320ms var(--ease-out);
}

.gallery-plane:hover .gallery-plane__label,
.gallery-plane:focus-visible .gallery-plane__label,
.gallery-plane.is-center .gallery-plane__label {
  opacity: 1;
  transform: perspective(300px) rotateX(0) translateY(0);
}

.gallery-hud {
  position: absolute;
  z-index: 40;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(20px, 4vh, 48px);
  display: grid;
  justify-items: end;
  gap: 6px;
  pointer-events: none;
}

.gallery-hud strong {
  color: rgba(224, 239, 249, 0.72);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.gallery-hud span {
  color: rgba(140, 185, 213, 0.46);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.gallery-velocity {
  display: grid;
  grid-template-columns: 62px 26px;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: rgba(87, 190, 248, 0.56);
  font-family: ui-monospace, monospace;
  font-size: 7px;
}

.gallery-velocity i {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(93, 185, 234, 0.25);
  transform: scaleX(var(--velocity-level, 0));
  transform-origin: right;
}

.gallery-instruction {
  position: absolute;
  z-index: 40;
  left: clamp(18px, 3vw, 48px);
  bottom: clamp(20px, 4vh, 48px);
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(159, 199, 222, 0.48);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
}

.gallery-instruction i {
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.fab {
  position: fixed;
  z-index: 120;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 10px;
}

.fab__trigger,
.fab__actions button {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
}

.fab__trigger {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(132, 211, 255, 0.52);
  border-radius: 50%;
  color: white;
  background:
    radial-gradient(circle at 35% 28%, rgba(90, 211, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #0877cf, #042443 70%);
  cursor: pointer;
  transition: transform 480ms var(--spring), box-shadow 240ms ease;
}

.fab__trigger::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(65, 185, 249, 0.22);
  border-radius: 50%;
  transition: transform 420ms var(--ease-out), opacity 260ms ease;
}

.fab__trigger span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 360ms var(--ease-out);
}

.fab__trigger span:last-child {
  transform: rotate(90deg);
}

.fab.is-open .fab__trigger {
  transform: rotate(135deg) scale(0.94);
  box-shadow: 0 10px 26px rgba(0, 112, 206, 0.35);
}

.fab.is-open .fab__trigger::after {
  opacity: 0;
  transform: scale(1.35);
}

.fab__actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}

.fab__actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: rgba(226, 242, 252, 0.82);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) rotate(7deg) scale(0.48);
  transition:
    opacity 140ms ease,
    transform 260ms ease;
}

.fab.is-open .fab__actions {
  pointer-events: auto;
}

.fab.is-open .fab__actions button {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
  transition:
    opacity 160ms ease calc(var(--order) * 48ms),
    transform 520ms var(--spring) calc(var(--order) * 48ms);
}

.fab__actions i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(132, 205, 244, 0.3);
  border-radius: 50%;
  background: rgba(3, 15, 27, 0.9);
  font-style: normal;
  font-size: 16px;
  transition: border-color 180ms ease, color 180ms ease, transform 260ms var(--ease-out);
}

.fab__label {
  padding: 7px 9px;
  color: rgba(185, 216, 234, 0.72);
  background: rgba(1, 8, 16, 0.82);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 180ms ease, transform 260ms var(--ease-out);
}

.fab__actions button:hover i,
.fab__actions button:focus-visible i {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.08);
}

.fab__actions button:hover .fab__label,
.fab__actions button:focus-visible .fab__label {
  opacity: 1;
  transform: translateX(0);
}

/* the reminder (app.js, showFabHint): the menu is out with its names showing, and every
   button lights up twice in its own colour */
.fab.is-hint .fab__label {
  opacity: 1;
  transform: translateX(0);
}

.fab.is-hint .fab__actions i,
.fab.is-hint .fab__trigger {
  animation: fab-hint 500ms ease-in-out 440ms 2;
}

@keyframes fab-hint {
  50% {
    filter: brightness(1.75) drop-shadow(0 0 10px currentColor);
    scale: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab.is-hint .fab__actions i,
  .fab.is-hint .fab__trigger {
    animation: none;
  }
}

.lightbox {
  position: fixed;
  z-index: 160;
  inset: 0;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.lightbox__scrim {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(9, 49, 79, 0.3), transparent 48%),
    linear-gradient(115deg, rgba(0, 3, 8, 0.97), rgba(1, 9, 17, 0.94));
  backdrop-filter: blur(24px) saturate(0.68);
  cursor: default;
}

.lightbox__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(103, 188, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 188, 232, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.cinema-gallery__shell {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(70px, 8vh, 100px) clamp(74px, 8vw, 138px) clamp(78px, 9vh, 112px);
  pointer-events: none;
}

.cinema-gallery__header {
  position: absolute;
  z-index: 5;
  top: max(26px, env(safe-area-inset-top));
  left: clamp(24px, 4vw, 62px);
  right: clamp(82px, 8vw, 132px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.cinema-gallery__header > div {
  display: grid;
  gap: 7px;
}

.cinema-gallery__eyebrow,
.cinema-gallery__orientation {
  color: rgba(111, 197, 241, 0.56);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.cinema-gallery__header strong {
  color: rgba(233, 245, 253, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.cinema-gallery__orientation {
  padding-top: 2px;
  text-align: right;
}

.cinema-gallery__figure {
  position: relative;
  z-index: 2;
  display: grid;
  width: max-content;
  max-width: 92vw;
  justify-items: stretch;
  margin: 0;
  pointer-events: none;
  touch-action: pan-y;
}

.cinema-gallery__frame {
  --swipe-offset: 0px;
  position: relative;
  width: min(84vw, 1320px);
  height: min(72vh, 744px);
  overflow: hidden;
  border: 1px solid rgba(141, 211, 247, 0.24);
  border-radius: 2px;
  background: #02060b;
  box-shadow:
    0 46px 120px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  transform: translateX(var(--swipe-offset));
  transition: transform 220ms var(--ease-out);
  pointer-events: auto;
  touch-action: pan-y;
  will-change: width, height, transform;
}

.cinema-gallery__frame[data-orientation="portrait"] {
  box-shadow:
    0 54px 130px rgba(0, 0, 0, 0.82),
    0 0 70px rgba(13, 113, 179, 0.08);
}

.cinema-gallery__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #02060b;
  will-change: clip-path, transform, filter;
}

.cinema-gallery__layer--current {
  z-index: 1;
}

.cinema-gallery__layer--incoming {
  z-index: 2;
  clip-path: inset(0 0 0 100%);
}

.cinema-gallery__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  will-change: transform, filter;
}

.cinema-gallery__glass {
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.055), transparent 18%, transparent 72%, rgba(35, 160, 229, 0.035)),
    linear-gradient(180deg, transparent 70%, rgba(0, 2, 7, 0.14));
  pointer-events: none;
}

.cinema-gallery__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 12px 2px 0;
  color: rgba(155, 198, 224, 0.52);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.19em;
  pointer-events: none;
}

.cinema-gallery__nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(215, 235, 247, 0.72);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
}

.cinema-gallery__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(112, 197, 243, 0.25);
  border-radius: 50%;
  background: rgba(2, 13, 23, 0.72);
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 320ms var(--spring);
}

.cinema-gallery__nav--prev {
  left: clamp(22px, 3.2vw, 52px);
}

.cinema-gallery__nav--prev::before {
  left: -14px;
}

.cinema-gallery__nav--next {
  right: clamp(22px, 3.2vw, 52px);
}

.cinema-gallery__nav--next::before {
  right: -14px;
}

.cinema-gallery__nav span,
.cinema-gallery__nav small {
  position: relative;
  z-index: 1;
}

.cinema-gallery__nav span {
  font-size: 18px;
}

.cinema-gallery__nav small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.cinema-gallery__nav:hover::before,
.cinema-gallery__nav:focus-visible::before {
  border-color: var(--cyan);
  background: rgba(5, 43, 69, 0.88);
  transform: translateY(-50%) scale(1.1);
}

.cinema-gallery__progress {
  position: absolute;
  z-index: 5;
  right: clamp(24px, 4vw, 62px);
  bottom: max(32px, env(safe-area-inset-bottom));
  left: clamp(24px, 4vw, 62px);
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  align-items: center;
  gap: 5px;
  height: 8px;
  pointer-events: none;
}

.cinema-gallery__progress i {
  display: block;
  height: 1px;
  background: rgba(111, 180, 218, 0.18);
  transition: height 260ms var(--ease-out), background 260ms ease, box-shadow 260ms ease;
}

.cinema-gallery__progress i.is-past {
  background: rgba(54, 157, 218, 0.32);
}

.cinema-gallery__progress i.is-active {
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(48, 217, 255, 0.7);
}

.cinema-gallery__hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: max(50px, calc(env(safe-area-inset-bottom) + 18px));
  margin: 0;
  color: rgba(136, 180, 207, 0.38);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.lightbox__close {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  pointer-events: auto;
}

.gallery-plane.is-shared-origin {
  opacity: 0 !important;
}

@media (max-width: 820px) {
  .site-chrome {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .site-role {
    display: none;
  }

  .hero-scroll {
    height: 240svh;
    min-height: 1480px;
  }

  .hero-bg {
    object-position: 57% center;
  }

  .hero-text {
    width: 178vw;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .hero-text--left {
    left: -16vw;
  }

  .hero-text--right {
    left: -62vw;
  }

  .hero-copy {
    left: 18px;
    bottom: 86px;
    width: 75vw;
  }

  .hero-copy > p:last-child {
    max-width: 280px;
  }

  .hero-meter {
    right: 18px;
    bottom: 26px;
    grid-template-columns: minmax(70px, 22vw) 22px;
  }

  .hero-meter__label {
    display: none;
  }

  .scroll-cue {
    left: 18px;
    align-items: flex-start;
    transform: none;
  }

  .fragment-button {
    width: clamp(104px, 31vw, 148px);
  }

  .preview-card {
    min-height: min(700px, 84vh);
  }

  .preview-card__texture {
    top: 5%;
    right: 50%;
    width: min(75vw, 390px);
    transform: translateX(50%) rotate(var(--preview-rotation, 0deg));
    opacity: 0.62;
  }

  .preview-card__body {
    width: 100%;
    min-height: inherit;
    padding: 34px 26px;
    background: linear-gradient(0deg, rgba(1, 5, 11, 0.98) 0 46%, transparent 82%);
  }

  .preview-card h2 {
    max-width: 86%;
    font-size: clamp(48px, 15vw, 84px);
  }

  .preview-card__body > p:not(.preview-card__kicker) {
    max-width: 88%;
  }

  .theme-heading {
    top: max(54px, calc(env(safe-area-inset-top) + 38px));
    left: 18px;
  }

  .theme-heading h2 {
    font-size: clamp(36px, 12vw, 62px);
  }

  .theme-shell {
    padding: 190px 18px 100px;
  }

  .theme-shell__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .archive-slot {
    grid-template-columns: 38px 1fr;
  }

  .archive-slot small {
    grid-column: 2;
    margin-top: 5px;
  }

  .gallery-plane {
    top: 54%;
    width: min(72vw, 360px);
  }

  .gallery-instruction {
    bottom: 25px;
  }

  .gallery-hud {
    bottom: 25px;
  }

  .gallery-hud span,
  .gallery-velocity {
    display: none;
  }

  .fab {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .fab__trigger {
    width: 52px;
    height: 52px;
  }

  .fab.is-open .fab__label {
    opacity: 1;
    transform: translateX(0);
  }

  .cinema-gallery__shell {
    padding: 70px 12px 118px;
  }

  .cinema-gallery__header {
    top: max(16px, env(safe-area-inset-top));
    right: 70px;
    left: 18px;
  }

  .cinema-gallery__orientation {
    display: none;
  }

  .cinema-gallery__figure {
    max-width: 94vw;
  }

  .cinema-gallery__figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 9px;
  }

  .cinema-gallery__nav {
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    transform: none;
  }

  .cinema-gallery__nav--prev {
    left: calc(50% - 88px);
  }

  .cinema-gallery__nav--next {
    right: calc(50% - 88px);
  }

  .cinema-gallery__nav::before,
  .cinema-gallery__nav:hover::before,
  .cinema-gallery__nav:focus-visible::before {
    transform: translateY(-50%);
  }

  .cinema-gallery__nav small {
    display: none;
  }

  .cinema-gallery__progress {
    right: 18px;
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 70px));
    left: 18px;
    gap: 3px;
  }

  .cinema-gallery__hint {
    bottom: max(74px, calc(env(safe-area-inset-bottom) + 52px));
    font-size: 5px;
  }

  .lightbox__close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
  }
}


@media (max-height: 650px) and (orientation: landscape) {
  .hero-copy {
    bottom: 52px;
  }

  .preview-card {
    min-height: 88vh;
  }

  .preview-card__body {
    padding-block: 28px;
  }

  .preview-card__body > p:not(.preview-card__kicker) {
    margin-top: 14px;
  }

  .enter-theme {
    margin-top: 16px;
  }
}

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

  .hero-scroll {
    height: 100svh;
    min-height: 620px;
  }

  .hero-text {
    transform: none !important;
  }

  .hero-copy {
    opacity: 0.9;
    transform: none;
  }

  .fragment-button {
    opacity: 1 !important;
  }

  .gallery-stage {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20vh 24px 12vh;
    overflow-x: auto;
    perspective: none;
    scroll-snap-type: x mandatory;
  }

  .gallery-plane {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 min(76vw, 420px);
    transform: none !important;
    opacity: 1 !important;
    scroll-snap-align: center;
  }

  .cinema-gallery__frame,
  .cinema-gallery__layer,
  .cinema-gallery__layer img {
    transform: none !important;
    filter: none !important;
  }
}

/* 内容优先版：保留原滚轮空间运动，只重构信息与主题展示。 */
.site-chrome {
  grid-template-columns: 1fr auto;
  mix-blend-mode: normal;
}

.brand-mark {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.skip-intro {
  padding: 9px 1px;
  color: rgba(232, 243, 251, 0.82);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0;
}

.hero-art {
  filter: blur(calc(var(--archive-blur, 0) * 1px));
  transition: filter 80ms linear;
}

.hero-copy {
  left: 50%;
  bottom: clamp(92px, 16vh, 160px);
  width: min(620px, 86vw);
  opacity: var(--welcome-alpha, 0);
  text-align: center;
  transform: translate3d(-50%, calc(var(--welcome-y, 24) * 1px), 0);
  transform-origin: center;
  will-change: opacity, transform;
}

.hero-copy h1 {
  color: rgba(244, 249, 255, 0.96);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(48px, 7vw, 98px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.56);
}

.hero-copy > p:last-child {
  margin-top: 18px;
  color: rgba(212, 226, 237, 0.76);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.6;
  letter-spacing: 0;
}

.preview-scrim {
  background: rgba(0, 4, 10, 0.84);
  backdrop-filter: blur(22px) saturate(0.68);
}

.preview-card {
  --preview-accent: #30d9ff;
  --preview-fragment-x: -7%;
  --preview-fragment-y: -10%;
  --preview-fragment-width: 64%;
  --preview-fragment-rotation: 0deg;
  width: min(1180px, 84vw);
  min-height: min(670px, 78vh);
  overflow: visible;
  border: 0;
  border-radius: clamp(26px, 3vw, 42px);
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.preview-card[data-theme="creation"] { --preview-accent: #9888ff; }
.preview-card[data-theme="exploration"] { --preview-accent: #47b7ff; }
.preview-card[data-theme="inspiration"] { --preview-accent: #ff71c7; }
.preview-card[data-theme="vision"] { --preview-accent: #ff3341; }

.preview-card::after {
  display: none;
}

.preview-card__surface {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 30%, transparent);
  border-radius: inherit;
  background:
    radial-gradient(circle at 78% 26%, color-mix(in srgb, var(--preview-accent) 12%, transparent), transparent 38%),
    linear-gradient(128deg, rgba(8, 24, 39, 0.97), rgba(2, 7, 13, 0.99) 68%);
  box-shadow:
    0 56px 140px rgba(0, 0, 0, 0.76),
    inset 0 1px rgba(255, 255, 255, 0.045);
}

.preview-card__surface::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 2, 7, 0.32));
  pointer-events: none;
}

.preview-card__body {
  position: relative;
  z-index: 3;
  display: flex;
  width: 54%;
  min-height: inherit;
  justify-content: center;
  padding: clamp(46px, 6vw, 88px);
}

.preview-card h2 {
  max-width: 560px;
  margin: 0;
  color: #f3f7fb;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(58px, 7.4vw, 104px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: none;
}

.preview-card__lead,
.preview-card__note {
  max-width: 500px;
  margin: 0;
  letter-spacing: 0;
}

.preview-card .preview-card__body > .preview-card__lead {
  margin-top: 28px;
  color: rgba(223, 235, 244, 0.86);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.preview-card .preview-card__body > .preview-card__note {
  margin-top: 16px;
  color: rgba(164, 190, 208, 0.7);
  font-size: 13px;
  line-height: 1.75;
}

.preview-card__fragment {
  position: absolute;
  z-index: 2;
  top: var(--preview-fragment-y);
  right: var(--preview-fragment-x);
  width: var(--preview-fragment-width);
  max-width: 760px;
  aspect-ratio: 1;
  transform: rotate(var(--preview-fragment-rotation));
  transform-origin: center;
  pointer-events: none;
}

.preview-card__fragment img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 46px 42px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 38px color-mix(in srgb, var(--preview-accent) 12%, transparent));
}

.enter-theme {
  gap: 14px;
  margin-top: 34px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 52%, transparent);
  border-radius: 999px;
  color: rgba(244, 249, 252, 0.94);
  background: color-mix(in srgb, var(--preview-accent) 9%, rgba(2, 10, 18, 0.9));
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  transition: gap 220ms var(--ease-out), color 180ms ease, background 180ms ease;
}

.enter-theme:hover,
.enter-theme:focus-visible {
  gap: 20px;
  color: white;
  background: color-mix(in srgb, var(--preview-accent) 16%, rgba(2, 10, 18, 0.9));
}

.preview-close {
  z-index: 6;
  top: 20px;
  right: 20px;
}

.theme-heading {
  top: max(54px, calc(env(safe-area-inset-top) + 38px));
  left: clamp(22px, 5vw, 78px);
  max-width: min(720px, 72vw);
}

.theme-heading h2 {
  margin: 0;
  color: rgba(244, 249, 253, 0.96);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.05em;
}

.theme-heading p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(176, 204, 222, 0.68);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.theme-shell {
  padding: clamp(190px, 28vh, 300px) clamp(22px, 6vw, 96px) clamp(78px, 10vh, 130px);
}

.theme-shell__grid {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: clamp(42px, 8vw, 124px);
}

.theme-statement h3 {
  margin: 0;
  color: rgba(239, 247, 252, 0.94);
  font-size: clamp(26px, 3.1vw, 46px);
  font-weight: 640;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.theme-statement p {
  margin: 22px 0 0;
  color: rgba(177, 202, 218, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

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

.theme-entry {
  min-height: 220px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(119, 190, 228, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9, 25, 39, 0.76), rgba(3, 11, 19, 0.74));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.theme-entry h4 {
  margin: 0;
  color: rgba(241, 248, 252, 0.94);
  font-size: 19px;
  font-weight: 640;
  line-height: 1.35;
}

.theme-entry p {
  margin: 18px 0 0;
  color: rgba(171, 198, 216, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.gallery-plane__action {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(242, 248, 252, 0.94);
  background: rgba(1, 7, 13, 0.78);
  font-size: 13px;
  font-weight: 620;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
  pointer-events: none;
}

.gallery-plane:hover .gallery-plane__action,
.gallery-plane:focus-visible .gallery-plane__action,
.gallery-plane.is-center .gallery-plane__action {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gallery-guidance {
  position: absolute;
  z-index: 42;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(22px, 4vh, 48px);
  margin: 0;
  color: rgba(181, 207, 223, 0.64);
  font-size: 13px;
  line-height: 1.6;
  pointer-events: none;
}

.fab__label {
  padding: 8px 11px;
  color: rgba(214, 231, 241, 0.86);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .preview-card {
    width: 88vw;
  }

  .preview-card__body {
    width: 58%;
    padding-inline: 44px;
  }

  .theme-entries {
    grid-template-columns: 1fr;
  }

  .theme-entry {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .site-chrome {
    grid-template-columns: 1fr auto;
  }

  .hero-copy {
    left: 50%;
    bottom: 15vh;
    width: 88vw;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .theme-preview {
    padding: 46px 18px;
  }

  .preview-card {
    width: min(90vw, 520px);
    min-height: min(740px, 82svh);
  }

  .preview-card__body {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 48% 26px 34px;
    background: none;
  }

  .preview-card h2 {
    max-width: 84%;
    font-size: clamp(48px, 15vw, 72px);
  }

  .preview-card .preview-card__body > .preview-card__lead {
    max-width: 94%;
    margin-top: 20px;
    font-size: 15px;
  }

  .preview-card .preview-card__body > .preview-card__note {
    max-width: 94%;
    font-size: 12px;
  }

  .preview-card__fragment {
    top: -18%;
    right: -30%;
    width: 108%;
    max-width: none;
  }

  .preview-card__surface {
    background:
      radial-gradient(circle at 58% 12%, color-mix(in srgb, var(--preview-accent) 14%, transparent), transparent 36%),
      linear-gradient(180deg, rgba(7, 21, 34, 0.98), rgba(2, 7, 13, 0.99) 64%);
  }

  .preview-close {
    top: 14px;
    right: 14px;
  }

  .theme-heading {
    top: max(52px, calc(env(safe-area-inset-top) + 34px));
    left: 18px;
    max-width: calc(100vw - 94px);
  }

  .theme-heading h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .theme-heading p {
    margin-top: 10px;
    font-size: 12px;
  }

  .theme-shell {
    padding: 190px 18px 104px;
  }

  .theme-shell__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-guidance {
    right: 18px;
    bottom: 22px;
    left: 18px;
    font-size: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art {
    filter: blur(7px);
  }

  .hero-copy {
    display: none;
  }
}
