:root {
  color-scheme: light;
  --bg: #fbfcfc;
  --text: #17201d;
  --muted: #53635c;
  --rule: #d7e0da;
  --accent: #176443;
  --accent-hover: #104a32;
  --surface: #eef4f0;
  --brand: #b44331;
  --contact: #182820;
  --contact-text: #f2f7f3;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141a17;
  --text: #edf3ee;
  --muted: #b5c5ba;
  --rule: #39463d;
  --accent: #9adbb9;
  --accent-hover: #c1f0d4;
  --surface: #1d2821;
  --brand: #f2a28c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 650; overflow-wrap: anywhere; }
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4375rem; }
h4 { font-size: 1.125rem; }
.wrap { max-width: 1104px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.skip-link { position: absolute; top: 10px; left: 12px; z-index: 2; transform: translateY(-160%); background: var(--bg); padding: 8px; }
.skip-link:focus { transform: none; }
.site-header { min-height: 86px; display: flex; gap: 28px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.brand { font-size: 1.625rem; font-weight: 750; color: var(--text); text-decoration: none; }
.brand span, .company h2 span { color: var(--brand); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.site-header nav a, .language { color: var(--text); text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.site-header nav a:hover, .language:hover { text-decoration: underline; }
.header-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.theme-control { font-size: 0.75rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.theme-control[hidden] { display: none; }
.theme-control input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.intro { padding-top: 52px; padding-bottom: 54px; }
.identity { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.identity > div { min-width: 0; }
.portrait { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; flex: 0 0 88px; }
.eyebrow { font-size: 0.75rem; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.role { font-size: 1.5625rem; margin-bottom: 18px; }
.lead { font-size: 1.3125rem; line-height: 1.55; max-width: 800px; margin-bottom: 12px; }
.intro-detail { color: var(--muted); max-width: 790px; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 18px; text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.button.primary { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.availability { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); margin-left: 10px; }
.availability span { width: 6px; height: 6px; flex: 0 0 6px; background: var(--accent); border-radius: 50%; }
.section-heading { padding-bottom: 28px; }
.section-heading > p:last-child { margin-top: 10px; color: var(--muted); }
.work { padding-top: 30px; border-top: 1px solid var(--rule); padding-bottom: 44px; }
.case { display: grid; grid-template-columns: 42px minmax(0, 1fr) 190px; column-gap: 28px; padding: 30px 0; border-top: 1px solid var(--rule); }
.case-number { color: var(--brand); font-size: 0.8125rem; font-weight: 650; padding-top: 3px; }
.case-kind { color: var(--accent); font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.case-body h3 { margin-bottom: 8px; }
.attribution { font-size: 0.75rem; color: var(--muted); margin-bottom: 16px; }
.case-body > p:not(.case-kind):not(.attribution) { font-size: 0.9375rem; }
.case-body .outcome { margin-top: 12px; color: var(--muted); }
.case-stack { font-size: 0.8125rem; color: var(--muted); padding-top: 4px; line-height: 1.9; }
.case-body, .case-stack, .intro-detail, .availability { overflow-wrap: anywhere; }
.more-work { border-top: 1px solid var(--rule); padding-top: 26px; }
.more-work > h3 { font-size: 1.1875rem; margin-bottom: 24px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.work-grid h4 { margin-bottom: 12px; }
.work-grid article > p:last-child { font-size: 0.875rem; color: var(--muted); }
.confidential { font-size: 0.75rem; color: var(--muted); margin-top: 30px; }
.company-band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 44px; padding-bottom: 44px; }
.company h2 { font-size: 2.375rem; margin-bottom: 8px; }
.company-legal { color: var(--muted); font-size: 0.8125rem; }
.company > div:last-child p { font-size: 0.9375rem; margin-bottom: 18px; }
.text-link { font-size: 0.875rem; font-weight: 600; }
.experience { padding-top: 46px; padding-bottom: 50px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; padding: 22px 0; border-top: 1px solid var(--rule); }
.timeline time { font-size: 0.8125rem; color: var(--muted); padding-top: 3px; }
.timeline h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.position { font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }
.timeline li > div > p:last-child { font-size: 0.875rem; color: var(--muted); }
.toolkit { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 30px; }
.toolkit h3 { font-size: 1.25rem; margin-bottom: 22px; }
.toolkit > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; margin-bottom: 14px; }
.toolkit h4, .toolkit p { font-size: 0.875rem; }
.toolkit p { color: var(--muted); }
.background { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 32px; border-top: 1px solid var(--rule); padding-top: 28px; }
.background h3 { font-size: 1.125rem; margin-bottom: 10px; }
.background p { font-size: 0.875rem; color: var(--muted); }
.background p + p { margin-top: 8px; }
.background .small { font-size: 0.75rem; }
.contact-band { background: var(--contact); color: var(--contact-text); }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 45px; padding-top: 46px; padding-bottom: 46px; }
.contact h2 { font-size: 2.125rem; margin-bottom: 18px; }
.contact p { max-width: 430px; font-size: 0.9375rem; }
.contact .eyebrow, .contact .small { color: #b8cabb; font-size: 0.75rem; }
.contact .small { margin-top: 14px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; }
.contact a { color: var(--contact-text); font-size: 0.875rem; }
.contact .email-link { font-size: 1.125rem; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; padding-bottom: 24px; font-size: 0.75rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
@media (max-width: 800px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .site-header { gap: 18px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
  .site-header nav { gap: 16px; }
  .header-tools { gap: 12px; }
  .theme-control span { max-width: 76px; line-height: 1.3; }
  .intro { padding-top: 36px; padding-bottom: 38px; }
  h1 { font-size: 2.375rem; }
  .role { font-size: 1.375rem; }
  .lead { font-size: 1.1875rem; }
  .availability { margin-left: 0; flex-basis: 100%; margin-top: 5px; }
  .case { grid-template-columns: 28px minmax(0, 1fr); gap: 20px; }
  .case-stack { grid-column: 2; padding-top: 14px; line-height: 1.6; }
  .work-grid { grid-template-columns: 1fr; gap: 24px; }
  .company { gap: 30px; }
  .timeline li, .toolkit > div { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; }
  .contact { gap: 24px; }
}
@media (max-width: 540px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header .brand { margin-right: auto; }
  .site-header nav { width: 100%; order: 3; margin-left: 0; justify-content: space-between; gap: 12px; }
  .header-tools { gap: 16px; }
  .theme-control span { max-width: none; font-size: 0.75rem; }
  .intro { padding-top: 24px; padding-bottom: 24px; }
  .identity { margin-bottom: 16px; }
  .intro-actions { margin-top: 20px; }
  .identity { gap: 14px; align-items: flex-start; }
  .portrait { width: 58px; height: 58px; flex-basis: 58px; }
  h1 { font-size: 1.875rem; }
  .identity .eyebrow { font-size: 0.625rem; margin-bottom: 6px; }
  .role { font-size: 1.25rem; margin-bottom: 14px; }
  .lead { font-size: 1.0625rem; line-height: 1.5; }
  .intro-detail { font-size: 0.875rem; }
  h2 { font-size: 1.6875rem; }
  h3 { font-size: 1.3125rem; }
  .work { padding-top: 26px; }
  .case { grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; padding: 24px 0; }
  .case-body > p:not(.case-kind):not(.attribution) { font-size: 0.875rem; }
  .company, .background, .contact { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .company { padding-top: 32px; padding-bottom: 32px; }
  .timeline li, .toolkit > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .timeline li { padding: 20px 0; }
  .toolkit > div { margin-bottom: 20px; }
  .contact-links { padding-top: 0; }
  .contact h2 { font-size: 1.875rem; }
  .contact .email-link { font-size: 1.0625rem; }
  .site-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
