:root {
  color-scheme: dark;
  --theme: #f43f5e;
  --theme-dark: #101058;
  --panel: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--theme) 76%, white 12%), transparent 34rem),
    linear-gradient(150deg, var(--theme), var(--theme-dark) 72%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.bio-shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px 22px;
}

.bio-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 34px 20px 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
}

.orb {
  position: absolute;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.28;
  filter: blur(10px);
  pointer-events: none;
}

.orb.one {
  top: -90px;
  left: -90px;
  background: #fff;
}

.orb.two {
  right: -120px;
  bottom: -120px;
  background: #00c6d7;
}

.bio-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: var(--theme-dark);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.bio-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 10vw, 58px);
  line-height: 0.95;
}

.intro {
  max-width: 38ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.website-link {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--theme-dark);
  font-weight: 900;
}

.hidden {
  display: none;
}

.articles {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.article-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.thumb {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 16, 88, 0.12), rgba(244, 63, 94, 0.2));
  object-fit: cover;
}

.article-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.18;
}

.article-card p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card time {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.empty {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  text-align: center;
}

.skeleton {
  pointer-events: none;
}

.skeleton span,
.skeleton strong,
.skeleton p {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, #e5e7eb, #f9fafb, #e5e7eb);
  background-size: 200% 100%;
  animation: pulse 1.4s infinite;
}

.skeleton span {
  width: 92px;
  height: 92px;
}

.skeleton strong {
  width: 80%;
  height: 18px;
}

.skeleton p {
  width: 65%;
  height: 14px;
  margin-top: 10px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@keyframes pulse {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 420px) {
  .bio-shell {
    padding-inline: 12px;
  }

  .article-card {
    grid-template-columns: 78px minmax(0, 1fr);
    border-radius: 18px;
  }

  .thumb,
  .skeleton span {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }
}
