:root {
  color-scheme: dark;
  --profile-bg: #080b18;
  --profile-panel: rgba(15, 21, 44, 0.92);
  --profile-line: rgba(112, 255, 211, 0.42);
  --profile-mint: #70ffd3;
  --profile-pink: #ff70ca;
  --profile-text: #f7f8ff;
  --profile-muted: #bbc3df;
}

.creator-strip {
  display: grid;
  grid-template-columns: minmax(108px, 150px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.creator-strip > *,
.profile-hero > * {
  min-width: 0;
}

.creator-strip__portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--profile-mint);
  border-radius: 20px;
  box-shadow: 0 0 26px rgba(112, 255, 211, 0.25);
}

.creator-strip__copy h2 {
  margin: 0.15rem 0 0.5rem;
}

.creator-strip__copy p {
  max-width: 65ch;
}

.creator-strip__link {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--profile-mint);
  border-radius: 999px;
  color: var(--profile-mint);
  font-weight: 800;
  text-decoration: none;
}

.profile-page {
  min-height: 100vh;
  margin: 0;
  color: var(--profile-text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 112, 202, 0.18), transparent 35rem),
    radial-gradient(circle at 85% 20%, rgba(112, 255, 211, 0.16), transparent 34rem),
    linear-gradient(145deg, #050713, var(--profile-bg));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.profile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.profile-nav a,
.profile-links a,
.profile-back {
  color: var(--profile-mint);
  text-underline-offset: 0.22em;
}

.profile-nav a[aria-current="page"] {
  color: var(--profile-text);
  text-decoration: none;
}

.profile-main {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--profile-line);
  border-radius: 28px;
  background: var(--profile-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.profile-portrait {
  display: block;
  width: min(100%, 500px);
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1290 / 1275;
  object-fit: cover;
  border: 3px solid var(--profile-mint);
  border-radius: 26px;
  box-shadow: 0 0 45px rgba(112, 255, 211, 0.2);
}

.profile-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--profile-pink);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-title {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.profile-title span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.48em;
  letter-spacing: 0;
}

.profile-lead {
  max-width: 62ch;
  margin: 1.2rem 0;
  color: var(--profile-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.profile-badges li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--profile-line);
  border-radius: 999px;
  background: rgba(112, 255, 211, 0.07);
  font-weight: 760;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.profile-card {
  padding: clamp(1.1rem, 3vw, 1.8rem);
  border: 1px solid rgba(187, 195, 223, 0.22);
  border-radius: 22px;
  background: rgba(15, 21, 44, 0.72);
}

.profile-card h2 {
  margin-top: 0;
}

.profile-links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-links a {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(112, 255, 211, 0.22);
  border-radius: 14px;
  background: rgba(112, 255, 211, 0.05);
}

.profile-note {
  margin-top: 1rem;
  color: var(--profile-muted);
  font-size: 0.92rem;
}

.profile-footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--profile-muted);
  font-size: 0.9rem;
}

.profile-page a:focus-visible,
.creator-strip__link:focus-visible {
  outline: 3px solid var(--profile-pink);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .creator-strip,
  .profile-hero,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .creator-strip__portrait {
    width: min(44vw, 150px);
  }

  .profile-hero {
    border-radius: 20px;
  }

  .profile-portrait {
    width: 100%;
    max-width: 100%;
  }
}
