@font-face {
  font-family: "Profile Sans";
  src: url("assets/fonts/sans.ttf") format("truetype");
  font-display: swap;
  font-weight: 400 700;
}
@font-face {
  font-family: "Profile Serif";
  src: url("assets/fonts/serif.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --sans: "Profile Sans", Arial, sans-serif;
  --serif: "Profile Serif", Georgia, serif;
  --bg: #f9fbfd;
  --ink: #2b445f;
  --muted: #566c83;
  --accent: #416e9a;
  --line: #d6e1ec;
  --tint: #eff4f9;
  --sidebar: #e7eef6;
  --sidebar-line: #c9d9e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, summary { cursor: pointer; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 30; background: #fff; color: var(--ink); padding: 12px; }
.skip:focus { top: 10px; }

/* Profile card and primary actions. */
.site-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 0 65px; max-width: 1170px; margin: auto; padding: 35px 38px 0; }
.identity-rail { grid-column: 1; grid-row: 1 / 3; position: sticky; top: 28px; align-self: start; }
.identity-sidebar { display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--sidebar); padding: 23px 22px; border-radius: 22px; }
.hex-portrait { position: relative; width: 108px; align-self: center; margin: 0 0 17px; }
.hex-portrait svg { display: block; width: 100%; height: auto; overflow: visible; }
.hex-portrait-edge { fill: none; stroke: var(--sidebar); stroke-width: 1.2; }
.sidebar-nickname { display: block; margin-top: 6px; text-align: center; font: 400 16px/1.4 var(--sans); color: var(--muted); }
.identity-sidebar h2 { font: 400 28px/1.1 var(--serif); letter-spacing: -.02em; margin: 0 0 8px; }
.identity-sidebar h2 a { text-decoration: none; }
.identity-details > p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.identity-details .sidebar-location { font-size: 13px; margin-top: 4px; }
.sidebar-current { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--sidebar-line); font-size: 13px; line-height: 1.6; }
.sidebar-current > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.sidebar-current strong { display: block; margin: 2px 0 6px; font-size: 18px; line-height: 1.35; font-weight: 700; }
.sidebar-current p { margin: 0; font-weight: 400; color: var(--muted); }
.position-short { display: none; }
.sidebar-actions { display: grid; gap: 10px; margin-top: 18px; width: 100%; max-width: 245px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; min-height: 51px; padding: 12px 19px; gap: 20px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; font-size: 15px; line-height: 1.65; text-decoration: none; white-space: nowrap; }
.button > span { flex: none; }
.button:hover { background: var(--ink); border-color: var(--ink); }
main, .site-footer { grid-column: 2; min-width: 0; }

