:root {
  --bg: #161616;
  --text: #f2efe9;
  --muted: #a8a49c;
  --button-bg: #d9d9d9;
  --button-text: #161616;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html, body { margin: 0; }

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

a { color: inherit; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.socials { display: flex; gap: 1.1rem; }

.socials a {
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.socials a:hover, .socials a:focus-visible { opacity: 1; }
.socials svg { width: 100%; height: 100%; fill: currentColor; }

/* Bio */
.bio {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.portrait { margin: 0; }

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.bio-text p { margin: 0 0 1.1rem; max-width: 36em; }

.placeholder { color: var(--muted); font-style: italic; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 2.25rem;
  background: var(--button-bg);
  color: var(--button-text);
  border: 1px solid var(--button-bg);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.button:hover, .button:focus-visible { background: #fff; border-color: #fff; }

.button-outline { background: transparent; color: var(--text); border-color: var(--muted); }
.button-outline:hover, .button-outline:focus-visible { background: var(--text); color: var(--button-text); border-color: var(--text); }

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }

/* Phones */
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}
