@import url("https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600&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: "Switzer", "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);
  transition:
    background-color 700ms cubic-bezier(0.16, 1, 0.3, 1),
    color 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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;
}

.profile-global-nav {
  position: fixed;
  right: clamp(24px, 2.6vw, 42px);
  bottom: clamp(24px, 2.6vw, 38px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 36px;
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 5px 16px rgba(21, 21, 18, 0.055);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
}

.profile-global-nav::before {
  content: none;
}

.profile-global-nav::after {
  content: none;
}

.profile-wordmark,
.profile-pager-button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  color: #111;
  font-size: 13px;
}

.profile-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.32px;
  transition: background-color 180ms ease;
}

.profile-wordmark:hover,
.profile-wordmark:focus-visible {
  background: rgba(240, 240, 237, 0.78);
}

.profile-pager {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-left: 2px;
  padding-left: 4px;
  border-left: 1px solid rgba(17, 17, 15, 0.08);
}

.profile-pager-button {
  justify-content: center;
  width: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777772;
  transition: color 180ms ease, background-color 180ms ease;
}

.profile-pager-button .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  transition: transform 180ms ease;
}

.profile-pager-button:hover,
.profile-pager-button:focus-visible {
  background: #f0f0ed;
  color: #111;
}

.profile-pager-button:first-child:hover .material-symbols-rounded,
.profile-pager-button:first-child:focus-visible .material-symbols-rounded {
  transform: translateX(-1px);
}

.profile-pager-button:last-child:hover .material-symbols-rounded,
.profile-pager-button:last-child:focus-visible .material-symbols-rounded {
  transform: translateX(1px);
}

.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);
}

.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;
}

.profile-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  color: #7f7f7b;
  font-family: var(--font-sana);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  transition: color 180ms ease;
}

.profile-edit-link:hover,
.profile-edit-link:focus-visible {
  color: #151515;
}

.profile-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #151515;
  border-radius: 7px;
  background: #151515;
  color: #fff;
  font: 500 14px/1 var(--font-sana);
  letter-spacing: -0.25px;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.profile-share-button .material-symbols-rounded {
  font-size: 17px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.profile-share-button:hover,
.profile-share-button:focus-visible {
  background: #2a2a28;
}

.profile-share-button:active {
  transform: scale(0.98);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-edit-key {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 5px;
  background: #f3f3f0;
  color: #8d8d88;
  font-size: 11px;
  line-height: 1;
}

.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 {
  --photo-width: min(41.5vw, calc(77.5vh - 52px));
  display: grid;
  grid-template-columns: var(--photo-width) 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: var(--photo-width);
  height: auto;
  aspect-ratio: 215 / 270;
  margin: 0;
  padding: 0;
  perspective: 800px;
  overflow: hidden;
  border-radius: 7px;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.photo-pane::-webkit-scrollbar {
  display: none;
}

.photo-pane.is-animating {
  scroll-snap-type: none;
}

.profile-route-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.profile-route-transition__wash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 340ms cubic-bezier(.16, 1, .3, 1);
}

.profile-route-transition__wash.is-visible { opacity: 1; }

.profile-route-transition__image {
  position: fixed;
  display: block;
  object-fit: cover;
  transform-origin: top left;
  will-change: transform, filter, border-radius;
}

.profile-route-target { opacity: 0 !important; }

.profile-route-is-entering .profile-global-nav,
.profile-route-is-entering .profile-content {
  opacity: 0;
  transform: translateY(7px);
}

.profile-route-is-entering.profile-route-content-ready .profile-global-nav,
.profile-route-is-entering.profile-route-content-ready .profile-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease 100ms, transform 820ms cubic-bezier(.16,1,.3,1) 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .profile-route-transition { display: none !important; }
}

.photo-stack {
  display: grid;
  gap: 12px;
  width: var(--photo-width);
  min-height: 100%;
}

.portrait-card {
  --photo-opacity: 1;
  --photo-blur: 0px;
  --photo-scale: 1;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 215 / 270;
  min-height: 0;
  margin: 0;
  overflow: visible;
  border-radius: 7px;
  background: #f3f3f1;
  cursor: var(--site-cursor);
  scroll-snap-align: start;
  will-change: opacity, filter, transform;
}

/* Gallery images do not use the portrait tilt wrapper, so the card itself
   keeps their scaled image clipped to the same rounded frame while scrolling. */
.photo-stack > .portrait-card:not(:first-child) {
  overflow: hidden;
}

/* The cover is always portrait. Gallery photos keep the shape they were uploaded in. */
.photo-stack > .portrait-card.is-landscape:not(:first-child) {
  aspect-ratio: var(--gallery-ratio, 16 / 9);
}

.photo-stack:has(> .portrait-card:last-of-type.is-landscape)::after {
  content: "";
  display: block;
  height: calc(var(--photo-width) * 0.54);
  pointer-events: none;
}

.portrait-tilt {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.1);
  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: translate(var(--photo-x, 0%), var(--photo-y, 0%)) 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;
}

