:root {
    --menu-height: 57px;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  scroll-snap-align: start;
  --background-opacity: 0;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/hero-background.jpg') no-repeat center center;
    opacity: var(--background-opacity);
  }

  #hero-canvas {
    grid-area: 1 / 1;
    width: 600px;
    height: auto;
    aspect-ratio: 6 / 5;
    max-width: 100%;
  }

  .hero-content {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    font-size: 16px;
    line-height: 150%;
    z-index: 1;
    padding: 0 16px;

    .logo {
      /* Safari can't handle this */
      /* filter: drop-shadow(0px 0px 25px #F16053); */
      width: 400px;
      height: auto;
      aspect-ratio: 40/13;
      max-width: 100%;
    }

    p {
      max-width: 500px;
      text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    }
  }

  .scroll-hint {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    bottom: 40px;
    align-items: center;
    gap: 13px;
    opacity: 0;
    transition: opacity 1s;

    .scroll-hint-circle {
      display: grid;
      place-items: center;
      width: 50px;
      height: 50px;
      border: 1px solid #F16053BB;
      border-radius: 25px;
    }

    p {
      color: #F16053;
      font-size: 14px
    }
  }
}

.hero-quote {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 1500px;
  min-height: 100vh;
  margin: auto;
  /* background: radial-gradient(50% 50% at 50% 50%, #F160534D 0%, rgba(241, 96, 83, 0.00) 100%); */
  scroll-snap-align: start;

  p {
    color: #EEE;
    text-align: center;
    font-family: Inter;
    font-size: 28px;
    font-weight: 600;
    line-height: 130%;
  }

  .text-reveal span {
    opacity: 0;
    animation: reveal 0.25s forwards;
    animation-delay: calc(var(--i) * pow(1.02, var(--i)) * 0.015s);
    animation-play-state: paused;

    &.dramatic {
      animation-delay: 1.5s;
      animation-duration: 1.5s;
    }
  }

  .text-reveal.active span {
    animation-play-state: running;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
  }
}

.hero-values {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  position: relative;

  .vstack {
    gap: 50px;
  }

  .hstack {
    gap: 16px;
    align-items: center;
  }

  canvas {
    width: 200px;
    height: 240px;
  }

  button {
    display: flex;
    width: 160px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.05);
    color: #EEE;
    font-family: "JetBrains Mono";
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.12px;
    cursor: pointer;

    span {
      color: #FF6D57;
    }

    &:hover {
      border: 1px solid #F16053;
      background: #913A32;
      color: #fff;

      span {
        color: #fff;
      }
    }
  }

  .desktop {
    h1 {
      font-size: 24px;

      a.anchor::after {
        width: 16px;
        height: 16px;
      }
    }

    .hstack {
      a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-decoration: none;
        padding: 16px 0 20px 0;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0);
        position: relative;
        /* transition: all 0.1s; */

        &:hover {
          border: 1px solid rgba(255, 255, 255, 0.15);
          background: rgba(255, 255, 255, 0.05);

          &::after {
            content: "";
            position: absolute;
            left: -20px;
            width: 240px;
            height: 240px;
            background: radial-gradient(50% 50% at 50% 50%, #F160534D 0%, rgba(241, 96, 83, 0.00) 100%);
          }

          button {
            border: 1px solid #F16053;
            background: #913A32;
            color: #fff;

            span {
              color: #fff;
            }
          }
        }
      }
    }
  }

  .mobile {
    width: 100%;
    max-width: 432px;
    gap: 24px;
    padding: 0 16px;

    canvas {
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      background: radial-gradient(50% 50% at 50% 50%, #F1605340 0%, rgba(241, 96, 83, 0.00) 100%);
      /* margin-bottom: 32px; */
    }

    h1 {
      font-size: 21px;
      font-weight: 400;
      margin-bottom: 8px;

      a {
        color: #B4B4B4;

        strong {
          font-weight: 600;
          color: #EEEEEE;
        }
      }
    }

    .vstack {
      align-items: stretch;
      gap: 16px;

      button {
        width: 100%;
        height: 48px;
        padding: 15px 24px;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 1.2px;
      }
    }
  }
}

#section-nav {
  display: flex;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 3;
  padding-left: 12px;
  padding-top: max(110px, calc(50vh - 370px));
  height: max(130px, calc(50vh - 350px));
  background: #000;

  &::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(#000, #0000)
  }

  .nav-item {
    font-family: "JetBrains Mono";
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.04px;
    color: rgba(255, 255, 255, 0.2);
  }

  .nav-item:hover {
    color: #FFF;
  }

  .nav-item.active {
    color: #F16053;
  }
}

