:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #181818;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #fff; background: #262626; }
:focus-visible { outline: 1px solid #242424; outline-offset: 7px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -180%);
  background: #fff;
  padding: 12px 18px;
  font-size: 14px;
}
.skip-link:focus { transform: translate(-50%, 0); }
.site-header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 48px;
}
.identity { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -6px; }
.identity-logo { display: block; width: 24px; height: 24px; }
.resume-link { display: flex; gap: 12px; align-items: center; min-height: 44px; margin-top: 0; font-size: 13px; }
.resume-link span { color: #777; font-size: 17px; transition: transform 220ms ease; }
.resume-link:hover span { transform: translate(2px, -2px); }
.home {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 106px 24px 72px;
}
.home-content { display: flex; flex-direction: column; align-items: center; width: 100%; }
.home:focus { outline: none; }
.portrait-stage {
  position: relative;
  height: clamp(250px, 62vh, 600px);
  height: clamp(250px, 62svh, 600px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  background: #fff;
}
.portrait-stage::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, #fff 0%, transparent 3%, transparent 97%, #fff 100%),
    linear-gradient(#fff 0%, transparent 8%, transparent 94%, #fff 100%);
}
/* Lift the codec's 253-level whites to the page's exact white without flattening shadows. */
.portrait-video { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(1.012); }
.home-navigation { display: flex; justify-content: center; gap: 54px; margin-top: 27px; }
.home-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.4;
}
.home-link span { position: relative; padding: 9px 0; }
.home-link span::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms cubic-bezier(.2, .7, .2, 1);
}
.home-link:hover span::after, .home-link:focus-visible span::after { transform: scaleX(1); transform-origin: left; }
.playback-toggle {
  position: fixed;
  right: 34px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #858585;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.playback-toggle[hidden] { display: none; }
.playback-toggle:hover { color: #181818; background: #f5f5f5; }
.play-icon, .playback-toggle[data-paused="true"] .pause-icon { display: none; }
.playback-toggle[data-paused="true"] .play-icon { display: block; }
@media (max-width: 600px) {
  .site-header { padding: 27px 25px; }
  .resume-link { font-size: 12px; gap: 8px; }
  .home { padding: 104px 24px 80px; }
  .portrait-stage { height: clamp(250px, 59svh, 520px); }
  .home-navigation { gap: 28px; margin-top: 25px; }
  .home-link { font-size: 11px; letter-spacing: .1em; }
  .playback-toggle { right: 15px; bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (max-height: 600px) and (min-width: 601px) {
  .site-header { padding: 26px 32px; }
  .home { padding-top: 82px; padding-bottom: 48px; }
  .portrait-stage { height: 270px; }
  .home-navigation { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
