/* 
  Minimal static site for a bio page.
  No framework or external dependencies.
*/

:root {
  --bg: #f7f5f0;
  --surface: #fffdf8;
  --text: #181714;
  --muted: #69645b;
  --line: rgba(24, 23, 20, 0.12);
  --accent: #2d4f46;
  --accent-strong: #19342d;
  --shadow: 0 24px 80px rgba(24, 23, 20, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 79, 70, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(149, 116, 77, 0.11), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-strong);
}

.home-wrap,
.page-wrap {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.home-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.hero,
.bio-card {
  width: 100%;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  max-width: 780px;
  padding: clamp(32px, 7vw, 72px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf8;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  background: var(--accent-strong);
  color: #fffdf8;
  transform: translateY(-1px);
}

.site-header {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.wordmark,
.site-header nav a {
  text-decoration: none;
}

.wordmark {
  font-weight: 750;
  color: var(--text);
}

.page-wrap {
  padding: 42px 0 80px;
}

.bio-card {
  padding: clamp(28px, 6vw, 70px);
}

.bio-card h1 {
  margin-bottom: 36px;
}

.bio-copy {
  display: grid;
  gap: 22px;
  max-width: 740px;
  color: var(--text);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
}

.bio-copy p {
  margin-bottom: 0;
}

.contact {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact h2 {
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.contact-links a:hover {
  border-color: rgba(45, 79, 70, 0.5);
  background: rgba(255, 253, 248, 0.9);
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .home-wrap,
  .page-wrap,
  .site-header {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    padding-top: 18px;
  }

  .page-wrap {
    padding-top: 22px;
  }

  .hero,
  .bio-card {
    border-radius: var(--radius-md);
  }

  h1 {
    letter-spacing: -0.055em;
  }
}

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