/* Introduction and areas of practice. */
.eyebrow { margin: 0 0 20px; font-size: 11px; line-height: 1.5; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.hero { padding: 24px 0 40px; border-bottom: 1px solid var(--line); }
.hero .eyebrow { font-size: 11px; line-height: 1.8; }
.hero h1 { margin: 0 0 27px; max-width: 850px; font: 500 58px/1.08 var(--serif); letter-spacing: -.025em; }
.intro { max-width: 620px; margin: 0; font-size: 19px; line-height: 1.8; }
.section { padding: 37px 0; scroll-margin-top: 24px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { font-size: 12px; margin-bottom: 7px; }
.section h2, .site-footer h2 { font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; margin: 0; }
.expertise-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.expertise-grid h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-size: 23px; line-height: 1.23; font-weight: 600; }
.practice-badge { position: relative; display: grid; place-items: center; flex: 0 0 46px; height: 52px; }
.practice-badge::before { content: ""; position: absolute; inset: 0; background: var(--sidebar); -webkit-mask: url("assets/icons/rounded-hex.svg") center / contain no-repeat; mask: url("assets/icons/rounded-hex.svg") center / contain no-repeat; }
.practice-icon { position: relative; width: 23px; height: 23px; background: var(--accent); -webkit-mask: var(--practice-icon) center / contain no-repeat; mask: var(--practice-icon) center / contain no-repeat; }
.practice-icon-governance { --practice-icon: url("assets/icons/shield-check.svg"); }
.practice-icon-advisory { --practice-icon: url("assets/icons/conversation.svg"); }
.practice-icon-analytics { --practice-icon: url("assets/icons/analytics-chip.svg"); }
.expertise-grid p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* Experience. Contributions are always visible. */
.experience-list { display: grid; }
.role { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 29px 0; border-top: 1px solid var(--line); }
.role:first-child { padding-top: 0; border: 0; }
.role-date { color: var(--muted); font-size: 13px; line-height: 1.6; padding-top: 4px; }
.role h3 { font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; margin: 0; }
.role-title { font-size: 17px; color: var(--muted); margin: 5px 0 13px; }
.role-body > p:not(.role-title) { max-width: 650px; margin: 0 0 14px; font-size: 16px; line-height: 1.8; }
.contributions { max-width: 650px; margin: 14px 0 0; padding: 20px 22px 20px 37px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
.role li { margin-bottom: 9px; font-size: 16px; line-height: 1.8; }
.role li:last-child { margin-bottom: 0; }

/* Compact public-document index. */
.full-public-record .section-heading { margin-bottom: 12px; }
.record-intro { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 24px; max-width: 620px; }
.record-group { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.record-label h3 { font: 600 18px/1.4 var(--sans); letter-spacing: -.015em; margin: 5px 0 4px; }
.record-label p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.record-links { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 14px; margin: 0; padding: 0; }
.record-links li { margin: 0; max-width: 100%; }
.record-links a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 8px 0; font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--accent); text-decoration-color: var(--sidebar-line); text-underline-offset: 4px; }
.record-links a:hover { color: var(--ink); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.record-arrow { flex: none; font-size: 11px; text-decoration: none; }

.site-footer { padding: 48px 0 24px; border-top: 1px solid var(--line); }
.site-footer h2 { font-size: 31px; }
.site-footer .eyebrow { margin-bottom: 7px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; margin-top: 22px; }
.contact-links a { display: inline-block; white-space: nowrap; min-height: 44px; padding: 7px 0; font-size: 18px; font-weight: 400; line-height: 1.65; color: var(--accent); }
.footer-note { font-size: 10px; color: var(--muted); margin: 45px 0 0; }

@media (min-width: 681px) and (max-width: 1100px) {
  .record-group { grid-template-columns: 175px minmax(0, 1fr); gap: 20px; }
}
@media (min-width: 681px) and (max-width: 1050px) {
  .site-shell { grid-template-columns: 205px minmax(0, 1fr); gap: 0 30px; }
}
@media (max-width: 900px) {
  .site-shell { padding-inline: 28px; }
}
/* Let short windows scroll the entire profile card and its actions into view. */
@media (min-width: 681px) and (max-height: 660px) {
  .identity-rail { position: static; }
}
@media (max-width: 680px) {
  .site-shell { display: block; padding: 12px 22px 0; }
  .identity-rail { position: static; }
  .identity-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 84px; padding: 15px 20px; gap: 0 12px; border-radius: 17px; }
  .identity-sidebar .hex-portrait { grid-column: 2; grid-row: 1; align-self: start; width: 84px; margin: 0; }
  .identity-details { grid-column: 1; grid-row: 1; align-self: start; min-width: 0; }
  .identity-sidebar h2 { font-size: 26px; margin-bottom: 6px; }
  .identity-details > p { font-size: 13px; }
  .sidebar-current { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 3px 9px; margin-top: 9px; padding-top: 9px; line-height: 1.4; }
  .sidebar-current > span { margin: 0; font-size: 9px; }
  .sidebar-current strong { margin: 0; }
  .sidebar-current p { grid-column: 1 / -1; }
  .position-full { display: none; }
  .position-short, .position-separator { display: inline; text-decoration: none; }
  .sidebar-actions { max-width: none; margin-top: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
  .sidebar-actions .button { min-height: 46px; padding: 9px 12px; gap: 8px; }
  .hero { padding: 20px 0 30px; }
  .hero .eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
  .hero h1 { font-size: 43px; line-height: 1.06; margin-bottom: 14px; }
  .intro { font-size: 17px; line-height: 1.55; }
  .section h2 { font-size: 31px; }
  .section-heading .eyebrow { margin-bottom: 10px; }
  .expertise-grid h3 { margin-bottom: 8px; }
  .practice-badge { flex-basis: 42px; height: 48px; }
  .practice-icon { width: 22px; height: 22px; }
  .role h3 { font-size: 24px; }
  .role-title { font-size: 16px; }
  .record-group { grid-template-columns: 1fr; gap: 8px; padding: 17px 0; }
  .record-label h3 { margin-top: 0; }
  .record-label p { font-size: 14px; }
  .record-links { column-gap: 18px; }
  .record-links a { min-height: 44px; padding: 10px 0; }
  .record-intro { font-size: 16px; }
  .site-footer { padding-top: 35px; }
  .site-footer h2 { font-size: 27px; }
  .footer-note { font-size: 10px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
