:root {
  --ink: #161815;
  --muted: #5d6259;
  --paper: #f6f7f2;
  --panel: #ffffff;
  --line: #d9ded1;
  --green: #245d45;
  --green-strong: #184434;
  --amber: #c4872c;
  --shadow: 0 24px 80px rgba(22, 24, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

main {
  overflow: hidden;
}

.section-shell,
.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  background: rgba(246, 247, 242, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(83, 101, 109, 0.16);
}

.brand,
.site-header nav,
.hero-actions,
.contact-links,
.timeline-item,
.button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--green);
  border-radius: 6px;
  font-size: 0.85rem;
}

.site-header nav {
  gap: 4px;
}

.site-header nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--ink);
  background: rgba(36, 93, 69, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 42px 0 50px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 4.1rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.lead,
.section-copy,
.contact-copy p,
.strength-card p,
.timeline-item p,
.profile-meta h2 {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 1.18rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  gap: 10px;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 6px;
  font-weight: 720;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--green);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.profile-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel::before {
  position: absolute;
  inset: 14px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(196, 135, 44, 0.42);
  border-radius: 8px;
  transform: translate(18px, 18px);
}

.avatar {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.profile-meta {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  margin: 20px 0;
}

.profile-meta .status {
  margin: 0;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.profile-meta h2 {
  margin: 0;
  font-size: 1.35rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.signal-grid span,
.tool-list span {
  min-height: 38px;
  padding: 9px 11px;
  color: var(--green-strong);
  background: #edf2e9;
  border: 1px solid #d9e5d4;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.work-section,
.split-section,
.contact-section {
  padding: 96px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

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

.strength-card {
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--green);
  background: #edf2e9;
  border-radius: 6px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 560px;
  font-size: 1.04rem;
}

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

.timeline-item {
  gap: 18px;
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-strong);
  background: #edf2e9;
  border-radius: 6px;
  font-weight: 800;
}

.timeline-item p {
  margin-bottom: 0;
}

.toolbelt-section {
  background: #1b211d;
  color: #f8fbf4;
}

.toolbelt-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: center;
  padding: 82px 0;
}

.toolbelt-section .eyebrow {
  color: #d7a64e;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-list span {
  color: #f8fbf4;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.contact-copy {
  max-width: 620px;
}

.contact-links {
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 760;
  transition: transform 160ms ease;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
  }

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

  .hero {
    padding-top: 40px;
  }

  .profile-panel {
    max-width: 520px;
  }

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

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

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-header nav a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .profile-meta,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .work-section,
  .split-section,
  .contact-section {
    padding: 72px 0;
  }

  .timeline-item {
    align-items: flex-start;
  }

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