:root {
  --bg: #f7f3eb;
  --ink: #17140f;
  --muted: #5f5648;
  --accent: #c95d2f;
  --card: rgba(255, 252, 247, 0.86);
  --line: rgba(23, 20, 15, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #f4d8c8 0%, transparent 35%),
    radial-gradient(circle at 88% 18%, #d6e9de 0%, transparent 34%),
    var(--bg);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.48;
}

.bg-shape-1 {
  width: 420px;
  height: 420px;
  background: #ffd7bf;
  top: -120px;
  right: -100px;
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  background: #cde7da;
  bottom: 8%;
  left: -120px;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.2rem 4rem;
}

.hero h1,
.section h2 {
  font-family: "Instrument Serif", serif;
  letter-spacing: 0.01em;
}

.hero {
  animation: rise-in 620ms ease-out both;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-weight: 500;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1.04;
}

.subtitle {
  margin: 0.75rem 0;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 500;
}

.summary {
  max-width: 65ch;
  color: var(--muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  border: 1px solid var(--line);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fffaf3;
  border-color: transparent;
}

.section {
  margin-top: 1.6rem;
  animation: rise-in 700ms ease-out both;
  animation-delay: 120ms;
}

.grid {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
  background: var(--card);
  backdrop-filter: blur(6px);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.8rem;
}

.tags,
.highlight-list {
  margin: 0;
  padding-left: 1.05rem;
  line-height: 1.5;
}

.full-width {
  width: 100%;
}

.timeline span {
  display: inline-block;
  min-width: 145px;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-links a {
  color: var(--accent);
  text-underline-offset: 3px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .timeline span {
    min-width: 110px;
  }

  .page {
    padding-top: 2rem;
  }
}
