/* Targeted optical and interaction refinements. */
.lang-switch{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:78px;height:32px;flex:0 0 78px;padding:3px;gap:0;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#171716;box-shadow:inset 0 1px 0 rgba(253,246,238,.1),0 5px 16px rgba(0,0,0,.08);isolation:isolate}
.lang-switch::before{position:absolute;z-index:0;top:3px;left:3px;width:calc(50% - 3px);height:24px;border-radius:999px;background:#a41e22;box-shadow:inset 0 1px 0 rgba(253,246,238,.18),0 4px 12px rgba(164,30,34,.25);content:"";transform:translateX(100%);transition:transform 480ms cubic-bezier(.22,1,.36,1)}
html[data-lang=en] .lang-switch::before{transform:translateX(0)}
.lang-switch button{position:relative;z-index:1;display:grid;place-items:center;min-width:0;height:24px;padding:0;border:0;background:transparent;color:rgba(253,246,238,.46);font:700 8px/1 var(--ui-text);letter-spacing:.035em;transition:color .32s ease}
.lang-switch button.selected{background:transparent;color:#fff;box-shadow:none}
.icon-button svg{width:20px;height:20px;stroke-width:1.7}.icon-button{width:36px;height:36px}
.footer-face{height:42px}.footer-face img{height:36px}
.footer-controls{height:44px;align-items:center;gap:18px;line-height:1}
.footer-controls button{display:grid;place-items:center;width:32px;height:38px;padding:0;color:var(--text);transition:color .2s,transform .2s}
.footer-controls button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.footer-controls button:not(:disabled):hover{color:var(--ui-accent);transform:translateX(-2px)}
.footer-controls #nextBtn:not(:disabled):hover{transform:translateX(2px)}
.footer-controls button:disabled{opacity:.32}.footer-controls #footerTitle,.footer-controls #counter{display:flex;align-items:center;justify-content:center;height:38px;line-height:1.1}
.footer-controls #counter{margin:0 0 0 4px;font-size:11px;font-variant-numeric:tabular-nums}
/* The first wordmark is transparent. The other variants carry their own background. */
.logo-canvas,.logo-canvas.light,.logo-canvas.dark,.logo-canvas.red{background:transparent!important;justify-content:center;padding:18px 0}
.logo-canvas img{width:58%;max-height:none;object-fit:contain;object-position:center center;transform-origin:center center;transition:transform .18s ease;flex:none}
/* Four framed files contain 98/2000px horizontal and 75/630px vertical margins. */
.logo-canvas img.framed-logo{width:calc(58% * 1.108647)}
.preview-meta #previewLabel{margin-left:auto}
.sentence{display:block}.sentence+.sentence{margin-top:4px}
.motif-block,.profile-block{flex:0 0 auto}
.identity-bottom{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:clamp(18px,4vw,70px)}
.motif-block img{width:min(100%,145px);height:auto}
.profile-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(12px,2vw,30px);justify-content:initial}
.profile-block figure{width:auto;max-width:145px}.profile-block img{width:100%;aspect-ratio:1;object-fit:contain}
.profile-block figcaption{font-size:10px;white-space:nowrap}
.type-intro h3{font-synthesis:none;font-weight:700;letter-spacing:-.04em}
.type-examples{clear:both}
#resetType{display:block;margin:0 0 10px auto;text-align:right}
.feed-panel>.feed-mode{flex:none;display:flex;align-self:flex-end;gap:18px;margin:0 0 12px;padding:0;border-bottom:1px solid #d5d1c9}
.feed-panel>.feed-mode button{background:none;color:#6a625a;border:0;border-bottom:2px solid transparent;padding:6px 0 8px;font:700 10px/1.1 var(--ui-text);letter-spacing:.02em;white-space:nowrap}
.feed-panel>.feed-mode button.selected{background:none;color:var(--ui-red);border-bottom-color:var(--ui-red)}
.feed-panel.clean{background:transparent;padding:16px 22px}
.feed-panel.clean .feed-top{display:none}
.feed-panel.clean .feed-filters{padding-top:0}
@media(max-width:700px){.footer-face img{height:27px}.footer-face{height:34px}.footer-controls{height:42px;gap:8px}.footer-controls button{width:28px;height:38px}.footer-controls button svg{width:20px;height:20px}.footer-controls #counter{font-size:10px;margin:0}
.logo-canvas img{width:70%}.logo-canvas img.framed-logo{width:calc(70% * 1.108647)}
.identity-bottom{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;align-items:start}.motif-block img{width:min(100%,100px)}.profile-block{gap:10px}.profile-block figcaption{font-size:8px;line-height:1.2;white-space:normal}.motif-block>span{font-size:9px;margin-bottom:9px}
.feed-panel>.feed-mode{gap:12px}.feed-panel>.feed-mode button{font-size:9px}
}
@media(max-width:430px){.lang-switch{width:78px;flex-basis:78px}.lang-switch button{min-width:0}.masthead-right{gap:6px}.icon-button{width:26px}.identity-bottom{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:9px}.motif-block img{width:min(100%,80px)}.profile-block{gap:8px}.profile-block figcaption{font-size:7px}}
@media(max-height:550px) and (orientation:landscape){.footer-face img{height:26px}.identity-bottom{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.motif-block img{width:100px}}
@media(prefers-reduced-motion:reduce){.lang-switch::before,.lang-switch button,.footer-controls button,.logo-canvas img{transition:none}}
