/* Inversa mobile branch: e030…css5240–5384. Project type, palette and outer breakpoint. */
.mobile-menu[hidden] { display: none !important; }
.mobile-menu { display: contents; --cm-accent: #5ccfed; --cm-black: #151515; --cm-white: #fff; }
.cm-panel {
  position: fixed; inset: 0 0 0 auto; z-index: 9000; width: 100vw; height: 100dvh; max-height: none;
  margin: 0; padding: 90px max(22px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--cm-black); color: var(--cm-white); overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; user-select: none;
  font-family: Lausanne, Arial, sans-serif; box-sizing: border-box; will-change: transform;
}
.cm-panel *, .cm-panel *::before, .cm-panel *::after { box-sizing: border-box; }
.cm-panel ul { margin: 0; padding: 0; list-style: none; }
.cm-content { width: 100%; margin-block: auto; flex: 0 0 auto; }
.cm-panel .cm-item { margin: -10px 0; padding: 10px 0; }
.cm-list.is-enter .cm-item { overflow: hidden; }
.cm-panel .cm-link {
  position: relative; display: flex; align-items: center; width: 100%; padding: 0 14px 0 0;
  color: inherit; text-decoration: none; font-size: clamp(42px, 14.933333vw, 64px);
  line-height: clamp(42px, 13.333333vw, 60px); font-weight: 400; letter-spacing: -.035em;
  white-space: nowrap; will-change: transform;
}
.cm-link::before { position: absolute; right: 0; width: 6px; height: 6px; background: var(--cm-accent); opacity: 0; }
.cm-link[aria-current="page"] { color: var(--cm-accent); }
.cm-link[aria-current="page"]::before { content: ""; animation: cm-flash 1s step-start infinite; }
@keyframes cm-flash { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.cm-panel .cm-secondary { margin: 8svh 0; }
.cm-secondary li + li { margin-top: 7px; }
.cm-secondary-link {
  position: relative; isolation: isolate; display: inline-flex; color: var(--cm-white); text-decoration: none;
  font-size: 14px; line-height: 1.28; text-transform: uppercase; transition: color .25s linear;
}
.cm-secondary-link::before {
  content: ""; position: absolute; inset: 0 -5px; z-index: -1; background: var(--cm-accent);
  transform: scaleX(0); transform-origin: right; transition: transform .25s ease-in-out;
}
.cm-panel .cm-cta {
  display: inline-flex; align-items: center; height: 45px; padding: 0 20px; border-radius: 4px;
  color: var(--cm-black); background: var(--cm-accent); font-size: 14px; line-height: 1.28;
  text-transform: uppercase; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
  transition: clip-path .25s ease-out;
}
.cm-copyright { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding-top: 40px; margin-top: auto; color: #929292; font-size: 10px; line-height: 1.28; text-transform: uppercase; }
.cm-panel a:focus-visible { outline: 2px solid var(--cm-accent); outline-offset: 5px; }
.cm-link:focus-visible { color: var(--cm-accent); }
.cm-link:focus-visible::before { content: ""; animation: cm-flash 1s step-start infinite; }
.cm-secondary-link:focus-visible { color: var(--cm-black); }
.cm-secondary-link:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.cm-cta:focus-visible { clip-path: polygon(15px 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 15px); }
@media (hover: hover) {
  .cm-link:hover { color: var(--cm-accent); }
  .cm-link:hover::before { content: ""; animation: cm-flash 1s step-start infinite; }
  .cm-secondary-link:hover { color: var(--cm-black); }
  .cm-secondary-link:hover::before { transform: scaleX(1); transform-origin: left; }
  .cm-cta:hover { clip-path: polygon(15px 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 15px); }
}
/* Temporary viewport shell mirrors source main without replacing native page scrolling. */
body.cm-menu-active { overflow: hidden !important; background: #151515; }
.cm-page-frozen { position: fixed !important; inset: auto !important; top: var(--cm-scroll-top) !important; left: 0 !important; width: 100% !important; z-index: 9001 !important; background: #fff; will-change: transform; }
.cm-shade { position: absolute; top: var(--cm-shade-top); left: 0; width: 100%; height: 100dvh; z-index: 8999; background: #00000080; opacity: 0; pointer-events: all; transition: opacity 1s ease-in-out; }
.cm-page-frozen.is-dimmed > .cm-shade { opacity: 1; }
.header .menu-toggle > .cm-trigger-label, .header .menu-toggle > .cm-trigger-cross { display: none; }
.cm-scroll-trigger {
  display: none; position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  z-index: 8000; width: 48px; height: 48px; padding: 0; border: 1px solid #15151518; border-radius: 12px;
  background: #fff; color: #151515; box-shadow: 0 4px 18px #00000012;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.cm-scroll-trigger > span { display: block; width: 22px; height: 1px; background: currentColor; }
.cm-scroll-trigger.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .18s ease, transform .18s ease; }
.cm-scroll-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.page-resource-article .cm-scroll-trigger { background: #151515; color: #fff; border-color: #ffffff40; }
html:is(.cp-pending,.cl-menu-mobile,.cl-menu-desktop) .cm-scroll-trigger,
body.cm-menu-active .cm-scroll-trigger, body:has(dialog[open]) .cm-scroll-trigger { visibility: hidden; opacity: 0; pointer-events: none; }
@media (max-width: 1100px) {
  .cm-scroll-trigger { display: flex; }
  .header.cm-menu-header, body.page-home .header.cm-menu-header { position: fixed !important; top: 12px !important; left: 12px !important; right: 12px !important; width: auto !important; margin: 0 !important; z-index: 9002 !important; }
  .header.cm-menu-header .nav-cutout { width: 100%; background: transparent; border-radius: 0; padding: 10px; justify-content: space-between; gap: 12px; }
  .header.cm-menu-header .nav-cutout::before, .header.cm-menu-header .nav-cutout::after { display: none; }
  .header.cm-menu-header .brand img { filter: brightness(0) invert(1); }
  .header.cm-menu-header .header-actions, .header.cm-menu-header #navigation { display: none !important; }
  html.po-ready .header.cm-menu-header .menu-toggle { display: inline-flex; flex-direction: row; width: auto; height: 32px; gap: 8px; color: #fff; }
  .header.cm-menu-header .menu-toggle > span:not(.cm-trigger-label):not(.cm-trigger-cross) { display: none; }
  .header.cm-menu-header .menu-toggle > .cm-trigger-label { display: block; width: auto; height: auto; background: none; margin: 0; font: 14px Lausanne, Arial, sans-serif; }
  .header.cm-menu-header .menu-toggle > .cm-trigger-cross { display: block; position: relative; width: 16px; height: 16px; background: none; margin: 0; transform: rotate(0deg); transition: transform .25s linear; }
  .cm-trigger-cross::before, .cm-trigger-cross::after { content: ""; position: absolute; background: currentColor; left: 0; top: 7px; width: 16px; height: 1px; }
  .cm-trigger-cross::after { transform: rotate(90deg); }
  .header.cm-menu-header.is-menu .menu-toggle > .cm-trigger-cross { transform: rotate(45deg); }
}
body.motion-paused .cm-panel *, body.motion-paused .cm-panel *::before, body.motion-paused .cm-shade, body.motion-paused .cm-trigger-cross, body.motion-paused .cm-scroll-trigger { transition-duration: 0s !important; animation: none !important; }
body.motion-paused .cm-link[aria-current="page"]::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cm-panel *, .cm-panel *::before, .cm-shade, .cm-trigger-cross, .cm-scroll-trigger { transition-duration: 0s !important; animation: none !important; }
  .cm-link[aria-current="page"]::before { opacity: 1; }
}
