:root {
  --ink: #f7fff6;
  --muted: #bed4d2;
  --dim: #7f9e9f;
  --bg: #06131a;
  --bg-2: #0b1e28;
  --panel: rgba(9, 24, 31, 0.82);
  --panel-solid: #102a32;
  --line: rgba(181, 239, 221, 0.18);
  --cyan: #63e7ff;
  --lime: #c8f75d;
  --coral: #ff6a61;
  --pink: #ff7ab8;
  --gold: #ffcb56;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 106, 97, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 22%, rgba(99, 231, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--bg), #07151a 46%, #10171b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  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: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("assets/lifecraft-background.jpg") center top / cover no-repeat;
  content: "";
  opacity: 0.42;
}

.bio-bubble-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.bio-bubble-layer.is-mid-layer {
  z-index: 10;
}

.bio-bubble-layer.is-front-layer {
  z-index: 12;
}

.bio-bubble {
  position: absolute;
  top: var(--top);
  width: var(--size);
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0);
  will-change: transform;
}

.bio-bubble.is-front {
  cursor: crosshair;
  pointer-events: auto;
}

.bio-bubble.is-popping {
  pointer-events: none;
}

.bio-bubble.is-left {
  left: var(--edge);
}

.bio-bubble.is-right {
  right: var(--edge);
}

.bio-bubble img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
  animation: bubble-bob var(--duration) ease-in-out var(--delay) infinite;
}

.bio-bubble.is-popping img {
  opacity: 0;
  animation: none;
}

.bubble-drop {
  position: fixed;
  z-index: 14;
  width: 42px;
  height: auto;
  pointer-events: none;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.34));
  animation: bubble-drop 500ms ease-out forwards;
}

@keyframes bubble-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(var(--sway), calc(var(--bob) * -1), 0) rotate(2deg);
  }
}

@keyframes bubble-pop {
  0% {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }

  60% {
    opacity: 0.7;
    transform: scale(1.24) rotate(7deg);
  }

  100% {
    opacity: 0;
    transform: scale(1.55) rotate(-9deg);
  }
}

@keyframes bubble-drop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 160px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(calc(100% - 32px), 1380px);
  min-height: 58px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 17, 22, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(5, 17, 22, 0.92);
}

.hero-content,
.hero-panel,
.section,
.detail-main,
.site-footer {
  position: relative;
  z-index: 3;
}

.brand {
  grid-column: 1;
  justify-self: start;
}

.brand img {
  width: 150px;
  height: auto;
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: 3px;
  padding: 3px;
  border: 2px solid rgba(255, 251, 238, 0.56);
  border-right-color: rgba(87, 92, 92, 0.72);
  border-bottom-color: rgba(87, 92, 92, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(#f7f2e9, #c6c2b9 48%, #a9a79f),
    #d8d3ca;
  box-shadow:
    inset 0 2px rgba(255, 255, 255, 0.72),
    0 10px 20px rgba(0, 0, 0, 0.28);
}

.site-nav .tool-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 2px solid #fff8ec;
  border-right-color: #898982;
  border-bottom-color: #898982;
  border-radius: 5px;
  color: #17232a;
  background:
    linear-gradient(#fffdf7 0 10%, #e5dfd5 10% 54%, #c8c1b7 54% 100%);
  box-shadow:
    inset -2px -2px rgba(0, 0, 0, 0.16),
    inset 2px 2px rgba(255, 255, 255, 0.84);
}

.site-nav .tool-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.site-nav .tool-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-nav .tool-button::after {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: 260px;
  padding: 8px 10px;
  border: 2px solid #f7f2e9;
  border-right-color: #6b7374;
  border-bottom-color: #6b7374;
  border-radius: 4px;
  color: #18242c;
  background: #fbf5e9;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
  content: attr(data-tip);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.site-nav .tool-button:hover,
.site-nav .tool-button:focus-visible {
  background:
    linear-gradient(#ffffff 0 10%, #f4e9d8 10% 54%, #d5cbbb 54% 100%);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  transform: translateY(-1px);
}

.site-nav .tool-button:hover::after,
.site-nav .tool-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-nav .nav-cta {
  background:
    linear-gradient(#e6ffb9 0 10%, #a9f77f 10% 54%, #59d9e8 54% 100%);
}

.creator-badge {
  display: inline-flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.creator-badge img {
  width: 38px;
  height: auto;
  image-rendering: auto;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.3));
}

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 68svh;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-template-rows: auto;
  align-items: end;
  gap: 32px;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #06131a;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.76;
  filter: saturate(1.08) contrast(1.04);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 18, 0.95) 0%, rgba(4, 12, 18, 0.64) 42%, rgba(4, 12, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 19, 26, 0.98) 0%, rgba(6, 19, 26, 0.08) 44%, rgba(6, 19, 26, 0.64) 100%);
  content: "";
  pointer-events: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(5, 17, 22, 0.62);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.carousel-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
  content: "";
}

.carousel-prev {
  left: 22px;
}

.carousel-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.carousel-next {
  right: 22px;
}

.carousel-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(99, 231, 255, 0.22);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: min(420px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.carousel-dots button.is-active {
  border-color: var(--lime);
  background: var(--lime);
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  width: min(760px, 100%);
  padding-bottom: 18px;
}

.hero-logo-wrap {
  --hero-logo-width: min(520px, 88vw);
  width: var(--hero-logo-width);
  margin: 0 0 34px;
  margin-left: max(0px, calc((100vw - var(--hero-logo-width)) / 2 - max(24px, calc((100vw - var(--max)) / 2))));
  position: relative;
}

.hero-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
  animation: logo-drift 7.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.amino-vortex {
  position: absolute;
  inset: -28% -18%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.amino-vortex img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--amino-size, 18px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0;
  transform:
    translate(-50%, -50%)
    translate(
      calc(cos(var(--start-rot)) * var(--start-radius)),
      calc(sin(var(--start-rot)) * var(--start-radius))
    )
    scale(0.52);
  animation: amino-vortex 4.8s linear infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.16));
}