.scroll-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  max-width: 1630px;
  padding: 0 16px;
  margin: auto;
}

.left-pane {
  display: flex;
  flex-direction: column;
  max-width: 50%;
}

.right-pane {
  flex: 1;
  height: calc(100vh - var(--menu-height));
  position: sticky;
  top: var(--menu-height);
  margin-top: var(--menu-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

#artwork-container {
  display: flex;
  justify-content: center;
  align-items: center;

  &>img,
  &>canvas {
    object-fit: contain;
  }

  &>* {
    position: absolute;
    display: flex;
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* Workaround for Safari otherwise it doesn't animate. */
    will-change: opacity;
    -webkit-user-select: none;
    user-select: none;

    &.active {
      opacity: 1;
      transition: 0.3s opacity 0.3s ease;
      pointer-events: auto;
    }
  }
}

.main-section {
  display: flex;

  .content {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
  }
}

.section-progress {
  position: sticky;
  width: 24px;
  height: min(calc(100vh - 290px), 670px);
  top: max(170px, calc(50vh - 310px));
  margin-top: max(170px, calc(50vh - 310px));
  margin-bottom: max(120px, calc(50vh - 360px));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;

  button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    opacity: 0.6;
    cursor: pointer;

    &:hover {
      opacity: 1;
    }
  }

  .track {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    .notch {
      width: 24px;
      border-left: 11px solid black;
      border-right: 11px solid black;
      background-color: #D9D9D9;
      opacity: 0.2;
      flex: 1;

      &:hover {
        opacity: 0.4;
      }

      &.active {
        anchor-name: --active-notch;
        flex: 4;

        @supports not (height: anchor-size(height)) {
          opacity: 1;
        }
      }
    }

    .thumb {
      position: absolute;
      position-anchor: --active-notch;
      top: anchor(top);
      width: 24px;
      height: anchor-size(height);
      border-left: 11px solid black;
      border-right: 11px solid black;
      background-color: #D9D9D9;
      transition: top 0.15s;
      z-index: 1;
    }
  }
}

.subsection {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  scroll-snap-align: start;

  &.active {
    opacity: 1;
  }

  h2 {
    font-size: 70px;
    font-weight: 600;
    line-height: 100%;
    text-transform: uppercase;
    word-break: break-all;
  }

  .subtitle {
    font-size: 21px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 400px;
  }

  h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 150%;
  }

  h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
  }

  h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
  }

  p {
    color: #B4B4B4;
    font-size: 16px;
    line-height: 150%;
    max-width: 600px;
  }

  code {
    font-family: "JetBrains Mono";
    font-size: 14px;
    color: #FFF;
    border: 1px solid #B4B4B480;
    border-radius: 2px;
    padding: 0 4px;
  }

  blockquote {
    font-style: italic;
  }

  ul,
  ol {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #B4B4B4;
    font-size: 16px;
    line-height: 150%;
    padding-left: 24px;
    max-width: 600px;
  }
}

footer {
  position: absolute;
  bottom: 0;
  text-align: center;
  color: #B4B4B4;
  font-size: 15px;
  opacity: 0.4;
  margin: 32px;

  a {
    color: #B4B4B4;
    text-decoration: none;
  }
}

@media (min-width: 660px) and (min-height: 460px) {
  .hero-values {
    .mobile {
      display: none;
    }
  }

  #safety {
    /* let the section nav overlap the content */
    margin-top: min(-130px, calc(350px - 50vh));
  }
}

@media (min-width: 660px) and (max-width: 1289px) {
  .subsection {
    h2 {
      font-size: 40px;

      a.anchor::after {
        width: 20px;
        height: 20px;
      }
    }

    .subtitle {
      font-size: 18px;
      margin: 0;
    }

    p,
    ul,
    ol {
      font-size: 15px;
    }
  }
}

