:root {
  --bg: #050608;
  --bg-2: #0a0d10;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f4f6f2;
  --muted: #a8afaa;
  --quiet: #6f7773;
  --cyan: #4bd7c5;
  --emerald: #69d586;
  --amber: #f2b24c;
  --max: 1400px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "JetBrains Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(75, 215, 197, 0.13), transparent 22rem),
    radial-gradient(circle at 16% 56%, rgba(242, 178, 76, 0.07), transparent 25rem),
    linear-gradient(180deg, var(--bg), #080b0e 45%, #050608 100%);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(rgba(255, 255, 255, 0.16) 0.7px, transparent 0.8px),
    radial-gradient(rgba(75, 215, 197, 0.18) 0.6px, transparent 0.7px);
  background-position: 0 0, 18px 24px;
  background-size: 42px 42px, 78px 78px;
  content: "";
  opacity: 0.45;
}

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

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

button {
  font: inherit;
}

.cosmos-canvas {
  position: fixed;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  background: #050608;
}

.cosmos-veil {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.28) 45%, rgba(5, 6, 8, 0.78)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.22), rgba(5, 6, 8, 0.84));
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(24px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.brand {
  display: inline-flex;
  gap: 3px;
  width: max-content;
  font-size: 1.72rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.brand span:last-child {
  color: var(--cyan);
}

.nav {
  display: flex;
  gap: clamp(28px, 5vw, 66px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 28px 0;
  transition: color 180ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--text);
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.language-toggle {
  justify-self: end;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.language-toggle button {
  min-width: 34px;
  border: 0;
  color: var(--quiet);
  background: transparent;
  cursor: pointer;
}

.language-toggle .is-active {
  color: var(--cyan);
}

.section {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(82px, 9vw, 134px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: 100vh;
  padding-top: 118px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(5rem, 8.4vw, 8.8rem);
  font-weight: 370;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1 span {
  font-size: clamp(4rem, 7vw, 7.25rem);
  font-weight: 290;
}

.hero-title {
  margin: 30px 0 0;
  color: var(--cyan);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero-summary {
  max-width: 590px;
  margin: 44px 0 0;
  color: var(--muted);
  font-size: clamp(1.22rem, 1.8vw, 1.58rem);
  line-height: 1.62;
}

.hero-copy-mode {
  display: block;
}

.hero-copy-playground {
  display: none;
}

.hero.is-playground-portal .hero-copy-spiral {
  display: none;
}

.hero.is-playground-portal .hero-copy-playground {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 46px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 205px;
  min-height: 58px;
  border: 1px solid var(--line);
  font-size: 0.98rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after,
.text-link::after,
.play-card a::after,
.email-link::after {
  margin-left: 12px;
  content: "↗";
}

.button.primary {
  border-color: rgba(75, 215, 197, 0.48);
  color: var(--cyan);
  background: rgba(75, 215, 197, 0.07);
}

.button.secondary {
  border-color: rgba(242, 178, 76, 0.48);
  color: var(--amber);
  background: rgba(242, 178, 76, 0.06);
}

.button:hover,
.text-link:hover,
.email-link:hover {
  transform: translateY(-2px);
}

.stellar-map {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stellar-map::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 49% 48%, rgba(75, 215, 197, 0.12), transparent 170px),
    radial-gradient(circle at 57% 54%, rgba(242, 178, 76, 0.08), transparent 150px),
    linear-gradient(90deg, transparent 0 78%, rgba(255, 255, 255, 0.025) 78% 100%);
  content: "";
}

.stellar-core {
  position: absolute;
  top: 350px;
  left: 48%;
  z-index: 3;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.76);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.stellar-core span {
  font-size: 2.2rem;
  font-weight: 280;
}

.orbit-ring {
  position: absolute;
  top: 350px;
  left: 48%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 238px;
  height: 238px;
  border-color: rgba(75, 215, 197, 0.22);
  animation: spin 22s linear infinite;
}

.ring-two {
  width: 374px;
  height: 374px;
  border-color: rgba(242, 178, 76, 0.18);
  animation: spin 34s linear reverse infinite;
}

.ring-three {
  width: 506px;
  height: 506px;
  border-style: dashed;
  animation: spin 52s linear infinite;
}

.stellar-node {
  position: absolute;
  z-index: 4;
  max-width: 250px;
  padding-left: 20px;
  border-left: 1px solid rgba(75, 215, 197, 0.58);
}

.stellar-node h2 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 650;
  text-transform: uppercase;
}

.stellar-node p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.node-materials {
  top: 96px;
  right: 118px;
}

.node-market {
  top: 318px;
  right: 28px;
  border-left-color: rgba(242, 178, 76, 0.58);
}

.node-market h2,
.node-pipeline h2 {
  color: var(--amber);
}

.node-global {
  bottom: 72px;
  left: 168px;
}

.node-pipeline {
  right: 16px;
  bottom: 122px;
  border-left-color: rgba(242, 178, 76, 0.58);
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading.compact {
  max-width: 830px;
}

.section-heading h2,
.education-copy h2,
.contact-statement h2 {
  margin: 0;
  font-size: clamp(2.9rem, 5.7vw, 5.8rem);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.education-copy p,
.contact-statement p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.82;
}

.split {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
}

.text-link {
  color: var(--cyan);
  transition: transform 180ms ease;
}

.orbit-section {
  position: relative;
}

.orbit-section::before {
  position: absolute;
  top: 210px;
  bottom: 90px;
  left: max(20px, calc((100vw - var(--max)) / 2 + 108px));
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(75, 215, 197, 0.5), rgba(242, 178, 76, 0.35), transparent);
  content: "";
}

.orbit-spine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.orbit-step {
  position: relative;
  min-height: 340px;
  padding: 36px 30px;
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent);
}

.orbit-step:last-child {
  border-right: 0;
}

.orbit-step::before {
  position: absolute;
  top: 44px;
  left: 30px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 20px rgba(75, 215, 197, 0.45);
  content: "";
}

.orbit-step span {
  display: block;
  margin-left: 30px;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.orbit-step:nth-child(2) span,
.orbit-step:nth-child(2) h3,
.orbit-step:nth-child(2)::before {
  color: var(--amber);
  border-color: var(--amber);
}

.orbit-step:nth-child(4) span,
.orbit-step:nth-child(4) h3,
.orbit-step:nth-child(4)::before {
  color: var(--emerald);
  border-color: var(--emerald);
}

.orbit-step h3 {
  margin: 86px 0 14px;
  color: var(--cyan);
  font-size: 1.42rem;
  font-weight: 540;
  line-height: 1.28;
}

.orbit-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.case-orbit {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.case-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.case-panel:hover {
  border-color: rgba(75, 215, 197, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.034));
  transform: translateY(-3px);
}

.case-panel.is-featured {
  grid-row: span 2;
  min-height: 878px;
}

.case-panel img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.82);
}

.case-panel.is-featured img {
  height: 470px;
}

.case-copy {
  padding: 32px 34px 28px;
}

.case-copy span {
  color: var(--cyan);
  font-size: 0.9rem;
}

.case-copy h3 {
  margin: 14px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.case-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.proof-cluster {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border: 1px solid rgba(105, 213, 134, 0.36);
  border-radius: 50%;
  color: var(--emerald);
  text-align: center;
  background: rgba(5, 6, 8, 0.62);
}

.proof-cluster strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
}

.proof-cluster span {
  max-width: 120px;
  color: var(--muted);
  font-size: 0.82rem;
}

.proof-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 34px 32px;
}

.proof-row b {
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 450;
}

.proof-row small {
  color: var(--muted);
}

.education {
  display: grid;
  grid-template-columns: 0.83fr 1fr;
  gap: 60px;
  align-items: center;
}

.education-copy dl {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
}

.education-copy dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.education-copy dt {
  color: var(--cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.education-copy dd {
  margin: 0;
}

.education-media {
  display: grid;
  gap: 18px;
}

.education-media img {
  width: 100%;
  aspect-ratio: 16 / 8.3;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.72) brightness(0.78);
}

.aside-line {
  max-width: 400px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.play-card {
  display: grid;
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.043);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.play-card:hover {
  border-color: rgba(105, 213, 134, 0.38);
  background: rgba(255, 255, 255, 0.066);
}

.play-card h3 {
  margin: 20px 0 10px;
  font-size: 1.35rem;
}

.play-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.play-card a {
  align-self: end;
  width: max-content;
  margin-top: 26px;
  color: var(--emerald);
}

.mini-preview {
  position: relative;
  height: 205px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #090d10;
}

.news-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 48px 12px 12px;
}

.news-preview span,
.copy-preview span,
.portfolio-preview span {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--text);
  font-size: 0.78rem;
}

.news-preview i {
  display: block;
  background:
    linear-gradient(180deg, rgba(75, 215, 197, 0.18), transparent),
    linear-gradient(135deg, #173136, #32404b);
}

.copy-preview {
  padding: 52px 18px 18px;
}

.copy-preview::before,
.copy-preview strong {
  display: block;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.copy-preview::before {
  height: 66px;
  content: "";
}

.copy-preview strong {
  margin-top: 18px;
  padding: 18px;
  font-size: 0.82rem;
  font-weight: 400;
}

.game-preview {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 4px;
  padding: 34px;
}

.game-preview b {
  display: block;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(75, 215, 197, 0.25);
}

.game-preview b:nth-child(2),
.game-preview b:nth-child(4) {
  background: var(--amber);
}

.game-preview b:nth-child(1) { grid-area: 5 / 2 / 6 / 3; }
.game-preview b:nth-child(2) { grid-area: 5 / 3 / 6 / 4; }
.game-preview b:nth-child(3) { grid-area: 5 / 4 / 6 / 5; }
.game-preview b:nth-child(4) { grid-area: 4 / 4 / 5 / 5; }
.game-preview b:nth-child(5) { grid-area: 3 / 5 / 4 / 6; }
.game-preview b:nth-child(6) { grid-area: 2 / 5 / 3 / 6; }

.portfolio-preview {
  background:
    radial-gradient(circle at 76% 50%, rgba(75, 215, 197, 0.16), transparent 68px),
    linear-gradient(135deg, #101315, #090b0c);
}

.portfolio-preview em {
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(75, 215, 197, 0.36);
  border-radius: 50%;
}

.portfolio-preview em::after {
  position: absolute;
  inset: 27px;
  border: 1px solid rgba(242, 178, 76, 0.34);
  border-radius: inherit;
  content: "";
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(75, 215, 197, 0.3);
  color: var(--cyan);
  transition: transform 180ms ease;
}

.wechat-qr {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  aspect-ratio: 1;
  padding: 18px;
  border: 1px solid var(--line-soft);
  background: #f5f7f3;
}

.wechat-qr span {
  display: block;
  background: #111513;
}

.wechat-qr span:nth-child(2n),
.wechat-qr span:nth-child(7),
.wechat-qr span:nth-child(13),
.wechat-qr span:nth-child(19),
.wechat-qr span:nth-child(23) {
  background: transparent;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

body.motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0.62;
  transform: translateY(16px);
}

body.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hero motion experiment 2026-07-29: removable cosmic depth layer. */
.hero-space-layers,
.hero-observatory .observatory-spiral-flow,
.hero-observatory .origin-motion-overlay {
  display: none;
}

.hero.section.hero-motion-enabled {
  --hero-space-x: 0px;
  --hero-space-y: 0px;
  --hero-depth-x: 0px;
  --hero-depth-y: 0px;
}

.hero-motion-enabled .stellar-map {
  background:
    radial-gradient(ellipse at 54% 44%, rgba(75, 215, 197, 0.045), transparent 38%),
    radial-gradient(ellipse at 51% 72%, rgba(242, 178, 76, 0.026), transparent 30%),
    linear-gradient(180deg, rgba(1, 4, 6, 0.42), rgba(3, 8, 10, 0.72));
  isolation: isolate;
}

.hero-motion-enabled .hero-space-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--hero-space-x), var(--hero-space-y), 0);
  animation: hero-space-arrive 1.2s ease-out forwards;
  will-change: transform, opacity;
}

.hero-motion-enabled .hero-nebula-layer,
.hero-motion-enabled .hero-star-depth {
  position: absolute;
  inset: 0;
  display: block;
  transform: translate3d(var(--hero-depth-x), var(--hero-depth-y), 0);
  will-change: transform, opacity;
}

.hero-motion-enabled .hero-nebula-layer-back {
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 58% 26%, rgba(142, 238, 222, 0.14), transparent 28%),
    radial-gradient(ellipse at 48% 62%, rgba(57, 118, 109, 0.16), transparent 34%),
    linear-gradient(115deg, transparent 14%, rgba(38, 97, 91, 0.08) 42%, transparent 71%);
  filter: blur(12px);
  animation: hero-nebula-drift-back 58s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-nebula-layer-mid {
  opacity: 0.24;
  background:
    radial-gradient(ellipse at 73% 44%, rgba(242, 178, 76, 0.11), transparent 24%),
    radial-gradient(ellipse at 42% 38%, rgba(75, 215, 197, 0.12), transparent 32%),
    linear-gradient(74deg, transparent 18%, rgba(108, 246, 222, 0.04) 50%, transparent 78%);
  filter: blur(8px);
  animation: hero-nebula-drift-mid 46s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-star-depth-near {
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(223, 252, 245, 0.78) 0 0.9px, transparent 1.15px),
    radial-gradient(circle, rgba(75, 215, 197, 0.62) 0 0.75px, transparent 1px),
    radial-gradient(circle, rgba(242, 178, 76, 0.45) 0 0.7px, transparent 1px);
  background-position: 12px 24px, 94px 68px, 168px 14px;
  background-size: 162px 138px, 221px 192px, 271px 229px;
  animation: hero-stars-drift-near 38s linear infinite;
}

.hero-motion-enabled .hero-star-depth-far {
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(223, 252, 245, 0.46) 0 0.65px, transparent 0.95px),
    radial-gradient(circle, rgba(75, 215, 197, 0.34) 0 0.55px, transparent 0.8px);
  background-position: 60px 42px, 10px 88px;
  background-size: 118px 108px, 182px 156px;
  animation: hero-stars-drift-far 72s linear infinite;
}

.hero-motion-enabled .hero-observatory {
  z-index: 2;
}

.hero-motion-enabled .hero-observatory .observatory-grid {
  opacity: 0.54;
}

.hero-motion-enabled .hero-observatory .observatory-axis .axis-glow {
  stroke: rgba(142, 238, 222, 0.28) !important;
  stroke-width: 1px !important;
  filter: url("#observatory-glow-soft") !important;
  animation:
    hero-axis-light-in 0.9s ease-out 0.5s both,
    hero-axis-breathe 10.5s ease-in-out 1.7s infinite !important;
}

.hero-motion-enabled .hero-observatory .observatory-axis > path:not(.axis-glow),
.hero-motion-enabled .hero-observatory .observatory-axis circle,
.hero-motion-enabled .hero-observatory .observatory-axis .axis-arrow {
  animation: hero-axis-light-in 0.9s ease-out 0.5s both;
}

.hero-motion-enabled .hero-observatory .observatory-rings {
  transform-box: fill-box;
  transform-origin: 50% 51%;
  animation: hero-orbit-field-sway 28s ease-in-out infinite;
  will-change: transform;
}

.hero-motion-enabled .hero-observatory .observatory-ring {
  filter: drop-shadow(0 0 2px rgba(75, 215, 197, 0.08));
}

.hero-motion-enabled .hero-observatory .observatory-spiral-glow {
  display: block !important;
  stroke: rgba(142, 238, 222, 0.24) !important;
  stroke-width: 2.2px !important;
  stroke-linecap: round;
  opacity: 0.2 !important;
  filter: url("#observatory-glow-soft") !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral {
  stroke: rgba(222, 249, 244, 0.76) !important;
  stroke-width: 0.72px !important;
  stroke-linecap: round;
  stroke-dasharray: 1 !important;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 2px rgba(142, 238, 222, 0.18)) !important;
  animation: hero-spiral-draw 1.45s cubic-bezier(0.22, 0.74, 0.24, 1) 1s forwards !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral-flow {
  display: block;
  fill: none;
  stroke: rgba(191, 255, 244, 0.78);
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-dasharray: 0.008 0.058;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: url("#observatory-glow-soft");
  animation:
    hero-spiral-flow-arrive 0.8s ease-out 2.05s forwards,
    hero-spiral-flow 32s linear 2.05s infinite;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-halo {
  opacity: 0;
  animation: hero-nexus-arrive 0.75s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-core {
  opacity: 0;
  animation:
    hero-nexus-arrive 0.75s cubic-bezier(0.2, 0.8, 0.25, 1) both,
    hero-nexus-breathe 7.6s ease-in-out 2.6s infinite !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(1),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(2) {
  animation-delay: 1.5s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(3),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(4) {
  animation-delay: 1.72s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(5),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(6) {
  animation-delay: 1.94s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(7),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(8) {
  animation-delay: 2.16s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .observatory-origin {
  animation: hero-earth-float 9.5s ease-in-out infinite;
  transform-box: view-box;
  transform-origin: 430px 618px;
  will-change: transform;
}

.hero-motion-enabled .hero-observatory .origin-motion-overlay {
  display: block;
  pointer-events: none;
}

.hero-motion-enabled .hero-observatory .origin-nebula {
  opacity: 0.3 !important;
  filter: url("#observatory-glow-soft") !important;
  animation: hero-earth-halo-breathe 8.5s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring {
  fill: none;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring-outer {
  stroke: rgba(75, 215, 197, 0.28);
  stroke-width: 0.5px;
  stroke-dasharray: 1 6;
  opacity: 0.42;
  animation: hero-earth-halo-ring 16s ease-in-out infinite;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring-inner {
  stroke: rgba(223, 252, 245, 0.22);
  stroke-width: 0.4px;
  opacity: 0.34;
  animation: hero-earth-halo-ring 13s ease-in-out -5s infinite reverse;
}

.hero-motion-enabled .hero-observatory .origin-light-latitudes {
  fill: none;
  stroke: rgba(182, 246, 230, 0.22);
  stroke-width: 0.36px;
  opacity: 0.62;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-earth-lines-drift 19s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-observatory .origin-ring-particle {
  opacity: 0.7;
  filter: url("#observatory-glow-soft");
}

.hero-motion-enabled .hero-observatory .particle-cyan {
  fill: rgba(75, 215, 197, 0.9);
}

.hero-motion-enabled .hero-observatory .particle-white {
  fill: rgba(223, 252, 245, 0.76);
}

.hero-motion-enabled .hero-observatory .particle-amber {
  fill: rgba(242, 178, 76, 0.78);
}

.hero-motion-enabled .hero-observatory .observatory-orbit-points .orbit-glint {
  animation: hero-orbit-glint-breathe 8.4s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-copy {
  animation: hero-copy-calm-in 0.9s ease-out 2.5s both;
}

@keyframes hero-space-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-nebula-drift-back {
  from {
    transform: translate3d(-1.2%, -0.8%, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.6%, 1.1%, 0) scale(1.06);
  }
}

@keyframes hero-nebula-drift-mid {
  from {
    transform: translate3d(1.1%, 0.6%, 0) scale(1.03);
  }
  to {
    transform: translate3d(-1.8%, -0.9%, 0) scale(1.08);
  }
}

@keyframes hero-stars-drift-near {
  from {
    background-position: 12px 24px, 94px 68px, 168px 14px;
  }
  to {
    background-position: 174px 162px, 315px 260px, 439px 243px;
  }
}

@keyframes hero-stars-drift-far {
  from {
    background-position: 60px 42px, 10px 88px;
  }
  to {
    background-position: 178px 150px, 192px 244px;
  }
}

@keyframes hero-axis-light-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-axis-breathe {
  0%,
  100% {
    opacity: 0.44;
  }
  50% {
    opacity: 0.78;
  }
}

@keyframes hero-orbit-field-sway {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(1.5px, -1.8px, 0) rotate(0.18deg);
  }
}

@keyframes hero-spiral-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes hero-spiral-flow-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.62;
  }
}

@keyframes hero-spiral-flow {
  to {
    stroke-dashoffset: -1;
  }
}

@keyframes hero-nexus-arrive {
  from {
    opacity: 0;
    transform: scale(0.42);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-nexus-breathe {
  0%,
  100% {
    opacity: 0.66;
  }
  50% {
    opacity: 1;
  }
}

@keyframes hero-earth-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3.2px);
  }
}

@keyframes hero-earth-halo-breathe {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.99);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.025);
  }
}

@keyframes hero-earth-halo-ring {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.48;
    transform: scale(1.035);
  }
}

@keyframes hero-earth-lines-drift {
  from {
    transform: translate3d(-1px, 0, 0) skewX(-1deg);
  }
  to {
    transform: translate3d(1px, -0.5px, 0) skewX(1deg);
  }
}

@keyframes hero-orbit-glint-breathe {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.82;
  }
}

@keyframes hero-copy-calm-in {
  from {
    opacity: 0;
    transform: translate3d(-8px, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-space-layers,
  .hero-observatory .observatory-spiral-flow,
  .hero-observatory .origin-motion-overlay {
    display: none !important;
  }

  .hero-motion-enabled .hero-observatory *,
  .hero-motion-enabled .hero-copy {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .hero-motion-enabled .stellar-map {
    overflow: hidden !important;
    contain: paint;
  }
}

/* Hero alignment pass: keep the axis and fixed spiral nodes present at first paint. */
.hero-motion-enabled .hero-observatory .observatory-axis .axis-glow {
  animation: hero-axis-breathe 10.5s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-observatory .observatory-axis > path:not(.axis-glow),
.hero-motion-enabled .hero-observatory .observatory-axis circle,
.hero-motion-enabled .hero-observatory .observatory-axis .axis-arrow {
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-halo {
  opacity: 0.48 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-core {
  opacity: 1 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle {
  animation-delay: 0s !important;
}

.hero-observatory .origin-nebula,
.hero-observatory .origin-motion-overlay,
.hero-observatory .origin-globe-wash,
.hero-observatory .origin-globe-outline,
.hero-observatory .origin-globe-native,
.hero-observatory .origin-globe-shell,
.hero-observatory .origin-continent-wash,
.hero-observatory .origin-point {
  display: none !important;
}

/* Hero alignment pass: keep the axis and fixed spiral nodes present at first paint. */
.hero-motion-enabled .hero-observatory .observatory-axis .axis-glow {
  animation: hero-axis-breathe 10.5s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-observatory .observatory-axis > path:not(.axis-glow),
.hero-motion-enabled .hero-observatory .observatory-axis circle,
.hero-motion-enabled .hero-observatory .observatory-axis .axis-arrow {
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-halo {
  opacity: 0.48 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-core {
  opacity: 1 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle {
  animation-delay: 0s !important;
}

@media (max-width: 760px) {
  .hero-motion-enabled .stellar-map {
    overflow: hidden !important;
    contain: paint;
  }
}

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

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

@media (max-width: 1180px) {
  .hero,
  .education,
  .contact {
    grid-template-columns: 1fr;
  }

  .stellar-map {
    min-height: 560px;
  }

  .case-orbit {
    grid-template-columns: 1fr;
  }

  .case-panel.is-featured {
    min-height: 680px;
  }

  .orbit-spine,
  .project-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    height: 66px;
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .section {
    width: min(100vw - 28px, var(--max));
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-copy h1 {
    font-size: clamp(3.9rem, 16vw, 4.8rem);
  }

  .hero-copy h1 span {
    font-size: clamp(3.1rem, 14vw, 4.1rem);
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-actions,
  .split {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stellar-map {
    min-height: 650px;
    border: 1px solid var(--line-soft);
  }

  .stellar-core {
    top: 335px;
    left: 50%;
  }

  .orbit-ring {
    top: 335px;
    left: 50%;
  }

  .ring-three {
    width: 410px;
    height: 410px;
  }

  .stellar-node {
    right: auto;
    left: 22px;
    max-width: calc(100% - 44px);
  }

  .node-materials { top: 28px; }
  .node-market { top: 122px; }
  .node-global { bottom: 116px; }
  .node-pipeline { bottom: 28px; }

  .orbit-section::before {
    display: none;
  }

  .orbit-spine,
  .project-shelf {
    grid-template-columns: 1fr;
  }

  .orbit-step {
    min-height: 265px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .orbit-step h3 {
    margin-top: 48px;
  }

  .case-panel,
  .case-panel.is-featured {
    min-height: auto;
  }

  .case-panel img,
  .case-panel.is-featured img {
    height: 230px;
  }

  .case-copy,
  .proof-row {
    padding-right: 24px;
    padding-left: 24px;
  }

  .proof-cluster {
    position: static;
    width: auto;
    height: auto;
    margin: 0 24px 24px;
    padding: 22px;
    border-radius: 0;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .education-copy dl div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact {
    gap: 36px;
  }
}

/* Fine-line observatory pass: quieter geometry, sharper points, denser origin. */
.observatory-axis path:first-child {
  stroke: rgba(75, 215, 197, 0.3);
  stroke-width: 0.65;
  stroke-dasharray: 1 9;
}

.observatory-axis .axis-ghost {
  stroke: rgba(75, 215, 197, 0.025);
  stroke-width: 0.65;
}

.observatory-axis circle {
  filter: url("#observatory-glow-soft");
}

.observatory-rings .observatory-ring {
  stroke-width: 0.55;
}

.ring-origin,
.ring-strategy,
.ring-agency {
  stroke-dasharray: 2 9;
}

.ring-translation {
  stroke-dasharray: 2 8;
}

.ring-origin-inner,
.ring-strategy-inner,
.ring-agency-inner,
.ring-translation-inner {
  stroke-dasharray: 1 7;
}

.observatory-spiral {
  stroke: rgba(220, 252, 245, 0.72);
  stroke-width: 1.05;
  filter: url("#observatory-glow-soft");
  stroke-dasharray: 4 10;
}

.observatory-orbit-points .orbit-glint {
  opacity: 0.38;
  filter: url("#observatory-glow-soft");
  transform-box: fill-box;
  transform-origin: center;
  animation: observatory-glint 5.8s ease-in-out infinite;
}

.observatory-orbit-points .orbit-glint:nth-child(3n) {
  animation-delay: -1.8s;
}

.observatory-orbit-points .orbit-glint:nth-child(4n) {
  animation-delay: -3.4s;
}

.glint-cyan {
  fill: rgba(111, 235, 218, 0.86);
}

.glint-amber {
  fill: rgba(248, 192, 94, 0.8);
}

.glint-white {
  fill: rgba(236, 255, 249, 0.72);
}

.origin-nebula {
  opacity: 0.72;
  filter: url("#observatory-glow-soft");
}

.origin-globe-wash {
  stroke-width: 0.65;
}

.origin-globe-shell {
  fill: url("#observatory-earth-dots");
  opacity: 0.62;
}

.origin-globe-lines path,
.origin-globe-lines ellipse {
  stroke: rgba(142, 238, 222, 0.28);
  stroke-width: 0.55;
}

.origin-continents path {
  fill: url("#observatory-earth-dots");
  opacity: 0.9;
}

.origin-globe-outline {
  stroke-width: 0.75;
  filter: url("#observatory-glow-soft");
}

.origin-point,
.stage-dot,
.horizon-core {
  filter: url("#observatory-glow-soft");
}

.stage-dot {
  r: 2.6px;
}

.stage-rule {
  stroke-width: 0.65;
}

.rule-cyan {
  stroke: rgba(75, 215, 197, 0.52);
}

.rule-amber {
  stroke: rgba(242, 178, 76, 0.58);
}

.horizon-orbit,
.horizon-rule {
  stroke-width: 0.65;
}

@keyframes observatory-glint {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.55);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.hero-copy h1 {
  max-width: 600px;
  font-size: clamp(4.7rem, 7.6vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title {
  max-width: 560px;
  margin-top: 24px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 470px;
  margin-top: 34px;
  font-size: clamp(1.04rem, 1.35vw, 1.25rem);
  line-height: 1.72;
  letter-spacing: 0;
}

.hero-note {
  max-width: 430px;
  margin-top: 26px;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.hero-actions {
  margin-top: 40px;
  gap: 16px;
}

.hero-actions .button {
  min-width: 196px;
  min-height: 56px;
  font-size: 0.92rem;
}

/* Selected direction: Axis of Becoming / orbital observatory */
.hero-constellation,
.map-mobile-links {
  display: none !important;
}

.stellar-map {
  min-height: 760px;
  border-left-color: rgba(255, 255, 255, 0.12);
}

.hero-observatory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.observatory-mobile-links {
  display: none;
}

.hero-observatory text {
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.observatory-grid {
  opacity: 0.56;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.observatory-specks circle {
  fill: rgba(244, 246, 242, 0.36);
  animation: observatory-twinkle 5.2s ease-in-out infinite;
}

.observatory-specks circle:nth-child(2n) {
  fill: rgba(75, 215, 197, 0.5);
  animation-delay: -2.2s;
}

.observatory-axis path:first-child {
  fill: none;
  stroke: rgba(75, 215, 197, 0.62);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  animation: observatory-axis-pulse 5s ease-in-out infinite;
}

.observatory-axis .axis-ghost {
  fill: none;
  stroke: rgba(75, 215, 197, 0.08);
  stroke-width: 1;
}

.observatory-axis circle {
  fill: var(--cyan);
  filter: url("#observatory-glow");
}

.observatory-rings .observatory-ring {
  fill: none;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.ring-origin {
  stroke: rgba(75, 215, 197, 0.34);
  stroke-dasharray: 3 8;
  animation: observatory-ring-drift 32s linear infinite;
}

.ring-origin-inner {
  stroke: rgba(75, 215, 197, 0.2);
}

.ring-translation {
  stroke: rgba(242, 178, 76, 0.32);
  stroke-dasharray: 3 7;
  animation: observatory-ring-drift-reverse 38s linear infinite;
}

.ring-translation-inner {
  stroke: rgba(242, 178, 76, 0.2);
}

.ring-strategy {
  stroke: rgba(75, 215, 197, 0.32);
  stroke-dasharray: 3 8;
  animation: observatory-ring-drift 42s linear infinite;
}

.ring-strategy-inner {
  stroke: rgba(75, 215, 197, 0.19);
}

.ring-agency {
  stroke: rgba(75, 215, 197, 0.32);
  stroke-dasharray: 3 8;
  animation: observatory-ring-drift-reverse 34s linear infinite;
}

.ring-agency-inner {
  stroke: rgba(75, 215, 197, 0.19);
}

.observatory-spiral {
  fill: none;
  stroke: rgba(220, 252, 245, 0.84);
  stroke-width: 1.65;
  stroke-linecap: round;
  filter: url("#observatory-glow");
  stroke-dasharray: 6 9;
  animation: observatory-spiral-flow 12s linear infinite;
}

.observatory-origin circle:first-child {
  opacity: 0.8;
}

.origin-globe-line,
.origin-lattice {
  fill: none;
  stroke: rgba(75, 215, 197, 0.52);
  stroke-width: 0.9;
  stroke-linecap: round;
}

.origin-lattice {
  stroke: rgba(242, 178, 76, 0.58);
  stroke-dasharray: 2 4;
}

.origin-point {
  fill: var(--amber);
  filter: url("#observatory-glow");
}

.stage-dot {
  filter: url("#observatory-glow");
  animation: observatory-stage-pulse 4.6s ease-in-out infinite;
}

.dot-cyan {
  fill: var(--cyan);
}

.dot-amber {
  fill: var(--amber);
}

.observatory-stage {
  cursor: pointer;
  outline: none;
}

.observatory-hit {
  fill: transparent;
  pointer-events: all;
  stroke: transparent;
  transition: fill 180ms ease, stroke 180ms ease;
}

.observatory-stage:hover .observatory-hit,
.observatory-stage:focus-visible .observatory-hit {
  fill: rgba(255, 255, 255, 0.012);
  stroke: rgba(75, 215, 197, 0.09);
}

.stage-rule {
  fill: none;
  stroke-width: 1;
}

.rule-cyan {
  stroke: rgba(75, 215, 197, 0.65);
}

.rule-amber {
  stroke: rgba(242, 178, 76, 0.72);
}

.stage-number {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.number-cyan,
.label-cyan {
  fill: var(--cyan);
}

.number-amber,
.label-amber {
  fill: var(--amber);
}

.stage-label {
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.055em;
}

.stage-copy {
  fill: rgba(201, 211, 207, 0.72);
  font-size: 11.5px;
  font-weight: 400;
}

.stage-open {
  fill: rgba(75, 215, 197, 0.84);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.open-amber {
  fill: rgba(242, 178, 76, 0.9);
}

.observatory-horizon {
  cursor: pointer;
}

.horizon-trail {
  fill: none;
  stroke: rgba(75, 215, 197, 0.42);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.horizon-orbit {
  fill: none;
  stroke: rgba(75, 215, 197, 0.54);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  animation: none;
}

.horizon-core {
  fill: var(--cyan);
  filter: url("#observatory-glow");
}

.horizon-rule {
  stroke: rgba(75, 215, 197, 0.48);
  stroke-width: 1;
}

.horizon-label {
  fill: var(--cyan);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.horizon-copy {
  fill: rgba(201, 211, 207, 0.66);
  font-size: 10.5px;
}

.observatory-note circle,
.observatory-note path {
  fill: none;
  stroke: rgba(75, 215, 197, 0.7);
  stroke-width: 1;
}

.observatory-note circle {
  fill: var(--bg);
}

.observatory-note text {
  fill: rgba(75, 215, 197, 0.72);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

@keyframes observatory-twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.9; }
}

@keyframes observatory-axis-pulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.92; }
}

@keyframes observatory-ring-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes observatory-ring-drift-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes observatory-spiral-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -90; }
}

@keyframes observatory-stage-pulse {
  0%, 100% { opacity: 0.56; transform: scale(0.82); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.24); transform-origin: center; }
}

@media (max-width: 760px) {
  .stellar-map {
    min-height: 790px;
  }

  .hero-observatory {
    top: 0;
    left: 50%;
    width: 860px;
    height: 760px;
    max-width: none;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
  }

  .hero-observatory .stage-number,
  .hero-observatory .stage-label,
  .hero-observatory .stage-copy,
  .hero-observatory .stage-open,
  .hero-observatory .horizon-label,
  .hero-observatory .horizon-copy,
  .hero-observatory .horizon-rule,
  .hero-observatory .observatory-note {
    display: none;
  }

  .observatory-mobile-links {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 6;
    display: grid;
    gap: 8px;
  }

  .observatory-mobile-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 14px;
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    background: rgba(5, 6, 8, 0.82);
  }

  .observatory-mobile-links span {
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.06em;
  }

  .observatory-mobile-links a:nth-child(2) span {
    color: var(--amber);
  }

  .observatory-mobile-links small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .observatory-mobile-links b {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-observatory *,
  .observatory-specks circle {
    animation: none !important;
  }
}

.hero-copy h1 {
  max-width: 570px;
  font-size: clamp(4.6rem, 6vw, 7.25rem);
  line-height: 0.98;
}

.hero-copy h1 span {
  font-size: inherit;
  font-weight: inherit;
}

.hero-title {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  line-height: 1.2;
}

.hero-summary {
  max-width: 490px;
  margin-top: 38px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.78;
}

.hero-note {
  max-width: 380px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(75, 215, 197, 0.7);
  color: rgba(75, 215, 197, 0.76);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(3.5rem, 15vw, 5rem);
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-summary {
    margin-top: 30px;
    font-size: 1.06rem;
  }
}

/* Final cascade for the selected observatory direction */
.stellar-map {
  min-height: 760px;
}

.hero-constellation,
.map-mobile-links {
  display: none !important;
}

@media (max-width: 760px) {
  .stellar-map {
    min-height: 790px !important;
  }

  .observatory-mobile-links {
    display: grid;
  }
}

.origin-nebula {
  fill: url("#observatory-globe");
  opacity: 0.95;
  filter: url("#observatory-glow");
}

.origin-globe-wash {
  fill: rgba(5, 20, 23, 0.48);
  stroke: rgba(75, 215, 197, 0.16);
  stroke-width: 1;
}

.origin-globe-shell {
  fill: url("#observatory-dots");
  opacity: 0.42;
}

.origin-globe-lines path,
.origin-globe-lines ellipse {
  fill: none;
  stroke: rgba(75, 215, 197, 0.38);
  stroke-width: 0.85;
  stroke-linecap: round;
}

.origin-continents path {
  fill: url("#observatory-dots");
  opacity: 0.96;
}

.origin-globe-outline {
  fill: none;
  stroke: rgba(142, 238, 222, 0.72);
  stroke-width: 1.15;
  filter: url("#observatory-glow");
}

@media (max-width: 760px) {
  .hero.section {
    display: grid;
    width: min(100vw - 28px, var(--max));
    min-height: auto;
    margin: 0 auto;
    padding-top: 112px;
    padding-bottom: 74px;
    overflow: visible;
  }

  .hero-copy {
    position: static;
    z-index: auto;
    width: auto;
  }

  .stellar-map {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: 790px;
    min-height: 790px !important;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    pointer-events: auto;
  }
}

/* Orbit correction: each stage stays level while its own planets circle 360 degrees. */
.observatory-axis path:first-child {
  stroke: rgba(105, 239, 222, 0.62) !important;
  stroke-width: 0.72 !important;
  stroke-dasharray: none !important;
}

.observatory-axis .axis-ghost {
  stroke: rgba(75, 215, 197, 0.045) !important;
  stroke-width: 0.45 !important;
}

.observatory-rings .observatory-ring {
  stroke-width: 0.55 !important;
  stroke-dasharray: none !important;
  animation: none !important;
  transform: none !important;
}

.ring-origin-inner,
.ring-translation-inner,
.ring-strategy-inner,
.ring-agency-inner {
  stroke-dasharray: 1 8 !important;
}

.ring-origin {
  stroke: rgba(75, 215, 197, 0.56) !important;
}

.ring-origin-inner {
  stroke: rgba(75, 215, 197, 0.3) !important;
}

.ring-translation {
  stroke: rgba(242, 178, 76, 0.54) !important;
}

.ring-translation-inner {
  stroke: rgba(242, 178, 76, 0.3) !important;
}

.ring-strategy {
  stroke: rgba(75, 215, 197, 0.52) !important;
}

.ring-strategy-inner {
  stroke: rgba(75, 215, 197, 0.29) !important;
}

.ring-agency {
  stroke: rgba(75, 215, 197, 0.52) !important;
}

.ring-agency-inner {
  stroke: rgba(75, 215, 197, 0.29) !important;
}

.observatory-spiral {
  stroke: rgba(220, 252, 245, 0.58) !important;
  stroke-width: 0.72 !important;
  filter: url("#observatory-glow-soft") !important;
  stroke-dasharray: 3 12 !important;
  animation-duration: 18s !important;
}

.observatory-orbit-points .orbit-glint {
  r: 2px !important;
  opacity: 0.72;
  filter: url("#observatory-glow-soft") !important;
  transform: none !important;
  animation: observatory-glint-breathe-visible 6.4s ease-in-out infinite !important;
}

.observatory-orbit-points .orbit-micro {
  r: 1.15px !important;
  opacity: 0.58;
}

.observatory-orbit-points .orbit-glint:nth-child(2n) {
  animation-delay: -2.1s !important;
}

.observatory-orbit-points .orbit-glint:nth-child(3n) {
  animation-delay: -3.7s !important;
}

.stage-rule,
.horizon-rule {
  stroke-width: 0.45;
}

.stage-dot {
  r: 1.7px !important;
  opacity: 0.78 !important;
  animation: none !important;
}

/* Reference alignment: layered orbital systems, numbered nodes, and depth cues. */
.hero-observatory .observatory-grid {
  opacity: 0.28 !important;
}

.hero-observatory .observatory-top-nebula {
  opacity: 0.9;
  filter: url("#observatory-glow-soft");
}

.hero-observatory .observatory-specks circle {
  animation-duration: 6.8s;
}

.hero-observatory .observatory-axis .axis-glow {
  fill: none;
  stroke: rgba(142, 238, 222, 0.22);
  stroke-width: 1.25;
  filter: url("#observatory-glow-soft");
}

.hero-observatory .observatory-axis .axis-arrow {
  fill: rgba(182, 246, 230, 0.94);
  stroke: none !important;
  filter: url("#observatory-glow-soft");
}

.hero-observatory .observatory-axis path:first-child {
  stroke: rgba(142, 238, 222, 0.76) !important;
  stroke-width: 0.72px !important;
}

.hero-observatory .observatory-rings .observatory-ring {
  vector-effect: non-scaling-stroke;
}

.hero-observatory .observatory-rings .ring-origin-ghost,
.hero-observatory .observatory-rings .ring-translation-ghost,
.hero-observatory .observatory-rings .ring-strategy-ghost,
.hero-observatory .observatory-rings .ring-agency-ghost {
  stroke-width: 0.45px !important;
  stroke-dasharray: 2 10 !important;
  animation: none !important;
}

.hero-observatory .ring-origin-ghost,
.hero-observatory .ring-strategy-ghost,
.hero-observatory .ring-agency-ghost {
  stroke: rgba(75, 215, 197, 0.15) !important;
}

.hero-observatory .ring-translation-ghost {
  stroke: rgba(242, 178, 76, 0.14) !important;
}

.hero-observatory .observatory-rings .ring-origin-far,
.hero-observatory .observatory-rings .ring-strategy-far,
.hero-observatory .observatory-rings .ring-agency-far {
  stroke: rgba(75, 215, 197, 0.12) !important;
  stroke-width: 0.4px !important;
  stroke-dasharray: 1 13 !important;
  animation: none !important;
}

.hero-observatory .observatory-rings .ring-translation-far {
  stroke: rgba(242, 178, 76, 0.11) !important;
  stroke-width: 0.4px !important;
  stroke-dasharray: 1 13 !important;
  animation: none !important;
}

.hero-observatory .observatory-rings .ring-origin-core,
.hero-observatory .observatory-rings .ring-strategy-core,
.hero-observatory .observatory-rings .ring-agency-core {
  stroke: rgba(75, 215, 197, 0.17) !important;
  stroke-width: 0.4px !important;
  stroke-dasharray: 1 8 !important;
  animation: none !important;
}

.hero-observatory .observatory-rings .ring-translation-core {
  stroke: rgba(242, 178, 76, 0.16) !important;
  stroke-width: 0.4px !important;
  stroke-dasharray: 1 8 !important;
  animation: none !important;
}

.hero-observatory .observatory-spiral-glow {
  fill: none;
  stroke: rgba(142, 238, 222, 0.18);
  stroke-width: 2.4px;
  stroke-linecap: round;
  filter: url("#observatory-glow-soft");
  opacity: 0.58;
}

.hero-observatory .observatory-spiral {
  stroke: rgba(220, 252, 245, 0.82) !important;
  stroke-width: 0.82px !important;
  stroke-linecap: round;
  stroke-dasharray: 1.5 8 !important;
  animation-duration: 20s !important;
}

.hero-observatory .origin-base-rings ellipse {
  fill: none;
  stroke: rgba(75, 215, 197, 0.14);
  stroke-width: 0.45;
  stroke-dasharray: 1 8;
}

.hero-observatory .origin-globe-shell {
  fill: url("#observatory-earth-grid-dots") !important;
  opacity: 0.82;
}

.hero-observatory .origin-continents path {
  fill: url("#observatory-land-dots") !important;
  opacity: 0.98;
}

.hero-observatory .origin-globe-lines path,
.hero-observatory .origin-globe-lines ellipse {
  stroke: rgba(142, 238, 222, 0.36);
}

.hero-observatory .stage-badge {
  fill: rgba(5, 10, 12, 0.72);
  stroke-width: 0.7;
}

.hero-observatory .badge-cyan {
  stroke: rgba(75, 215, 197, 0.72);
}

.hero-observatory .badge-amber {
  stroke: rgba(242, 178, 76, 0.78);
}

.hero-observatory .stage-number {
  text-anchor: middle;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-observatory .stage-label {
  font-size: 13px;
  letter-spacing: 0.065em;
}

@keyframes observatory-glint-breathe-visible {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 1;
  }
}

/* Final visual refinement: reference-grade line weight and light behavior. */
.observatory-axis path:first-child {
  stroke: rgba(75, 215, 197, 0.3);
  stroke-width: 0.65;
  stroke-dasharray: 1 9;
}

.observatory-axis .axis-ghost {
  stroke: rgba(75, 215, 197, 0.025);
  stroke-width: 0.65;
}

.observatory-axis circle {
  filter: url("#observatory-glow-soft");
}

.observatory-rings .observatory-ring {
  stroke-width: 0.55;
}

.ring-origin,
.ring-strategy,
.ring-agency {
  stroke-dasharray: 2 9;
}

.ring-translation {
  stroke-dasharray: 2 8;
}

.ring-origin-inner,
.ring-strategy-inner,
.ring-agency-inner,
.ring-translation-inner {
  stroke-dasharray: 1 7;
}

.observatory-spiral {
  stroke: rgba(220, 252, 245, 0.72);
  stroke-width: 1.05;
  filter: url("#observatory-glow-soft");
  stroke-dasharray: 4 10;
}

.observatory-orbit-points .orbit-glint {
  opacity: 0.38;
  filter: url("#observatory-glow-soft");
  transform-box: fill-box;
  transform-origin: center;
  animation: observatory-glint 5.8s ease-in-out infinite;
}

.observatory-orbit-points .orbit-glint:nth-child(3n) {
  animation-delay: -1.8s;
}

.observatory-orbit-points .orbit-glint:nth-child(4n) {
  animation-delay: -3.4s;
}

.glint-cyan {
  fill: rgba(111, 235, 218, 0.86);
}

.glint-amber {
  fill: rgba(248, 192, 94, 0.8);
}

.glint-white {
  fill: rgba(236, 255, 249, 0.72);
}

.origin-nebula {
  opacity: 0.72;
  filter: url("#observatory-glow-soft");
}

.origin-globe-wash {
  stroke-width: 0.65;
}

.origin-globe-shell {
  fill: url("#observatory-earth-dots");
  opacity: 0.62;
}

.origin-globe-lines path,
.origin-globe-lines ellipse {
  stroke: rgba(142, 238, 222, 0.28);
  stroke-width: 0.55;
}

.origin-continents path {
  fill: url("#observatory-earth-dots");
  opacity: 0.9;
}

.origin-globe-outline {
  stroke-width: 0.75;
  filter: url("#observatory-glow-soft");
}

.origin-point,
.stage-dot,
.horizon-core {
  filter: url("#observatory-glow-soft");
}

.stage-dot {
  r: 2.6px;
}

.stage-rule {
  stroke-width: 0.65;
}

.rule-cyan {
  stroke: rgba(75, 215, 197, 0.52);
}

.rule-amber {
  stroke: rgba(242, 178, 76, 0.58);
}

.horizon-orbit,
.horizon-rule {
  stroke-width: 0.65;
}

@keyframes observatory-glint {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.55);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@media (min-width: 761px) {
  .hero-copy h1 {
    max-width: 520px;
    font-size: clamp(4.15rem, 6.1vw, 6.3rem);
    font-weight: 300;
    line-height: 0.94;
    letter-spacing: 0;
  }

  .hero-title {
    max-width: 480px;
    margin-top: 20px;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: 0;
  }

  .hero-summary {
    max-width: 430px;
    margin-top: 27px;
    font-size: clamp(0.94rem, 1.15vw, 1.12rem);
    line-height: 1.65;
    letter-spacing: 0;
  }

  .hero-note {
    max-width: 390px;
    margin-top: 20px;
    font-size: 0.72rem;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .hero-actions {
    margin-top: 32px;
    gap: 14px;
  }

  .hero-actions .button {
    min-width: 196px;
    min-height: 54px;
    font-size: 0.88rem;
  }
}

/* Orbit correction: each stage stays level while its own planets circle 360 degrees. */
.observatory-axis path:first-child {
  stroke: rgba(75, 215, 197, 0.24);
  stroke-width: 0.45;
  stroke-dasharray: 1 11;
}

.observatory-axis .axis-ghost {
  stroke: rgba(75, 215, 197, 0.018);
  stroke-width: 0.45;
}

.observatory-rings .observatory-ring {
  stroke-width: 0.4;
  stroke-dasharray: 1 10;
  animation: none;
  transform: none;
}

.ring-origin-inner,
.ring-translation-inner,
.ring-strategy-inner,
.ring-agency-inner {
  stroke-dasharray: 1 8;
}

.observatory-spiral {
  stroke: rgba(220, 252, 245, 0.58);
  stroke-width: 0.72;
  filter: url("#observatory-glow-soft");
  stroke-dasharray: 3 12;
  animation-duration: 18s;
}

.observatory-orbit-points .orbit-glint {
  opacity: 0.34;
  filter: url("#observatory-glow-soft");
  transform: none;
  animation: observatory-glint-breathe 6.4s ease-in-out infinite;
}

.observatory-orbit-points .orbit-glint:nth-child(2n) {
  animation-delay: -2.1s;
}

.observatory-orbit-points .orbit-glint:nth-child(3n) {
  animation-delay: -3.7s;
}

.stage-rule,
.horizon-rule {
  stroke-width: 0.45;
}

@keyframes observatory-glint-breathe {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 0.92;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .hero-observatory {
    transform: translateX(-80px);
  }
}

/* Visual-spec alignment pass: Hero / Career Arc / Playground */
@media (min-width: 1181px) {
  .section {
    width: min(var(--max), calc(100vw - 96px));
  }

  .hero {
    grid-template-columns: minmax(480px, 0.86fr) minmax(640px, 1.14fr);
    gap: 70px;
  }
}

.stellar-map {
  min-height: 700px;
}

.map-links {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-links path {
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
  filter: drop-shadow(0 0 5px rgba(75, 215, 197, 0.18));
}

.map-links circle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 7px rgba(75, 215, 197, 0.55));
}

.map-links .link-cyan {
  stroke: rgba(75, 215, 197, 0.66);
}

.map-links .link-amber {
  stroke: rgba(242, 178, 76, 0.68);
}

.map-links .thin {
  opacity: 0.5;
}

.constellation-cluster,
.radar-cluster,
.pipeline-cluster,
.earth-globe,
.side-code {
  position: absolute;
  z-index: 2;
}

.constellation-cluster {
  top: 58px;
  left: 74px;
  width: 188px;
  height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.constellation-cluster::before,
.constellation-cluster::after {
  position: absolute;
  background: rgba(75, 215, 197, 0.44);
  content: "";
  transform-origin: left center;
}

.constellation-cluster::before {
  top: 62px;
  left: 48px;
  width: 98px;
  height: 1px;
  transform: rotate(24deg);
}

.constellation-cluster::after {
  top: 100px;
  left: 56px;
  width: 96px;
  height: 1px;
  transform: rotate(-35deg);
}

.constellation-cluster i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(75, 215, 197, 0.4);
}

.constellation-cluster i:nth-child(1) { top: 54px; left: 56px; }
.constellation-cluster i:nth-child(2) { top: 42px; left: 96px; }
.constellation-cluster i:nth-child(3) { top: 62px; left: 135px; }
.constellation-cluster i:nth-child(4) { top: 90px; left: 96px; }
.constellation-cluster i:nth-child(5) { top: 128px; left: 116px; }
.constellation-cluster i:nth-child(6) { top: 98px; left: 38px; }
.constellation-cluster i:nth-child(7) { top: 28px; left: 122px; }
.constellation-cluster i:nth-child(8) { top: 108px; left: 152px; }

.radar-cluster {
  top: 226px;
  right: 74px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 14px, rgba(255, 255, 255, 0.12) 15px 16px),
    radial-gradient(circle, rgba(75, 215, 197, 0.12), transparent 58%);
}

.radar-cluster::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(75, 215, 197, 0.5);
  content: "";
  transform: translate(-50%, -50%);
}

.pipeline-cluster {
  right: 102px;
  bottom: 170px;
  display: grid;
  align-content: center;
  gap: 12px;
  width: 236px;
  height: 154px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow: hidden;
}

.pipeline-cluster::before {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 215, 197, 0.08), transparent 62%);
  content: "";
}

.pipeline-cluster i {
  position: relative;
  z-index: 1;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--cyan), transparent);
}

.pipeline-cluster i:nth-child(2) {
  transform: translateX(-36px);
}

.pipeline-cluster i:nth-child(3) {
  transform: translateX(28px);
}

.earth-globe {
  bottom: 86px;
  left: 56px;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(75, 215, 197, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(75, 215, 197, 0.23) 1px, transparent 1.6px),
    radial-gradient(circle at 42% 46%, rgba(75, 215, 197, 0.25), transparent 58%);
  background-size: 7px 7px, 100% 100%;
  mask-image: radial-gradient(circle, #000 62%, transparent 63%);
}

.side-code {
  right: 58px;
  bottom: 10px;
  z-index: 3;
  width: 260px;
  margin: 0;
  padding: 16px 18px 16px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0.18));
  color: rgba(201, 211, 207, 0.7);
  font: 0.76rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
}

.career-arc {
  width: min(1440px, calc(100vw - 72px));
  max-width: none;
  padding-top: 92px;
  padding-bottom: 48px;
}

/* Interactive constellation map */
.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-constellation text {
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.svg-map-grid {
  opacity: 0.52;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 85%, transparent);
}

.map-specks circle {
  fill: rgba(244, 246, 242, 0.36);
  animation: constellation-twinkle 4.8s ease-in-out infinite;
}

.map-specks circle:nth-child(2n) {
  fill: rgba(75, 215, 197, 0.48);
  animation-delay: -1.8s;
}

.map-orbits .orbit {
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
}

.orbit-cyan {
  stroke: rgba(75, 215, 197, 0.3);
  stroke-width: 1.2;
  animation: constellation-spin 28s linear infinite;
}

.orbit-amber {
  stroke: rgba(242, 178, 76, 0.24);
  stroke-width: 1.2;
  animation: constellation-spin-reverse 38s linear infinite;
}

.orbit-dashed {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation: constellation-spin 58s linear infinite;
}

.orbit-outer {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.orbit-tilted {
  stroke: rgba(75, 215, 197, 0.11);
  stroke-width: 1;
  stroke-dasharray: 2 10;
  animation: constellation-spin-reverse 44s linear infinite;
}

.map-connectors .connector {
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 2 0;
  animation: connector-breathe 5s ease-in-out infinite;
}

.connector-cyan {
  stroke: rgba(75, 215, 197, 0.72);
}

.connector-amber {
  stroke: rgba(242, 178, 76, 0.72);
}

.connector-dot {
  fill: var(--cyan);
  filter: url("#dot-glow");
  animation: connector-pulse 3.8s ease-in-out infinite;
}

.map-link {
  cursor: pointer;
  outline: none;
}

.map-hit {
  fill: transparent;
  stroke: transparent;
  transition: fill 180ms ease, stroke 180ms ease;
}

.map-link:hover .map-hit,
.map-link:focus-visible .map-hit {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(75, 215, 197, 0.3);
}

.core-halo {
  pointer-events: none;
  animation: core-breathe 5.5s ease-in-out infinite;
}

.core-disc {
  fill: rgba(5, 6, 8, 0.88);
}

.core-disc-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1;
}

.core-mark {
  fill: var(--text);
  font-size: 33px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.art-boundary,
.pipeline-boundary {
  fill: rgba(5, 6, 8, 0.18);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.art-stroke,
.globe-line {
  fill: none;
  stroke: rgba(75, 215, 197, 0.55);
  stroke-width: 1;
  stroke-linecap: round;
}

.art-dot {
  fill: var(--cyan);
  filter: url("#dot-glow");
  transition: r 180ms ease;
}

.amber-dot {
  fill: var(--amber);
}

.map-link:hover .art-dot,
.map-link:focus-visible .art-dot {
  r: 6;
}

.radar-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.17);
  stroke-width: 1;
}

.radar-core {
  fill: var(--cyan);
  filter: url("#dot-glow");
}

.radar-sweep {
  fill: none;
  stroke: rgba(75, 215, 197, 0.6);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: 704px 302px;
  animation: radar-scan 7s linear infinite;
}

.pipeline-line {
  fill: none;
  stroke: url("#amber-line");
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
  animation: pipeline-flow 5s linear infinite;
}

.label-rule {
  fill: none;
  stroke-width: 1;
}

.label-rule-cyan {
  stroke: rgba(75, 215, 197, 0.65);
}

.label-rule-amber {
  stroke: rgba(242, 178, 76, 0.65);
}

.map-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.label-cyan {
  fill: var(--cyan);
}

.label-amber {
  fill: var(--amber);
}

.map-copy {
  fill: rgba(201, 211, 207, 0.72);
  font-size: 12.5px;
  font-weight: 400;
}

.map-open {
  fill: rgba(244, 246, 242, 0.72);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-rule {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}

.code-copy {
  fill: rgba(201, 211, 207, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 12px;
}

.code-cyan {
  fill: var(--cyan);
}

.code-amber {
  fill: var(--amber);
}

.map-mobile-links {
  display: none;
}

@keyframes constellation-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes constellation-spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes constellation-twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.92; }
}

@keyframes connector-breathe {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.96; }
}

@keyframes connector-pulse {
  0%, 100% { opacity: 0.46; transform: scale(0.8); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.25); transform-origin: center; }
}

@keyframes core-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.94); transform-origin: 426px 382px; }
  50% { opacity: 1; transform: scale(1.04); transform-origin: 426px 382px; }
}

@keyframes radar-scan {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pipeline-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -42; }
}

@media (max-width: 760px) {
  .hero-constellation {
    top: 0;
    left: 50%;
    width: 860px;
    height: 760px;
    max-width: none;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
  }

  .stellar-map {
    min-height: 700px;
  }

  .hero-constellation .map-label,
  .hero-constellation .map-copy,
  .hero-constellation .map-open,
  .hero-constellation .code-copy,
  .hero-constellation .code-rule,
  .hero-constellation .label-rule {
    display: none;
  }

  .map-mobile-links {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 6;
    display: grid;
    gap: 8px;
  }

  .map-mobile-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 16px;
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    background: rgba(5, 6, 8, 0.78);
  }

  .map-mobile-links span {
    color: var(--cyan);
    font-size: 0.79rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .map-mobile-links a:nth-child(2n) span,
  .map-mobile-links a:nth-child(4n) span {
    color: var(--amber);
  }

  .map-mobile-links small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .map-mobile-links b {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-constellation *,
  .map-specks circle {
    animation: none !important;
  }
}

/* Hash-routed detail pages */
.detail-view[hidden] {
  display: none;
}

body.detail-active {
  overflow: hidden;
}

.detail-view {
  position: fixed;
  inset: 76px 0 0;
  z-index: 15;
  overflow-y: auto;
  background:
    radial-gradient(circle at 76% 20%, rgba(75, 215, 197, 0.09), transparent 24rem),
    linear-gradient(180deg, rgba(5, 6, 8, 0.98), rgba(8, 11, 14, 0.98));
}

.detail-view-inner {
  width: min(var(--max), calc(100vw - 96px));
  min-height: 100%;
  margin: 0 auto;
  padding: 54px 0 120px;
}

.detail-back {
  display: inline-flex;
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: transform 180ms ease;
}

.detail-back:hover {
  transform: translateX(-4px);
}

.detail-header {
  max-width: none;
  margin: 88px 0 64px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(36px, 8vw, 128px);
}

.detail-title-row h1 {
  flex: 1 1 auto;
  min-width: 0;
}

.detail-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-header h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 360;
  line-height: 0.98;
}

.detail-header p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.7;
}

.detail-title-row .detail-back.page-home-orbit {
  flex: 0 0 62px;
  margin: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}

.detail-meta {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 26px;
}

.detail-meta div {
  display: grid;
  gap: 7px;
}

.detail-meta span {
  color: var(--quiet);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-meta strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.detail-body {
  display: grid;
  gap: 48px;
}

.detail-block {
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.detail-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-block h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
}

.detail-block p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.detail-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.detail-proof {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.detail-proof strong {
  display: block;
  color: var(--amber);
  font-size: 2rem;
  font-weight: 450;
}

.detail-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.detail-media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.detail-media-section {
  margin-top: 8px;
}

.detail-media-title {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-media-row figure {
  margin: 0;
}

.detail-media-row img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.8) contrast(1.05);
}

.detail-media-row figcaption {
  margin-top: 9px;
  color: var(--quiet);
  font-size: 0.72rem;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
}

.detail-links a {
  color: var(--cyan);
  font-size: 0.88rem;
}

.detail-links a:hover {
  color: var(--text);
}

.detail-quote {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid var(--amber);
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 350;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .detail-view {
    inset: 66px 0 0;
  }

  .detail-view-inner {
    width: min(100% - 32px, var(--max));
    padding: 30px 0 76px;
  }

  .detail-header {
    margin: 62px 0 42px;
  }

  .detail-title-row {
    gap: 20px;
  }

  .detail-title-row .detail-back.page-home-orbit {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .detail-meta {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .detail-proof-grid,
  .detail-media-row {
    grid-template-columns: 1fr;
  }
}

.career-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(244, 246, 242, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.03em;
}

.career-header i {
  height: 1px;
  background: var(--line);
}

.career-arc .section-heading {
  margin-bottom: 26px;
}

.career-arc .section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 5vw, 5.2rem);
  font-weight: 430;
}

.career-arc .section-heading p {
  max-width: 640px;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.55;
}

.career-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
}

.career-timeline {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 14px;
  padding: 3px 0 3px 4px;
  isolation: isolate;
}

.career-timeline::before {
  position: absolute;
  top: 38px;
  bottom: 36px;
  left: 94px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(75, 215, 197, 0.58), rgba(242, 178, 76, 0.42), rgba(75, 215, 197, 0.5), transparent);
  content: "";
}

.career-timeline::after {
  display: none;
}

.career-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 74px 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: start;
  min-height: 125px;
  padding: 8px 10px 8px 0;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.career-timeline article::after {
  position: absolute;
  top: 7px;
  right: 8px;
  bottom: 7px;
  left: 0;
  z-index: -1;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(255, 255, 255, 0.035) 12% 13%, transparent 13% 100%),
    linear-gradient(90deg, transparent, rgba(75, 215, 197, 0.02));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.career-timeline span {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.career-timeline small {
  grid-column: 1;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
}

.career-timeline article::before {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(5, 6, 8, 0.9);
  font-family: var(--mono);
  font-size: 0.82rem;
  content: "</>";
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.career-timeline article:nth-child(2)::before {
  content: "↔";
}

.career-timeline article:nth-child(3)::before {
  content: "⌕";
}

.career-timeline article:nth-child(4)::before {
  content: "↗";
}

.career-timeline article:nth-child(2),
.career-timeline article:nth-child(2)::before {
  color: var(--amber);
}

.career-timeline article:nth-child(3),
.career-timeline article:nth-child(3)::before {
  color: var(--cyan);
}

.career-timeline article:nth-child(4)::before {
  color: var(--cyan);
}

.career-timeline b {
  grid-column: 1 / span 3;
  grid-row: 3;
  color: currentColor;
  font-size: 1rem;
  line-height: 1.25;
}

.career-timeline p {
  display: none;
}

.career-timeline article.is-active {
  background: linear-gradient(90deg, rgba(75, 215, 197, 0.035), transparent);
  transform: translateX(4px);
}

.career-timeline article.is-active::after {
  border-color: rgba(75, 215, 197, 0.22);
  box-shadow: 0 0 24px rgba(75, 215, 197, 0.08);
  opacity: 1;
}

.career-timeline article.is-active::before {
  background: rgba(5, 16, 16, 0.96);
  box-shadow: 0 0 22px rgba(75, 215, 197, 0.22);
  transform: scale(1.08);
}

.career-timeline article.is-active span,
.career-timeline article.is-active b {
  text-shadow: 0 0 18px currentColor;
}

.career-matrix {
  --career-film-width: 224px;
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
}

.career-matrix::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  width: var(--career-film-width);
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(75, 215, 197, 0.2) 9px 10px, rgba(2, 5, 6, 0.98) 10px 22px, rgba(75, 215, 197, 0.16) 22px 23px, transparent 23px 34px) 10px 0 / 12px 34px repeat-y,
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(75, 215, 197, 0.2) 9px 10px, rgba(2, 5, 6, 0.98) 10px 22px, rgba(75, 215, 197, 0.16) 22px 23px, transparent 23px 34px) calc(100% - 22px) 0 / 12px 34px repeat-y,
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0 31px, transparent 31px calc(100% - 31px), rgba(0, 0, 0, 0.72) calc(100% - 31px)),
    linear-gradient(90deg, rgba(75, 215, 197, 0.18) 0 1px, transparent 1px calc(100% - 1px), rgba(75, 215, 197, 0.18) calc(100% - 1px));
  box-shadow:
    inset 26px 0 18px rgba(0, 0, 0, 0.42),
    inset -26px 0 18px rgba(0, 0, 0, 0.42);
  content: "";
}

.career-matrix::after {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 33px;
  z-index: 4;
  width: calc(var(--career-film-width) - 66px);
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  pointer-events: none;
  content: "";
}

.career-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--career-film-width) minmax(0, 1fr) 164px;
  min-height: 0;
  height: clamp(148px, 14.8vh, 162px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.career-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--career-film-width);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(75, 215, 197, 0.018) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(3, 5, 7, 0.94), rgba(9, 15, 16, 0.64) 24%, rgba(9, 15, 16, 0.5) 76%, rgba(3, 5, 7, 0.94));
  content: "";
}

.career-row::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 180ms ease, transform 260ms ease;
}

.career-row:last-child {
  border-bottom: 0;
}

.career-row:hover {
  border-color: rgba(75, 215, 197, 0.32);
  background: linear-gradient(90deg, rgba(75, 215, 197, 0.07), rgba(255, 255, 255, 0.026));
  transform: translateX(4px);
}

.career-row:hover::after,
.career-row.is-active::after {
  opacity: 0.56;
  transform: translateX(18%);
}

.career-row.is-active {
  border-color: rgba(75, 215, 197, 0.32);
  background:
    linear-gradient(90deg, rgba(75, 215, 197, 0.075), rgba(232, 171, 64, 0.028), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 0 26px rgba(75, 215, 197, 0.06);
  transform: translateX(4px);
}

.career-row.is-active img,
.career-row.is-active .career-image-placeholder {
  filter: saturate(0.92) brightness(0.9) contrast(1.08);
}

.career-row.is-active .career-row-copy h3,
.career-row.is-active .career-proof strong {
  text-shadow: 0 0 18px rgba(244, 246, 242, 0.18);
}

.career-row img {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  width: calc(100% - 66px);
  height: calc(100% - 22px);
  margin: 11px 33px;
  max-height: 100%;
  min-height: 0;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.52),
    0 12px 22px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  filter: saturate(0.72) brightness(0.78) contrast(1.08);
}

.career-image-placeholder {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  width: calc(100% - 66px);
  height: calc(100% - 22px);
  margin: 11px 33px;
  min-height: 0;
  overflow: hidden;
  border: 1px dashed rgba(75, 215, 197, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.52),
    0 12px 22px rgba(0, 0, 0, 0.22);
  background:
    linear-gradient(135deg, rgba(75, 215, 197, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(232, 171, 64, 0.13), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.034) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px),
    rgba(6, 11, 13, 0.66);
}

.career-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(75, 215, 197, 0.32);
}

.career-image-placeholder span,
.career-image-placeholder strong {
  position: relative;
  z-index: 1;
  font-family: "SFMono-Regular", "Roboto Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-image-placeholder span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.career-image-placeholder strong {
  color: var(--cyan);
  font-size: 0.98rem;
  font-weight: 600;
  text-shadow: 0 0 18px rgba(75, 215, 197, 0.26);
}

.career-row:first-child img {
  object-position: 58% 62%;
}

.career-row:nth-child(2) img {
  object-position: 50% 48%;
}

.career-row:nth-child(4) img {
  object-position: 42% 50%;
}

.career-row-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 14px 24px 13px;
}

.career-row-copy h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.42vw, 1.42rem);
  font-weight: 400;
  line-height: 1.16;
}

.career-row-copy dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.career-row-copy dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
}

