.simvidence-section {
  padding-top: 12px;
  padding-bottom: 84px;
}

.simvidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .55fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: end;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(73, 151, 237, .28);
  border-radius: 16px;
  background:
    linear-gradient(116deg, rgba(24, 73, 123, .18), transparent 56%),
    rgba(16, 35, 60, .42);
}

.simvidence-label {
  margin: 0 0 12px;
  color: #4eabff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.simvidence-panel h2 {
  margin: 0 0 14px;
  color: #f6f9fd;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -.04em;
}

.simvidence-copy {
  max-width: 690px;
  margin: 0;
  color: #b4c2d3;
  font-size: 16px;
  line-height: 1.72;
}

.simvidence-copy + .simvidence-copy {
  margin-top: 14px;
}

.simvidence-link-wrap {
  display: grid;
  gap: 18px;
  align-items: start;
  padding-bottom: 4px;
}

.simvidence-link-wrap p {
  max-width: 240px;
  margin: 0;
  color: #8fa3ba;
  font-size: 13px;
  line-height: 1.6;
}

.simvidence-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: #67b6ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.simvidence-link span {
  font-size: 18px;
  transition: transform .2s ease;
}

.simvidence-link:hover,
.simvidence-link:focus-visible {
  color: #ffffff;
}

.simvidence-link:hover span,
.simvidence-link:focus-visible span {
  transform: translateX(4px);
}

.site-header > nav[hidden] {
  display: none;
}

.site-header.has-narrative-rail {
  grid-template-columns: auto 1fr;
}

.site-header.has-narrative-rail .nav-cta {
  justify-self: end;
  width: fit-content;
}

#top,
#about,
#xai-layer,
#experience,
#simvidence,
#coaching,
#contact {
  scroll-margin-top: 150px;
}

.aviate-narrative {
  display: none;
}

@media (min-width: 1100px) {
  .hero,
  .section {
    width: min(1040px, calc(100% - 300px));
    margin-right: auto;
    margin-left: max(32px, calc((100vw - 1280px) / 2));
  }

  .aviate-narrative {
    position: fixed;
    top: 50%;
    right: clamp(18px, 3vw, 52px);
    z-index: 9;
    display: block;
    width: clamp(150px, 13.5vw, 204px);
    height: min(70vh, 580px);
    transform: translateY(-42%);
  }

  .aviate-narrative-track {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    height: 100%;
  }

  .aviate-narrative-lane {
    position: relative;
    height: 100%;
  }

  .aviate-narrative-lane::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 1px;
    content: "";
    background: rgba(113, 183, 255, .35);
  }

  .aviate-narrative-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px;
    width: 3px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(59, 158, 255, .16), #8ac5ff 22%, #3b9eff 78%, rgba(59, 158, 255, .16));
    box-shadow: 0 0 15px rgba(59, 158, 255, .54);
    animation: aviate-narrative-flow 5.8s ease-in-out infinite;
  }

  .aviate-narrative-marker {
    position: absolute;
    left: 7px;
    z-index: 2;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(187, 220, 255, .8);
    border-radius: 50%;
    background: #071221;
    transform: translateY(-50%);
    transition: width .48s cubic-bezier(.22, .65, .31, 1), height .48s cubic-bezier(.22, .65, .31, 1), left .48s cubic-bezier(.22, .65, .31, 1), background .32s ease, box-shadow .48s ease;
  }

  .aviate-narrative-marker.is-active {
    left: 4px;
    width: 14px;
    height: 14px;
    border: 2px solid #eaf5ff;
    background: #3b9eff;
    box-shadow: 0 0 0 5px rgba(59, 158, 255, .16), 0 0 22px rgba(59, 158, 255, .84);
  }

  .aviate-narrative-wheel-viewport {
    position: absolute;
    inset: 0 0 0 24px;
    overflow: hidden;
  }

  .aviate-narrative-wheel-viewport::before,
  .aviate-narrative-wheel-viewport::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    height: 18%;
    content: "";
    pointer-events: none;
  }

  .aviate-narrative-wheel-viewport::before {
    top: 0;
    background: linear-gradient(#060e1a, rgba(6, 14, 26, 0));
  }

  .aviate-narrative-wheel-viewport::after {
    bottom: 0;
    background: linear-gradient(rgba(6, 14, 26, 0), #060e1a);
  }

  .aviate-narrative-wheel {
    position: absolute;
    top: calc(50% - 15px);
    right: 0;
    left: 0;
    z-index: 1;
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform .72s cubic-bezier(.2, .8, .24, 1);
    will-change: transform;
  }

  .aviate-narrative-wheel li {
    height: 30px;
  }

  .aviate-narrative-wheel button {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7690aa;
    font: 500 9px/1.3 Inter, sans-serif;
    letter-spacing: .045em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    opacity: .7;
    transition: color .3s ease, opacity .3s ease, transform .48s cubic-bezier(.22, .65, .31, 1);
  }

  .aviate-narrative-wheel button > span {
    color: #426380;
    transition: color .3s ease;
  }

  .aviate-narrative-wheel strong {
    display: block;
    overflow: hidden;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .aviate-narrative-wheel li.is-active button {
    color: #f0f7ff;
    opacity: 1;
    transform: scale(1.08);
    transform-origin: left center;
  }

  .aviate-narrative-wheel li.is-active button > span {
    color: #67b6ff;
  }

  .aviate-narrative-wheel li.is-active strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.018em;
    text-transform: none;
  }

  .aviate-narrative-wheel button:hover,
  .aviate-narrative-wheel button:focus-visible {
    outline: 0;
    color: #e7f3ff;
    opacity: 1;
    transform: translateX(3px);
  }

  .aviate-narrative-wheel li.is-active button:hover,
  .aviate-narrative-wheel li.is-active button:focus-visible {
    color: #67b6ff;
    transform: scale(1.08) translateX(2px);
  }
}

@keyframes aviate-narrative-flow {
  0%,
  100% { opacity: .56; filter: brightness(.82); }
  50% { opacity: 1; filter: brightness(1.2); }
}

@media (max-width: 760px) {
  .simvidence-section {
    padding-bottom: 62px;
  }

  .simvidence-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 24px;
  }

  .simvidence-copy {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aviate-narrative-progress {
    animation: none;
    filter: brightness(1.12);
  }

  .aviate-narrative-wheel,
  .aviate-narrative-marker,
  .aviate-narrative-wheel button,
  .simvidence-link span {
    transition: none;
  }
}