@media (max-width: 659px) or (max-height: 459px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    >a.anchor::after {
      display: none;
    }
  }

  nav#menu:not(.expanded) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: transparent;
    border: none;
    right: 0;
    width: auto;

    .logo img {
      display: none;
    }
  }

  .hero {
    &::before {
      background-size: 800px 700px;
    }

    #hero-canvas {
      width: 360px;
      translate: 0 -80px;
    }

    .hero-content {
      gap: 100px;

      .logo {
        width: 280px;
      }

      p {
        max-width: 310px;
        font-size: 15px;
        text-wrap: pretty;
        color: #FFFFFFB4;
      }
    }
  }

  .hero-values {
    .desktop {
      display: none;
    }

    a {
      text-decoration: none;
    }
  }

  #section-nav {
    display: none;
    top: 50vh;
    height: 40px;
    padding-top: 20px;
    padding-left: 0;
  }

  .section-progress {
    display: none;
  }

  .main-section {
    .content {
      padding: 0;
    }
  }

  .subsection {
    .ornamentation {
      display: none;
    }
  }

  .right-pane {
    height: 100vh;
    top: 0;
    margin-top: 0;
  }
}

@media (max-width: 659px) {
  html {
    /* scroll-snap-type: unset; */
  }

  body {
    /* Fix for janky scrolling in Mobile Safari */
    padding-bottom: 100vh;
  }

  .hero-quote {
    p {
      font-size: 15px;
      font-weight: 400;
      font-style: normal;
      color: #B4B4B4;
      max-width: 224px;
    }
  }

  .scroll-container {
    flex-direction: column-reverse;
    gap: 0;
  }

  .left-pane {
    width: 100%;
    max-width: unset;
    gap: 48px;
    margin-top: -50vh;
  }

  .main-section {
    scroll-margin-top: 50vh;

    .content {
      gap: 48px;
      padding: 0;
    }
  }

  .subsection {
    scroll-margin-top: 50vh;
    height: unset;
    min-height: 50vh;
    justify-content: flex-start;
    padding: 16px 0;
    gap: 16px;

    h2 {
      font-size: 24px;
      margin-bottom: 0;
    }

    .subtitle {
      font-size: 18px;
      margin-top: 0;
      margin-bottom: 8px;
    }

    h3 {
      font-size: 24px;
    }

    p,
    ul,
    ol {
      font-size: 15px;
    }
  }

  .right-pane {
    flex: unset;
    width: 100%;
    height: 50vh;
    top: 0;
    margin-top: 0;
    margin-bottom: 50vh;

    &::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 100%;
      height: 8px;
      background: linear-gradient(#000, #0000)
    }
  }
}

@media (max-height: 459px) {
  .hero-values {
    .mobile {
      flex-direction: row-reverse;
      align-items: center;
      justify-content: center;
      max-width: unset;

      canvas {
        width: 100vh;
      }

      >.vstack {
        flex: 1;
        max-width: 350px;
      }
    }
  }
}

/* Artworks */

#safety2 {
  >g {
    transition: translate 0.5s ease;
    will-change: translate;
  }

  &.active {
    >g {
      transition: 1s translate 0.3s ease;
    }

    #safety2-group1 {
      translate: 50px 0;
    }
  }

  &.fade-out {
    #safety2-group1 {
      translate: 100px 0;
    }

    #safety2-group2 {
      translate: -50px 0;
    }
  }
}

#safety4 {
  >svg {
    width: 100%;
    height: 100%;
    touch-action: none;
  }

  .outline {
    opacity: 0;
  }

  .inner {
    path {
      stroke-dashoffset: var(--len);
      stroke-dasharray: var(--len);
    }
  }

  .pieces {
    opacity: 0;

    path:last-child {
      fill: #F16053;
      fill-opacity: 0.4;
      stroke: #F16053;
    }
  }

  .tooltip {
    display: flex;
    position: absolute;
    right: 50.205%;
    bottom: 83.1878%;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);

    &.hidden {
      visibility: hidden;
    }

    >.tooltip-edge-left {
      visibility: collapse;
    }

    &.left {
      clip-path: inset(0 100% 0 0);

      >.tooltip-edge-left {
        visibility: visible;
      }

      >.tooltip-edge-right {
        visibility: collapse;
      }
    }

    .tooltip-text {
      padding: 4px 8px;
      white-space: nowrap;
      height: fit-content;
      background-color: #000000B2;
      border: 1px solid #F16053;
      border-radius: 2px;
      font-family: 'JetBrains Mono';
      font-size: 12px;
      font-weight: 500;
      line-height: 120%;
      color: white;
    }
  }

  &.active,
  &.fade-out {
    .outline {
      opacity: 1;
      transition: opacity 0.5s;
    }

    .inner {
      path {
        stroke-dashoffset: 0;
        transition: 1.5s stroke-dashoffset 0.3s;
      }
    }

    .pieces {
      opacity: 1;
      transition: 0.5s opacity 1.3s;
    }

    .tooltip {
      clip-path: inset(0);
      transition: 0.6s clip-path 1.5s;
    }
  }
}

