/* Homepage: the hello band, "What brought you here?" (a night sky: five arched plates on a constellation line), the hero
   path row and the subscribe band's alignment. Loads after wayfinding.css.
   The answers are radio inputs, labels and panels in triples inside .wb-pick; :checked switches the panel. */
.wb .dot{color:var(--navy);}
.wb-wrap{max-width:1160px;margin:0 auto;padding-left:clamp(22px,4.5vw,48px);padding-right:clamp(22px,4.5vw,48px);}
.wb .plate picture{display:block;width:100%;height:100%;}

/* 1 · hello */
.wb-hello{background:var(--art-paper);}
.wb-hello .wb-wrap{padding-top:clamp(64px,11svh,128px);padding-bottom:clamp(72px,12svh,136px);}
.wb-line{font-family:var(--disp);font-weight:520;font-size:clamp(1.9rem,4.5vw,3.6rem);line-height:1.07;letter-spacing:-.03em;color:var(--ink);
  max-width:19em;margin:0 0 clamp(30px,5svh,56px);text-wrap:balance;}
.wb-note{font-family:var(--text);font-size:clamp(1.14rem,1.75vw,1.5rem);line-height:1.55;color:var(--ink);max-width:33em;margin:0 0 .75em;}
.wb-note a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--line-strong);text-decoration-thickness:1px;text-underline-offset:4px;}
.wb-note a:hover{text-decoration-color:var(--navy);}
.wb-sig{font-family:'Style Script',cursive;font-size:clamp(2.8rem,5vw,3.8rem);line-height:.9;color:var(--gold);margin:0;}

/* 2 · what brought you here: the night section (look 7A, picked 11/16 from labs/home-paths-lab-2.html; squircle plates, no line under
   the card titles, and the open answer kept in frame: Joe, 11/16 evening).
   The dot field below is the still sky; the script swaps it for a moving canvas and adds .sky-on, then .seen on scroll-in. */
/* --sq is the macOS icon curve (a superellipse) as a polygon, so Safari and Firefox draw it too */
.wb-ways{--sq:polygon(100% 50%,99.95% 67.39%,99.80% 72.92%,99.54% 76.91%,99.18% 80.12%,98.71% 82.83%,98.14% 85.19%,97.46% 87.26%,96.66% 89.10%,95.74% 90.74%,94.70% 92.21%,93.53% 93.53%,92.21% 94.70%,90.74% 95.74%,89.10% 96.66%,87.26% 97.46%,85.19% 98.14%,82.83% 98.71%,80.12% 99.18%,76.91% 99.54%,72.92% 99.80%,67.39% 99.95%,50% 100%,32.61% 99.95%,27.08% 99.80%,23.09% 99.54%,19.88% 99.18%,17.17% 98.71%,14.81% 98.14%,12.74% 97.46%,10.90% 96.66%,9.26% 95.74%,7.79% 94.70%,6.47% 93.53%,5.30% 92.21%,4.26% 90.74%,3.34% 89.10%,2.54% 87.26%,1.86% 85.19%,1.29% 82.83%,0.82% 80.12%,0.46% 76.91%,0.20% 72.92%,0.05% 67.39%,0% 50%,0.05% 32.61%,0.20% 27.08%,0.46% 23.09%,0.82% 19.88%,1.29% 17.17%,1.86% 14.81%,2.54% 12.74%,3.34% 10.90%,4.26% 9.26%,5.30% 7.79%,6.47% 6.47%,7.79% 5.30%,9.26% 4.26%,10.90% 3.34%,12.74% 2.54%,14.81% 1.86%,17.17% 1.29%,19.88% 0.82%,23.09% 0.46%,27.08% 0.20%,32.61% 0.05%,50% 0%,67.39% 0.05%,72.92% 0.20%,76.91% 0.46%,80.12% 0.82%,82.83% 1.29%,85.19% 1.86%,87.26% 2.54%,89.10% 3.34%,90.74% 4.26%,92.21% 5.30%,93.53% 6.47%,94.70% 7.79%,95.74% 9.26%,96.66% 10.90%,97.46% 12.74%,98.14% 14.81%,98.71% 17.17%,99.18% 19.88%,99.54% 23.09%,99.80% 27.08%,99.95% 32.61%);
  position:relative;overflow:hidden;background-color:var(--navy-deep);
  background-image:
    radial-gradient(1.2px 1.2px at 6% 14%,rgba(207,168,119,.8) 50%,transparent 52%),
    radial-gradient(1px 1px at 17% 71%,rgba(254,249,241,.55) 50%,transparent 52%),
    radial-gradient(1.4px 1.4px at 29% 9%,rgba(254,249,241,.6) 50%,transparent 52%),
    radial-gradient(1px 1px at 41% 88%,rgba(207,168,119,.7) 50%,transparent 52%),
    radial-gradient(1.2px 1.2px at 58% 6%,rgba(207,168,119,.7) 50%,transparent 52%),
    radial-gradient(1px 1px at 66% 93%,rgba(254,249,241,.5) 50%,transparent 52%),
    radial-gradient(1.4px 1.4px at 79% 12%,rgba(254,249,241,.6) 50%,transparent 52%),
    radial-gradient(1px 1px at 88% 64%,rgba(207,168,119,.75) 50%,transparent 52%),
    radial-gradient(1.2px 1.2px at 96% 30%,rgba(254,249,241,.55) 50%,transparent 52%),
    radial-gradient(1px 1px at 3% 46%,rgba(254,249,241,.45) 50%,transparent 52%);}
