/* heykelsey.co — quiet stopgap. Swap fonts via --font-* below. */

:root {
  --bg: #f7f5f1;
  --text: #1a1917;
  --muted: #6b6760;
  --accent: #8a6d4b; /* muted warm accent — hover only */
  --max: 36rem;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 22vh, 10rem) 1.25rem 2rem;
}

.card {
  width: 100%;
  max-width: var(--max);
  text-align: center;
}

.avatar {
  display: block;
  width: clamp(7rem, 22vw, 10rem);
  height: clamp(7rem, 22vw, 10rem);
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}


h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.cta {
  margin: 0 0 1.25rem;
}

.cta a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  font-weight: 500;
  transition: color 0.15s ease;
}

.cta a:hover,
.cta a:focus-visible {
  color: var(--accent);
}

.cta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer {
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .page {
    align-items: center;
    padding-top: 0;
    /* slight upper-third feel on larger screens */
    padding-bottom: 12vh;
  }
}