@media (prefers-reduced-motion: reduce) {
  .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", "Switzer", "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-summary-actions {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.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: 36px;
  width: 100%;
}

.experience-preview {
  width: 100%;
  max-width: 580px;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    max-height 720ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-bottom 720ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 480ms ease,
    filter 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-preview.is-open {
  max-height: 900px;
  margin-bottom: 60px;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  pointer-events: auto;
}

.experience-preview-inner {
  overflow: hidden;
}

.experience-preview-list {
  display: grid;
  gap: 36px;
}

.experience-preview.has-more .experience-preview-list {
  max-height: 355px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.38) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.38) 84%, transparent 100%);
}

.experience-preview.has-more .experience-row:nth-child(4) {
  opacity: 0.38;
  filter: blur(4px);
  pointer-events: none;
}

.experience-inline-see-all {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin: -20px auto 0;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  color: #92928d;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 15px;
  font-weight: 500;
  cursor: var(--site-cursor);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.experience-inline-see-all:hover,
.experience-inline-see-all:focus-visible {
  background: rgba(245, 245, 241, 0.7);
  color: #5f5f5a;
  transform: translateY(-1px);
}

.experience-modal .experience-list {
  margin: 0;
  overflow: visible;
}

.experience-modal[hidden] {
  display: none;
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.experience-modal.is-open {
  opacity: 1;
}

.experience-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(18, 18, 17, 0.26);
  backdrop-filter: blur(4px) saturate(82%);
  -webkit-backdrop-filter: blur(4px) saturate(82%);
  cursor: default;
}

.experience-modal-panel {
  position: relative;
  width: min(680px, calc(100vw - 40px));
  max-height: min(760px, calc(100svh - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 34px 100px rgba(0, 0, 0, 0.2);
  outline: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-modal.is-open .experience-modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.experience-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.experience-modal-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.experience-modal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: var(--site-cursor);
  transition: background-color 180ms ease, transform 180ms ease;
}

.experience-modal-close:hover,
.experience-modal-close:focus-visible {
  background: #f0f0ed;
  transform: rotate(3deg);
}

.experience-modal-body {
  position: relative;
  max-height: calc(min(760px, 100svh - 40px) - 74px);
  overflow-y: auto;
  padding: 38px 46px 34px;
  scrollbar-width: none;
}

.experience-modal-body::-webkit-scrollbar {
  display: none;
}

.experience-modal:not(.is-expanded) .experience-list {
  max-height: 355px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.38) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.38) 84%, transparent 100%);
}

.experience-modal:not(.is-expanded) .experience-row:nth-child(4) {
  opacity: 0.42;
  filter: blur(4px);
  pointer-events: none;
}

.experience-modal:not(.is-expanded) .experience-row:nth-child(n + 5) {
  display: none;
}

.experience-show-more,
.experience-close-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 32px auto 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111;
  font-size: 16px;
  cursor: var(--site-cursor);
  transition: background-color 180ms ease, transform 180ms ease;
}

.experience-show-more {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  color: #858580;
}

.experience-show-more-label {
  color: transparent;
  background: linear-gradient(90deg, #73736f 0%, #aaa9a4 72%);
  background-clip: text;
  -webkit-background-clip: text;
}

.experience-show-more .material-symbols-rounded,
.experience-close-bottom .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.experience-show-more:hover,
.experience-close-bottom:hover {
  background: #f3f3f0;
  transform: translateY(-1px);
}

.experience-show-more[hidden],
.experience-close-bottom[hidden] {
  display: none;
}

body.experience-modal-open {
  overflow: hidden;
}

.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;
}

body.is-dark-mode {
  --page: #0d0d0c;
  --ink: #f5f3ee;
  --muted: #a2a2a0;
  --soft: #1b1b1a;
  --accent: #6daeff;
  color-scheme: dark;
}

body.is-dark-mode .scroll-fade {
  background: linear-gradient(to bottom, rgba(13, 13, 12, 1) 0%, rgba(13, 13, 12, 0) 100%);
}

