/* Vexa: cyberpunk gothic with physical, Apple-inspired web surfaces.
   DESIGN_VARIANCE: 9 / MOTION_INTENSITY: 6 / VISUAL_DENSITY: 3.
   Shape system: 28px panels, arch-shaped specimen, pill controls.
   Frosted navigation is a web approximation, not Apple Liquid Glass. */
/* Homepage downloads: keep all three frontends on one line. */
.downloads-section { padding-block: 40px 90px; }
.downloads-intro { max-width: 48ch; margin-top: 20px; color: var(--muted); }
.download-count { margin-top: 18px; color: var(--muted); font-size: .85rem; }
.download-count strong { color: var(--ink); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.download-platform { --platform: #a11b1b; min-width: 0; border-top: 4px solid var(--platform); padding-top: 20px; }
.download-platform--lumi { --platform: #8a64d6; }
.download-platform--tavo { --platform: #f26d5b; border-image: linear-gradient(110deg, #f26d5b, #121324) 1; }
.download-platform h3 { font-size: clamp(14px, 2.4vw, 28px); margin-bottom: 20px; }
.download-button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 82px; margin-top: 12px; padding: 12px 8px; border-radius: 18px; background: var(--platform); color: #fff; text-align: center; font-size: clamp(12px, 1.8vw, 18px); font-weight: 700; line-height: 1.3; }
.download-platform--lumi .download-button { color: #101014; }
.download-platform--tavo .download-button { background: linear-gradient(#0006, #0006), linear-gradient(110deg, #f26d5b, #121324); }
.download-button--regex { border: 1px solid var(--platform); box-shadow: inset 0 0 0 2px var(--bg); }
.download-button small { font-size: 11px; font-weight: 500; }
.download-button[aria-disabled="true"] { cursor: default; }
.download-button[href]:hover { color: #fff; filter: brightness(1.1); }
.download-platform--lumi .download-button[href]:hover { color: #101014; }
@media (max-width: 600px) {
  .download-grid { gap: 8px; }
  .download-platform { padding-top: 12px; }
  .download-platform h3 { letter-spacing: -.5px; margin-bottom: 14px; }
  .download-button { border-radius: 12px; padding-inline: 3px; }
  .downloads-section { padding-block: 30px 55px; }
}
/* Vexa community invitation; follows the shared light/dark theme. */
.vexa-community { padding-bottom: 90px; }
.vexa-community-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}
.vexa-community-card h2 { margin: 14px 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.vexa-community-copy { max-width: 48ch; color: var(--muted); font-size: .95rem; }
.vexa-community-card .button { flex-shrink: 0; }
@media (max-width: 760px) {
  .vexa-community { padding-bottom: 55px; }
  .vexa-community-card { flex-direction: column; align-items: stretch; gap: 24px; }
}
@font-face {
  font-family: Space Grotesk;
  src: url("fonts/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --obsidian: #101014;
  --magenta: #c0188a;
  --toxic: #70ff38;
  --plum: #48143e;
  --gunmetal: #41434a;
  --rose: #e4b4a9;
  --bg: #101014;
  --surface: #19181e;
  --ink: #f4ecef;
  --muted: #b8afb9;
  --line: #38323c;
  --accent: #70ff38;
  --link: #f18ad0;
  --wash: #48143e;
  --glass: rgba(24, 22, 29, 0.88);
  --paper: #252129;
  --shadow: rgba(0, 0, 0, 0.4);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3e7ed;
  --surface: #eadbe5;
  --ink: #201821;
  --muted: #655666;
  --line: #c8acbf;
  --accent: #316c1b;
  --link: #a51175;
  --wash: #e8bfd9;
  --glass: rgba(243, 231, 237, 0.92);
  --paper: #e5d0df;
  --shadow: rgba(72, 20, 62, 0.17);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Space Grotesk,
    system-ui,
    sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button[hidden] {
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--link);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 500;
}
h2 {
  font-size: clamp(2.6rem, 5.3vw, 4.6rem);
}
em {
  font-style: italic;
  font-weight: 500;
  color: var(--link);
}
p {
  max-width: 62ch;
}
::selection {
  background: var(--toxic);
  color: var(--obsidian);
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--toxic);
  color: var(--obsidian);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.eyebrow {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.69rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--muted);
}
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  margin-top: 16px;
}
.brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.09em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.icon-bolt {
  display: inline-block;
  width: 0.85em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.1em;
}
.brand span {
  color: var(--accent);
  font-size: 1.65rem;
  display: inline-block;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 12px 27px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(228, 180, 169, 0.1);
  font-size: 0.78rem;
}
.nav a {
  padding-block: 4px;
}
.nav a[aria-current] {
  color: var(--accent);
}
.theme-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.72rem;
  min-height: 44px;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  min-height: 740px;
  padding-block: 55px 85px;
  position: relative;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: -100px -50px -60px 24%;
  background: radial-gradient(ellipse at 70% 45%, var(--wash), transparent 67%);
  opacity: 0.64;
  z-index: -2;
  pointer-events: none;
}
.hero-copy {
  z-index: 3;
}
.hero h1 {
  font-size: clamp(5rem, 8.9vw, 8.2rem);
  line-height: 0.98;
  margin: 25px 0 30px;
  letter-spacing: -0.075em;
}
.hero h1 em {
  display: inline-block;
  padding-right: 14px;
  padding-bottom: 7px;
  color: var(--ink);
  text-shadow: 3px 2px 0 var(--magenta);
}
.period {
  color: var(--accent);
}
.intro {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
  max-width: 365px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 14px 23px;
  background: var(--toxic);
  color: var(--obsidian);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 100px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s;
}
.button:hover {
  color: var(--obsidian);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(112, 255, 56, 0.16);
}
.button:active,
.circle-link:active {
  transform: scale(0.97);
}
.button span {
  font-size: 1.15rem;
}
.text-link {
  font-size: 0.8rem;
  display: inline-block;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 4px;
}
.text-link span {
  margin-left: 12px;
}
.hero-stage {
  position: relative;
  min-width: 0;
  height: 570px;
  perspective: 1100px;
}
.specimen {
  position: absolute;
  inset: 15px 8% 30px 5%;
  border-radius: 240px 240px 95px 95px;
  overflow: hidden;
  transform: rotate(7deg);
  border: 1px solid rgba(228, 180, 169, 0.38);
  background: var(--plum);
  box-shadow:
    14px 18px 0 rgba(192, 24, 138, 0.11),
    0 30px 80px var(--shadow);
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.7s;
}
.specimen img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.05) rotate(-7deg);
  filter: saturate(0.82);
  transition:
    filter 0.7s,
    transform 0.7s;
}
.hero-stage:hover .specimen {
  transform: rotate(3deg) translateY(-5px);
}
.hero-stage:hover .specimen img {
  transform: scale(1.08) rotate(-3deg);
  filter: saturate(1.1);
}
.orbit {
  position: absolute;
  border: 1px solid var(--magenta);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  inset: 50px -2% 55px -3%;
  transform: rotate(-28deg) rotateY(42deg);
  opacity: 0.65;
}
.orbit-two {
  inset: 0 10% 5px -3%;
  transform: rotate(43deg) rotateY(54deg);
  border-color: var(--accent);
  opacity: 0.32;
}
.specimen-base {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 6%;
  height: 30px;
  border-radius: 50%;
  background: var(--magenta);
  filter: blur(35px);
  opacity: 0.45;
  z-index: -1;
}
.specimen-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.6;
  z-index: 3;
}
.specimen-caption a {
  color: var(--ink);
}
.power-control {
  position: absolute;
  bottom: 9px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--glass);
  color: var(--ink);
  padding: 10px 17px 10px 9px;
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  z-index: 3;
  transition: transform 0.3s;
}
.power-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.3rem;
}
.power-control:active {
  transform: scale(0.96);
}
body.is-powered .specimen {
  box-shadow:
    12px 18px 0 rgba(192, 24, 138, 0.25),
    0 0 100px rgba(192, 24, 138, 0.3);
  transform: rotate(0);
}
body.is-powered .specimen img {
  filter: saturate(1.3);
  transform: scale(1.08);
}
body.is-powered .orbit {
  border-width: 2px;
  opacity: 0.8;
}
.power-control[aria-pressed="true"] .power-symbol {
  background: var(--toxic);
  color: var(--obsidian);
}
.work-section {
  padding-top: 90px;
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
.project {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
}
.project-image {
  display: block;
  overflow: hidden;
}
.project-image img {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 16/7;
  object-fit: cover;
}
.project-image:hover img {
  transform: scale(1.035);
}
.project-copy {
  padding: 38px 46px 34px;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.project h3 {
  font-size: 4.2rem;
  margin-top: 5px;
}
.circle-link {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.8rem;
  transition:
    background 0.3s,
    transform 0.3s;
}
.circle-link:hover {
  background: var(--toxic);
  color: var(--obsidian);
  transform: rotate(10deg);
}
.project-copy > p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 530px;
}
.project-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 30px;
  gap: 25px;
}
.project-bottom p {
  font-size: 0.72rem;
  color: var(--muted);
}
.research-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 100px;
  padding-block: 160px;
}
.paper-art {
  position: relative;
  padding: 28px 15px 22px;
  perspective: 900px;
}
.paper-art:before {
  content: "";
  position: absolute;
  inset: 5% 0 0;
  background: radial-gradient(ellipse, var(--wash), transparent 65%);
  z-index: -1;
}
.paper-sheet {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--paper), var(--surface));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow:
    12px 12px 0 var(--bg),
    13px 13px 0 var(--line),
    22px 28px 65px var(--shadow);
  transform: rotate(-7deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.paper-art:hover .paper-sheet {
  transform: rotate(-2deg) translateY(-6px);
}
.paper-kicker {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.paper-sheet strong {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
  font-weight: 500;
}
.paper-sheet strong span {
  display: block;
  color: var(--accent);
  margin-top: 10px;
}
.paper-lines {
  height: 54px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 8px,
    var(--line) 8px 9px
  );
  width: 75%;
  transform: skewY(-8deg);
}
.paper-foot {
  font-size: 0.64rem;
  color: var(--muted);
}
.research-copy h2 {
  margin: 20px 0 28px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}
.research-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}
.small-copy {
  font-size: 0.8rem !important;
}
.prominent {
  margin-top: 5px;
  font-size: 0.92rem;
}
.research-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 0.7rem;
  color: var(--muted);
}
/* AetherKit is a distinct related project, with its three documented tiers. */
.sdk-section {
  padding-bottom: 120px;
}
.sdk-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0 100%, var(--wash), transparent 70%),
    var(--surface);
}
.sdk-copy h2 {
  margin: 20px 0 28px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}
