:root {
  color-scheme: dark;
  --bg-top: #232122;
  --bg-mid: #242223;
  --bg-glow: #5a3b48;
  --border: rgba(217, 151, 167, 0.24);
  --text: #f2eded;
  --accent: #d997a7;
  --accent-strong: #e6a6b5;
  --shadow: rgba(10, 9, 9, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-top);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 112%, rgba(230, 166, 181, 0.32), transparent 38rem),
    radial-gradient(circle at 50% 82%, rgba(90, 59, 72, 0.68), transparent 30rem),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, #2d2529 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(75, 52, 61, 0.24) 62%, rgba(90, 59, 72, 0.4) 100%),
    radial-gradient(circle at 15% 20%, rgba(217, 151, 167, 0.08), transparent 20rem);
}

a {
  color: inherit;
}

.page-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(3.5rem, 12vh, 7.5rem) 1.25rem 2rem;
  text-align: center;
}

.brand-mark {
  display: grid;
  position: relative;
  width: clamp(9rem, 30vw, 12.5rem);
  aspect-ratio: 1;
  place-items: center;
  padding: 1rem;
  border-radius: 999px;
  background-color: transparent;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.brand-mark::before {
  position: absolute;
  inset: 0.35rem;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 38%, rgba(255, 255, 255, 0.5) 58%, transparent 76%);
  filter: blur(0.8rem);
  opacity: 0.58;
  transform: scale(0.96);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.brand-mark:hover::before {
  filter: blur(1rem);
  opacity: 0.98;
  transform: scale(1.12);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 999px;
  filter: drop-shadow(0 0.95rem 1.85rem rgba(10, 9, 9, 0.3));
  opacity: 1;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.brand-mark:hover {
  box-shadow: 0 1rem 2.4rem rgba(10, 9, 9, 0.18);
  transform: translateY(-2px);
}

.brand-mark:hover img {
  filter: drop-shadow(0 0.7rem 1.35rem rgba(10, 9, 9, 0.2));
  opacity: 1;
  transform: scale(1.02);
}

.age-note {
  max-width: 100%;
  margin: clamp(2.1rem, 6vw, 3.25rem) 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(2.2rem, 8vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1rem 2.5rem rgba(10, 9, 9, 0.38);
}

.profile-links {
  display: flex;
  width: min(100%, 27rem);
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2.2rem, 7vw, 3.5rem);
}

.profile-link {
  display: grid;
  width: 100%;
  min-height: 4rem;
  place-items: center;
  border: 1px solid rgba(242, 237, 237, 0.88);
  border-radius: 1rem;
  background: #f2eded;
  box-shadow:
    0 0.75rem 1.8rem rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  color: #232122;
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.profile-link:hover,
.profile-link:focus-visible {
  border-color: var(--accent-strong);
  color: #1c1b1b;
  background-color: #ffffff;
  box-shadow:
    0 1rem 2.25rem rgba(0, 0, 0, 0.28),
    0 0 0 0.28rem rgba(217, 151, 167, 0.16);
  transform: translateY(-2px);
}

.profile-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

.story-note {
  width: min(100%, 34rem);
  margin: clamp(1.7rem, 5vw, 2.5rem) 0 0;
  color: rgba(242, 237, 237, 0.9);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}

@media (max-width: 36rem) {
  .page-shell {
    padding: clamp(3rem, 9vh, 4.5rem) 1rem 1.5rem;
  }

  .profile-links {
    width: 100%;
  }

  .story-note {
    max-width: 21rem;
  }
}

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