.amino-vortex img:nth-child(1) { --start-rot: 12deg; --end-rot: 420deg; --start-radius: 26px; --end-radius: 210px; --delay: -0.2s; --amino-size: 16px; }
.amino-vortex img:nth-child(2) { --start-rot: 74deg; --end-rot: 516deg; --start-radius: 20px; --end-radius: 250px; --delay: -1.4s; --amino-size: 18px; }
.amino-vortex img:nth-child(3) { --start-rot: 138deg; --end-rot: 552deg; --start-radius: 30px; --end-radius: 225px; --delay: -2.4s; --amino-size: 15px; }
.amino-vortex img:nth-child(4) { --start-rot: 202deg; --end-rot: 642deg; --start-radius: 24px; --end-radius: 270px; --delay: -3.6s; --amino-size: 20px; }
.amino-vortex img:nth-child(5) { --start-rot: 266deg; --end-rot: 684deg; --start-radius: 18px; --end-radius: 218px; --delay: -4.1s; --amino-size: 17px; }
.amino-vortex img:nth-child(6) { --start-rot: 316deg; --end-rot: 760deg; --start-radius: 28px; --end-radius: 255px; --delay: -0.9s; --amino-size: 19px; }
.amino-vortex img:nth-child(7) { --start-rot: 44deg; --end-rot: 458deg; --start-radius: 34px; --end-radius: 236px; --delay: -2.9s; --amino-size: 14px; }
.amino-vortex img:nth-child(8) { --start-rot: 104deg; --end-rot: 532deg; --start-radius: 22px; --end-radius: 286px; --delay: -3.2s; --amino-size: 18px; }
.amino-vortex img:nth-child(9) { --start-rot: 176deg; --end-rot: 612deg; --start-radius: 27px; --end-radius: 242px; --delay: -0.5s; --amino-size: 15px; }
.amino-vortex img:nth-child(10) { --start-rot: 238deg; --end-rot: 674deg; --start-radius: 19px; --end-radius: 264px; --delay: -1.9s; --amino-size: 19px; }
.amino-vortex img:nth-child(11) { --start-rot: 298deg; --end-rot: 728deg; --start-radius: 32px; --end-radius: 228px; --delay: -2.1s; --amino-size: 16px; }
.amino-vortex img:nth-child(12) { --start-rot: 348deg; --end-rot: 790deg; --start-radius: 23px; --end-radius: 276px; --delay: -4.5s; --amino-size: 18px; }

@keyframes amino-vortex {
  0% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      translate(
        calc(cos(var(--start-rot)) * var(--start-radius)),
        calc(sin(var(--start-rot)) * var(--start-radius))
      )
      scale(0.42);
  }

  18% {
    opacity: 0.38;
  }

  72% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      translate(
        calc(cos(var(--end-rot)) * var(--end-radius)),
        calc(sin(var(--end-rot)) * var(--end-radius))
      )
      scale(2.35);
  }
}

@keyframes logo-drift {
  0%,
  100% {
    transform: translate3d(0, 1px, 0) rotate(-1.2deg);
  }

  50% {
    transform: translate3d(0, -6px, 0) rotate(1.25deg);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.65vw, 2.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.1;
}

.hero p {
  width: min(680px, 100%);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
}

.hero-actions,
.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.team-links a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 900;
}

.button.primary {
  color: #081217;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 16px 34px rgba(99, 231, 255, 0.16);
}

