/* The menu button in the right band and its full-screen menu (site.js). Used by the public pages (through site.css)
   and the sign-in screen. */
/* Menu button: three lines in the right band, mirroring the z. They fold into a cross when the menu is open. */
.menu-toggle{position:relative;z-index:3;margin-left:auto;width:52px;height:52px;padding:0;border:0;background:none;cursor:pointer;color:var(--ink)}
.menu-toggle span{position:absolute;left:12px;right:12px;height:1.5px;border-radius:2px;background:currentColor;
  transition:transform .45s var(--ease-out),opacity .25s var(--ease),top .45s var(--ease-out)}
.menu-toggle span:nth-child(1){top:17px}.menu-toggle span:nth-child(2){top:25px}.menu-toggle span:nth-child(3){top:33px}
.menu-toggle:hover span:nth-child(2){transform:translateX(-5px)}
.menu-toggle[aria-expanded="true"] span:nth-child(1){top:25px;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){top:25px;transform:rotate(-45deg)}
.menu-toggle:focus-visible{outline:1.5px solid var(--ember);outline-offset:2px;border-radius:12px}
@media(min-width:760px){
  .menu-toggle{position:absolute;top:50%;right:calc(clamp(18px,7vw,120px) / 2 - max(clamp(18px,4vw,48px),env(safe-area-inset-right)));transform:translate(50%,-50%)}
}

/* The menu: a full-screen layer with large links. It closes on a link, on Escape, or as soon as you scroll on. */
.site-menu{position:fixed;inset:0;z-index:39;display:flex;align-items:center;background:rgb(0 0 0 / .86);
  -webkit-backdrop-filter:blur(22px) saturate(1.2);backdrop-filter:blur(22px) saturate(1.2);opacity:0;transition:opacity .35s var(--ease)}
.site-menu.open{opacity:1}
.site-menu-inner{width:100%;max-width:1180px;margin:0 auto;padding:120px clamp(28px,8vw,140px) 60px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(36px,6vw,100px);align-items:end}
.menu-main{display:flex;flex-direction:column}
.menu-main a{display:flex;align-items:baseline;gap:22px;padding:6px 0;text-decoration:none;color:var(--muted);
  font:400 clamp(44px,7vw,96px)/1.02 var(--serif);letter-spacing:-.015em;transition:color .25s var(--ease)}
.menu-main a span{font-size:12px;letter-spacing:.16em;color:var(--ember);transform:translateY(-.6em)}
.menu-main a:hover,.menu-main a:focus-visible{color:var(--ink)}
.menu-side{display:grid;gap:34px;padding-bottom:14px}
.menu-side div{display:flex;flex-direction:column;gap:10px}
.menu-side .eyebrow{margin:0 0 4px}
.menu-side a{width:fit-content;color:var(--ink-2);text-decoration:none;font-size:18px;transition:color .2s var(--ease)}
.menu-side a:hover,.menu-side a:focus-visible{color:var(--ember)}
.menu-note{margin:0;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
/* the links rise in one after another */
.site-menu .menu-main a,.site-menu .menu-side>*{opacity:0;transform:translateY(22px);transition:opacity .5s var(--ease-out),transform .6s var(--ease-out),color .25s var(--ease)}
.site-menu.open .menu-main a,.site-menu.open .menu-side>*{opacity:1;transform:none}
.site-menu.open .menu-main a:nth-child(2){transition-delay:.05s}.site-menu.open .menu-main a:nth-child(3){transition-delay:.1s}
.site-menu.open .menu-main a:nth-child(4){transition-delay:.15s}.site-menu.open .menu-main a:nth-child(5){transition-delay:.2s}
.site-menu.open .menu-side>*{transition-delay:.25s}
@media(max-width:760px){.site-menu-inner{grid-template-columns:1fr;align-items:start;padding-top:110px}}
@media(prefers-reduced-motion:reduce){.site-menu,.site-menu .menu-main a,.site-menu .menu-side>*{transition:none}}