#safety5 {
  width: 550px;
  height: 550px;

  >canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .tooltip {
    position: absolute;
    left: 52%;
    top: 62%;
    padding: 4px 8px;
    white-space: nowrap;
    height: fit-content;
    background-color: #000000B2;
    border: 1px solid #F16053;
    border-radius: 2px;
    font-family: 'JetBrains Mono';
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    color: white;
    opacity: 0;
  }

  &.active {
    .tooltip {
      animation: 1.7s anim-fade-in ease forwards;
    }
  }
}

@keyframes anim-fade-in {
  85% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#safety8 {
  display: grid;
  place-items: center;

  canvas {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
  }

  svg {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

#safety9 {
  #safety9-top {
    translate: -5px 70px;
    transition: translate 1s ease-out;
  }

  #safety9-label {
    opacity: 0;
    transition: opacity 1s linear;
  }

  &.active {
    #safety9-top {
      translate: 0;
      transition: 1s translate 0.3s ease-out;
    }

    #safety9-label {
      opacity: 1;
    }
  }
}

#performance1 {
  &.active:not(:hover) {
    #performance1-shape1 {
      fill: #F1605380;
      stroke: #F16053;
    }

    #performance1-graph1 {
      stroke-dashoffset: 400;
    }
  }

  .shape {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.2);

    &:hover {
      fill: rgba(255, 255, 255, 0.2);
      stroke: rgba(255, 255, 255, 0.6);
    }
  }

  #performance1-shape1 {
    &:hover {
      fill: #F1605380;
      stroke: #F16053;
    }
  }

  .graph {
    stroke: white;
    stroke-width: 3;
    stroke-dashoffset: 1000;
    stroke-dasharray: 1000;
    transition: stroke-dashoffset 0.5s;
  }

  #performance1-graph1 {
    stroke: #F16053;
  }

  &:has(#performance1-shape1:hover) #performance1-graph1 {
    stroke-dashoffset: 400;
  }

  &:has(#performance1-shape2:hover) #performance1-graph2 {
    stroke-dashoffset: 200;
  }

  &:has(#performance1-shape3:hover) #performance1-graph3 {
    stroke-dashoffset: 300;
  }

  &:has(#performance1-shape4:hover) #performance1-graph4 {
    stroke-dashoffset: 200;
  }

  &:has(#performance1-shape5:hover) #performance1-graph5 {
    stroke-dashoffset: 400;
  }
}

#performance2 {
  .shape {
    fill: white;
    stroke: white;
    fill-opacity: 0.1;
    stroke-opacity: 0.2;
    transition: translate 1s ease;

    &:hover {
      fill-opacity: 0.5;
      stroke-opacity: 1;
    }
  }

  &.active {
    .shape {
      transition: 1s translate 0.3s ease;
      translate: 0;
    }
  }

  .network {
    translate: 0px 50px;

    &:hover {
      fill: #F1DE73;
      stroke: #F1DE73;
    }
  }

  .storage {
    translate: 0px -10px;

    &:hover {
      fill: #6860ED;
      stroke: #6860ED;
    }
  }

  .memory {
    translate: 62px -50px;

    &:hover {
      fill: #F16053;
      stroke: #F16053;
    }
  }

  .compute {
    translate: -56px -50px;

    &:hover {
      fill: #8BF2A9;
      stroke: #8BF2A9;
    }
  }

  &:has(.network:hover) {
    #performance2-network-color {
      r: 6;
      fill-opacity: 0.5;
      stroke: #F1DE73;
    }
  }

  &:has(.storage:hover) {
    #performance2-storage-color {
      r: 6;
      fill-opacity: 0.5;
      stroke: #6860ED;
    }
  }

  &:has(.memory:hover) {
    #performance2-memory-color {
      r: 6;
      fill-opacity: 0.5;
      stroke: #F16053;
    }
  }

  &:has(.compute:hover) {
    #performance2-compute-color {
      r: 6;
      fill-opacity: 0.5;
      stroke: #8BF2A9;
    }
  }
}

