:root:has([data-af-header-v2]) {
  --artefactum-purple: #5c3473;
  --artefactum-purple-dark: #3d184e;
  --artefactum-purple-light: #f8f5fb;
  --header-height: 88px;
  --header-height-sticky: 68px;
  --header-bg: rgba(255, 255, 255, .97);
  --header-shadow: 0 8px 28px rgba(61, 24, 78, .08);
  --af-live-topbar-height: 0px;
  --af-live-header-height: var(--header-height);
  scroll-padding-top: calc(var(--af-live-header-height) + 20px);
}
.af-hv2-reserve { height: var(--header-height); grid-area: header; width: 100%; }
.af-header-v2-page .site-grid { margin-top: 0 !important; }
.af-header-v2 {
  position: fixed; inset: 0 0 auto; width: 100%; z-index: 10000;
  background: var(--header-bg); border-bottom: 1px solid #eee8f2;
  color: #271036; font: 400 15px/1.45 "Raleway", Arial, sans-serif;
  letter-spacing: 0; box-shadow: none;
}
.af-header-v2 *, .af-header-v2 *::before, .af-header-v2 *::after { box-sizing: border-box; letter-spacing: 0; }
.af-header-v2 :is(a, button, input, h2, p, ul, li, span, strong, small) {
  font-family: "Raleway", Arial, sans-serif; text-shadow: none; letter-spacing: 0;
}
.af-header-v2 a { color: #271036; text-decoration: none; }
.af-header-v2 a:is(:hover, :focus, :focus-visible, :active) { text-decoration: none !important; }
.af-header-v2 button { color: #271036; cursor: pointer; border: 0; font-size: 15px; background: transparent; }
.af-header-v2 [hidden], .af-hv2__backdrop[hidden] { display: none !important; }
.af-header-v2 :is(a, button, input):focus-visible { outline: 2px solid var(--artefactum-purple); outline-offset: 4px; }
.af-header-v2 .fas, .af-header-v2 .fas::before { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.af-hv2__bar {
  width: calc(100% - 64px); max-width: 1390px; margin: 0 auto; min-width: 0;
  height: var(--header-height); display: flex; align-items: center; gap: 32px;
  transition: height .18s ease;
}
.af-header-v2.is-scrolled { box-shadow: var(--header-shadow); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.af-header-v2.is-scrolled .af-hv2__bar { height: var(--header-height-sticky); }
.af-hv2__logo { display: flex; align-items: center; flex: 0 0 208px; min-height: 44px; }
.af-hv2__logo img { display: block; width: 208px; height: 54px; max-width: 100%; object-fit: contain; transition: width .18s ease; }
.af-header-v2.is-scrolled .af-hv2__logo img { width: 182px; }
.af-hv2__desktop { margin-left: auto; }
.af-hv2__nav-list { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.af-hv2__nav-item { display: flex; align-items: center; }
.af-hv2__nav-link { min-height: 54px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding-bottom: 6px; position: relative; white-space: nowrap; font-size: 15px; font-weight: 500; }
.af-header-v2 .af-hv2__nav-icon { display: block; width: auto; height: 20px; max-width: 40px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; transition: transform .2s ease; }
.af-header-v2 .af-hv2__nav-icon:is([src*="nav-cosvention"], [src*="nav-fasttrack"]) { height: 22px; }
.af-hv2__nav-link:is(:hover, :focus-visible) .af-hv2__nav-icon { transform: translateY(-1px) scale(1.04); }
.af-hv2__nav-link::after { content: ""; position: absolute; bottom: 4px; inset-inline: 0; height: 2px; background: var(--artefactum-purple); opacity: 0; transform: scaleX(0); transition: transform .15s ease, opacity .15s ease; }
.af-hv2__nav-link:is(:hover, [aria-current]) { color: var(--artefactum-purple); }
.af-hv2__nav-link:is(:hover, :focus-visible)::after { opacity: 1; transform: scaleX(1); }
.af-header-v2 .af-hv2__disclosure { width: 24px; min-height: 44px; padding: 0; font-size: 9px; margin-inline-start: 2px; }
.af-hv2__tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.af-header-v2 .af-hv2__icon-button { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; border-radius: 50%; font-size: 20px; }
.af-header-v2 .af-hv2__icon-button:hover { background: var(--artefactum-purple-light); }
.af-header-v2 .af-hv2__cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; border-radius: 30px; background: var(--artefactum-purple); color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
.af-hv2__cta .fas { transition: transform .15s ease; }
.af-header-v2 .af-hv2__cta:hover { background: var(--artefactum-purple-dark); }
.af-hv2__cta:hover .fas { transform: translateX(3px); }
.af-hv2__language { position: relative; }
.af-header-v2 .af-hv2__language-button { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 6px; font-size: 14px; }
.af-hv2__language-button .fa-globe { font-size: 20px; }
.af-hv2__language-button .fa-chevron-down { font-size: 9px; }
.af-header-v2 .af-hv2__tools > [data-hv2-toggle="search"],
.af-header-v2 .af-hv2__language-button { color: var(--artefactum-purple-dark); }
.af-header-v2 .af-hv2__tools > [data-hv2-toggle="search"]:is(:hover, :focus-visible),
.af-header-v2 .af-hv2__language-button:is(:hover, :focus-visible) { color: var(--artefactum-purple); }
.af-hv2__panel { background: #fff; box-shadow: var(--header-shadow); border: 1px solid #e7dfed; }
.af-hv2__language-panel { position: absolute; inset: calc(100% + 12px) 0 auto auto; min-width: 180px; padding: 8px; border-radius: 8px; }
.af-hv2__language-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 12px; font-size: 14px; }
.af-hv2__language-panel a:hover { background: var(--artefactum-purple-light); }
.af-hv2__language-panel [aria-current] { color: var(--artefactum-purple); font-weight: 600; }
.af-hv2__mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: calc(100% - 64px); max-width: 1390px; padding: 16px 28px; border-radius: 0 0 8px 8px; display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.5fr); gap: 32px; }
.af-header-v2 .af-hv2__mega { background: #fcfafd; }
.af-hv2__mega-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 24px 0 8px; border-right: 1px solid #e7dfed; }
.af-hv2__mega-intro img { display: block; width: 240px; height: auto; max-width: 100%; aspect-ratio: 1; object-fit: contain; flex-shrink: 0; }
.af-hv2__mega-intro > div { max-width: 320px; }
.af-hv2__mega-intro p { font-size: 14px; line-height: 1.5; margin: 0 0 4px; color: #675b70; }
.af-hv2__mega-intro a { font-size: 14px; color: var(--artefactum-purple); font-weight: 600; }
.af-hv2__aw-intro { justify-content: center; }
.af-hv2__aw-intro .af-hv2__aw-visual { width: 164px; height: 164px; object-fit: contain; }
.af-hv2__aw-intro h2 { font-size: 24px; font-weight: 500; line-height: 1.2; margin: 0 0 12px; }
.af-hv2__mega--actives-world { max-height: calc(100dvh - var(--af-live-header-height) - 20px); overflow-y: auto; }
.af-hv2__mega-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; list-style: none; margin: 0; padding: 0; gap: 8px 20px; }
.af-hv2__mega-links a { display: flex; align-items: center; gap: 15px; min-height: 80px; padding: 12px; border-radius: 6px; }
.af-hv2__mega-links a:hover { background: var(--artefactum-purple-light); }
.af-hv2__mega-links a > .fas:first-child { font-size: 22px; color: var(--artefactum-purple); width: 28px; flex-shrink: 0; text-align: center; }
.af-header-v2 .af-hv2__mega-icon { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; mix-blend-mode: multiply; }
.af-hv2__mega-links a > span { min-width: 0; }
.af-hv2__mega-links a > .fas:last-child { margin-left: auto; font-size: 12px; }
.af-hv2__mega-links strong { display: block; font-size: 14px; font-weight: 600; }
.af-hv2__mega-links small { display: block; font-size: 12px; line-height: 1.5; color: #675b70; margin-top: 4px; }
.af-hv2__search { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: 48px max(32px, calc((100% - 1120px)/2)) 56px; }
.af-hv2__search h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin: 0 60px 28px 0; }
.af-hv2__search-field { display: flex; align-items: center; border: 1px solid #9e83b0; border-radius: 30px; padding: 6px 8px 6px 22px; gap: 14px; }
.af-hv2__search-field > .fas { font-size: 20px; color: var(--artefactum-purple); }
.af-header-v2 .af-hv2__search-field input { flex: 1; min-width: 0; height: 44px; font-size: 16px; border: 0; background: transparent; color: #271036; padding: 0; border-radius: 0; box-shadow: none; }
.af-hv2__search-field input::placeholder { color: #716379; opacity: 1; }
.af-header-v2 .af-hv2__close { position: absolute; right: 24px; top: 18px; }
.af-hv2__topics-title { font-size: 13px; font-weight: 600; margin: 26px 0 12px; }
.af-hv2__topics { display: flex; flex-wrap: wrap; gap: 9px; }
.af-header-v2 .af-hv2__topics button { min-height: 40px; font-size: 13px; border: 1px solid #e1d5e9; border-radius: 24px; padding: 8px 15px; color: var(--artefactum-purple); }
.af-hv2__topics button:hover { background: var(--artefactum-purple-light); }
.af-hv2__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.af-hv2__backdrop { position: fixed; inset: 0; z-index: 9999; background: rgba(39,16,54,.16); }
.af-header-v2 .af-hv2__mobile-toggle { display: none; }
.af-hv2__mobile { position: absolute; top: 100%; left: 0; width: 100%; height: calc(100dvh - var(--af-live-header-height)); overflow-y: auto; padding: 52px 24px 24px; display: flex; flex-direction: column; overscroll-behavior: contain; }
.af-hv2__mobile-list { list-style: none; padding: 0; margin: 0; }
.af-hv2__mobile-row { display: flex; align-items: center; border-bottom: 1px solid #eee8f2; }
.af-hv2__mobile-row > a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 15px 0; font-size: 18px; }
.af-header-v2 .af-hv2__mobile-row .af-hv2__nav-icon { width: 26px; height: 22px; max-width: 26px; }
.af-hv2__mobile-row [aria-current] { color: var(--artefactum-purple); font-weight: 600; }
.af-hv2__mobile-sub { list-style: none; padding: 6px 0 12px 18px; margin: 0; }
.af-hv2__mobile-sub a { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 12px 0; }
.af-header-v2 .af-hv2__mobile-sub .af-hv2__mega-icon { width: 32px; height: 32px; flex-basis: 32px; }
.af-hv2__mobile-bottom { margin-top: auto; padding-top: 24px; }
.af-hv2__mobile-languages { display: flex; gap: 24px; padding-bottom: 20px; }
.af-hv2__mobile-languages a { min-height: 44px; display: inline-flex; gap: 12px; align-items: center; font-size: 14px; }
.af-hv2__mobile-languages [aria-current] { color: var(--artefactum-purple); }
.af-hv2__mobile-bottom .af-hv2__cta { width: 100%; }
body.af-hv2-modal-open { overflow: hidden !important; }
@media (max-width: 1439px) and (min-width: 1024px) {
  .af-hv2__bar { gap: 20px; width: calc(100% - 40px); }
  .af-hv2__logo { flex-basis: 174px; }
  .af-hv2__logo img { width: 174px; }
  .af-hv2__nav-list { gap: 18px; }
  .af-hv2__nav-link { font-size: 14px; }
  .af-hv2__tools { gap: 6px; }
  .af-header-v2 .af-hv2__cta { padding: 0 18px; gap: 12px; font-size: 13px; }
}
@media (max-width: 1199px) and (min-width: 1024px) {
  .af-hv2__bar { gap: 12px; }
  .af-hv2__logo { flex-basis: 152px; }
  .af-hv2__logo img { width: 152px; }
  .af-hv2__nav-list { gap: 13px; }
  .af-hv2__nav-link { font-size: 13px; }
  .af-header-v2 .af-hv2__cta { padding: 0 14px; gap: 9px; }
}
@media (max-width: 1199px) {
  :root:has([data-af-header-v2]) { --header-height: 76px; --header-height-sticky: 68px; }
  .af-hv2__desktop, .af-hv2__desktop-cta { display: none; }
  .af-header-v2 .af-hv2__mobile-toggle { display: inline-flex; }
  .af-hv2__bar { width: calc(100% - 40px); gap: 12px; }
  .af-hv2__logo { flex: 1 1 auto; }
  .af-hv2__logo img { width: 190px; }
  .af-hv2__tools { gap: 8px; }
  .af-hv2__search { padding: 42px 24px 36px; }
}
@media (max-width: 599px) {
  :root:has([data-af-header-v2]) { --header-height: 68px; --header-height-sticky: 64px; }
  .af-hv2__bar { width: calc(100% - 24px); gap: 4px; }
  .af-hv2__logo img, .af-header-v2.is-scrolled .af-hv2__logo img { width: 142px; height: 42px; }
  .af-hv2__tools { gap: 0; }
  .af-header-v2 .af-hv2__language-button { gap: 5px; padding: 0 4px; font-size: 12px; }
  .af-hv2__language-button .fa-globe { font-size: 18px; }
  .af-hv2__language-button .fa-chevron-down { display: none; }
  .af-hv2__search { padding: 60px 18px 32px; }
  .af-hv2__search h2 { font-size: 26px; margin-right: 0; }
  .af-hv2__search-field { padding-left: 14px; gap: 9px; }
  .af-hv2__search-field > .fas { display: none; }
  .af-header-v2 .af-hv2__search-field input { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .af-header-v2 *, .af-header-v2 *::after { transition: none !important; }
  .af-hv2__nav-link:is(:hover, :focus-visible) .af-hv2__nav-icon { transform: none; }
}
