:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #627084;
  --paper: #f5f7f9;
  --surface: rgba(255, 255, 255, 0.82);
  --line: rgba(60, 75, 94, 0.16);
  --blue: #527da5;
  --blue-deep: #274963;
  --accent: #bf7e56;
  --shadow: 0 22px 60px rgba(20, 31, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(82, 125, 165, 0.2), transparent 38rem),
    linear-gradient(145deg, #edf1f4 0%, var(--paper) 48%, #e6ebef 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(100%, 31rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
  display: grid;
  align-content: center;
  gap: 1.5rem;
}

.profile {
  text-align: center;
}

.profile-photo {
  width: clamp(8.75rem, 34vw, 12rem);
  height: clamp(8.75rem, 34vw, 12rem);
  display: block;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.summary {
  max-width: 29rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.links {
  display: grid;
  gap: 0.75rem;
}

.link-card {
  min-height: 4.75rem;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(82, 125, 165, 0.55);
  box-shadow: 0 14px 38px rgba(39, 73, 99, 0.16);
  transform: translateY(-2px);
}

.link-card:focus-visible {
  outline: 3px solid rgba(191, 126, 86, 0.34);
  outline-offset: 3px;
}

.link-icon {
  width: 2.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
}

.link-icon svg {
  width: 1.22rem;
  height: 1.22rem;
  fill: currentColor;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  font-size: 1rem;
  line-height: 1.3;
}

.link-card small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

@media (max-width: 380px) {
  .page-shell {
    padding-inline: 1rem;
  }

  .link-card {
    grid-template-columns: 2.35rem 1fr;
    gap: 0.75rem;
  }

  .link-icon {
    width: 2.35rem;
  }
}