.button.secondary,
.team-links a {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible,
.team-links a:hover,
.team-links a:focus-visible {
  transform: translateY(-2px);
  outline: 0;
}

.hero-panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  width: min(420px, 100%);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 21, 27, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel dl {
  margin: 0;
}

.hero-panel div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel dt,
.quick-facts span,
.section-label,
.feature-mark {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 98px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 56px;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.title-icon,
.fact-icon {
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  object-fit: contain;
}

.title-icon {
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.section-title-row {
  margin-bottom: 18px;
}

.section-title-row h2 {
  margin-bottom: 0;
}

.section-title-row .title-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.fact-icon {
  margin-bottom: 14px;
}

.intro-text p,
.feature-lead p,
.steam-callout p,
.team-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-text-with-sprite {
  display: grid;
  grid-template-columns: clamp(88px, 10vw, 118px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.intro-ribosome {
  position: sticky;
  top: 104px;
  width: 100%;
  margin: 0;
  justify-self: center;
}

.intro-ribosome img {
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.quick-facts {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.quick-facts div {
  padding: 24px;
  background: rgba(15, 39, 46, 0.86);
}

.quick-facts strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.9vw, 1.55rem);
  line-height: 1;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
}

.feature-lead {
  position: sticky;
  top: 120px;
  align-self: start;
}

.feature-heading {
  margin-bottom: 22px;
}

.feature-heading img {
  width: 118px;
  height: auto;
  margin-bottom: 16px;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
}

.feature-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.35vw, 2.55rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  display: block;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(11, 30, 40, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.feature-card:nth-child(2n) {
  border-color: rgba(99, 231, 255, 0.3);
}

.feature-card:nth-child(3n) {
  border-color: rgba(255, 106, 97, 0.3);
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: rgba(200, 247, 93, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(11, 30, 40, 0.86);
  outline: 0;
  transform: translateY(-3px);
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-link-label {
  display: inline-flex;
  margin-top: 20px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.feature-mark img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
}

.shot-carousel.section {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 40px), 1380px);
  padding-top: 78px;
  padding-bottom: 92px;
}

.shot-carousel.section::before {
  position: absolute;
  z-index: -1;
  top: 24px;
  bottom: 26px;
  left: 50%;
  width: 100vw;
  background:
    linear-gradient(90deg, rgba(8, 20, 30, 0), rgba(8, 20, 30, 0.88) 10%, rgba(8, 20, 30, 0.94) 50%, rgba(8, 20, 30, 0.88) 90%, rgba(8, 20, 30, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border-block: 1px solid rgba(151, 231, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 60px rgba(0, 0, 0, 0.22);
  content: "";
  transform: translateX(-50%);
}

.shot-carousel .section-copy {
  max-width: 840px;
  margin-bottom: 34px;
}

.shot-carousel .section-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.shot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #07151a;
  box-shadow: var(--shadow);
}

.shot-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.shot-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.shot-video-slide {
  background: #06131a;
}

.video-link {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #06131a;
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
}

.video-link > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) saturate(1.08);
  transform: scale(1.01);
}

.video-link::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(99, 231, 255, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(4, 13, 18, 0.1), rgba(4, 13, 18, 0.48));
  content: "";
}

.video-play {
  position: relative;
  z-index: 1;
  width: clamp(74px, 9vw, 118px);
  height: clamp(74px, 9vw, 118px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(200, 247, 93, 0.88), rgba(99, 231, 255, 0.88)),
    rgba(5, 18, 24, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
}

.video-play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #06131a;
  content: "";
  transform: translate(-50%, -50%);
}

.video-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(5, 18, 24, 0.74);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-link:hover .video-play,
.video-link:focus-visible .video-play {
  transform: scale(1.06);
}

.gallery {
  padding-top: 72px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.gallery-grid button {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #102a32;
  cursor: zoom-in;
}

.gallery-grid button::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  filter: saturate(1.16) brightness(1.08);
  transform: scale(1.035);
}

.gallery-grid button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.steam-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  border: 1px solid rgba(200, 247, 93, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 247, 93, 0.12), transparent 44%),
    rgba(11, 30, 40, 0.78);
}

.steam-callout h2 {
  max-width: 780px;
}

.steam-callout p {
  max-width: 700px;
  margin-bottom: 0;
}

.team {
  padding-top: 70px;
}

.team-card {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 42px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 122, 184, 0.14), transparent 52%),
    var(--panel);
  box-shadow: var(--shadow);
}

.team-card h2 {
  max-width: 820px;
  font-size: clamp(1.75rem, 3.35vw, 3.45rem);
}

.team-copy > p {
  max-width: 740px;
}

.changelog {
  padding-top: 74px;
}

.changelog .section-copy {
  max-width: 820px;
  margin-bottom: 34px;
}

.changelog .section-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.changelog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.changelog-card,
.changelog-list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(11, 30, 40, 0.82);
}

