:root {
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --ink: #1c1b18;
  --ink-soft: #3f3c36;
  --muted: #6b665c;
  --line: rgba(28, 27, 24, 0.12);
  --olive: #3b4a36;
  --olive-deep: #2a3427;
  --brass: #8c6e3f;
  --photo-bg: #d9d3c6;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.4rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.hero {
  padding: 1.6rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.meta a:hover {
  border-bottom-color: currentColor;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.btn-primary {
  color: var(--paper);
  background: var(--olive);
}

.btn-primary:hover {
  background: var(--olive-deep);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--paper-2);
}

.portrait {
  margin: 0;
  flex: 0 0 auto;
}

.portrait img {
  width: 108px;
  height: 132px;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--photo-bg);
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px rgba(28, 27, 24, 0.12);
}

.band {
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}

.band-dark {
  color: #f4efe4;
  background: var(--olive-deep);
  border-top: 0;
}

.band-dark .section-kicker,
.band-dark h2 {
  color: #f4efe4;
}

.band-dark p,
.band-dark li {
  color: #d9d4c8;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 1.3rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.prose {
  max-width: 44rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

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

.card {
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.timeline {
  display: grid;
  gap: 0;
}

.job {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.job:last-child {
  padding-bottom: 0;
}

.job-when {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.job h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.job h3 span {
  display: block;
  margin-top: 0.15rem;
  color: var(--olive);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 650;
}

.job p {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.selected {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.selected li {
  position: relative;
  margin: 0.4rem 0 0;
  padding-left: 0.95rem;
  color: var(--ink-soft);
}

.selected li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--brass);
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  gap: 0.85rem;
}

.contact-panel a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 239, 228, 0.28);
}

.contact-panel a:hover {
  border-bottom-color: currentColor;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.2rem;
}

@media (min-width: 700px) {
  .hero {
    padding: 2.1rem 0 2.4rem;
  }

  .portrait img {
    width: 210px;
    height: 252px;
    border-radius: 1.1rem;
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) 240px;
    gap: 3rem;
    align-items: center;
  }

  .portrait img {
    width: 240px;
    height: 288px;
  }

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

  .job {
    grid-template-columns: 11rem 1fr;
  }
}