body.is-dark-mode .photo-card::before {
  border-color: rgba(255, 255, 255, 0.14);
}

body.is-dark-mode .photo-mask::before {
  background: linear-gradient(to bottom, rgba(13, 13, 12, 0.16), rgba(13, 13, 12, 0));
}

body.is-dark-mode .photo-mask::after {
  background: linear-gradient(to top, rgba(13, 13, 12, 0.22), rgba(13, 13, 12, 0));
}

body.is-dark-mode .language-toast,
body.is-dark-mode .language-hint,
body.is-dark-mode .detail-item h2,
body.is-dark-mode .story-block h2,
body.is-dark-mode .story-continuation h2,
body.is-dark-mode .date-range,
body.is-dark-mode .role-detail,
body.is-dark-mode .contact-label {
  color: #aaa8a2;
}

body.is-dark-mode .identity-line,
body.is-dark-mode .detail-item p {
  color: #aaa8a2;
}

body.is-dark-mode .identity-line strong,
body.is-dark-mode .detail-item strong,
body.is-dark-mode .years,
body.is-dark-mode .company-name,
body.is-dark-mode .company-text-link,
body.is-dark-mode .role-detail strong,
body.is-dark-mode .role-title,
body.is-dark-mode .contact-value,
body.is-dark-mode .social-links a,
body.is-dark-mode .contact-panel.is-active .social-links a:hover,
body.is-dark-mode .contact-panel.is-active .social-links a:focus-visible,
body.is-dark-mode .contact-panel.is-active .location-value:hover,
body.is-dark-mode .contact-panel.is-active .location-value:focus-within {
  color: #f2f2ee !important;
}

body.is-dark-mode .story-block p,
body.is-dark-mode .story-continuation p,
body.is-dark-mode .contact-content h2 {
  color: #e0ded7;
}

body.is-dark-mode .chip,
body.is-dark-mode .skill-chip {
  background: #1d1d1b;
  color: #b6b3ab;
}

body.is-dark-mode .chip.hot::before {
  color: #b6b3ab;
}

body.is-dark-mode .company-logo,
body.is-dark-mode .identity-logo,
body.is-dark-mode .language-key,
body.is-dark-mode .language-hint-key,
body.is-dark-mode .profile-edit-key {
  background-color: #1d1d1b;
}

body.is-dark-mode .experience-row::before,
body.is-dark-mode .location-value::before,
body.is-dark-mode .social-links a::before {
  background: rgba(255, 255, 255, 0.075);
}

body.is-dark-mode .contact-panel.is-active .social-links:hover a,
body.is-dark-mode .contact-panel.is-active .social-links:focus-within a {
  color: #aaa8a2 !important;
}

body.is-dark-mode .contact-panel.is-active .social-links a:hover,
body.is-dark-mode .contact-panel.is-active .social-links a:focus-visible {
  color: #f2f2ee !important;
}

body.is-dark-mode .show-more-link,
body.is-dark-mode .back-link {
  color: #7f7d78;
}

body.is-dark-mode .chain img,
body.is-dark-mode .date-arrow,
body.is-dark-mode .back-link img,
body.is-dark-mode .show-more-link img,
body.is-dark-mode .language-hint img {
  filter: invert(1) brightness(0.72);
}

body.is-dark-mode .ask-question {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 58%),
    #f5f3eb;
  color: #111;
}

body.is-dark-mode .ask-question-key {
  background: #f04c00;
  color: #fff;
}

.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: var(--photo-width) 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 {
    --photo-width: min(40.5vw, calc(77.5vh - 30px));
    grid-template-columns: var(--photo-width) minmax(340px, 1fr);
    height: auto;
    padding: 0 20px 40px;
    padding-top: 20px;
    gap: 24px;
  }

  .photo-pane {
    width: var(--photo-width);
    height: auto;
  }

  .photo-stack {
    width: var(--photo-width);
  }

  .portrait-card {
    height: auto;
    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-global-nav {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: auto;
    transform: scale(0.92);
    transform-origin: bottom right;
  }

  .experience-modal {
    align-items: end;
    padding: 10px;
  }

  .experience-modal-panel {
    width: 100%;
    max-height: calc(100svh - 20px);
    border-radius: 9px;
  }

  .experience-modal-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .experience-modal-body {
    max-height: calc(100svh - 86px);
    padding: 28px 20px 26px;
  }

  .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;
  }

}
