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

html,
body {
  margin: 0;
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: #000000;
  color: #f5f5f5;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #f5f5f5;
  outline-offset: 4px;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #000000;
  background-image: url("video/background-poster.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

body.video-is-playing .stage-video {
  opacity: 1;
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.no-video .stage-video {
  display: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  color: #f5f5f5;
}

.topbar-end {
  position: relative;
}

.topbar-menu-btn {
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.88);
  user-select: none;
}

.topbar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 0 0;
}

@media (max-width: 719px) {
  .topbar-toggle:not(:checked) ~ .topbar-nav {
    display: none;
  }

  .topbar-toggle:checked ~ .topbar-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 3;
    display: flex;
    min-width: 10.5rem;
    padding: 0.95rem 1.1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.topbar-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.82);
  transition: color 0.2s ease;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: #ffffff;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 1.25rem 1rem;
  text-align: center;
}

.hero > * {
  width: min(100%, 42rem);
}

.portrait {
  margin: 0 auto 1.5rem;
  line-height: 0;
}

.portrait-photo {
  display: block;
  width: clamp(12.5rem, 52vw, 15rem);
  height: clamp(12.5rem, 52vw, 15rem);
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(100%);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.name-break {
  display: block;
}

.lede {
  max-width: 100%;
  margin: 1rem auto 0;
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .topbar {
    padding: 1.15rem 2rem;
    padding-top: calc(1.15rem + env(safe-area-inset-top, 0px));
  }

  .topbar-brand {
    font-size: 0.82rem;
  }

  .topbar-menu-btn,
  .topbar-toggle {
    display: none;
  }

  .topbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.15rem, 2.4vw, 2.35rem);
    padding: 0;
    margin: 0;
  }

  .portrait {
    margin-bottom: 1.75rem;
  }

  .portrait-photo {
    width: clamp(17.5rem, 22vw, 21.25rem);
    height: clamp(17.5rem, 22vw, 21.25rem);
  }

  h1 {
    font-size: clamp(2.75rem, 4.2vw, 3.65rem);
  }

  .lede {
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

.coming-soon-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  z-index: 4;
  width: max-content;
  max-width: min(22rem, calc(100vw - 2.5rem));
  padding: 0.62rem 1rem;
  background: rgba(7, 7, 7, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.4rem;
  color: rgba(245, 245, 245, 0.88);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 0.85rem);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.coming-soon-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .stage-video {
    display: none;
  }

  .coming-soon-toast {
    transition: none;
  }
}
