/* The signed-out home (A2, 2026-11; slice S4b1; board Welcome, WEL-1…6,
   .scratch/ui_wave1/project/Welcome.dc.html). templates/dashboard/welcome.html on Get started's own
   stage (static/css/a2/entry.css: .en, the band .tb, the riders .en-rd, the thread .en-th at the
   foot, the clickwrap .en-fr, and their view-transition names), so Get started never changes page.
   Here: the name, the one line and Get started at left 46%; the five parts as picture pearls on the
   thread (dashboard/partials/explore.html); the foot (questions, the documents) and the questions'
   sheet. Behaviour: static/js/a2/welcome.js.
   The landing page (LP, owner 2026-11-14; static/css/a2/landing.css): the same stage twice, the hero
   and the end (.lp-end, where the foot and the questions' sheet now live). The pearls are the page's
   index and open no door; the parts' doors, their stems and the showcase lessons' beads left with the
   one-way-in ruling (archive/landing_2026_11/). Board-local classes carry the we- prefix. Flat. */

.we{min-height:760px}
.we .tb{transition:opacity .4s}
.we-gg{display:inline-flex;align-items:center;gap:10px}
.we-gg svg{width:18px;height:18px;flex:none}
.we-sg{margin-left:6px}
.we.tk-go .we-gg{opacity:0;pointer-events:none;transition:opacity .3s}

/* -- the name, the one line, the one press ------------------------------------------------------- */

.we-hd{position:absolute;left:46%;right:3%;top:150px;z-index:3;transition:opacity .45s,transform .45s cubic-bezier(.5,0,.8,.4)}
.we.tk-go .we-hd{opacity:0;transform:translateY(-18px);pointer-events:none}
.we-h1{margin:0;font:800 72px/.98 var(--fd);letter-spacing:-.02em;color:var(--ink)}
.we-h1 em{font-style:normal}
.we-ln{margin:22px 0 0;max-width:720px;min-height:85px;font:500 20px/1.42 var(--fb);color:rgba(21,23,30,.84)}
.we-ln b{font-weight:800;color:var(--ink)}
.we-gs{margin-top:6px}
.we-gs form{display:contents}

/* -- what is inside: five things on the thread, artwork on their faces ----------------------------- */

.we-parts{position:absolute;left:0;right:0;bottom:166px;height:0;z-index:4}
.we-p{position:absolute;left:var(--x);bottom:0;width:0;height:0;transition:opacity .25s}
.we-p[data-we-part="road"]{--x:50%}
.we-p[data-we-part="missions"]{--x:60.5%}
.we-p[data-we-part="journeys"]{--x:71%}
.we-p[data-we-part="comics"]{--x:81.5%}
.we-p[data-we-part="own"]{--x:92%}
.we-pt{position:absolute;left:-64px;bottom:0;width:128px;height:176px;color:var(--ink)}
.we-pt canvas{position:absolute;left:16px;bottom:0;width:96px;height:96px;border-radius:50%;filter:drop-shadow(0 9px 9px rgba(10,14,40,.26));transform-origin:50% 100%;transition:transform .45s cubic-bezier(.3,1.5,.5,1)}
.we-pt:hover canvas,.we-pt:focus-visible canvas{transform:scale(1.06)}
.we-pt span{position:absolute;left:-20px;right:-20px;bottom:110px;text-align:center;font:800 19px/1.1 var(--fd);white-space:nowrap;transition:bottom .45s cubic-bezier(.3,1.5,.5,1),color .2s}
.we.tk-go .we-pt span{opacity:0;transition:opacity .2s}

/* -- the foot: questions and the documents on the left; the clickwrap where GS-D keeps it -------- */

