/* Modern portfolio layer. Original Ward styles remain available for recovered content. */
:root {
  --ink: #203242;
  --muted: #5c6a76;
  --accent: #336699;
  --line: #dce3e8;
  --paper: #fff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Calibri, Carlito, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
}
html { height: auto; scroll-behavior: smooth; scroll-padding-top: 110px; }
body.basic { padding-top: 0; height: auto; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); overflow-wrap: break-word; }
#page { flex: 1 0 auto; height: auto; min-height: 0; background: var(--paper); }
.site-shell { width: min(100% - 80px, 1120px); margin-inline: auto; }
.basic h1,.basic h2,.basic h3,.basic h4,.basic h5,.basic h6 { color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.18; }
.basic a { color: var(--accent); text-underline-offset: .2em; }
.basic a:hover { color: #214d77; }
a:focus-visible,button:focus-visible { outline: 3px solid #b28520; outline-offset: 5px; }
button { font-family: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 12px 18px; background: white; }
.skip-link:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.basic .site-brand { font: 600 28px/1.1 var(--serif); letter-spacing: normal; color: var(--ink); white-space: nowrap; text-decoration: none; }
.brand-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.basic .site-nav a { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.site-nav ul a { padding-block: 10px; border-bottom: 2px solid transparent; }
.site-nav ul a:hover,.site-nav ul a[aria-current] { border-color: var(--accent); }
.basic .site-nav .cv-link { display: inline-flex; align-items: center; gap: 14px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 6px; }
.basic .site-nav .cv-link:hover { border-color: var(--accent); color: var(--accent); background: #f4f7fa; }
.menu-toggle { display: none; padding: 8px 0 8px 14px; border: 0; background: none; color: var(--ink); min-height: 44px; font-size: 16px; }
.menu-toggle span { font-size: 24px; line-height: 1; }
.profile-hero { padding: 66px 0 56px; }
.eyebrow { font: 13px/1.5 var(--mono); letter-spacing: .055em; color: var(--muted); }
.profile-hero .eyebrow { margin: 0 0 18px; }
.profile-hero h1 { font-size: clamp(50px,7.6vw,92px); font-weight: 600; letter-spacing: normal; margin: 0 0 32px; }
.hero-summary { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 60px; }
.hero-intro { font-size: clamp(24px,2.7vw,32px); max-width: 22ch; line-height: 1.25; margin: 0; }
.hero-current { border-left: 1px solid var(--line); padding-left: 30px; }
.hero-current .eyebrow { display: block; margin-bottom: 8px; }
.basic .hero-current a { color: var(--ink); font-size: 19px; line-height: 1.45; text-decoration: none; }
.hero-current a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.basic #home-page-widgets { background: var(--accent); color: white; padding: 28px 0 38px; margin: 0; }
.highlights-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.basic .highlights-heading h2 { font: 400 14px/1.5 var(--mono); color: white; letter-spacing: .04em; margin: 0; }
#shuffle-cards { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 1px solid #a9bfd5; border-radius: 6px; background: transparent; color: white; font-size: 15px; padding: 4px 13px; cursor: pointer; }
#shuffle-cards .icon-off { font-size: 23px; line-height: 1; }
#shuffle-cards:hover { background: #214d77; border-color: white; }
#home-page-widgets a:focus-visible,#home-page-widgets button:focus-visible { outline-color: white; }
.highlight-group { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; min-height: 302px; }
.highlight-group[hidden] { display: none !important; }
.highlight-group .home-widget { width: auto; margin: 0; padding: 0; float: none; text-align: left; }
.basic .highlight-link { display: block; color: white; text-decoration: none; }
.home-widget img { width: 152px; height: 152px; object-fit: contain; margin: 0 0 20px; }
.home-widget img.logo-badge { background: white; padding: 20px; }
.basic .home-widget-title { color: white; font: 700 22px/1.2 var(--sans); margin: 0 0 8px; max-width: 20ch; }
.highlight-link:hover .home-widget-title { text-decoration: underline; text-underline-offset: .18em; }
.home-widget .textwidget { color: #e4edf6; display: block; font-size: 16px; line-height: 1.3; }
.content-shell { max-width: 900px; }
#primary { width: 100%; float: none; margin: 0; padding: 0; }
body.page article { padding: 64px 0 80px; }
.page-heading { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { margin: 0 0 16px; }
.basic .entry-title { font: 700 clamp(40px,5vw,60px)/1.08 var(--serif); letter-spacing: -.03em; color: var(--ink); }
body.page .entry-title { margin: 0; }
body.page .home-about-title { font-size: 40px; margin: 0 0 30px; }
.entry-content { font-size: 18px; line-height: 1.65; }
.entry-content p { margin-bottom: 1.1em; }
.entry-content h2 { font-size: 30px; margin: 38px 0 16px; }
.entry-content h3 { font-size: 24px; margin: 28px 0 12px; }
.entry-content li { margin-bottom: 8px; }
.entry-content::after,.legacy-logo-row::after { content: ""; display: table; clear: both; }
.entry-content section { display: flow-root; }
.entry-content hr { border-color: var(--line); margin-block: 32px; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .experience-entry { padding: 0 0 24px; background: transparent; }
.experience-entry+.experience-entry { border-top: 1px solid var(--line); padding-top: 24px; }
.role-dates,.experience-dates { color: var(--muted); }
.page-intro,.role-intro { font-size: 21px; }
.entry-content .experience-perspective { margin-bottom: 32px; }
.experience-perspective h2 { margin-top: 0; }
.experience-perspective>p { max-width: 75ch; }
.perspective-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: 40px; margin-top: 24px; }
.perspective-diagram { margin: 0; }
.perspective-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.perspective-circles circle { fill: #336699; fill-opacity: .075; stroke: #336699; stroke-width: 1.5; stroke-opacity: .65; }
.perspective-intersection { fill: var(--accent); }
.perspective-labels { fill: var(--ink); font: 700 23px var(--sans); }
.perspective-labels .perspective-centre { fill: white; font-size: 20px; }
.perspective-evidence { margin: 0; }
.perspective-evidence>div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.perspective-evidence>div:first-child { padding-top: 0; }
.perspective-evidence>div:last-child { padding-bottom: 0; border-bottom: 0; }
.perspective-evidence dt { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.perspective-evidence dd { margin: 0; font-size: 17px; line-height: 1.5; }
.perspective-evidence a { text-decoration: underline; text-decoration-color: #aec1d2; }
.section-navigation { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 20px 0; margin: 24px 0 38px; border-block: 1px solid var(--line); font-size: 16px; }
.section-navigation ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.section-navigation li { margin: 0; }
.career-timeline>section { padding: 0 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.career-timeline>section h2 { margin-top: 0; }
.earlier-role { padding: 16px 0; }
.skill-logo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; list-style: none; padding: 0; margin: 28px 0; }
.skill-logo-grid li { display: flex; align-items: center; justify-content: center; min-height: 115px; padding: 15px; }
.skill-logo-grid img { object-fit: contain; width: auto; height: auto; max-height: 100px; margin: 0 !important; }
.child-pages { padding-left: 22px; }
.imgWrap:focus-within .imgDescription { visibility: visible; opacity: 1; }
#photos .imgWrap { break-inside: avoid; }
.basic .button-link { display: inline-flex; gap: 18px; padding: 10px 18px; border-radius: 6px; background: var(--accent); color: white; text-decoration: none; font-weight: 700; }
.basic .button-link:hover { background: #214d77; }
.text-link { margin-left: 18px; }
.cv-preview { display: block; width: 100%; height: 900px; border: 1px solid var(--line); margin-top: 30px; }
#footer.site-footer { background: #172d40; color: #c0cfdb; border: 0; font: 16px/1.5 var(--sans); z-index: 0; padding: 48px 0 22px; }
#footer a { color: #edf3f7; text-decoration: none; }
#footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-bottom: 40px; }
#footer .footer-name { display: inline-block; font: 600 32px/1.2 var(--serif); letter-spacing: normal; margin-bottom: 10px; }
.basic .site-brand,.profile-hero h1,#footer .footer-name { font-kerning: normal; font-variant-ligatures: none; font-optical-sizing: auto; }
.footer-main p { margin: 0; }
#footer .brand-dot { color: #9bbada; }
.footer-links { display: grid; grid-template-columns: auto auto; gap: 14px 40px; }
.footer-links a { display: flex; justify-content: space-between; gap: 20px; }
.footer-links span { color: #9bbada; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #385063; font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width:1050px) {
  .site-shell { width: calc(100% - 64px); }
  .site-nav { gap: 20px; }
  .site-nav ul { gap: 18px; }
  .basic .site-brand { font-size: 25px; }
  .highlight-group { gap: 24px; }
  .home-widget img { width: 140px; height: 140px; }
  .basic .home-widget-title { font-size: 21px; }
}
@media (max-width:850px) {
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; }
  .site-brand { padding-block: 22px; }
  .site-nav { width: 100%; align-items: stretch; padding: 0 0 24px; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .site-nav ul { flex-wrap: wrap; flex: 1; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 14px; }
  .js .site-nav { display: none; }
  .js .site-nav.in { display: flex; }
  .hero-summary { gap: 30px; }
  .hero-current { padding-left: 22px; }
  .highlight-group { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; min-height: 570px; }
  .home-widget img { width: 150px; height: 150px; }
  .basic .home-widget-title { max-width: 21ch; }
}
@media (max-width:760px) {
  .perspective-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
  .perspective-diagram { width: 100%; max-width: 380px; margin-inline: auto; }
}
@media (max-width:580px) {
  .site-shell { width: calc(100% - 40px); }
  .basic .site-brand { font-size: 25px; }
  .site-nav,.js .site-nav.in { flex-direction: column; gap: 20px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav li a { display: block; padding: 9px 0; }
  .site-nav .cv-link { justify-content: space-between; }
  .profile-hero { padding: 42px 0 40px; }
  .profile-hero h1 { font-size: 54px; max-width: 9ch; margin-bottom: 24px; }
  .profile-hero .eyebrow { font-size: 11px; letter-spacing: .025em; }
  .hero-summary { grid-template-columns: 1fr; gap: 26px; }
  .hero-intro { font-size: 26px; }
  .hero-current { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .basic .hero-current a { font-size: 18px; }
  .highlights-heading { gap: 10px; margin-bottom: 24px; }
  .basic .highlights-heading h2 { font-size: 12px; }
  #shuffle-cards { font-size: 13px; gap: 7px; padding-inline: 10px; }
  .highlight-group { gap: 26px 22px; min-height: 548px; }
  .home-widget img { width: 126px; height: 126px; margin-bottom: 16px; }
  .home-widget img.logo-badge { padding: 16px; }
  .basic .home-widget-title { font-size: 19px; }
  .home-widget .textwidget { font-size: 15px; }
  body.page article { padding: 40px 0 54px; }
  .page-heading { padding-bottom: 24px; margin-bottom: 26px; }
  .entry-content h2 { font-size: 27px; }
  .entry-content h3 { font-size: 23px; }
  .entry-content img.alignleft,.entry-content img.alignright { max-width: 100%; }
  .entry-content table img { max-width: 100%; margin: 6px auto; }
  .entry-content table td { overflow-wrap: anywhere; }
  .skill-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .footer-main { flex-direction: column; gap: 28px; }
  .footer-links { width: 100%; gap: 14px 32px; }
  .footer-bottom { font-size: 13px; }
  .cv-preview { height: 620px; }
}
@media (max-width:380px) {
  .site-shell { width: calc(100% - 32px); }
  .basic .site-brand { font-size: 23px; }
  .home-widget img { width: 112px; height: 112px; }
  .highlights-heading { flex-wrap: wrap; }
}
@media (max-width:480px) { #post-27 .wp-image-35 { float: none; display: block; margin: 0 0 24px !important; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
  body.basic { padding: 0; font-size: 11pt; }
  .site-header,.profile-hero,#home-page-widgets,#footer,.print-button,.skip-link,.section-navigation { display: none !important; }
  #page,#primary,.site-shell { background: white; width: 100%; }
  body.page article { padding: 0; }
  .entry-content { font-size: 11pt; }
  a[href]::after { content: none; }
  h2,h3 { break-after: avoid; }
}
