html.splash-active {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 1728px;
  height: var(--scaled-viewport-height, 100vh);
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity .65s ease, visibility .65s ease;
}

.splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash button {
  position: absolute;
  right: 32px;
  bottom: 28px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 9px 18px;
  color: #fff;
  background: rgba(0,0,0,.25);
  font: 700 13px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-video,
.video-shade {
  position: fixed;
  inset: 0;
  width: 1728px;
  height: var(--scaled-viewport-height, 100vh);
  pointer-events: none;
}

.contact-lanyard {
  position: fixed;
  inset: 0;
  z-index: 19;
  width: 1728px;
  height: var(--scaled-viewport-height, 100vh);
  overflow: hidden;
  pointer-events: none;
  perspective: 1400px;
  clip-path: inset(101px 0 0 0);
}

.lanyard-drop {
  position: absolute;
  top: 0;
  left: 76%;
  width: 360px;
  height: 780px;
  translate: -50% -104%;
  transform-origin: 50% 0;
  transition: translate .9s cubic-bezier(.16,.8,.22,1);
  pointer-events: auto;
  will-change: transform, translate;
}

.contact-lanyard.open .lanyard-drop {
  translate: -50% 0;
}

.contact-lanyard.open .lanyard-drop.dropping {
  animation: lanyard-drop-in 1.35s cubic-bezier(.14,.78,.18,1) both;
}

.contact-lanyard.open .lanyard-drop.dragging {
  animation: none !important;
}

.lanyard-strap {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 336px;
  overflow: visible;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,.4));
}

.lanyard-strap path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.strap-edge { stroke: rgba(255,255,255,.3); stroke-width: 46; }
.strap-core { stroke: #0b0b0b; stroke-width: 42; }
.strap-texture-segments { pointer-events: none; }
.strap-texture-segment { overflow: hidden; }
.strap-stitch { stroke: rgba(255,255,255,.16); stroke-width: 1.2; stroke-dasharray: 3 9; }

.lanyard-payload {
  position: absolute;
  top: 286px;
  left: 0;
  width: 360px;
  height: 492px;
  transform-origin: 50% 29px;
  will-change: transform;
}

.lanyard-clip {
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 58px;
  translate: -50% 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lanyard-clip i {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 8px;
  height: 38px;
  translate: -50% 0;
  border-radius: 5px;
  background: linear-gradient(90deg,#090909,#3a3a3a 48%,#080808);
  box-shadow: inset 1px 0 rgba(255,255,255,.18), 0 4px 7px rgba(0,0,0,.45);
}

.lanyard-clip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 20px;
  height: 20px;
  translate: -50% 0;
  border: 5px solid #111;
  border-radius: 50%;
  background: #050505;
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.15), 0 3px 6px rgba(0,0,0,.5);
}

.lanyard-clip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 10px;
  translate: -50% 0;
  border: 4px solid #111;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.lanyard-badge {
  --badge-rotate-x: 0deg;
  --badge-rotate-y: 0deg;
  position: absolute;
  top: 54px;
  left: 0;
  width: 360px;
  height: 438px;
  padding: 0;
  display: block;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 28px 35px rgba(0,0,0,.5));
  transform: rotateX(var(--badge-rotate-x)) rotateY(var(--badge-rotate-y));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, border-color .25s ease;
  cursor: grab;
  touch-action: none;
  user-select: none;
  overflow: visible;
  scale: 1.025;
}

.badge-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.badge-frame-logo {
  position: absolute;
  left: 7.73%;
  top: 5.12%;
  width: 10.63%;
  height: 4.47%;
  object-fit: contain;
  pointer-events: none;
}