.career-row-copy dt {
  color: var(--cyan);
  font-size: 0.72rem;
}

.career-row-copy dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.32;
}

.career-proof {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 14px 20px;
  border-left: 1px solid var(--line-soft);
}

.career-proof strong {
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.34rem, 1.62vw, 1.62rem);
  font-weight: 450;
  line-height: 1;
}

.career-proof.green strong {
  color: var(--cyan);
}

.career-proof span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.career-quote {
  margin: 17px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
}

.career-overview:not(.career-layout) {
  display: grid;
  gap: 26px;
  padding: 18px 0 0;
}

.career-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
}

.career-rail::before {
  position: absolute;
  right: 8%;
  bottom: 33px;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(242, 178, 76, 0.9), rgba(75, 215, 197, 0.78));
  content: "";
}

.career-rail li {
  position: relative;
  display: grid;
  gap: 5px;
  padding-top: 18px;
  color: rgba(244, 246, 242, 0.76);
}

.career-rail li::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

.career-rail li:nth-child(2),
.career-rail li:nth-child(4) {
  color: var(--amber);
}

.career-rail span {
  color: currentColor;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.career-rail b {
  color: rgba(244, 246, 242, 0.9);
  font-size: 1rem;
}

.career-rail small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.career-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 430px;
  border: 1px solid var(--line);
  color: inherit;
  background:
    linear-gradient(180deg, rgba(75, 215, 197, 0.05), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.018);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.career-card:hover,
.career-card:focus-visible {
  border-color: rgba(75, 215, 197, 0.62);
  outline: 0;
  background:
    linear-gradient(180deg, rgba(75, 215, 197, 0.09), rgba(255, 255, 255, 0.034)),
    rgba(255, 255, 255, 0.026);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), 0 0 24px rgba(75, 215, 197, 0.1);
  transform: translateY(-6px);
}

