:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --ink: #171917;
  --muted: #646861;
  --green: #2f6f46;
  --line: #e7e1d8;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1,
p {
  overflow-wrap: anywhere;
}

.bio-page {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
  padding: 18px 0 34px;
}

.bio-header {
  display: flex;
  justify-content: center;
  padding: 4px 0 12px;
}

.bio-header a {
  display: inline-flex;
  justify-content: center;
}

.bio-header img {
  width: 152px;
}

.bio-hero {
  padding: 6px 0 18px;
  text-align: center;
}

.portrait {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: end center;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 70, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 111, 70, 0.12), rgba(47, 111, 70, 0.03));
}

.portrait img {
  width: 124px;
  height: 134px;
  object-fit: contain;
  object-position: center bottom;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  margin: 7px 0 8px;
  font-size: clamp(2rem, 8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 430px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.link-banner {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 22, 18, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.link-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(18, 22, 18, 0.1);
}

.link-banner img {
  width: 100%;
  aspect-ratio: 1080 / 500;
  object-fit: cover;
}

.bio-footer {
  display: grid;
  gap: 4px;
  padding-top: 22px;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.bio-footer p {
  margin: 0;
}

.bio-footer a {
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 420px) {
  .bio-page {
    width: min(100% - 22px, 560px);
    padding-top: 14px;
  }

  .bio-header img {
    width: 140px;
  }

  .portrait {
    width: 128px;
    height: 128px;
  }

  .portrait img {
    width: 116px;
    height: 124px;
  }

  .link-list {
    gap: 11px;
  }

  .link-banner {
    border-radius: 15px;
  }
}
