@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{font-family:"Site Menu Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Site Menu Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url('/assets/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+2191,U+2193,U+2212}
html{scroll-padding-top:94px}
body.has-shared-menu{padding-top:76px;min-width:0}
body.has-shared-menu[data-menu-layout=overlay]{padding-top:0}
body.shared-menu-open{overflow:hidden!important}
#hdr.unified-header{position:fixed;inset:0 0 auto;z-index:1000;width:100%;height:76px;margin:0;padding:0;border:0;border-bottom:1px solid #ffffff18;background:#051019;color:#f3f4f6;box-shadow:none;font-family:"Site Menu Sans",Manrope,Arial,sans-serif;font-size:15px;font-weight:700;line-height:1.4;letter-spacing:-.01em;transform:none;isolation:isolate}
#hdr.unified-header *{box-sizing:border-box}
#hdr .unified-header__inner{height:100%;width:min(1320px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
#hdr a{color:inherit;text-decoration:none;border:0;box-shadow:none;opacity:1}
#hdr .unified-header__brand{display:block;flex:0 0 auto;font-family:"PT Serif",Georgia,serif;font-size:25px;font-weight:700;line-height:1.5;letter-spacing:1px;white-space:nowrap}
#hdr .unified-header__nav{display:flex;position:static;align-items:center;justify-content:flex-end;gap:clamp(16px,2vw,28px);width:auto;max-width:none;height:auto;min-height:0;margin:0;padding:0;background:transparent;box-shadow:none;transform:none}
#hdr .unified-header__nav>a,#hdr .unified-header__group>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:0;padding:6px 0;font:inherit;color:inherit;cursor:pointer;white-space:nowrap;list-style:none;border:0;background:none}
#hdr .unified-header__group{display:block;position:relative;margin:0;padding:0;border:0;font:inherit}
#hdr .unified-header__group>summary::-webkit-details-marker{display:none}
#hdr .unified-header__group>summary::after,#hdr a::after{display:none}
#hdr .unified-header__group>summary svg{display:block;flex-shrink:0;transition:transform .2s}
#hdr .unified-header__group[open]>summary svg{transform:rotate(180deg)}
#hdr .unified-header__dropdown{position:absolute;top:100%;right:0;min-width:270px;padding:8px;border:1px solid #ffffff24;border-radius:12px;background:#0f1d28;box-shadow:0 14px 38px #0004;color:#f3f4f6}
#hdr .unified-header__dropdown a{display:flex;align-items:center;min-height:44px;margin:0;padding:10px 12px;border-radius:7px;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}
#hdr .unified-header__nav>a:hover,#hdr summary:hover{color:#fff}
#hdr .unified-header__dropdown a:hover{background:#ffffff12}
#hdr a:focus-visible,#hdr summary:focus-visible,#hdr button:focus-visible{outline:2px solid #fc4c01;outline-offset:3px}
#hdr .unified-header__toggle{display:none;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:6px;background:none;color:inherit;cursor:pointer}
body[data-menu-page=book] .site-hdr{position:sticky;top:76px;z-index:40}
body[data-menu-page=book] .layout{margin-top:0}
body[data-menu-page=book] .sidebar{top:132px!important;height:calc(100dvh - 132px)!important}
body[data-menu-page=book] .burger{top:140px}
body[data-menu-page=pdf] .pdf-hdr{position:sticky;top:76px;z-index:40}
body[data-menu-page=pdf] .pdf-pages{padding-top:24px}
body[data-menu-page=timing] #topbar{top:76px}
body[data-menu-page=consulting] .sidebar{top:76px;height:calc(100dvh - 76px)}
body[data-menu-page=consulting] .hamburger{top:84px}
body.has-shared-menu [id]{scroll-margin-top:94px}
#hdr [id]{scroll-margin-top:0}
@media(max-width:1100px){
 #hdr .unified-header__inner{width:calc(100% - 32px);gap:12px}
 #hdr .unified-header__toggle{display:flex}
 #hdr .unified-header__nav{display:none;position:fixed;inset:76px 0 0;width:100%;height:calc(100dvh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;padding:24px max(20px,calc((100vw - 520px)/2));background:#051019}
 #hdr[data-menu-open=true] .unified-header__nav{display:flex}
 #hdr .unified-header__nav>a,#hdr .unified-header__group>summary{justify-content:space-between;white-space:normal;font-size:15px;min-height:48px;text-align:left}
 #hdr .unified-header__group>summary>a{flex:1;padding-block:10px}
 #hdr .unified-header__group>summary svg{width:18px;height:18px}
 #hdr .unified-header__dropdown{position:static;width:100%;min-width:0;margin:2px 0 8px;box-shadow:none}
 #hdr .unified-header__dropdown a{white-space:normal}
}
@media(prefers-reduced-motion:reduce){#hdr svg{transition:none!important}}
@media print{#hdr.unified-header{display:none!important}body.has-shared-menu{padding-top:0!important}body[data-menu-page=book] .site-hdr,body[data-menu-page=pdf] .pdf-hdr{display:none!important}body[data-menu-page=book] .sidebar{top:0!important}}

body[data-menu-page=book] [id]{scroll-margin-top:152px}
@media(max-width:374px){
 body.has-shared-menu[data-menu-layout=overlay] .contact__grid{grid-template-columns:minmax(0,1fr)}
 body.has-shared-menu[data-menu-layout=overlay] .contact__copy,body.has-shared-menu[data-menu-layout=overlay] .contact__photo{min-width:0;max-width:100%}
 body.has-shared-menu[data-menu-layout=overlay] .contact__copy{padding-inline:24px}
 body.has-shared-menu[data-menu-layout=overlay] .contact h2{font-size:60px}
 body[data-menu-page=consulting] .srow{flex-wrap:wrap}
 body[data-menu-page=consulting] .srow .st{min-width:calc(100% - 50px)}
 body[data-menu-page=consulting] .srow .bub{margin-left:auto}
}

/* One consistent hierarchy for upcoming events and the forum archive. */
#hdr .unified-header__group>summary{padding-block:0}
#hdr .unified-header__caret{display:flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-8px}
#hdr .unified-header__group>summary{gap:0}
#hdr .unified-header__dropdown{border-color:#ffffff1f;border-radius:16px;padding:8px;box-shadow:0 18px 46px #0005}
#hdr .unified-header__dropdown--events{width:380px;max-width:calc(100vw - 32px);padding:12px}
#hdr .unified-header__dropdown--events .menu-events-overview{justify-content:space-between;gap:12px;padding:10px 12px;font-size:14px;font-weight:700;color:#f3f4f6}
#hdr .menu-events-overview>span{color:#fc4c01;font-size:19px}
#hdr .menu-events-upcoming{display:grid;gap:7px;margin:6px 0 12px}
#hdr .unified-header__dropdown--events .menu-event{flex-direction:column;align-items:flex-start;gap:4px;min-height:68px;padding:12px 14px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff05;white-space:normal}
#hdr .unified-header__dropdown--events .menu-event:hover{background:#ffffff0d;border-color:#fc4c0177}
#hdr .menu-event__date{font-size:12px;font-weight:500;line-height:1.4;letter-spacing:0;color:#b5c0c8}
#hdr .menu-event__title{font-size:15px;font-weight:700;line-height:1.4;color:#f3f4f6}
#hdr .menu-events-archive{padding-top:12px;border-top:1px solid #ffffff1c}
#hdr .menu-events-caption{margin:0 12px 4px;color:#aab6c0;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.09em;text-transform:uppercase}
#hdr .unified-header__dropdown--events .menu-event-archive{font-size:14px;white-space:normal}
#hdr .menu-events-resources{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:3px}
#hdr .unified-header__dropdown--events .menu-events-resources a{justify-content:center;min-width:0;padding:10px 8px;font-size:12px;text-align:center;white-space:normal;color:#bdc7ce;background:#ffffff05}
#hdr .unified-header__dropdown--events .menu-events-resources a:hover{background:#ffffff10;color:#fff}
#hdr .unified-header__toggle:hover{background:#ffffff0b}
@media(max-width:1100px){
 #hdr .unified-header__dropdown--events{width:100%;max-width:none;padding:10px;margin-bottom:12px}
 #hdr .unified-header__caret{margin-right:0}
 #hdr .unified-header__dropdown--events .menu-events-overview{white-space:normal;line-height:1.4}
}
@media(max-width:360px){#hdr .menu-events-resources{grid-template-columns:1fr}#hdr .unified-header__dropdown--events .menu-events-resources a{justify-content:flex-start;text-align:left;padding-inline:12px}}

/* Orange selection follows navigation across pages and anchors. */
#hdr .unified-header__nav>a:hover,#hdr .unified-header__nav>a.is-active,#hdr .unified-header__group>summary:hover,#hdr .unified-header__group.has-active>summary,#hdr .unified-header__group[open]>summary{box-shadow:inset 0 -2px #fc4c01}
#hdr .unified-header__dropdown a.is-active{text-decoration:underline;text-decoration-color:#fc4c01;text-decoration-thickness:2px;text-underline-offset:5px}

@media(max-width:900px){body[data-menu-page=consulting] .hamburger,body[data-menu-page=book] .burger{width:auto;min-width:132px;min-height:44px;height:44px;padding:0 13px;gap:10px;border:1px solid #ffffff38;box-shadow:0 3px 12px #0002}body[data-menu-page=consulting] .hamburger b,body[data-menu-page=book] .burger b{font-family:Arial,sans-serif;font-size:13px;font-weight:600;letter-spacing:0;line-height:1}body[data-menu-page=consulting] .hamburger>span{font-size:20px;line-height:1}}
@media(max-width:600px){body[data-menu-page=consulting] .hero h1{font-size:clamp(30px,9vw,48px);line-height:1.3;letter-spacing:.015em;overflow-wrap:normal}body[data-menu-page=consulting] .hero .wrap{min-width:0}}
