.lab[data-study=type]{--type-pen:#d4664a;--type-serif:var(--font-literata), Georgia, serif}.lab[data-study=type] .type-bench{padding:clamp(40px,7vw,88px) clamp(16px,4vw,40px) 80px}.lab[data-study=type] .type-head{text-align:center;justify-items:center;gap:14px;max-width:62ch;margin:0 auto 48px;display:grid}.lab[data-study=type] .type-head p{margin:0}.lab[data-study=type] .type-kicker{color:var(--lab-accent);font:500 14px/1 var(--lab-ui);letter-spacing:.16em;text-transform:uppercase}.lab[data-study=type] .type-title{color:var(--lab-heading);font:600 clamp(36px, 6vw, 60px)/1 var(--lab-ui);letter-spacing:.01em}.lab[data-study=type] .type-intro{color:var(--lab-muted);line-height:1.6}.lab[data-study=type] .type-field{text-align:left;gap:8px;width:min(100%,560px);margin-top:12px;display:grid}.lab[data-study=type] .type-field span{color:var(--lab-muted);font:500 13px/1 var(--lab-ui);letter-spacing:.14em;text-transform:uppercase}.lab[data-study=type] .type-field input{border:1.5px solid var(--lab-stroke);background:var(--lab-field);width:100%;color:var(--lab-text);font:400 17px/1.3 var(--type-serif);padding:13px 16px;transition:border-color .2s}.lab[data-study=type] .type-field input:focus{border-color:var(--lab-accent);outline:none}.lab[data-study=type] .type-samples{text-align:center;max-width:1180px;margin:72px auto 0}.lab[data-study=type] .type-samples h2{color:var(--lab-heading);font:600 clamp(28px, 3.5vw, 38px)/1.05 var(--lab-ui);margin:0 0 10px}.lab[data-study=type] .type-samples>p{color:var(--lab-muted);margin:0 0 28px}.lab[data-study=type] .type-samples ul{text-align:left;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.lab[data-study=type] .type-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}.lab[data-study=type] .type-spec .spec-head h2{font:600 22px/1 var(--lab-ui);letter-spacing:.02em;margin:0}.lab[data-study=type] .type-spec .spec-demo{min-height:230px}.lab[data-study=type] .type-control{border:1px solid var(--lab-stroke);color:var(--lab-muted);font:500 13px/1 var(--lab-ui);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:0 0;margin-left:auto;padding:7px 12px;transition:color .2s,border-color .2s}.lab[data-study=type] .type-control:hover{border-color:var(--lab-accent);color:var(--lab-text)}:where(.lab[data-study=type],.pv) :is(.type-retype,.type-shuffle,.type-weight,.type-rise,.type-revise){margin:0}.lab[data-study=type] .type-spec :is(.type-retype,.type-shuffle,.type-weight,.type-rise,.type-revise){overflow-wrap:anywhere;max-width:17ch;font:400 clamp(26px, 2.6vw, 32px)/1.25 var(--type-serif);text-align:center;text-wrap:balance}:where(.lab[data-study=type],.pv) .type-word-body{white-space:nowrap}:where(.lab[data-study=type],.pv) .type-word-body[data-long]{white-space:normal}:where(.lab[data-study=type],.pv) .type-ch{display:inline-block}.lab[data-study=type] .type-spec .type-retype{text-align:left;text-wrap:wrap;min-height:3.75em}:where(.lab[data-study=type],.pv) .type-caret{vertical-align:-.16em;background:var(--lab-accent);width:2px;height:1.05em;margin-left:2px;display:inline-block}:where(.lab[data-study=type],.pv) .type-shuffle{position:relative}:where(.lab[data-study=type],.pv) .type-ghosts{pointer-events:none;position:absolute;inset:0}:where(.lab[data-study=type],.pv) .type-ghost{color:var(--lab-muted);position:absolute;top:0;left:0}.lab[data-study=type] .type-spec[data-type=flap] .spec-demo{container-type:inline-size}.lab[data-study=type] .type-spec .type-board{--cell-w:min(21px, (100cqi - 20px - (var(--cols) - 1) * 2px) / var(--cols))}:where(.lab[data-study=type],.pv) .type-board{--cell-w:21px;--cell-h:calc(var(--cell-w) * 1.5);background:#11110f;border-radius:8px;padding:10px;display:grid;box-shadow:inset 0 0 0 1px #2a2925,0 10px 30px -18px #000}:where(.lab[data-study=type],.pv) .type-board-row{gap:2px;margin-bottom:3px;display:flex}:where(.lab[data-study=type],.pv) .type-board-row:last-child{margin-bottom:0}:where(.lab[data-study=type],.pv) .type-flap{width:var(--cell-w);height:var(--cell-h);color:#f1e6cf;font:600 calc(var(--cell-h) * .72) / 1 var(--lab-ui);perspective:120px;position:relative}:where(.lab[data-study=type],.pv) .type-flap-half{backface-visibility:hidden;background:#22211e;height:50%;position:absolute;left:0;right:0;overflow:hidden}:where(.lab[data-study=type],.pv) .type-flap-half>span{height:var(--cell-h);line-height:var(--cell-h);text-align:center;display:block}:where(.lab[data-study=type],.pv) .type-flap-top{transform-origin:50% 100%;border-radius:2px 2px 0 0;top:0}:where(.lab[data-study=type],.pv) .type-flap-bottom{transform-origin:50% 0;background:#1d1c19;border-radius:0 0 2px 2px;bottom:0}:where(.lab[data-study=type],.pv) .type-flap-bottom>span{translate:0 -50%}.pv .pv-headline:has(>.type-board){justify-self:stretch;container-type:inline-size}.pv .pv-headline.sample-spot>.type-board{--cell-w:min(34px, (100cqi - 20px - (var(--cols) - 1) * 2px) / var(--cols));width:fit-content;max-width:none;min-height:0}:where(.lab[data-study=type],.pv) .type-flap:after{content:"";background:#0b0b0a;height:1px;position:absolute;top:calc(50% - .5px);left:0;right:0}:where(.lab[data-study=type],.pv) .type-weight,.lab[data-study=type] .type-spec .type-weight{font-family:var(--font-literata-flex), var(--font-literata), Georgia, serif;font-variation-settings:"wght" 250;touch-action:pan-y;cursor:crosshair}:where(.lab[data-study=type],.pv) .type-rise{position:relative}.lab[data-study=type] .type-spec .type-rise{width:100%;font-weight:600;line-height:1.2}:where(.lab[data-study=type],.pv) .type-rise-measure,:where(.lab[data-study=type],.pv) .type-rise-lines{font:inherit;letter-spacing:inherit;margin:0}:where(.lab[data-study=type],.pv) .type-rise-measure{visibility:hidden;position:absolute;inset:0 0 auto}:where(.lab[data-study=type],.pv) .type-rise-line{margin-bottom:-.14em;padding-bottom:.14em;display:block;overflow:clip}:where(.lab[data-study=type],.pv) .type-rise-inner{transform-origin:0 100%;display:inline-block}:where(.lab[data-study=type],.pv) .type-read-text{margin:0}:where(.lab[data-study=type],.pv) .type-read-word{display:inline-block}:where(.lab[data-study=type],.pv) .type-read[data-variant=box]{overscroll-behavior:contain;scrollbar-width:thin;border-radius:10px;width:100%;height:230px;overflow-y:auto;-webkit-mask:linear-gradient(#0000,#000 18% 82%,#0000);mask:linear-gradient(#0000,#000 18% 82%,#0000)}:where(.lab[data-study=type],.pv) .type-read[data-variant=box] .type-read-text{font:600 22px/1.4 var(--type-serif);padding:96px 8px}:where(.lab[data-study=type],.pv) .type-ring{width:min(100%,250px);height:auto;overflow:visible}:where(.lab[data-study=type],.pv) .type-ring-mark{fill:var(--lab-accent);transform-box:view-box;transform-origin:108px 132.16px;transform:scale(.82)}:where(.lab[data-study=type],.pv) .type-ring-spin{transform-box:view-box;transform-origin:108px 132.16px}:where(.lab[data-study=type],.pv) .type-ring-text{fill:var(--lab-text);font:600 15px/1 var(--lab-ui);letter-spacing:.08em}:where(.lab[data-study=type],.pv) .type-revise{line-height:2.1}.pv .type-revise{padding-top:.55em;line-height:1.35}.pv .type-revise-new{font-size:.5em;bottom:92%}:where(.lab[data-study=type],.pv) .type-revise-word{line-height:1.25;display:inline-block;position:relative}:where(.lab[data-study=type],.pv) .type-revise-word[data-old]{color:var(--lab-muted)}:where(.lab[data-study=type],.pv) :is(.type-revise-strike,.type-revise-caret){fill:none;stroke:var(--type-pen);stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;position:absolute;overflow:visible}:where(.lab[data-study=type],.pv) .type-revise-strike{width:calc(100% + .2em);height:.5em;top:.32em;left:-.1em}:where(.lab[data-study=type],.pv) .type-revise-strike path,:where(.lab[data-study=type],.pv) .type-revise-caret path{vector-effect:non-scaling-stroke}:where(.lab[data-study=type],.pv) .type-revise-caret{width:.6em;height:.5em;bottom:-.42em;right:-.3em}:where(.lab[data-study=type],.pv) .type-revise-new{color:var(--type-pen);font:italic 400 .82em/1 var(--font-fell), Georgia, serif;white-space:nowrap;position:absolute;bottom:88%;left:0;rotate:-2deg}:where(.lab[data-study=type],.pv) .type-revise-set{color:var(--lab-accent)}@media (prefers-reduced-motion:no-preference){:where(.lab[data-study=type],.pv) .type-caret{animation:1.05s step-end infinite type-blink}:where(.lab[data-study=type],.pv) .type-caret[data-typing]{animation:none}:where(.lab[data-study=type],.pv) .type-flap-fall{z-index:1;animation:.12s ease-in both type-fall}:where(.lab[data-study=type],.pv) .type-flap-rise{z-index:1;animation:.12s ease-out 60ms both type-rise}:where(.lab[data-study=type],.pv) .type-revise-strike path,:where(.lab[data-study=type],.pv) .type-revise-caret path{stroke-dasharray:1 1.2;animation:type-pen .32s cubic-bezier(.6, 0, .3, 1) calc(var(--i,0) * .12s) both}:where(.lab[data-study=type],.pv) .type-revise-caret path{animation-duration:.22s;animation-delay:.46s}:where(.lab[data-study=type],.pv) .type-revise[data-phase=strike] .type-revise-new{visibility:hidden}:where(.lab[data-study=type],.pv) .type-revise[data-phase=write] .type-revise-new{animation:.9s cubic-bezier(.4,.1,.4,1) both type-write}:where(.lab[data-study=type],.pv) .type-revise-set{animation:1.6s ease-out both type-set}@keyframes type-blink{50%{opacity:0}}@keyframes type-fall{0%{transform:rotateX(0)}to{filter:brightness(.6);transform:rotateX(-90deg)}}@keyframes type-rise{0%{filter:brightness(1.4);transform:rotateX(90deg)}}@keyframes type-pen{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@keyframes type-write{0%{clip-path:inset(-20% 100% -20% 0)}to{clip-path:inset(-20% -5% -20% 0)}}@keyframes type-set{0%{color:var(--type-pen)}}}@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){:where(.lab[data-study=type],.pv) .type-read-word{animation:linear both type-ink;animation-timeline:view();animation-range:cover 30% cover 50%}:where(.lab[data-study=type],.pv) .type-read[data-variant=page] .type-read-word{animation-range:cover 50% cover 60%}@keyframes type-ink{0%{color:color-mix(in srgb, var(--lab-muted) 35%, transparent)}to{color:var(--lab-text)}}}}
