:root {
  --bg: #040302;
  --surface: oklch(.145 .006 25);
  --text: #f2eee9;
  --body: #89817f;
  --muted: #89817f;
  --accent: oklch(.66 .225 27);
  --focus: oklch(.77 .15 30);
  --column: 37.5rem;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv01";
  font-optical-sizing: auto;
  font-kerning: auto;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { width: 100%; min-width: min(20rem, 100%); height: 100%; margin: 0; overflow: hidden; }
html { background: var(--bg); }

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.profile-shell {
  width: min(var(--column), calc(100% - 3rem));
  height: 100svh;
  height: 100dvh;
  margin-inline: auto;
  padding: max(2rem, env(safe-area-inset-top)) 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.identity { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.avatar { width: 4rem; height: 4rem; flex: 0 0 auto; border-radius: 0; object-fit: contain; object-position: center; background: transparent; }
.default-nine, .resume-default, .contact-copy, .figma-period { display: none; }
.figma-break { display: none; }
.identity-copy { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.identity-copy h1, .identity-copy p { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.25rem; letter-spacing: normal; font-weight: 510; }
.identity-copy h1 { color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }
.identity-copy p { color: var(--muted); text-align: center; white-space: normal; }
.subtitle { width: 100%; min-height: 1.25rem; height: auto; position: relative; display: grid; align-items: center; }
.subtitle-stage, .subtitle-reserve { grid-area: 1 / 1; width: 100%; text-align: center; }
.subtitle-stage { position: relative; z-index: 1; overflow-wrap: anywhere; }
.subtitle-reserve { visibility: hidden; overflow-wrap: anywhere; }
.subtitle-builds { display: inline-block; color: #fff; font-family: Fondamento, serif; font-style: italic; font-weight: 400; }
.type-character { display: inline-block; overflow: hidden; vertical-align: bottom; }
.type-cursor { display: inline-block; width: .0625rem; height: .9em; margin-left: .125rem; background: currentColor; vertical-align: -.08em; animation: cursor-blink 1s cubic-bezier(.4, 0, .6, 1) infinite; }

.bio { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.75rem; color: var(--body); font-weight: 400; }
.bio p { margin: 0; }
.bio-copy { order: 2; width: 100%; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.875rem; text-align: center; }
.bio-copy > span { display: inline; }
.figma-nine, .figma-years, .figma-emphasis { color: #fff; font-family: Fondamento, serif; text-transform: capitalize; }
.figma-nine { display: inline; font-style: italic; }
.figma-emphasis i { font-weight: 400; }
.contact-line { order: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1rem; line-height: 1.25rem; }

.inline-link {
  display: inline-flex;
  align-items: baseline;
  gap: .3125rem;
  color: var(--text);
  color: #fff;
  font-family: Fondamento, serif;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}
.inline-link i { display: inline-block; align-self: center; font-size: 1rem; line-height: 1; text-decoration: none; }
.inline-link .fa-telegram { color: #409fff; }
.inline-link .fa-linkedin { color: #3b82f6; }
.resume-link i { color: #ff3b30; font-size: .8rem; }
.resume-figma { display: inline; }
.inline-link:hover { color: var(--accent); }

.portfolio { min-width: 0; margin-top: 1.75rem; --deck-gap: .75rem; }
.mode-control {
  width: 100%;
  min-height: 2.75rem;
  margin: var(--deck-gap) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem minmax(0, 1fr);
  align-items: center;
  justify-content: center;
}
.mode-label {
  position: relative;
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  padding: 0 .5625rem;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .36s cubic-bezier(.2, 0, 0, 1);
}
.mode-label.is-selected { color: var(--text); }
.mode-label-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition-property: opacity, transform;
  transition-duration: .36s;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.mode-label-text-default {
  font-family: Fondamento, serif;
  font-style: normal;
  font-weight: 400;
}
.mode-label-text-active {
  font-family: Fondamento, serif;
  font-style: italic;
  font-weight: 400;
  opacity: 0;
  transform: translateY(.125rem);
}
.mode-label.is-selected .mode-label-text-default { opacity: 0; transform: translateY(-.125rem); }
.mode-label.is-selected .mode-label-text-active { opacity: 1; transform: translateY(0); }
.mode-toggle {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  margin: -.25rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mode-toggle::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 2.125rem;
  height: 1.125rem;
  left: 50%;
  top: 50%;
  border: .0625rem solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 50%), rgb(0 0 0 / 0%)) padding-box,
    linear-gradient(90deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 3%)) border-box;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity .36s cubic-bezier(.2, 0, 0, 1);
}
.mode-toggle::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 2.125rem;
  height: 1.125rem;
  left: 50%;
  top: 50%;
  border: .0625rem solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(270deg, rgb(255 255 255 / 50%), rgb(0 0 0 / 0%)) padding-box,
    linear-gradient(270deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 3%)) border-box;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .36s cubic-bezier(.2, 0, 0, 1);
}
.mode-toggle span {
  position: absolute;
  width: .75rem;
  height: .75rem;
  left: calc(50% - .875rem);
  top: calc(50% - .375rem);
  border-radius: 50%;
  background: #fff;
  transition-property: transform, scale;
  transition-duration: .42s, .2s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1), cubic-bezier(.2, 0, 0, 1);
  z-index: 1;
}
.mode-toggle.is-projects span { transform: translateX(1rem); }
.mode-toggle.is-projects::before { opacity: 0; }
.mode-toggle.is-projects::after { opacity: 1; }
.mode-toggle:active span { scale: .96; }
.mode-toggle:focus-visible {
  outline: .125rem solid color-mix(in oklch, var(--text) 65%, transparent);
  outline-offset: -.25rem;
}

.deck-viewport {
  --card-peek: 20;
  --card-peek-far: 34;
  position: relative;
  height: 14.25rem;
  touch-action: pan-x;
  perspective: 50rem;
  user-select: none;
  cursor: ns-resize;
  outline: none;
}
.deck {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.deck.is-current { z-index: 1; opacity: 1; pointer-events: auto; }
.deck-stack { position: relative; height: 14.25rem; overflow: visible; transform-style: preserve-3d; }
.card {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.625rem;
  height: 10.875rem;
  border-radius: 1rem;
  transform-origin: center;
  padding: 1.0625rem 1.125rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: oklch(.17 0 0);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  box-shadow: inset .0625rem .0625rem 0 oklch(1 0 0 / .1), inset -.0625rem -.0625rem 0 oklch(1 0 0 / .04), 0 1.125rem 2.875rem oklch(0 0 0 / .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0) scale(.94);
  transition: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: -25% auto -25% -160%;
  width: 192%;
  background: linear-gradient(90deg, transparent 0 28%, rgb(255 255 255 / 6%) 42%, rgb(255 255 255 / 16%) 50%, rgb(255 255 255 / 6%) 58%, transparent 72% 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='soft' x='-15%25' width='130%25'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M30 0 C45 4 49 8 37 12 C23 16 27 21 43 24 C59 28 55 33 40 36 C25 40 31 45 49 48 C65 52 60 57 43 60 C28 64 34 69 54 72 C70 76 66 81 48 84 C35 88 49 94 62 100 L88 100 C77 94 68 88 70 84 C73 79 86 76 68 72 C51 68 52 64 65 60 C80 55 75 51 61 48 C47 44 50 40 66 36 C80 32 73 27 58 24 C44 20 48 16 60 12 C72 8 65 4 55 0 Z' fill='white' filter='url(%23soft)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='soft' x='-15%25' width='130%25'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M30 0 C45 4 49 8 37 12 C23 16 27 21 43 24 C59 28 55 33 40 36 C25 40 31 45 49 48 C65 52 60 57 43 60 C28 64 34 69 54 72 C70 76 66 81 48 84 C35 88 49 94 62 100 L88 100 C77 94 68 88 70 84 C73 79 86 76 68 72 C51 68 52 64 65 60 C80 55 75 51 61 48 C47 44 50 40 66 36 C80 32 73 27 58 24 C44 20 48 16 60 12 C72 8 65 4 55 0 Z' fill='white' filter='url(%23soft)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: skewX(-45deg) translateX(0);
  z-index: 2;
}
.deck-viewport.is-ready .card { transition: opacity 260ms cubic-bezier(.32, .72, 0, 1), transform 320ms cubic-bezier(.32, .72, 0, 1); }
.card > * {
  position: relative;
  z-index: 1;
  opacity: var(--content-opacity, 0);
  transition: opacity 220ms cubic-bezier(.32, .72, 0, 1);
}
.card.is-active { z-index: 14; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.card.is-active[data-case-href] { cursor: pointer; }
.card.is-previous-far { z-index: 11; opacity: 1; transform: translateY(calc(var(--card-peek-far) * -1px)) scale(.95); }
.card.is-previous { z-index: 12; opacity: 1; transform: translateY(calc(var(--card-peek) * -1px)) scale(.972); }
.card.is-next { z-index: 13; opacity: 1; transform: translateY(calc(var(--card-peek) * 1px)) scale(.972); }
.card.is-next-far { z-index: 11; opacity: 1; transform: translateY(calc(var(--card-peek-far) * 1px)) scale(.95); }
.card.is-hidden { z-index: 10; opacity: 0; }
.deck-viewport.is-tracking .card,
.deck-viewport.is-tracking .card > *,
.deck-viewport.is-springing .card,
.deck-viewport.is-springing .card > *,
.deck-viewport.is-dragging .card,
.deck-viewport.is-dragging .card > *,
.deck-viewport.is-animating .card,
.deck-viewport.is-animating .card > *,
.deck-viewport.is-mode-transitioning .card > * { transition: none; }
.deck-viewport.is-mode-transitioning .card > * { will-change: transform, opacity, clip-path; }
.card.is-mode-sheen::after {
  animation: card-sheen-forward 5.76s cubic-bezier(.22, .61, .36, 1) both;
}
.deck-viewport.is-tracking .card,
.deck-viewport.is-springing .card { will-change: transform, opacity; }
.deck-viewport.is-animating .card { will-change: transform, opacity; }
.deck-viewport.is-dragging .card { will-change: transform, opacity; }
.deck-viewport.is-tracking { cursor: grabbing; }
.deck-viewport.is-instant .card,
.deck-viewport.is-instant .card > *,
.deck-viewport.is-instant .deck { transition: none; }
.card.is-interacting { z-index: 15; pointer-events: none; will-change: transform, opacity; }
.card.is-depth-front { z-index: 16; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .75rem; line-height: 1rem; font-weight: 400; }
.card-brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--text); font-size: .9375rem; line-height: 1.25rem; font-weight: 500; }
.card-logo { width: 1.875rem; height: 1.875rem; flex: 0 0 auto; display: block; border-radius: .4375rem; object-fit: cover; box-shadow: 0 0 0 .0625rem oklch(1 0 0 / .08); }
.card-platforms { display: inline-flex; align-items: center; gap: .3125rem; }
.card-platforms img { width: 1rem; height: 1rem; display: block; object-fit: contain; }
.card-duration { color: var(--text); font-size: .8125rem; line-height: 1rem; font-weight: 500; white-space: nowrap; }
.card h2 { max-width: 25rem; margin: .375rem 0 0; font-size: .9375rem; line-height: 1.5rem; font-weight: 500; letter-spacing: normal; }
.card-result { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.card-result p { max-width: 22.5rem; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5rem; font-weight: 400; }
.card-result strong { color: var(--text); font-size: .9375rem; line-height: 1.5rem; font-weight: 500; white-space: nowrap; }
.card-period { text-align: right; }

.sr-only { position: absolute; width: .0625rem; height: .0625rem; padding: 0; margin: -.0625rem; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

:focus-visible { outline: .125rem solid var(--focus); outline-offset: .1875rem; border-radius: .25rem; }
.deck-viewport:focus-visible { outline-offset: .375rem; border-radius: 1.125rem; }

@keyframes cursor-blink { 0%, 42% { opacity: 1; transform: scaleY(1); } 50%, 92% { opacity: .18; transform: scaleY(.72); } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes card-sheen-forward {
  0% { opacity: .06; transform: skewX(-45deg) translateX(-12%); }
  .5% { opacity: .08; }
  16% { opacity: .22; }
  72% { opacity: .14; }
  100% { opacity: 0; transform: skewX(-45deg) translateX(137%); }
}

@media (max-width: 40.625rem) {
  html, body { height: auto; overflow-y: auto; }
  body { min-height: var(--visible-viewport-height, 100dvh); }
  .profile-shell {
    width: min(100% - 3rem, var(--column));
    min-height: 100svh;
    min-height: var(--visible-viewport-height, 100dvh);
    height: auto;
    padding-top: max(env(safe-area-inset-top), clamp(.75rem, calc(100svh - 41.125rem), 2rem));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    justify-content: flex-start;
  }
  .portfolio { margin-top: auto; padding-top: clamp(.75rem, calc(9.195svh - 3.101rem), 1.75rem); --deck-gap: .75rem; }
  .bio-copy { font-size: 1rem; line-height: 1.625rem; }
  .inline-link { font-size: .9375rem; }
  .mode-control { min-height: clamp(2.25rem, calc(4.598svh + .325rem), 2.75rem); margin-top: var(--deck-gap); grid-template-columns: minmax(0, 1fr) clamp(2.25rem, calc(4.598svh + .325rem), 2.75rem) minmax(0, 1fr); }
  .mode-label { min-height: clamp(2.25rem, calc(4.598svh + .325rem), 2.75rem); height: clamp(2.25rem, calc(4.598svh + .325rem), 2.75rem); }
  .mode-toggle { width: clamp(2.75rem, calc(4.598svh + .825rem), 3.25rem); height: clamp(2.75rem, calc(4.598svh + .825rem), 3.25rem); }
  .avatar { width: clamp(3rem, calc(9.195svh - .851rem), 4rem); height: clamp(3rem, calc(9.195svh - .851rem), 4rem); }
  .deck-viewport {
    --deck-height: clamp(10.875rem, calc(42.53svh - 6.9375rem), 15.5rem);
    --card-top: clamp(1.25rem, calc(3.448svh - .194rem), 1.625rem);
    --card-height: clamp(8.375rem, calc(33.333svh - 5.583rem), 12rem);
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .deck { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; }
  .deck-stack {
    height: auto;
    min-height: var(--deck-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(var(--card-height), max-content);
    padding-top: var(--card-top);
    padding-bottom: max(0px, calc(var(--deck-height) - var(--card-height) - var(--card-top)));
  }
  .card { top: auto; height: auto; min-height: var(--card-height); grid-area: 1 / 1; position: relative; min-width: 0; }
  .card-meta { flex-wrap: wrap; row-gap: .25rem; }
  .card-brand { min-width: 0; }
  .card h2, .card-result p { overflow-wrap: anywhere; }
  .card-result p { min-width: 0; }
  .card-result { flex-wrap: wrap; }
  .card-result p { max-width: 14.375rem; font-size: .8125rem; line-height: 1.25rem; }
  .card-result strong { font-size: .875rem; line-height: 1.25rem; }
}

@media (min-width: 24.4375rem) and (max-width: 40.625rem) {
  .bio-copy { font-size: clamp(1rem, calc(2.5svh - .125rem), 1.0625rem); line-height: clamp(1.625rem, calc(5svh - .625rem), 1.75rem); }
}

/* Full-size mobile content needs ~698px; compact below that so it doesn't overflow. */
@media (max-width: 40.625rem) and (max-height: 43.625rem) {
  html, body { overflow-y: auto; }
  .profile-shell { padding-bottom: .75rem; }
  .portfolio { margin-top: .75rem; --deck-gap: .125rem; }
  .profile-shell { padding-top: max(env(safe-area-inset-top), clamp(.75rem, calc(100svh - 41.125rem), 2rem)); }
  .identity-copy h1, .identity-copy p { font-size: clamp(.875rem, calc(6.897svh - 2.0125rem), 1rem); line-height: clamp(1.125rem, calc(6.897svh - 1.7625rem), 1.25rem); }
  .subtitle { min-height: clamp(1.125rem, calc(6.897svh - 1.7625rem), 1.25rem); height: auto; }
  .identity-copy { gap: clamp(.5rem, calc(100svh - 42.375rem), .75rem); }
  .bio { margin-top: clamp(.875rem, calc(100svh - 41.875rem), 1.75rem); gap: clamp(.75rem, calc(100svh - 41.875rem), 1.75rem); }
  .bio-copy { font-size: clamp(.875rem, calc(6.897svh - 2.0125rem), 1rem); line-height: clamp(1.375rem, calc(13.793svh - 4.4rem), 1.625rem); }
  .inline-link { font-size: .8125rem; }
  .inline-link i { font-size: .75rem; }
  .mode-control { margin-top: 1rem; }
  .mode-toggle { margin: -.25rem; }
  .mode-label { font-size: clamp(.875rem, calc(6.897svh - 2.0125rem), 1rem); line-height: clamp(1.125rem, calc(13.793svh - 4.4rem), 1.625rem); }
  .card { border-radius: clamp(.875rem, calc(2.299svh - .0875rem), 1rem); }
  .card { padding: .625rem .75rem; }
  .deck-viewport { --card-peek: 14; --card-peek-far: 25; }
  .card-meta { font-size: .75rem; line-height: 1rem; }
  .card-duration { font-size: .75rem; line-height: 1rem; }
  .card h2 { margin-top: .25rem; font-size: .75rem; line-height: 1rem; }
  .card-result p { max-width: 12.5rem; font-size: .75rem; line-height: 1rem; }
  .card-result strong { font-size: .75rem; line-height: 1rem; }
}

@media (max-width: 40.625rem) and (max-height: 43.625rem) {
  .profile-shell { padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
  .portfolio { margin-top: auto; }
}

@media (min-width: 40.6875rem) and (max-height: 43.625rem) {
  html, body { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; }
  .profile-shell { min-height: 100svh; height: auto; justify-content: flex-start; padding-top: max(.75rem, env(safe-area-inset-top)); padding-bottom: .75rem; }
  .portfolio { margin-top: .75rem; --deck-gap: .125rem; }
  .avatar { width: 3rem; height: 3rem; }
  .identity-copy h1, .identity-copy p { font-size: .875rem; line-height: 1.125rem; }
  .subtitle { min-height: 1.125rem; height: auto; }
  .identity-copy { gap: .5rem; }
  .bio { margin-top: .875rem; gap: .75rem; }
  .bio-copy { font-size: .875rem; line-height: 1.375rem; }
  .inline-link { font-size: .8125rem; }
  .inline-link i { font-size: .75rem; }
  .mode-control { min-height: 2.25rem; margin-top: 1rem; grid-template-columns: minmax(0, 1fr) 2.25rem minmax(0, 1fr); }
  .mode-label { min-height: 2.25rem; height: 2.25rem; font-size: .875rem; line-height: 1.125rem; }
  .mode-toggle { width: 2.75rem; height: 2.75rem; margin: -.25rem; }
  .deck-viewport, .deck-stack { height: 10.875rem; }
  .card { top: 1.25rem; height: 8.375rem; border-radius: .875rem; padding: .625rem .75rem; }
  .deck-viewport { --card-peek: 14; --card-peek-far: 25; }
  .card-meta { font-size: .75rem; line-height: 1rem; }
  .card-duration { font-size: .75rem; line-height: 1rem; }
  .card h2 { margin-top: .25rem; font-size: .75rem; line-height: 1rem; }
  .card-result p { max-width: 12.5rem; font-size: .75rem; line-height: 1rem; }
  .card-result strong { font-size: .75rem; line-height: 1rem; }
}

@media (min-width: 112.5rem) and (min-height: 56.25rem) {
  html, body { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; }
  .profile-shell {
    width: 37.5rem;
    min-height: 100svh;
    height: auto;
    padding: 2rem 0 1.5rem;
  }
  .identity { gap: 1.5rem; }
  .avatar { width: 6.5rem; height: 6.5rem; }
  .identity-copy { gap: 1rem; }
  .identity-copy h1 { font-size: 1.25rem; line-height: 1.5rem; }
  .identity-copy p {
    font-size: 1.25rem;
    line-height: 1.375rem;
    min-height: 1.375rem;
    height: auto;
  }
  .bio {
    margin-top: 2.5rem;
    gap: 2.5rem;
  }
  .portfolio { margin-top: 2.5rem; }
  .bio-copy {
    width: 37.5rem;
    font-size: 1.25rem;
    line-height: 2.5rem;
    min-height: 10rem;
    height: auto;
  }
  .figma-break { display: initial; }

  .contact-line {
    gap: 1.5rem;
    line-height: 1.625rem;
  }
  .inline-link {
    font-size: 1.25rem;
    line-height: 1.625rem;
  }
  .inline-link i { font-size: 1.25rem; }
  .resume-link i { color: #ff3b30; font-size: 1rem; }

}

@media (prefers-reduced-motion: reduce) {
  .deck-viewport.is-ready .deck,
  .deck-viewport.is-ready .card,
  .card > *,
  .mode-toggle::before,
  .mode-toggle::after,
  .mode-toggle span,
  .mode-label,
  .mode-label-text,
  .inline-link { transition: none; }
  .type-cursor,
  .card::after { animation: none; }
}

@media (forced-colors: active) {
  .card { border: .0625rem solid CanvasText; }
  .mode-toggle::before { border: .0625rem solid ButtonText; }
  .mode-toggle span { background: Highlight; }
}
