:root {
  color-scheme: light dark;
  --fg: #1c1b19;
  --muted: #6b6a63;
  --bg: #fbfaf7;
  --accent: #c98a4b;
  --rule: rgba(28, 27, 25, 0.12);
  --hero-bg: #0a0d13;
  --hero-fg: #f3f1ea;
  --hero-muted: #b8bcc4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

main,
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 340px;
  max-height: 520px;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 7, 10, 0.92) 0%,
    rgba(6, 7, 10, 0.55) 32%,
    rgba(6, 7, 10, 0.15) 60%,
    rgba(6, 7, 10, 0.35) 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.5rem clamp(1.5rem, 6vw, 4rem) 2.5rem;
  color: var(--hero-fg);
  max-width: 44rem;
}

.profile-photo {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hero-fg);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
  display: block;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.hero h1 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  line-height: 1.1;
}

.hero .subtitle {
  color: var(--hero-muted);
}

.hero .tags {
  color: var(--hero-muted);
}

/* ---- Content ---- */

main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

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

.tags {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
  margin: 2.5rem 0 1rem;
}

.role {
  margin-bottom: 1.5rem;
}

.role h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.role .meta {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.role p:last-child {
  margin: 0;
}

footer {
  margin-top: 3rem;
  padding-bottom: 3rem;
  font-size: 0.9rem;
}

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