.wb-ways.sky-on{background-image:none;}
.wb-sky{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.wb-ways .wb-wrap{position:relative;z-index:1;max-width:1300px;padding-top:clamp(72px,12svh,136px);padding-bottom:clamp(80px,13svh,148px);}
.wb-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;margin:0 0 clamp(40px,6svh,64px);}
.wb-q{font-family:var(--disp);font-weight:560;letter-spacing:-.03em;line-height:1.02;font-size:clamp(2.2rem,4.6vw,3.7rem);color:#fef9f1;margin:0;}
.wb-q .dot{color:var(--star-gold);}
.wb-cue{font-family:var(--text);font-style:italic;font-size:clamp(1.08rem,1.5vw,1.3rem);line-height:1.4;color:rgba(254,249,241,.72);margin:0;}

.wb-pick{--g:clamp(14px,1.8vw,26px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--g);position:relative;}
.wb-pick>input{position:absolute;opacity:0;pointer-events:none;}
.wb-const{display:none;}
.wb-pick>label{grid-row:1;align-self:start;display:block;cursor:pointer;position:relative;min-width:0;scroll-margin-top:12px;-webkit-tap-highlight-color:transparent;
  padding:46px 0 0;text-align:center;transition:transform .25s cubic-bezier(.2,.7,.2,1);}
.wb-pick>label[for="way-read"]{grid-column:1;}
.wb-pick>label[for="way-build"]{grid-column:2;}
.wb-pick>label[for="way-people"]{grid-column:3;}
.wb-pick>label[for="way-laugh"]{grid-column:4;}
.wb-pick>label[for="way-work"]{grid-column:5;}
/* each answer hangs from a star on the line */
.wb-pick>label::before{content:"\2726";position:absolute;top:0;left:50%;transform:translateX(-50%);color:var(--star-gold);font-size:20px;line-height:20px;
  text-shadow:0 0 14px rgba(207,168,119,.7);transition:transform .25s ease;}
.wb-pick>label .plate{border:0;background:rgba(207,168,119,.85);padding:2px;aspect-ratio:1/1;margin:0 auto 16px;overflow:visible;clip-path:var(--sq);
  transition:padding .18s ease,background-color .18s ease;}
.wb-pick>label .plate picture{clip-path:var(--sq);background:var(--art-paper);}
.wb-pick>label .plate img{transform:scale(1.075);}   /* the art carries its own paper margin; trim it */
.wb-tx{display:block;padding:0 6px;}
.wb-pick>label b{display:block;font-family:var(--disp);font-weight:540;letter-spacing:-.02em;line-height:1.14;font-size:clamp(1.14rem,1.65vw,1.46rem);
  color:#fef9f1;text-wrap:balance;}
@media (hover:hover){.wb-pick>label:hover{transform:translateY(-3px);}}   /* not on touch screens, where hover sticks after a tap */
.wb-pick>input:checked+label{transform:none;}
.wb-pick>input:checked+label .plate{padding:5px;background:var(--star-gold);}
.wb-pick>input:checked+label::before{transform:translateX(-50%) scale(1.5);}
.wb-pick>input:focus-visible+label .plate{padding:5px;background:#fef9f1;}
@media (min-width:821px){
  /* the line runs star to star; the SVG is one gap wider than the row so its 10/30/50/70/90% points sit on the column centres */
  .wb-const{display:block;position:absolute;top:0;left:calc(var(--g) / -2);width:calc(100% + var(--g));height:64px;pointer-events:none;overflow:visible;}
  .wb-pick>label[for="way-build"]{margin-top:36px;}
  .wb-pick>label[for="way-people"]{margin-top:8px;}
  .wb-pick>label[for="way-laugh"]{margin-top:44px;}
  .wb-pick>label[for="way-work"]{margin-top:16px;}
  /* once an answer is open the five plates step back to icon size, so the row and the answer share one screen
     (the script below scrolls the pair into frame) */
  .wb-pick>label .plate{width:min(100%,232px);}
  .wb-pick:has(>input:checked)>label .plate{width:min(100%,116px);margin-bottom:12px;}
  .wb-pick:has(>input:checked)>label b{font-size:clamp(1rem,1.3vw,1.16rem);}
  .wb-pick:has(>input:checked)>label{opacity:.78;}
  .wb-pick:has(>input:checked)>input:checked+label,.wb-pick:has(>input:checked)>label:hover{opacity:1;}
  .wb-pick>.wb-way{padding-top:clamp(22px,3.4svh,36px);}
  .wb-way .wb-tiles{margin-bottom:20px;}
  .wb-way .wb-tile .plate{aspect-ratio:auto;width:100%;height:clamp(150px,27svh,250px);}
  /* the profile portraits are square drawings: same tile as the others, but taller and never cropped */
  .wb-way .wb-tile[data-way="people"] .plate{height:clamp(190px,36svh,340px);background:#fff;}
  .wb-way .wb-tile[data-way="people"] .plate img{object-fit:contain;}
}

.wb-way{display:none;grid-column:1/-1;grid-row:2;padding-top:clamp(32px,5svh,52px);color:#fef9f1;scroll-margin-bottom:24px;}
.wb-pick>input:checked+label+.wb-way{display:block;}
.wb-pick>input:checked+label+.wb-way>*,.wb-pick>input:checked+label+.wb-way .wb-tile{animation:wb-rise .55s cubic-bezier(.2,.7,.2,1) both;}
.wb-pick>input:checked+label+.wb-way .wb-tile:nth-child(2){animation-delay:.07s;}
.wb-pick>input:checked+label+.wb-way .wb-tile:nth-child(3){animation-delay:.14s;}
.wb-pick>input:checked+label+.wb-way>.btn-2{animation-delay:.2s;}
@keyframes wb-rise{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:none;}}

.wb-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,28px);margin-bottom:24px;}
.wb-tile{display:block;text-decoration:none;color:inherit;min-width:0;}
.wb-tile .plate{aspect-ratio:4/3;margin-bottom:10px;border:0;border-radius:18px;corner-shape:squircle;}
/* the comic is shown whole, never cropped */
.wb-tile[data-way="laugh"] .plate{background:#fff;}
.wb-tile[data-way="laugh"] .plate img{object-fit:contain;}
.wb-kick{display:block;font-family:var(--util);font-size:.66rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(254,249,241,.62);}
.wb-kick i{font-style:normal;color:var(--star-gold);}
.wb-tile b{display:block;font-family:var(--disp);font-weight:540;font-size:clamp(1.02rem,1.3vw,1.18rem);line-height:1.16;letter-spacing:-.02em;margin-top:4px;color:#fef9f1;}
.wb-tile:hover b{color:var(--star-gold);}
.wb-co{font-size:clamp(1.02rem,1.3vw,1.14rem);line-height:1.55;color:rgba(254,249,241,.86);max-width:56ch;margin:0 0 22px;}
.wb-logos{display:flex;flex-wrap:wrap;align-items:center;gap:18px 34px;margin:4px 0 26px;}
.wb-logos img{height:30px;width:auto;filter:invert(1) brightness(1.8);opacity:.85;}
.wb-logos img.tall{height:20px;}
.wb-way .btn-2{border-color:#fef9f1;color:#fef9f1;}
.wb-way .btn-2:hover{background:rgba(254,249,241,.1);}
.wb-way .btn-2:focus-visible{outline-color:#fef9f1;}

/* motion: the line draws itself left to right, then each star lights and settles into a slow twinkle */
@media (prefers-reduced-motion:no-preference){
  .wb-ways.sky-on .wb-const{clip-path:inset(-12px 100% -12px -12px);transition:clip-path 2.4s cubic-bezier(.4,0,.2,1) .25s;}
  .wb-ways.sky-on.seen .wb-const{clip-path:inset(-12px -12px -12px -12px);}
  .wb-ways.sky-on .wb-pick>label::before{opacity:0;transition:opacity .6s ease,transform .25s ease;}
  .wb-ways.sky-on.seen .wb-pick>label::before{opacity:1;animation:wb-twinkle 4.8s ease-in-out 2.6s infinite;}
  .wb-ways.sky-on.seen .wb-pick>label[for="way-read"]::before{transition-delay:.25s,0s;}
  .wb-ways.sky-on.seen .wb-pick>label[for="way-build"]::before{transition-delay:.75s,0s;animation-delay:3.4s;}
  .wb-ways.sky-on.seen .wb-pick>label[for="way-people"]::before{transition-delay:1.25s,0s;animation-delay:4.4s;}
  .wb-ways.sky-on.seen .wb-pick>label[for="way-laugh"]::before{transition-delay:1.75s,0s;animation-delay:3.1s;}
  .wb-ways.sky-on.seen .wb-pick>label[for="way-work"]::before{transition-delay:2.25s,0s;animation-delay:5.2s;}
}
@keyframes wb-twinkle{0%,100%{text-shadow:0 0 12px rgba(207,168,119,.55);filter:brightness(1);}50%{text-shadow:0 0 26px rgba(207,168,119,1),0 0 4px #fef9f1;filter:brightness(1.35);}}
@media (prefers-reduced-motion:reduce){
  .wb-pick>label,.wb-pick>label .plate{transition:none;}
  .wb-pick>input:checked+label+.wb-way>*,.wb-pick>input:checked+label+.wb-way .wb-tile{animation:none;}
}

@media (max-width:820px){
  /* on a phone the plates become a list and each answer opens under the one you tapped */
  .wb-ways .wb-wrap{padding-top:60px;padding-bottom:64px;}
  .wb-head{display:block;text-align:left;margin:0 0 30px;}
  .wb-cue{margin-top:10px;}
  .wb-pick{display:block;}
  .wb-pick>label{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:16px;align-items:center;text-align:left;margin:0 0 20px;padding:0;}
  .wb-pick>label::before{display:none;}
  .wb-pick>label .plate{margin:0;}
  .wb-tx{padding:0;}
  .wb-pick>label b{font-size:1.16rem;}
  .wb-pick>label:hover{transform:none;}
  .wb-way{padding:6px 0 34px;}
  .wb-tiles{grid-template-columns:1fr;gap:20px;}
  .wb-tile{display:grid;grid-template-columns:112px 1fr;column-gap:14px;align-items:center;}
  .wb-tile .plate{grid-row:span 2;margin:0;border-radius:12px;}
  .wb-tile[data-way="people"] .plate{aspect-ratio:1/1;}
  .wb-kick{align-self:end;}
  .wb-tile b{align-self:start;}
  .wb-logos{gap:16px 26px;}
  .wb-logos img{height:24px;}
  .wb-logos img.tall{height:16px;}
}

/* the hero path row: a text version of the five answers under Subscribe; each link opens its answer below */
.world-paths{margin-top:10px;font-family:var(--util);font-size:.8rem;line-height:1.5;color:var(--ink-soft);display:flex;flex-wrap:wrap;align-items:center;gap:0 2px;}
.world-paths>span:first-child{margin-right:6px;}
.world-paths .nw{white-space:nowrap;}
.world-paths a{display:inline-block;padding:7px 0;color:var(--navy);font-weight:600;text-decoration:underline;text-decoration-color:rgba(185,143,83,.55);
  text-decoration-thickness:1px;text-underline-offset:4px;transition:text-decoration-color .15s ease;}
.world-paths a:hover{text-decoration-color:var(--navy);}
.world-paths i{font-style:normal;color:var(--gold);padding:0 7px;}
@media (max-width:720px){.world-paths{margin-top:0;padding-bottom:14px;font-size:.84rem;}.world-cta .form-note{padding-bottom:4px;}}

/* the subscribe band starts on the page's left edge, words left and the button right */
.subband.wide .inner{max-width:1160px;}
@media (min-width:900px){
  .subband.wide .inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;align-items:center;}
  .subband.wide .inner>.say{grid-column:1;}
  .subband.wide .inner>form,.subband.wide .inner>.thanks{grid-column:2;margin-top:0;}
}

/* louder (Joe's pick, look 02 of the 11/16 lab): the headline at section-heading size, an upright line, and a large
   gold button. Once the fields open, the button returns to cta.css's compact size so they fit; while sending and
   when done, cta.css's own states take over (hence the :not()s). */
.subband.wide .inner{padding-top:clamp(56px,9svh,104px);padding-bottom:clamp(56px,9svh,104px);}
.subband.wide .lead2{font-weight:560;font-size:clamp(2.1rem,4.6vw,3.5rem);letter-spacing:-.03em;line-height:1.04;margin-bottom:16px;text-wrap:balance;}
.subband.wide .sub2{font-style:normal;font-size:clamp(1.08rem,1.4vw,1.22rem);line-height:1.5;max-width:44ch;}
.subband.wide form[data-cta-closed]{min-height:62px;}
.subband.wide form[name^="notify"] button[type=submit]:not(.is-done){background:linear-gradient(180deg,#e6c696 0%,#CFA877 52%,#b68a4c 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,0,0,.16),0 1px 2px rgba(60,40,10,.3),0 12px 24px -8px rgba(120,84,30,.7);}
.subband.wide form[name^="notify"] button[type=submit]:not(.is-busy):not(.is-done){color:#2A2531;}
.subband.wide form[name^="notify"] button[type=submit]:not(.is-busy):not(.is-done)::after{background:#2A2531;}
.subband.wide form[name^="notify"] button.is-busy::after{border-color:rgba(42,37,49,.25);border-top-color:#2A2531;}
.subband.wide form[data-cta-closed] button[type=submit]{height:62px;padding:0 36px;border-radius:20px;font-size:20px;gap:12px;}
.subband.wide form[name^="notify"] button[type=submit]:focus-visible{outline:2px solid var(--navy);outline-offset:3px;}
/* open on a wide screen: the form sits in the auto column, so give it a width or the email field has none */
@media (min-width:900px){.subband.wide .inner>form:not([data-cta-closed]){width:min(540px,46vw);}}