.career-card:nth-child(2):hover,
.career-card:nth-child(2):focus-visible,
.career-card:nth-child(4):hover,
.career-card:nth-child(4):focus-visible {
  border-color: rgba(242, 178, 76, 0.62);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), 0 0 24px rgba(242, 178, 76, 0.1);
}

.career-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
  filter: saturate(0.72) brightness(0.72) contrast(1.08);
}

.career-card div {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.career-card span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-card:nth-child(2) span,
.career-card:nth-child(4) span {
  color: var(--amber);
}

.career-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.career-card p {
  margin: 0;
  color: rgba(201, 211, 207, 0.82);
  font-size: 0.94rem;
  line-height: 1.55;
}

.career-card small {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: rgba(244, 246, 242, 0.56);
  font-size: 0.76rem;
  line-height: 1.55;
}

.playground {
  width: min(1340px, calc(100vw - 96px));
}

.playground .section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}

.playground .section-heading h2 {
  position: relative;
  padding-left: 54px;
  font-family: "Geist", "Inter", sans-serif;
  font-weight: 700;
}

.playground .section-heading h2::before {
  position: absolute;
  left: 0;
  color: var(--cyan);
  content: ">_";
}

.project-shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.play-card {
  min-height: 400px;
}

.play-card h3 {
  font-size: 1.26rem;
}

