    .portal-document .header {
      position: fixed;
      inset: 16px clamp(14px, 3vw, 36px) auto;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 0;
      color: rgba(244, 241, 234, 0.62);
      font-family: var(--display);
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .portal-document .brand-link {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(244, 241, 234, 0.14);
      background: rgba(11, 11, 11, 0.36);
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), inset 0 0 22px rgba(244, 241, 234, 0.035);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .portal-document .brand-link img {
      width: 26px;
      filter: invert(1);
    }

    .portal-document .menu-toggle {
      border-radius: 999px;
      transition: color 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .portal-document .header a:hover {
      color: var(--bone);
    }

    .portal-document .header a:focus-visible,
    .portal-document .menu-toggle:focus-visible {
      outline: 2px solid rgba(244, 241, 234, 0.62);
      outline-offset: 3px;
    }

    .portal-document .nav-links a {
      padding: 10px 12px;
      color: rgba(244, 241, 234, 0.58);
    }

    .portal-document .nav-links a:hover {
      background: rgba(244, 241, 234, 0.055);
    }

    .portal-document .nav-cta {
      margin-left: 4px;
      border: 1px solid rgba(244, 241, 234, 0.22);
      color: var(--bone) !important;
      box-shadow: inset 0 0 18px rgba(244, 241, 234, 0.035), 0 0 22px rgba(244, 241, 234, 0.04);
    }

    .portal-document .nav-cta:hover {
      border-color: rgba(244, 241, 234, 0.42);
      transform: translateY(-1px);
    }

    .portal-document .menu-toggle {
      position: relative;
      z-index: 2;
      display: grid;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(244, 241, 234, 0.2);
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(244, 241, 234, 0.16), rgba(244, 241, 234, 0.035) 42%, rgba(143, 183, 255, 0.055)),
        rgba(11, 11, 11, 0.24);
      box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -18px 34px rgba(255, 255, 255, 0.025);
      backdrop-filter: blur(24px) saturate(1.25);
      -webkit-backdrop-filter: blur(24px) saturate(1.25);
      color: var(--bone);
      cursor: pointer;
      place-items: center;
      padding: 0;
    }

    .portal-document .menu-toggle::before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      background: linear-gradient(150deg, rgba(255, 255, 255, 0.2), transparent 38%);
      opacity: 0.72;
      pointer-events: none;
    }

    .portal-document .menu-toggle::after {
      content: "";
      position: absolute;
      inset: -45% auto auto -30%;
      width: 74%;
      height: 160%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
      opacity: 0.34;
      transform: rotate(28deg);
      transition: transform 420ms ease, opacity 220ms ease;
      pointer-events: none;
    }

    .portal-document .menu-toggle:hover {
      border-color: rgba(244, 241, 234, 0.34);
      background:
        linear-gradient(135deg, rgba(244, 241, 234, 0.2), rgba(244, 241, 234, 0.045) 42%, rgba(143, 183, 255, 0.08)),
        rgba(11, 11, 11, 0.3);
      transform: translateY(-1px);
    }

    .portal-document .menu-toggle:hover::after {
      opacity: 0.54;
      transform: translateX(62px) rotate(28deg);
    }

    .portal-document .menu-toggle span {
      position: relative;
      z-index: 1;
      display: block;
      width: 16px;
      height: 1px;
      margin: 3px auto;
      background: currentColor;
      transform-origin: center;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .portal-document .menu-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(4px) rotate(45deg);
    }

    .portal-document .menu-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .portal-document .menu-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-4px) rotate(-45deg);
    }

    .portal-document .menu-toggle .menu-word {
      position: absolute;
      right: 0;
      top: calc(100% + 5px);
      width: auto;
      height: auto;
      margin: 0;
      background: transparent;
      color: rgba(244, 241, 234, 0.38);
      font-family: var(--display);
      font-size: 0.54rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .portal-document .mobile-menu {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      z-index: 1;
      display: grid;
      width: min(390px, calc(100vw - 28px));
      padding: 18px;
      border: 1px solid rgba(244, 241, 234, 0.14);
      border-radius: 22px;
      background:
        radial-gradient(circle at 86% 10%, rgba(143, 183, 255, 0.08), transparent 12rem),
        rgba(11, 11, 11, 0.82);
      box-shadow:
        0 26px 76px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 38px rgba(244, 241, 234, 0.028);
      backdrop-filter: blur(26px) saturate(1.18);
      -webkit-backdrop-filter: blur(26px) saturate(1.18);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-8px) scale(0.98);
      transform-origin: top right;
      transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms ease;
    }

    .portal-document .mobile-menu.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }

    .portal-document .menu-panel {
      position: relative;
      z-index: 1;
      width: 100%;
    }

    .portal-document .menu-note {
      margin: 0 0 15px;
      color: rgba(244, 241, 234, 0.42);
      font-family: var(--body);
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .portal-document .menu-list {
      display: grid;
      border-top: 1px solid rgba(244, 241, 234, 0.12);
    }

    .portal-document .menu-link {
      display: block;
      padding: 15px 0;
      border-bottom: 1px solid rgba(244, 241, 234, 0.12);
      color: rgba(244, 241, 234, 0.78);
      transition: color 180ms ease, padding-left 180ms ease, background 180ms ease;
    }

    .portal-document .menu-link strong {
      display: block;
      font-family: var(--display);
      font-size: clamp(1.12rem, 3.8vw, 1.72rem);
      line-height: 0.95;
      letter-spacing: 0;
    }

    .portal-document .menu-link span {
      display: block;
      max-width: 310px;
      margin-top: 7px;
      color: rgba(244, 241, 234, 0.48);
      font-size: 0.82rem;
      line-height: 1.35;
    }

    .portal-document .menu-link:hover,
    .portal-document .menu-link:focus-visible,
    .portal-document .menu-link[aria-current="page"] {
      color: var(--bone);
      background: linear-gradient(90deg, rgba(244, 241, 234, 0.045), transparent);
      padding-left: 12px;
    }

    .portal-document .menu-link[aria-current="page"] span::after {
      content: " / current";
      color: rgba(244, 241, 234, 0.62);
    }

    .portal-document .menu-secondary {
      display: grid;
      gap: 6px;
      width: fit-content;
      margin-top: 16px;
      padding-bottom: 4px;
      border-bottom: 1px solid rgba(244, 241, 234, 0.24);
      color: rgba(244, 241, 234, 0.58);
      font-family: var(--display);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .portal-document .menu-secondary span {
      max-width: 280px;
      color: rgba(244, 241, 234, 0.42);
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0;
      line-height: 1.28;
      text-transform: none;
    }

    .portal-document .menu-secondary:hover,
    .portal-document .menu-secondary:focus-visible,
    .portal-document .menu-secondary[aria-current="page"] {
      color: var(--bone);
      border-color: rgba(244, 241, 234, 0.52);
    }

    .portal-document .menu-footer {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: space-between;
      gap: 14px;
      color: rgba(244, 241, 234, 0.34);
      font-family: var(--display);
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
/* Keep the single global menu usable on short phone viewports. */
.portal-document .mobile-menu{max-height:calc(100svh - 108px);overflow:auto;overscroll-behavior:contain}
