/* entrance.css · the live Home entrance rules (d7ff474), extracted by build/entrance.py · 2026-11-30 v1 */
#entrance{--paper:#F4F1EA;--ink:#0B0C10;--mute:#6B6A66;--g:16px;--ease:cubic-bezier(.22,.61,.24,1);}
@media (min-width:700px){#entrance{--g:40px;}}
@media (min-width:1200px){#entrance{--g:64px;}}
#entrance{--paper:#F4F1EA;--ink:#0B0C10;--mute:#6B6A66;--g:16px;--ease:cubic-bezier(.22,.61,.24,1);}
@media (min-width:700px){#entrance{--g:40px;}}
@media (min-width:1200px){#entrance{--g:64px;}}
#entrance{--t-big:clamp(2.125rem,1rem + 3.4vw,4rem);--t-text:clamp(1rem,0.94rem + 0.2vw,1.125rem);--lh-big:1.08;--lh-text:1.55;}
#entrance{--t-big: clamp(2.125rem, 1rem + 3.4vw, 4rem);--t-text: clamp(1rem, 0.94rem + 0.2vw, 1.125rem);--lh-big: 1.08;--lh-text: 1.55;}
#entrance{--ui31-title:clamp(36px,4.4vw,64px);}
html:not(#_t) body :is(.en-sr,.sr-only,.visually-hidden){font-size:1px !important;}
.en-desk{display:none}
@media (min-width:761px){html.en-desk-on #en-host{display:none}html.en-desk-on .en-desk{display:block}html.en-desk-on .en-desk .en-txt{max-width:38%}}
@media (max-width:760px){html.en-desk-on #en-host{display:none}html.en-desk-on .en-desk{display:block}html.en-desk-on .en-desk .en-txt{right:var(--g,16px)}}
html.en-desk-on #entrance{background:#0B0D11}
html.en-desk-on .en-desk{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#0B0D11;color:#fff}
.en-desk .en-film{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;background:#0B0D11}
html.en-desk-on .en-desk.vid,.en-desk.vid .en-film{background:#08090F}
.en-desk .en-txt{position:absolute;z-index:1;left:var(--g,40px);top:clamp(96px,14vh,140px);margin:0;pointer-events:none;opacity:0;transition:opacity .45s linear}
.en-desk.on .en-txt{opacity:1}
html:not(#_t) body .en-desk .en-nm{margin:0;max-width:none;color:#fff;font:600 var(--t-big)/var(--lh-big,1.08) "Jost","Jost fallback",system-ui,sans-serif !important;letter-spacing:-.015em !important}
html:not(#_t) body .en-desk .en-tt{margin:.5em 0 0;max-width:none;color:rgba(255,255,255,.72);font:400 var(--t-text)/var(--lh-text,1.55) "Inter","Inter fallback",system-ui,sans-serif !important}
.en-desk .en-ctl{position:absolute;z-index:2;right:calc(var(--g,40px) - 12px);bottom:clamp(8px,3vh,28px);display:flex;gap:4px}
html:not(#_t) body .en-desk .en-ctl button{min-height:44px;min-width:44px;margin:0;padding:0 12px;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;color:rgba(255,255,255,.72);font:600 var(--t-text)/1 "Inter","Inter fallback",system-ui,sans-serif !important}
html:not(#_t) body .en-desk .en-ctl button:hover{color:#fff}
.en-desk .en-ctl button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.en-desk .en-ctl button[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.en-desk .en-txt{transition:none}}
html:not(#_t) body :is(.en-sr, .sr-only, .visually-hidden){ font-size: 1px !important; }
.en-desk{display:none}
@media (min-width:761px){html.en-desk-on #en-host{display:none}html.en-desk-on .en-desk{display:block}html.en-desk-on .en-desk .en-txt{max-width:38%}}
@media (max-width:760px){html.en-desk-on #en-host{display:none}html.en-desk-on .en-desk{display:block}html.en-desk-on .en-desk .en-txt{right:var(--g,16px)}}
html.en-desk-on #entrance{background:#0B0D11}
html.en-desk-on .en-desk{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#0B0D11;color:#fff}
.en-desk .en-film{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;background:#0B0D11}
html.en-desk-on .en-desk.vid,.en-desk.vid .en-film{background:#08090F}
.en-desk .en-txt{position:absolute;z-index:1;left:var(--g,40px);top:clamp(96px,14vh,140px);margin:0;pointer-events:none;opacity:0;transition:opacity .45s linear}
.en-desk.on .en-txt{opacity:1}
html:not(#_t) body .en-desk .en-nm{margin:0;max-width:none;color:#fff;font:600 var(--t-big)/var(--lh-big,1.08) "Jost",system-ui,sans-serif !important;letter-spacing:-.015em !important}
html:not(#_t) body .en-desk .en-tt{margin:.5em 0 0;max-width:none;color:rgba(255,255,255,.72);font:400 var(--t-text)/var(--lh-text,1.55) "Inter",system-ui,sans-serif !important}
.en-desk .en-ctl{position:absolute;z-index:2;right:calc(var(--g,40px) - 12px);bottom:clamp(8px,3vh,28px);display:flex;gap:4px}
html:not(#_t) body .en-desk .en-ctl button{min-height:44px;min-width:44px;margin:0;padding:0 12px;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;
  color:rgba(255,255,255,.72);font:600 var(--t-text)/1 "Inter",system-ui,sans-serif !important}
html:not(#_t) body .en-desk .en-ctl button:hover{color:#fff}
.en-desk .en-ctl button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.en-desk .en-ctl button[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.en-desk .en-txt{transition:none}}
html:not(#_t) body.ui31 :is(h1,h1 *):not(.en-sr,.sr-only,.visually-hidden){font-size:var(--ui31-title)!important;line-height:1.12!important;letter-spacing:-.02em!important}
html:not(#_t) body.ui31 :is(.en-sr,.sr-only,.visually-hidden){font-size:1px!important}
@media(max-width:760px){html:not(#_t) body.ui31 .jr-id .jr-nm{font-size:28px!important;line-height:1.15!important}html:not(#_t) body.ui31 .jr-id :is(.jr-tt,.jr-l29){font-size:14px!important;line-height:1.45!important;max-width:34ch}html:not(#_t) body.ui31 .jr-id a.jr-go{font-size:16px!important;line-height:1.4!important;margin-top:8px}html:not(#_t) body.ui31 .jr-id a.hr27-reel{margin-right:16px}}
html:not(#_t) body.ui31 :is(.jr-l29,.en-l29){display:none!important}
html:not(#_t) body.ui31 .en-desk .en-act{top:auto!important;bottom:24px!important;left:var(--g,40px)!important;gap:32px}
html:not(#_t) body.ui31 .en-act a{font-size:16px!important;font-weight:400!important}
.ui31-entry-actions{display:none}
@media(max-width:760px){html:not(#_t) body.ui31 .ui31-entry-actions{display:flex;position:absolute;z-index:41;top:calc(100svh - 76px - env(safe-area-inset-bottom,0px));left:20px;right:20px;justify-content:space-between;align-items:center;gap:16px}html:not(#_t) body.ui31 .ui31-entry-actions a{display:inline-flex;align-items:center;min-height:44px;margin:0;color:#F7F5F1;font:400 16px/1.4 Jost,system-ui,sans-serif!important;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;white-space:nowrap}.ui31-entry-actions a:focus-visible{outline:2px solid #00c8d7;outline-offset:4px}}
html:not(#_t) body.ui31 .en-desk .en-ctl button{font-size:0!important}
.en-ctl button::after{content:attr(data-ui31-icon);font:400 20px/1 system-ui}
.ui31-entry-actions{pointer-events:none}
.ui31-entry-actions a{pointer-events:auto}
html body.home2.ui31 #entrance{height:100vh!important;height:100svh!important}
@media (max-width:760px){.en-nojs{padding-top:44px!important}}
.en-desk .en-txt{transition:none!important}
.jr-id{display:none}
@media (max-width:760px){.jr-id{display:block;position:fixed;left:20px;right:20px;top:calc(env(safe-area-inset-top,0px) + 84px);z-index:40;color:#F7F5F1;pointer-events:none}.jr-id p{margin:0;max-width:none}.jr-id .jr-nm{font-family:"Jost",system-ui,sans-serif;font-weight:600}.jr-id .jr-tt{font-family:"Inter",system-ui,sans-serif;font-weight:400;color:rgba(247,245,241,.72)}.jr-id .jr-go{pointer-events:auto;display:inline-flex;align-items:center;min-height:44px;font-family:"Jost",system-ui,sans-serif;font-weight:500;color:#F7F5F1;text-decoration:none}.jr-id .jr-go span{color:#00C8D7}.jr-id .jr-go:focus-visible{outline:2px solid #00C8D7;outline-offset:4px}body.jr-away .jr-id,.hdr.open~main .jr-id{display:none}}
html:not(#_t) body .jr-id .jr-nm{font-size:var(--t-big)!important;line-height:var(--lh-big)!important;letter-spacing:-.02em!important}
html:not(#_t) body .jr-id .jr-tt{margin-top:8px!important}
.en-desk .en-act{position:absolute;z-index:2;left:var(--g,40px);top:calc(clamp(96px,14vh,140px) + 130px);display:flex;gap:40px;align-items:center;margin:0;visibility:hidden}
.en-desk.on .en-act{visibility:visible}
.en-act a{display:inline-flex;align-items:center;min-height:44px;font-family:Jost,system-ui,sans-serif;font-weight:600;font-size:var(--t-text);color:#FFFFFF;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.en-act a:focus-visible,.jr-id a.hr27-reel:focus-visible{outline:2px solid #F7F5F1;outline-offset:4px}
.jr-id a.jr-go{display:flex;width:max-content}
.r29-p{display:none}
@media (max-width:760px){.r29-d{display:none}.r29-p{display:inline}}
.jr-id .jr-go span.r29-d,.jr-id .jr-go span.r29-p{color:inherit}
html:not(#_t) body .en-desk .en-l29{margin:.5em 0 0;max-width:none;color:rgba(247,245,241,.86);font:400 var(--t-text)/var(--lh-text,1.55) "Inter",system-ui,sans-serif !important;text-wrap:balance}
html:not(#_t) body .jr-id .jr-l29{margin:8px 0 0;max-width:none;color:rgba(247,245,241,.86);font-family:"Inter",system-ui,sans-serif;font-weight:400;text-wrap:balance}
@media (max-width:760px){html:not(#_t) body .jr-id a.jr-go{display:inline-flex;width:auto;min-height:44px;vertical-align:top}html:not(#_t) body .jr-id a.jr-go.hr27-reel{margin-right:24px}}

/* sampled from live at 390 and 700 (set by rules this extractor does not read) */
@media (max-width:760px){#entrance{--t-text:16px;--ui31-title:36px}}
/* Home only (HOME-WORK session): the live header sat over the entrance film with no bar; the kit header does the same here
   while the entrance is on screen (body.en-top), then is the kit header. */
#entrance{font-size:var(--t-text);line-height:1.55;color:#0B0C10}
body.home2 .hdr{position:fixed;left:0;right:0}
body.home2.en-top:not(.hdr-on) .hdr{background:transparent;border-bottom-color:transparent}

/* Entrance B (WM4 and Tony's Home, 3 Dec): the words and both links on the header's left line, the controls' glyphs on its right line.
   Same formula as the kit's .wrap; per cent, so a scroll bar counts. The film and its signals are not touched. Phone (760 and below) as before. */
@media (min-width:761px){
  html:not(#_t) body.ui31.home2 .en-desk .en-txt,html:not(#_t) body.ui31.home2 .en-desk .en-act{left:max(clamp(20px,5vw,72px),calc(50% - 648px))!important}
  html:not(#_t) body.ui31.home2 .en-desk .en-ctl{right:calc(max(clamp(20px,5vw,72px),calc(50% - 648px)) - 12px)!important}
}