.playground-connect {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(340px, 0.82fr) minmax(300px, 0.58fr);
  gap: 28px;
  align-items: center;
  margin-top: 64px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

.sidequest-invite {
  min-height: 112px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.sidequest-invite p {
  margin: 0;
  color: rgba(244, 246, 242, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.sidequest-invite span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--emerald);
  font-size: 0.92rem;
}

.connect-actions {
  display: grid;
  gap: 16px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.connect-actions :is(a, button) {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: rgba(244, 246, 242, 0.78);
  background: transparent;
  font: inherit;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease,
    text-shadow 180ms ease;
}

.connect-actions :is(a, button):hover,
.connect-actions :is(a, button):focus-visible {
  color: rgba(244, 246, 242, 0.96);
  text-shadow: 0 0 16px rgba(83, 223, 206, 0.22);
  transform: translateX(3px);
}

.connect-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: rgba(244, 246, 242, 0.78);
}

.connect-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-actions a[href*="github"] .connect-icon svg {
  fill: currentColor;
  stroke: none;
}

.connect-label {
  white-space: nowrap;
}

.contact-card {
  max-width: 340px;
}

.wechat-qr-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.94);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

.qr-modal[hidden] {
  display: none;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(75, 215, 197, 0.14), transparent 420px),
    rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.qr-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid rgba(75, 215, 197, 0.34);
  background:
    linear-gradient(180deg, rgba(75, 215, 197, 0.055), rgba(255, 255, 255, 0.028)),
    rgba(4, 9, 10, 0.94);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(75, 215, 197, 0.08),
    0 0 44px rgba(75, 215, 197, 0.12);
}

.qr-modal-panel > span {
  display: block;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.qr-modal-panel h3 {
  margin: 10px 0 0;
  color: rgba(244, 246, 242, 0.92);
  font-family: var(--mono);
  font-size: 1.28rem;
  letter-spacing: 0.04em;
}

.qr-modal-panel img {
  display: block;
  width: min(280px, 80vw);
  margin: 18px auto;
  border: 10px solid rgba(255, 255, 255, 0.96);
  background: #fff;
  box-shadow: 0 0 28px rgba(75, 215, 197, 0.12);
}

.qr-modal-panel p {
  margin: 0;
  color: rgba(214, 224, 220, 0.74);
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(75, 215, 197, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  font-size: 1.1rem;
  cursor: pointer;
}

.qr-modal-close:hover,
.qr-modal-close:focus-visible {
  border-color: rgba(75, 215, 197, 0.55);
  outline: 0;
  box-shadow: 0 0 18px rgba(75, 215, 197, 0.16);
}

@media (max-width: 1180px) {
  .career-layout,
  .playground-connect {
    grid-template-columns: 1fr;
  }

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

  .career-timeline::before {
    display: none;
  }

  .career-timeline article {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
  }

  .career-timeline article::before {
    display: none;
  }

  .career-timeline small,
  .career-timeline p {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .career-matrix {
    --career-film-width: 240px;
  }

  .career-row {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .career-proof {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, auto);
    align-items: center;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .career-rail,
  .career-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-rail::before {
    display: none;
  }

  .playground {
    width: min(var(--max), calc(100vw - 40px));
  }
}

@media (max-width: 760px) {
  .career-timeline,
  .career-row,
  .career-proof,
  .playground .section-heading {
    grid-template-columns: 1fr;
  }

  .project-shelf {
    grid-template-columns: 1fr;
  }

  .ring-two {
    width: 320px;
    height: 320px;
  }

  .ring-three {
    width: 360px;
    height: 360px;
  }

  .career-row img {
    width: 100%;
    height: 210px;
    margin: 0;
  }

  .career-image-placeholder {
    width: 100%;
    height: 210px;
    margin: 0;
  }

  .career-matrix::before,
  .career-matrix::after,
  .career-row::before {
    display: none;
  }

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

  .career-card-grid {
    grid-template-columns: 1fr;
  }

  .career-rail::before {
    display: none;
  }

  .career-card {
    grid-template-rows: 180px 1fr;
    min-height: 390px;
  }

  .career-row-copy dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .career-proof {
    gap: 4px;
    align-items: start;
  }

  .playground {
    width: min(100vw - 28px, var(--max));
  }
}

/* Keep the selected observatory direction last in the cascade. */
.stellar-map {
  min-height: 760px;
}

@media (max-width: 760px) {
  .stellar-map {
    min-height: 790px !important;
  }
}

/* Final cascade: the hero is a shared canvas on desktop, stacked on mobile. */
@media (min-width: 761px) {
  .hero.section {
    position: relative;
    display: block;
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: clamp(184px, 25vh, 270px) clamp(36px, 4.8vw, 96px) 96px;
    overflow: visible;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    width: min(39vw, 560px);
    margin-left: clamp(-24px, -1.4vw, -12px);
  }

  .stellar-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    overflow: visible;
    border: 0;
    pointer-events: auto;
  }

  .stellar-map::before {
    inset: 0;
    background:
      radial-gradient(circle at 53% 52%, rgba(75, 215, 197, 0.105), transparent 245px),
      radial-gradient(circle at 58% 62%, rgba(242, 178, 76, 0.08), transparent 220px);
    pointer-events: none;
  }

  .hero-observatory {
    pointer-events: auto;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 78px);
    transform: scale(0.92);
    transform-origin: 50% 0;
    cursor: grab;
    will-change: transform;
  }

  .hero-observatory a {
    pointer-events: auto;
  }

  .observatory-axis path:first-child {
    stroke: rgba(75, 215, 197, 0.36);
  }

  .observatory-axis .axis-ghost {
    stroke: rgba(75, 215, 197, 0.035);
  }
}

@media (min-width: 761px) {
  .hero-observatory .observatory-axis > path:not(.axis-glow) {
    stroke: rgba(142, 238, 222, 0.76) !important;
    stroke-width: 0.72px !important;
    stroke-dasharray: none !important;
  }

  .hero-observatory .observatory-axis > path:nth-of-type(2) {
    stroke: rgba(142, 238, 222, 0.76) !important;
    stroke-width: 0.72px !important;
  }

  .hero-observatory .observatory-axis > path.axis-ghost {
    stroke: rgba(75, 215, 197, 0.045) !important;
    stroke-width: 0.45px !important;
  }

  .hero-observatory .observatory-rings .ring-origin-ghost,
  .hero-observatory .observatory-rings .ring-strategy-ghost,
  .hero-observatory .observatory-rings .ring-agency-ghost {
    stroke: rgba(75, 215, 197, 0.42) !important;
    stroke-width: 0.5px !important;
  }

  .hero-observatory .observatory-rings .ring-translation-ghost {
    stroke: rgba(242, 178, 76, 0.38) !important;
    stroke-width: 0.5px !important;
  }
}

@media (max-width: 760px) {
  .hero.section {
    display: grid;
    width: min(100vw - 28px, var(--max));
    min-height: auto;
    margin: 0 auto;
    padding-top: 112px;
    padding-bottom: 74px;
    overflow: visible;
  }

  .hero-copy {
    position: static;
    z-index: auto;
    width: auto;
  }

  .stellar-map {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: 790px;
    min-height: 790px !important;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    pointer-events: auto;
  }
}

/* Focused light pass: the structure stays quiet; only key intersections breathe. */
.stellar-map::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(75, 215, 197, 0.028), transparent 150px),
    radial-gradient(circle at 56% 61%, rgba(242, 178, 76, 0.018), transparent 140px) !important;
}

.hero-observatory .observatory-top-nebula {
  opacity: 0.24 !important;
  filter: none !important;
}

.hero-observatory .observatory-axis .axis-glow {
  stroke: rgba(142, 238, 222, 0.1) !important;
  stroke-width: 0.8px !important;
  filter: none !important;
  animation: none !important;
}

.hero-observatory .observatory-spiral-glow {
  display: none !important;
}

.hero-observatory .observatory-spiral {
  stroke: rgba(220, 252, 245, 0.76) !important;
  stroke-width: 0.78px !important;
  stroke-dasharray: none !important;
  stroke-linecap: round;
  filter: none !important;
  animation: none !important;
}

.hero-observatory .origin-nebula {
  opacity: 0.24 !important;
  filter: none !important;
}

.hero-observatory .origin-globe-outline {
  filter: none !important;
}

.hero-observatory .origin-globe-face {
  fill: url("#observatory-globe-face");
  opacity: 1;
}

.hero-observatory .observatory-orbit-points .orbit-glint {
  opacity: 0.58 !important;
  filter: none !important;
  animation: observatory-glint-breathe-focused 6.8s ease-in-out infinite !important;
}

.hero-observatory .observatory-orbit-points .orbit-glint:not(.orbit-micro) {
  filter: url("#observatory-glow-soft") !important;
}

.hero-observatory .observatory-orbit-points .orbit-micro {
  opacity: 0.28 !important;
  filter: none !important;
}

.hero-observatory .stage-dot {
  filter: none !important;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-translation-focal,
.hero-observatory .observatory-rings .ring-strategy-focal,
.hero-observatory .observatory-rings .ring-agency-focal {
  stroke-width: 0.42px !important;
  stroke-dasharray: none !important;
  opacity: 0.46;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-strategy-focal,
.hero-observatory .observatory-rings .ring-agency-focal {
  stroke: rgba(75, 215, 197, 0.34) !important;
}

.hero-observatory .observatory-rings .ring-translation-focal {
  stroke: rgba(242, 178, 76, 0.36) !important;
}

.hero-observatory .observatory-rings .ring-origin-focal-tight,
.hero-observatory .observatory-rings .ring-translation-focal-tight,
.hero-observatory .observatory-rings .ring-strategy-focal-tight,
.hero-observatory .observatory-rings .ring-agency-focal-tight {
  stroke-width: 0.35px !important;
  stroke-dasharray: 1 6 !important;
  opacity: 0.3;
}

.hero-observatory .spiral-nexus-halo {
  fill: rgba(142, 238, 222, 0.08);
  stroke: none;
  opacity: 0.72;
  filter: url("#observatory-glow-soft");
}

.hero-observatory .spiral-nexus-core {
  stroke: none;
  filter: url("#observatory-glow-soft");
  animation: none;
}

.hero-observatory .nexus-cyan {
  fill: rgba(182, 246, 230, 0.92);
}

.hero-observatory .nexus-amber {
  fill: rgba(248, 192, 94, 0.94);
}

/* Globe fidelity pass: continents read as dotted land masses, not a generic grid ball. */
.hero-observatory .origin-globe-wash {
  fill: rgba(75, 215, 197, 0.018) !important;
  stroke: rgba(142, 238, 222, 0.16) !important;
}

.hero-observatory .origin-globe-reference {
  opacity: 1;
  mix-blend-mode: screen;
  filter: brightness(1.12) saturate(1.15) contrast(1.12);
}

.hero-observatory .origin-globe-native {
  display: none;
}

.hero-observatory .origin-globe-wash,
.hero-observatory .origin-globe-outline,
.hero-observatory .origin-point {
  display: none !important;
}

.hero-observatory .origin-globe-shell {
  fill: url("#observatory-earth-grid-dots") !important;
  opacity: 0.9 !important;
}

.hero-observatory .origin-continent-wash path {
  fill: rgba(142, 238, 222, 0.07);
  opacity: 0.62;
}

.hero-observatory .origin-continents path {
  fill: url("#observatory-land-dots") !important;
  opacity: 0.88 !important;
  filter: none;
}

.hero-observatory .origin-coastlines path {
  fill: none;
  stroke: rgba(182, 246, 230, 0.34);
  stroke-width: 0.32;
  vector-effect: non-scaling-stroke;
}

.hero-observatory .origin-globe-lines path,
.hero-observatory .origin-globe-lines ellipse {
  stroke: rgba(142, 238, 222, 0.5) !important;
  stroke-width: 0.48px !important;
  vector-effect: non-scaling-stroke;
}

.hero-observatory .origin-globe-outline {
  stroke: url("#observatory-globe-rim") !important;
  stroke-width: 0.52px !important;
  opacity: 0.58;
}

.hero-observatory .origin-globe-shadow {
  fill: url("#observatory-globe-shadow");
  opacity: 0.58;
}

@keyframes observatory-glint-breathe-focused {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 0.86;
  }
}

/* Left hero copy scale pass: keep the name as an anchor, not the dominant object. */
@media (min-width: 761px) {
  .hero.section {
    padding-left: clamp(42px, 4vw, 78px);
  }

  .hero-copy {
    width: min(27vw, 380px) !important;
    margin-left: 0 !important;
    top: clamp(104px, 14vh, 148px) !important;
    transform: none !important;
  }

  .hero-copy h1 {
    max-width: 380px !important;
    font-size: clamp(3.15rem, 4.35vw, 4.9rem) !important;
    font-weight: 270 !important;
    line-height: 1 !important;
  }

  .hero-title {
    max-width: 360px !important;
    margin-top: 14px !important;
    font-size: clamp(0.98rem, 1.25vw, 1.28rem) !important;
    font-weight: 380 !important;
    line-height: 1.18 !important;
  }

  .hero-summary {
    max-width: 330px !important;
    margin-top: 24px !important;
    font-size: clamp(0.78rem, 0.9vw, 0.9rem) !important;
    line-height: 1.66 !important;
  }

  .hero-note {
    max-width: 300px !important;
    margin-top: 17px !important;
    padding-left: 12px !important;
    font-size: 0.62rem !important;
    line-height: 1.5 !important;
  }

  .hero-actions {
    gap: 10px !important;
    margin-top: 25px !important;
  }

  .hero-actions .button {
    min-width: 142px !important;
    min-height: 39px !important;
    padding: 0 14px !important;
    font-size: 0.68rem !important;
  }

  .hero.section {
    --hero-tilt-x: 0deg;
    --hero-tilt-y: 0deg;
    --hero-pan-x: 0px;
    --hero-pan-y: 0px;
  }

  .stellar-map {
    perspective: 1200px;
  }

  .hero-observatory {
    transform:
      scale(0.92)
      rotateX(var(--hero-tilt-y))
      rotateY(var(--hero-tilt-x))
      translate3d(var(--hero-pan-x), var(--hero-pan-y), 0) !important;
    transform-origin: 54% 48% !important;
    transition: transform 420ms ease-out;
    cursor: grab;
    will-change: transform;
  }

  .hero.section.is-dragging-orbit .hero-observatory {
    cursor: grabbing;
    transition: transform 90ms linear;
  }
}

/* Right-side stage label pass: align the content as a quiet annotation system. */
.hero-observatory .observatory-stage {
  text-rendering: geometricPrecision;
}

.hero-observatory .stage-badge {
  fill: rgba(3, 8, 10, 0.54) !important;
  stroke-width: 0.55px !important;
}

.hero-observatory .stage-number {
  font-size: 11px !important;
  font-weight: 540 !important;
  letter-spacing: 0.01em !important;
}

.hero-observatory .stage-label {
  font-size: 11.8px !important;
  font-weight: 680 !important;
  letter-spacing: 0.082em !important;
}

.hero-observatory .stage-copy {
  fill: rgba(225, 232, 228, 0.66) !important;
  font-size: 9.4px !important;
  font-weight: 380 !important;
  letter-spacing: 0.015em !important;
}

.hero-observatory .stage-open {
  font-size: 8.8px !important;
  font-weight: 560 !important;
  letter-spacing: 0.1em !important;
}

.hero-observatory .stage-rule {
  opacity: 0.78;
}

.hero-observatory .stage-title-rule {
  fill: none;
  stroke-width: 0.3px;
  stroke-linecap: round;
  opacity: 0.34;
}

.hero-observatory .stage-copy,
.hero-observatory .stage-open {
  paint-order: stroke fill;
  stroke: rgba(3, 8, 10, 0.52);
  stroke-width: 1.1px;
}

.hero-observatory .stage-label,
.hero-observatory .stage-copy,
.hero-observatory .stage-open,
.hero-observatory .stage-title-rule {
  transition: fill 180ms ease, opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.hero-observatory .observatory-stage:hover .stage-label,
.hero-observatory .observatory-stage:focus-visible .stage-label,
.hero-observatory .observatory-stage.is-hovered .stage-label,
.hero-observatory .observatory-stage:hover .stage-open,
.hero-observatory .observatory-stage:focus-visible .stage-open,
.hero-observatory .observatory-stage.is-hovered .stage-open {
  filter: none;
}

/* Stage hover pass: make the calibrated text hit area feel like a clear floating panel. */
.hero-observatory .observatory-hit {
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 180ms ease, stroke 180ms ease, transform 180ms ease, opacity 180ms ease;
  vector-effect: non-scaling-stroke;
}

.hero-observatory .observatory-stage:hover .observatory-hit,
.hero-observatory .observatory-stage:focus-visible .observatory-hit,
.hero-observatory .observatory-stage.is-hovered .observatory-hit {
  fill: rgba(7, 29, 29, 0.74) !important;
  stroke: rgba(88, 221, 201, 0.42) !important;
  stroke-width: 0.74px !important;
  filter: url("#observatory-panel-lift-cyan");
  transform: translate(-3px, -3px);
}

.hero-observatory .stage-translation:hover .observatory-hit,
.hero-observatory .stage-translation:focus-visible .observatory-hit,
.hero-observatory .stage-translation.is-hovered .observatory-hit,
.hero-observatory .stage-agency:hover .observatory-hit,
.hero-observatory .stage-agency:focus-visible .observatory-hit,
.hero-observatory .stage-agency.is-hovered .observatory-hit {
  fill: rgba(39, 27, 8, 0.76) !important;
  stroke: rgba(230, 171, 67, 0.46) !important;
  filter: url("#observatory-panel-lift-amber");
}

.hero-observatory .observatory-stage:hover .stage-copy,
.hero-observatory .observatory-stage:focus-visible .stage-copy,
.hero-observatory .observatory-stage.is-hovered .stage-copy {
  fill: rgba(228, 236, 232, 0.7) !important;
}

.hero-observatory .observatory-stage:hover .stage-label,
.hero-observatory .observatory-stage:focus-visible .stage-label,
.hero-observatory .observatory-stage.is-hovered .stage-label,
.hero-observatory .observatory-stage:hover .stage-copy,
.hero-observatory .observatory-stage:focus-visible .stage-copy,
.hero-observatory .observatory-stage.is-hovered .stage-copy,
.hero-observatory .observatory-stage:hover .stage-open,
.hero-observatory .observatory-stage:focus-visible .stage-open,
.hero-observatory .observatory-stage.is-hovered .stage-open,
.hero-observatory .observatory-stage:hover .stage-title-rule,
.hero-observatory .observatory-stage:focus-visible .stage-title-rule,
.hero-observatory .observatory-stage.is-hovered .stage-title-rule {
  transform: translate(-1.2px, -1.2px);
}

.hero-observatory .observatory-stage:hover .stage-title-rule,
.hero-observatory .observatory-stage:focus-visible .stage-title-rule,
.hero-observatory .observatory-stage.is-hovered .stage-title-rule {
  opacity: 0.48;
}

/* Orbital color balance: every stage uses the same cyan/amber/silver system. */
.hero-observatory .observatory-rings .ring-origin-far,
.hero-observatory .observatory-rings .ring-translation-far,
.hero-observatory .observatory-rings .ring-strategy-far,
.hero-observatory .observatory-rings .ring-agency-far {
  stroke: rgba(196, 214, 209, 0.12) !important;
  stroke-width: 0.38px !important;
  stroke-dasharray: 1 13 !important;
  opacity: 0.78;
}

.hero-observatory .observatory-rings .ring-origin-ghost,
.hero-observatory .observatory-rings .ring-translation-ghost,
.hero-observatory .observatory-rings .ring-strategy-ghost,
.hero-observatory .observatory-rings .ring-agency-ghost {
  stroke: rgba(75, 215, 197, 0.17) !important;
  stroke-width: 0.42px !important;
  stroke-dasharray: 2 10 !important;
}

.hero-observatory .observatory-rings .ring-origin,
.hero-observatory .observatory-rings .ring-translation,
.hero-observatory .observatory-rings .ring-strategy,
.hero-observatory .observatory-rings .ring-agency {
  stroke: rgba(75, 215, 197, 0.46) !important;
  stroke-width: 0.5px !important;
  stroke-dasharray: none !important;
}

.hero-observatory .observatory-rings .ring-origin-inner,
.hero-observatory .observatory-rings .ring-translation-inner,
.hero-observatory .observatory-rings .ring-strategy-inner,
.hero-observatory .observatory-rings .ring-agency-inner {
  stroke: rgba(242, 178, 76, 0.3) !important;
  stroke-width: 0.42px !important;
  stroke-dasharray: none !important;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-translation-focal,
.hero-observatory .observatory-rings .ring-strategy-focal,
.hero-observatory .observatory-rings .ring-agency-focal {
  stroke: rgba(75, 215, 197, 0.24) !important;
  stroke-width: 0.36px !important;
  opacity: 0.42;
}

.hero-observatory .observatory-rings .ring-origin-focal-tight,
.hero-observatory .observatory-rings .ring-translation-focal-tight,
.hero-observatory .observatory-rings .ring-strategy-focal-tight,
.hero-observatory .observatory-rings .ring-agency-focal-tight {
  stroke: rgba(242, 178, 76, 0.2) !important;
  stroke-width: 0.32px !important;
  stroke-dasharray: 1 6 !important;
  opacity: 0.32;
}

.hero-observatory .observatory-rings .ring-origin-core,
.hero-observatory .observatory-rings .ring-translation-core,
.hero-observatory .observatory-rings .ring-strategy-core,
.hero-observatory .observatory-rings .ring-agency-core {
  stroke: rgba(196, 214, 209, 0.12) !important;
  stroke-width: 0.34px !important;
  stroke-dasharray: 1 8 !important;
}

/* Orbit depth pass: restore the reference-like multi-ring density without privileging one stage. */
.hero-observatory .observatory-rings .ring-origin-far,
.hero-observatory .observatory-rings .ring-translation-far,
.hero-observatory .observatory-rings .ring-strategy-far,
.hero-observatory .observatory-rings .ring-agency-far {
  stroke: rgba(216, 235, 230, 0.36) !important;
  stroke-width: 0.48px !important;
  stroke-dasharray: 1 9 !important;
  opacity: 1 !important;
}

.hero-observatory .observatory-rings .ring-origin-ghost,
.hero-observatory .observatory-rings .ring-translation-ghost,
.hero-observatory .observatory-rings .ring-strategy-ghost,
.hero-observatory .observatory-rings .ring-agency-ghost {
  stroke: rgba(95, 239, 220, 0.42) !important;
  stroke-width: 0.54px !important;
  stroke-dasharray: 2 7 !important;
  opacity: 1 !important;
}

.hero-observatory .observatory-rings .ring-origin,
.hero-observatory .observatory-rings .ring-translation,
.hero-observatory .observatory-rings .ring-strategy,
.hero-observatory .observatory-rings .ring-agency {
  stroke: rgba(88, 232, 213, 0.7) !important;
  stroke-width: 0.58px !important;
  opacity: 1 !important;
}

.hero-observatory .observatory-rings .ring-origin-inner,
.hero-observatory .observatory-rings .ring-translation-inner,
.hero-observatory .observatory-rings .ring-strategy-inner,
.hero-observatory .observatory-rings .ring-agency-inner {
  stroke: rgba(248, 190, 90, 0.55) !important;
  stroke-width: 0.5px !important;
  opacity: 0.96 !important;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-translation-focal,
.hero-observatory .observatory-rings .ring-strategy-focal,
.hero-observatory .observatory-rings .ring-agency-focal {
  stroke: rgba(216, 235, 230, 0.46) !important;
  stroke-width: 0.46px !important;
  stroke-dasharray: none !important;
  opacity: 0.94 !important;
}

.hero-observatory .observatory-rings .ring-origin-focal-tight,
.hero-observatory .observatory-rings .ring-translation-focal-tight,
.hero-observatory .observatory-rings .ring-strategy-focal-tight,
.hero-observatory .observatory-rings .ring-agency-focal-tight {
  stroke: rgba(248, 190, 90, 0.5) !important;
  stroke-width: 0.42px !important;
  stroke-dasharray: 1 5 !important;
  opacity: 0.86 !important;
}

.hero-observatory .observatory-rings .ring-origin-core,
.hero-observatory .observatory-rings .ring-translation-core,
.hero-observatory .observatory-rings .ring-strategy-core,
.hero-observatory .observatory-rings .ring-agency-core {
  stroke: rgba(216, 235, 230, 0.42) !important;
  stroke-width: 0.42px !important;
  stroke-dasharray: 1 5 !important;
  opacity: 0.9 !important;
}

/* Orbit clearance pass: keep depth, but stop the inner rings from crowding the globe. */
.hero-observatory .observatory-rings .ring-origin-inner,
.hero-observatory .observatory-rings .ring-translation-inner,
.hero-observatory .observatory-rings .ring-strategy-inner,
.hero-observatory .observatory-rings .ring-agency-inner {
  stroke-dasharray: 8 7 !important;
  stroke-width: 0.44px !important;
  opacity: 0.64 !important;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-translation-focal,
.hero-observatory .observatory-rings .ring-strategy-focal,
.hero-observatory .observatory-rings .ring-agency-focal {
  stroke-dasharray: 3 9 !important;
  stroke-width: 0.4px !important;
  opacity: 0.58 !important;
}

.hero-observatory .observatory-rings .ring-origin-focal-tight,
.hero-observatory .observatory-rings .ring-translation-focal-tight,
.hero-observatory .observatory-rings .ring-strategy-focal-tight,
.hero-observatory .observatory-rings .ring-agency-focal-tight,
.hero-observatory .observatory-rings .ring-origin-core,
.hero-observatory .observatory-rings .ring-translation-core,
.hero-observatory .observatory-rings .ring-strategy-core,
.hero-observatory .observatory-rings .ring-agency-core {
  opacity: 0.44 !important;
}

.hero-observatory .observatory-rings .ring-origin-far,
.hero-observatory .observatory-rings .ring-origin-ghost {
  opacity: 0.68 !important;
}

.hero-observatory .observatory-rings .ring-origin {
  stroke: rgba(88, 232, 213, 0.46) !important;
  stroke-width: 0.46px !important;
  opacity: 0.66 !important;
}

.hero-observatory .observatory-rings .ring-origin-inner {
  stroke: rgba(248, 190, 90, 0.28) !important;
  opacity: 0.42 !important;
}

.hero-observatory .observatory-rings .ring-origin-focal,
.hero-observatory .observatory-rings .ring-origin-focal-tight,
.hero-observatory .observatory-rings .ring-origin-core {
  opacity: 0.26 !important;
}

/* Amber inner-ring check: restore the inner orbital band to solid lines. */
.hero-observatory .observatory-rings .ring-origin-inner,
.hero-observatory .observatory-rings .ring-translation-inner,
.hero-observatory .observatory-rings .ring-strategy-inner,
.hero-observatory .observatory-rings .ring-agency-inner {
  stroke-dasharray: none !important;
}

.hero-observatory .observatory-rings .ring-translation-inner,
.hero-observatory .observatory-rings .ring-strategy-inner,
.hero-observatory .observatory-rings .ring-agency-inner {
  opacity: 0.72 !important;
}

.hero-observatory .observatory-rings .ring-origin-inner {
  opacity: 0.42 !important;
}

/* Next horizon pass: a quiet top-axis gateway into the Playground side. */
.hero-observatory .observatory-horizon {
  pointer-events: auto;
}

.hero-observatory .observatory-horizon-top {
  cursor: pointer;
}

.hero-observatory .horizon-anchor-image {
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: brightness(1.08) saturate(1.05);
  transition: opacity 180ms ease, filter 180ms ease;
}

.hero-observatory .horizon-orbit {
  fill: rgba(3, 8, 10, 0.5);
  stroke: rgba(75, 215, 197, 0.42) !important;
  stroke-width: 0.55px !important;
  stroke-dasharray: 1.5 3.5 !important;
  filter: url("#observatory-glow-soft");
  animation: none !important;
  transform: none !important;
}

.hero-observatory .horizon-orbit-inner {
  stroke: rgba(142, 238, 222, 0.36) !important;
  stroke-dasharray: none !important;
  opacity: 0.72;
}

.hero-observatory .horizon-orbit-outer {
  opacity: 0.74;
}

.hero-observatory .horizon-core {
  fill: rgba(75, 215, 197, 0.88);
  filter: url("#observatory-glow-soft");
}

.hero-observatory .horizon-rule {
  stroke: rgba(75, 215, 197, 0.48) !important;
  stroke-width: 0.48px !important;
}

.hero-observatory .horizon-label {
  fill: rgba(75, 215, 197, 0.92);
  font-size: 8.8px !important;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.hero-observatory .horizon-copy {
  fill: rgba(214, 224, 220, 0.68);
  font-size: 8.6px !important;
  letter-spacing: 0.012em;
}

.hero-observatory .observatory-horizon:hover .horizon-core,
.hero-observatory .observatory-horizon:focus-visible .horizon-core {
  fill: rgba(142, 238, 222, 0.98);
}

.hero-observatory .observatory-horizon:hover .horizon-anchor-image,
.hero-observatory .observatory-horizon:focus-visible .horizon-anchor-image {
  opacity: 1;
  filter: brightness(1.2) saturate(1.12);
}

.hero-observatory .observatory-horizon:hover .horizon-label,
.hero-observatory .observatory-horizon:focus-visible .horizon-label {
  fill: rgba(142, 238, 222, 0.98);
}

/* Playground showcase pass: scalable AI side-quest cabinet. */
.playground {
  position: relative;
  isolation: isolate;
  width: min(1420px, calc(100vw - 96px));
  font-family: var(--mono);
}

.playground :is(h2, h3, p, a, span, small, b, button) {
  font-family: var(--mono);
}

.playground::before {
  position: absolute;
  top: 116px;
  right: 0;
  left: 0;
  z-index: -1;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 18%, rgba(75, 215, 197, 0.08), transparent 230px),
    radial-gradient(circle at 18% 62%, rgba(242, 178, 76, 0.045), transparent 250px);
  content: "";
}

.playground::after {
  position: absolute;
  inset: -64px -7vw -56px;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0.28) 23%, rgba(5, 6, 8, 0.22) 70%, rgba(5, 6, 8, 0.56)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.58), rgba(5, 6, 8, 0.16) 34%, rgba(5, 6, 8, 0.46)),
    url("../assets/playground-pixel-bg.png") center 54% / 100% 88% no-repeat;
  content: "";
  filter: saturate(1.16) contrast(1.03);
  opacity: 0.48;
}

.playground .section-heading {
  gap: 28px;
  margin-bottom: 22px;
}

.playground .section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 6.3vw, 6.45rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.playground .section-heading h2::after {
  display: inline-block;
  width: 64px;
  height: 8px;
  margin-left: 18px;
  background: var(--cyan);
  content: "";
  vertical-align: baseline;
}

.playground .section-heading p {
  max-width: 640px;
}

.playground .aside-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  margin-top: 10px;
  color: rgba(244, 246, 242, 0.74);
  font-size: 1.04rem;
}

.playground .aside-line::after {
  content: none;
}

.playground-home-orbit {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--cyan);
  border-radius: 50%;
  outline: 0;
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.playground-home-orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.playground-home-orbit .orbit-track,
.playground-home-orbit .orbit-spiral {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.playground-home-orbit .orbit-track-wide {
  stroke: rgba(75, 215, 197, 0.5);
  stroke-width: 1.1;
  stroke-dasharray: 3 5;
}

.playground-home-orbit .orbit-track-tilt {
  stroke: rgba(242, 178, 76, 0.48);
  stroke-width: 1;
  transform: rotate(-34deg);
  transform-box: fill-box;
  transform-origin: center;
}

.playground-home-orbit .orbit-spiral {
  stroke: rgba(142, 238, 222, 0.9);
  stroke-width: 1.25;
  filter: drop-shadow(0 0 5px rgba(75, 215, 197, 0.28));
}

.playground-home-orbit .orbit-core {
  fill: rgba(75, 215, 197, 0.86);
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.34));
}