.changelog-card img,
.changelog-list-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #07151a;
}

.changelog-card div,
.changelog-list-card div {
  padding: 20px;
}

.changelog-card time,
.changelog-list-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.changelog-card p,
.changelog-list-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.changelog-list-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.changelog-more {
  margin-top: 22px;
}

.changelog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.changelog-list-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 0.55fr);
}

.changelog-list-card img {
  height: 100%;
  min-height: 220px;
}

.changelog-list-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 0;
}

.about-images figure {
  margin: 0;
}

.about-images img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(99, 231, 255, 0.08), rgba(255, 122, 184, 0.08)),
    #07151a;
  image-rendering: pixelated;
}

.about-images figcaption {
  margin-top: 10px;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.detail-page .site-header {
  position: sticky;
  left: auto;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  transform: none;
}

.detail-main {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: end;
  padding: 54px 0 42px;
}

.detail-title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.detail-title img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  image-rendering: pixelated;
  background: rgba(0, 0, 0, 0.18);
}

.detail-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.7vw, 4.65rem);
}

.detail-hero p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.detail-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.detail-panel {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(11, 30, 40, 0.78);
}

.detail-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
}

.detail-panel p {
  color: var(--muted);
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-nav a:hover,
.detail-nav a:focus-visible {
  color: var(--ink);
  border-color: rgba(200, 247, 93, 0.42);
  outline: 0;
}

.lightbox {
  width: min(94vw, 1280px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.lightbox img {
  width: 100%;
  max-height: 86svh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  right: -6px;
  top: -48px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(10, 20, 24, 0.9);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 17px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .creator-badge {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 104px;
  }

  .hero-content,
  .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-panel {
    margin-bottom: 0;
  }

  .intro,
  .feature-band,
  .detail-hero,
  .detail-body {
    grid-template-columns: 1fr;
  }

  .feature-lead {
    position: static;
  }

  .feature-heading {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .feature-heading img {
    width: 92px;
  }

  .intro-ribosome {
    position: static;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steam-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .changelog-grid,
  .changelog-list {
    grid-template-columns: 1fr;
  }

  .changelog-list-card {
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 62px;
    margin-top: 10px;
  }

  .brand img {
    width: 136px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(300px, calc(100vw - 24px));
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 17, 22, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .tool-button {
    width: 100%;
    height: 56px;
    grid-template-columns: 42px 1fr;
    justify-content: start;
    padding: 6px 12px;
    place-items: center start;
  }

  .site-nav .tool-button span {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    color: #17232a;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0;
    white-space: normal;
  }

  .site-nav .tool-button::after {
    display: none;
  }

  .hero {
    padding: 88px 20px 34px;
  }

  .carousel-arrow {
    width: 40px;
    height: 48px;
  }

  .carousel-prev {
    left: 16px;
  }

  .carousel-next {
    right: 16px;
  }

  .carousel-dots {
    bottom: 14px;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-logo-wrap {
    --hero-logo-width: min(340px, 88vw);
    width: var(--hero-logo-width);
    margin-bottom: 24px;
    margin-left: max(0px, calc((100vw - var(--hero-logo-width)) / 2 - 20px));
  }

  .amino-vortex {
    inset: -16% -10%;
  }

  .hero-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 66px 0;
  }

  section[id] {
    scroll-margin-top: 110px;
  }

  .quick-facts {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .intro-text-with-sprite {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
  }

  .quick-facts div {
    padding: 20px;
  }

  .feature-grid,
  .gallery-grid,
  .changelog-grid,
  .changelog-list {
    grid-template-columns: 1fr;
  }

  .changelog-list-card {
    grid-template-columns: 1fr;
  }

  .changelog-list-card img {
    min-height: 0;
  }

  .steam-callout,
  .team-card {
    padding: 28px;
  }

  .section-title-row {
    gap: 12px;
    align-items: flex-start;
  }

  .section-title-row .title-icon {
    width: 48px;
    height: 48px;
  }

  .team-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .detail-page .site-header {
    min-height: 62px;
  }

  .detail-main {
    width: calc(100% - 32px);
    padding-top: 34px;
  }

  .detail-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-heading {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .feature-heading img {
    width: 72px;
  }

  .bio-bubble.is-left {
    left: 10px;
  }

  .bio-bubble.is-right {
    right: 10px;
  }

  .bio-bubble:nth-child(n+8) {
    display: none;
  }

  .site-footer {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-bubble img,
  .hero-logo,
  .amino-vortex img,
  .bubble-drop {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
