@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/manrope-v20-latin-300-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #061b31;
  --color-secondary: #64748d;
  --color-tertiary: #533afd;
  --color-tertiary-hover: #4434d4;
  --color-tertiary-light: #b9b9f9;
  --color-neutral: #ffffff;
  --color-border: #e5edf5;
  --color-focus: rgba(83, 58, 253, 0.5);
  --color-tint: rgba(83, 58, 253, 0.06);
  --font-display: "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius-sm: 4px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --shadow-card: rgba(50, 50, 93, 0.25) 0 30px 45px -30px, rgba(0, 0, 0, 0.1) 0 18px 36px -18px;
  --duration-fast: 160ms;
  --duration-base: 240ms;
  --duration-slow: 380ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --page-gutter: clamp(24px, 4vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-color: var(--color-tertiary) var(--color-neutral);
  scrollbar-width: thin;
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-primary);
  background: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--color-neutral);
}

body::-webkit-scrollbar-thumb {
  background: var(--color-tertiary);
  border: 2px solid var(--color-neutral);
  border-radius: var(--radius-sm);
}

::selection {
  color: var(--color-primary);
  background: rgba(83, 58, 253, 0.15);
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 16px;
  color: var(--color-neutral);
  background: var(--color-tertiary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  font-weight: 500;
  transform: translateY(calc(-100% - 24px));
  transition: transform var(--duration-fast) var(--ease-decelerate);
}

.skip-link:focus {
  transform: translateY(0);
}

.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--color-neutral);
}

.hero {
  isolation: isolate;
}

.registration-mark {
  position: absolute;
  top: clamp(32px, 7.5vh, 72px);
  left: clamp(24px, 4.4vw, 72px);
  width: 52px;
  height: 52px;
  color: var(--color-tertiary);
}

.registration-mark::before,
.registration-mark::after,
.registration-mark span {
  position: absolute;
  content: "";
}

.registration-mark::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.registration-mark::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
}

.registration-mark span {
  inset: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.signature {
  position: absolute;
  z-index: 1;
  top: 37%;
  left: 11.5%;
  width: 77%;
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(5.75rem, 9.85vw, 10.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
  white-space: nowrap;
  transform: translateY(-50%);
}

.signature span + span {
  margin-left: 0.12em;
}

.portrait-placeholder {
  position: absolute;
  z-index: 2;
  top: 52%;
  right: 11.25%;
  display: grid;
  width: clamp(144px, 10.25vw, 176px);
  aspect-ratio: 0.84;
  margin: 0;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--color-secondary);
  background: var(--color-neutral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transform: translateY(-36%);
}

.portrait-placeholder::after {
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  content: "";
  pointer-events: none;
}

.portrait-icon {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.portrait-placeholder figcaption {
  font-size: 0.8125rem;
  font-weight: 400;
}

.social-index {
  position: absolute;
  z-index: 3;
  right: 11.5%;
  bottom: 11.5%;
  left: 11.5%;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.social-index ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-index li {
  position: relative;
}

.social-index li + li {
  margin-left: 32px;
  padding-left: 32px;
}

.social-index li + li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  background: var(--color-border);
  content: "";
  transform: translateY(-50%);
}

.social-index a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.social-index a:hover {
  color: var(--color-tertiary);
  text-decoration: underline;
}

.social-index .email-link {
  color: var(--color-tertiary);
}

.social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.social-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.social-icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 2.25%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 56px;
  place-items: center;
  color: var(--color-tertiary);
  border-radius: var(--radius-sm);
  transform: translateX(-50%);
  animation: scroll-cue 1.8s var(--ease-standard) infinite;
}

.scroll-cue svg {
  width: 28px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.scroll-cue:hover {
  color: var(--color-tertiary-hover);
  background: var(--color-tint);
}

@keyframes scroll-cue {
  0%,
  100% {
    filter: blur(0);
    transform: translate(-50%, 0);
  }
  50% {
    filter: blur(0.2px);
    transform: translate(-50%, 8px);
  }
}

.future {
  display: grid;
  padding: var(--page-gutter);
  place-items: center;
  color: var(--color-neutral);
  background: var(--color-primary);
}

.future::before {
  position: absolute;
  top: var(--page-gutter);
  right: var(--page-gutter);
  width: 56px;
  height: 1px;
  background: var(--color-tertiary-light);
  content: "";
}

.future-content {
  width: min(100%, 68ch);
}

.future h2 {
  max-width: 10ch;
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.future p {
  max-width: 44ch;
  margin: 0 0 32px;
  color: var(--color-tertiary-light);
  font-size: 1.125rem;
}

.text-link {
  display: inline-block;
  padding: 10px 0;
  color: var(--color-neutral);
  font-weight: 400;
  text-decoration-color: var(--color-tertiary-light);
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--color-tertiary-light);
}

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.error-panel {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--page-gutter);
  place-items: center;
}

.error-content {
  position: relative;
  width: min(100%, 68ch);
}

.error-code {
  margin: 0;
  color: var(--color-tertiary);
  font-family: var(--font-display);
  font-size: clamp(7rem, 24vw, 20rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.error-content h1 {
  margin: 48px 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.error-content p {
  max-width: 46ch;
  margin: 0 0 32px;
  color: var(--color-secondary);
}

.error-content .text-link {
  color: var(--color-tertiary);
}

.error-content .text-link:hover {
  color: var(--color-tertiary-hover);
}

@media (max-width: 1100px) {
  .social-index {
    right: 8%;
    left: 8%;
  }

  .social-index li + li {
    margin-left: 20px;
    padding-left: 20px;
  }

  .social-index a {
    gap: 8px;
    font-size: 0.875rem;
  }
}

@media (max-width: 720px) {
  html {
    scroll-snap-type: y proximity;
  }

  .registration-mark {
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
  }

  .registration-mark span {
    inset: 13px;
  }

  .signature {
    top: 17%;
    left: 24px;
    width: calc(100% - 48px);
    font-size: clamp(4rem, 20vw, 5.5rem);
    line-height: 0.9;
    white-space: normal;
    transform: none;
  }

  .signature span {
    display: block;
  }

  .signature span + span {
    margin-left: 0;
  }

  .portrait-placeholder {
    top: 46%;
    right: 24px;
    width: 128px;
    transform: none;
  }

  .portrait-icon {
    width: 48px;
    height: 48px;
  }

  .social-index {
    right: 24px;
    bottom: 9%;
    left: 24px;
    padding-top: 16px;
  }

  .social-index ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }

  .social-index li + li {
    margin-left: 0;
    padding-left: 0;
  }

  .social-index li + li::before {
    display: none;
  }

  .social-index li:last-child {
    grid-column: 1 / -1;
  }

  .social-index a {
    min-height: 44px;
    font-size: 0.875rem;
  }

  .social-index .email-link {
    font-size: 0.8125rem;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }

  .scroll-cue {
    bottom: 8px;
  }

  .future-content {
    align-self: end;
    padding-bottom: 15vh;
  }

  .future h2 {
    margin-bottom: 24px;
    font-size: clamp(3.5rem, 18vw, 5rem);
  }
}

@media (max-width: 380px) {
  .signature {
    font-size: 4rem;
  }

  .portrait-placeholder {
    top: 42%;
    width: 112px;
  }

  .social-index {
    bottom: 8%;
  }
}

@media (max-height: 640px) and (min-width: 721px) {
  .signature {
    top: 31%;
    font-size: clamp(4.5rem, 9vw, 7.5rem);
  }

  .portrait-placeholder {
    top: 44%;
    width: 120px;
  }

  .social-index {
    bottom: 12%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
