:root {
  color-scheme: light;
  --ink: #172b39;
  --muted: #536674;
  --teal: #087e78;
  --teal-dark: #006760;
  --paper: #f7f7f2;
  --white: #fff;
  --tint: #edf1ee;
  --line: #d7dfdc;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 2px; }
::selection { background: #bce4dc; color: var(--ink); }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 16px; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.wordmark { font-size: 1.75rem; font-weight: 800; letter-spacing: -.08em; text-decoration: none; line-height: 1; }
.wordmark-dot, .accent { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: .88rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .text-link:hover, .card-link:hover, .site-footer a:hover { color: var(--teal); }
.site-nav .nav-contact { border-bottom: 1px solid var(--teal); padding-bottom: 3px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(255px, .72fr); align-items: center; gap: clamp(32px, 7vw, 110px); padding-block: clamp(80px, 11vw, 148px); }
.eyebrow, .section-label, .note-heading, .project-number, .project-kind, .dates { font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); margin: 0 0 28px; }
.status-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; }
h1 { font-size: clamp(3.1rem, 5.9vw, 5.35rem); letter-spacing: -.062em; max-width: 780px; margin-bottom: 28px; }
.hero-description { max-width: 570px; color: var(--muted); font-size: clamp(1.07rem, 1.6vw, 1.2rem); line-height: 1.75; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 30px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 3px; font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button[type="button"] { background: transparent; color: var(--ink); font-family: inherit; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #284758; }
.button-secondary { border-color: var(--line); }
.button-secondary:hover { border-color: var(--ink); }
.hero-note { background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 14px 14px 0 #e3ebe6; padding: clamp(24px, 3vw, 36px); }
.note-heading { display: flex; justify-content: space-between; color: var(--teal-dark); margin-bottom: 26px; }
.note-item { border-top: 1px solid var(--line); padding: 18px 0; }
.note-item:last-child { padding-bottom: 0; }
.note-item strong { display: block; font-size: 1.85rem; letter-spacing: -.05em; line-height: 1.2; margin-bottom: 4px; }
.note-item span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; }

.section { padding-block: clamp(74px, 9vw, 120px); scroll-margin-top: 24px; }
.section-tinted { background: var(--tint); }
.section-label { color: var(--teal-dark); margin-bottom: 22px; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); letter-spacing: -.052em; max-width: 730px; margin-bottom: 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 140px); }
.about-content > p { font-size: 1.15rem; color: var(--muted); line-height: 1.8; margin-bottom: 34px; }
.skill-groups { border-top: 1px solid #cbd6d1; }
.skill-group { padding: 15px 0; border-bottom: 1px solid #cbd6d1; }
.skill-group h3 { font-size: .88rem; margin-bottom: 5px; }
.skill-group p { color: var(--muted); font-size: .91rem; margin: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.text-link, .card-link { flex-shrink: 0; color: var(--teal-dark); font-size: .9rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { display: flex; flex-direction: column; min-height: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 28px; transition: border-color .18s ease, transform .18s ease; }
.project-card:hover { border-color: #9cbbb3; transform: translateY(-3px); }
.project-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 52px; }
.project-number { color: var(--teal-dark); }
.project-kind { color: var(--muted); font-size: .64rem; text-align: right; }
.project-card h3 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 13px; }
.project-card p { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 30px; }
.card-link, .card-caption { margin-top: auto; }
.card-caption { color: var(--muted); font-size: .86rem; }
.section-intro { color: var(--muted); max-width: 250px; margin: 0; font-size: .92rem; }
.experience-list { border-top: 1px solid #cbd6d1; }
.experience-item { display: grid; grid-template-columns: minmax(185px, 29%) 1fr; gap: 30px; padding: 36px 0 40px; border-bottom: 1px solid #cbd6d1; }
.experience-meta { display: flex; flex-direction: column; gap: 10px; }
.dates { color: var(--teal-dark); letter-spacing: .08em; }
.company { color: var(--muted); font-size: .9rem; }
.experience-detail h3 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 16px; }
.experience-detail ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .94rem; }
.experience-detail li { padding-left: 5px; margin-bottom: 9px; }
.experience-detail li:last-child { margin-bottom: 0; }
.experience-detail li::marker { color: var(--teal); }
.earlier-career { margin-top: 30px; }
.earlier-career summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100%, 350px); cursor: pointer; font-weight: 750; list-style: none; padding: 13px 0; border-bottom: 1px solid var(--ink); }
.earlier-career summary::-webkit-details-marker { display: none; }
.summary-icon { font-size: 1.4rem; line-height: 1; font-weight: 400; }
.earlier-career[open] .summary-icon { transform: rotate(45deg); }
.earlier-list { margin-top: 24px; border-top: 1px solid #cbd6d1; }
.earlier-list article { display: grid; grid-template-columns: minmax(185px, 29%) 1fr; gap: 30px; border-bottom: 1px solid #cbd6d1; padding: 24px 0; }
.earlier-list h3 { font-size: 1.1rem; margin: 7px 0 3px; }
.earlier-list p { color: var(--muted); font-size: .91rem; margin: 0; }
.earlier-list article > p { align-self: center; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.credentials-grid { display: grid; gap: 26px; }
.credentials-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
.credentials-grid h3 { color: var(--teal-dark); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.credentials-grid p { font-size: 1.1rem; font-weight: 700; margin-bottom: 1px; }
.credentials-grid span { color: var(--muted); font-size: .9rem; }
.contact-section { background: var(--ink); color: var(--white); padding-block: clamp(75px, 9vw, 120px); }
.contact-section .section-label { color: #75d1c3; }
.contact-section h2 { font-size: clamp(2.7rem, 5.2vw, 5rem); margin-bottom: 24px; }
.contact-section .accent { color: #75d1c3; }
.contact-section p:not(.section-label) { color: #bdcdd1; margin-bottom: 28px; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: #d9e9e2; }
.site-footer { background: var(--ink); color: #bdcdd1; border-top: 1px solid #38505a; padding: 25px 0; font-size: .85rem; }
.footer-inner, .footer-inner > div { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; }
.print-only { display: none; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-block: 76px 90px; }
  .hero-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; box-shadow: 9px 9px 0 #e3ebe6; }
  .note-heading { grid-column: 1 / -1; margin: 0; }
  .note-item { padding-bottom: 0; }
  .about-layout { gap: 44px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1120px); }
  .header-inner { min-height: auto; padding-block: 20px 16px; align-items: flex-start; }
  .site-nav { gap: 10px 18px; justify-content: flex-end; flex-wrap: wrap; font-size: .79rem; }
  .site-nav a { padding: 4px 0; }
  .hero { padding-block: 67px 84px; gap: 48px; }
  h1 { font-size: clamp(2.75rem, 11vw, 4.25rem); }
  .hero-note { display: block; }
  .note-heading { margin-bottom: 10px; }
  .note-item { padding: 15px 0; }
  .note-item:last-child { padding-bottom: 0; }
  .about-layout, .credentials { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 275px; }
  .project-top { margin-bottom: 40px; }
  .experience-item, .earlier-list article { grid-template-columns: 1fr; gap: 18px; }
  .experience-meta { gap: 3px; }
  .section-intro { max-width: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@page { size: letter; margin: .55in .65in; }

@media print {
  :root { --ink: #172b39; --muted: #364953; --paper: #fff; --tint: #fff; }
  html { scroll-behavior: auto; }
  body { background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 1.35; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  main { display: flex; flex-direction: column; }
  .container { width: 100%; }
  .site-header, .site-footer, .skip-link, .hero .eyebrow, .hero h1, .hero-description, .hero-actions, .hero-note, .section-label, .section-heading h2:not(.print-section-title), #credentials-title, .section-intro, .text-link, .project-top, .card-caption, .earlier-career summary, .contact-section, .about-layout > div:first-child { display: none; }
  .print-only { display: block; }
  .hero { order: 1; display: block; padding: 0; }
  .print-masthead { border-bottom: 2px solid var(--teal-dark); padding-bottom: 10px; }
  .print-masthead strong { display: block; font-size: 25pt; letter-spacing: -.035em; line-height: 1.1; }
  .print-masthead > span { display: block; margin: 4px 0 7px; color: var(--teal-dark); font-size: 9pt; font-weight: 700; }
  .print-masthead > div { display: flex; gap: 20px; font-size: 8.5pt; }
  .print-masthead a, .card-link { color: var(--teal-dark); text-decoration: none; }
  .section { padding: 0; background: white; }
  #about { order: 2; margin-top: 16px; }
  .about-layout { display: block; }
  .about-content > p { margin: 0 0 12px; font-size: 9pt; line-height: 1.4; }
  .print-section-title { max-width: none; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid #c9d9d5; color: var(--teal-dark); font-size: 9pt; font-weight: 750; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
  .skill-groups { border: 0; }
  .skill-group { display: flex; gap: 8px; border: 0; padding: 0 0 4px; }
  .skill-group h3 { flex-shrink: 0; margin: 0; font-size: 8.6pt; line-height: 1.35; }
  .skill-group h3::after { content: ":"; }
  .skill-group p { color: var(--ink); font-size: 8.6pt; line-height: 1.35; }
  #experience { order: 3; margin-top: 16px; }
  .section-heading { display: block; margin: 0; }
  .experience-list { border: 0; }
  .experience-item { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 0 0 11px; border: 0; break-inside: avoid; }
  .experience-meta, .experience-detail { display: contents; }
  .dates { order: 2; grid-column: 2; color: var(--muted); font-size: 8pt; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; }
  .company { order: 3; grid-column: 1 / -1; color: var(--muted); font-size: 8pt; }
  .experience-detail h3 { order: 1; grid-column: 1; margin: 0; font-size: 10pt; letter-spacing: 0; }
  .experience-detail ul { order: 4; grid-column: 1 / -1; margin-top: 4px; color: var(--ink); font-size: 8.6pt; line-height: 1.34; padding-left: 17px; }
  .experience-detail li { padding-left: 0; margin: 0 0 3px; }
  .experience-item:nth-child(3) { break-before: page; padding-top: 4px; }
  .print-continued { order: 0; grid-column: 1 / -1; margin-bottom: 11px; }
  .earlier-career { display: block; margin: 0; }
  .earlier-list { display: block; margin: 0; border: 0; }
  .earlier-list article { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 0 0 9px; border: 0; break-inside: avoid; }
  .earlier-list article > div { display: contents; }
  .earlier-list h3 { order: 1; grid-column: 1; font-size: 9.5pt; margin: 0; }
  .earlier-list article .dates { order: 2; grid-column: 2; }
  .earlier-list p, .earlier-list article > p { color: var(--ink); font-size: 8.5pt; line-height: 1.3; }
  .earlier-list article > div > p { order: 3; grid-column: 1 / -1; color: var(--muted); }
  .earlier-list article > p { order: 4; grid-column: 1 / -1; align-self: auto; margin-top: 3px; }
  #projects { order: 4; margin-top: 7px; }
  .project-grid { display: block; }
  .project-card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; min-height: 0; padding: 0 0 9px; border: 0; border-radius: 0; box-shadow: none; break-inside: avoid; }
  .project-card h3 { order: 1; grid-column: 1; margin: 0; font-size: 9.5pt; letter-spacing: 0; }
  .project-card p { order: 3; grid-column: 1 / -1; margin: 3px 0 0; color: var(--ink); font-size: 8.5pt; line-height: 1.3; }
  .card-link { order: 2; grid-column: 2; align-self: center; margin: 0; font-size: 8pt; }
  .credentials { order: 5; display: block; margin-top: 8px; }
  .credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .credentials-grid > div { border: 0; padding: 0; }
  .credentials-grid h3 { margin: 0 0 4px; font-size: 8pt; letter-spacing: .03em; }
  .credentials-grid p { font-size: 9pt; }
  .credentials-grid span { color: var(--muted); font-size: 8pt; }
}
