@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-padding: clamp(24px, 6vw, 56px);
  --stage-max: 720px;
  --stage-height-max: 900px;
  --stage-height-ratio: 88svh;
  --font-title: "Clash Display", "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-title-weight: 400;
  --text-white: rgba(255, 255, 255, 0.94);
  --text-muted: rgba(255, 255, 255, 0.68);
  --focus-ring: rgba(255, 255, 255, 0.9);
  --bg-ice: #dbe7ff;
  --bg-sky: #8fc5ff;
  --bg-blue: #3f7df2;
  --bg-deep-blue: #174fd8;
  --bg-lavender: #c9b8ff;
  --bg-violet: #7467f5;
  --bg-pink: #ead5ff;
  --background-drift-main-speed: 7s;
  --background-drift-haze-speed: 10s;
  --background-lens-speed: 20s;
  --text-slide-duration: 5200ms;
  --contact-enter-duration: 1900ms;
  --slide-frame-height: 19rem;
  --slide-title-line-height: 0.98em;
  --title-font-size: 4.35rem;
  --description-font-size: 1.19rem;
  --description-letter-spacing: 0.005em;
  --slide-meta-gap: 1rem;
  --slide-action-gap: 4.25rem;
  --slide-action-height: 44px;
  --contact-portrait-size: min(50vw, calc(var(--stage-max) * 0.5));
  --contact-portrait-gap: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: #6da8ff;
  background:
    linear-gradient(180deg, #78adff 0%, #7eb7ff 38%, #5d95f0 72%, #4f80dc 100%);
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--text-white);
  background-color: #6da8ff;
  background:
    linear-gradient(180deg, #78adff 0%, #7eb7ff 38%, #5d95f0 72%, #4f80dc 100%);
}

body::before,
body::after,
.background-lens {
  content: "";
  position: fixed;
  pointer-events: none;
  will-change: transform;
}

.background-lens {
  z-index: 0;
  width: 86vmax;
  aspect-ratio: 1;
  left: calc(50% - 43vmax);
  top: calc(50% - 43vmax);
  opacity: 0.98;
  border-radius: 47% 53% 52% 48% / 46% 45% 55% 54%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.78) 22%,
      rgba(255, 255, 255, 0.42) 46%,
      rgba(255, 255, 255, 0.12) 66%,
      transparent 80%);
  filter: blur(28px);
  transform-origin: 50% 50%;
  animation: lensFigureEight var(--background-lens-speed) ease-in-out infinite;
}

.background-lens::before,
.background-lens::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
}

.background-lens::before {
  background:
    radial-gradient(circle at 44% 46%,
      rgba(156, 244, 255, 0.98) 0%,
      rgba(110, 214, 255, 0.72) 24%,
      rgba(110, 214, 255, 0.24) 50%,
      transparent 72%);
  animation: lensCyanPulse calc(var(--background-lens-speed) * 0.82) ease-in-out infinite alternate;
}

.background-lens::after {
  background:
    radial-gradient(circle at 58% 54%,
      rgba(220, 188, 255, 0.94) 0%,
      rgba(166, 132, 255, 0.66) 28%,
      rgba(166, 132, 255, 0.22) 52%,
      transparent 74%);
  animation: lensVioletPulse calc(var(--background-lens-speed) * 1.08) ease-in-out infinite alternate;
}

.is-debug-background-lens .background-lens {
  opacity: 0.95;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 0, 80, 0.98) 0%,
      rgba(255, 0, 80, 0.78) 28%,
      rgba(255, 0, 80, 0.34) 55%,
      transparent 78%);
  filter: blur(10px);
  mix-blend-mode: normal;
}

.is-debug-background-lens .background-lens::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at 45% 45%,
      rgba(255, 255, 0, 0.92) 0%,
      rgba(255, 145, 0, 0.55) 30%,
      transparent 64%);
}