#performance3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;

  svg {
    transition: opacity 0.5s;
    will-change: opacity;
    max-width: 100%;
  }

  #performance3b {
    opacity: 0;
  }

  &:has(#performance3-toggle:checked) {
    #performance3a {
      opacity: 0;
    }

    #performance3b {
      opacity: 1;
    }
  }

  label[for="performance3-toggle"] {
    position: relative;
    display: flex;
    padding: 3px;
    gap: 8px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;

    &>div {
      display: grid;
      place-items: center;
      font-family: "JetBrains Mono";
      font-size: 12px;
      font-weight: 500;
      width: 130px;
      height: 33px;
      z-index: 1;
    }

    &::before {
      content: "";
      position: absolute;
      top: 3px;
      left: 3px;
      width: 128px;
      height: 31px;
      background-color: #F1605380;
      border: 1px solid #F16053;
      border-radius: 2px;
      transition: left 0.1s, background-color 0.1s, border-color 0.1s;
    }
  }

  input#performance3-toggle {
    display: none;

    &:checked~label[for="performance3-toggle"]::before {
      left: 141px;
      background-color: #0088F680;
      border-color: #0088F6;
    }
  }
}

@media (max-width: 659px) {
  #performance3 {
    gap: 0;
  }
}

#performance4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  svg {
    max-width: 100%;
  }

  &:has(.item.network:hover) svg {
    .storage {
      opacity: 0.5;
    }

    .memory {
      opacity: 0.5;
    }
  }

  &:has(.item.storage:hover) svg {
    .network {
      opacity: 0.5;
    }

    .memory {
      opacity: 0.5;
    }
  }

  &:has(.item.memory:hover) svg {
    .network {
      opacity: 0.5;
    }

    .storage {
      opacity: 0.5;
    }
  }

  .bandwidth {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: 'JetBrains Mono';
    font-size: 12px;

    label {
      padding: 12px 16px;
      border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .item {
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      border: 1px solid transparent;
      margin: 3px;

      &::before {
        content: "";
        position: absolute;
        inset: -4px;
      }

      &:hover {
        border-radius: 2px;
      }
    }

    .item.network:hover {
      background-color: #F1DE7380;
      border: 1px solid #F1DE73;
    }

    .item.storage:hover {
      background-color: #6860ED80;
      border: 1px solid #6860ED;
    }

    .item.memory:hover {
      background-color: #F1605380;
      border: 1px solid #F16053;
    }

    .bullet {
      display: block;
      width: 8px;
      height: 8px;
      border-radius: 4px;
    }

    .network .bullet {
      background-color: #F1DE73;
    }

    .storage .bullet {
      background-color: #6860ED;
    }

    .memory .bullet {
      background-color: #F16053;
    }
  }

  .graph {
    stroke-dashoffset: 1000;
    stroke-dasharray: 1000;
    transition: stroke-dashoffset 1s;
  }

  &.active {
    .graph {
      transition: 1s stroke-dashoffset 0.3s;
    }

    .memory .graph {
      stroke-dashoffset: 200;
    }

    .storage .graph {
      stroke-dashoffset: 200;
    }

    .network .graph {
      stroke-dashoffset: 100;
    }
  }
}

.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  cursor: ew-resize;
  left: 50%;
  transform: translateX(-12px);
  touch-action: pan-y;

  &::before {
    content: "";
    position: absolute;
    left: 11px;
    width: 2px;
    height: 100%;
    background-color: white;
  }

  svg {
    position: absolute;
    top: 50%;
    transform: translateY(-12px);
    filter: drop-shadow(0 0 8px #000A);
  }
}

#experience1 {
  >svg {
    width: 100%;
    height: 100%;
  }

  .comparison-slider {
    /* 503/543 */
    height: 92.633%;
  }
}

#experience2 {
  >g {
    transition: translate 0.5s ease;
    will-change: translate;
  }

  &.active {
    >g {
      transition: 1s translate 0.3s ease;
    }

    #experience2-group1 {
      translate: 50px 0;
    }
  }

  &.fade-out {
    #experience2-group1 {
      translate: 100px 0;
    }

    #experience2-group2 {
      translate: -50px 0;
    }
  }
}

#experience3 {
  box-sizing: border-box;
  width: 706px;
  height: 501px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;

  .clear {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 50%);
  }

  .blur {
    position: absolute;
    inset: 0;
    filter: blur(19px);
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
  }

  >svg,
  >img {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

#experience4 {
  z-index: 1;

  >canvas {
    width: 100%;
    height: 100%;
    touch-action: none;
    transform: translate(0%, 18%);
  }
}

#biodigital-jazz {
  z-index: 2;
}