.playground-home-orbit .orbit-planet {
  fill: rgba(242, 178, 76, 0.96);
  filter: drop-shadow(0 0 7px rgba(242, 178, 76, 0.35));
}

.playground-home-orbit:hover,
.playground-home-orbit:focus-visible {
  transform: translateY(-2px) rotate(-6deg);
  filter: brightness(1.16);
}

.playground-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.playground-controls button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 246, 242, 0.58);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.playground-controls button:hover,
.playground-controls button:focus-visible,
.playground-controls button.is-active {
  border-color: rgba(75, 215, 197, 0.46);
  color: var(--cyan);
  background: rgba(75, 215, 197, 0.07);
}

.playground-controls button:hover {
  transform: translateY(-1px);
}

.project-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
  perspective-origin: 50% 38%;
}

.play-card {
  --play-edge-rgb: 75 215 197;
  --play-depth: 0px;
  --play-glow-x: 82%;
  --play-glow-y: 22%;
  --play-lift: 0px;
  --play-tilt-x: 0deg;
  --play-tilt-y: 0deg;
  --stamp-cut: rgba(2, 5, 7, 0.98);
  --stamp-rim:
    radial-gradient(circle at 9px 0, transparent 0 5.5px, rgb(var(--play-edge-rgb) / 0.58) 5.7px 6.45px, transparent 6.8px) top left / 18px 8px repeat-x,
    radial-gradient(circle at 9px 100%, transparent 0 5.5px, rgb(var(--play-edge-rgb) / 0.52) 5.7px 6.45px, transparent 6.8px) bottom left / 18px 8px repeat-x,
    radial-gradient(circle at 0 9px, transparent 0 5.5px, rgb(var(--play-edge-rgb) / 0.48) 5.7px 6.45px, transparent 6.8px) top left / 8px 18px repeat-y,
    radial-gradient(circle at 100% 9px, transparent 0 5.5px, rgb(var(--play-edge-rgb) / 0.46) 5.7px 6.45px, transparent 6.8px) top right / 8px 18px repeat-y,
    repeating-linear-gradient(90deg, rgb(var(--play-edge-rgb) / 0.46) 0 2.4px, transparent 2.4px 15.6px, rgb(var(--play-edge-rgb) / 0.46) 15.6px 18px) top left / 18px 1px repeat-x,
    repeating-linear-gradient(90deg, rgb(var(--play-edge-rgb) / 0.42) 0 2.4px, transparent 2.4px 15.6px, rgb(var(--play-edge-rgb) / 0.42) 15.6px 18px) bottom left / 18px 1px repeat-x,
    repeating-linear-gradient(180deg, rgb(var(--play-edge-rgb) / 0.4) 0 2.4px, transparent 2.4px 15.6px, rgb(var(--play-edge-rgb) / 0.4) 15.6px 18px) top left / 1px 18px repeat-y,
    repeating-linear-gradient(180deg, rgb(var(--play-edge-rgb) / 0.38) 0 2.4px, transparent 2.4px 15.6px, rgb(var(--play-edge-rgb) / 0.38) 15.6px 18px) top right / 1px 18px repeat-y;
  position: relative;
  top: var(--play-lift);
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  min-height: 356px;
  padding: 16px;
  border: 1px solid transparent;
  background:
    var(--stamp-rim),
    radial-gradient(circle at 9px 0, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 18px 8px repeat-x,
    radial-gradient(circle at 9px 100%, var(--stamp-cut) 0 5.8px, transparent 6.2px) bottom left / 18px 8px repeat-x,
    radial-gradient(circle at 0 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 8px 18px repeat-y,
    radial-gradient(circle at 100% 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top right / 8px 18px repeat-y,
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.026)),
    rgba(4, 8, 10, 0.74);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.1),
    0 0 20px rgb(var(--play-edge-rgb) / 0.075),
    inset 0 0 28px rgb(var(--play-edge-rgb) / 0.06);
  cursor: pointer;
  outline: 0;
  transform:
    perspective(980px)
    rotateX(var(--play-tilt-x))
    rotateY(var(--play-tilt-y));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: top 220ms ease, transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, opacity 180ms ease;
  animation: playground-card-float 8.4s ease-in-out infinite;
  will-change: top, translate, transform;
}

.play-card:nth-child(2) {
  animation-delay: -1.9s;
}

.play-card:nth-child(3) {
  animation-delay: -4.1s;
}

.play-card:nth-child(4) {
  animation-delay: -6.2s;
}

.play-card::before {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(75, 215, 197, 0.14), transparent 34%),
    radial-gradient(circle at var(--play-glow-x) var(--play-glow-y), rgba(75, 215, 197, 0.13), transparent 116px);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.play-card::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(75, 215, 197, 0.62);
  content: "";
  opacity: 0.56;
  animation: playground-corner-pulse 4.8s ease-in-out infinite;
}

.play-card[data-accent="amber"]::before {
  background:
    linear-gradient(90deg, rgba(242, 178, 76, 0.13), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(242, 178, 76, 0.1), transparent 110px);
}

.play-card[data-accent="amber"] {
  --play-edge-rgb: 242 178 76;
}

.play-card[data-accent="amber"]::after {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(242, 178, 76, 0.58);
}

.play-card:hover,
.play-card:focus-visible,
.play-card.is-selected {
  --play-depth: 18px;
  --play-lift: -10px;
  border-color: transparent;
  background:
    var(--stamp-rim),
    radial-gradient(circle at 9px 0, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 18px 8px repeat-x,
    radial-gradient(circle at 9px 100%, var(--stamp-cut) 0 5.8px, transparent 6.2px) bottom left / 18px 8px repeat-x,
    radial-gradient(circle at 0 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 8px 18px repeat-y,
    radial-gradient(circle at 100% 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top right / 8px 18px repeat-y,
    linear-gradient(180deg, rgba(75, 215, 197, 0.045), rgba(255, 255, 255, 0.026)),
    rgba(4, 10, 11, 0.9);
  box-shadow:
    0 26px 62px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(75, 215, 197, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 0 34px rgba(75, 215, 197, 0.055);
}

.play-card:hover,
.play-card:focus-visible {
  --play-tilt-x: -1.4deg;
  --play-tilt-y: 2.2deg;
}

.play-card[data-accent="amber"]:hover,
.play-card[data-accent="amber"]:focus-visible,
.play-card[data-accent="amber"].is-selected {
  border-color: transparent;
  background:
    var(--stamp-rim),
    radial-gradient(circle at 9px 0, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 18px 8px repeat-x,
    radial-gradient(circle at 9px 100%, var(--stamp-cut) 0 5.8px, transparent 6.2px) bottom left / 18px 8px repeat-x,
    radial-gradient(circle at 0 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top left / 8px 18px repeat-y,
    radial-gradient(circle at 100% 9px, var(--stamp-cut) 0 5.8px, transparent 6.2px) top right / 8px 18px repeat-y,
    linear-gradient(180deg, rgba(242, 178, 76, 0.045), rgba(255, 255, 255, 0.026)),
    rgba(10, 8, 4, 0.86);
  box-shadow:
    0 26px 62px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(242, 178, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 0 34px rgba(242, 178, 76, 0.05);
}

.play-card:hover::before,
.play-card:focus-visible::before,
.play-card.is-selected::before {
  opacity: 1;
}

.play-card:hover::after,
.play-card:focus-visible::after,
.play-card.is-selected::after {
  opacity: 1;
  animation-duration: 2.8s;
}

.play-card[hidden] {
  display: none;
}

.play-card h3,
.play-card p,
.play-card a,
.play-tags {
  position: relative;
  z-index: 1;
}

.play-card h3 {
  margin: 18px 0 9px;
  font-size: 1.22rem;
  line-height: 1.12;
}

.play-card p {
  min-height: 52px;
  color: rgba(214, 224, 220, 0.72);
  font-size: 0.92rem;
  line-height: 1.62;
}

.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin: 16px 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(244, 246, 242, 0.64);
  font-size: 0.78rem;
}

.play-tags span + span::before {
  margin-right: 12px;
  color: rgba(75, 215, 197, 0.42);
  content: "|";
}

.play-card[data-accent="amber"] .play-tags span + span::before {
  color: rgba(242, 178, 76, 0.42);
}

.play-card a {
  align-self: end;
  width: max-content;
  color: var(--emerald);
  font-size: 0.95rem;
}

.play-card[data-accent="amber"] a {
  color: var(--amber);
}

@keyframes playground-card-float {
  0%,
  100% {
    translate: 0 3px;
  }

  38% {
    translate: 0 -14px;
  }

  64% {
    translate: 0 -5px;
  }
}

@keyframes playground-preview-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 3px;
  }
}

@keyframes playground-preview-sheen {
  0%,
  38% {
    background-position: -180% 0, 0 0, 0 0;
  }

  70% {
    background-position: 180% 0, 0 0, 0 0;
  }

  100% {
    background-position: 180% 0, 0 0, 0 0;
  }
}

@keyframes playground-corner-pulse {
  0%,
  100% {
    scale: 1;
    opacity: 0.42;
  }

  45% {
    scale: 1.45;
    opacity: 0.92;
  }
}

.mini-preview {
  position: relative;
  z-index: 1;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    rgba(3, 8, 10, 0.86);
  background-size: 28px 28px, 28px 28px, auto;
}

.play-card .mini-preview {
  animation: playground-preview-drift 9.4s ease-in-out infinite;
  will-change: translate;
}

.play-card:nth-child(2) .mini-preview {
  animation-delay: -2.5s;
}

.play-card:nth-child(3) .mini-preview {
  animation-delay: -5.1s;
}

.play-card:nth-child(4) .mini-preview {
  animation-delay: -7.2s;
}

.play-card .mini-preview::after {
  animation: playground-preview-sheen 7.8s ease-in-out infinite;
}

.play-card:nth-child(2) .mini-preview::after {
  animation-delay: -1.8s;
}

.play-card:nth-child(3) .mini-preview::after {
  animation-delay: -3.6s;
}

.play-card:nth-child(4) .mini-preview::after {
  animation-delay: -5.4s;
}

.mini-preview span {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(244, 246, 242, 0.82);
  font-size: 0.75rem;
}

.cover-preview > span {
  display: none;
}

.cover-preview {
  display: block;
  isolation: isolate;
}

.cover-preview img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08) brightness(0.68);
  transform: scale(1.02);
}

.cover-preview::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(104deg, transparent 0 43%, rgba(255, 255, 255, 0.18) 48%, transparent 53%),
    linear-gradient(180deg, rgba(3, 8, 10, 0.08), rgba(3, 8, 10, 0.78)),
    radial-gradient(circle at 70% 26%, rgba(75, 215, 197, 0.18), transparent 150px);
  background-position: -180% 0, 0 0, 0 0;
  background-size: 240% 100%, auto, auto;
  content: "";
}

.magazine-preview img {
  object-position: center;
  object-fit: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(29, 81, 123, 0.46), rgba(3, 8, 10, 0.94) 72%);
  filter: saturate(0.9) contrast(1.04) brightness(0.78);
}

.magazine-preview::after {
  background:
    linear-gradient(180deg, rgba(3, 8, 10, 0.04), rgba(3, 8, 10, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(242, 178, 76, 0.12), transparent 140px);
  background-position: 0 0, 0 0;
  background-size: auto, auto;
  animation: none;
}

.play-card .magazine-preview::after {
  animation: none;
}

.daily-news-cover img {
  object-position: center 18%;
  filter: saturate(0.86) contrast(1.05) brightness(0.68);
}

.daily-news-cover::after {
  background:
    linear-gradient(180deg, rgba(3, 8, 10, 0.04), rgba(3, 8, 10, 0.5)),
    radial-gradient(circle at 72% 22%, rgba(75, 215, 197, 0.16), transparent 150px);
}

.system-board-preview img {
  object-position: center 42%;
  filter: saturate(0.78) contrast(1.02) brightness(0.78);
}

.system-board-preview::after {
  background:
    linear-gradient(180deg, rgba(3, 8, 10, 0.02), rgba(3, 8, 10, 0.58)),
    radial-gradient(circle at 46% 28%, rgba(242, 178, 76, 0.12), transparent 150px);
}

.game-cover img {
  object-position: center 24%;
}

.game-cover::after {
  background:
    linear-gradient(180deg, rgba(3, 8, 10, 0.04), rgba(3, 8, 10, 0.84)),
    radial-gradient(circle at 50% 30%, rgba(242, 178, 76, 0.14), transparent 150px);
}

.news-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 54px 16px 16px;
}

.daily-cover-preview {
  padding-top: 58px;
}

.daily-cover-preview::before {
  position: absolute;
  top: 42px;
  right: 16px;
  width: 54px;
  height: 18px;
  border: 1px solid rgba(75, 215, 197, 0.18);
  background: rgba(75, 215, 197, 0.08);
  content: "LIVE";
  color: rgba(75, 215, 197, 0.82);
  font-size: 0.55rem;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.12em;
}

.daily-cover-preview strong {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(214, 224, 220, 0.58);
  font-size: 0.58rem;
  font-weight: 400;
}

.news-preview i {
  position: relative;
  display: block;
  min-height: 74px;
  border: 1px solid rgba(75, 215, 197, 0.12);
  background:
    linear-gradient(180deg, rgba(75, 215, 197, 0.22), rgba(122, 150, 168, 0.12)),
    rgba(4, 10, 12, 0.8);
}

.news-preview i::before,
.news-preview i::after {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(244, 246, 242, 0.16);
  content: "";
}

.news-preview i::before {
  bottom: 24px;
}

.news-preview i::after {
  bottom: 14px;
  right: 28px;
}

.copy-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 48px 16px 16px;
}

.copy-preview::before,
.copy-preview::after {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  content: "";
}

.copy-preview strong {
  position: absolute;
  top: 16px;
  left: calc(50% + 10px);
  color: rgba(244, 246, 242, 0.78);
  font-size: 0.75rem;
  font-weight: 400;
}

.game-preview {
  display: grid;
  grid-template-columns: repeat(8, 18px);
  grid-template-rows: repeat(6, 18px);
  align-content: center;
  justify-content: center;
  gap: 3px;
}

.game-preview b {
  background: rgba(75, 215, 197, 0.9);
  box-shadow: 0 0 14px rgba(75, 215, 197, 0.22);
}

.game-preview b:nth-child(2),
.game-preview b:nth-child(4),
.game-preview b:nth-child(6) {
  background: rgba(242, 178, 76, 0.92);
  box-shadow: 0 0 14px rgba(242, 178, 76, 0.2);
}

.writing-preview {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 48px 16px 16px;
}

