@media (width < 768px) {
  :is(:root, #om1#om2#om3#om4#om5) {
    --om-paper: #f6f1ea;
    --om-ink: #203039;
    --om-ink-soft: #4f6570;
    --om-accent: #6b2b2d;
    --om-press: #e8d8ca;
    --om-line: #d8cbbd;
    --om-type: clamp(26px, 7.2vw, 28px);
    --om-row: 8px;
    --om-bar: calc(60px + max(4px, env(safe-area-inset-top)));
    --om-ease: cubic-bezier(.2, .7, .2, 1);
    --om-rise: cubic-bezier(.22, .9, .24, 1);

    /* ---------- the header stays; the dimmed layer covers it, apart from the X ---------- */
    #site-header:is(:has(#main-nav.open), .om-leaving) {
      background: transparent !important; border-color: transparent !important; box-shadow: none !important;
      -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
      translate: none !important; transform: none !important; filter: none !important;
    }
    #site-header:is(:has(#main-nav.open), .om-leaving) .asy-header-lang { position: relative; z-index: 1 !important; }
    #site-header:has(#main-nav.open) .asy-header-lang { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
    #site-header:is(:has(#main-nav.open), .om-leaving) #menu-toggle span { background: #f6f1ea !important; }
    #site-header:has(#main-nav.open) #menu-toggle:focus-visible { outline: 2px solid #f6f1ea !important; outline-offset: -3px !important; box-shadow: none !important; }
    #site-header:is(:has(#main-nav.open), .om-leaving)::after { content: none !important; }
    /* under the dimmed layer the header shows only the X: the live open state would switch the logo to its dark version,
       which reads as a fault over a dark hero, so the logo steps back with the page and returns when the sheet closes */
    #site-header:is(:has(#main-nav.open), .om-leaving) .asy-logo { transition: opacity .22s ease; }
    #site-header:has(#main-nav.open) .asy-logo { opacity: 0; }

    .om-scrim { display: none; }
    #site-header:is(:has(#main-nav.open), .om-leaving) .om-scrim {
      display: block; position: fixed; inset: 0; z-index: 104;
      background: rgba(12, 18, 22, .6); opacity: var(--om-scrim, 1);
      transition: opacity .22s ease;
      touch-action: none; -webkit-tap-highlight-color: transparent;
    }
    #site-header.om-leaving .om-scrim { pointer-events: none; }

    /* ---------- the sheet ---------- */
    #site-header #main-nav.open, #site-header.om-leaving #main-nav {
      position: fixed !important; inset: auto 0 0 0 !important; top: auto !important; z-index: 105 !important;
      width: 100% !important; max-width: none !important; height: auto !important; max-height: calc(100dvh - var(--om-bar) - 8px) !important;
      display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: flex-start !important;
      gap: 0 !important;
      padding: 0 max(24px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)) !important;
      overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
      background: var(--om-paper) !important; color: var(--om-ink);
      border: 0 !important; border-radius: 16px 16px 0 0 !important;
      box-shadow: 0 -1px 0 rgba(255, 255, 255, .6) inset, 0 -16px 48px rgba(8, 14, 18, .28) !important;
      transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    }
    #site-header #main-nav.om-dragging { transition: none !important; }
    #site-header.om-leaving #main-nav { pointer-events: none; }
    #site-header #main-nav :is(.om-brand, .om-sky, .om-address) { display: none !important; }

    /* the handle: pull the sheet down to close it */
    #site-header #main-nav .om-grab {
      display: block; position: sticky; top: 0; z-index: 2; flex: none;
      height: 26px; margin: 0 -24px 2px; background: var(--om-paper);
      border-radius: 16px 16px 0 0;
      touch-action: none; cursor: grab;
    }
    #site-header #main-nav .om-grab::before {
      content: ''; position: absolute; left: 50%; top: 10px; width: 36px; height: 4px; margin-left: -18px;
      border-radius: 2px; background: #cdbfb0;
    }

    /* destinations */
    #site-header #main-nav .asy-nav-list {
      display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important;
      width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; gap: 0 !important;
      flex: none;
    }
    #site-header #main-nav .asy-nav-list > li {
      position: relative; width: 100%; margin: 0; padding: 0; border: 0 !important; list-style: none;
    }
    #site-header #main-nav .asy-nav-list > li > a {
      display: flex !important; align-items: center; position: relative;
      min-height: 48px; margin: 0 -12px !important; padding: var(--om-row) 12px !important;
      font: 500 var(--om-type)/1.1 var(--fx-serif-display, 'Cormorant Garamond', Georgia, serif) !important;
      letter-spacing: -.005em !important; text-transform: none !important; text-align: start !important;
      color: var(--om-ink) !important; background: transparent !important; border: 0 !important; border-radius: 6px;
      overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent;
      transition: color .24s ease 60ms;
    }
    #site-header #main-nav .asy-nav-list > li > a::before { content: none !important; display: none !important; }
    #site-header #main-nav .asy-nav-list > li > a::after { content: none !important; display: none !important; }
    #site-header #main-nav .asy-nav-list > li:is(.current-menu-item, .current_page_item) > a,
    #site-header #main-nav .asy-nav-list > li > a[aria-current="page"] {
      color: var(--om-accent) !important; background: transparent !important;
    }
    @media (hover: hover) {
      #site-header #main-nav .asy-nav-list > li > a:hover { color: var(--om-accent) !important; }
    }

    /* Contact: the one dark button, at the bottom where the thumb rests */
    #site-header #main-nav .asy-nav-list > li:last-child { margin-top: 12px; }
    #site-header #main-nav .asy-nav-list > li:last-child > a {
      justify-content: center; gap: 12px; min-height: 48px; margin: 0 !important; padding: 0 18px !important;
      font: 600 14px/1.2 var(--font-sans, Inter, sans-serif) !important; letter-spacing: .08em !important; text-transform: uppercase !important;
      color: #f6f1ea !important; background: #203039 !important; border-radius: 4px;
    }
    #site-header #main-nav .asy-nav-list > li:last-child > a::after {
      content: '\2192' !important; content: '\2192' / '' !important; display: inline-block !important; position: static !important;
      width: auto !important; height: auto !important; background: none !important; opacity: 1 !important; transform: none !important;
      font: 400 15px/1 var(--font-sans, Inter, sans-serif); letter-spacing: 0;
    }
    #site-header #main-nav .asy-nav-list > li:last-child > a:is([aria-current="page"]),
    #site-header #main-nav .asy-nav-list > li:last-child:is(.current-menu-item, .current_page_item) > a { background: #6b2b2d !important; color: #f6f1ea !important; }

    /* Legal Tech */
    #site-header #main-nav .asy-nav-list > li.menu-item-has-children > a { margin-inline-end: 32px !important; padding-inline-start: 12px !important; }
    &[data-asy-nav-ready] #site-header #main-nav .asy-sub-toggle {
      position: absolute; inset: 3px -16px auto auto;
      display: grid; place-items: center;
      width: 44px; height: 44px; padding: 0; margin: 0;
      color: var(--om-accent); background: transparent !important; border: 0 !important; border-radius: 0;
      -webkit-tap-highlight-color: transparent;
    }
    &[data-asy-nav-ready] #site-header #main-nav .asy-sub-toggle::before {
      content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.25px 1.25px 0;
      transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--om-ease);
    }
    &[data-asy-nav-ready] #site-header #main-nav .asy-sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
    #site-header #main-nav .sub-menu {
      position: static !important; display: block; inset: auto; transform: none !important; opacity: 1 !important; visibility: visible !important;
      width: auto !important; min-width: 0 !important; max-width: none !important;
      margin: 0 0 8px 2px !important; padding: 0 0 0 16px !important;
      background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
      border-inline-start: 1px solid rgba(138, 61, 64, .45) !important;
    }
    #site-header #main-nav .sub-menu > li { margin: 0; padding: 0; border: 0 !important; box-shadow: none !important; }
    &[data-asy-nav-ready] #site-header.om-leaving #main-nav .asy-sub-toggle.om-held-open::before { transform: translateY(2px) rotate(225deg); }
    #site-header.om-leaving #main-nav .asy-sub-toggle.om-held-open + .sub-menu { display: block !important; }
    #site-header #main-nav .sub-menu > li > a {
      display: flex !important; align-items: center; min-height: 44px; margin: 0 !important; padding: 6px 0 !important;
      font: 500 15px/1.35 var(--font-sans, Inter, sans-serif) !important; letter-spacing: 0 !important;
      color: var(--om-ink-soft) !important; background: transparent !important; border: 0 !important;
      text-align: start !important; white-space: normal; overflow-wrap: anywhere;
    }

    /* languages: one control of five equal parts */
    #main-nav .om-langs {
      display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; flex: none;
      margin: 12px 0 0; padding: 2px; border: 1px solid var(--om-line); border-radius: 999px;
    }
    #main-nav .om-lang {
      display: grid; place-items: center; min-height: 44px; padding: 0; margin: 0;
      font: 600 11.5px/1 var(--font-sans, Inter, sans-serif) !important; letter-spacing: .14em; text-indent: .14em;
      color: var(--om-ink-soft) !important; text-decoration: none; background: transparent !important; border: 0 !important;
      border-radius: 999px;
    }
    #main-nav .om-lang:is(.is-current, [aria-current]) { color: #f6f1ea !important; background: #203039 !important; }

    /* the email */
    #main-nav .om-foot { display: flex; align-items: center; justify-content: center; margin: 6px 0 0; padding: 0; flex: none; }
    #main-nav .om-office { display: flex; flex-direction: column; align-items: center; }
    #main-nav .om-mail {
      display: inline-flex; align-items: center; min-height: 44px;
      font: 500 13px/1.3 var(--font-sans, Inter, sans-serif) !important; letter-spacing: .01em;
      color: var(--om-ink-soft) !important; background: transparent !important;
      text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .34em; text-decoration-color: rgba(79, 101, 112, .45);
    }

    #site-header #main-nav :is(a[href], .asy-sub-toggle, .om-grab),
    #site-header:has(#main-nav.open) #menu-toggle { -webkit-tap-highlight-color: transparent; }
    /* ---------- where you are, and what you are pressing (design v3.1) ----------
       No filled blocks or stripes. Each row's link is only as wide as its word, so the marks sit on the word;
       an invisible extension to the right of the word keeps the whole row tappable. */
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a {
      width: fit-content !important; max-width: calc(100% + 24px) !important;
    }
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a::before {
      content: '' !important; display: block !important; position: absolute !important;
      inset: 0 auto 0 100% !important; width: 100vw !important; height: auto !important;
      margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
      opacity: 1 !important; transform: none !important; translate: none !important;
    }
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a:is([aria-current="page"], .om-pressed, .om-chosen),
    #site-header #main-nav .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item) > a {
      color: var(--om-accent) !important; background: transparent !important; box-shadow: none !important;
    }
    /* while another row is held, the current page steps back so only one row speaks */
    #site-header #main-nav:has(.asy-nav-list a:is(.om-pressed, .om-chosen)) .asy-nav-list > li:not(:last-child) > a:is([aria-current="page"]):not(.om-pressed, .om-chosen),
    #site-header #main-nav:has(.asy-nav-list a:is(.om-pressed, .om-chosen)) .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item) > a:not(.om-pressed, .om-chosen) {
      color: var(--om-ink-soft) !important;
    }
    /* the press shows at once; letting go eases back, a beat later, so a tap never flickers */
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a:is(.om-pressed, .om-chosen) {
      transition: color 0s !important;
    }

    /* Contact: the dark button deepens, an engraved inner line appears and the arrow steps on */
    #site-header #main-nav .asy-nav-list > li:last-child > a { transition: background-color .24s ease 60ms; }
    #site-header #main-nav .asy-nav-list > li:last-child > a::before { content: none !important; display: none !important; }
    #site-header #main-nav .asy-nav-list > li:last-child > a::after { transition: translate .26s var(--om-ease) 60ms; }
    #site-header #main-nav .asy-nav-list > li:last-child > a:is(.om-pressed, .om-chosen) {
      background: #172329 !important; color: var(--om-paper) !important;
      box-shadow: inset 0 0 0 4px #172329, inset 0 0 0 5px rgba(246, 241, 234, .34) !important;
      transition-duration: 0s !important;
    }
    #site-header #main-nav .asy-nav-list > li:last-child:is(.current-menu-item, .current_page_item) > a:is(.om-pressed, .om-chosen),
    #site-header #main-nav .asy-nav-list > li:last-child > a[aria-current="page"]:is(.om-pressed, .om-chosen) {
      background: #57222a !important; box-shadow: inset 0 0 0 4px #57222a, inset 0 0 0 5px rgba(246, 241, 234, .34) !important;
    }

    /* Legal Tech: the arrow button answers with a soft round light, never a box */
    &[data-asy-nav-ready] #site-header #main-nav .asy-sub-toggle { border-radius: 50%; transition: background-color .24s ease 60ms; }
    &[data-asy-nav-ready] #site-header #main-nav .asy-sub-toggle:is(.om-pressed, .om-chosen) {
      background: radial-gradient(closest-side, rgba(107, 43, 45, .13), rgba(107, 43, 45, .05) 60%, rgba(107, 43, 45, 0)) !important;
    }
    /* its links: the fine rule beside them is a rail, and the part next to the pressed link lights up */
    #site-header #main-nav .sub-menu > li > a { position: relative; transition: color .24s ease 60ms; }
    #site-header #main-nav .sub-menu > li > a::before {
      content: '' !important; display: block !important; position: absolute !important;
      inset: 9px auto 9px -17px !important; width: 1px !important; height: auto !important;
      background: var(--om-accent) !important; opacity: 1 !important; border: 0 !important;
      transform: scaleY(0) !important; transition: transform .26s var(--om-ease) 60ms !important;
    }
    #site-header #main-nav .sub-menu > li > a::after { content: none !important; display: none !important; }
    #site-header #main-nav .sub-menu > li > a:is(.om-pressed, .om-chosen) { color: var(--om-accent) !important; transition-duration: 0s !important; }
    #site-header #main-nav .sub-menu > li > a:is(.om-pressed, .om-chosen)::before { transform: scaleY(1) !important; transition-delay: 0s !important; }

    /* the email */
    #main-nav .om-mail { transition: color .24s ease 60ms, text-decoration-color .24s ease 60ms; }
    #main-nav .om-mail:is(.om-pressed, .om-chosen) { color: var(--om-accent) !important; text-decoration-color: var(--om-accent); transition-duration: 0s; }

    /* the handle and the X */
    #site-header #main-nav .om-grab.om-pressed::before { background: var(--om-accent); }
    #site-header:has(#main-nav.open) #menu-toggle { border-radius: 50%; }
    #site-header:has(#main-nav.open) #menu-toggle.om-pressed {
      background: radial-gradient(closest-side, rgba(246, 241, 234, .22), rgba(246, 241, 234, .08) 60%, rgba(246, 241, 234, 0)) !important;
    }
    @media (prefers-reduced-motion: no-preference) {
      #site-header #main-nav .om-grab.om-pressed::before { scale: 1.12 1; }
      #site-header #main-nav .asy-nav-list > li:last-child > a:is(.om-pressed, .om-chosen)::after { translate: 4px 0; transition-duration: .26s; transition-delay: 0s; }
    }

    /* keyboard focus: a clear ink ring, unlike the burgundy marks */
    #site-header #main-nav :is(a, button):focus-visible {
      outline: 2px solid var(--om-ink) !important; outline-offset: 2px !important; box-shadow: none !important;
    }
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a:focus-visible { outline-offset: -4px !important; }
    #main-nav a.om-lang:focus-visible { outline-offset: -2px !important; }
    #site-header #main-nav .asy-nav-list > li:last-child > a:focus-visible { outline-color: var(--om-ink) !important; outline-offset: 3px !important; }

    /* reduced motion: a press changes colour only; nothing moves or draws */
    @media (prefers-reduced-motion: reduce) {
      #site-header #main-nav .sub-menu > li > a::before { display: none !important; }
      #main-nav a.om-lang::after { display: none !important; }
      #site-header #main-nav .asy-nav-list > li:last-child > a:is(.om-pressed, .om-chosen) { box-shadow: none !important; }
    }

    /* C · Eyebrow rule (round 2: nothing moves sideways). The current page is led by a fine burgundy rule, like the
       site's section eyebrows; its word sits indented after the rule, and that indent never changes.
       A press is shown in place: the pressed word turns burgundy and a hairline draws beneath it, while the current page
       turns grey with its rule. No word ever moves, so the row stays under the finger and a press cannot flicker. */
    #site-header #main-nav .asy-nav-list > li:not(:last-child)::before {
      content: '' !important; display: block !important; position: absolute !important;
      left: 0 !important; top: calc(var(--om-row) + var(--om-type) * .64) !important;
      width: 20px !important; height: 1px !important; margin: 0 !important; border: 0 !important;
      background: var(--om-accent) !important; opacity: 1 !important; pointer-events: none !important;
      transform: scaleX(0); transform-origin: 0 50%;
      transition: transform .26s var(--om-ease), background-color .2s ease;
    }
    #site-header #main-nav .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item, :has(> a[aria-current="page"]))::before { transform: scaleX(1); }
    /* the indent is part of the link, so the whole row from the margin is still the tap area */
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a:is([aria-current="page"]),
    #site-header #main-nav .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item) > a { padding-left: 44px !important; }
    /* the hairline under a pressed word */
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a::after {
      content: '' !important; display: block !important; position: absolute !important;
      left: 12px !important; right: 12px !important; bottom: calc(var(--om-row) - 2px) !important; top: auto !important;
      width: auto !important; height: 1px !important; margin: 0 !important; border: 0 !important;
      background: var(--om-accent) !important; opacity: 1 !important; pointer-events: none !important;
      transform: scaleX(0) !important; transform-origin: 0 50% !important;
      transition: transform .22s var(--om-ease) 60ms !important;
    }
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a[aria-current="page"]::after,
    #site-header #main-nav .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item) > a::after { left: 44px !important; }
    #site-header #main-nav .asy-nav-list > li:not(:last-child) > a:is(.om-pressed, .om-chosen):not([aria-current="page"]):not(li:is(.current-menu-item, .current_page_item) > a)::after {
      transform: scaleX(1) !important; transition-delay: 0s !important;
    }
    /* pressing the current page: its rule lengthens a little, nothing else changes */
    #site-header #main-nav .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item, :has(> a[aria-current="page"])):has(> a:is(.om-pressed, .om-chosen))::before { transform: scaleX(1.3); transition-delay: 0s; }
    /* pressing a neighbour: the current page and its rule turn grey */
    #site-header #main-nav:has(.asy-nav-list a:is(.om-pressed, .om-chosen)) .asy-nav-list > li:not(:last-child):is(.current-menu-item, .current_page_item, :has(> a[aria-current="page"])):not(:has(> a:is(.om-pressed, .om-chosen)))::before {
      background: var(--om-line) !important;
    }
    /* languages: the letters turn burgundy and a short line draws beneath them */
    #main-nav a.om-lang { position: relative; transition: color .24s ease 60ms; }
    #main-nav a.om-lang::after {
      content: ''; position: absolute; left: 50%; bottom: 10px; width: 14px; height: 1px; margin-left: -7px;
      background: var(--om-accent); transform: scaleX(0); transform-origin: 0 50%;
      transition: transform .28s var(--om-ease) 60ms;
    }
    #main-nav a.om-lang:is(.om-pressed, .om-chosen) { color: var(--om-accent) !important; background: transparent !important; transition-duration: 0s; }
    #main-nav a.om-lang:is(.om-pressed, .om-chosen)::after { transform: scaleX(1); transition-delay: 0s; }

    @media (max-height: 700px) {
      --om-type: clamp(25px, 7vw, 27px);
      --om-row: 6px;
      #site-header #main-nav .asy-nav-list > li > a { min-height: 44px; }
      #site-header #main-nav .asy-nav-list > li:last-child { margin-top: 10px; }
      #main-nav .om-langs { margin-top: 12px; }
    }

    /* the page dims, the sheet rises, the names follow; leaving, the sheet drops away */
    @media (prefers-reduced-motion: no-preference) {
      #site-header:has(#main-nav.open) .om-scrim { animation: om-c-fade .32s ease backwards; }
      #site-header.om-leaving .om-scrim { animation: om-c-unfade .3s ease forwards; }
      #site-header #main-nav.open { animation: om-c-rise .52s var(--om-rise) backwards; }
      #site-header #main-nav.open .asy-nav-list > li { animation: om-c-item .5s var(--om-ease) calc(.07s + var(--om-i, 0) * 32ms) backwards; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(2) { --om-i: 1; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(3) { --om-i: 2; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(4) { --om-i: 3; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(5) { --om-i: 4; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(6) { --om-i: 5; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(7) { --om-i: 6; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(8) { --om-i: 7; }
      #site-header #main-nav.open .asy-nav-list > li:nth-child(9) { --om-i: 8; }
      #site-header #main-nav.open :is(.om-langs, .om-foot) { animation: om-c-fade .5s ease .3s backwards; }
      #site-header #main-nav .sub-menu > li { animation: om-c-item .4s var(--om-ease) backwards; }
      #site-header #main-nav .sub-menu > li:nth-child(2) { animation-delay: 36ms; }
      #site-header #main-nav .sub-menu > li:nth-child(3) { animation-delay: 72ms; }
      #site-header.om-leaving #main-nav { animation: om-c-drop .3s cubic-bezier(.5, 0, .9, .45) forwards; }
      #site-header.om-leaving:has(.om-chosen) :is(#main-nav, .om-scrim) { animation-delay: 96ms; }
    }

    /* reduced motion: the menu simply appears and disappears; the X and the arrow switch without turning */
    @media (prefers-reduced-motion: reduce) {
      #site-header #main-nav, #site-header #main-nav *, #site-header #main-nav *::before, #site-header #main-nav *::after, .om-scrim, #site-header .asy-logo, #site-header .asy-header-lang, #site-header #menu-toggle span { transition: none !important; animation: none !important; }
      #site-header #main-nav .asy-nav-list > li > a:is(:hover, :active) { transform: none !important; }
      /* stronger than every press rule above, so a press is an instant colour change and nothing fades or draws */
      #site-header#site-header#site-header #main-nav#main-nav *,
      #site-header#site-header#site-header #main-nav#main-nav *::before,
      #site-header#site-header#site-header #main-nav#main-nav *::after { transition: none !important; }
    }

    &:has(#main-nav.open, #site-header.om-leaving .om-chosen) { overflow: hidden !important; }
    body:has(#site-header.om-leaving) .asy-whatsapp-float { visibility: hidden !important; }
  }
}