.we-fl{position:absolute;left:28px;bottom:14px;z-index:5;display:flex;align-items:center;gap:18px;transition:opacity .4s}
.we-fl .qa{height:40px;font-size:15px}
.we-fl small{font:600 13px/1 var(--fb);color:var(--faint)}
.we:has(#we-faq:popover-open) [data-we-faq]{color:var(--ink);background-size:100% 2px}
.we.tk-go .we-fl{opacity:0;pointer-events:none}
.we .en-fr{z-index:5}

/* WEL-5: the questions open in a white sheet anchored to the word that opened them (a popover in
   the top layer, placed over the foot's left corner) */
.we-sh{position:fixed;inset:auto auto 66px 24px;z-index:40;width:540px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow:auto;margin:0;padding:14px 10px 12px;border:0;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 30px 60px -28px rgba(10,14,40,.5),0 2px 0 rgba(21,23,30,.04);transform-origin:40px 100%}
.we-sh:popover-open{animation:a2-unfurl .42s cubic-bezier(.3,1.4,.5,1) both}
.we-sh::backdrop{background:transparent}
.we-fq summary{display:block;padding:12px 18px;border-radius:16px;list-style:none;cursor:pointer;font:700 18px/1.25 var(--fb);color:rgba(21,23,30,.72);transition:background .15s}
.we-fq summary::-webkit-details-marker{display:none}
.we-fq summary:hover{background:rgba(21,23,30,.05)}
.we-fq[open] summary{color:var(--ink)}
.we-fq p{margin:-6px 0 0;padding:0 18px 12px;font:500 16px/1.4 var(--fb);color:var(--mut)}
.we-shg{display:none}

/* -- the take: after Get started the stage is GS-D's (the next page draws the question) ------------ */

.we.tk-go .en-fr{transition:none}

/* -- in between (700–1100px): the structure stays, the parts close up ---------------------------- */

@media (max-height:819px) and (min-width:700px) and (orientation:landscape),(max-height:819px) and (min-width:1200px){
  .we-hd{top:112px}
}
@media (max-width:1099px) and (min-width:700px) and (orientation:landscape){
  .we-hd{left:42%;top:118px}
  .we-h1{font-size:clamp(44px,5.4vw,60px)}
  .we-ln{font-size:18px;min-height:102px}
  .we-p[data-we-part="road"]{--x:44%}
  .we-p[data-we-part="missions"]{--x:56%}
  .we-p[data-we-part="journeys"]{--x:68%}
  .we-p[data-we-part="comics"]{--x:80%}
  .we-p[data-we-part="own"]{--x:92%}
  .we-pt{left:-48px;width:96px;height:140px}
  .we-pt canvas{left:10px;width:76px;height:76px}
  .we-pt span{bottom:88px;font-size:16px}
  .we-fl{gap:12px}
}

/* -- below 700px: one column. The hero (LP): the headline, the line, the press and its clickwrap, the riders,
   then the five pearls on their thread at the foot (all five, sized to fit), their strings leaving the
   screen. The end: the same column with the foot under the riders. ----------------------------------- */

@media (max-width:699px),(orientation:portrait) and (max-width:1199px){
  .we{min-height:0}
  .we-tb .we-gg{display:none}
  .we-hd{position:relative;left:auto;right:auto;top:auto;padding:24px 16px 0}
  .we-h1{font-size:38px;line-height:1}
  .we-ln{margin-top:14px;min-height:0;font-size:17px}
  .we-gs{margin-top:10px}
  /* the press's size on a phone: landing.css THE PRESS */
  .we.tk-go .we-hd{transform:none}
  /* the clickwrap under the press, in the press's column */
  .we .en-fr{position:relative;left:auto;right:auto;bottom:auto;max-width:none;margin:6px 0 0;padding:0 16px;text-align:left;font-size:12px;line-height:1.4}
  /* the riders: a small figure on their own stretch of thread */
  .we .en-ft{position:relative;inset:auto;z-index:auto;flex:none;height:150px;margin-top:auto}
  .we .en-rd{--rs:.34;left:4px;bottom:28px}
  .we .en-th{bottom:30px}
  /* the five pearls: one row on their own thread at the foot, each in a fifth of the width */
  .we-parts{position:relative;left:auto;right:auto;bottom:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:auto;padding:0 8px 34px;background:linear-gradient(rgba(21,23,30,.2),rgba(21,23,30,.2)) 0 calc(100% - 34px - 1px)/100% 2px no-repeat}
  .we-p{position:relative;left:auto;bottom:auto;width:auto;height:88px}
  .we-pt{left:50%;width:70px;height:88px;margin-left:-35px}
  .we-pt canvas{left:8px;width:54px;height:54px}
  .we-pt span{left:-4px;right:-4px;bottom:62px;font-size:14px;letter-spacing:-.01em}
  /* the end: the foot under the riders, the questions' sheet over the foot */
  .we-fl{position:relative;left:auto;bottom:auto;flex-wrap:wrap;justify-content:center;gap:2px 18px;padding:4px 16px calc(14px + env(safe-area-inset-bottom,0px))}
  .we-fl small{flex-basis:100%;text-align:center;margin-top:2px}
  .we-sh{inset:auto 8px calc(84px + env(safe-area-inset-bottom,0px)) 8px;width:auto;max-width:none;max-height:calc(100dvh - 120px)}
  .we-shg{display:flex;justify-content:center;padding:6px 0 4px}
}

@media (prefers-reduced-motion:reduce){
  .we-hd,.we-pt canvas,.we-pt span,.we-sh:popover-open{transition:none;animation:none}
}
