.navwrap { position: fixed; inset: 14px 0 auto 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; padding-inline: 12px; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 20px; background: var(--pill); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: 0 8px 28px -16px rgba(0,0,0,.3); max-width: 100%; }
.who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; padding-left: 2px; text-decoration: none; }
.av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, #222, #000); color: var(--on-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pill nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 500; }
.pill nav a { text-decoration: none; padding-block: 12px; position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.pill nav a:hover, .pill nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.pill .contact { border: 1px solid var(--chip); border-radius: 999px; padding: 0 16px; min-height: 40px; background: var(--card); text-decoration: none !important; }
@media (max-width: 640px) { .pill { gap: 10px; } .pill nav { gap: 10px; font-size: 13px; } .who span.nm { display: none; } .pill nav a[href*="drive.google"] { display: none; } }
.av { object-fit: cover; }
.pill { transition: gap .45s cubic-bezier(.2,.7,.2,1), padding .45s; }
.sec2 { max-width: 140px; overflow: hidden; white-space: nowrap; transition: max-width .45s cubic-bezier(.2,.7,.2,1), opacity .3s, padding .4s, border-width .3s; }
.navwrap.shut .pill:not(:hover):not(:focus-within) .sec2 { max-width: 0; opacity: 0; padding-inline: 0; border-width: 0; pointer-events: none; }
.mbtn { display: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--card); border: 1px solid var(--line); cursor: pointer; position: relative; }
.mbtn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s, top .35s; }
.mbtn i:first-child { top: 13px; } .mbtn i:last-child { top: 19px; }
.mbtn[aria-expanded="true"] i:first-child { top: 16px; transform: rotate(45deg); } .mbtn[aria-expanded="true"] i:last-child { top: 16px; transform: rotate(-45deg); }
@media (max-width: 640px) {
  .pill { position: relative; }
  .mbtn { display: block; }
  .pill nav { position: absolute; left: 50%; width: min(280px, 88vw); top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px; max-width: none; opacity: 0; transform: translate(-50%, -8px); pointer-events: none; visibility: hidden; overflow: visible; transition: opacity .3s, transform .3s, visibility 0s .3s; }
  .pill nav a, .pill nav a[href*="drive.google"] { display: block !important; padding: 12px 14px; font-size: 15px; text-align: left; }
  .sec2, .navwrap.shut .pill:not(:hover):not(:focus-within) .sec2 { max-width: none; opacity: 1; padding-inline: 14px; pointer-events: inherit; }
  .pill nav .contact { border: 0; background: var(--on); color: var(--on-ink); text-align: center !important; margin-top: 4px; }
  .pill.open nav, .navwrap.shut .pill.open nav { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; visibility: visible; transition-delay: 0s; max-width: none; margin-left: 0; gap: 0; }
  .navwrap.shut .pill nav, .navwrap.shut .pill:hover nav { max-width: none; margin-left: 0; gap: 0; opacity: 0; pointer-events: none; }
  .navwrap .pill { margin-inline: auto; }
}
html[data-theme="dark"] .pill, html[data-theme="dark"] .bc, html[data-theme="dark"] .speak, html[data-theme="dark"] .cta { box-shadow: 0 8px 28px -16px rgba(0,0,0,.8); }
.tgl { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--chip); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tgl::before { content: ""; position: absolute; inset: -2px; }
.tgl svg { width: 18px; height: 18px; } .tgl .sun { display: none; } .tgl .moon { display: block; }
html[data-theme="dark"] .tgl .sun { display: block; } html[data-theme="dark"] .tgl .moon { display: none; }
.tgl:hover { border-color: var(--ink); }
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease !important; }
@media (prefers-reduced-motion: reduce) { html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: none !important; } }
@media (max-width: 720px) { .pill nav .contact { display: flex !important; align-items: center; justify-content: center; min-height: 44px; } }
.skip{position:absolute;left:12px;top:-60px;background:var(--on);color:var(--on-ink);padding:10px 14px;border-radius:8px;z-index:100}.skip:focus{top:12px}
