  @font-face{font-family:'Titillium Web'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/titillium-web-400.woff2') format('woff2')}
  @font-face{font-family:'Titillium Web'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/titillium-web-600.woff2') format('woff2')}
  @font-face{font-family:'Titillium Web'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/titillium-web-700.woff2') format('woff2')}
  :root, html[data-theme="dark"]{
    --bg:#000; --header-bg:#000; --fg:#ECECE6; --muted:#9DA39B; --faint:#8A9088;
    --line:rgba(255,255,255,.12); --rule:rgba(255,255,255,.85); --hover:#161616;
    --accent:#0B8A48; --accent-btn:#0A8043; --connect:#0B8848; --on-accent:#fff;
    --foot-bg:#000; --foot-fg:#8A9088; --chip-line:rgba(255,255,255,.2); --gridline:rgba(255,255,255,.12);
    --maxw:1440px; --gutter:max(72px, calc((100% - 1440px) / 2));
    color-scheme:dark;
  }
  html[data-theme="light"]{
    --bg:#fff; --header-bg:#fff; --fg:#111210; --muted:#56564E; --faint:#6C6C64;
    --line:#DCDCD4; --rule:#111210; --hover:#f4f4f4;
    --accent:#0B8A48; --accent-sm:#0A8043; --accent-btn:#0B8848; --connect:#0B8848; --on-accent:#fff;
    --foot-bg:#fff; --foot-fg:#6A6A62; --chip-line:#C9C9C0; --gridline:#DCDCD4;
    color-scheme:light;
  }
  html[data-theme="light"] .hero-lead .ac,
  html[data-theme="light"] .contact-links .ac{color:var(--accent-sm)}
  *{box-sizing:border-box}
  html{scroll-behavior:smooth; scroll-padding-top:90px}
  body{margin:0; background:var(--bg); color:var(--fg); overflow-x:clip;
    font-family:'Titillium Web',-apple-system,sans-serif; font-size:17px; line-height:1.6;
    -webkit-font-smoothing:antialiased}
  a{color:inherit; text-decoration:none}
  .skip{position:absolute; left:12px; top:12px; z-index:80; padding:10px 14px; background:var(--accent); color:#fff;
    font-weight:600; font-size:14px; clip:rect(0 0 0 0); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap}
  .skip:focus{clip:auto; clip-path:none; width:auto; height:auto; overflow:visible}
  p{margin:0}
  .ac{color:var(--accent)}
  :focus-visible{outline:2px solid var(--accent); outline-offset:2px}

  header.mast{position:sticky; top:0; z-index:50; background:var(--bg); border-bottom:1px solid var(--line)}
  .mast-row{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:nowrap; padding:16px var(--gutter) 14px}
  .mast-id{min-width:0}
  .mast-name{margin:0; font-size:26px; font-weight:700; letter-spacing:.02em; text-transform:uppercase; line-height:1.1; color:var(--fg)}
  .mast-name .cursor{display:inline-block; width:10px; height:22px; background:var(--accent); margin-left:8px; vertical-align:-2px; animation:blink 1.1s steps(1) infinite}
  @keyframes blink{50%{opacity:0}}
  a.mast-home{display:block; color:inherit; text-decoration:none}
  a.mast-home:hover{color:inherit}
  .mast-nav{position:relative; display:flex; align-items:center; gap:16px; flex:none; flex-wrap:nowrap; margin-left:auto}
  .mast-menu{display:inline-flex; align-items:center; padding:0; max-width:42vw; background:transparent; border:0;
    font-family:ui-monospace,'SF Mono',Consolas,monospace; font-size:10px; letter-spacing:.14em; text-transform:uppercase;
    color:var(--fg); text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:color .18s ease}
  .theme-btn{width:auto; height:auto; border:0; border-radius:0; background:transparent; color:var(--fg);
    display:inline-flex; align-items:center; justify-content:center; padding:0; cursor:pointer; flex:none; transition:color .18s ease}
  .theme-btn svg{width:15px; height:15px; display:block}
  html:not([data-theme="light"]) .ico-moon{display:none}
  html[data-theme="light"] .ico-sun{display:none}
  .burger{display:flex; flex-direction:column; justify-content:center; gap:4px; width:18px; height:14px; padding:0;
    background:transparent; border:0; cursor:pointer; flex:none; color:var(--fg); transition:color .18s ease}
  .burger span{display:block; height:1px; width:100%; background:currentColor; transition:transform .25s ease, opacity .2s ease}
  .burger.open span:nth-child(1){transform:translateY(5px) rotate(45deg)}
  .burger.open span:nth-child(2){opacity:0}
  .burger.open span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
  .nav{display:none}
  .nav.open{display:flex; flex-direction:column; position:absolute; top:calc(100% + 10px); right:0; z-index:50; min-width:220px;
    max-width:min(280px, calc(100vw - 36px)); background:var(--bg); border:1px solid var(--line); padding:5px 0}
  .nav.open .nav-link{padding:9px 16px; font-family:ui-monospace,'SF Mono',Consolas,monospace; font-size:11px; letter-spacing:.14em;
    text-transform:uppercase; color:var(--fg); border-left:2px solid transparent}
  .nav.open .nav-link.is-active{border-left-color:var(--accent); background:var(--hover)}
  .nav.open .nav-sep{height:1px; margin:5px 0; background:var(--line)}
  .nav.open a.nav-cta{display:block; margin:8px 12px; background:var(--accent-btn); color:var(--on-accent); border:0; text-align:center;
    padding:13px 24px; font-family:'Titillium Web',sans-serif; font-size:14px; font-weight:600; letter-spacing:0; text-transform:none}
  .nav.open a.nav-cta:hover{filter:brightness(1.08); background:var(--accent-btn); color:var(--on-accent)}
  @media (max-width:760px){.mast-name{font-size:22px}}
  @media (max-width:520px){.mast-menu{font-size:9px; letter-spacing:.08em; max-width:34vw}}

  .sec{padding:80px var(--gutter); border-bottom:1px solid var(--line)}
  #sec-engagements,#sec-bio{position:relative}
  .legacy-anchor{position:absolute; top:0; left:0; width:1px; height:1px; overflow:hidden; scroll-margin-top:88px}
  .rail{display:grid; grid-template-columns:120px 1fr; gap:48px}
  .rail-label{font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); padding-top:8px}
  .rail-body{max-width:900px; min-width:0}
  .sec-h2{font-weight:700; font-size:48px; line-height:1.04; letter-spacing:-.03em; margin:0 0 18px; text-wrap:balance}
  .sec-intro{font-size:17px; line-height:1.6; color:var(--muted); max-width:720px; margin:0}
  #sec-engagements .sec-intro{text-wrap:pretty}
  @media (min-width:1400px){
    #sec-engagements .rail-body{max-width:none}
    #sec-engagements .sec-intro{max-width:none}
  }
  .sec-intro a{color:var(--fg); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--chip-line)}
  section[id]{scroll-margin-top:88px}

  .hero{position:relative; display:flex; flex-direction:column; justify-content:center;
    min-height:calc(100vh - 60px); min-height:calc(100dvh - 60px); min-height:calc(100svh - 60px);
    padding:88px var(--gutter); border-bottom:1px solid var(--line)}
  .hero-grid{display:block; max-width:72rem}
  .hero h1{margin:0; font-weight:700; font-size:clamp(36px, 5vw, 84px); line-height:1.02; letter-spacing:-.03em; text-wrap:balance}
  .hero-keep,.hero h1.hero-keep{white-space:nowrap; text-wrap:nowrap}
  .hero-sub{margin:18px 0 0; font-size:22px; font-weight:600; line-height:1.35; letter-spacing:-.015em; color:var(--fg)}
  .hero-line{display:block; white-space:nowrap}
  .hero-rot{display:inline-grid; height:1.02em; line-height:1.02; overflow:hidden; vertical-align:-0.04em; color:var(--accent)}
  .hero-rot-w{grid-area:1/1; white-space:nowrap; opacity:1}
  .hero-rot-w--si{transform:translateY(110%)}
  .js:not(.reduce) .hero-rot-w--ai{animation:hero-rot-ai 6.8s infinite}
  .js:not(.reduce) .hero-rot-w--si{animation:hero-rot-si 6.8s infinite}
  @keyframes hero-rot-ai{
    0%{transform:translateY(0); animation-timing-function:linear}
    44%{transform:translateY(0); animation-timing-function:cubic-bezier(0.22,1,0.36,1)}
    50%{transform:translateY(-110%); animation-timing-function:linear}
    94%{transform:translateY(-110%); animation-timing-function:step-end}
    94.2%{transform:translateY(110%); animation-timing-function:cubic-bezier(0.22,1,0.36,1)}
    100%{transform:translateY(0)}
  }
  @keyframes hero-rot-si{
    0%{transform:translateY(110%); animation-timing-function:linear}
    44%{transform:translateY(110%); animation-timing-function:cubic-bezier(0.22,1,0.36,1)}
    50%{transform:translateY(0); animation-timing-function:linear}
    94%{transform:translateY(0); animation-timing-function:cubic-bezier(0.22,1,0.36,1)}
    100%{transform:translateY(-110%)}
  }
  .hero-lead{max-width:60ch; margin:18px 0 28px; font-size:18px; font-weight:400; line-height:1.6; color:var(--fg)}
  .hero-actions{display:flex; flex-wrap:wrap; align-items:center; gap:14px}
  .hero-actions a{display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
    padding:13px 24px; font-family:inherit; font-size:14px; font-weight:600; line-height:1; text-decoration:none;
    white-space:nowrap; border-radius:0; border:1px solid transparent; cursor:pointer}
  .hero-actions .connect{background:var(--connect); color:#fff; border-color:var(--connect); transition:filter .2s ease}
  .hero-actions .caps{background:transparent; color:#fff; border-color:#fff; transition:background .2s ease}
  html[data-theme="light"] .hero-actions .caps{color:#111210; border-color:#111210}
  .scroll-cue{position:absolute; left:50%; bottom:28px; z-index:2; display:flex; color:var(--faint); background:transparent;
    border:0; padding:0; line-height:0; text-decoration:none; transform:translateX(-50%); transition:color .18s ease, opacity .35s ease}
  .scroll-cue svg{width:22px; height:22px; display:block}
  .js:not(.reduce) .scroll-cue{animation:bob 2.8s ease-in-out infinite}
  @keyframes bob{0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)}}
  .scroll-cue.is-gone{opacity:0; visibility:hidden; pointer-events:none; animation:none}

  .sxcard{position:relative}
  .sxcard::before,.sxcard::after{content:""; position:absolute; width:0; height:0; box-sizing:border-box; pointer-events:none; z-index:2;
    border:0 solid var(--accent); transition:width .2s ease .2s, height .2s ease}
  .sxcard::before{top:-1px; left:-1px}
  .sxcard::after{right:-1px; bottom:-1px}
  .sxcard.is-drawn::before,.sxcard:hover::before,.sxcard:focus-within::before{
    width:calc(100% + 2px); height:calc(100% + 2px); border-top-width:1px; border-right-width:1px;
    transition:width .2s ease, height .2s ease .2s}
  .sxcard.is-drawn::after,.sxcard:hover::after,.sxcard:focus-within::after{
    width:calc(100% + 2px); height:calc(100% + 2px); border-bottom-width:1px; border-left-width:1px;
    transition:width .2s ease, height .2s ease .2s}

  .head{margin-bottom:48px}
  .imp-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--gridline); border:1px solid var(--gridline)}
  .imp-cell{background:var(--bg); padding:26px 22px; min-width:0}
  .imp-role{font-weight:700; font-size:13px; letter-spacing:.08em; color:var(--accent); margin-bottom:14px}
  .imp-area{font-weight:700; font-size:22px; letter-spacing:-.01em; margin:0 0 10px}
  .imp-body{font-size:14.5px; line-height:1.6; color:var(--muted); margin:0}
  .imp-tags{margin:12px 0 0; padding:0; list-style:none; font-size:15px; line-height:1.6; color:#fff}
  html[data-theme="light"] .imp-tags{color:var(--fg)}
  .imp-tags li{position:relative; margin:0; padding:0 0 0 0.95em; white-space:nowrap}
  .imp-tags li::before{content:""; position:absolute; left:0; top:0.55em; width:0.38em; height:0.38em; background:var(--accent)}
  .imp-tags li:hover{color:var(--accent)}
  .imp-short{display:none}

  .exp-wall{display:grid; grid-template-columns:repeat(4, 1fr); border-top:1px solid var(--rule); border-left:1px solid var(--line)}
  .exp-cell{padding:18px 20px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
    display:flex; align-items:baseline; justify-content:space-between; gap:10px; background:var(--bg); min-width:0}
  .exp-name{font-size:16px; font-weight:600; letter-spacing:-.01em}
  .exp-sector{font-size:10.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); text-align:right}

  .prose p{font-size:17px; line-height:1.7; color:var(--fg); max-width:46rem}
  .prose p + p{margin-top:16px}
  .prose a{text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--chip-line)}

  .role-list{border-top:1px solid var(--rule)}
  .role-more{margin:0; padding:22px 20px 4px}
  .role-more a{color:var(--fg); font-size:15px; font-weight:600; text-decoration:none; transition:color .18s ease}
  @media (min-width:561px){.role-more{padding-left:188px}}
  .role-row{display:grid; grid-template-columns:140px minmax(0,1fr); gap:28px; padding:28px 20px; border-bottom:1px solid var(--line); background:var(--bg)}
  .role-year{font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--faint); padding-top:6px}
  .role-co{font-weight:700; font-size:23px; letter-spacing:-.015em; color:var(--fg)}
  a.role-co{text-decoration:none}
  .role-ttl{display:block; margin-top:4px; font-size:15px; color:var(--muted)}
  .role-d{margin:8px 0 0; font-size:15px; line-height:1.6; color:var(--muted); max-width:46rem}

  .contact{padding:88px var(--gutter); border-bottom:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:72px; background:var(--bg)}
  .contact-eyebrow{font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin:0 0 28px}
  .contact h2{font-weight:700; font-size:50px; line-height:1.02; letter-spacing:-.03em; margin:0 0 24px; text-wrap:balance}
  .contact-intro{font-size:17px; line-height:1.6; color:var(--muted); max-width:460px; margin:0}
  .contact-links{display:flex; flex-direction:column; align-items:flex-start; gap:24px; margin:28px 0 0}
  .contact-links a{position:relative; display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 2px;
    color:var(--fg); background:transparent; border:0; font-size:15px; font-weight:600; line-height:1.2; text-decoration:none; white-space:nowrap}
  .contact-links .mark,.contact-links .go{width:18px; height:18px; flex:none; display:block}
  .contact-links a::after{content:""; position:absolute; left:0; right:0; bottom:6px; height:1px; background:var(--accent);
    transform:scaleX(0); transform-origin:0 50%; transition:transform .25s ease}
  .contact-links a:hover::after,.contact-links a:focus-visible::after{transform:scaleX(1)}
  .contact-links a:hover .mark,.contact-links a:hover .go,
  .contact-links a:focus-visible .mark,.contact-links a:focus-visible .go{color:var(--accent)}
  @media (max-width:380px){
    .contact-links{flex-direction:row; align-items:center}
    .contact-links .url,.contact-links .go{display:none}
    .contact-links a{width:44px; height:44px; justify-content:center; padding:0}
  }
  .contact-card{border:1px solid var(--line); padding:36px; background:var(--bg)}
  .contact-card-h{font-size:18px; font-weight:700; margin:0 0 6px}
  .contact-card-sub{font-size:13.5px; line-height:1.5; color:var(--muted); margin:0 0 26px}
  .contact-form{position:relative}
  .cf-row{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-bottom:22px}
  .cf-field{display:flex; flex-direction:column; min-width:0; margin-bottom:22px}
  .cf-row .cf-field{margin-bottom:0}
  .cf-field label{display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:13px; font-weight:600; color:var(--faint); margin-bottom:8px}
  .cf-field input,.cf-field textarea,.cf-field select{background:transparent; border:0; border-bottom:1px solid var(--chip-line); border-radius:0;
    color:var(--fg); font-family:inherit; font-size:15px; padding:6px 0; outline:none; width:100%}
  .cf-field textarea{resize:vertical; min-height:60px; line-height:1.5}
  .cf-field input:focus,.cf-field textarea:focus,.cf-field select:focus{border-bottom-color:var(--accent)}
  .cf-phone{display:grid; grid-template-columns:108px 1fr; gap:16px}
  .cf-phone select,.cf-phone input{min-width:0}
  .cf-send{width:100%; margin-top:8px; display:flex; align-items:center; justify-content:center; gap:8px; background:var(--accent-btn);
    color:var(--on-accent); border:0; padding:14px; font-family:inherit; font-size:14px; font-weight:600; cursor:pointer}
  .cf-send svg{width:18px; height:18px; display:block}
  .cf-send:hover{filter:brightness(1.08)}
  .cf-send:disabled{opacity:.45; cursor:default; filter:none}
  .cf-status{display:block; font-size:13px; margin:16px 0 0; min-height:1em; color:var(--muted)}
  .cf-status.success{color:var(--accent)}
  .cf-status.error{color:#c0392b}
  .cf-count{font-size:11px; font-weight:600; color:var(--faint); font-variant-numeric:tabular-nums}
  .cf-count.over{color:#c0392b}
  .cf-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

  footer{padding:30px var(--gutter); background:var(--foot-bg); border-top:1px solid var(--line)}
  .footer-inner{display:flex; justify-content:space-between; align-items:center; gap:16px}
  .footer-name{font-size:16px; font-weight:700; letter-spacing:.04em; text-transform:uppercase}
  .footer-right{font-size:13px; font-weight:600; color:var(--foot-fg)}

  @media (hover:hover) and (pointer:fine){
    .btn-secondary:hover,.imp-cell:hover,.exp-cell:hover,.role-row:hover,
    .nav.open .nav-link:not(.nav-cta):hover{background:var(--hover)}
    .imp-cell:hover .imp-area,.exp-cell:hover .exp-sector,.role-row:hover .role-co,.prose a:hover,
    .sec-intro a:hover,.role-more a:hover{color:var(--accent)}
    .mast-menu:hover,.theme-btn:hover,.burger:hover,.scroll-cue:hover{color:var(--accent); background:transparent}
    .hero-actions .connect:hover{filter:brightness(1.08)}
    .hero-actions .caps:hover{background:var(--hover)}
  }
  .imp-cell.is-drawn,.exp-cell.is-drawn,.role-row.is-drawn{background:var(--hover)}
  .imp-cell.is-drawn .imp-area,.exp-cell.is-drawn .exp-sector,.role-row.is-drawn .role-co{color:var(--accent)}
  @media (hover:none), (pointer:coarse){
    .btn-secondary:active,.imp-cell:active,.exp-cell:active,.role-row:active{background:var(--hover)}
  }

  @media (max-width:1100px){
    .hero-sub{font-size:18px}
    .hero-lead{font-size:17px}
    .exp-wall{grid-template-columns:repeat(2, 1fr)}
  }
  @media (max-width:900px){
    .mast-row,.sec,.hero,.contact,footer{padding-left:28px; padding-right:28px}
    .rail{grid-template-columns:1fr; gap:16px}
    .rail-label{padding-top:0}
    .imp-grid,.exp-wall{grid-template-columns:1fr}
    .contact{grid-template-columns:1fr; gap:40px}
    .sec-h2{font-size:36px}
    .contact h2{font-size:36px}
    .footer-inner{flex-direction:column; align-items:flex-start; gap:14px}
  }
  @media (max-width:560px){
    .cf-row,.cf-phone{grid-template-columns:1fr; gap:0}
    .cf-phone .cf-field,.cf-row .cf-field{margin-bottom:22px}
    .role-row{grid-template-columns:1fr; gap:6px}
    .hero h1{font-size:32px}
    .hero-sub{font-size:16px}
    .imp-area,.imp-tags li{position:relative}
    .imp-full{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
      clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0}
    .imp-short{display:inline}
  }
  @media (max-width:940px){
    .imp-grid{grid-template-columns:1fr}
  }
  @media (min-width:941px) and (max-width:1149px){
    .imp-tags .imp-full{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
      clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0}
    .imp-tags .imp-short{display:inline}
  }
  @media (max-width:760px){
    .hero{box-sizing:border-box; height:calc(100vh - 55px); height:calc(100dvh - 55px); height:calc(100svh - 55px);
      min-height:0; padding-top:36px; padding-bottom:36px; justify-content:center}
    .hero-grid{min-height:0}
    .hero-sub{margin-top:12px}
    .hero-lead{margin:12px 0 16px}
    .scroll-cue{bottom:10px}
  }
  @media (max-width:760px) and (max-height:580px){
    .hero{padding-top:32px; padding-bottom:32px}
    .hero-sub{margin-top:8px}
    .hero-lead{margin:8px 0 12px; font-size:15px; line-height:1.45}
  }

  .js:not(.reduce) .hero h1,
  .js:not(.reduce) .hero-sub,
  .js:not(.reduce) .hero-lead,
  .js:not(.reduce) .hero-actions{opacity:0; transform:translateY(10px); animation:rise .55s cubic-bezier(0.22,1,0.36,1) forwards}
  .js:not(.reduce) .hero-sub{animation-delay:.08s}
  .js:not(.reduce) .hero-lead{animation-delay:.16s}
  .js:not(.reduce) .hero-actions{animation-delay:.24s}
  @keyframes rise{to{opacity:1; transform:none}}
  .js:not(.reduce) .reveal{opacity:0; transform:translateY(10px);
    transition:opacity .55s cubic-bezier(0.22,1,0.36,1), transform .55s cubic-bezier(0.22,1,0.36,1), background-color .25s ease}
  .js:not(.reduce) .reveal.in{opacity:1; transform:none}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{animation-duration:.01ms !important; transition-duration:.01ms !important}
    .hero h1,.hero-sub,.hero-lead,.hero-actions,.reveal{opacity:1 !important; transform:none !important; animation:none !important}
    .hero-rot-w{animation:none !important; transform:none !important}
    .hero-rot-w--si{display:none}
    .mast-name .cursor,.scroll-cue{animation:none !important}
    .sxcard::before,.sxcard::after{display:none}
  }
