@font-face {
  font-family: "Sana Sans";
  src: url("https://www.sanalabs.com/fonts/SanaSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --ink: #111111;
  --muted: #888888;
  --soft: #efefef;
  --accent: #0b7cff;
  --photo-hover-space: 18px;
  --site-cursor: url("pointer.svg") 6 2, auto;
  --font-sana: "Sana Sans", "Helvetica Now Display", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sana);
  font-variation-settings:
    "wght" 400,
    "opsz" 14,
    "ital" 0;
}

body {
  overflow: hidden;
  cursor: var(--site-cursor);
}

button,
a {
  font: inherit;
  cursor: var(--site-cursor);
}

a {
  color: inherit;
  text-decoration: none;
}

.scroll-fade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.language-toast {
  position: fixed;
  right: 32px;
  bottom: 28px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #8c8c8c;
  font-family: var(--font-sana);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
  pointer-events: none;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-toast.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.intro-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 35px;
  height: 37px;
  pointer-events: none;
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(54vw, 52vh, 0) scale(0.96);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 860ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.intro-cursor svg {
  display: block;
  width: 35px;
  height: 37px;
}

.intro-cursor.is-visible {
  opacity: 1;
  filter: blur(0);
}

.intro-cursor.is-hiding {
  opacity: 0;
  filter: blur(6px);
}

.remote-cursors {
  position: fixed;
  inset: 0;
  z-index: 210;
  pointer-events: none;
  overflow: hidden;
}

.remote-cursor {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--remote-color, #2a8bfd);
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(50vw, 50vh, 0);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 120ms linear;
  will-change: transform, opacity, filter;
}

.remote-cursor.is-visible {
  opacity: 1;
  filter: blur(0);
}

.remote-cursor.is-leaving {
  opacity: 0;
  filter: blur(6px);
}

.remote-cursor svg {
  display: block;
  width: 30px;
  height: 32px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.10));
}

.remote-cursor-label {
  margin-top: 17px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: var(--remote-color, #2a8bfd);
  color: #fff;
  font-family: var(--font-sana);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: -0.25px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10);
  transform: translateX(-6px);
}

.cursor-locator {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 34px;
  height: 36px;
  pointer-events: none;
  opacity: 0;
  filter: none;
  transform: translate3d(-80px, -80px, 0) scale(1);
  transform-origin: 6px 2px;
  transition: none;
  will-change: transform, opacity;
}

.cursor-locator img {
  display: block;
  width: 100%;
  height: 100%;
  filter: none;
}

.cursor-locator.is-visible {
  opacity: 1;
  filter: none;
}

.language-toast-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  color: #2a8bfd;
}

