/* Page intermédiaire : les trois portes des univers. */
.hub-page .frame{min-height:100svh;overflow:hidden}.hub-page header{height:68px}.hub-page .orbit-background{width:80vw;height:80vw;top:calc(44svh - 40vw)}
.hub-main{position:relative;margin:0 auto;max-width:1450px}.hub-heading{text-align:center;margin-top:-7px}.hub-heading h1{position:static;transform:none;font-size:38px;font-weight:300;letter-spacing:1em;padding-left:1em;line-height:1.25}.hub-heading>p{font-size:11px;letter-spacing:.62em;margin:8px 0 34px}.hub-heading h2{font-size:12px;font-weight:400;letter-spacing:.65em;margin:0 0 12px}
.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 9%}.universe-portal{display:block;min-width:0;padding:0;text-align:center;position:relative;align-self:start}.portal-art{width:100%;aspect-ratio:1/1.03;position:relative}.portal-art canvas{display:block;width:100%;height:100%;transition:transform .7s;pointer-events:none}
.universe-portal h3{font-size:14px;font-weight:400;line-height:1.7;letter-spacing:.48em;padding-left:.48em;margin:0;min-height:48px}.portal-rule{display:block;width:20px;height:1px;background:#444;margin:10px auto 13px}.universe-portal p{font-size:10px;letter-spacing:.28em;line-height:1.9;margin:0;min-height:39px}.portal-gate{position:relative;display:block;width:16px;height:16px;border:1px solid #111;border-radius:50%;margin:38px auto 0;transition:background .3s,transform .5s}.portal-gate:before{content:'';position:absolute;left:7px;bottom:25px;height:23px;width:1px;background:#666}.portal-gate:after{content:'';position:absolute;width:2px;height:3px;background:#555;left:6px;top:30px}.portal-action{display:block;font-size:9px;letter-spacing:3px;margin-top:20px;opacity:0;translate:0 6px;transition:opacity .3s,translate .3s}
.universe-portal:hover canvas,.universe-portal:focus-visible canvas{transform:scale(1.045)}.universe-portal:hover .portal-gate,.universe-portal:focus-visible .portal-gate{background:#111;transform:scale(1.15)}.universe-portal:hover .portal-action,.universe-portal:focus-visible .portal-action{opacity:1;translate:0 0}
.hub-note{position:absolute;left:1%;top:140px}.hub-note:after{content:'';display:block;width:20px;height:1px;background:#888;margin-top:20px}.hub-page .edge-note{top:165px}.hub-main .page-index{left:0;top:48%}.hub-main .page-index .current{font-size:12px}.hub-main .page-index .current:after{left:40px}
.hub-connection{text-align:center;margin:45px auto 0;width:56%;position:relative}.hub-connection>span{display:block;height:1px;background:#555;position:relative}.hub-connection>span:before{content:'';position:absolute;left:50%;top:-7px;width:15px;height:15px;border-radius:50%;background:#111;animation:index-breathe 4s infinite}.hub-connection>span:after{content:'';position:absolute;left:calc(50% + 7px);top:-25px;width:1px;height:50px;background:#555}.hub-connection p{font-size:10px;letter-spacing:.4em;margin:34px 0 0}.hub-page footer{min-height:95px}.hub-page #motion{bottom:14px}.hub-page #motion>span{display:none}.hub-grid{animation:portal-arrive 1.2s .15s both}.page-leaving .hub-grid{transform:scale(1.035);opacity:0;transition:transform .6s,opacity .6s}
@media(min-width:1500px){.hub-heading>p{margin-bottom:40px}.hub-grid{margin-inline:7%}.hub-heading h1{font-size:40px}.hub-page .frame{min-height:940px}.hub-page footer{min-height:115px}}
@media(max-width:1100px){.hub-grid{margin-inline:7%;gap:9px}.hub-note{display:none}.universe-portal h3{font-size:11px;letter-spacing:.3em}.universe-portal p{font-size:8px;letter-spacing:.2em}.hub-heading h1{font-size:30px}.hub-page header{height:105px}.hub-main .page-index{left:-8px}.hub-page footer .annotation{font-size:8px}}
@media(max-width:700px){.hub-page header{height:140px}.hub-heading h1{font-size:27px;letter-spacing:.55em;padding-left:.55em}.hub-heading>p{font-size:8px;letter-spacing:.3em;margin-bottom:25px}.hub-heading h2{font-size:9px;letter-spacing:.33em}.hub-grid{grid-template-columns:1fr;max-width:380px;margin:20px auto 0;gap:45px}.portal-art{max-width:360px;margin:auto}.universe-portal h3{font-size:14px;letter-spacing:.4em;min-height:0}.universe-portal p{font-size:10px}.portal-action{opacity:1;translate:none}.hub-main .page-index{display:none}.hub-page footer{min-height:140px}.hub-connection{width:80%;margin-top:36px}.hub-page #motion{bottom:60px}.hub-page .orbit-background{width:220vw;height:220vw;top:30px}.hub-page .frame{min-height:100svh}.hub-page .edge-note{display:none}}

.hub-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));margin-inline:4%;gap:20px}.hub-grid-four h3{font-size:12px;letter-spacing:.25em}.hub-grid-four p{font-size:9px}.hub-page .frame{overflow:clip}@media(min-width:701px) and (max-width:1150px){.hub-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px;margin:auto;gap:35px}}@media(max-width:700px){.hub-grid-four{grid-template-columns:1fr;margin:20px auto;gap:45px}.hub-grid-four h3{font-size:14px}}
/* Un grand cercle décoratif prend naissance sous les médaillons. */
@media(min-width:701px){.hub-page .orbit-background{width:80vw;height:80vw;top:62%;border-color:#bfc0c2}}


@media(min-width:701px) and (max-width:1150px){.hub-page .orbit-background{top:80%}}