.badge-frame-connect {
  position: absolute;
  left: 57.73%;
  top: 5.12%;
  width: 34.45%;
  color: #fff;
  font-size: 11.39px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.badge-frame-profile {
  position: absolute;
  left: 28.12%;
  top: 17.03%;
  width: 40.33%;
  display: grid;
  gap: 10.12px;
  font-weight: 500;
  line-height: 1;
}

.badge-frame-name {
  display: flex;
  align-items: center;
  gap: 11.39px;
  color: #fff;
  font-size: 11.39px;
  white-space: nowrap;
}

.badge-frame-role,
.badge-frame-location {
  font-size: 7.59px;
  white-space: nowrap;
}

.badge-frame-role { color: #84DEFF; }
.badge-frame-location { color: #A5A6A6; }

.badge-frame-contact {
  position: absolute;
  left: 28.12%;
  top: 39.61%;
  width: 48%;
  display: grid;
  gap: 20.25px;
  color: #fff;
  font-size: 11.39px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.badge-frame-contact p { margin: 0; }

.badge-frame-arrow {
  position: absolute;
  left: 78.91%;
  top: 48.85%;
  width: 15.29%;
  height: 8.87%;
  object-fit: contain;
  transform: rotate(135deg);
  transform-origin: center;
  pointer-events: none;
}

.badge-frame-slogan {
  position: absolute;
  left: 5.89%;
  top: 81.67%;
  width: 47.36%;
  color: #fff;
  font-size: 20.25px;
  font-weight: 500;
  line-height: 1;
}

.badge-frame-slogan span { color: #84DEFF; }

.lanyard-badge:hover { filter: drop-shadow(0 28px 40px rgba(132,222,255,.2)); }
.lanyard-badge:active { cursor: grabbing; }

.badge-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: .14em;
}

.badge-topline img { width: 48px; }

.badge-center {
  flex: 1;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.badge-center p {
  font-size: 38px;
  font-weight: 700;
  line-height: .98;
}

.badge-center p span { color: #84DEFF; }

.badge-footer {
  padding-top: 20px;
  display: grid;
  gap: 7px;
}

.badge-footer strong { font-size: 17px; }
.badge-footer span { color: #84DEFF; font-size: 11px; letter-spacing: .1em; }
.badge-footer small { color: rgba(255,255,255,.65); font-size: 10px; }

@keyframes lanyard-drop-in {
  0% { translate: -50% -104%; }
  52% { translate: -50% 9%; }
  68% { translate: -50% -5%; }
  80% { translate: -50% 3%; }
  90% { translate: -50% -1.4%; }
  100% { translate: -50% 0; }
}

.hero-video {
  z-index: 0;
  object-fit: cover;
  background: #000;
}

.video-shade {
  z-index: 1;
  background: rgba(0,0,0,.2);
}

main {
  position: relative;
  z-index: 2;
}

.nav {
  transition: color .38s ease, background-color .38s ease;
}

.nav.nav-dark {
  color: #fff;
  background-color: rgba(0,0,0,.12);
}

.nav.nav-light {
  color: #000;
  background-color: rgba(255,255,255,.12);
}

.nav.nav-dark button {
  color: #111;
  background-color: #fff;
}

.nav.nav-light button {
  color: #fff;
  background-color: #000;
}

body,
.panel,
.education,
.experience,
.works,
.playground,
.face,
.floating,
.forest {
  background-color: transparent !important;
  background-image: none !important;
}

.works::before,
.playground::before {
  background: rgba(0,0,0,.18) !important;
}

@media (prefers-reduced-motion: reduce) {
  .splash { transition-duration: .01ms; }
}

.nav a,
.nav button {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

.brand {
  position: relative;
}

.brand img {
  opacity: 0;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 53px;
  height: 27px;
  translate: 0 -50%;
  background-color: currentColor;
  -webkit-mask: url('assets/logo.svg') center / contain no-repeat;
  mask: url('assets/logo.svg') center / contain no-repeat;
  transition: background-color .22s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active,
.nav a[aria-current="page"] {
  color: #84DEFF;
}

.nav button:hover,
.nav button:focus-visible {
  background-color: #84DEFF;
}

.nav.nav-dark button:hover,
.nav.nav-dark button:focus-visible {
  color: #111;
  background-color: #84DEFF;
}

.nav.nav-light button:hover,
.nav.nav-light button:focus-visible {
  color: #fff;
  background-color: #84DEFF;
}

.works .card {
  transition: border-color .28s ease, scale .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
  transform-origin: center;
}

.works .card:hover,
.works .card:focus-within {
  border-color: #84DEFF;
  scale: 1.025;
  box-shadow: 0 14px 36px rgba(0,0,0,.24);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .works .card { transition: border-color .01ms; }
  .works .card:hover,
  .works .card:focus-within { scale: 1; }
}

.reveal {
  opacity: 0;
  translate: 0 42px;
  filter: blur(7px);
  will-change: opacity, translate, filter;
}

.reveal.visible {
  animation: content-reveal .9s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms) both !important;
}

@keyframes content-reveal {
  0% {
    opacity: 0;
    translate: 0 42px;
    filter: blur(7px);
  }
  100% {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    translate: none;
    filter: none;
    animation: none !important;
  }
}
