:root {
  --ink: #14213d;
  --ink-soft: #35465f;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #ffffff;
  --tint: #f4f7fb;
  --accent: #9a6a24;
  --accent-dark: #744b12;
  --shadow: 0 20px 60px rgba(20, 33, 61, 0.10);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover,
a:focus {
  color: var(--accent-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand:hover,
.brand:focus {
  color: var(--paper);
  background: var(--accent-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.section {
  padding: 5.5rem 1.25rem;
}

.narrow > *,
.section-heading,
.timeline,
.education-grid,
.transaction-list,
.summary-grid,
.chips,
.hero-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.tinted {
  background: var(--tint);
}

.hero {
  padding-top: 7rem;
  background:
    radial-gradient(circle at top right, rgba(154, 106, 36, 0.14), transparent 35%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: stretch;
}

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

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 770px;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.25rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.contact-line span:not(:last-child)::after {
  content: "";
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.06);
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  color: var(--accent-dark);
}

.button.primary:hover,
.button.primary:focus {
  color: var(--paper);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero-card,
.role-card,
.summary-card,
.transaction-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.hero-card ul,
.role-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-card li + li,
.role-card li + li {
  margin-top: 0.55rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.summary-card {
  padding: 1.35rem;
}

.summary-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.summary-card.wide {
  grid-column: 1 / -1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1.15rem;
}

.role-card {
  padding: 1.5rem;
}

.role-card.featured {
  border-color: rgba(154, 106, 36, 0.45);
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}

.role-head p,
.location {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.role-head span {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: right;
}

.location {
  margin: -0.25rem 0 0.9rem;
  font-size: 0.95rem;
}

.role-card ul {
  color: var(--ink-soft);
}

.transaction-list {
  display: grid;
  gap: 0.85rem;
}

.transaction-list article {
  padding: 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.transaction-list strong {
  color: var(--accent-dark);
}

.transaction-list span {
  color: var(--ink-soft);
}

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

.education-grid p:last-child,
.closing-copy {
  margin-bottom: 0;
}

.closing-copy {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.footer {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--paper);
  background: var(--ink);
}

.footer p {
  margin-bottom: 0.4rem;
}

.footer a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .hero-grid,
  .summary-grid,
  .education-grid,
  .transaction-list article {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 1rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.35rem 0.85rem;
    font-size: 0.88rem;
  }

  .role-head {
    flex-direction: column;
    gap: 0.45rem;
  }

  .role-head span {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .contact-line {
    flex-direction: column;
  }

  .cta-row,
  .button {
    width: 100%;
  }
}

@media print {
  .site-header,
  .cta-row,
  .skip-link,
  .small-note {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .hero {
    padding: 1rem 0;
  }

  .hero-card,
  .role-card,
  .summary-card,
  .transaction-list article {
    box-shadow: none;
    break-inside: avoid;
  }
}
