:root {
  color-scheme: light;
  --ivory: #fbf7ef;
  --linen: #f1e6d8;
  --champagne: #b58d58;
  --gold-deep: #8e6737;
  --sage: #75816b;
  --olive: #3d4637;
  --coffee: #2b2119;
  --white-soft: rgba(255, 252, 247, 0.92);
  --line: rgba(76, 58, 39, 0.18);
  --shadow: 0 22px 70px rgba(44, 34, 23, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--coffee);
}

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

.bio-shell {
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 28px 18px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.3), rgba(251, 247, 239, 0.78)),
    linear-gradient(90deg, rgba(45, 35, 25, 0.52), rgba(45, 35, 25, 0.06) 48%, rgba(251, 247, 239, 0.55));
}

.bio-panel {
  position: relative;
  width: min(100%, 430px);
  margin-right: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white-soft);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.subtitle {
  margin: 16px 0 22px;
  color: var(--olive);
  font-size: 1rem;
  line-height: 1.55;
}

.primary-link,
.link-list a {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.primary-link {
  justify-content: center;
  background: var(--olive);
  color: #fffaf1;
  box-shadow: 0 14px 32px rgba(61, 70, 55, 0.28);
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.link-list a {
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.74);
  padding: 0 16px;
}

.link-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(181, 141, 88, 0.15);
  color: var(--gold-deep);
}

.primary-link .link-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fffaf1;
}

svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.primary-link:hover,
.link-list a:hover {
  transform: translateY(-2px);
}

.primary-link:hover {
  background: #30382d;
  box-shadow: 0 18px 38px rgba(61, 70, 55, 0.33);
}

.link-list a:hover {
  border-color: rgba(142, 103, 55, 0.45);
  background: rgba(255, 252, 247, 0.94);
}

.primary-link:focus-visible,
.link-list a:focus-visible {
  outline: 3px solid rgba(181, 141, 88, 0.42);
  outline-offset: 3px;
}

address {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: rgba(43, 33, 25, 0.72);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.45;
}

@media (min-width: 820px) {
  .hero {
    padding: 44px clamp(32px, 8vw, 110px);
  }

  .bio-panel {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .hero {
    align-items: end;
    padding: 18px 14px;
  }

  .hero__image {
    object-position: 46% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.16), rgba(251, 247, 239, 0.72) 32%, rgba(251, 247, 239, 0.9)),
      linear-gradient(90deg, rgba(43, 33, 25, 0.28), rgba(43, 33, 25, 0.02));
  }

  .bio-panel {
    padding: 22px;
  }

  .subtitle {
    font-size: 0.95rem;
  }
}
