.orbit-section {
  padding: 75px 4% 58px;
  background: #b8cccc;
  background: linear-gradient(145deg, #c2d2d6 10%, #bacfc9 55%, #d1c9d6);
  border-bottom: 1px solid #91a6ac;
}
.orbit-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.orbit-heading .eyebrow {
  margin-bottom: 15px;
}
.orbit-heading h2 {
  font-size: 65px;
  font-style: italic;
  letter-spacing: -0.035em;
}
.orbit-heading h2 > span {
  display: inline-block;
  font: 15px var(--mono);
  letter-spacing: 0;
  margin-left: 20px;
  border: 1px solid #7a949c;
  border-radius: 30px;
  padding: 5px 13px;
  vertical-align: middle;
}
.orbit-heading > p {
  font-size: 15px;
  color: #415960;
}
.game-shell {
  padding: 8px;
  border: 1px solid #f6ffff;
  border-radius: 16px;
  background: linear-gradient(125deg, #f4fcfc, #8c9da7 25%, #d5dfe3 55%, #8797a4 85%, #eaf1f2);
  box-shadow:
    0 24px 55px #324b5030,
    0 2px 0 #728792,
    inset 0 0 0 1px #80979f;
}
.player-title {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 2px 13px 8px;
  font: 11px var(--mono);
  color: #314754;
}
.player-title > span:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
}
.player-title i {
  font-style: normal;
  font-size: 21px;
}
.player-title button {
  border: 1px solid #8b9ea9;
  background: linear-gradient(#eef5f6, #c1d0d8);
  box-shadow: inset 0 1px #fff;
  border-radius: 4px;
  padding: 4px 9px;
  font: 11px var(--mono);
}
.game-stage {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  background: #789fa9;
  isolation: isolate;
  touch-action: pan-y;
}
.game-stage:focus-visible {
  outline-offset: 3px;
}
.game-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
.game-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    #182b30 3px,
    transparent 4px
  );
}
.game-hud {
  position: absolute;
  top: 23px;
  left: 27px;
  right: 27px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  pointer-events: none;
  z-index: 3;
  color: #f1ffff;
  text-shadow: 0 1px 8px #23434b;
}
.hud-label {
  font: 10px var(--mono);
  display: block;
  letter-spacing: 0.12em;
}
.game-hud strong {
  font:
    500 37px Barlow,
    Arial,
    sans-serif;
  line-height: 1.1;
}
.game-hud small {
  font: 14px var(--mono);
  margin-left: 2px;
}
.hud-middle {
  font: 10px var(--mono);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
}
.hud-middle > span:last-child {
  padding: 4px 10px;
  border: 1px solid #daffff66;
  border-radius: 3px;
  background: #153f4429;
}
.hud-right {
  text-align: right;
}
.start-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  color: #effcfd;
  background: linear-gradient(90deg, #21485088, transparent 70%);
}
.start-screen h3 {
  font:
    600 85px/0.95 Barlow,
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 25px #2e576045;
  margin: 16px 0 19px;
}
.start-screen h3 em {
  font-weight: 600;
  color: #dcefe0;
}
.start-screen > p:not(.start-hint):not(.intro-loading) {
  font-size: 15px;
  line-height: 1.55;
}
.intro-loading {
  font: 10px var(--mono);
  color: #e6f5ec;
}
.gel-button {
  position: relative;
  border: 1px solid #5e979c;
  border-radius: 32px;
  background: linear-gradient(#e9fffa 0%, #a5eee0 47%, #61bdb7 50%, #8cd2c6 100%);
  color: #153d47;
  box-shadow:
    inset 0 2px 2px #fff,
    0 3px 0 #517c8870,
    0 6px 24px #0e33383a;
  padding: 14px 31px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.gel-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.gel-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.start-screen .gel-button {
  margin-top: 26px;
  min-width: 200px;
}
.start-hint {
  font: 9px var(--mono);
  letter-spacing: 0.04em;
  margin-top: 16px !important;
}
.race-feedback {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  font:
    italic 40px Barlow,
    Arial,
    sans-serif;
  color: #effff3;
  text-align: center;
  text-shadow:
    0 0 15px #4fedda,
    0 3px 10px #1e3b40;
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.16s;
}
.race-feedback.visible {
  opacity: 1;
}
.beat-guide {
  position: absolute;
  bottom: 81px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  z-index: 4;
  color: #eefefe;
  pointer-events: none;
}
.beat-track {
  height: 18px;
  position: relative;
  border: 1px solid #c2f6f166;
  background: #15393e55;
  border-radius: 20px;
}
.beat-target {
  position: absolute;
  left: 43%;
  width: 14%;
  top: -4px;
  bottom: -4px;
  border: 1px solid #c1ffed;
  background: #d2fff333;
  border-radius: 3px;
}
#beat-cursor {
  position: absolute;
  top: 4px;
  left: 50%;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px 3px #baf6e8;
  transform: translateX(-50%);
}
.beat-guide > div:last-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 7px var(--mono);
  margin-top: 13px;
  white-space: nowrap;
}
.beat-guide b {
  font-weight: 400;
}
.race-controls {
  position: absolute;
  bottom: 21px;
  left: 25px;
  right: 25px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e5f7f3;
  font: 11px var(--mono);
}
.race-controls button {
  border: 1px solid #d2f9ed77;
  border-radius: 4px;
  background: #24585d99;
  color: #f1ffff;
  padding: 9px 15px;
  font: 12px var(--mono);
  backdrop-filter: blur(8px);
}
.race-controls .tap-button {
  background: linear-gradient(#cef8e9, #8ccec4);
  color: #21454b;
  border: 1px solid #e8fff9;
  min-width: 130px;
  font-weight: bold;
}
.pause-screen {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #203e4ab5;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #eefbf7;
  gap: 24px;
}
.pause-screen h3 {
  font:
    600 65px Barlow,
    Arial,
    sans-serif;
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  font-size: 13px;
  color: inherit;
}
.finish-screen {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #577d87ba;
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  padding: 60px 30px;
}
.polaroid {
  width: 310px;
  max-width: 50%;
  background: #f3f2ed;
  padding: 13px 13px 20px;
  box-shadow: 0 12px 40px #173c4466;
  transform: rotate(-4deg);
  text-align: center;
  color: #2c464b;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  display: block;
}
.polaroid > p {
  font: 9px var(--mono);
  margin: 15px 0 7px;
}
.polaroid h3 {
  font:
    italic 35px Barlow,
    Arial,
    sans-serif;
}
#finish-stats {
  font: 11px var(--mono);
  margin-top: 8px;
}
.finish-actions {
  color: #effff6;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
}
.finish-actions > p {
  font:
    italic 26px Barlow,
    Arial,
    sans-serif;
  max-width: 210px;
}
.finish-actions > a {
  font: 11px var(--mono);
  text-decoration: underline;
  cursor: pointer;
}
.media-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(#e7eff0dd, #c2d2d8ee);
  border: 1px solid #9eafb5;
  border-radius: 0 0 9px 9px;
  padding: 20px 23px 17px;
  margin-top: 7px;
}
.track-info {
  display: flex;
  align-items: center;
  gap: 13px;
}
.track-disc {
  font: 42px Arial;
  color: #567784;
}
.track-info strong {
  font-size: 13px;
  font-weight: normal;
  display: block;
}
.track-info > div > span {
  display: block;
  font: 8px var(--mono);
  margin-top: 6px;
}
.layer-meter {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
.layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #5c717b;
  font: 8px var(--mono);
}
.layer small {
  font: 7px var(--mono);
}
.eq {
  display: flex;
  gap: 3px;
  align-items: end;
  height: 29px;
}
.eq i {
  width: 5px;
  height: 12px;
  background: #9badb4;
  border-top: 1px solid #e9f3f2;
  border-radius: 2px 2px 0 0;
}
.eq i:nth-child(2) {
  height: 25px;
}
.eq i:nth-child(3) {
  height: 18px;
}
.layer.active .eq i {
  background: linear-gradient(#e4f9e7, #72a99e 50%, #426d79);
  box-shadow: 0 0 8px #95e4c43d;
}
.is-playing .layer.active .eq i {
  animation: eq 0.6s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.is-playing .layer.active .eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.is-playing .layer.active .eq i:nth-child(3) {
  animation-delay: -0.15s;
}
.streak-display {
  text-align: right;
}
.streak-display strong {
  font:
    32px Barlow,
    Arial,
    sans-serif;
  display: block;
  line-height: 1;
}
.streak-display > span {
  font: 8px var(--mono);
  white-space: nowrap;
}
.game-notes {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 23px;
  color: #3e5960;
}
.game-notes p:first-child {
  max-width: 710px;
  font-size: 13px;
}
.game-notes b {
  font-weight: 600;
  margin-right: 12px;
}
.game-notes p:last-child {
  font: 10px/1.7 var(--mono);
  white-space: nowrap;
}
.game-notes p:last-child span {
  margin-left: 10px;
}
[hidden] {
  display: none !important;
}
.incense .game-stage {
  filter: saturate(0.75) sepia(0.1);
}
.game-error {
  background: #254957de;
  color: #fff;
  padding: 25px;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30%;
  z-index: 10;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin-top: 40px;
}
.about-columns p {
  color: var(--muted);
  font-size: 16px;
}
.about-columns p + p {
  margin-top: 18px;
}
.skills-line {
  font: 11px/1.9 var(--mono);
  margin-top: 25px;
  color: #45616e;
}
.experience > div {
  padding: 0 0 20px 20px;
  border-left: 1px solid #8fa6b5;
}
.experience > div + div {
  padding-top: 10px;
}
.experience span {
  font: 10px var(--mono);
}
.experience h3 {
  font-size: 21px;
  margin-top: 6px;
}
.experience p {
  font-size: 14px;
  margin-top: 5px;
}
.experience p + p {
  margin-top: 13px;
}
.small-projects {
  margin-top: 55px;
  border-top: 1px solid #a0b1be;
  padding-top: 30px;
}
.small-projects > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 25px;
}
.small-projects article > span {
  font: 10px var(--mono);
}
.small-projects h3 {
  font:
    600 27px Barlow,
    Arial,
    sans-serif;
  margin: 12px 0;
}
.small-projects p {
  font-size: 14px;
  color: var(--muted);
}
/* Frosted, desaturated Gen X soft-club materials, with period GUI details. */
:root {
  --paper: #e0e8e8;
  --ink: #293f49;
  --muted: #4f6870;
  --blue: #b9d0d7;
  --lilac: #c9cbd8;
}
.system-bar {
  background: #ccd8dc;
}
.hero-art {
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #ffffff77;
}
.hero-art img {
  object-position: 62% center;
  filter: saturate(0.65) contrast(0.94);
}
.hero-visual {
  perspective: 1000px;
}
.hero-art {
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 0.7s ease;
  box-shadow: 10px 16px 30px #5676801c;
}
.hero-visual:hover .hero-art {
  transform: rotateY(0) rotateX(0);
}
.visual-type {
  font-size: 51px;
  color: #3d5a6a;
  top: 32px;
  left: 25px;
}
.hero h1 span {
  color: #5d7e87;
}
.ticker {
  background: #bfd1d6;
}
.about {
  background: #cedcdf;
}
.contact {
  background: linear-gradient(115deg, #c6d6d4, #c9cbdb);
}
.project h3 span {
  display: none;
}
.project:hover h3 {
  color: #527d83;
}
.project {
  transition: background 0.2s;
}
.project-top {
  letter-spacing: 0.05em;
}
.hero h1 {
  text-shadow: 1px 1px 0 #fbffff55;
}
@keyframes eq {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
@media (min-width: 1600px) {
  .orbit-section {
    padding-left: max(4%, calc((100vw - 1480px) / 2));
    padding-right: max(4%, calc((100vw - 1480px) / 2));
  }
}
@media (max-width: 1000px) {
  .game-stage {
    height: 570px;
  }
  .track-info {
    gap: 8px;
  }
  .track-info strong {
    font-size: 11px;
  }
  .track-info > div > span {
    font-size: 7px;
  }
  .layer-meter {
    gap: 13px;
  }
  .media-panel {
    padding: 17px 14px;
    gap: 12px;
  }
  .track-disc {
    font-size: 32px;
  }
  .orbit-heading h2 {
    font-size: 54px;
  }
  .orbit-heading h2 > span {
    font-size: 12px;
    margin-left: 12px;
  }
  .start-screen {
    padding: 36px;
  }
  .start-screen h3 {
    font-size: 76px;
  }
  .game-notes {
    gap: 25px;
  }
  .game-notes p:first-child {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .orbit-section {
    padding: 45px 4%;
  }
  .orbit-heading {
    display: block;
  }
  .orbit-heading h2 {
    font-size: 47px;
  }
  .orbit-heading h2 > span {
    font-size: 10px;
    padding: 5px 9px;
    margin-left: 10px;
  }
  .orbit-heading > p {
    font-size: 13px;
    margin-top: 13px;
  }
  .orbit-heading > p br {
    display: none;
  }
  .game-shell {
    padding: 5px;
    border-radius: 11px;
  }
  .player-title {
    font-size: 9px;
    padding: 2px 6px 6px;
  }
  .player-title > span:nth-child(2) {
    display: none;
  }
  .player-title button {
    font-size: 9px;
  }
  .game-stage {
    height: 540px;
    border-radius: 6px;
  }
  .game-hud {
    top: 17px;
    left: 16px;
    right: 16px;
  }
  .game-hud strong {
    font-size: 29px;
  }
  .hud-label {
    font-size: 8px;
  }
  .hud-middle {
    font-size: 8px;
    max-width: 150px;
    padding-top: 1px;
    gap: 5px;
  }
  .start-screen {
    padding: 27px 23px;
    justify-content: flex-end;
    padding-bottom: 52px;
    background: linear-gradient(0deg, #254b5299, transparent 85%);
  }
  .start-screen h3 {
    font-size: 67px;
    margin: 13px 0 15px;
  }
  .start-screen > p:not(.start-hint):not(.intro-loading) {
    font-size: 13px;
  }
  .start-screen .gel-button {
    margin-top: 20px;
    font-size: 14px;
    padding: 12px 27px;
  }
  .start-hint {
    font-size: 8px;
  }
  .intro-loading {
    font-size: 9px;
  }
  .media-panel {
    flex-wrap: wrap;
    padding: 13px 12px;
    gap: 14px;
  }
  .track-info {
    width: 75%;
  }
  .layer-meter {
    order: 3;
    width: 100%;
    justify-content: space-around;
    gap: 7px;
    padding-top: 9px;
    border-top: 1px solid #9cadb266;
  }
  .track-info strong {
    font-size: 12px;
  }
  .track-info > div > span {
    font-size: 7px;
  }
  .streak-display > span {
    font-size: 6px;
  }
  .streak-display strong {
    font-size: 27px;
  }
  .streak-display {
    max-width: 20%;
  }
  .game-notes {
    display: block;
    margin-top: 18px;
  }
  .game-notes p:last-child {
    margin-top: 16px;
    font-size: 9px;
  }
  .game-notes p:last-child br {
    display: none;
  }
  .beat-guide {
    width: 270px;
    bottom: 94px;
  }
  .beat-guide > div:last-child {
    font-size: 6px;
    gap: 8px;
  }
  .race-controls {
    left: 12px;
    right: 12px;
    bottom: 22px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .race-controls > span {
    font-size: 9px;
    position: absolute;
    bottom: 52px;
    text-align: center;
    width: 100%;
    pointer-events: none;
  }
  .race-controls button {
    font-size: 11px;
  }
  .race-feedback {
    font-size: 33px;
    top: 25%;
  }
  .polaroid {
    max-width: 85%;
    width: 235px;
    padding: 9px 9px 13px;
  }
  .finish-screen {
    flex-direction: column;
    gap: 25px;
    padding: 38px 15px;
  }
  .finish-actions {
    gap: 13px;
    align-items: center;
  }
  .finish-actions > p {
    display: none;
  }
  .finish-actions .gel-button {
    font-size: 14px;
    padding: 12px 24px;
  }
  .polaroid h3 {
    font-size: 30px;
  }
  .polaroid > p {
    font-size: 8px;
    margin-top: 11px;
  }
  .finish-actions > a {
    font-size: 10px;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .small-projects > div {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .small-projects {
    margin-top: 32px;
  }
  .small-projects h3 {
    margin: 7px 0;
  }
  .small-projects p {
    font-size: 15px;
  }
  .hero-art {
    transform: none;
  }
  .visual-type {
    font-size: 45px;
  }
}
