@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f0efeb;
  --ink: #171716;
  --muted-ink: #55544f;
  --focus: #315ee7;
  --rule: #c7c6c0;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: var(--muted-ink) var(--paper);
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.bio { width: min(100%, 440px); }
.profile { text-align: center; }
.profile__photo {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  background: #f7f7f5;
}
.profile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1.7);
  transform-origin: 52% 35%;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}
.social-links .social-icon { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.social-links .social-icon--instagram { width: 20px; height: 20px; }
.social-links .social-icon--email { width: 24px; height: 24px; }
h1 {
  margin: 19px 0 8px;
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.profile p { margin: 0; color: var(--muted-ink); font-size: 15px; line-height: 1.5; }
.bio-links { display: grid; gap: 12px; margin-top: 34px; }
.bio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 91px;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  transition: border-color 180ms ease-out, background-color 180ms ease-out;
}
.bio-link span { min-width: 0; }
.bio-link strong { display: block; font-size: 17px; font-weight: 550; line-height: 1.3; letter-spacing: -0.025em; }
.bio-link small { display: block; margin-top: 5px; color: var(--muted-ink); font-size: 13px; line-height: 1.5; }
.bio-link > svg { flex: 0 0 20px; width: 20px; height: 20px; }
.bio-link--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bio-link--primary small { color: #cecdc7; }
.bio-footer { margin-top: 30px; text-align: center; color: var(--muted-ink); font-size: 12px; }
.bio-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }

@media (hover: hover) {
  .social-links a:hover { background: var(--ink); color: var(--paper); }
  .bio-link:hover { border-color: var(--ink); background: #e7e6e1; }
  .bio-link--primary:hover { background: #343430; }
  .bio-footer a:hover { text-decoration: underline; }
}

@media (max-width: 360px) {
  body { padding-inline: 20px; }
  .bio-link { padding-inline: 17px; gap: 12px; }
  .bio-link strong { font-size: 16px; }
}

@media (max-height: 740px) {
  body { padding-block: 28px; }
  .bio-links { margin-top: 26px; }
  .bio-footer { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