.writing-preview b {
  display: block;
  width: 72%;
  height: 18px;
  border-bottom: 1px solid rgba(242, 178, 76, 0.24);
  color: rgba(244, 246, 242, 0.7);
  font-size: 0.72rem;
  font-weight: 400;
}

.writing-preview b:nth-of-type(2) {
  width: 88%;
}

.writing-preview b:nth-of-type(3) {
  width: 62%;
}

.schedule-preview {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 5px 8px;
  align-content: end;
  padding: 48px 16px 16px;
}

.schedule-preview i,
.schedule-preview b {
  display: block;
  height: 12px;
  background: rgba(75, 215, 197, 0.18);
}

.schedule-preview i:nth-of-type(2),
.schedule-preview b:nth-of-type(1) {
  background: rgba(242, 178, 76, 0.35);
}

.schedule-preview i:nth-of-type(3) {
  grid-column: span 2;
}

.schedule-preview b {
  width: 76%;
  justify-self: end;
}

.data-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 50px 16px 16px;
}

.data-preview i,
.data-preview b {
  display: block;
  min-height: 38px;
  border: 1px solid rgba(75, 215, 197, 0.12);
  background: rgba(75, 215, 197, 0.12);
}

.data-preview b {
  grid-column: span 2;
  min-height: 18px;
  background: rgba(242, 178, 76, 0.16);
}

.portfolio-preview {
  display: grid;
  place-items: center;
}

.portfolio-preview em {
  display: block;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(75, 215, 197, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 178, 76, 0.75) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(75, 215, 197, 0.13), transparent 58px);
}

.playground-lab {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.play-detail,
.ship-log {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.032);
}

.play-detail {
  min-height: 236px;
  padding: 24px;
}

.play-detail-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.play-detail-header span {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.play-detail-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.play-detail-header p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.play-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 22px 0 18px;
}

.play-detail-grid div + div {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.play-detail-grid b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.detail-icon {
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.detail-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.22));
}

.play-detail[data-mode="magazine"] .detail-icon,
.play-detail[data-mode="system"] .detail-icon {
  color: var(--amber);
}

.play-detail-grid p {
  margin: 12px 0 0;
  color: rgba(214, 224, 220, 0.76);
  font-size: 0.94rem;
  line-height: 1.68;
}

.play-showcase {
  margin: 2px 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.signal-showcase div,
.magazine-note,
.system-flow span,
.game-showcase {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 10, 12, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signal-showcase div {
  min-height: 74px;
  padding: 13px 14px;
}

.signal-showcase span,
.system-flow span,
.game-showcase span {
  display: block;
  color: rgba(75, 215, 197, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-showcase b {
  display: block;
  margin-top: 9px;
  color: rgba(244, 246, 242, 0.82);
  font-size: 0.9rem;
  line-height: 1.32;
}

.magazine-rack,
.magazine-library {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(190px, 0.78fr);
  gap: 13px;
  align-items: stretch;
}

.magazine-library {
  grid-template-columns: minmax(0, 1.42fr) minmax(220px, 0.78fr);
}

.magazine-shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.magazine-volume {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 178, 76, 0.16);
  background: rgba(8, 8, 6, 0.62);
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.magazine-volume:hover,
.magazine-volume:focus-visible,
.magazine-volume.is-active {
  border-color: rgba(242, 178, 76, 0.54);
  background: rgba(18, 13, 5, 0.72);
  box-shadow: 0 0 22px rgba(242, 178, 76, 0.08);
  transform: translateY(-3px);
  outline: 0;
}

.magazine-volume img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.78);
}

.magazine-volume span {
  display: block;
  padding: 7px 8px 8px;
  color: rgba(242, 178, 76, 0.86);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.magazine-reader {
  min-height: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(242, 178, 76, 0.14);
  background:
    linear-gradient(180deg, rgba(242, 178, 76, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 6, 0.64);
}

.magazine-reader b {
  display: block;
  color: var(--amber);
  font-size: 0.84rem;
  line-height: 1.4;
}

.magazine-reader p {
  margin: 12px 0 0;
  color: rgba(214, 224, 220, 0.75);
  font-size: 0.82rem;
  line-height: 1.62;
}

.magazine-reader small {
  display: block;
  margin-top: 13px;
  color: rgba(214, 224, 220, 0.46);
  font-size: 0.66rem;
  line-height: 1.45;
}

.magazine-rack figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 178, 76, 0.18);
  background: rgba(10, 8, 4, 0.62);
}

.magazine-rack img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.82);
}

.magazine-rack figcaption {
  padding: 9px 11px 10px;
  color: rgba(244, 246, 242, 0.7);
  font-size: 0.72rem;
  line-height: 1.38;
}

.magazine-note {
  padding: 14px;
}

.magazine-note b {
  display: block;
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.magazine-note p,
.system-flow p,
.game-showcase p {
  margin: 9px 0 0;
  color: rgba(214, 224, 220, 0.73);
  font-size: 0.82rem;
  line-height: 1.55;
}

.system-flow {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 22px minmax(130px, 1fr) 22px minmax(130px, 1fr) 22px minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
}

.system-flow span {
  min-height: 48px;
  padding: 13px 12px;
  color: rgba(242, 178, 76, 0.86);
  text-transform: none;
}

.system-flow i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(75, 215, 197, 0.15), rgba(75, 215, 197, 0.8));
}

