:root {
  color-scheme: light dark;
  --bg: #0e4b3b;
  --surface: #f3f3f3;
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.65);
  --border: rgba(16, 16, 16, 0.18);
  --accent: #101010;
  --shadow: rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --max: 980px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #0e4b3b;
    --surface: #f3f3f3;
    --text: #101010;
    --muted: rgba(16, 16, 16, 0.65);
    --border: rgba(16, 16, 16, 0.18);
    --accent: #101010;
    --shadow: rgba(0, 0, 0, 0.12);
  }
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent), white 10%);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px;
}

.actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.loadMore {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
}

.loadMore:hover {
  color: var(--text);
  text-decoration: none;
}

.loadMore:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent), white 10%);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .heroInner {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 10px;
}

.intro .muted {
  margin-top: 12px;
}

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

.stack > * + * {
  margin-top: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.topbarInner {
  padding-top: 18px;
  padding-bottom: 10px;
}

.topnav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.toplink {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.toplink:hover {
  text-decoration: underline;
}

.hero {
  padding: 22px 0 26px;
}

.heroInner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
}

@media (max-width: 860px) {
  .topnav {
    justify-content: center;
  }

  .heroInner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .heroCopy {
    text-align: center;
  }

  .heroLead {
    margin-left: auto;
    margin-right: auto;
  }

  .heroCtas {
    justify-content: center;
  }
}

.profileCard {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.profileAvatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

@media (min-width: 1100px) {
  .heroInner {
    grid-template-columns: 360px 1fr;
  }

  .profileCard {
    padding: 34px 26px;
    border-radius: 14px;
  }

  .profileAvatar {
    width: 112px;
    height: 112px;
    margin-bottom: 16px;
  }

  .profileName {
    font-size: 24px;
  }
}

.profileName {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profileRole {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.profileBadges {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  font-size: 13px;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.heroCopy {
  color: rgba(255, 255, 255, 0.96);
}

.heroTitle {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.heroLead {
  margin: 14px 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
}

.heroCtas {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ctaPrimary,
.ctaSecondary {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.ctaPrimary {
  background: #101010;
  color: #ffffff;
}

.ctaSecondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
}

.ctaSecondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  background: var(--surface);
  padding: 34px 0;
}

.sectionTitle {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.sectionBody {
  max-width: 76ch;
}

.resumeGrid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}

.resumeLabel {
  font-weight: 750;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(16, 16, 16, 0.7);
  padding-top: 8px;
}

.resumeContent {
  min-width: 0;
}

.companyList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.companyItem {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
}

.companyName {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.companyMeta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.companyRoles {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.roleRow {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
}

.roleTitle {
  font-weight: 650;
}

.roleDates {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.highlights {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.highlights li {
  margin: 4px 0;
  color: var(--muted);
}

.footer {
  background: var(--bg);
  padding: 28px 0 34px;
}

.footerInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footerYear {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footerLinks {
  display: flex;
  gap: 12px;
}

.footerIcon {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  font-size: 13px;
}

.footerIcon:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 760px) {
  .resumeGrid {
    grid-template-columns: 1fr;
  }

  .roleRow {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
