:root {
  color-scheme: dark;
  --bg: #090b10;
  --ink: #f7f3ea;
  --muted: #aeb8c7;
  --panel: #101722;
  --line: #293547;
  --blue: #8fb3d9;
  --blue-soft: #58708f;
  --blue-deep: #172437;
  --ice: #c6d6e8;
  --glass: rgba(8, 12, 20, 0.6);
  --glass-strong: rgba(10, 17, 28, 0.64);
  --glass-line: rgba(247, 243, 234, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(143, 179, 217, 0.2), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(88, 112, 143, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(12, 19, 30, 0.94), rgba(6, 9, 15, 0.98)),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px 24px;
}

.profile {
  display: grid;
  gap: 18px;
  padding-block: 8px 24px;
  text-align: center;
}

.profile__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  display: block;
  border: 1px solid rgba(198, 214, 232, 0.2);
  border-radius: 12px;
  object-fit: cover;
  object-position: center 58%;
  box-shadow: var(--shadow);
}

.profile__copy {
  display: grid;
  gap: 10px;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 14vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.bio {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 12px;
}

.project-link {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(18, 27, 41, 0.84), rgba(7, 11, 19, 0.66)),
    var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-link::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, rgba(247, 243, 234, 0.14), transparent 38%);
  opacity: 0.26;
}

.project-link:focus-visible,
.project-link:hover {
  border-color: rgba(143, 179, 217, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(143, 179, 217, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.project-link__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #07100f;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--ice));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 8px 22px rgba(143, 179, 217, 0.18);
  border-radius: 8px;
}

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

.project-link strong {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.project-link small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.whatsapp-button {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 16px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(91, 122, 158, 0.78), rgba(17, 31, 50, 0.74)),
    var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 42px rgba(44, 74, 112, 0.28),
    0 0 42px rgba(143, 179, 217, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, rgba(247, 243, 234, 0.18), transparent 42%);
  opacity: 0.26;
}

.whatsapp-button:focus-visible,
.whatsapp-button:hover {
  filter: saturate(1.08) brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 22px 48px rgba(44, 74, 112, 0.34),
    0 0 52px rgba(143, 179, 217, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

footer {
  padding: 24px 8px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.5;
}

footer p {
  margin: 0;
}

@media (min-width: 680px) {
  .page-shell {
    padding-top: 42px;
  }
}
