@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  color-scheme: dark;
  font-family: "DM Sans", system-ui, sans-serif;
  --page: #05080d;
  --surface: #0b121c;
  --border: #234967;
  --muted: #b8cadb;
  --accent: #0c3455;
  --accent-light: #72d8ff;
  background: var(--page);
  color: #f0f8ff;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  display: flow-root;
  background:
    radial-gradient(ellipse 550px 410px at 18% 12%, #0571bc36, transparent 72%),
    radial-gradient(ellipse 550px 440px at 86% 66%, #0074cc38, transparent 74%),
    radial-gradient(ellipse 400px 230px at 50% 100%, #007cce26, transparent 80%),
    var(--page);
}

.profile {
  width: min(100% - 32px, 500px);
  margin: clamp(20px, 6vh, 64px) auto;
  padding-bottom: 16px;
}

.banner {
  display: block;
  width: min(calc(100% + 140px), calc(100vw - 12px));
  height: clamp(150px, 49vw, 250px);
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.1);
}

.portrait {
  position: relative;
  width: 124px;
  height: 124px;
  margin: -56px auto 0;
  border: 6px solid var(--page);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}

.portrait img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 165%;
  height: auto;
  transform: translateX(-53%);
}

.intro { text-align: center; margin: 10px auto 28px; }
h1 {
  margin: 0;
  font: 800 48px/.98 "Barlow Condensed", sans-serif;
  letter-spacing: .025em;
}

.handle {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-light);
  font-size: .9rem;
  text-underline-offset: .2em;
}

.handle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

p {
  max-width: 32ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 15px #28afff38, inset 0 0 10px #25baff14;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thumbnail {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #030609;
  font-size: 1.08rem;
}

.thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-copy { flex: 1; min-width: 0; }
.card strong, .card-copy > span { display: block; }
.card strong { font-size: 1rem; }
.card-copy > span { color: var(--muted); font-size: .8rem; margin-top: 3px; }
.card.primary {
  background: var(--accent);
  border-color: var(--accent-light);
  box-shadow: 0 0 22px #28afff65, inset 0 0 12px #72d8ff28;
  color: #fff;
}
.card.primary .card-copy span, .card.primary .status { color: inherit; opacity: 1; }
.status { font-size: .74rem; white-space: nowrap; opacity: .8; }
.arrow { font-size: 1.25rem; }
@media (hover: hover) {
  .card:hover {
    transform: scale(1.035);
    border-color: var(--accent-light);
    box-shadow: 0 0 25px #28afff80, inset 0 0 12px #72d8ff38;
  }

  .card.primary:hover { background: #10436b; }
}

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}

a.card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
