/* Small interactions layered onto the existing Moso design. */
body > header .nav a .moso-nav-words{display:inline-grid;overflow:hidden;vertical-align:middle;line-height:1.5}
body > header .nav a .moso-nav-words > span{grid-area:1/1;transition:transform .28s ease;white-space:nowrap}
body > header .nav a .moso-nav-words > span:last-child{transform:translateY(110%)}
body > header .nav a:is(:hover,:focus-visible) .moso-nav-words > span:first-child{transform:translateY(-110%)}
body > header .nav a:is(:hover,:focus-visible) .moso-nav-words > span:last-child{transform:translateY(0)}
body > header{--moso-nav-rollover:#613868}
body > header:not(.moso-on-light){--moso-nav-rollover:#ee7c7b}
body > header.moso-on-explorations{--moso-nav-rollover:#faf6ef}
html body > header .nav a:is(:hover,:focus-visible){opacity:1!important}
body > header .nav a:is(:hover,:focus-visible) .moso-nav-words > span:last-child{color:var(--moso-nav-rollover)!important;-webkit-text-fill-color:var(--moso-nav-rollover)!important}
@media(max-width:900px){body > header{--moso-nav-rollover:#613868!important}}

/* The native arrow, link hand, and text caret remain untouched. */
#moso-cursor-companion{position:fixed;left:0;top:0;z-index:2147483000;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;pointer-events:none;user-select:none;color:var(--moso-cursor-sparkles-foreground,#392518);background:var(--moso-cursor-sparkles-background,#ee7c7b);box-shadow:0 3px 14px #3925181a;will-change:transform}
#moso-cursor-companion[data-icon="camera"]{background:var(--moso-cursor-camera-background,#dbd6f4);color:var(--moso-cursor-camera-foreground,#392518)}
#moso-cursor-companion[data-icon="video"]{background:var(--moso-cursor-video-background,#a8b1dd);color:var(--moso-cursor-video-foreground,#392518)}
#moso-cursor-companion[data-icon="mail"]{background:var(--moso-cursor-mail-background,#edb4ca);color:var(--moso-cursor-mail-foreground,#392518)}
#moso-cursor-companion svg{display:block;width:24px;height:24px}
#moso-cursor-companion[hidden]{display:none!important}

#about .moso-letter-portrait .moso-profile-trigger{display:block;width:100%;padding:0;margin:0;border:0;background:transparent;color:#392518;line-height:0;border-radius:0;box-shadow:none;transform:none;cursor:pointer}
#about .moso-letter-portrait .moso-profile-trigger:focus-visible{outline:2px solid #86548a;outline-offset:5px}
#about .moso-letter-portrait .moso-profile-cue{position:absolute;right:12px;bottom:8px;display:flex;align-items:center;gap:5px;font:11px/1.4 Arial,sans-serif;color:#392518}
#about .moso-profile-cue svg{width:16px;height:16px;flex:none}

#moso-profile-card{position:fixed;z-index:2147482000;box-sizing:border-box;width:286px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;background:#dbd6f4;color:#392518;padding:24px;border:1px solid #39251824;box-shadow:0 15px 42px #3925182b;font-family:Arial,sans-serif;text-align:left;isolation:isolate;opacity:1;transform:none}
#moso-profile-card[hidden]{display:none!important}
#moso-profile-card .moso-profile-close{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:transparent;color:#392518;border-radius:50%;cursor:pointer}
#moso-profile-card .moso-profile-close svg{width:17px;height:17px}
#moso-profile-card .moso-profile-eyebrow{max-width:180px;font:11px/1.7 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin:0 0 12px;color:#392518}
#moso-profile-card .moso-profile-year{display:block;font:400 76px/1 Arial,sans-serif;letter-spacing:-.065em;color:#392518;margin:0}
#moso-profile-card .moso-profile-script{font:400 29px/1.05 "Moso Signature",Georgia,serif;color:#86548a;margin:8px 0 20px;letter-spacing:0}
#moso-profile-card dl{margin:0;border-top:1px solid #39251833;padding-top:7px}
#moso-profile-card dt{font:11px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em;margin:15px 0 5px;color:#392518}
#moso-profile-card dd{font:13px/1.55 Arial,sans-serif;margin:0;color:#392518}

@media(pointer:coarse){#moso-cursor-companion{display:none!important}#moso-profile-card .moso-profile-close{width:44px;height:44px}}
@media(max-width:600px){#moso-profile-card{padding:22px;width:280px}#about .moso-letter-portrait .moso-profile-cue{font-size:10px;right:8px;gap:3px}}
@media(prefers-reduced-motion:reduce){body > header .nav a .moso-nav-words > span{transition:none}#moso-cursor-companion{display:none!important}}

/* Phone menus always show the navigation label; rollover text is for desktop. */
@media(max-width:700px){body>header .nav a .moso-nav-words>span:first-child{transform:none!important}body>header .nav a .moso-nav-words>span:last-child{display:none}}
