:root {
  --bg: #050508;
  --ink: rgba(255, 255, 255, 0.82);
  --mute: rgba(255, 255, 255, 0.52);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  margin: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  height: 100dvh;
  max-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
}
body {
  margin: 0;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  pointer-events: none;
  z-index: 0;
}
.bloom {
  position: absolute;
  inset: -22%;
  pointer-events: none;
  background:
    radial-gradient(44% 36% at 24% 30%, rgba(130, 180, 255, 0.22), transparent 70%),
    radial-gradient(38% 32% at 76% 22%, rgba(255, 105, 180, 0.14), transparent 72%),
    radial-gradient(34% 30% at 70% 74%, rgba(255, 208, 120, 0.11), transparent 70%),
    radial-gradient(30% 28% at 18% 78%, rgba(165, 125, 255, 0.12), transparent 68%),
    radial-gradient(52% 42% at 50% 52%, rgba(80, 110, 190, 0.08), transparent 74%);
  filter: blur(40px);
}
.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.page {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.page-slot {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.2rem 2rem;
}
.bubble {
  position: relative;
  isolation: isolate;
  max-width: 32rem;
  padding: 1.65rem 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 42px rgba(0, 0, 0, 0.36);
}
.bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(8, 8, 14, 0.58);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
}
.bubble p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: var(--ink);
  font-size: 1.12rem;
}
.bubble p:last-child { margin-bottom: 0; }

.nav {
  position: fixed;
  top: max(0.9rem, calc(env(safe-area-inset-top) + 0.55rem));
  left: max(0.9rem, calc(env(safe-area-inset-left) + 0.55rem));
  z-index: 30;
}
.nav-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 2.45rem;
  height: 2.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.58rem 0.52rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.72rem;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  pointer-events: none;
}
.nav-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  flex: 0 0 1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav.is-open .nav-btn span:nth-of-type(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-btn span:nth-of-type(2) {
  opacity: 0;
  visibility: hidden;
  transform: scaleX(0);
}
.nav.is-open .nav-btn span:nth-of-type(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-list {
  position: relative;
  isolation: isolate;
  margin: 0.45rem 0 0;
  padding: 0.32rem;
  list-style: none;
  min-width: 10.6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px rgba(0, 0, 0, 0.34);
}
.nav-list::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  pointer-events: none;
}
.nav-list a {
  display: block;
  padding: 0.55rem 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: 0.58rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.nav-list a:hover {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.08);
}
.nav-btn:focus-visible,
.nav-list a:focus-visible {
  outline: 2px solid rgba(190, 220, 255, 0.7);
  outline-offset: 2px;
}

.socials {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(1.05rem, env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.05rem;
}
.socials a {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.socials a:hover,
.socials a:focus-visible {
  color: rgba(255, 255, 255, 0.96);
}
.socials a:focus-visible {
  outline: 2px solid rgba(190, 220, 255, 0.7);
  outline-offset: 3px;
  border-radius: 0.35rem;
}
.socials svg {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
  overflow: visible;
}
.socials svg.icon-mail {
  width: 1.232rem;
  height: 1.232rem;
}