.system-flow p {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.system-board-showcase {
  display: grid;
  grid-template-columns: minmax(116px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(242, 178, 76, 0.15);
  background:
    linear-gradient(180deg, rgba(242, 178, 76, 0.05), rgba(255, 255, 255, 0.022)),
    rgba(8, 8, 6, 0.56);
}

.system-board-showcase img {
  width: 100%;
  max-height: 122px;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid rgba(75, 215, 197, 0.12);
  filter: saturate(0.82) contrast(1.05) brightness(0.78);
}

.system-board-showcase figcaption {
  color: rgba(214, 224, 220, 0.76);
  font-size: 0.78rem;
  line-height: 1.55;
}

.game-showcase {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 15px;
  align-items: center;
  padding: 11px;
  border-color: rgba(75, 215, 197, 0.16);
}

.game-showcase img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  object-position: center 24%;
  border: 1px solid rgba(242, 178, 76, 0.18);
  filter: saturate(0.82) contrast(1.05) brightness(0.72);
}

.game-showcase b {
  display: block;
  color: rgba(244, 246, 242, 0.86);
  font-size: 0.92rem;
  line-height: 1.35;
}

.game-showcase span {
  margin-top: 10px;
  color: rgba(242, 178, 76, 0.84);
  text-transform: none;
}

.play-detail > a {
  display: inline-flex;
  color: var(--emerald);
  font-size: 0.92rem;
}

.play-detail > a[hidden] {
  display: none;
}

.play-detail > a::after {
  margin-left: 10px;
  content: "↗";
}

.ship-log {
  padding: 24px;
}

.ship-log > span {
  display: block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.ship-log ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(75, 215, 197, 0.5);
  list-style: none;
}

.ship-log li {
  position: relative;
}

.ship-log li::before {
  position: absolute;
  top: -24px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(75, 215, 197, 0.46);
  content: "";
}

.ship-log li:nth-child(4)::before {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(242, 178, 76, 0.42);
}

.ship-log b,
.ship-log small {
  display: block;
}

.ship-log b {
  color: rgba(244, 246, 242, 0.78);
  font-size: 0.78rem;
}

.ship-log small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .project-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playground-lab {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .playground {
    width: min(100vw - 28px, var(--max));
  }

  .playground .section-heading {
    grid-template-columns: 1fr;
  }

  .playground .section-heading h2 {
    padding-left: 42px;
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .playground .aside-line {
    padding-right: 0;
  }

  .playground .aside-line::after {
    display: none;
  }

  .project-shelf,
  .play-detail-grid,
  .magazine-library,
  .ship-log ol {
    grid-template-columns: 1fr;
  }

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

  .play-detail-header,
  .play-detail-header p {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .play-detail-grid div + div {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 0;
  }
}

/* Playground one-screen density pass for desktop/laptop viewports. */
@media (min-width: 1181px) {
  body.is-playground-view .topbar {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(-100%) !important;
  }

  .section.playground {
    min-height: 100svh;
    padding-top: 20px;
    padding-bottom: 10px;
    scroll-margin-top: 0;
  }

  .playground .section-heading {
    align-items: start;
    gap: 14px;
    margin-bottom: 10px;
  }

  .playground .section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(1.86rem, 2.42vw, 2.72rem);
    font-weight: 760;
    line-height: 0.96;
    letter-spacing: 0;
  }

  .playground .section-heading h2::before {
    top: 0.02em;
    margin-right: 0.16em;
    font-size: 0.72em;
  }

  .playground .section-heading h2::after {
    width: 28px;
    height: 3px;
    margin-left: 10px;
  }

  .playground .section-heading p {
    margin-top: 0;
    font-size: 0.72rem;
    letter-spacing: 0.006em;
    line-height: 1.45;
  }

  .playground .aside-line {
    margin-top: 2px;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    gap: 12px;
  }

  .playground-home-orbit {
    width: 34px;
    height: 34px;
  }

  .playground-controls {
    display: none;
  }

  .playground-controls button {
    min-height: 28px;
    padding: 0 12px;
    font-size: 0.69rem;
  }

  .project-shelf {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .play-card {
    grid-template-rows: minmax(116px, 0.72fr) auto auto auto auto;
    min-height: clamp(226px, 27vh, 292px);
    padding: 10px;
  }

  .play-card:hover,
  .play-card:focus-visible,
  .play-card.is-selected {
    --play-depth: 14px;
    --play-lift: -7px;
  }

  .mini-preview {
    height: clamp(116px, 13.2vh, 146px);
    min-height: 116px;
  }

  .mini-preview span {
    top: 10px;
    left: 12px;
    font-size: 0.63rem;
  }

  .news-preview {
    grid-template-rows: 1fr;
    gap: 8px;
    padding: 34px 12px 10px;
  }

  .daily-cover-preview {
    padding-top: 38px;
  }

  .daily-cover-preview::before {
    top: 24px;
    right: 10px;
    width: 40px;
    height: 15px;
    font-size: 0.45rem;
    line-height: 15px;
  }

  .daily-cover-preview strong {
    top: 10px;
    right: 10px;
    font-size: 0.48rem;
  }

  .news-preview i {
    min-height: 82px;
  }

  .copy-preview,
  .writing-preview,
  .schedule-preview {
    padding: 32px 12px 10px;
  }

  .data-preview {
    padding: 34px 12px 10px;
  }

  .game-preview {
    grid-template-columns: repeat(8, minmax(10px, 14px));
    grid-template-rows: repeat(6, minmax(10px, 14px));
    gap: 4px;
  }

  .writing-preview {
    gap: 6px;
  }

  .writing-preview b {
    height: 16px;
    font-size: 0.61rem;
  }

  .schedule-preview i,
  .schedule-preview b {
    height: 12px;
  }

  .data-preview i,
  .data-preview b {
    min-height: 38px;
  }

  .portfolio-preview em {
    width: clamp(78px, 8vw, 116px);
    height: clamp(78px, 8vw, 116px);
  }

  .play-card h3 {
    margin: 8px 0 4px;
    font-size: 0.84rem;
    letter-spacing: -0.01em;
  }

  .play-card p {
    display: -webkit-box;
    min-height: 28px;
    overflow: hidden;
    color: rgba(214, 224, 220, 0.7);
    font-size: 0.64rem;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .play-tags {
    gap: 6px 8px;
    margin: 5px 0;
    padding-top: 5px;
    font-size: 0.56rem;
  }

  .play-tags span + span::before {
    margin-right: 9px;
  }

  .play-card a {
    margin-top: 0;
    font-size: 0.66rem;
  }

  .playground-lab {
    margin-top: 8px;
  }

  .play-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
    gap: 8px 14px;
    min-height: 116px;
    padding: 10px 14px;
  }

  .play-detail-header {
    grid-column: 1 / -1;
    grid-template-columns: auto auto 1fr;
    gap: 8px 12px;
    padding-bottom: 5px;
  }

  .play-detail-header span {
    font-size: 0.62rem;
  }

  .play-detail-header h3 {
    font-size: 0.88rem;
  }

  .play-detail-header p {
    grid-column: auto;
    min-width: 0;
    overflow: hidden;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .play-detail-grid {
    grid-column: 1;
    gap: 10px;
    padding: 5px 0 0;
  }

  .play-detail-grid div + div {
    padding-left: 12px;
  }

  .play-detail-grid b {
    font-size: 0.6rem;
  }

  .play-detail-grid p {
    display: block;
    margin-top: 5px;
    overflow: visible;
    font-size: 0.58rem;
    line-height: 1.34;
  }

  .detail-icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .detail-icon svg {
    width: 17px;
    height: 17px;
  }

  .play-showcase {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: stretch;
    margin: 0;
    padding: 0 0 0 14px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .signal-showcase {
    gap: 8px;
  }

  .signal-showcase div {
    min-height: 48px;
    padding: 8px 10px;
  }

  .signal-showcase span,
  .system-flow span,
  .game-showcase span {
    font-size: 0.56rem;
  }

  .signal-showcase b {
    margin-top: 5px;
    font-size: 0.66rem;
  }

  .magazine-rack,
  .magazine-library {
    grid-template-columns: 0.85fr 0.85fr 1fr;
    gap: 9px;
  }

  .magazine-library {
    grid-template-columns: minmax(0, 1.24fr) minmax(170px, 0.76fr);
  }

  .magazine-shelf {
    gap: 5px;
  }

  .magazine-volume img {
    aspect-ratio: 7 / 3.1;
  }

  .magazine-volume span {
    padding: 4px 6px;
    font-size: 0.46rem;
  }

  .magazine-reader {
    padding: 7px 8px;
  }

  .magazine-reader b {
    font-size: 0.58rem;
  }

  .magazine-reader p {
    margin-top: 4px;
    font-size: 0.52rem;
    line-height: 1.26;
  }

  .magazine-reader small {
    margin-top: 6px;
    font-size: 0.52rem;
  }

  .magazine-rack img {
    aspect-ratio: 16 / 5.8;
  }

  .magazine-rack figcaption {
    padding: 6px 8px;
    font-size: 0.56rem;
  }

  .magazine-note {
    padding: 9px 10px;
  }

  .magazine-note b {
    font-size: 0.62rem;
  }

  .magazine-note p,
  .system-flow p,
  .game-showcase p {
    margin-top: 5px;
    font-size: 0.6rem;
    line-height: 1.38;
  }

  .system-flow {
    grid-template-columns: minmax(78px, 1fr) 12px minmax(86px, 1fr) 12px minmax(88px, 1fr) 12px minmax(82px, 1fr);
    gap: 7px;
  }

  .system-flow span {
    min-height: 34px;
    padding: 8px 9px;
  }

  .game-showcase {
    grid-template-columns: 104px 1fr;
    gap: 11px;
    padding: 8px;
  }

  .game-showcase img {
    height: 82px;
  }

  .game-showcase b {
    font-size: 0.66rem;
  }

  .play-detail > a {
    grid-column: 1;
    font-size: 0.68rem;
  }

  .ship-log {
    padding: 10px 12px;
  }

  .ship-log > span {
    margin-bottom: 9px;
    font-size: 0.58rem;
  }

  .ship-log ol {
    gap: 6px;
    padding-top: 8px;
  }

  .ship-log li::before {
    top: -12px;
    width: 5px;
    height: 5px;
  }

  .ship-log b {
    font-size: 0.55rem;
  }

  .ship-log small {
    margin-top: 2px;
    font-size: 0.52rem;
    line-height: 1.12;
  }

  .playground-connect {
    grid-template-columns: minmax(350px, 1.15fr) minmax(260px, 0.78fr) minmax(270px, 0.68fr);
    gap: 12px;
    margin-top: 4px;
    padding: 4px 0;
  }

  .playground-connect .ship-log {
    min-height: 50px;
    padding: 6px 9px;
  }

  .playground-connect .ship-log > span {
    margin-bottom: 6px;
  }

  .playground-connect .ship-log ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sidequest-invite {
    min-height: 48px;
    padding-left: 16px;
  }

  .sidequest-invite p {
    font-size: 0.66rem;
    line-height: 1.24;
  }

  .sidequest-invite span {
    margin-top: 5px;
    font-size: 0.62rem;
  }

  .connect-actions {
    gap: 5px;
    padding-left: 12px;
  }

  .connect-actions :is(a, button) {
    gap: 8px;
    min-height: 20px;
    padding: 0;
    font-size: 0.58rem;
  }

  .connect-icon {
    width: 17px;
    height: 17px;
  }

  .connect-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.55;
  }
}

.playground :is(h2, h3, h4, p, a, span, small, b, button, li) {
  font-family: var(--mono) !important;
}

@media (min-width: 1181px) and (min-height: 820px) {
  .section.playground {
    padding-top: clamp(34px, 4vh, 52px);
    padding-bottom: clamp(18px, 2.4vh, 30px);
  }

  .playground .section-heading {
    gap: 20px;
    margin-bottom: clamp(18px, 2vh, 28px);
  }

  .playground .section-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 3.2vw, 4.2rem);
    line-height: 0.98;
  }

  .playground .section-heading h2::before {
    margin-right: 0.18em;
    font-size: 0.76em;
  }

  .playground .section-heading h2::after {
    width: 44px;
    height: 5px;
    margin-left: 14px;
  }

  .playground .section-heading p,
  .playground .aside-line {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .playground-home-orbit {
    width: 44px;
    height: 44px;
  }

  .project-shelf {
    gap: 16px;
  }

  .play-card {
    grid-template-rows: minmax(170px, 0.9fr) auto auto auto auto;
    min-height: clamp(330px, 34vh, 420px);
    padding: 14px;
  }

  .mini-preview {
    height: clamp(168px, 18.5vh, 230px);
    min-height: 168px;
  }

  .mini-preview span {
    top: 14px;
    left: 16px;
    font-size: 0.72rem;
  }

  .news-preview {
    gap: 10px;
    padding: 48px 14px 14px;
  }

  .daily-cover-preview {
    padding-top: 54px;
  }

  .daily-cover-preview::before {
    top: 38px;
    right: 14px;
    width: 50px;
    height: 17px;
    font-size: 0.52rem;
    line-height: 17px;
  }

  .daily-cover-preview strong {
    top: 14px;
    right: 14px;
    font-size: 0.56rem;
  }

  .copy-preview,
  .writing-preview,
  .schedule-preview {
    padding: 44px 14px 14px;
  }

  .data-preview {
    padding: 46px 14px 14px;
  }

  .game-preview {
    grid-template-columns: repeat(8, minmax(13px, 18px));
    grid-template-rows: repeat(6, minmax(13px, 18px));
    gap: 4px;
  }

  .writing-preview {
    gap: 9px;
  }

  .writing-preview b {
    height: 18px;
    font-size: 0.7rem;
  }

  .schedule-preview i,
  .schedule-preview b {
    height: 14px;
  }

  .data-preview i,
  .data-preview b {
    min-height: 48px;
  }

  .play-card h3 {
    margin: 12px 0 6px;
    font-size: 1rem;
    line-height: 1.16;
  }

  .play-card p {
    min-height: 38px;
    font-size: 0.74rem;
    line-height: 1.46;
  }

  .play-tags {
    gap: 8px 10px;
    margin: 8px 0;
    padding-top: 8px;
    font-size: 0.64rem;
  }

  .play-card a {
    font-size: 0.76rem;
  }

  .playground-lab {
    margin-top: 16px;
  }

  .play-detail {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
    gap: 12px 20px;
    min-height: 190px;
    padding: 16px 20px;
  }

  .play-detail-header {
    gap: 8px 14px;
    padding-bottom: 9px;
  }

  .play-detail-header span {
    font-size: 0.68rem;
  }

  .play-detail-header h3 {
    font-size: 1rem;
  }

  .play-detail-header p {
    font-size: 0.76rem;
  }

  .play-detail-grid {
    gap: 18px;
    padding-top: 10px;
  }

  .play-detail-grid div + div {
    padding-left: 18px;
  }

  .play-detail-grid b {
    font-size: 0.72rem;
  }

  .play-detail-grid p {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .detail-icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .detail-icon svg {
    width: 19px;
    height: 19px;
  }

  .play-showcase {
    padding-left: 20px;
  }

  .signal-showcase div {
    min-height: 58px;
    padding: 10px 12px;
  }

  .signal-showcase span,
  .system-flow span,
  .game-showcase span {
    font-size: 0.62rem;
  }

  .signal-showcase b {
    font-size: 0.74rem;
  }

  .magazine-library {
    grid-template-columns: minmax(0, 1.3fr) minmax(210px, 0.8fr);
    gap: 10px;
  }

  .magazine-shelf {
    gap: 7px;
  }

  .magazine-volume img {
    aspect-ratio: 7 / 4;
  }

  .magazine-volume span {
    padding: 5px 7px;
    font-size: 0.52rem;
  }

  .magazine-reader {
    padding: 10px 11px;
  }

  .magazine-reader b {
    font-size: 0.66rem;
  }

  .magazine-reader p {
    margin-top: 6px;
    font-size: 0.62rem;
    line-height: 1.38;
  }

  .magazine-reader small {
    font-size: 0.55rem;
  }

  .magazine-note p,
  .system-flow p,
  .game-showcase p {
    font-size: 0.68rem;
    line-height: 1.46;
  }

  .system-flow span {
    min-height: 40px;
    padding: 10px;
  }

  .game-showcase {
    grid-template-columns: 118px 1fr;
    padding: 10px;
  }

  .game-showcase img {
    height: 94px;
  }

  .game-showcase b {
    font-size: 0.75rem;
  }

  .playground-connect {
    grid-template-columns: minmax(350px, 1.12fr) minmax(280px, 0.82fr) minmax(290px, 0.7fr);
    gap: 18px;
    margin-top: 16px;
    padding: 10px 0;
  }

  .playground-connect .ship-log {
    min-height: 86px;
    padding: 12px 14px;
  }

  .playground-connect .ship-log > span {
    margin-bottom: 10px;
    font-size: 0.64rem;
  }

  .playground-connect .ship-log ol {
    gap: 8px;
    padding-top: 12px;
  }

  .ship-log li::before {
    top: -16px;
    width: 6px;
    height: 6px;
  }

  .ship-log b {
    font-size: 0.62rem;
  }

  .ship-log small {
    font-size: 0.6rem;
    line-height: 1.18;
  }

  .sidequest-invite {
    min-height: 86px;
    padding-left: 22px;
  }

  .sidequest-invite p {
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .sidequest-invite span {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  .connect-actions {
    gap: 7px;
    padding-left: 14px;
  }

  .connect-actions :is(a, button) {
    gap: 9px;
    min-height: 24px;
    padding: 0;
    font-size: 0.74rem;
  }

  .connect-icon {
    width: 18px;
    height: 18px;
  }

  .connect-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Hero motion final overrides: keep this at EOF so the experiment is easy to remove. */
.hero-motion-enabled .stellar-map {
  background:
    radial-gradient(ellipse at calc(54% + var(--hero-space-x)) calc(44% + var(--hero-space-y)), rgba(75, 215, 197, 0.045), transparent 38%),
    radial-gradient(ellipse at 51% 72%, rgba(242, 178, 76, 0.026), transparent 30%),
    linear-gradient(180deg, rgba(1, 4, 6, 0.42), rgba(3, 8, 10, 0.72)) !important;
  isolation: isolate;
}

.hero.section.hero-motion-enabled {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  .hero.section.hero-motion-enabled {
    overflow-x: clip;
  }
}

.hero-motion-enabled .hero-space-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block !important;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--hero-space-x), var(--hero-space-y), 0);
  animation: hero-space-arrive 1.2s ease-out forwards;
  will-change: transform, opacity;
}

.hero-motion-enabled .hero-nebula-layer,
.hero-motion-enabled .hero-star-depth {
  position: absolute;
  inset: 0;
  display: block;
  transform: translate3d(var(--hero-depth-x), var(--hero-depth-y), 0);
  will-change: transform, opacity;
}

.hero-motion-enabled .hero-nebula-layer-back {
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 58% 26%, rgba(142, 238, 222, 0.14), transparent 28%),
    radial-gradient(ellipse at 48% 62%, rgba(57, 118, 109, 0.16), transparent 34%),
    linear-gradient(115deg, transparent 14%, rgba(38, 97, 91, 0.08) 42%, transparent 71%);
  filter: blur(12px);
  animation: hero-nebula-drift-back 58s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-nebula-layer-mid {
  opacity: 0.24;
  background:
    radial-gradient(ellipse at 73% 44%, rgba(242, 178, 76, 0.11), transparent 24%),
    radial-gradient(ellipse at 42% 38%, rgba(75, 215, 197, 0.12), transparent 32%),
    linear-gradient(74deg, transparent 18%, rgba(108, 246, 222, 0.04) 50%, transparent 78%);
  filter: blur(8px);
  animation: hero-nebula-drift-mid 46s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-star-depth-near {
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(223, 252, 245, 0.78) 0 0.9px, transparent 1.15px),
    radial-gradient(circle, rgba(75, 215, 197, 0.62) 0 0.75px, transparent 1px),
    radial-gradient(circle, rgba(242, 178, 76, 0.45) 0 0.7px, transparent 1px);
  background-position: 12px 24px, 94px 68px, 168px 14px;
  background-size: 162px 138px, 221px 192px, 271px 229px;
  animation: hero-stars-drift-near 38s linear infinite;
}

.hero-motion-enabled .hero-star-depth-far {
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(223, 252, 245, 0.46) 0 0.65px, transparent 0.95px),
    radial-gradient(circle, rgba(75, 215, 197, 0.34) 0 0.55px, transparent 0.8px);
  background-position: 60px 42px, 10px 88px;
  background-size: 118px 108px, 182px 156px;
  animation: hero-stars-drift-far 72s linear infinite;
}

.hero-motion-enabled .hero-observatory {
  z-index: 2;
}

.hero-motion-enabled .hero-observatory .observatory-axis .axis-glow {
  stroke: rgba(142, 238, 222, 0.28) !important;
  stroke-width: 1px !important;
  filter: url("#observatory-glow-soft") !important;
  animation:
    hero-axis-light-in 0.9s ease-out 0.5s both,
    hero-axis-breathe 10.5s ease-in-out 1.7s infinite !important;
}

.hero-motion-enabled .hero-observatory .observatory-rings {
  transform-box: fill-box;
  transform-origin: 50% 51%;
  animation: hero-orbit-field-sway 28s ease-in-out infinite !important;
  will-change: transform;
}

.hero-motion-enabled .hero-observatory .observatory-ring {
  filter: drop-shadow(0 0 2px rgba(75, 215, 197, 0.08));
}

.hero-motion-enabled .hero-observatory .observatory-spiral-glow {
  display: block !important;
  stroke: rgba(142, 238, 222, 0.24) !important;
  stroke-width: 2.2px !important;
  stroke-linecap: round;
  opacity: 0.2 !important;
  filter: url("#observatory-glow-soft") !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral {
  stroke: rgba(222, 249, 244, 0.76) !important;
  stroke-width: 0.72px !important;
  stroke-linecap: round;
  stroke-dasharray: 1 !important;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 2px rgba(142, 238, 222, 0.18)) !important;
  animation: hero-spiral-draw 1.45s cubic-bezier(0.22, 0.74, 0.24, 1) 1s forwards !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral-flow {
  display: block !important;
  fill: none;
  stroke: rgba(191, 255, 244, 0.78);
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-dasharray: 0.008 0.058;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: url("#observatory-glow-soft");
  animation:
    hero-spiral-flow-arrive 0.8s ease-out 2.05s forwards,
    hero-spiral-flow 32s linear 2.05s infinite !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-halo {
  opacity: 0;
  animation: hero-nexus-arrive 0.75s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-core {
  opacity: 0;
  animation:
    hero-nexus-arrive 0.75s cubic-bezier(0.2, 0.8, 0.25, 1) both,
    hero-nexus-breathe 7.6s ease-in-out 2.6s infinite !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(1),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(2) {
  animation-delay: 1.5s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(3),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(4) {
  animation-delay: 1.72s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(5),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(6) {
  animation-delay: 1.94s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(7),
.hero-motion-enabled .hero-observatory .spiral-nexus-points circle:nth-child(8) {
  animation-delay: 2.16s, 2.6s !important;
}

.hero-motion-enabled .hero-observatory .observatory-origin {
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .origin-nebula,
.hero-motion-enabled .hero-observatory .origin-globe-reference,
.hero-motion-enabled .hero-observatory .origin-motion-overlay {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-earth-float 9.5s ease-in-out infinite;
  will-change: transform;
}

.hero-motion-enabled .hero-observatory .origin-motion-overlay {
  display: block !important;
  pointer-events: none;
}

.hero-motion-enabled .hero-observatory .origin-nebula {
  opacity: 0.3 !important;
  filter: url("#observatory-glow-soft") !important;
  animation:
    hero-earth-float 9.5s ease-in-out infinite,
    hero-earth-halo-breathe 8.5s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring {
  fill: none;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring-outer {
  stroke: rgba(75, 215, 197, 0.28);
  stroke-width: 0.5px;
  stroke-dasharray: 1 6;
  opacity: 0.42;
  animation: hero-earth-halo-ring 16s ease-in-out infinite;
}

.hero-motion-enabled .hero-observatory .origin-halo-ring-inner {
  stroke: rgba(223, 252, 245, 0.22);
  stroke-width: 0.4px;
  opacity: 0.34;
  animation: hero-earth-halo-ring 13s ease-in-out -5s infinite reverse;
}

.hero-motion-enabled .hero-observatory .origin-light-latitudes {
  fill: none;
  stroke: rgba(182, 246, 230, 0.22);
  stroke-width: 0.36px;
  opacity: 0.62;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-earth-lines-drift 19s ease-in-out infinite alternate;
}

.hero-motion-enabled .hero-observatory .origin-ring-particle {
  opacity: 0.7;
  filter: url("#observatory-glow-soft");
}

.hero-motion-enabled .hero-observatory .particle-cyan {
  fill: rgba(75, 215, 197, 0.9);
}

.hero-motion-enabled .hero-observatory .particle-white {
  fill: rgba(223, 252, 245, 0.76);
}

.hero-motion-enabled .hero-observatory .particle-amber {
  fill: rgba(242, 178, 76, 0.78);
}

.hero-motion-enabled .hero-observatory .observatory-orbit-points .orbit-glint {
  animation: hero-orbit-glint-breathe 8.4s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-copy {
  animation: hero-copy-calm-in 0.9s ease-out 2.5s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-space-layers,
  .hero-observatory .observatory-spiral-flow,
  .hero-observatory .origin-motion-overlay {
    display: none !important;
  }

  .hero-motion-enabled .hero-observatory *,
  .hero-motion-enabled .hero-copy {
    animation: none !important;
  }
}

/* Hero alignment pass: keep the axis and fixed spiral nodes present at first paint. */
.hero-motion-enabled .hero-observatory .observatory-axis .axis-glow {
  animation: hero-axis-breathe 10.5s ease-in-out infinite !important;
}

.hero-motion-enabled .hero-observatory .observatory-axis > path:not(.axis-glow),
.hero-motion-enabled .hero-observatory .observatory-axis circle,
.hero-motion-enabled .hero-observatory .observatory-axis .axis-arrow {
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-halo {
  opacity: 0.48 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-core {
  opacity: 1 !important;
  animation: hero-nexus-breathe 7.6s ease-in-out infinite !important;
  animation-delay: 0s !important;
}

.hero-motion-enabled .hero-observatory .spiral-nexus-points circle {
  animation-delay: 0s !important;
}

/* Hide retired SVG globe construction layers; keep only the reference earth image. */
.hero-observatory .origin-nebula,
.hero-observatory .origin-motion-overlay,
.hero-observatory .origin-globe-wash,
.hero-observatory .origin-globe-outline,
.hero-observatory .origin-globe-native,
.hero-observatory .origin-globe-shell,
.hero-observatory .origin-continent-wash,
.hero-observatory .origin-point {
  display: none !important;
}

/* Hero direct-first-paint tuning: no opening reveal for copy or spiral, softer earth plate. */
.hero-motion-enabled .hero-copy {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.hero-motion-enabled .hero-observatory .observatory-spiral-flow {
  opacity: 1 !important;
  animation: hero-spiral-flow 32s linear infinite !important;
}

.hero-motion-enabled .hero-observatory .origin-globe-reference {
  opacity: 0.66 !important;
  mix-blend-mode: screen;
  filter: brightness(1.08) saturate(1.08) contrast(0.96) !important;
}

/* Hero playground portal: isolated two-sided visual experiment. */
.hero-mode-toggle {
  position: absolute;
  top: clamp(94px, 10vh, 122px);
  right: auto;
  left: clamp(560px, 62vw, 830px);
  z-index: 9;
  display: inline-grid;
  grid-template-columns: 36px auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(75, 215, 197, 0.28);
  color: rgba(142, 238, 222, 0.86);
  background: rgba(2, 8, 10, 0.46);
  box-shadow: 0 0 18px rgba(75, 215, 197, 0.08), inset 0 0 16px rgba(75, 215, 197, 0.045);
  cursor: pointer;
  transition: transform 260ms ease, border-color 260ms ease, color 260ms ease, background 260ms ease;
}

.hero-mode-toggle svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.hero-mode-toggle .toggle-arc,
.hero-mode-toggle .toggle-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero-mode-toggle circle {
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.9));
}

.hero-mode-toggle span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-mode-toggle:hover,
.hero-mode-toggle:focus-visible,
.hero.is-playground-portal .hero-mode-toggle {
  border-color: rgba(242, 178, 76, 0.5);
  color: rgba(242, 178, 76, 0.92);
  background: rgba(18, 12, 5, 0.48);
  transform: translateY(-2px);
}

.hero-mode-toggle:hover svg,
.hero.is-playground-portal .hero-mode-toggle svg {
  animation: hero-toggle-orbit 1.5s ease-in-out;
}

.hero-playground-portal {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: perspective(900px) rotateY(18deg) translateX(28px) scale(0.965);
  transform-origin: 50% 50%;
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.2, 0.78, 0.2, 1), filter 520ms ease;
  filter: blur(4px) saturate(0.8);
}

.hero-playground-portal::before {
  position: absolute;
  inset: 8% 6% 5% 8%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 49% 36%, rgba(75, 215, 197, 0.16), transparent 38%),
    radial-gradient(ellipse at 55% 70%, rgba(242, 178, 76, 0.09), transparent 32%);
  content: "";
  filter: blur(18px);
  opacity: 0.72;
}

.hero.is-playground-portal .hero-observatory {
  opacity: 0 !important;
  pointer-events: none;
  transform: perspective(900px) rotateY(-18deg) translateX(-28px) scale(0.92) !important;
  filter: blur(5px) saturate(0.7);
  transition: opacity 480ms ease, transform 680ms cubic-bezier(0.2, 0.78, 0.2, 1), filter 520ms ease;
}

.hero.is-playground-portal .observatory-mobile-links {
  opacity: 0;
  pointer-events: none;
}

.hero.is-playground-portal .hero-playground-portal {
  opacity: 1;
  pointer-events: auto;
  transform: perspective(900px) rotateY(0deg) translateX(0) scale(1);
  filter: blur(0) saturate(1);
}

.claw-machine {
  width: 100%;
  height: 100%;
  overflow: visible;
  font-family: var(--mono);
  shape-rendering: crispEdges;
}

.claw-machine text {
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.claw-bg-stars circle {
  fill: rgba(223, 252, 245, 0.58);
  animation: claw-star-pulse 5.6s ease-in-out infinite;
}

.claw-bg-stars circle:nth-child(2n) {
  fill: rgba(75, 215, 197, 0.62);
  animation-delay: -2.3s;
}

.claw-bg-stars circle:nth-child(3n) {
  fill: rgba(242, 178, 76, 0.56);
  animation-delay: -3.8s;
}

.claw-cabinet {
  animation: claw-cabinet-float 8.2s ease-in-out infinite;
  transform-origin: 430px 390px;
}

.machine-back {
  fill: rgba(1, 6, 10, 0.84);
  stroke: rgba(5, 12, 22, 0.92);
  stroke-width: 6;
}

.machine-frame {
  fill: rgba(3, 13, 14, 0.95);
  stroke: rgba(75, 215, 197, 0.72);
  stroke-width: 3;
  stroke-dasharray: 10 8;
  filter: drop-shadow(0 0 10px rgba(75, 215, 197, 0.2));
}

.machine-screen {
  fill: rgba(2, 8, 13, 0.025);
  stroke: rgba(242, 178, 76, 0.62);
  stroke-width: 2;
}

.machine-glass {
  fill: rgba(75, 215, 197, 0.008);
  stroke: rgba(142, 238, 222, 0.58);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.18));
}

.glass-depth-lines {
  fill: none;
  stroke: rgba(142, 238, 222, 0.16);
  stroke-width: 1.2;
  opacity: 0.54;
}

.machine-top {
  fill: rgba(75, 215, 197, 0.28);
  stroke: rgba(242, 178, 76, 0.86);
  stroke-width: 3;
  transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease;
}

.claw-title-link {
  cursor: pointer;
  outline: none;
}

.claw-title-link:hover .machine-top,
.claw-title-link:focus-visible .machine-top {
  fill: rgba(242, 178, 76, 0.2);
  stroke: rgba(75, 215, 197, 0.95);
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.32));
}

.machine-title {
  fill: rgba(223, 252, 245, 0.95);
  font-size: 24px;
  font-weight: 800;
  text-shadow: 3px 0 0 rgba(242, 178, 76, 0.72), -3px 0 0 rgba(255, 0, 128, 0.28);
  transition: fill 180ms ease;
}

.machine-subtitle {
  fill: rgba(75, 215, 197, 0.72);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 2px 0 0 rgba(2, 8, 10, 0.8);
}

.machine-entry-icon {
  fill: none;
  stroke: rgba(75, 215, 197, 0.82);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 6px rgba(75, 215, 197, 0.24));
  transition: stroke 180ms ease, filter 180ms ease, transform 180ms ease;
}

.machine-entry-icon rect {
  fill: rgba(2, 8, 10, 0.68);
}

.machine-entry-icon circle {
  fill: rgba(242, 178, 76, 0.9);
  stroke: none;
}

.claw-title-link:hover .machine-title,
.claw-title-link:focus-visible .machine-title {
  fill: rgba(255, 242, 156, 0.96);
}

.claw-title-link:hover .machine-entry-icon,
.claw-title-link:focus-visible .machine-entry-icon {
  stroke: rgba(242, 178, 76, 0.92);
  filter: drop-shadow(0 0 8px rgba(242, 178, 76, 0.38));
  transform: translateX(3px);
}

.machine-pixel-trim rect {
  fill: rgba(242, 178, 76, 0.78);
  filter: drop-shadow(0 0 5px rgba(242, 178, 76, 0.38));
}

.claw-rail {
  fill: none;
  filter: drop-shadow(0 0 7px rgba(75, 215, 197, 0.32));
}

.claw-rail .rail-shadow {
  stroke: rgba(223, 252, 245, 0.16);
  stroke-width: 5;
}

.claw-rail .rail-main {
  stroke: rgba(142, 238, 222, 0.72);
  stroke-width: 2;
}

.claw-trolley rect {
  fill: rgba(8, 18, 22, 0.88);
  stroke: rgba(142, 238, 222, 0.72);
  stroke-width: 2;
}

.claw-trolley rect:nth-child(2) {
  fill: rgba(242, 178, 76, 0.52);
  stroke: rgba(242, 178, 76, 0.82);
}

.claw-cable {
  stroke: rgba(142, 238, 222, 0.72);
  stroke-width: 3.4;
  stroke-dasharray: 8 6;
  animation: claw-cable-flow 3.8s linear infinite;
}

.claw-cable-shadow {
  stroke: rgba(2, 8, 10, 0.78);
  stroke-width: 7;
}

.claw-cable-core {
  stroke: rgba(223, 252, 245, 0.2);
  stroke-width: 1.2;
}

.claw-hand {
  animation: claw-hand-hover 5.8s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.28));
}

.claw-head,
.claw-neck {
  fill: rgba(3, 13, 14, 0.9);
  stroke: rgba(142, 238, 222, 0.78);
  stroke-width: 2;
}

.claw-arm {
  fill: rgba(5, 20, 20, 0.7);
  stroke: rgba(142, 238, 222, 0.74);
  stroke-width: 2;
  stroke-linejoin: miter;
  transform-box: fill-box;
}

.claw-arm-left {
  transform-origin: 84% 6%;
  animation: claw-left-grip 5.8s ease-in-out infinite;
}

.claw-arm-right {
  transform-origin: 16% 6%;
  animation: claw-right-grip 5.8s ease-in-out infinite;
}

.claw-arm-mid {
  transform-origin: 50% 0%;
  animation: claw-mid-grip 5.8s ease-in-out infinite;
}

.claw-pixel-light {
  fill: rgba(242, 178, 76, 0.9);
  stroke: none;
  filter: drop-shadow(0 0 7px rgba(242, 178, 76, 0.36));
}

.prize-capsule {
  filter: drop-shadow(0 0 10px rgba(75, 215, 197, 0.26));
}

.prize-capsule .capsule-orb {
  fill: rgba(2, 8, 10, 0.42);
  stroke: rgba(75, 215, 197, 0.86);
  stroke-width: 3.2;
}

.prize-capsule .capsule-top {
  fill: rgba(75, 215, 197, 0.32);
  stroke: none;
}

.prize-capsule .capsule-bottom {
  fill: rgba(2, 8, 10, 0.42);
  stroke: none;
}

.prize-capsule .capsule-band {
  stroke: rgba(223, 252, 245, 0.5);
  stroke-width: 1.5;
}

.prize-capsule .capsule-button {
  fill: rgba(2, 8, 10, 0.82);
  stroke: rgba(75, 215, 197, 0.86);
  stroke-width: 2.5;
}

.prize-capsule .capsule-shine {
  fill: rgba(223, 252, 245, 0.56);
  stroke: none;
  filter: drop-shadow(0 0 6px rgba(223, 252, 245, 0.28));
}

.prize-capsule .capsule-shadow {
  fill: rgba(0, 0, 0, 0.35);
  stroke: none;
  filter: none;
}

.prize-capsule .capsule-pixel {
  fill: rgba(242, 178, 76, 0.72);
  stroke: none;
  filter: drop-shadow(0 0 5px rgba(242, 178, 76, 0.24));
}

.prize-capsule text {
  fill: rgba(223, 252, 245, 0.78);
  font-size: 10px;
  text-anchor: middle;
}

.capsule-writing,
.capsule-system {
  filter: drop-shadow(0 0 10px rgba(242, 178, 76, 0.22));
}

.capsule-writing .capsule-orb,
.capsule-system .capsule-orb {
  fill: rgba(21, 14, 5, 0.42);
  stroke: rgba(242, 178, 76, 0.86);
}

.capsule-writing .capsule-top,
.capsule-system .capsule-top {
  fill: rgba(242, 178, 76, 0.32);
}

.capsule-writing .capsule-pixel,
.capsule-system .capsule-pixel {
  fill: rgba(75, 215, 197, 0.62);
  filter: drop-shadow(0 0 5px rgba(75, 215, 197, 0.22));
}

.capsule-writing .capsule-button,
.capsule-system .capsule-button {
  stroke: rgba(242, 178, 76, 0.88);
}

.capsule-game .capsule-orb {
  fill: rgba(4, 18, 18, 0.46);
}

.capsule-game .capsule-top {
  fill: rgba(75, 215, 197, 0.24);
}

.empty-capsules {
  animation: empty-capsules-drift 8.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(223, 252, 245, 0.18));
}

.empty-capsule {
  fill: rgba(2, 8, 10, 0.28);
  stroke-width: 2;
  opacity: 0.82;
}

.empty-capsule-cyan {
  stroke: rgba(75, 215, 197, 0.72);
}

.empty-capsule-amber {
  stroke: rgba(242, 178, 76, 0.72);
}

.empty-capsule-mint {
  stroke: rgba(142, 238, 222, 0.62);
}

.empty-capsule-dim {
  stroke: rgba(223, 252, 245, 0.38);
  opacity: 0.48;
}

.pixel-cubes rect {
  fill: rgba(75, 215, 197, 0.7);
  filter: drop-shadow(0 0 7px rgba(75, 215, 197, 0.36));
}

.pixel-cubes rect:nth-child(2n) {
  fill: rgba(242, 178, 76, 0.74);
}

.machine-controls {
  fill: none;
  stroke: rgba(142, 238, 222, 0.34);
  stroke-width: 1;
}

.machine-controls rect {
  fill: rgba(75, 215, 197, 0.08);
  stroke: rgba(75, 215, 197, 0.46);
}

.machine-controls circle {
  fill: rgba(242, 178, 76, 0.52);
  stroke: rgba(242, 178, 76, 0.8);
  filter: drop-shadow(0 0 9px rgba(242, 178, 76, 0.28));
}

.machine-controls circle + circle {
  fill: rgba(75, 215, 197, 0.5);
  stroke: rgba(75, 215, 197, 0.8);
}

.machine-controls text {
  fill: rgba(223, 252, 245, 0.82);
  font-size: 12px;
}

.pixel-joystick rect {
  fill: rgba(255, 0, 128, 0.5);
  stroke: rgba(242, 178, 76, 0.82);
  stroke-width: 2;
}

.pixel-joystick path {
  stroke: rgba(242, 178, 76, 0.88);
  stroke-width: 5;
  stroke-linecap: square;
}

.pixel-joystick rect:last-child {
  fill: rgba(242, 178, 76, 0.9);
  stroke: rgba(242, 178, 76, 0.96);
}

.machine-status-lights .status-light {
  stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(75, 215, 197, 0.28));
}

.machine-status-lights .light-cyan {
  fill: rgba(24, 242, 164, 0.82);
  stroke: rgba(24, 242, 164, 0.95);
}

.machine-status-lights .light-amber {
  fill: rgba(255, 214, 29, 0.85);
  stroke: rgba(255, 214, 29, 0.95);
  filter: drop-shadow(0 0 9px rgba(255, 214, 29, 0.24));
}

.machine-status-lights .light-teal {
  fill: rgba(255, 128, 16, 0.74);
  stroke: rgba(255, 128, 16, 0.94);
  filter: drop-shadow(0 0 9px rgba(255, 128, 16, 0.22));
}

.machine-idea-slot {
  fill: none;
  stroke: rgba(242, 178, 76, 0.82);
  stroke-width: 2;
}

.idea-slot-panel {
  fill: rgba(7, 11, 24, 0.82);
}

.machine-idea-slot text {
  fill: rgba(255, 214, 29, 0.92);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 2px 0 0 rgba(255, 0, 128, 0.24);
}

.claw-enter-link rect {
  fill: rgba(75, 215, 197, 0.07);
  stroke: rgba(75, 215, 197, 0.58);
  stroke-width: 1;
  transition: fill 180ms ease, stroke 180ms ease;
}

.claw-enter-link text {
  fill: rgba(142, 238, 222, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: fill 180ms ease;
}

.claw-enter-link:hover rect,
.claw-enter-link:focus-visible rect {
  fill: rgba(242, 178, 76, 0.1);
  stroke: rgba(242, 178, 76, 0.72);
}

.claw-enter-link:hover text,
.claw-enter-link:focus-visible text {
  fill: rgba(242, 178, 76, 0.95);
}

@keyframes hero-toggle-orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@keyframes claw-cabinet-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes claw-hand-hover {
  0%,
  100% {
    transform: translate(0, 0);
  }
  42% {
    transform: translate(18px, 10px);
  }
  72% {
    transform: translate(-12px, 4px);
  }
}

@keyframes claw-left-grip {
  0%,
  28%,
  100% {
    transform: rotate(-8deg) translateX(-1px);
  }
  45%,
  58% {
    transform: rotate(12deg) translateX(2px);
  }
  76% {
    transform: rotate(-12deg) translateX(-2px);
  }
}

@keyframes claw-right-grip {
  0%,
  28%,
  100% {
    transform: rotate(8deg) translateX(1px);
  }
  45%,
  58% {
    transform: rotate(-12deg) translateX(-2px);
  }
  76% {
    transform: rotate(12deg) translateX(2px);
  }
}

@keyframes claw-mid-grip {
  0%,
  28%,
  100% {
    transform: scaleY(0.96);
  }
  45%,
  58% {
    transform: scaleY(1.08);
  }
  76% {
    transform: scaleY(0.92);
  }
}

@keyframes claw-cable-flow {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes empty-capsules-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  36% {
    transform: translate(4px, -5px);
  }
  68% {
    transform: translate(-3px, 3px);
  }
}

@keyframes claw-star-pulse {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.88;
  }
}

@media (min-width: 761px) {
  .hero-playground-portal {
    top: 78px;
    height: calc(100% - 78px);
  }
}

@media (max-width: 760px) {
  .hero-mode-toggle {
    top: 18px;
    right: 18px;
    grid-template-columns: 32px;
    padding: 4px;
  }

  .hero-mode-toggle span {
    display: none;
  }

  .hero.is-playground-portal .hero-observatory {
    display: none;
  }

  .hero-playground-portal {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .claw-bg-stars circle,
  .claw-cabinet,
  .claw-cable,
  .claw-hand,
  .hero-mode-toggle:hover svg,
  .hero.is-playground-portal .hero-mode-toggle svg {
    animation: none !important;
  }
}

/* Homepage intent pass: central rotate control + visible left-side gateways. */
.hero {
  position: relative;
}

.hero-mode-toggle {
  left: calc(50% + 4px) !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.hero-mode-toggle:hover,
.hero-mode-toggle:focus-visible,
.hero.is-playground-portal .hero-mode-toggle {
  transform: translateX(-50%) translateY(-2px) !important;
}

.hero .hero-actions {
  display: none !important;
}

.home-next-horizon,
.career-arc-entry {
  position: relative;
  z-index: 6;
  width: max-content;
  max-width: min(390px, 100%);
  color: rgba(223, 252, 245, 0.84);
  text-decoration: none;
}

.home-next-horizon {
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  bottom: clamp(24px, 4.2vh, 54px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 3px 8px 3px 0;
  border-radius: 4px;
  pointer-events: none;
}

.home-next-horizon img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  opacity: 0.8;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 7px rgba(75, 215, 197, 0.36));
  transition: opacity 220ms ease, filter 220ms ease;
}

.home-next-horizon span {
  display: grid;
  gap: 4px;
}

.home-next-horizon strong,
.career-arc-entry-copy strong {
  color: rgba(110, 239, 219, 0.98);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.15;
}

.home-next-horizon small,
.career-arc-entry-copy small {
  color: rgba(190, 205, 202, 0.68);
  font-size: 0.72rem;
  line-height: 1.35;
}

.career-arc-entry {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  min-height: 52px;
  padding: 8px 13px 8px 9px;
  border: 1px solid rgba(75, 215, 197, 0.62);
  border-radius: 4px;
  background: rgba(4, 13, 15, 0.3);
  box-shadow:
    0 0 28px rgba(75, 215, 197, 0.42),
    0 0 64px rgba(75, 215, 197, 0.16),
    inset 0 0 16px rgba(75, 215, 197, 0.07);
  cursor: pointer;
  pointer-events: auto;
  outline: none;
  animation: career-entry-pulse 4.8s ease-in-out infinite;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.career-arc-entry-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(75, 215, 197, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(75, 215, 197, 0.76), 0 0 30px rgba(75, 215, 197, 0.22);
}

.career-arc-entry-mark::before,
.career-arc-entry-mark::after {
  position: absolute;
  content: "";
  background: rgba(75, 215, 197, 0.92);
  box-shadow: 0 0 8px rgba(75, 215, 197, 0.58);
}

.career-arc-entry-mark::before {
  width: 20px;
  height: 1px;
}

.career-arc-entry-mark::after {
  width: 1px;
  height: 20px;
}

.career-arc-entry-mark span {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(223, 252, 245, 0.9);
  border-radius: 50%;
  background: rgba(75, 215, 197, 0.5);
  box-shadow: 0 0 7px rgba(75, 215, 197, 0.72);
}

.career-arc-entry-copy {
  display: grid;
  gap: 4px;
}

.career-arc-entry-arrow {
  margin-left: 7px;
  color: rgba(75, 215, 197, 0.86);
  font-size: 1.05rem;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.career-arc-entry:hover,
.career-arc-entry:focus-visible {
  border-color: rgba(242, 178, 76, 0.72);
  background: rgba(24, 20, 11, 0.42);
  box-shadow:
    0 0 22px rgba(242, 178, 76, 0.28),
    inset 0 0 14px rgba(242, 178, 76, 0.05);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.career-arc-entry:hover .career-arc-entry-mark,
.career-arc-entry:focus-visible .career-arc-entry-mark {
  border-color: rgba(242, 178, 76, 0.9);
  box-shadow: 0 0 14px rgba(242, 178, 76, 0.62);
}

.career-arc-entry:hover .career-arc-entry-mark::before,
.career-arc-entry:hover .career-arc-entry-mark::after,
.career-arc-entry:focus-visible .career-arc-entry-mark::before,
.career-arc-entry:focus-visible .career-arc-entry-mark::after {
  background: rgba(242, 178, 76, 0.86);
}

.career-arc-entry:hover .career-arc-entry-copy strong,
.career-arc-entry:focus-visible .career-arc-entry-copy strong,
.career-arc-entry:hover .career-arc-entry-arrow,
.career-arc-entry:focus-visible .career-arc-entry-arrow {
  fill: rgba(242, 178, 76, 0.92);
  color: rgba(242, 178, 76, 0.92);
}

.career-arc-entry:hover .career-arc-entry-arrow,
.career-arc-entry:focus-visible .career-arc-entry-arrow {
  transform: translate(2px, -2px);
}

.hero.is-playground-portal .career-arc-entry {
  opacity: 0;
  pointer-events: none;
}

.home-next-horizon[hidden],
.career-arc-entry[hidden] {
  display: none !important;
}

.hero.is-playground-portal .home-next-horizon {
  opacity: 0;
  pointer-events: none;
}

@keyframes career-entry-pulse {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .hero-mode-toggle {
    left: auto !important;
    right: 18px !important;
    transform: none !important;
  }

  .hero-mode-toggle:hover,
  .hero-mode-toggle:focus-visible,
  .hero.is-playground-portal .hero-mode-toggle {
    transform: translateY(-2px) !important;
  }

  .career-arc-entry {
    max-width: calc(100vw - 36px);
  }

  .home-next-horizon {
    right: 18px;
    bottom: 22px;
  }
}

/* Career Signal Room: evidence frames + signal decoding, replacing the earlier film-strip treatment. */
.career-arc {
  --career-room-height: clamp(390px, calc(100vh - 330px), 548px);
  position: relative;
  width: min(1540px, calc(100vw - 48px));
  padding-top: clamp(72px, 7vh, 92px);
  padding-bottom: clamp(14px, 2vh, 24px);
}

.career-arc::before {
  position: absolute;
  inset: 88px -30px 28px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 44% 47%, rgba(75, 215, 197, 0.1), transparent 28rem),
    linear-gradient(90deg, rgba(5, 6, 8, 0.16), rgba(255, 255, 255, 0.025) 45%, rgba(5, 6, 8, 0.18)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
  content: "";
  opacity: 0.78;
}

.career-header {
  margin-bottom: 8px;
  color: rgba(75, 215, 197, 0.72);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.career-header i {
  background: linear-gradient(90deg, rgba(75, 215, 197, 0.42), rgba(255, 255, 255, 0.09), transparent);
}

.career-arc .section-heading {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 3vw, 42px);
  margin-bottom: clamp(12px, 1.8vh, 20px);
}

.career-arc .section-heading h2 {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(2.45rem, 4.3vw, 4.15rem);
  line-height: 0.94;
  text-shadow: 0 0 32px rgba(244, 246, 242, 0.1);
}

.career-arc .section-heading p {
  max-width: 560px;
  margin: 0 0 4px;
  color: rgba(244, 246, 242, 0.66);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.38;
}

.career-layout {
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 3.72fr);
  gap: clamp(12px, 1.5vw, 22px);
  align-items: stretch;
}

.career-timeline {
  gap: 0;
  min-height: 0;
  height: var(--career-room-height);
  padding: 0;
  border-left: 1px solid rgba(75, 215, 197, 0.18);
  background:
    linear-gradient(90deg, rgba(75, 215, 197, 0.07), transparent 35%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 24px);
}

.career-timeline::before {
  top: 28px;
  bottom: 28px;
  left: 78px;
  background: linear-gradient(180deg, transparent, rgba(75, 215, 197, 0.46), rgba(242, 178, 76, 0.42), rgba(75, 215, 197, 0.36), transparent);
  box-shadow: 0 0 22px rgba(75, 215, 197, 0.12);
}

.career-timeline article {
  grid-template-columns: 74px 34px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  min-height: 25%;
  padding: clamp(10px, 1.35vh, 16px) 10px clamp(9px, 1.2vh, 14px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  cursor: default;
}

.career-timeline article:last-child {
  border-bottom: 0;
}

.career-timeline article::after {
  top: 10px;
  right: -16px;
  bottom: 10px;
  left: -1px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(75, 215, 197, 0.12), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px);
}

.career-timeline article::before {
  width: 38px;
  height: 38px;
  border-color: rgba(75, 215, 197, 0.85);
  background:
    radial-gradient(circle, rgba(75, 215, 197, 0.15), rgba(5, 6, 8, 0.9) 68%),
    rgba(5, 6, 8, 0.9);
  box-shadow: inset 0 0 0 7px rgba(75, 215, 197, 0.04);
}

.career-timeline article:nth-child(2)::before {
  border-color: rgba(242, 178, 76, 0.88);
  box-shadow: inset 0 0 0 7px rgba(242, 178, 76, 0.045);
}

.career-timeline span {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  letter-spacing: 0;
}

.career-timeline small {
  color: rgba(244, 246, 242, 0.54);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.career-timeline b {
  grid-column: 1;
  max-width: 74px;
  color: rgba(244, 246, 242, 0.88);
  font-size: clamp(0.68rem, 0.82vw, 0.86rem);
  line-height: 1.18;
}

.career-timeline article.is-active {
  transform: none;
}

.career-timeline article.is-active::after {
  border-color: rgba(75, 215, 197, 0.26);
  box-shadow:
    inset 0 0 24px rgba(75, 215, 197, 0.06),
    0 0 30px rgba(75, 215, 197, 0.08);
}

.career-matrix {
  --career-frame-width: clamp(184px, 17vw, 250px);
  position: relative;
  min-height: 0;
  height: var(--career-room-height);
  border-color: rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.72), rgba(255, 255, 255, 0.04) 43%, rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.055),
    inset 0 0 54px rgba(75, 215, 197, 0.035),
    0 34px 90px rgba(0, 0, 0, 0.34);
}

.career-matrix::before {
  left: var(--career-frame-width);
  z-index: 6;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(75, 215, 197, 0.58), rgba(242, 178, 76, 0.34), rgba(75, 215, 197, 0.38), transparent);
  box-shadow:
    -18px 0 34px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(75, 215, 197, 0.2);
}

.career-matrix::after {
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  width: 100%;
  border: 0;
  background:
    linear-gradient(90deg, transparent 0 calc(var(--career-frame-width) - 1px), rgba(75, 215, 197, 0.22) calc(var(--career-frame-width) - 1px) var(--career-frame-width), transparent var(--career-frame-width)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.2;
  animation: career-scan-drift 7s ease-in-out infinite alternate;
}

.career-row {
  grid-template-columns: var(--career-frame-width) minmax(0, 1fr);
  height: auto;
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(90deg, rgba(6, 12, 14, 0.56), rgba(255, 255, 255, 0.026) 42%, transparent),
    transparent;
}

.career-row::before {
  width: var(--career-frame-width);
  background:
    radial-gradient(circle at 50% 50%, rgba(75, 215, 197, 0.095), transparent 45%),
    linear-gradient(90deg, rgba(3, 5, 7, 0.9), rgba(10, 19, 19, 0.5), rgba(3, 5, 7, 0.88));
}

.career-row::after {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(75, 215, 197, 0.18) 23%, transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
  opacity: 0;
}

.career-row:hover,
.career-row.is-active {
  background:
    linear-gradient(90deg, rgba(75, 215, 197, 0.09), rgba(242, 178, 76, 0.028) 44%, rgba(255, 255, 255, 0.026)),
    transparent;
  transform: translateX(0);
}

.career-row img,
.career-image-placeholder {
  width: calc(100% - 28px);
  height: calc(100% - 16px);
  margin: 8px 14px;
  border-color: rgba(244, 246, 242, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 14px 32px rgba(0, 0, 0, 0.36);
  filter: saturate(0.64) brightness(0.72) contrast(1.1);
}

.career-row img.career-official-logo {
  object-fit: contain;
  object-position: center;
  padding: clamp(6px, 0.8vw, 12px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.94), rgba(238, 242, 244, 0.9) 54%, rgba(210, 218, 220, 0.84));
}

.career-row:first-child img {
  object-position: 58% 54%;
}

.career-row.is-active img,
.career-row.is-active .career-image-placeholder,
.career-row:hover img,
.career-row:hover .career-image-placeholder {
  filter: saturate(0.92) brightness(0.96) contrast(1.08);
  transform: scale(1.015);
}

.career-image-placeholder {
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(75, 215, 197, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(232, 171, 64, 0.15), transparent 38%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px),
    rgba(6, 11, 13, 0.72);
}

.career-row-copy {
  padding: clamp(10px, 1.45vh, 18px) clamp(18px, 2.2vw, 34px) clamp(10px, 1.45vh, 18px) clamp(18px, 2.2vw, 34px);
  padding-right: clamp(24px, 4vw, 64px);
}

.career-row-copy::before {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 7px;
  background: linear-gradient(90deg, rgba(75, 215, 197, 0.62), transparent);
  content: "";
}

.career-row-copy h3 {
  max-width: none;
  margin-bottom: clamp(5px, 0.9vh, 8px);
  font-size: clamp(1.02rem, 1.55vw, 1.52rem);
  line-height: 1.05;
}

.career-row-copy dl {
  gap: 4px;
}

.career-row-copy dl div {
  grid-template-columns: 50px 1fr;
  gap: 11px;
}

.career-row-copy dt {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.career-row-copy dd {
  max-width: none;
  color: rgba(244, 246, 242, 0.68);
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  line-height: 1.25;
}

.career-proof {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 5px;
  padding: clamp(10px, 1.5vh, 17px) clamp(12px, 1.4vw, 19px);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.018));
}

.career-proof strong {
  font-size: clamp(1.18rem, 1.9vw, 1.75rem);
  line-height: 1;
  align-self: end;
}

.career-proof span {
  align-self: end;
  margin-bottom: 0;
  color: rgba(244, 246, 242, 0.56);
  font-size: 0.66rem;
  line-height: 1.12;
}

.career-quote {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 9px;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.career-quote::before,
.career-quote::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 215, 197, 0.42), transparent);
  content: "";
}

@keyframes career-scan-drift {
  from {
    opacity: 0.12;
    transform: translateX(-6%);
  }

  to {
    opacity: 0.28;
    transform: translateX(8%);
  }
}

@media (max-width: 1180px) {
  .career-layout {
    grid-template-columns: 1fr;
  }

  .career-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: auto;
  }

  .career-timeline::before {
    display: none;
  }

  .career-timeline article {
    min-height: 132px;
  }

  .career-matrix {
    --career-frame-width: 260px;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .career-arc {
    width: min(var(--max), calc(100vw - 32px));
  }

  .career-arc .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .career-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .career-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .career-matrix::before,
  .career-matrix::after,
  .career-row::before {
    display: none;
  }

  .career-row img,
  .career-image-placeholder {
    width: calc(100% - 28px);
    height: 180px;
    margin: 14px;
  }

  .career-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .career-quote {
    grid-template-columns: 1fr;
  }

  .career-quote::before,
  .career-quote::after {
    display: none;
  }
}

/* Career Arc media strips: keep the complete project story visible without adding rows. */
.career-row-media {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100% - 28px);
  height: calc(100% - 16px);
  margin: 8px 14px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  gap: 4px;
}

.career-row-media--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-row-media--triple {
  grid-template-columns: 0.86fr 1.14fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.career-row-media--triple img:first-child {
  grid-row: 1 / span 2;
}

.career-row-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(244, 246, 242, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 14px 32px rgba(0, 0, 0, 0.36);
  object-fit: cover;
  filter: saturate(0.64) brightness(0.72) contrast(1.1);
  transition: filter 180ms ease, transform 220ms ease;
}

.career-row-media img.career-official-logo {
  object-fit: contain;
  object-position: center;
  padding: clamp(6px, 0.8vw, 12px);
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.94), rgba(238, 242, 244, 0.9) 54%, rgba(210, 218, 220, 0.84));
}

.career-row:first-child .career-row-copy {
  align-content: start;
}

.career-row:hover .career-row-media img,
.career-row.is-active .career-row-media img {
  filter: saturate(0.92) brightness(0.96) contrast(1.08);
  transform: scale(1.015);
}

@media (max-width: 760px) {
  .career-row-media,
  .career-row-media--double,
  .career-row-media--triple {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 28px);
    height: 180px;
    margin: 14px;
  }

  .career-row-media--triple img:first-child {
    grid-row: 1 / span 2;
  }
}

/* Career Signal Room: give the evidence rows enough vertical room for the full proof stack. */
@media (min-width: 1181px) {
  .career-arc {
    --career-room-height: clamp(700px, calc(100vh - 230px), 820px);
  }

  .career-layout {
    grid-template-columns: minmax(132px, 0.28fr) minmax(0, 3.72fr);
  }

  .career-timeline::before {
    left: 78px;
  }

  .career-matrix {
    --career-frame-width: clamp(184px, 17vw, 250px);
  }

  .career-row {
    height: calc(var(--career-room-height) / 4);
  }

  .career-row-copy {
    padding-top: clamp(16px, 1.8vh, 24px);
    padding-bottom: clamp(16px, 1.8vh, 24px);
  }

}

/* The Unicorn Island image is intentionally a technical slot until the official project visual is supplied. */
.career-row-media .career-project-slot {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 215, 197, 0.2);
  background:
    linear-gradient(135deg, rgba(75, 215, 197, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(242, 178, 76, 0.14), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px),
    rgba(6, 11, 13, 0.76);
  color: rgba(244, 246, 242, 0.74);
  text-align: center;
}

.career-row-media .career-project-slot::before {
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(75, 215, 197, 0.25);
  content: "";
}

.career-row-media .career-project-slot span,
.career-row-media .career-project-slot strong,
.career-row-media .career-project-slot small {
  position: relative;
  z-index: 1;
  max-width: 90%;
  font-family: var(--mono);
  text-align: center;
}

.career-row-media .career-project-slot span {
  color: rgba(244, 246, 242, 0.54);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.career-row-media .career-project-slot strong {
  color: var(--cyan);
  font-size: clamp(0.65rem, 0.76vw, 0.82rem);
  letter-spacing: 0.08em;
}

.career-row-media .career-project-slot small {
  color: rgba(244, 246, 242, 0.56);
  font-size: 0.54rem;
  line-height: 1.25;
}

.career-row:hover .career-project-slot,
.career-row.is-active .career-project-slot {
  border-color: rgba(75, 215, 197, 0.42);
  box-shadow: inset 0 0 26px rgba(75, 215, 197, 0.08);
}

/* Standalone page gateways: the tab bar is intentionally removed. */
.career-arc {
  position: relative;
}

.page-home-orbit {
  width: 62px;
  height: 62px;
}

.career-arc .page-home-orbit {
  position: absolute;
  top: clamp(72px, 7vh, 92px);
  right: 0;
  z-index: 8;
}

.detail-back.page-home-orbit {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: var(--cyan);
  font-size: 0;
  letter-spacing: 0;
  text-decoration: none;
}

.page-home-orbit .playground-home-orbit-label {
  top: calc(100% + 10px);
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.detail-back.page-home-orbit:hover,
.detail-back.page-home-orbit:focus-visible {
  transform: none;
}

.machine-entry-hint {
  fill: rgba(223, 252, 245, 0.82);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.82;
  transition: fill 180ms ease, opacity 180ms ease;
}

.claw-title-link {
  cursor: pointer;
}

.claw-title-link .machine-top {
  filter: drop-shadow(0 0 6px rgba(75, 215, 197, 0.32));
  transition: filter 180ms ease, opacity 180ms ease;
}

.claw-title-link:hover .machine-entry-hint,
.claw-title-link:focus-visible .machine-entry-hint {
  fill: rgba(255, 242, 156, 0.98);
  opacity: 1;
}

.claw-title-link:hover .machine-top,
.claw-title-link:focus-visible .machine-top {
  filter: drop-shadow(0 0 8px rgba(75, 215, 197, 0.62)) drop-shadow(0 0 16px rgba(242, 178, 76, 0.24));
  opacity: 0.98;
}

.playground-home-orbit {
  filter: drop-shadow(0 0 10px rgba(75, 215, 197, 0.58)) drop-shadow(0 0 26px rgba(75, 215, 197, 0.24));
  animation: home-orbit-pulse 4.8s ease-in-out infinite;
}

.playground-home-orbit-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  color: rgba(142, 238, 222, 0.88);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(75, 215, 197, 0.42);
  transform: translateY(-50%);
}

.playground-home-orbit:hover,
.playground-home-orbit:focus-visible {
  animation-play-state: paused;
}

@keyframes home-orbit-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(75, 215, 197, 0.58)) drop-shadow(0 0 30px rgba(75, 215, 197, 0.24));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(75, 215, 197, 0.96)) drop-shadow(0 0 52px rgba(75, 215, 197, 0.44));
  }
}

.hero.is-playground-portal .career-arc-entry {
  opacity: 0.44;
  pointer-events: auto;
  cursor: not-allowed;
  animation: none;
  filter: saturate(0.6);
}

.hero.is-playground-portal .career-arc-entry:hover,
.hero.is-playground-portal .career-arc-entry:focus-visible {
  border-color: rgba(75, 215, 197, 0.46);
  background: rgba(4, 13, 15, 0.3);
  box-shadow: 0 0 14px rgba(75, 215, 197, 0.18), inset 0 0 12px rgba(75, 215, 197, 0.04);
  transform: none;
}

@media (max-width: 760px) {
  .career-home-link {
    top: 62px;
    right: 0;
  }

  .detail-title-row .detail-back.page-home-orbit {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .playground-home-orbit-label {
    top: calc(100% + 7px);
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .playground-home-orbit {
    animation: none;
  }
}
