@font-face{font-family:Study Plex;src:url('assets/portfolio/plex-mono.ttf') format('truetype');font-weight:400;font-display:swap}
.sfday .copy[data-font]{--name-font:Reading Mono,monospace;--name-weight:300}
.sfday .copy[data-font] h1{font-family:var(--name-font);font-weight:var(--name-weight);letter-spacing:-.065em;font-size:clamp(40px,4.1vw,58px);font-style:normal}
.sfday .copy[data-font] .intro,.sfday .copy[data-font] .links{font-family:var(--name-font);font-weight:400;letter-spacing:-.025em}
.sfday .copy[data-font=regular]{--name-weight:400}
.sfday .copy[data-font=airy] h1{font-size:clamp(36px,3.8vw,54px);letter-spacing:-.025em}
.sfday .copy[data-font=airy] .intro,.sfday .copy[data-font=airy] .links{letter-spacing:.025em;font-weight:300}
.sfday .copy[data-font=plex],.sfday .copy[data-font=terminal]{--name-font:Study Plex,monospace;--name-weight:400}
.sfday .copy[data-font=terminal] h1,.sfday .copy[data-font=terminal] .intro,.sfday .copy[data-font=terminal] .links{text-transform:lowercase}
.font-study{position:fixed;z-index:20;bottom:12px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:12px 16px;background:#fffffff5;border:1px solid #dce2e8;border-radius:10px;box-shadow:0 6px 25px #15253b18;color:#39485a;font:11px Geist,Arial,sans-serif}
.font-options{display:flex;gap:6px;overflow:auto}.font-options button{border:1px solid #dce2e8;border-radius:5px;background:white;padding:8px 12px;font:inherit;white-space:nowrap;color:inherit}.font-options button[aria-pressed=true]{background:#34485f;color:#fff;border-color:#34485f}.font-study p{font-size:11px;margin:10px 0 0;line-height:1.5}
@media(max-width:600px){.font-study{width:calc(100% - 24px);padding:10px}.font-options button{padding:8px}.sfday .copy[data-font] h1{font-size:34px;letter-spacing:-.07em}.sfday .copy[data-font=airy] h1{font-size:30px;letter-spacing:-.025em}}
@media(max-width:360px){.sfday .copy[data-font] h1{font-size:30px}.sfday .copy[data-font=airy] h1{font-size:27px}}
/* Give the two hero links a little more presence beside the name. */
.sfday .copy[data-font] .intro{font-size:15px}
.sfday .copy[data-font] .links{font-size:13px}
@media(max-width:600px){.sfday .copy[data-font] .intro{font-size:14px}}