.sdk-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 44ch;
}
.sdk-copy .button {
  margin-top: 28px;
}
.sdk-related {
  display: table;
  margin-top: 22px;
}
.sdk-tiers {
  align-self: center;
  border-left: 1px solid var(--line);
  padding-left: 44px;
}
.sdk-tiers dl {
  margin: 28px 0 24px;
}
.sdk-tiers dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
.sdk-tiers dt {
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  color: var(--link);
}
.sdk-tiers dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.sdk-doc-note {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.8;
}
.sdk-on-vexa {
  padding-top: 110px;
  padding-bottom: 0;
}
.sdk-tiers h3 {
  margin: 25px 0;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
}
.sdk-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.overview-copy a {
  color: var(--link);
  text-decoration: underline;
}
.system-card .eyebrow {
  font-size: 0.64rem;
}
.site-footer > div {
  flex-wrap: wrap;
}
@media (max-width: 1023px) {
  .sdk-panel {
    padding: 40px;
    gap: 35px;
  }
  .sdk-tiers {
    padding-left: 30px;
  }
  .sdk-tiers dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 22px;
  }
}
@media (max-width: 767px) {
  .sdk-section {
    padding-bottom: 75px;
  }
  .sdk-panel {
    grid-template-columns: 1fr;
    padding: 32px 25px;
    gap: 40px;
  }
  .sdk-tiers {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
  .sdk-tiers dl > div {
    grid-template-columns: 80px 1fr;
    gap: 18px;
  }
  .sdk-tiers dt {
    font-size: 1.65rem;
  }
  .sdk-on-vexa {
    padding-top: 75px;
    padding-bottom: 0;
  }
}
.about-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: center;
  padding-block: 75px 130px;
  border-top: 1px solid var(--line);
}
.about-copy h2 {
  margin: 22px 0 30px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}