.profile-actions {
  position: absolute;
  top: 31px;
  right: 48px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.presence-stack {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presence-stack[hidden] {
  display: none;
}

.presence-avatars {
  display: inline-flex;
  align-items: center;
  isolation: isolate;
}

.presence-avatar {
  appearance: none;
  border-style: solid;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--presence-color, #2a8bfd);
  color: #fff;
  font-family: var(--font-sana);
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.3px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.045);
  cursor: var(--site-cursor);
  transform: translateY(0) scale(1);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presence-avatar:disabled {
  cursor: var(--site-cursor);
}

.presence-avatar:first-child {
  margin-left: 0;
}

.presence-avatar:not(:disabled):hover {
  z-index: 2;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.055);
}

.presence-more {
  background: #1c1c1c;
}

.language-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  color: #8c8c8c;
  text-align: justify;
  font-family: var(--font-sana);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: none;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-hint::before,
.language-hint::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-hint::before {
  content: "";
  top: calc(100% + 3px);
  z-index: 1;
  width: 12px;
  height: 8px;
  background: #212121;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transform: translate(-50%, -4px);
}

.language-hint::after {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  z-index: 2;
  min-width: 58px;
  padding: 4px 7px;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #212121;
  color: #efefef;
  text-align: center;
  font-family: var(--font-sana);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transform: translate(-50%, -4px);
}

.language-hint:hover::before,
.language-hint:focus-visible::before,
.language-hint:hover::after,
.language-hint:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.language-hint.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.language-hint img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.language-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 18px;
  padding: 0 5px;
  border-radius: 3px;
  background: #f4f4f4;
  color: #000;
  text-align: justify;
  font-family: var(--font-sana);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.profile-shell {
  display: grid;
  grid-template-columns: 260px minmax(420px, 1fr);
  align-items: flex-start;
  gap: clamp(34px, 2.8vw, 64px);
  height: 100vh;
  padding: 0 clamp(20px, 2.4vw, 46px);
  padding-top: clamp(20px, 2.4vw, 34px);
}

.photo-pane {
  position: relative;
  justify-self: start;
  width: 260px;
  height: 326px;
  margin: 0;
  padding: 0;
  perspective: 800px;
  overflow: hidden;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.photo-pane::-webkit-scrollbar {
  display: none;
}

.photo-pane::before,
.photo-pane::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  display: block;
  height: 54px;
  pointer-events: none;
}

.photo-pane::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

.photo-pane::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.photo-pane.is-animating {
  scroll-snap-type: none;
}

.photo-stack {
  display: grid;
  gap: 12px;
  width: 260px;
  min-height: 100%;
}

.portrait-card {
  --photo-opacity: 1;
  --photo-blur: 0px;
  --photo-scale: 1;
  position: relative;
  width: 100%;
  height: 326px;
  min-height: 0;
  margin: 0;
  overflow: visible;
  border-radius: 3px;
  background: #f3f3f1;
  cursor: var(--site-cursor);
  scroll-snap-align: start;
  will-change: opacity, filter, transform;
}

.portrait-tilt {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
}

.portrait-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: var(--photo-opacity);
  filter: blur(var(--photo-blur));
  transform: scale(var(--photo-scale));
  transform-origin: center;
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.portrait-card > img {
  border-radius: inherit;
}

.portrait-card:first-child {
  opacity: 0;
  filter: blur(20px);
  animation: revealPhoto 1.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes revealPhoto {
  0% {
    opacity: 0;
    filter: blur(20px);
  }

  40% {
    opacity: 0.6;
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    filter: blur(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-card:first-child {
    animation: none;
    opacity: 1;
    filter: none;
  }

  .portrait-card img {
    transition: none;
  }

  .ask-question,
  .ask-question-text,
  .ask-question-key {
    transform: none;
    transition: none;
  }

  .ask-question::before {
    display: none;
  }

}

.profile-content {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.profile-content::-webkit-scrollbar {
  display: none;
}

.content-panel {
  --panel-opacity: 1;
  --panel-blur: 0px;
  --panel-y: 0px;
  --panel-scale: 1;
  position: relative;
  min-height: calc(100% + 48px);
  margin: -24px;
  padding: 24px;
  overflow: visible;
  scroll-snap-align: start;
  opacity: var(--panel-opacity);
  filter: blur(var(--panel-blur));
  transform: translateY(var(--panel-y)) scale(var(--panel-scale));
  transform-origin: center;
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.profile-panel {
  padding: 24px 24px 114px;
}

.ask-question {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 112px;
  height: auto;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 58%),
    #1c1c1c;
  box-shadow:
    0 1px 1.3px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 7px rgba(0, 0, 0, 0.04);
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    background 800ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 800ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ask-question::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.09) 34%,
      rgba(255, 255, 255, 0) 68%
    );
  filter: blur(6px);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.ask-question:hover,
.ask-question:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.01) 58%),
    #1d1d1d;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 1.3px 0 rgba(255, 255, 255, 0.30) inset,
    0 1px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
}

.ask-question:hover::before,
.ask-question:focus-visible::before {
  opacity: 0.10;
}

.ask-question-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  opacity: 0.92;
  transform: translateX(0);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ask-question-key {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 18px;
  padding: 0 5px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 3px;
  background: #585858;
  color: #fff;
  line-height: 1;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transform: none;
  transition:
    background-color 800ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 700ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ask-question:hover .ask-question-text,
.ask-question:focus-visible .ask-question-text {
  opacity: 1;
}

.ask-question:hover .ask-question-key,
.ask-question:focus-visible .ask-question-key {
  background: #5f5f5f;
}

h1 {
  margin: 4px 0 0;
  font-size: clamp(38px, 3vw, 58px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.4px;
  font-family: "NeueHaasUnicaW04-Regular", "Sana Sans", "Helvetica Now Display", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.identity-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  color: #858585;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 20px;
}

.identity-line strong {
  color: #111;
  font-weight: 500;
}

.company-text-link {
  color: #111;
  font-weight: 500;
}

.company-logo-link {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.company-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
}

.chain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 0;
  vertical-align: -3px;
}

.chain img {
  display: block;
  width: 100%;
  height: 100%;
}

.details-block {
  margin-top: clamp(52px, 7vh, 74px);
}

.detail-item {
  margin: 0 0 54px;
}

.detail-item h2,
.story-block h2 {
  margin: 0 0 4px;
  color: #8b8b8b;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.detail-item p {
  margin: 0;
  color: #888;
  font-size: 16px;
  line-height: 1.3;
}

.detail-item strong {
  color: #111;
  font-weight: 600;
}

.experience {
  margin-bottom: 18px;
}

.experience-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: var(--site-cursor);
}

.experience-toggle h2 {
  margin-bottom: 0;
  font-weight: 400;
}

.years {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000 !important;
  cursor: var(--site-cursor);
  font-size: 29px !important;
  line-height: 1 !important;
  font-weight: 600;
  text-align: left;
  border-radius: 8px;
  transform: translateY(0) scale(1);
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.years.is-cursor-touched {
  filter: drop-shadow(0 6px 14px rgba(42, 139, 253, 0.14));
  transform: translateY(-1px) scale(1.018);
}

.experience-list {
  display: grid;
  gap: 26px;
  min-height: 184px;
  margin-bottom: 60px;
  max-width: 580px;
  overflow: hidden;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-8px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity, filter, transform;
}

.experience-list.is-open {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  pointer-events: auto;
}

.experience-row {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  border-radius: 10px;
  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-row::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.98);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.experience-row:hover,
.experience-row:focus-within {
  transform: translateY(-2px);
}

.experience-row:hover::before,
.experience-row:focus-within::before {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.date-range {
  display: grid;
  grid-template-columns: 54px 18px 58px;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.date-arrow {
  display: block;
  width: 16px;
  height: 16px;
}

.role-detail {
  color: #888;
  font-size: 15px;
  line-height: 1.35;
}

.role-detail p {
  margin: 0;
}

.company-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.experience-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transform: none;
}

.role-detail strong {
  color: #111;
  font-weight: 500;
}

.chain.small {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
}

.role-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px !important;
  color: #111;
  font-weight: 600;
  padding-left: 36px;
}

.role-title img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.skills-compact {
  margin-bottom: 0;
  cursor: var(--site-cursor);
}

.skills-compact h2 {
  font-weight: 400;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-compact:has(.chips.is-open) h2 {
  transform: translateY(4px);
}

.bottom-stack {
  position: absolute;
  right: 24px;
  bottom: 40px;
  left: 24px;
  max-width: min(100%, 980px);
}

.chips {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
  overflow: visible;
  scrollbar-width: none;
  white-space: nowrap;
}

.chips.is-open {
  align-items: flex-start;
  flex-wrap: wrap;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip,
.skill-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 2px 3px;
  border: 0;
  border-radius: 5px;
  background: #f4f4f4;
  color: #888;
  font-size: 13px;
  line-height: 1;
  gap: 5px;
  transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.chip:hover,
.skill-chip:hover {
  transform: translateY(-2px);
}

.chip.hot::before {
  content: "\266B";
  margin-right: 5px;
  color: #888;
  font-size: 12px;
}

.chip.more {
  flex: 0 0 auto;
  margin: 0;
  cursor: var(--site-cursor);
}

.skills-extra {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-8px);
  transition:
    max-width 760ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height, opacity, filter, transform;
}

.chips.is-open .skills-extra {
  flex-basis: auto;
  max-width: 100%;
  max-height: 76px;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.skills-count {
  max-width: 28px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-width 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chips.is-open .skills-count {
  max-width: 0;
  padding-right: 0;
  padding-left: 0;
  opacity: 0;
  pointer-events: none;
}

.story-block {
  position: static;
  margin-top: 50px;
  max-width: 100%;
}

.story-block h2 {
  margin-bottom: 4px;
  color: #8c8c8c;
  text-align: justify;
  font-family: var(--font-sana);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.story-block p {
  margin: 0;
  color: #333;
  font-family: var(--font-sana);
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.6px;
  white-space: pre-line;
}

.show-more-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 6px;
  color: #e3e3e3;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: var(--site-cursor);
  font-family: var(--font-sana);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.show-more-link span {
  position: relative;
  z-index: 1;
}

.show-more-link img {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
}

.show-more-link::after {
  content: "";
  position: absolute;
  inset: -55% 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 100%
  );
  filter: blur(10px);
  opacity: 0.35;
  transform: translateY(-120%);
  animation: showMoreHighlight 3.4s ease-in-out infinite;
}

@keyframes showMoreHighlight {
  0% {
    transform: translateY(-120%);
  }

  100% {
    transform: translateY(120%);
  }
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding-top: 54px;
  padding-bottom: 64px;
}

.story-continuation {
  max-width: 760px;
  margin-top: clamp(18px, 3vh, 34px);
}

.story-continuation h2 {
  margin: 0 0 10px;
  color: #8c8c8c;
  font-family: var(--font-sana);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.6px;
}

.story-continuation p {
  margin: 0;
  color: #333;
  font-family: var(--font-sana);
  font-size: clamp(18px, 1.38vw, 22px);
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: -0.6px;
  white-space: pre-line;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dfdfdf;
  cursor: var(--site-cursor);
  font-family: var(--font-sana);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.back-link span {
  display: inline-block;
}

.back-link img {
  display: block;
  width: 16px;
  height: 16px;
}

.contact-content {
  margin-top: clamp(34px, 5vh, 58px);
  max-width: 520px;
}

.contact-content h2 {
  margin: 0 0 clamp(30px, 5vh, 48px);
  color: #333;
  font-family: var(--font-sana);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.contact-group {
  margin-bottom: 62px;
}

.contact-label {
  margin: 0 0 18px;
  color: #8c8c8c;
  text-align: left;
  font-family: var(--font-sana);
  font-size: 15px;
  line-height: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.6px;
}

.contact-value,
.social-links a {
  display: block;
  margin: 0;
  color: #000;
  text-align: left;
  font-family: var(--font-sana);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.location-value {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 1px 0;
  border-radius: 8px;
  transition:
    color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-value::before {
  content: "";
  position: absolute;
  inset: -5px -10px;
  z-index: -1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.98);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.location-flag {
  position: absolute;
  right: -28px;
  top: -14px;
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0;
  filter: blur(6px);
  transform: translate(-4px, 6px) scale(0.96);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.contact-panel.is-active .location-value:hover,
.contact-panel.is-active .location-value:focus-within {
  color: #000;
  transform: translateY(-2px);
}

.contact-panel.is-active .location-value:hover::before,
.contact-panel.is-active .location-value:focus-within::before {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.contact-panel.is-active .location-value:hover .location-flag,
.contact-panel.is-active .location-value:focus-within .location-flag {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1);
}

.social-links a {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding: 1px 0;
  border-radius: 8px;
  opacity: var(--social-item-opacity, 0);
  filter: blur(var(--social-item-blur, 6px));
  transform: translateY(var(--social-item-y, 18px));
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1240ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1240ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social-links a::before {
  content: "";
  position: absolute;
  inset: -5px -10px;
  z-index: -1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.98);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.contact-panel.is-active .social-links:hover a,
.contact-panel.is-active .social-links:focus-within a {
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 300ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

.contact-panel.is-active .social-links a:hover,
.contact-panel.is-active .social-links a:focus-visible {
  color: #000;
  transform: translateY(-2px);
}

.contact-panel.is-active .social-links:hover a,
.contact-panel.is-active .social-links:focus-within a {
  color: #8c8c8c;
}

.contact-panel.is-active .social-links a:hover,
.contact-panel.is-active .social-links a:focus-visible {
  color: #000;
}

.contact-panel.is-active .social-links a:hover::before,
.contact-panel.is-active .social-links a:focus-visible::before {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.social-links a:nth-child(1) {
  transition-delay: 300ms;
}

.social-links a:nth-child(2) {
  transition-delay: 390ms;
}

.social-links a:nth-child(3) {
  transition-delay: 480ms;
}

.social-links a:nth-child(4) {
  transition-delay: 570ms;
}

.social-links a:nth-child(5) {
  transition-delay: 660ms;
}

.social-links a:nth-child(6) {
  transition-delay: 750ms;
}

.contact-panel.is-active {
  --social-item-opacity: 1;
  --social-item-blur: 0px;
  --social-item-y: 0px;
}

.social-links {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 4px;
}

.contact-back-bottom {
  margin-top: auto;
}

.contact-panel .back-link,
.contact-content h2,
.contact-group {
  opacity: var(--contact-item-opacity, 0);
  filter: blur(var(--contact-item-blur, 6px));
  transform: translateY(var(--contact-item-y, 40px));
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-content h2 {
  transform: translateY(var(--contact-item-y, 40px)) scale(var(--contact-heading-scale, 0.99));
  transition-delay: 0ms;
}

.contact-group:nth-of-type(1) {
  transition-delay: 120ms;
}

.contact-group:nth-of-type(2) {
  transition-delay: 210ms;
}

.contact-back-bottom {
  transition-delay: 390ms;
}

.contact-panel.is-active {
  --contact-item-opacity: 1;
  --contact-item-blur: 0px;
  --contact-item-y: 0px;
  --contact-heading-scale: 1;
}

@media (min-width: 1500px) {
  .profile-shell {
    grid-template-columns: 260px minmax(600px, 1fr);
  }

  .profile-content {
    padding-right: clamp(0px, 3vw, 64px);
  }

  .details-block {
    max-width: 760px;
  }
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .profile-shell {
    grid-template-columns: 260px minmax(340px, 1fr);
    height: auto;
    padding: 0 20px 40px;
    padding-top: 20px;
    gap: 24px;
  }

  .photo-pane {
    width: 260px;
    height: 326px;
  }

  .portrait-card {
    height: 326px;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  html,
  body {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    overscroll-behavior-y: contain;
  }

  html.is-mobile-section-scrolling,
  html.is-mobile-section-scrolling body {
    overscroll-behavior: none;
  }

  .profile-shell {
    display: block;
    max-width: 680px;
    margin: 0 auto;
  }

  .photo-pane {
    width: min(100%, 340px);
    height: auto;
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: 215 / 270;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .photo-stack {
    width: 100%;
    min-height: 100%;
  }

  .portrait-card {
    height: auto;
    aspect-ratio: 215 / 270;
    min-height: 0;
  }

  .profile-content {
    position: static;
    height: auto;
    overflow: visible;
    padding-top: 28px;
    padding-bottom: 56px;
    scroll-snap-type: none;
  }

  .content-panel {
    min-height: calc(100svh - 36px);
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 18px;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none;
  }

  .profile-panel {
    display: flex;
    flex-direction: column;
    padding: 62px 0 0;
  }

  .profile-actions {
    position: static;
    align-self: flex-end;
    margin-right: 18px;
    margin-bottom: 24px;
    transform: translateX(-36px);
  }

  h1 {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.04;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .identity-line {
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .details-block {
    margin-top: 48px;
  }

  .bottom-stack {
    position: static;
    margin-top: 34px;
    max-width: none;
  }

  .chips {
    flex-wrap: wrap;
    align-items: flex-start;
    white-space: normal;
  }

  .story-block {
    position: static;
    margin-top: 50px;
    max-width: none;
  }

  .detail-item {
    margin-bottom: 34px;
  }

  .experience-list {
    width: 100%;
    max-width: none;
    margin-bottom: 52px;
    overflow: visible;
  }

  .experience-row,
  .role-detail,
  .company-line {
    width: 100%;
    max-width: 100%;
  }

  .company-line {
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .role-detail,
  .company-line > span[data-i18n$="Meta"] {
    min-width: 0;
  }

  .company-line > span[data-i18n$="Meta"] {
    flex: 1 1 180px;
  }

  .story-block p {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.16;
  }

  .contact-panel {
    display: block;
    margin-top: 76px;
    padding-top: 0;
    padding-bottom: 32px;
  }

  .story-continuation {
    max-width: none;
    margin-top: 38px;
  }

  .story-continuation p {
    font-size: clamp(18px, 4.9vw, 22px);
    line-height: 1.22;
  }

  .contact-content {
    max-width: none;
    margin-top: 52px;
  }

  .contact-content h2 {
    margin-bottom: 42px;
  }

  .contact-panel .back-link,
  .contact-content h2,
  .contact-group {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .social-links a {
    opacity: 1 !important;
    filter: none !important;
  }

  .contact-back-bottom {
    margin-top: 42px;
  }

}

@media (max-width: 560px) {
  .profile-shell {
    padding: 0 18px 36px;
    padding-top: 18px;
  }

  .photo-pane {
    width: min(100%, 280px);
  }

  .portrait-card {
    height: auto;
    aspect-ratio: 215 / 270;
    min-height: 0;
  }

  .profile-panel {
    padding-top: 0;
  }

  .ask-question {
    padding: 6px 9px;
    min-width: 96px;
    font-size: 13px;
  }

  .identity-line {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
    line-height: 19px;
  }

  .details-block {
    margin-top: 42px;
  }

  .years {
    font-size: 28px !important;
  }

  .experience-row {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .date-range {
    grid-template-columns: auto 18px auto;
    justify-content: start;
  }

  .company-line > span[data-i18n$="Meta"] {
    flex-basis: 100%;
    margin-left: 36px;
  }

  .role-title {
    padding-left: 0;
  }

  .chips.is-open .skills-extra {
    max-height: 132px;
  }

  .chip,
  .skill-chip {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .story-block p {
    font-size: 21px;
    line-height: 1.18;
  }

  .story-continuation p {
    font-size: 18px;
  }

  .contact-group {
    margin-bottom: 42px;
  }

}
