:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --rose: #c98279;
  --rose-soft: #f4dfdb;
  --sage: #6f8067;
  --cocoa: #2a211d;
  --muted: #7a6b64;
  --line: rgba(42, 33, 29, 0.13);
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(64, 46, 38, 0.16);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(244, 223, 219, 0.92), transparent 18rem),
    radial-gradient(circle at 88% 16%, rgba(111, 128, 103, 0.18), transparent 20rem),
    linear-gradient(180deg, #fff, var(--paper));
  color: var(--cocoa);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

p,
h1,
dl,
dd {
  margin: 0;
}

.bio-shell {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 430px);
  gap: 18px;
  width: 100%;
  max-width: 980px;
  min-height: 100svh;
  align-items: center;
  margin-inline: auto;
  padding: 28px;
}

.bio-card,
.mini-feed {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.bio-card {
  padding: clamp(22px, 5vw, 34px);
  text-align: center;
}

.photo-wrap {
  width: 150px;
  aspect-ratio: 1;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(64, 46, 38, 0.15);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.handle {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 8vw, 3.8rem);
  line-height: 0.95;
  font-weight: 500;
}

.bio-text {
  max-width: 100%;
  color: var(--muted);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.bio-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bio-metrics div {
  min-width: 0;
  padding: 16px 8px;
}

.bio-metrics div + div {
  border-left: 1px solid var(--line);
}

.bio-metrics dt {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.bio-metrics dd {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
  text-transform: uppercase;
}

.bio-links {
  display: grid;
  gap: 10px;
}

.bio-links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--cocoa);
  font-weight: 820;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bio-links a:hover,
.bio-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 130, 121, 0.55);
  background: #fff;
}

.bio-links .primary {
  color: #fff;
  background: var(--cocoa);
  border-color: var(--cocoa);
}

.mini-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  max-width: 100%;
  overflow: hidden;
}

.mini-feed a {
  min-width: 0;
  min-height: 248px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--rose-soft);
}

.mini-feed img {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.mini-feed a:hover img,
.mini-feed a:focus-visible img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .bio-shell {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: 460px;
  }

  .bio-card,
  .mini-feed {
    width: min(100%, 358px);
    margin-inline: 0;
  }
}

@media (max-width: 520px) {
  .bio-shell {
    padding: 16px;
  }

  .mini-feed {
    grid-template-columns: 1fr 1fr;
  }

  .bio-card {
    padding-inline: 18px;
  }

  .mini-feed a {
    min-height: 184px;
  }
}
