/* Design tokens — change these to restyle the whole site */
:root {
  --bg: #f7f4ee;
  --ink: #1d2433;
  --muted: #5d6474;
  --accent: #b5895a;
  --ring: rgba(29, 36, 51, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c;
    --ink: #eef0f4;
    --muted: #9aa1b0;
    --accent: #d4a774;
    --ring: rgba(238, 240, 244, 0.14);
  }
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.banner {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.portrait {
  position: relative;
  width: clamp(180px, 40vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--ring), 0 24px 48px -24px rgba(0,0,0,.35);
  background: var(--ring);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Initials show only if the photo is missing */
.portrait__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 80px);
  color: var(--muted);
}

.name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.name::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--accent);
  border-radius: 2px;
}

.footer {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
