:root {
  --bg: #fffaf4;
  --surface: rgba(255, 255, 255, 0.82);
  --line: #e7d7c7;
  --text: #1d1a18;
  --muted: #5c534d;
  --accent: #b44d2d;
  --accent-soft: #ffddcf;
  --shadow: 0 18px 30px rgba(89, 52, 36, 0.12);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, #ffe8c8 0%, transparent 45%),
    radial-gradient(circle at 95% 100%, #ffd8b8 0%, transparent 45%),
    var(--bg);
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-a {
  width: 20rem;
  height: 20rem;
  background: #ffc2a7;
  top: -5rem;
  right: -4rem;
}

.ambient-b {
  width: 18rem;
  height: 18rem;
  background: #fedcb3;
  left: -6rem;
  bottom: -5rem;
}

.page {
  position: relative;
  z-index: 1;
  width: min(72rem, 94vw);
  margin: 2.5rem auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1.35rem;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 600ms ease forwards;
}

.hero {
  margin-bottom: 1rem;
  animation-delay: 50ms;
}

.hero-top {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: center;
}

.headshot {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(62, 39, 28, 0.2);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1;
  margin-top: 0.25rem;
}

.role {
  margin: 0.45rem 0 0.8rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--muted);
}

.summary {
  margin: 0;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-solid {
  color: white;
  background: var(--accent);
}

.btn-solid:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--accent);
  border-color: #d8aa95;
  background: #fff5ef;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid .card:nth-child(1) {
  animation-delay: 120ms;
}
.grid .card:nth-child(2) {
  animation-delay: 170ms;
}
.grid .card:nth-child(3) {
  animation-delay: 220ms;
}
.grid .card:nth-child(4) {
  animation-delay: 270ms;
}
.grid .card:nth-child(5) {
  animation-delay: 320ms;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

.item + .item {
  border-top: 1px dashed #d8c4b2;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}

.item-head span,
.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.item-head a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

ul {
  padding-left: 1.1rem;
}

li {
  margin: 0.35rem 0;
}

.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tags li {
  margin: 0;
  background: var(--accent-soft);
  color: #683425;
  border: 1px solid #efb9a2;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .page {
    margin: 1.1rem auto;
  }

  .hero-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