.about-copy > p:not(.eyebrow) {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 460px;
}
.dice-toy {
  text-align: center;
  padding: 45px 25px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 65%, var(--wash), transparent 75%),
    var(--surface);
  min-height: 430px;
}
.dice-toy .eyebrow {
  margin-inline: auto;
}
.dice-toy h3 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-top: 17px;
}
.dice-button {
  display: block;
  margin: 32px auto 25px;
  width: 112px;
  height: 124px;
  background: var(--plum);
  color: var(--toxic);
  border: 0;
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dice-button:before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, #c0188a, #48143e 50%, #101014);
  clip-path: inherit;
  z-index: -1;
}
.dice-button:focus-visible {
  clip-path: none;
  border-radius: 20px;
}
.dice-button:hover {
  transform: rotate(9deg) scale(1.08);
}
.die-number {
  font-size: 2.9rem;
  font-weight: 500;
}
.dice-result {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30ch;
  margin-inline: auto;
  min-height: 3.4em;
}
.is-rolling {
  animation: roll 0.55s ease;
}
.is-critical .dice-result {
  color: var(--accent);
}
.closing {
  font-size: clamp(3.2rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.075em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  padding-bottom: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.closing span {
  color: var(--magenta);
  -webkit-text-stroke: 0;
  font-size: 0.72em;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 35px 45px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.site-footer p {
  font-size: 0.66rem;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 20px;
  font-size: 0.7rem;
}
/* Vexa keeps its route, anchors and factual release status. */
.vexa-hero {
  padding-top: 45px;
}
.back {
  font-size: 0.75rem;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 55px;
}
.vexa-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  margin: 24px 0 60px;
}
.vexa-heading h1 {
  font-size: clamp(4rem, 8.5vw, 7.5rem);
}
.vexa-hero-copy {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.vexa-hero-copy .button {
  margin-top: 25px;
}
.vexa-cover img {
  border-radius: 28px;
  aspect-ratio: 8/3;
  object-fit: cover;
  border: 1px solid var(--line);
}
.vexa-cover figcaption {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 14px;
}
.vexa-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 130px 110px;
}
.vexa-overview h2 {
  font-size: clamp(2.8rem, 4.7vw, 4.5rem);
  margin-bottom: 25px;
}
.overview-lede,
.overview-copy {
  font-size: 0.94rem;
  color: var(--muted);
}
.overview-copy {
  padding-top: 12px;
}
.overview-copy p + p {
  margin-top: 25px;
}
.systems-section .section-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin-bottom: 45px;
}
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 75px;
  row-gap: 50px;
}
.system-card {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.system-mark {
  color: var(--accent);
  font-size: 2rem;
}
.system-card h3 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  margin: 18px 0 15px;
}
.system-card p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 45ch;
}
.release-section {
  padding-block: 120px;
}
.release-note {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 100% 100%, var(--wash), transparent 65%),
    var(--surface);
  border-radius: 28px;
  padding: 60px;
}
.release-note h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin: 15px 0 25px;
}
.release-note > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 15px;
  max-width: 67ch;
}
.note-pin {
  font-size: 2rem;
  color: var(--accent);
}
.button-magenta {
  background: var(--magenta);
  color: #f4ecef;
}
.button-magenta:hover {
  color: #f4ecef;
}
.faq-section {
  padding-bottom: 110px;
}
.faq-section .section-title {
  font-size: 3rem;
  margin-bottom: 35px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 1.05rem;
  min-height: 32px;
}
.faq details p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 20px 0;
  max-width: 80ch;
}
.faq details a {
  text-decoration: underline;
  color: var(--link);
}
.brand-spark {
  color: var(--accent);
}
/* Entry establishes hierarchy; reveals introduce each separate project. */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes roll {
  0%,
  100% {
    transform: rotate(0);
  }
  40% {
    transform: rotate(75deg) scale(0.88);
  }
  75% {
    transform: rotate(-20deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: enter 0.8s both;
  }
  .hero-stage {
    animation: enter 1s 0.12s both;
  }
  .vexa-heading {
    animation: enter 0.8s both;
  }
  .reveal-ready {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s,
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 820px;
  }
  .hero-stage {
    height: 630px;
  }
}
@media (max-width: 1023px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    min-height: 650px;
    padding-top: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: clamp(4.4rem, 10vw, 6rem);
  }
  .hero-stage {
    height: 470px;
  }
  .specimen {
    inset: 30px 0 45px 4%;
  }
  .intro {
    max-width: 320px;
    font-size: 0.88rem;
  }
  .hero-copy .actions {
    gap: 20px;
  }
  .research-section,
  .about-section {
    gap: 50px;
  }
  .research-section {
    padding-block: 110px;
  }
  .paper-sheet {
    padding: 25px;
  }
  .vexa-heading {
    gap: 35px;
  }
  .vexa-overview {
    gap: 50px;
  }
  .site-footer > div {
    gap: 14px;
  }
  .specimen-caption {
    font-size: 0.65rem;
  }
  .power-control {
    bottom: -32px;
    right: 0;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 30px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 70px;
    margin-top: 4px;
    gap: 10px;
  }
  .brand {
    font-size: 1.65rem;
  }
  .brand span {
    font-size: 1.4rem;
  }
  .nav {
    gap: 15px;
    padding: 9px 15px;
    font-size: 0.68rem;
  }
  .theme-toggle {
    font-size: 0.65rem;
    padding: 8px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 65px;
    gap: 40px;
    min-height: auto;
  }
  .hero:before {
    inset: 30% -20px 0 0;
  }
  .hero h1 {
    font-size: clamp(4.8rem, 15vw, 7rem);
    margin-block: 22px;
  }
  .intro {
    max-width: 400px;
    font-size: 0.9rem;
  }
  .hero-stage {
    height: 480px;
    width: min(460px, 100%);
    margin-inline: auto;
  }
  .specimen {
    inset: 0 8% 45px 8%;
  }
  .orbit-one {
    inset: 30px 2% 50px;
  }
  .orbit-two {
    inset: -15px 12% 10px 2%;
  }
  .specimen-caption {
    bottom: 0;
    font-size: 0.7rem;
  }
  .power-control {
    bottom: 0;
  }
  .hero-copy .actions {
    gap: 25px;
  }
  .work-section {
    padding-top: 60px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .project-image img {
    aspect-ratio: 4/3;
    object-position: 53%;
  }
  .project-copy {
    padding: 28px 25px;
  }
  .project h3 {
    font-size: 3.5rem;
  }
  .project-bottom {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .project-copy > p {
    font-size: 0.9rem;
  }
  .research-section {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 90px;
  }
  .paper-art {
    width: min(330px, 88%);
    margin-inline: auto;
    order: 2;
  }
  .research-copy h2,
  .about-copy h2 {
    font-size: clamp(2.6rem, 8vw, 3.6rem);
  }
  .paper-sheet strong {
    font-size: 3rem;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 65px 75px;
  }
  .dice-toy {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }
  .closing {
    padding-bottom: 35px;
    font-size: 13vw;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 25px;
  }
  .site-footer > div {
    width: 100%;
    gap: 25px;
  }
  .site-footer p {
    text-align: right;
  }
  .vexa-hero {
    padding-top: 25px;
  }
  .back {
    margin-bottom: 38px;
  }
  .vexa-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  .vexa-heading h1 {
    font-size: clamp(3.8rem, 13vw, 6rem);
  }
  .vexa-cover img {
    aspect-ratio: 4/3;
    object-position: 55%;
  }
  .vexa-overview {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 75px;
  }
  .systems-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .system-card p {
    max-width: 55ch;
  }
  .release-section {
    padding-block: 75px;
  }
  .release-note {
    padding: 30px 25px;
  }
  .release-note .actions {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .faq-section {
    padding-bottom: 75px;
  }
  .faq-section .section-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 374px) {
  .hero:before {
    right: -16px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .nav {
    gap: 11px;
    padding-inline: 12px;
  }
  .nav a:last-child {
    font-size: 0;
  }
  .nav a:last-child span {
    font-size: 1rem;
  }
  .theme-toggle {
    padding-inline: 9px;
  }
  .hero-stage {
    height: 400px;
  }
  .hero h1 {
    font-size: 4.6rem;
  }
  .power-control {
    padding-right: 12px;
    font-size: 0.65rem;
  }
  .power-symbol {
    width: 28px;
    height: 28px;
  }
  .specimen-caption {
    font-size: 0.65rem;
  }
  .eyebrow {
    font-size: 0.62rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  .hero-stage:hover .specimen,
  .hero-stage:hover .specimen img {
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav,
  .power-control {
    background: var(--surface);
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  :root {
    --muted: var(--ink);
    --line: var(--ink);
  }
  .nav,
  .power-control {
    background: var(--bg);
    backdrop-filter: none;
  }
  .eyebrow {
    letter-spacing: 0.1em;
  }
}
/* Author guide and Vexa worldview share the site's type and theme tokens. */
.philosophy-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  padding-block: 30px 120px;
}
.philosophy-intro h2 {
  margin-block: 24px;
  font-size: clamp(2.6rem, 4.5vw, 4.3rem);
}
.philosophy-intro > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 28px;
}
.philosophy-principles article {
  border-top: 1px solid var(--line);
  padding-block: 24px 30px;
}
.philosophy-principles h3 {
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.philosophy-principles p {
  font-size: 0.93rem;
  color: var(--muted);
}
.guide-hero {
  padding-block: 45px 75px;
}
.guide-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  margin-block: 24px 28px;
}
.guide-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 57ch;
}
.guide-hero .actions {
  margin-top: 30px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  padding-bottom: 100px;
}
.guide-sidebar {
  position: sticky;
  top: 110px;
  font-size: 0.85rem;
}
.guide-sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.guide-sidebar nav p {
  margin-bottom: 12px;
  color: var(--accent);
}
.guide-sidebar nav a {
  padding-block: 10px;
  color: var(--muted);
}
.guide-sidebar nav a:hover {
  color: var(--link);
}
.guide-world-link {
  display: inline-block;
  margin: 25px 0 0 22px;
}
.guide-content {
  min-width: 0;
}
.guide-content section + section {
  margin-top: 65px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.guide-content h2 {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.guide-content h3 {
  font-size: 1.45rem;
  margin-block: 30px 18px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.guide-content p {
  color: var(--muted);
  max-width: 65ch;
}
.guide-content p + p {
  margin-top: 20px;
}
.guide-content p + .text-link {
  display: inline-block;
  margin-top: 22px;
}
.guide-content code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.guide-note {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin-top: 30px;
  font-size: 0.88rem;
}
.guide-note p {
  margin-top: 10px;
}
.guide-levels,
.guide-annotations {
  margin: 25px 0;
}
.guide-levels > div {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.guide-levels dt {
  color: var(--link);
  font-size: 1.65rem;
  line-height: 1.3;
}
.guide-levels dt span {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 5px;
}
.guide-levels dd,
.guide-annotations dd {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.guide-code {
  margin-block: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.guide-code figcaption {
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--link);
  font-size: 0.78rem;
}
.guide-code pre {
  padding: 24px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  tab-size: 2;
}
.guide-annotations > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding-block: 14px;
}
.guide-annotations dd {
  margin: 0;
}
.guide-details {
  margin-top: 28px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.guide-details summary {
  cursor: pointer;
  line-height: 1.5;
}
.guide-details p {
  margin-top: 18px;
  font-size: 0.93rem;
}
.guide-steps {
  padding-left: 24px;
  color: var(--muted);
}
.guide-steps li {
  margin-block: 20px;
  padding-left: 8px;
}
.guide-steps strong {
  color: var(--ink);
}
.guide-next {
  padding-top: 18px;
}
.guide-next .button {
  margin: 25px 20px 20px 0;
}
.guide-next .text-link {
  display: inline-block;
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 35px;
  }
  .philosophy-section {
    gap: 45px;
  }
}
@media (max-width: 767px) {
  .guide-hero {
    padding-block: 30px 45px;
  }
  .guide-hero .back {
    margin-bottom: 35px;
  }
  .guide-lede {
    font-size: 1rem;
  }
  .guide-layout,
  .philosophy-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .guide-sidebar {
    position: static;
  }
  .guide-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
  }
  .guide-sidebar nav p {
    grid-column: 1 / -1;
  }
  .guide-content section + section {
    margin-top: 42px;
    padding-top: 35px;
  }
  .guide-code pre {
    padding: 18px;
    font-size: 0.83rem;
  }
  .guide-code figcaption {
    padding-inline: 18px;
  }
  .guide-annotations > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .philosophy-section {
    padding-block: 10px 65px;
  }
}
/* The specimen rings may cross their stage, but never widen the viewport. */
body {
  overflow-x: clip;
}
.nav {
  padding-block: 3px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
}
.notfound {
  min-height: 85dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
}
.notfound h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}
.notfound p {
  color: var(--muted);
}
@media (max-width: 767px) {
  .nav {
    padding-block: 1px;
  }
  .hero-stage {
    overflow: clip;
    overflow-clip-margin: 15px;
  }
  .power-control {
    bottom: 8px;
  }
  .specimen-caption {
    bottom: 8px;
  }
}

/* Each Vexa scene gets a crop suited to its placement. */
.feature-project .project-image img {
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: contain;
  transform: none;
}
.vexa-cover img {
  aspect-ratio: 16 / 9;
  object-position: 45% 40%;
}
.vexa-life {
  margin-top: 38px;
  max-width: 400px;
}
.vexa-life img {
  border-radius: 24px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.vexa-life figcaption {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 600px) {
  .vexa-cover img {
    aspect-ratio: 4 / 3;
    object-position: 30% 40%;
  }
}
