:root {
  color-scheme: light;
  --navy: #162e43;
  --ink: #223647;
  --muted: #526577;
  --accent: #235e83;
  --line: #cbd6de;
  --wash: #edf3f7;
  --paper: #fff;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --s1: .25rem;
  --s2: .5rem;
  --s3: .75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;
  --s10: 8rem;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b26424; outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: #c8e4f3; color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: var(--s4); z-index: 20; background: #fff; padding: var(--s3) var(--s5); }
.skip-link:focus { top: var(--s4); }
.site-header { padding: var(--s5); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); background: #fff; }
.wordmark { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.wordmark span { display: block; font-size: .825rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.site-header nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); order: 3; width: 100%; }
.site-header nav a { font-size: .875rem; padding-block: var(--s2); text-decoration: none; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { border-bottom-color: var(--accent); }
.header-cv { font-size: .825rem; text-decoration: none; border-bottom: 1px solid var(--ink); padding-block: var(--s2); }
.header-cv span { margin-left: var(--s2); }
.section { padding: var(--s8) var(--s5); }
.section[id], .project[id] { scroll-margin-top: var(--s5); }
.label { font-family: var(--mono); font-size: .825rem; text-transform: uppercase; letter-spacing: .075em; font-weight: 500; }
.hero { background: var(--navy); color: #fff; padding-top: var(--s7); position: relative; }
.hero h1 { font-size: clamp(3.6rem, 11vw, 7.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 650; margin-top: var(--s5); }
.hero-period { color: #8bc6e7; }
.hero-role { font-size: 1.5rem; line-height: 1.35; margin-top: var(--s5); color: #c6e4f4; }
.hero-intro { font-size: 1.0625rem; line-height: 1.75; color: #dbe6ee; margin-top: var(--s5); max-width: 660px; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s5); font-size: .875rem; font-weight: 600; padding: var(--s3) var(--s5); text-decoration: none; min-height: 48px; border: 1px solid currentColor; }
.hero .primary { background: #fff; color: var(--navy); border-color: #fff; }
.hero .secondary { color: #fff; border-color: #718b9f; }
.button:hover { background: #dcecf6; color: var(--navy); border-color: #dcecf6; }
.availability { margin-top: var(--s6); font-size: .875rem; color: #dbe6ee; max-width: 40rem; }
.metrics { display: grid; background: var(--wash); padding: var(--s6) var(--s5); gap: var(--s5); }
.metrics > div + div { border-top: 1px solid var(--line); padding-top: var(--s5); }
.metric { font-size: 2.5rem; line-height: 1.2; letter-spacing: -.045em; font-weight: 600; color: var(--navy); }
.metric span { font-size: 1.0625rem; font-weight: 400; letter-spacing: -.015em; }
.metrics p:last-child { font-size: .875rem; color: var(--muted); margin-top: var(--s3); max-width: 24rem; }
.section-heading { margin-bottom: var(--s7); }
.section-heading .label { color: var(--accent); margin-bottom: var(--s4); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { margin-top: var(--s5); color: var(--muted); max-width: 34rem; }
h3 { font-size: 1.5rem; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
h4, h5 { font-size: 1rem; line-height: 1.5; margin-block: var(--s5) var(--s2); }
.project-controls { margin-bottom: var(--s6); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: var(--s2) var(--s4); font-size: .875rem; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button:hover { border-color: var(--accent); }
.filter-status { margin-top: var(--s3); font-size: .825rem; color: var(--muted); }
.project-cards { display: grid; gap: var(--s5); align-items: start; }
.project-group + .project-group { margin-top: var(--s8); }
.project-group-header { margin-bottom: var(--s6); }
.project-group-header h3 { font-size: 1.75rem; }
.project-group-header > p { color: var(--muted); margin-top: var(--s2); }
.project-map { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 320; object-fit: cover; margin-top: var(--s5); background: var(--navy); }
.project-group-header .map-note, .map-credits { font-size: .825rem; color: var(--muted); }
.map-credits { margin-top: var(--s5); }
.project > h4 { font-size: 1.5rem; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.project { border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: var(--s5); background: var(--paper); min-width: 0; }
.project-context { margin-bottom: var(--s5); }
.project-context .label { color: var(--accent); font-size: .825rem; }
.project-context p { font-size: .875rem; margin-top: var(--s2); color: var(--muted); }
.project-intro { margin-top: var(--s4); color: var(--muted); }
.project-outcome { background: var(--wash); padding: var(--s4); margin-block: var(--s5); font-size: .9375rem; }
.project-outcome strong { display: block; font-family: var(--mono); text-transform: uppercase; font-size: .825rem; font-weight: 500; letter-spacing: .05em; margin-bottom: var(--s2); color: var(--accent); }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding-block: var(--s4); color: var(--accent); font-size: .9375rem; font-weight: 600; }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.case-detail { padding-bottom: var(--s4); }
.case-detail h5:first-child { margin-top: var(--s2); }
.case-detail ul { padding-left: var(--s5); margin-block: var(--s3); }
.case-detail li { padding-left: var(--s1); margin-bottom: var(--s3); }
.case-detail li::marker { color: var(--accent); }
.standards { border-top: 1px solid var(--line); font-size: .825rem; color: var(--muted); margin-top: var(--s5); padding-top: var(--s4); }
.additional-work { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--line); }
.additional-work p { margin-top: var(--s4); }
.additional-work a { font-weight: 600; }
.feedback-section { background: #f3f6f8; border-top: 1px solid var(--line); }
.feedback-section figure { margin: 0; }
.feedback-section blockquote { margin: var(--s5) 0; }
.featured-feedback { background: var(--navy); color: #fff; padding: var(--s6); }
.featured-feedback .label { color: #c6e4f4; }
.featured-feedback blockquote { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.5; letter-spacing: -.02em; }
.feedback-section figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); font-size: .875rem; }
.feedback-section figcaption strong { font-size: 1rem; }
.feedback-section figcaption small { font-size: .825rem; margin-top: var(--s3); }
.featured-feedback figcaption { color: #dbe6ee; }
.feedback-grid { display: grid; gap: var(--s6); margin-top: var(--s6); }
.feedback-grid figure { border-top: 2px solid var(--accent); padding-top: var(--s5); }
.feedback-grid .label, .feedback-grid figcaption { color: var(--muted); }
.feedback-grid blockquote { font-size: 1.0625rem; }
.feedback-score { margin-top: var(--s5); font-size: .875rem; color: var(--muted); }
.feedback-score strong { color: var(--accent); }
.delivery-recognition { margin-top: var(--s7); padding: var(--s6); border: 1px solid var(--line); background: #fff; }
.delivery-recognition .label { color: var(--muted); margin-bottom: var(--s3); }
.recognition-category { font-family: var(--mono); font-size: .875rem; color: var(--accent); margin-top: var(--s3); }
.delivery-recognition > div + div { margin-top: var(--s5); }
.recognition-source { font-size: .825rem; color: var(--muted); margin-top: var(--s4); }
.more-feedback { margin-top: var(--s6); }
.team-feedback-grid { display: grid; gap: var(--s6); padding-block: var(--s5); }
.team-feedback-grid article > p { font-size: .875rem; color: var(--muted); }
.team-feedback-grid article > p + p { margin-top: var(--s3); }
.manager-review { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.manager-review > header .label { margin-bottom: var(--s3); color: var(--muted); }
.manager-review > header > p:last-child { color: var(--muted); margin-top: var(--s3); }
.manager-quotes { display: grid; gap: var(--s6); margin-top: var(--s6); }
.manager-quotes figure { border-left: 2px solid var(--accent); padding-left: var(--s5); }
.manager-quotes .label, .manager-quotes figcaption { color: var(--muted); }
.manager-quotes blockquote { margin-block: var(--s4); }
.review-responsibilities { margin-top: var(--s6); font-size: .9375rem; color: var(--muted); max-width: 56rem; }
.experience-section { background: var(--wash); }
.career { padding-block: var(--s5); border-top: 1px solid var(--line); }
.career-date { font-family: var(--mono); font-size: .825rem; color: var(--muted); margin-bottom: var(--s3); }
.career-company { color: var(--accent); font-size: .9375rem; margin-block: var(--s2) var(--s4); }
.career p:last-child { max-width: 48rem; }
.approach-grid { display: grid; gap: var(--s6); }
.approach-grid article { border-top: 3px solid var(--navy); padding-top: var(--s5); }
.approach-grid p { margin-top: var(--s4); color: var(--muted); }
.approach-grid a { display: inline-block; margin-top: var(--s5); color: var(--accent); font-size: .875rem; }
.technical-range { margin-top: var(--s7); padding: var(--s5); background: var(--wash); }
.technical-range ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0 0; }
.technical-range li { background: #fff; border: 1px solid var(--line); padding: var(--s2) var(--s3); font-size: .875rem; }
.education-section { border-top: 1px solid var(--line); }
.education-grid { display: grid; gap: var(--s7); }
.education-grid article + article { margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid var(--line); }
.education-grid .label { color: var(--muted); margin-bottom: var(--s3); }
.education-grid p:not(.label) { margin-top: var(--s4); }
.education-grid h3:not(:first-child) { margin-top: var(--s4); }
.degree-result { color: var(--accent); font-weight: 600; }
.results { margin-top: var(--s5); }
.results table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.results caption { text-align: left; padding-block: var(--s4); color: var(--muted); }
.results td, .results th { border-bottom: 1px solid var(--line); padding: var(--s3) var(--s2); text-align: left; }
.results th[scope="row"] { font-weight: 400; }
.results td { font-weight: 650; }
.professional-status { background: var(--wash); padding: var(--s5); border: 0 !important; }
.contact-section { background: var(--navy); color: #fff; }
.contact-section .label { color: #c6e4f4; margin-bottom: var(--s4); }
.contact-section p:not(.label) { margin-top: var(--s5); max-width: 44rem; color: #dbe6ee; }
.contact-section .primary { background: #fff; color: var(--navy); }
.contact-section address { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s7); font-style: normal; }
.contact-section address a { overflow-wrap: anywhere; font-size: 1.0625rem; }
.site-footer { padding: var(--s6) var(--s5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); font-size: .825rem; color: var(--muted); }
.design-links { width: 100%; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); border-top: 1px solid var(--line); padding-top: var(--s5); }
.design-links a[aria-current] { font-weight: 700; color: var(--ink); }

/* Structured retains the technical palette with a drawing-sheet grid. */
.structured { --accent: #185d7f; }
.structured .hero { background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 32px 32px; }
.structured .hero h1 { font-family: var(--mono); font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 600; }
.structured .project { border-top-width: 1px; box-shadow: inset 5px 0 var(--accent); }
.structured .project-context { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.structured .section-heading { border-top: 2px solid var(--navy); padding-top: var(--s5); }
.structured .metrics { background: #fff; border-bottom: 1px solid var(--navy); }

/* Minimal uses white space rather than dark panels for its hierarchy. */
.minimal .hero { background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); }
.minimal .hero-period { display: none; }
.minimal .hero-role, .minimal .hero-intro, .minimal .availability { color: var(--muted); }
.minimal .hero .primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.minimal .hero .secondary { color: var(--navy); border-color: var(--line); }
.minimal .metrics { background: #fff; border-bottom: 1px solid var(--line); }
.minimal .project { border: 0; border-top: 1px solid var(--line); padding: var(--s6) 0; }
.minimal .project-outcome { border-left: 2px solid var(--accent); background: none; padding-block: 0; }
.minimal .project-cards { gap: var(--s6); }
.minimal .approach-grid article { border-top-width: 1px; }
.minimal .contact-section { background: var(--wash); color: var(--navy); }
.minimal .contact-section .label, .minimal .contact-section p:not(.label) { color: var(--muted); }
.minimal .contact-section .primary { background: var(--navy); color: #fff; }

@media (min-width: 680px) {
  .section { padding: var(--s9) var(--s7); }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--s7); gap: var(--s5); }
  .metrics > div + div { border-top: 0; border-left: 1px solid var(--line); padding-top: 0; padding-left: var(--s5); }
  .metric { font-size: 2.5rem; }
  .career { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s6); }
  .career-date { padding-top: var(--s1); }
  .project { padding: var(--s6); }
  .site-header, .site-footer { padding-inline: var(--s7); }
}
@media (min-width: 1100px) {
  .site-header { position: sticky; top: 0; z-index: 10; flex-wrap: nowrap; padding-block: var(--s4); }
  .site-header nav { order: initial; width: auto; gap: var(--s5); }
  .section[id], .project[id] { scroll-margin-top: 110px; }
  .section { padding-inline: max(var(--s8), calc((100vw - 1280px) / 2)); }
  .hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s8); align-items: center; min-height: 780px; }
  .metrics { padding-inline: max(var(--s8), calc((100vw - 1280px) / 2)); gap: var(--s7); }
  .metric { font-size: 3rem; }
  .metrics > div + div { padding-left: var(--s7); }
  .section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s8); align-items: end; }
  .section-heading > p { margin: 0; }
  .project-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
  .additional-work { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s8); }
  .additional-work p:first-child { margin-top: 0; }
  .approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
  .education-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .feedback-grid, .team-feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manager-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-feedback { display: grid; grid-template-columns: 1.8fr 1fr; gap: var(--s7); align-items: end; padding: var(--s7); }
  .featured-feedback blockquote { margin-bottom: 0; }
  .delivery-recognition { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s7); }
  .delivery-recognition > div + div { margin-top: 0; }
  .contact-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s8); align-items: center; }
  .contact-section address { margin: 0; }
  .minimal .project-cards { grid-template-columns: 1fr; }
  .minimal .project { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0 var(--s8); }
  .minimal .project-context { grid-column: 1; grid-row: 1 / 5; }
  .minimal .project > :not(.project-context) { grid-column: 2; }
  .minimal .hero { min-height: 700px; }
  .sidebar { padding-left: 230px; }
  .sidebar .site-header { position: fixed; inset: 0 auto 0 0; width: 230px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--s8); padding: var(--s7) var(--s5); background: var(--navy); color: #fff; border: 0; }
  .sidebar .wordmark span { color: #bfd4e2; margin-top: var(--s2); }
  .sidebar .site-header nav { flex-direction: column; gap: var(--s4); }
  .sidebar .site-header nav a { padding: var(--s2) 0 var(--s2) var(--s3); border: 0; border-left: 2px solid transparent; }
  .sidebar .site-header nav a[aria-current], .sidebar .site-header nav a:hover { border-left-color: #8bc6e7; }
  .sidebar .header-cv { margin-top: auto; border-color: #6d889c; }
  .sidebar .section { padding: var(--s8) var(--s7); }
  .sidebar .hero { grid-template-columns: 1fr; gap: var(--s7); min-height: auto; background: var(--wash); color: var(--navy); }
  .sidebar .hero h1 { font-size: 6.5rem; }
  .sidebar .hero h1 br { display: none; }
  .sidebar .hero-role, .sidebar .hero-intro, .sidebar .availability { color: var(--muted); }
  .sidebar .hero .primary { background: var(--navy); color: #fff; border-color: var(--navy); }
  .sidebar .hero .secondary { color: var(--navy); border-color: var(--line); }
  .sidebar .metrics { padding-inline: var(--s7); background: #fff; border-bottom: 1px solid var(--line); gap: var(--s5); }
  .sidebar .metric { font-size: 2.4rem; }
  .sidebar .metrics > div + div { padding-left: var(--s5); }
  .sidebar .section-heading { display: block; }
  .sidebar .section-heading > p { margin-top: var(--s5); }
  .sidebar .approach-grid { grid-template-columns: 1fr; }
  .sidebar .approach-grid article { display: grid; grid-template-columns: 1fr 1.8fr; gap: 0 var(--s6); }
  .sidebar .approach-grid p { margin-top: 0; }
  .sidebar .approach-grid a { grid-column: 2; }
  .sidebar .contact-section { grid-template-columns: 1fr; gap: var(--s6); }
  .sidebar .section[id], .sidebar .project[id] { scroll-margin-top: var(--s5); }
  .sidebar .manager-quotes { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .filters button, .site-header nav a { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
}
/* The introduction stays compact without the interactive globe. */
.hero, .sidebar .hero { display: block; min-height: 0; }
.contact-section .document-request { font-size: .875rem; }
@media (min-width: 1100px) {
  .hero-copy { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s4) var(--s7); align-items: start; }
  .hero-copy > .label { grid-column: 1; grid-row: 1; }
  .hero h1, .sidebar .hero h1 { grid-column: 1; grid-row: 2 / 4; font-size: clamp(3.5rem, 6vw, 6rem); margin: 0; }
  .hero-copy .hero-role { grid-column: 1; grid-row: 4; margin: 0; }
  .hero-copy .hero-intro { grid-column: 2; grid-row: 2; margin: 0; }
  .hero-copy .hero-actions { grid-column: 2; grid-row: 3; margin: 0; }
  .hero-copy .availability { grid-column: 2; grid-row: 4; margin: 0; }
  .sidebar .hero h1 br { display: initial; }
}
@media print {
  :root { font-size: 10pt; }
  body.sidebar { padding: 0; }
  .site-header, .site-footer, .skip-link, .hero-actions, .project-controls, .project-map, .map-note, .map-credits { display: none !important; }
  .section, .sidebar .section { padding: 18pt 0; }
  .hero, .contact-section { background: #fff; color: #162e43; }
  .hero h1 { font-size: 36pt; }
  .hero-intro, .hero-role, .availability, .contact-section p:not(.label), .contact-section .label { color: #223647; }
  .metrics { padding: 12pt; }
  .project[hidden], .project-group[hidden] { display: block !important; }
  .project-cards, .education-grid, .approach-grid, .career { display: block; }
  .project { margin-bottom: 18pt; }
  .section-heading, .project-context, h2, h3, h4, h5 { break-after: avoid; }
  li, .metrics > div { break-inside: avoid; }
  p { orphans: 3; widows: 3; }
}
