:root {
  --bg: #f6f3ef;
  --surface: #ffffff;
  --surface-soft: #eee8df;
  --text: #1f2933;
  --muted: #667085;
  --line: #ded7cf;
  --accent: #1f4f55;
  --accent-soft: #dceceb;
  --accent-dark: #15393d;
  --shadow: 0 24px 70px rgba(31, 41, 51, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 79, 85, 0.10), transparent 34rem),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 48%, #f3efe8 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 41, 51, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 41, 51, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(222, 215, 207, 0.85);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 42px;
  padding: 68px 0 46px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(31, 79, 85, 0.22);
}

.button.secondary {
  color: var(--accent-dark);
  background: white;
  border-color: var(--line);
}

.profile-card {
  position: relative;
  padding: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(222, 215, 207, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent-soft);
  z-index: -1;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 28px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.profile-card h2 {
  margin-bottom: 4px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.profile-card > p {
  color: var(--muted);
}

.profile-card dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.profile-card dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}

.section-heading {
  position: sticky;
  top: 104px;
  align-self: start;
}

.section-heading.compact {
  position: static;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.section-number {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.prose p {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.highlight-grid span {
  margin-bottom: auto;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.highlight-grid h3 {
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.highlight-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item.current {
  background: white;
  box-shadow: var(--shadow);
}

.timeline-date,
.date {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline-body h3,
.education-card h3,
.tool-list h3 {
  margin-bottom: 2px;
  letter-spacing: -0.03em;
}

.company,
.education-card p {
  color: var(--muted);
}

.timeline-body ul {
  margin: 16px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.timeline-body li + li {
  margin-top: 7px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-group span {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
}

.tool-list {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
}

.tool-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.education-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.education-card > div {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-section {
  margin: 72px 0;
  padding: clamp(32px, 7vw, 72px);
  color: white;
  background: var(--accent-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-section .eyebrow {
  color: #a7d8d4;
}

.contact-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.contact-section p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 10px 14px;
  color: white;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 700;
  color: var(--accent-dark);
}

@media (max-width: 920px) {
  .brand-text {
    display: none;
  }

  .hero,
  .two-column,
  .timeline-item,
  .education-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .section-heading {
    position: static;
  }

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

  .highlight-grid article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.84rem;
  }

  main,
  .site-footer,
  .site-header {
    width: min(100% - 22px, var(--max-width));
  }

  .hero {
    gap: 24px;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 5rem);
  }

  .profile-card,
  .timeline-item,
  .education-card > div {
    padding: 22px;
  }

  .section {
    padding: 50px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
