:root {
  --bio-dark: #29303D;
  --bio-text: #4A5261;
  --bio-blue: #0070E0;
  --bio-blue-2: #0066CC;
  --bio-soft: #EAF5FF;
  --bio-white: #FFFFFF;
  --bio-font-head: "Montserrat", system-ui, sans-serif;
  --bio-font-body: "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { min-height: 100%; }

body.page-bio {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--bio-text);
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 112, 224, 0.18), transparent 30%),
    radial-gradient(circle at 88% 86%, rgba(51, 153, 255, 0.2), transparent 34%),
    linear-gradient(160deg, #F8FBFF 0%, var(--bio-soft) 52%, #FFFFFF 100%);
  font-family: var(--bio-font-body);
}

.bio-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.bio-card {
  width: min(100%, 470px);
  padding: clamp(24px, 6vw, 38px);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 112, 224, 0.13);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(26, 91, 154, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bio-logo {
  width: auto;
  height: 48px;
  margin: 0 auto 18px;
}

.bio-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0381FF, #8CC7FF);
  box-shadow: 0 12px 30px rgba(0, 112, 224, 0.22);
}

.bio-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 70% 20%;
  border: 3px solid var(--bio-white);
  border-radius: 50%;
}

.bio-eyebrow {
  margin: 0 0 8px;
  color: var(--bio-blue-2);
  font-family: var(--bio-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bio-card h1 {
  margin: 0 0 10px;
  color: var(--bio-dark);
  font-family: var(--bio-font-head);
  font-size: clamp(1.6rem, 7vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bio-subtitle {
  max-width: 35ch;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bio-link {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--bio-white);
  text-align: left;
  text-decoration: none;
  background: linear-gradient(135deg, var(--bio-blue-2), var(--bio-blue));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bio-link__icon,
.bio-link__arrow {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.bio-link__icon {
  width: 46px;
  height: 46px;
}

.bio-link__icon svg { width: 25px; height: 25px; }

.bio-link__copy { min-width: 0; }

.bio-link__copy strong,
.bio-link__copy small { display: block; }

.bio-link__copy strong {
  font-family: var(--bio-font-head);
  font-size: 0.98rem;
  line-height: 1.25;
}

.bio-link__copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.3;
}

.bio-link__arrow {
  width: 32px;
  height: 32px;
}

.bio-link__arrow svg { width: 20px; height: 20px; }

.bio-note {
  margin: 14px 0 0;
  color: var(--bio-text);
  font-size: 0.76rem;
}

.bio-handle {
  margin: 24px 0 0;
  color: var(--bio-dark);
  font-family: var(--bio-font-head);
  font-size: 0.78rem;
  font-weight: 600;
}

.bio-link:focus-visible {
  outline: 3px solid var(--bio-dark);
  outline-offset: 4px;
}

@media (hover: hover) {
  .bio-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 102, 204, 0.32);
  }
}

@media (max-height: 680px) {
  .bio-shell { padding-block: 12px; }
  .bio-card { padding-block: 20px; }
  .bio-logo { height: 40px; margin-bottom: 12px; }
  .bio-avatar { width: 88px; height: 88px; margin-bottom: 12px; }
  .bio-subtitle { margin-bottom: 16px; }
  .bio-handle { margin-top: 16px; }
}

@media (max-width: 359px) and (max-height: 680px) {
  .bio-card { padding-inline: 16px; }

  .bio-link {
    min-height: 74px;
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 8px;
    padding: 10px 12px;
  }

  .bio-link__icon { width: 40px; height: 40px; }
  .bio-link__arrow { width: 28px; height: 28px; }
  .bio-link__copy small { display: none; }
  .bio-note { margin-top: 10px; }
  .bio-handle { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-link { transition: none; }
}