.is-debug-background-lens .background-lens::after {
  opacity: 0.75;
  background:
    radial-gradient(circle at 58% 55%,
      rgba(255, 0, 255, 0.92) 0%,
      rgba(132, 0, 255, 0.52) 34%,
      transparent 68%);
}

body::before {
  z-index: 1;
  width: 176vw;
  height: 176vh;
  left: -42vw;
  top: -40vh;
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 17% 18%, rgba(255, 255, 255, 0.32), transparent 34%),
    radial-gradient(ellipse at 76% 22%, rgba(143, 197, 255, 0.68), transparent 43%),
    radial-gradient(ellipse at 31% 64%, rgba(201, 184, 255, 0.48), transparent 40%),
    radial-gradient(ellipse at 76% 86%, rgba(23, 79, 216, 0.62), transparent 46%),
    linear-gradient(145deg, var(--bg-ice) 0%, var(--bg-sky) 38%, var(--bg-blue) 72%, var(--bg-deep-blue) 100%);
  filter: blur(22px);
  animation: gradientDriftA var(--background-drift-main-speed) ease-in-out infinite alternate;
}

body::after {
  z-index: 2;
  width: 158vw;
  height: 158vh;
  left: -30vw;
  top: -30vh;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 74% 18%, rgba(234, 213, 255, 0.48), transparent 36%),
    radial-gradient(ellipse at 18% 82%, rgba(219, 231, 255, 0.30), transparent 44%),
    radial-gradient(ellipse at 82% 84%, rgba(116, 103, 245, 0.44), transparent 40%);
  filter: blur(72px);
  mix-blend-mode: soft-light;
  animation: gradientDriftB var(--background-drift-haze-speed) ease-in-out infinite alternate;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 36%, rgba(10, 30, 90, 0.2) 100%);
}

.stage {
  container-type: inline-size;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    max(var(--page-padding), env(safe-area-inset-top))
    max(var(--page-padding), env(safe-area-inset-right))
    max(var(--page-padding), env(safe-area-inset-bottom))
    max(var(--page-padding), env(safe-area-inset-left));
  overflow: hidden;
}

@supports (width: 1cqw) {
  :root {
    --contact-portrait-size: min(50cqw, calc(var(--stage-max) * 0.5));
  }
}

.avatar,
.copy-area {
  z-index: 1;
}

