:root {
  --bg: #f7f4ef;
  --panel: #ffffff;
  --text: #171717;
  --muted: #5f6368;
  --line: rgba(23, 23, 23, 0.12);
  --accent: #1f3d3a;
  --accent-light: #e7efec;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 6vw, 72px);
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-top: 70px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

h2 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.hero-title {
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.05em;
  max-width: 720px;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--muted);
}

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

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.12);
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.headshot {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.headshot-placeholder {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #dfe8e5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.headshot-placeholder span {
  color: var(--accent);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.04em;
  font-size: 2rem;
  line-height: 1;
}

.narrow {
  width: min(880px, calc(100% - 40px));
}

.body-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.body-copy p {
  margin-bottom: 18px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 250px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 23, 23, 0.05);
}

.card p,
.timeline-item p,
.contact p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-light);
}

.company {
  color: var(--accent) !important;
  font-weight: 800;
  margin-bottom: 8px !important;
}

.personal {
  text-align: left;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-grid span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 54px;
  margin-bottom: 80px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 12px;
}

footer {
  padding: 28px 20px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  nav {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 46px;
  }

  .hero-image {
    order: -1;
    justify-content: flex-start;
  }

  .headshot,
  .headshot-placeholder {
    width: 230px;
    border-radius: 24px;
  }

  .headshot-placeholder span {
    font-size: 1.4rem;
  }

  .cards.three,
  .split {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 34px;
  }

  .card {
    min-height: auto;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
    margin-bottom: 40px;
  }
}
