@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #101c29;
  --muted: #51606d;
  --paper: #fff;
  --soft: #f3f5f7;
  --line: #dbe1e6;
  --accent: #d1f479;
  --dark-line: #3a4651;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #527a08; outline-offset: 6px; }
.hero a:focus-visible, .contact-section a:focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.3vw, 2.75rem); letter-spacing: -.04em; }
h3 { letter-spacing: -.02em; }
p + p { margin-top: 1rem; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.eyebrow {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.65;
}
.skip-link { position: fixed; top: -90px; left: 20px; padding: 12px 20px; background: var(--accent); z-index: 5; }
.skip-link:focus { top: 12px; }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-size: 2rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.wordmark span { color: #5b811a; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: .9rem; font-weight: 600; }
nav a { padding-block: 10px; }
nav a:hover, .text-link:hover { color: #4b720b; }

/* A personal introduction, followed by a concise professional snapshot. */
.hero { background: var(--ink); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 80px; padding-block: 64px 70px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #bac7d2; }
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 550; letter-spacing: -.055em; line-height: 1.05; margin-top: 20px; }
.accent { color: var(--accent); }
.hero-role { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.4; margin-top: 24px; }
.hero-description { max-width: 545px; color: #bac7d2; margin-top: 20px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 26px; padding: 13px 20px; font-size: .9rem; font-weight: 650; border: 1px solid transparent; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #e1ff9e; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: .9rem; font-weight: 650; line-height: 1.5; padding-block: 6px; border-bottom: 1px solid currentColor; }
.text-link.light:hover { color: var(--accent); }
.profile-snapshot { border-left: 1px solid var(--dark-line); padding-left: 38px; }
.profile-snapshot h2 { letter-spacing: .08em; }
.profile-snapshot dl { margin: 25px 0; }
.profile-snapshot dl > div + div { margin-top: 22px; }
.profile-snapshot dt { font-size: .875rem; color: #bac7d2; }
.profile-snapshot dd { margin: 5px 0 0; font-size: 1.05rem; line-height: 1.5; }
.profile-snapshot > p { color: var(--accent); font-size: .9rem; border-top: 1px solid var(--dark-line); padding-top: 22px; }

.section { padding-block: 80px; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 96px; }
.about-grid h2 { margin-top: 16px; }
.about-grid p:not(.eyebrow) { color: var(--muted); margin-top: 20px; }
.about-grid .about-lead { font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.about-grid .text-link { margin-top: 24px; }
.background { padding-top: 44px; }
.background h3 { font-size: 1.2rem; }
.background dl { margin: 24px 0 0; }
.background dl > div { padding: 19px 0; border-top: 1px solid var(--line); }
.background dt { font-weight: 600; line-height: 1.45; }
.background dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }
details { font-size: .875rem; color: var(--muted); }
summary { cursor: pointer; width: fit-content; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
summary:hover { color: var(--ink); }
details a { text-decoration: underline; text-underline-offset: 3px; }
.about-grid .credential-details p { margin-top: 6px; font-size: .875rem; }
.background blockquote { margin: 22px 0 0; padding-left: 20px; border-left: 3px solid #80a63a; font-size: 1.35rem; letter-spacing: -.02em; }

.expertise-section { background: var(--soft); padding-block: 72px; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 96px; align-items: end; }
.section-heading h2 { margin-top: 16px; }
.section-heading > p { color: var(--muted); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 42px; }
.expertise-item { border-top: 1px solid #c7d1d9; padding-top: 24px; }
.expertise-item h3 { font-size: 1.25rem; }
.expertise-item p { margin-top: 16px; color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 20px 0 0; }
.tags li { border: 1px solid #c7d1d9; padding: 4px 9px; font-size: .875rem; color: #3d4d5b; line-height: 1.5; }

/* The projects support the professional profile rather than leading it. */
.work-list { margin-top: 40px; }
.work-item { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 36px; align-items: start; padding-block: 30px; border-top: 1px solid var(--line); }
.work-title .eyebrow { font-size: .8rem; color: var(--muted); }
.work-title h3 { font-size: 1.35rem; margin-top: 12px; }
.work-description > p { color: var(--muted); }
.work-description details { margin-top: 8px; }
.work-description details p { margin-top: 8px; }
.work-item > .text-link { white-space: nowrap; }
.all-work { margin-top: 6px; }

.contact-section { background: var(--ink); color: #fff; padding-block: 64px; }
.contact-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 70px; align-items: center; }
.contact-section .eyebrow { color: var(--accent); }
.contact-section h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); margin-top: 16px; }
.contact-section p:not(.eyebrow) { color: #bac7d2; margin-top: 20px; }
.email-link { display: inline-block; font-size: clamp(1rem, 1.7vw, 1.35rem); margin-top: 24px; border-bottom: 1px solid #6f7f8b; padding-bottom: 6px; overflow-wrap: anywhere; }
.email-link:hover { color: var(--accent); }
.social-links { max-width: 270px; width: 100%; justify-self: end; }
.social-links a { display: flex; justify-content: space-between; border-bottom: 1px solid var(--dark-line); padding: 15px 0; }
.social-links a:hover { color: var(--accent); }
.site-footer { padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; color: var(--muted); }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: 3.5rem; }
  .about-grid, .section-heading { gap: 50px; }
  .expertise-grid { gap: 24px; }
  .work-item { grid-template-columns: 1fr 1.5fr; gap: 16px 30px; }
  .work-item > .text-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 76px; gap: 24px; }
  .wordmark { font-size: 1.8rem; }
  nav { gap: 6px 18px; font-size: .875rem; justify-content: flex-end; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 44px; gap: 34px; }
  .hero h1 { font-size: clamp(3rem, 8vw, 4rem); }
  .hero-description { max-width: 580px; }
  .profile-snapshot { border-left: 0; border-top: 1px solid var(--dark-line); padding: 24px 0 0; }
  .profile-snapshot dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 20px 0 0; }
  .profile-snapshot dl > div + div { margin: 0; }
  .profile-snapshot dd { font-size: 1rem; }
  .profile-snapshot > p { display: none; }
  .section { padding-block: 56px; }
  .about-grid, .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .background { padding-top: 12px; }
  .expertise-section { padding-block: 56px; }
  .expertise-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 30px; }
  .expertise-item p { max-width: 580px; }
  .work-item { grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  .work-item > .text-link { grid-column: auto; }
  .work-title h3 { margin-top: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-section { padding-block: 48px; }
  .social-links { max-width: none; justify-self: start; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (max-width: 460px) {
  .nav-wrap { gap: 20px; }
  nav { gap: 0 14px; font-size: .875rem; }
  nav a { padding-block: 5px; }
  .hero-actions { gap: 18px; }
  .profile-snapshot dl { grid-template-columns: 1fr 1fr; gap: 20px; }
  .profile-snapshot dl > div:last-child { grid-column: 1 / -1; }
  .profile-snapshot dl > div:last-child br { display: none; }
  .profile-snapshot dl > div:last-child dd { max-width: 250px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