.avatar {
  position: absolute;
  top: max(var(--page-padding), env(safe-area-inset-top));
  right: max(var(--page-padding), env(safe-area-inset-right));
  width: clamp(58px, 16vw, 84px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.avatar__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.avatar__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(20, 40, 120, 0.15);
  transition:
    opacity 680ms ease-in-out,
    transform 680ms ease-in-out,
    filter 680ms ease-in-out;
}

.avatar__face--front {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.avatar__face--back {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(3px);
}

.avatar:hover .avatar__face--front,
.avatar.is-flipped .avatar__face--front {
  opacity: 0;
  transform: scale(0.98);
  filter: blur(2px);
}

.avatar:hover .avatar__face--back,
.avatar.is-flipped .avatar__face--back {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.avatar.is-locked-logo .avatar__face--front,
.avatar.is-locked-logo:hover .avatar__face--front {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.avatar.is-locked-logo .avatar__face--back,
.avatar.is-locked-logo:hover .avatar__face--back {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(3px);
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-area {
  position: absolute;
  left: max(var(--page-padding), env(safe-area-inset-left));
  right: max(var(--page-padding), env(safe-area-inset-right));
  bottom: max(var(--page-padding), env(safe-area-inset-bottom));
  min-height: var(--slide-frame-height);
}

.slides {
  position: relative;
  min-height: var(--slide-frame-height);
  max-width: 32rem;
}

.slide {
  display: none;
  max-width: 32rem;
  min-height: var(--slide-frame-height);
}

.slide-title,
.slide-description,
.contact-name,
.contact-role {
  user-select: none;
  -webkit-user-select: none;
}

.slide--contact {
  display: block;
  position: relative;
}

.is-enhanced .slide {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
}

.is-enhanced .slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-title,
.contact-card h1 {
  display: block;
  min-height: calc(var(--slide-title-line-height) * 2);
  margin: 0;
  color: var(--text-white);
  font-family: var(--font-title);
  font-size: var(--title-font-size);
  font-weight: var(--font-title-weight);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.title-line,
.contact-name__line {
  display: block;
  height: var(--slide-title-line-height);
  line-height: var(--slide-title-line-height);
}

.slide-description,
.contact-card p {
  max-width: 22rem;
  min-height: 1.45em;
  margin: var(--slide-meta-gap) 0 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--description-font-size);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: var(--description-letter-spacing);
}

.slide-actions {
  min-height: var(--slide-action-height);
  margin-top: var(--slide-action-gap);
}

.is-enhanced .slide--text .title-line,
.is-enhanced .slide--text .slide-description {
  opacity: 0;
}

.is-enhanced .slide--text.is-active .motion-from-left {
  animation: textDriftFromLeft var(--text-slide-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.is-enhanced .slide--text.is-active .motion-from-right {
  animation: textDriftFromRight var(--text-slide-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.contact-name {
  max-width: 8ch;
}

.contact-portrait {
  display: none;
  position: absolute;
  left: 0;
  top: calc((var(--contact-portrait-size) + var(--contact-portrait-gap)) * -1);
  z-index: 2;
  width: var(--contact-portrait-size);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0;
  opacity: 0;
  pointer-events: auto;
  transform-origin: 0 100%;
}

.contact-portrait__float {
  display: block;
  width: 100%;
  height: 100%;
  animation: contactPortraitFloat 8.5s ease-in-out infinite alternate;
}

.contact-portrait__frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 24px 70px rgba(16, 36, 110, 0.22);
}

.contact-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-enhanced .slide--contact .contact-name__line,
.is-enhanced .slide--contact .contact-role,
.is-enhanced .slide--contact .contact-links a {
  opacity: 0;
}

.is-enhanced .copy-area.has-large-avatar .contact-portrait {
  display: block;
}

.is-enhanced .copy-area.has-large-avatar .contact-portrait {
  animation: contactPortraitReveal 1500ms cubic-bezier(0.2, 0.8, 0.2, 1) 160ms both;
}

.is-enhanced .copy-area.has-large-avatar.is-hiding-large-avatar .contact-portrait {
  animation: contactPortraitExit 820ms ease-in both;
}

.is-enhanced .slide--contact.is-active.is-exiting {
  pointer-events: none;
}

.is-enhanced .slide--contact.is-active.is-exiting .contact-name__line,
.is-enhanced .slide--contact.is-active.is-exiting .contact-role,
.is-enhanced .slide--contact.is-active.is-exiting .contact-links a {
  animation: contactContentExit 760ms ease-in both;
}

.is-enhanced .slide--contact.is-active .contact-name__line.motion-from-left {
  animation: contactEnterFromLeft var(--contact-enter-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.is-enhanced .slide--contact.is-active .contact-name__line.motion-from-right {
  animation: contactEnterFromRight var(--contact-enter-duration) cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.is-enhanced .slide--contact.is-active .contact-role {
  animation: contactFade 900ms ease 860ms both;
}

.is-enhanced .slide--contact.is-active .contact-links a {
  animation: contactFade 700ms ease both;
}

.is-enhanced .slide--contact.is-active .contact-links a:nth-child(1) {
  animation-delay: 1800ms;
}

.is-enhanced .slide--contact.is-active .contact-links a:nth-child(2) {
  animation-delay: 1980ms;
}

.is-enhanced .slide--contact.is-active .contact-links a:nth-child(3) {
  animation-delay: 2160ms;
}

.is-enhanced .slide--contact.is-active .contact-links a:nth-child(4) {
  animation-delay: 2340ms;
}

.is-enhanced .slide--contact.is-active.is-paused .contact-name__line,
.is-enhanced .slide--contact.is-active.is-paused .contact-role,
.is-enhanced .slide--contact.is-active.is-paused .contact-links a,
.is-enhanced .copy-area.has-large-avatar.is-paused .contact-portrait,
.is-enhanced .copy-area.has-large-avatar.is-paused .contact-portrait__float {
  animation-play-state: paused !important;
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: var(--slide-action-height);
  margin-top: var(--slide-action-gap);
}

.contact-links a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  text-decoration: none;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-3px) scale(1.08);
}

.contact-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@keyframes gradientDriftA {
  from {
    transform: translate3d(-8%, -5%, 0) rotate(0deg) scale(1.02);
  }

  to {
    transform: translate3d(8%, 7%, 0) rotate(26deg) scale(1.17);
  }
}

@keyframes gradientDriftB {
  from {
    transform: translate3d(6%, 4%, 0) rotate(0deg) scale(1.04);
  }

  to {
    transform: translate3d(-7%, 8%, 0) rotate(-24deg) scale(1.18);
  }
}

@keyframes lensFigureEight {
  0% {
    transform: translate3d(-34vw, -18vh, 0) rotate(0deg) skew(0deg, 0deg) scaleX(0.88) scaleY(1.18);
    border-radius: 47% 53% 52% 48% / 46% 45% 55% 54%;
  }

  8% {
    transform: translate3d(-12vw, -31vh, 0) rotate(27deg) skew(-4deg, 2deg) scaleX(1.24) scaleY(0.82);
    border-radius: 58% 42% 44% 56% / 48% 60% 40% 52%;
  }

  17% {
    transform: translate3d(28vw, -12vh, 0) rotate(71deg) skew(6deg, -3deg) scaleX(0.78) scaleY(1.28);
    border-radius: 42% 58% 56% 44% / 60% 42% 58% 40%;
  }

  29% {
    transform: translate3d(39vw, 18vh, 0) rotate(123deg) skew(-7deg, 4deg) scaleX(1.18) scaleY(0.86);
    border-radius: 52% 48% 42% 58% / 44% 52% 48% 56%;
  }

  41% {
    transform: translate3d(8vw, 33vh, 0) rotate(184deg) skew(3deg, -5deg) scaleX(0.84) scaleY(1.22);
    border-radius: 56% 44% 50% 50% / 42% 56% 44% 58%;
  }

  53% {
    transform: translate3d(-26vw, 21vh, 0) rotate(226deg) skew(-5deg, 6deg) scaleX(1.3) scaleY(0.78);
    border-radius: 60% 40% 46% 54% / 46% 58% 42% 54%;
  }

  67% {
    transform: translate3d(-42vw, -4vh, 0) rotate(279deg) skew(8deg, -2deg) scaleX(0.8) scaleY(1.34);
    border-radius: 44% 56% 54% 46% / 60% 40% 58% 42%;
  }

  79% {
    transform: translate3d(-6vw, -8vh, 0) rotate(318deg) skew(-2deg, 8deg) scaleX(1.12) scaleY(0.9);
    border-radius: 48% 52% 58% 42% / 44% 50% 50% 56%;
  }

  91% {
    transform: translate3d(22vw, 6vh, 0) rotate(346deg) skew(5deg, -7deg) scaleX(0.92) scaleY(1.16);
    border-radius: 54% 46% 43% 57% / 44% 54% 46% 56%;
  }

  100% {
    transform: translate3d(-34vw, -18vh, 0) rotate(360deg) skew(0deg, 0deg) scaleX(0.88) scaleY(1.18);
    border-radius: 47% 53% 52% 48% / 46% 45% 55% 54%;
  }
}

@keyframes lensCyanPulse {
  from {
    opacity: 0.18;
    transform: translate3d(-3%, 2%, 0) scale(0.88);
  }

  to {
    opacity: 0.72;
    transform: translate3d(5%, -4%, 0) scale(1.12);
  }
}

@keyframes lensVioletPulse {
  from {
    opacity: 0.64;
    transform: translate3d(4%, -3%, 0) scale(1.08);
  }

  to {
    opacity: 0.2;
    transform: translate3d(-5%, 5%, 0) scale(0.86);
  }
}

@keyframes textDriftFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  18% {
    opacity: 1;
    transform: translateX(0);
  }

  76% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes textDriftFromRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  22% {
    opacity: 1;
    transform: translateX(0);
  }

  74% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes contactEnterFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-22px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contactEnterFromRight {
  0% {
    opacity: 0;
    transform: translateX(22px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contactFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes contactPortraitReveal {
  0% {
    opacity: 0;
    transform: translate3d(-20px, 16px, 0) scale(0.82);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes contactPortraitFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg) scale(1);
  }

  50% {
    transform: translate3d(10px, -12px, 0) rotate(0.55deg) scale(1.018);
  }

  100% {
    transform: translate3d(-7px, -20px, 0) rotate(-0.25deg) scale(1.006);
  }
}

@keyframes contactPortraitExit {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate3d(-12px, -18px, 0) scale(0.92);
    filter: blur(8px);
  }
}

@keyframes contactContentExit {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    filter: blur(5px);
  }
}

@media (max-width: 360px) {
  :root {
    --slide-frame-height: 15rem;
    --title-font-size: 3.81rem;
  }

  .contact-links {
    gap: 0.3rem;
  }
}

@media (max-width: 767px) {
  :root {
    --slide-frame-height: 18.25rem;
    --title-font-size: 4.35rem;
    --description-font-size: 1.25rem;
  }

  .copy-area {
    bottom: max(calc(var(--page-padding) + 1.5rem), calc(env(safe-area-inset-bottom) + 0.5rem));
  }

  .contact-links {
    gap: 0.28rem;
  }
}

@media (max-width: 360px) {
  :root {
    --slide-frame-height: 15rem;
    --title-font-size: 3.81rem;
  }
}

@media (min-width: 520px) {
  :root {
    --title-font-size: 5.18rem;
  }

  .slide-title,
  .contact-card h1 {
    font-size: var(--title-font-size);
  }

  .slide-description,
  .contact-card p {
    font-size: var(--description-font-size);
  }
}

@media (min-width: 768px) {
  body {
    display: grid;
    place-items: center;
  }

  body::before {
    width: 230vw;
    height: max(180vh, 150vw);
    left: -64vw;
    top: auto;
    bottom: -62vh;
  }

  body::after {
    width: 210vw;
    height: max(170vh, 132vw);
    left: -52vw;
    top: auto;
    bottom: -56vh;
  }

  .background-lens {
    width: 76vmax;
    left: calc(50% - 38vmax);
    top: calc(50% - 38vmax);
  }

  .page-shell {
    display: grid;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
  }

  .stage {
    width: min(var(--stage-max), calc(100vw - (var(--page-padding) * 2)));
    height: min(var(--stage-height-max), var(--stage-height-ratio));
    min-height: auto;
  }

  .slide-title,
  .contact-card h1 {
    font-size: 6.35rem;
  }
}

@media (min-width: 768px) and (max-height: 640px) {
  :root {
    --page-padding: clamp(12px, 3.2vh, 32px);
    --slide-frame-height: clamp(10.25rem, 33vh, 12.5rem);
    --slide-title-line-height: 0.94em;
    --slide-meta-gap: clamp(0.35rem, 0.9vh, 0.55rem);
    --slide-action-gap: clamp(0.35rem, 1.1vh, 0.7rem);
    --slide-action-height: clamp(30px, 5.4vh, 34px);
    --description-font-size: clamp(0.97rem, 2.7vh, 1.08rem);
    --stage-height-ratio: 100svh;
  }

  body,
  .page-shell {
    align-items: start;
  }

  .page-shell {
    min-height: 100svh;
  }

  .stage {
    width: min(var(--stage-max), 62vw);
  }

  .avatar {
    width: clamp(54px, 12vh, 72px);
  }

  .copy-area {
    bottom: max(var(--page-padding), env(safe-area-inset-bottom));
  }

  .slides,
  .slide {
    max-width: 26rem;
  }

  .slide-title,
  .contact-card h1 {
    font-size: clamp(2.7rem, 10.8vh, 5.1rem);
    line-height: 0.94;
  }

  .slide-description,
  .contact-card p {
    font-size: var(--description-font-size);
  }

  .contact-links {
    gap: clamp(0.25rem, 0.7vh, 0.38rem);
  }

  .contact-links a {
    width: var(--slide-action-height);
    height: var(--slide-action-height);
  }

  .contact-links svg {
    width: clamp(16px, 2.9vh, 18px);
    height: clamp(16px, 2.9vh, 18px);
  }
}

@media (max-height: 640px) {
  .avatar {
    cursor: default;
    pointer-events: none;
  }

  .is-enhanced .copy-area.has-large-avatar .contact-portrait {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body::before,
  body::after,
  .background-lens,
  .background-lens::before,
  .background-lens::after {
    animation: none !important;
  }
}

.is-debug-force-motion body::before,
.is-force-background-motion body::before {
  animation: gradientDriftA var(--background-drift-main-speed) ease-in-out infinite alternate !important;
}

.is-debug-force-motion body::after,
.is-force-background-motion body::after {
  animation: gradientDriftB var(--background-drift-haze-speed) ease-in-out infinite alternate !important;
}

.is-debug-force-motion .background-lens,
.is-force-background-motion .background-lens {
  animation: lensFigureEight var(--background-lens-speed) ease-in-out infinite !important;
}

.is-debug-force-motion .background-lens::before,
.is-force-background-motion .background-lens::before {
  animation: lensCyanPulse calc(var(--background-lens-speed) * 0.82) ease-in-out infinite alternate !important;
}

.is-debug-force-motion .background-lens::after,
.is-force-background-motion .background-lens::after {
  animation: lensVioletPulse calc(var(--background-lens-speed) * 1.08) ease-in-out infinite alternate !important;
}

.is-force-text-motion .slide--text.is-active .motion-from-left {
  animation: textDriftFromLeft var(--text-slide-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both !important;
}

.is-force-text-motion .slide--text.is-active .motion-from-right {
  animation: textDriftFromRight var(--text-slide-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-name__line.motion-from-left {
  animation: contactEnterFromLeft var(--contact-enter-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-name__line.motion-from-right {
  animation: contactEnterFromRight var(--contact-enter-duration) cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-role {
  animation: contactFade 900ms ease 860ms both !important;
}

.is-force-text-motion .copy-area.has-large-avatar .contact-portrait {
  animation: contactPortraitReveal 1500ms cubic-bezier(0.2, 0.8, 0.2, 1) 160ms both !important;
}

.is-force-text-motion .copy-area.has-large-avatar .contact-portrait__float {
  animation: contactPortraitFloat 8.5s ease-in-out infinite alternate !important;
}

.is-force-text-motion .copy-area.has-large-avatar.is-hiding-large-avatar .contact-portrait {
  animation: contactPortraitExit 820ms ease-in both !important;
}

.is-force-text-motion .slide--contact.is-active.is-exiting .contact-name__line,
.is-force-text-motion .slide--contact.is-active.is-exiting .contact-role,
.is-force-text-motion .slide--contact.is-active.is-exiting .contact-links a {
  animation: contactContentExit 760ms ease-in both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-links a:nth-child(1) {
  animation: contactFade 700ms ease 1800ms both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-links a:nth-child(2) {
  animation: contactFade 700ms ease 1980ms both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-links a:nth-child(3) {
  animation: contactFade 700ms ease 2160ms both !important;
}

.is-force-text-motion .slide--contact.is-active .contact-links a:nth-child(4) {
  animation: contactFade 700ms ease 2340ms both !important;
}
