/* YTOKEN | the woven imprint. Drawn in real ink colours; no asset requests. */
.yt-brand,.yt-cover,.yt-passage{
  --yt-navy:#111a2d;--yt-cobalt:#244ce8;--yt-lilac:#b6bcff;--yt-sheet:#f8f6f2;
  --yt-fold:#505c89;--yt-cut:#737ff5;
}
.yt-brand{
  display:inline-flex;align-items:center;gap:.52rem;color:inherit;
  text-decoration:none;line-height:1;vertical-align:middle;white-space:nowrap;
}
.yt-brand svg,.yt-cover svg,.yt-passage svg{display:block;overflow:visible}
.yt-brand .yt-glyph{width:2.7rem;height:2.7rem;flex:none}
.yt-signature{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem}
.yt-brand .yt-letters{width:6.45rem;height:auto}
.yt-caption{padding-left:.03rem;font:550 .75rem/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.035em}
.yt-brand-large .yt-glyph{width:4.5rem;height:4.5rem}
.yt-brand-large .yt-letters{width:10.5rem}
.yt-brand-large .yt-caption{font-size:.95rem}
.yt-ink{fill:var(--yt-navy)}.yt-under{fill:var(--yt-fold)}.yt-blue{fill:var(--yt-cobalt)}
.yt-turn{fill:var(--yt-cut)}.yt-lilac{fill:var(--yt-lilac)}
.footer .yt-brand{--yt-navy:currentColor}
.yt-cover[hidden],.yt-passage[hidden]{display:none!important}
.yt-cover,.yt-passage{pointer-events:none!important}
.yt-cover{
  position:fixed;inset:0;z-index:130;overflow:hidden;display:grid;place-items:center;
  background:var(--yt-sheet);color:var(--yt-navy);opacity:0;visibility:hidden;
}
.yt-sheet{
  display:flex;flex-direction:column;justify-content:space-between;width:min(59rem,calc(100% - 12vw));
  height:min(38rem,78svh);padding:clamp(.65rem,1.5vw,1.2rem) 0;
  font:600 .8rem/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.03em;
  border-block:1px solid #aaaeba;
}
.yt-imprint-rail,.yt-sheet-foot{display:flex;align-items:center;gap:.7rem}
.yt-imprint-rail>span:last-child,.yt-ink-keys{margin-left:auto}
.yt-imprint-bar{width:1.65rem;height:.38rem;background:var(--yt-cobalt)}
.yt-impression{display:flex;align-items:center;align-self:center;gap:clamp(1rem,3.2vw,3.2rem);margin-block:1rem}
.yt-press-mark{position:relative;width:clamp(8rem,18vw,16.8rem);flex:none;aspect-ratio:1}
.yt-press-mark .yt-glyph,.yt-trace{width:100%;height:100%}
.yt-press-mark .yt-trace{position:absolute;inset:0;color:var(--yt-cobalt)}
.yt-opening-title{min-width:0;padding-top:.25rem}
.yt-opening-title .yt-letters{width:clamp(11rem,30vw,29rem);height:auto}
.yt-opening-descriptor{margin-top:clamp(.6rem,1.65vw,1.25rem);overflow:hidden;color:#364263;font-weight:530;letter-spacing:.025em;font-size:clamp(.85rem,1.65vw,1.4rem)}
.yt-opening-descriptor span{display:block}
.yt-ink-keys{display:flex;align-items:center}.yt-ink-keys i{display:block;width:.77rem;height:.77rem;background:var(--yt-navy)}
.yt-ink-keys i:nth-child(2){background:var(--yt-cobalt)}.yt-ink-keys i:last-child{background:var(--yt-lilac)}
.run-intro .intro.yt-cover{animation:yt-imprint-pass 1.62s ease-out both}
.run-intro .yt-cover .yt-left{animation:yt-plate-left .62s .23s cubic-bezier(.15,.85,.2,1) both}
.run-intro .yt-cover .yt-right{animation:yt-plate-right .64s .32s cubic-bezier(.15,.85,.2,1) both}
.run-intro .yt-cover .yt-tail{animation:yt-plate-tail .52s .43s cubic-bezier(.15,.85,.2,1) both}
.run-intro .yt-trace path{stroke-dasharray:1;animation:yt-tracing .94s ease-out both}
.run-intro .yt-opening-title .yt-letters{animation:yt-imprint-word .57s .4s cubic-bezier(.15,.85,.25,1) both}
.run-intro .yt-opening-descriptor span{animation:yt-imprint-credit .45s .56s ease-out both}
.yt-passage.route-flash{
  position:fixed;z-index:100;inset:0 0 auto;width:100%;height:4rem;
  display:block;background:none;border-radius:0;padding:0;overflow:hidden;isolation:isolate;
  opacity:0;visibility:hidden;color:var(--yt-sheet);
}
.route-away .route-flash.yt-passage{visibility:visible;opacity:1;animation:none}
.route-away::after{content:none!important}
.yt-route-strip{position:absolute;inset:0 0 auto;height:.24rem;background:var(--yt-cobalt);transform:scaleX(0);transform-origin:0 50%}
.yt-folio-tag{
  --yt-navy:var(--yt-sheet);--yt-fold:var(--yt-lilac);--yt-cobalt:var(--yt-lilac);
  --yt-cut:var(--yt-sheet);position:absolute;top:.24rem;right:max(1rem,4vw);
  display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .55rem .35rem;
  background:#111a2d;color:var(--yt-sheet);font:700 .75rem/1 system-ui,-apple-system,sans-serif;letter-spacing:.08em;
}
.yt-folio-tag .yt-glyph{width:1.06rem;height:1.06rem}
.route-away .yt-route-strip{animation:yt-leaf-edge .15s cubic-bezier(.35,0,.35,1) both}
.route-away .yt-folio-tag{animation:yt-stamp-in .135s cubic-bezier(.2,.8,.2,1) both}
@keyframes yt-imprint-pass{0%,77%{opacity:1;visibility:visible}99.9%{opacity:0;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes yt-tracing{0%{opacity:.9;stroke-dashoffset:1}63%{opacity:.75;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes yt-plate-left{from{transform:translate(-11px,-7px);opacity:0}to{transform:translate(0);opacity:1}}
@keyframes yt-plate-right{from{transform:translate(11px,-7px);opacity:0}to{transform:translate(0);opacity:1}}
@keyframes yt-plate-tail{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes yt-imprint-word{from{clip-path:inset(-4% 100% -4% 0);transform:translateX(-.22rem)}to{clip-path:inset(-4% 0 -4% 0);transform:translateX(0)}}
@keyframes yt-imprint-credit{from{opacity:0;transform:translateY(80%)}to{opacity:1;transform:translateY(0)}}
@keyframes yt-leaf-edge{to{transform:scaleX(1)}}
@keyframes yt-stamp-in{from{transform:translateY(-115%)}to{transform:translateY(0)}}
@media(max-width:520px){
 .yt-brand .yt-glyph{width:2.34rem;height:2.34rem}.yt-brand .yt-letters{width:5.75rem}
 .yt-caption{font-size:.75rem}.yt-cover .yt-sheet{width:calc(100% - 2.5rem);height:min(29rem,76svh)}
 .yt-impression{flex-direction:column;gap:1.25rem}.yt-opening-title{text-align:center}.yt-press-mark{width:clamp(6rem,24vw,9rem)}
 .yt-opening-title .yt-letters{width:clamp(9rem,51vw,14rem)}.yt-opening-descriptor{margin-top:.65rem}
}
@media(max-height:410px){.yt-sheet{height:86vh!important}.yt-impression{flex-direction:row;gap:1.3rem}.yt-press-mark{width:5rem}.yt-opening-title .yt-letters{width:9rem}.yt-opening-descriptor{margin-top:.35rem}}
@media(prefers-reduced-motion:reduce){.yt-cover,.yt-passage{display:none!important}}
@media print{.yt-cover,.yt-passage{display:none!important}}