/* keyframes live at the top level: browsers ignore @keyframes written inside a nested rule */
@keyframes om-c-fade { from { opacity: 0; } }
@keyframes om-c-unfade { to { opacity: 0; } }
@keyframes om-c-rise { from { transform: translateY(100%); } }
@keyframes om-c-item { from { opacity: 0; transform: translateY(10px); } }
@keyframes om-c-drop { from { transform: translateY(var(--om-drag, 0px)); } to { transform: translateY(100%); } }

/* Desktop and tablet keep today's header: the parts the menu script adds are for phones only (fix, 5 Dec). */
@media (width >= 768px) {
  :is(.om-langs, .om-foot, .om-brand, .om-sky, .om-grab, .om-scrim) { display: none !important; }
}

.om-grab { order: -1; }
@media (scripting: none) { :is(.om-grab,.om-foot,.om-langs) { display: none !important; } }

/* Articles have their own header stylesheet. Keep their links reachable without scripts. */
@media (width < 768px) and (scripting: none) {
  :is(.single-insight,.single-post) #site-header { position:relative !important; height:auto !important; background:#203039; }
  :is(.single-insight,.single-post) #site-header .asy-header-inner { display:flex !important; flex-wrap:wrap !important; height:auto !important; }
  :is(.single-insight,.single-post) #main-nav { display:block !important; position:static !important; order:3; flex:0 0 100%; min-width:0; width:100% !important; height:auto !important; padding:12px 0 !important; margin:0 !important; transform:none !important; visibility:visible !important; opacity:1 !important; }
  :is(.single-insight,.single-post) #main-nav :is(.asy-nav-list,.sub-menu) { display:flex !important; flex-wrap:wrap; flex-direction:row; gap:8px 14px; position:static !important; visibility:visible; opacity:1; transform:none; }
  :is(.single-insight,.single-post) :is(#menu-toggle,.asy-sub-toggle,.asy-preloader) { display:none !important; }
}
