:root {
  color-scheme: light;
  --ink: #13201d;
  --muted: #5c6964;
  --paper: #fbfbf8;
  --line: #d9dfdc;
  --green: #0f766e;
  --green-dark: #124c45;
  --rust: #9a3412;
  --blue: #224f8f;
  --soft-green: #eaf4ef;
  --soft-blue: #edf3fb;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(19, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 79, 143, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 118, 110, 0.45);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--green-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 248, 0.88);
  border-bottom: 1px solid rgba(217, 223, 220, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.hero,
.section,
.contact-band,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 7vw, 76px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 8.8rem);
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 650;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--white);
}

.button.primary {
  border-color: var(--green);
  color: var(--white);
  background: var(--green-dark);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.65);
  background: var(--white);
  color: var(--green-dark);
}

.profile-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 520px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 10%, rgba(154, 52, 18, 0.18), transparent 28%),
    linear-gradient(140deg, var(--soft-blue), var(--soft-green));
  box-shadow: var(--shadow);
}

.portrait {
  display: grid;
  place-items: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(19, 32, 29, 0.2);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(45deg, rgba(15, 118, 110, 0.2) 0 2px, transparent 2px 16px);
}

.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--green-dark);
}

.quick-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.quick-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(19, 32, 29, 0.15);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.quick-facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.section.tinted {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: rgba(234, 244, 239, 0.62);
}

.section-heading {
  max-width: 440px;
}

.section-body {
  display: grid;
  gap: 22px;
  color: var(--muted);
}

.section-body p {
  margin: 0;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  font-weight: 700;
}

.item-list,
.timeline {
  display: grid;
  gap: 18px;
}

.item-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.item,
.timeline article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.item-meta,
.timeline time {
  display: block;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.item p,
.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.muted-item {
  opacity: 0.72;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(28px, 5vw, 56px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 32, 29, 0.96), rgba(18, 76, 69, 0.94)),
    var(--green-dark);
}

.contact-band h2 {
  max-width: 720px;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .profile-panel {
    min-height: auto;
  }

  .item-list.compact {
    grid-template-columns: 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero,
  .section,
  .contact-band,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .actions,
  .pill-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .pill-grid span {
    width: 100%;
  }

  .quick-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
