/* Two hand-drawn waves, gently stirred by scrolling. */
.nav-shell .brand-wordmark{display:flex;align-items:center;gap:11px;flex:0 0 255px;min-width:0;height:46px;font-size:22px}
.brand-mark{display:block;width:41px;height:41px;flex-shrink:0;overflow:visible;color:var(--copper);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.brand-mark-wave{transform-origin:32px 32px;transition:transform .65s cubic-bezier(.2,.6,.3,1);transform:translateY(calc(var(--wave-y,0px) - var(--wave-hover,0px))) rotate(var(--wave-angle,0deg));stroke-width:1.8}
.brand-mark-wave:last-child{stroke:#dfc99d;stroke-width:1.6;transform:translateY(calc(0px - var(--wave-y,0px) + var(--wave-hover,0px))) rotate(calc(0deg - var(--wave-angle,0deg)))}
.nav-shell .brand-wordmark .brand-name{display:block;font-style:normal;white-space:nowrap;transform-origin:left center;transition:opacity .5s ease,transform .6s cubic-bezier(.2,.7,.2,1),clip-path .6s cubic-bezier(.2,.7,.2,1)}
.brand-name em{font-weight:400}
.brand-ready [data-page="home"] .brand-wordmark:not(.is-named) .brand-name{opacity:0;transform:translateX(-12px);clip-path:inset(-8px 100% -8px 0)}
.brand-wordmark:is(:hover,:focus-visible){--wave-hover:1.5px}
.brand-wordmark:focus-visible{outline:1px solid var(--copper);outline-offset:5px;border-radius:3px}
@media(max-width:1100px) and (min-width:601px){.nav-shell .brand-wordmark{flex-basis:210px;font-size:19px;gap:8px}.brand-mark{width:34px;height:34px}}
@media(max-width:850px) and (min-width:601px){.nav-shell{gap:16px}.nav-shell .brand-wordmark{flex-basis:185px;font-size:16px;gap:7px}.brand-mark{width:30px;height:30px}}
@media(max-width:600px){.nav-shell .brand-wordmark{flex:0 0 calc(100% - 102px);height:32px;font-size:clamp(15px,4.5vw,20px);gap:7px}.brand-mark{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.brand-mark-wave,.nav-shell .brand-wordmark .brand-name{transition:none}.brand-wordmark .brand-mark-wave{transform:none}}

/* One-line adaptation of the first calligraphic wordmark. */
.nav-shell .brand-wordmark .brand-name{flex:1 1 203px;min-width:0;max-width:203px}
.brand-name-image{display:block;width:100%;height:auto;max-height:34px;object-fit:contain;object-position:left center}
@media(max-width:600px){.brand-name-image{max-height:30px}}
