:root {
  color-scheme: dark;
  --bg: #120d10;
  --panel: #1d161c;
  --panel-strong: #241a24;
  --line: #43313e;
  --text: #fff7fb;
  --muted: #c9b7c3;
  --soft: #f7b7d4;
  --pink: #ff2f8f;
  --blue: #74d9ff;
  --green: #99f0c4;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 47, 143, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(116, 217, 255, 0.14), transparent 25rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  padding: 1.1rem clamp(1.25rem, 7vw, 5.8rem);
  border-top: 3px solid #3c2735;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 13, 16, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 800;
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 2.4rem);
  color: var(--muted);
  font-size: 1.05rem;
}

.top-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--pink);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 18.5rem) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 5.8rem);
  width: min(76rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.8rem) 0 3.5rem;
}

.profile-panel {
  align-self: start;
  min-width: 0;
}

.avatar-wrap {
  display: grid;
  place-items: center;
  width: 7.4rem;
  height: 7.4rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(247, 183, 212, 0.42), transparent 52%),
    linear-gradient(45deg, rgba(116, 217, 255, 0.32), transparent 54%),
    #332538;
  box-shadow: var(--shadow);
}

.avatar {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
}

.profile-copy,
.info-section p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.quick-facts span {
  padding: 0.45rem 0.68rem;
  border: 1px solid rgba(255, 47, 143, 0.35);
  border-radius: 999px;
  background: rgba(255, 47, 143, 0.08);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.content-column {
  display: grid;
  gap: 2rem;
}

.info-section {
  padding: clamp(1.4rem, 4vw, 2.1rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.2rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.mini-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 26, 36, 0.96), rgba(29, 22, 28, 0.9));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: rgba(116, 217, 255, 0.14);
  color: var(--blue);
  font-weight: 900;
}

.mini-card h3 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.02rem;
}

.mini-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(11rem, 0.75fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 0;
}

.status-section p:last-child {
  margin-top: 0;
}

.site-footer {
  width: min(76rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 47, 143, 0.5);
  border-radius: 8px;
  background: rgba(255, 47, 143, 0.1);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: var(--pink);
  background: rgba(255, 47, 143, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .profile-panel {
    padding-bottom: 0.4rem;
  }

  .card-grid,
  .status-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .top-nav {
    gap: 0.75rem;
    font-size: 0.95rem;
  }

  .footer-links a {
    width: 100%;
    justify-content: center;
  }
}
