/* ============================================================
   SITE HUB: the Fresh Sheet Hub navigation and feel for the public site.
   Colors stay BTP's (night.css tokens). This file only changes shape and motion:
   floating glass top bar, bottom dock, jump box, pill buttons, rounded glass cards,
   outlined headline word, lift-and-glow on hover.
   Applies only to <body class="night hub ...">. Remove "hub" from a page's body to turn it off.
   The old .nav stays in the markup and comes back by itself if site-hub.js does not run.
   ============================================================ */

/* ---------- top bar: two floating glass pills ---------- */
html.nt-hubnav body.night.hub .nav{display:none !important}
body.night.hub .nt-top{position:sticky;top:12px;z-index:var(--nt-z-dock);height:72px;margin-bottom:-72px;pointer-events:none}
body.night.hub .nt-top .nt-wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;height:100%}
body.night.hub .nt-top .nt-glass{pointer-events:auto;display:flex;align-items:center;gap:6px;padding:6px 8px 6px 18px;border-radius:99px;background:rgba(var(--deep-rgb),.62);min-height:52px;box-shadow:0 10px 40px rgba(0,0,0,.25)}
body.night.hub .nt-mark{font:italic 800 22px/1 var(--fd);text-transform:uppercase;text-decoration:none;color:var(--ice);white-space:nowrap;padding-right:10px;letter-spacing:.01em}
body.night.hub .nt-mark em{font-style:italic;color:var(--glow)}
body.night.hub .nt-mark:hover{color:var(--ice)}
body.night.hub .nt-top .nt-right{padding:6px}
body.night.hub .nt-top .nt-right a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:99px;font:700 16px/1 var(--fd);letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--dim);white-space:nowrap;transition:color .2s,background .2s}
body.night.hub .nt-top .nt-right a:hover{color:var(--ice);background:var(--glass2)}
body.night.hub .nt-top .nt-right a.nt-shop{color:var(--glow)}
body.night.hub .nt-top .nt-right a.nt-portal{background:var(--hot);color:var(--on-hot)}
body.night.hub .nt-top .nt-right a.nt-lm{color:var(--glow);box-shadow:inset 0 0 0 1px rgba(var(--glow-rgb),.55)}
body.night.hub .nt-top .nt-right a.nt-lm:hover{color:var(--on-hot);background:var(--hot)}
body.night.hub .nt-top .nt-right a.nt-portal:hover{box-shadow:0 0 28px rgba(var(--glow-rgb),.45)}
body.night.hub .nt-top .nt-right button{background:none;border:0;cursor:pointer;min-height:40px;padding:8px 14px;border-radius:99px;font:700 16px/1 var(--fd);letter-spacing:.1em;text-transform:uppercase;color:var(--glow)}
body.night.hub .nt-top .nt-right button:hover{background:var(--glass2)}
body.night.hub .nt-top .nt-right kbd{font:600 12px/1 var(--fb);border:1px solid var(--edge);border-radius:6px;padding:3px 6px;margin-left:6px;color:var(--dim)}

/* ---------- dock ---------- */
html body.night.hub .nt-dock a{color:var(--dim)}
html body.night.hub .nt-dock a:hover{color:var(--ice)}
html body.night.hub .nt-dock a[aria-current="page"]{color:var(--void)}
body.night.hub .nt-short{display:none}
html body.night.hub .nt-dock a.nt-shop{color:var(--glow)}
html body.night.hub .nt-dock a.nt-shop[aria-current="page"]{color:var(--void)}
body.night.hub .footer{padding-bottom:120px}

/* ---------- pills: every button on the site ---------- */
html body.night.hub .b,
html body.night.hub .btn,
html body.night.hub a.btn,
html body.night.hub button.btn,
html body.night.hub .nav-login-btn{border-radius:99px !important;transition:transform .2s,box-shadow .2s,background .2s,color .2s,border-color .2s}
html body.night.hub .b:hover,
html body.night.hub .btn:hover{transform:translateY(-2px);box-shadow:0 0 28px rgba(var(--glow-rgb),.35)}
html body.night.hub .b.g,
html body.night.hub .btn-outline{border-color:var(--edge) !important;background:var(--glass2)}
html body.night.hub .badge,
html body.night.hub .tag,
html body.night.hub .chip{border-radius:99px !important}
html body.night.hub .topstrip{letter-spacing:.16em}

/* ---------- rounded glass cards with lift ---------- */
html body.night.hub :is(.card,.prog-card,.coachcard,.cohort-card,.contact-card,.vid-card,.week-card,.sc,.stc,.wkc,.skc,.part,.seat){border-radius:18px !important;overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}
html body.night.hub :is(.card,.prog-card,.coachcard,.cohort-card,.vid-card,.week-card,.sc,.stc,.wkc,.skc,.part):hover{transform:translateY(-4px);border-color:var(--glow) !important;box-shadow:0 0 34px rgba(var(--glow-rgb),.22)}
html body.night.hub :is(.card,.prog-card,.coachcard,.cohort-card,.contact-card,.week-card,.sc,.stc,.part,.seat){backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html body.night.hub input,html body.night.hub select,html body.night.hub textarea{border-radius:12px}

/* home hero: the video panel floats like the hub's reel */
html body.night.hub.pg-index .hx .vid{border-radius:28px;overflow:hidden;border:1px solid var(--edge);box-shadow:0 0 90px rgba(var(--glow-rgb),.18);transform:rotate(-1.5deg)}
html body.night.hub.pg-index .hx .vid span{border-radius:0 14px 0 0}

/* page heroes with a photo: rounded image corners are not used; the photo fades into the ground like the hub */
html body.night.hub :is(.phero,.nhero) .ov{background:linear-gradient(180deg,rgba(var(--void-rgb),.5) 0%,rgba(var(--void-rgb),.15) 40%,var(--void) 98%),linear-gradient(90deg,rgba(var(--void-rgb),.9) 18%,rgba(var(--void-rgb),.15) 78%) !important}

/* ---------- the outlined word in the big headline ---------- */
@supports (-webkit-text-stroke:2px #fff){
  html body.night.hub h1 span{color:transparent !important;-webkit-text-stroke:2px var(--ice)}
}

/* ---------- phones ---------- */
@media (max-width:900px){
  body.night.hub .nt-top{top:8px;height:64px;margin-bottom:-64px}
  body.night.hub .nt-mark{font-size:19px;padding-right:4px}
  body.night.hub .nt-long{display:none}
  body.night.hub .nt-short{display:inline}
  body.night.hub .nt-top .nt-glass{padding-left:14px;min-height:46px}
  body.night.hub .nt-top .nt-right a:not(.nt-portal):not(.nt-lm),body.night.hub .nt-top .nt-right button{display:none}
  body.night.hub .nt-top .nt-right a.nt-lm{padding:8px 12px;font-size:15px;margin-right:4px}
  body.night.hub .nt-top .nt-right a.nt-portal{padding:8px 14px;font-size:15px}
  html body.night.hub.pg-index .hx .vid{transform:none}
  html body.night.hub h1 span{-webkit-text-stroke-width:1.5px}
  html body.night.hub :is(.phero,.nhero) .wrap.ph{padding-left:18px !important;padding-right:18px !important}
}
@media (prefers-reduced-motion:reduce){
  html body.night.hub *{transition:none !important}
  html body.night.hub.pg-index .hx .vid{transform:none}
}

/* ---------- home: next moves + the whole rink ---------- */
body.night.hub .nt-sec{padding:110px 0 0;position:relative}
body.night.hub .nt-hubsecs{padding-bottom:30px}
body.night.hub .nt-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 48px;margin-bottom:36px}
body.night.hub .nt-head>p,body.night.hub .nt-head>div.nt-dim{max-width:420px;margin:0;font-size:17px;line-height:1.5}
body.night.hub .nt-sec .nt-h2{font-size:clamp(52px,7.5vw,104px)}
body.night.hub .nt-stepcard .nt-h3{font-size:clamp(38px,5vw,60px)}
body.night.hub .nt-stepcard .nt-btn{text-decoration:none}
body.night.hub .nt-who{grid-template-columns:repeat(4,minmax(0,1fr))}

/* the map */
body.night.hub .nt-map{position:relative;aspect-ratio:1200/640;margin-top:10px}
body.night.hub .nt-map svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
body.night.hub .nt-map line{stroke:rgba(var(--glow-rgb),.2);stroke-width:1}
body.night.hub .nt-map line.nt-far{stroke-dasharray:3 9}
body.night.hub .nt-hub{position:absolute;transform:translate(-50%,-50%);font:italic 800 clamp(16px,2vw,26px)/1 var(--fd);text-transform:uppercase;color:var(--glow);letter-spacing:.06em;pointer-events:none;text-shadow:0 0 22px rgba(var(--glow-rgb),.6);white-space:nowrap}
html body.night.hub .nt-mnode{position:absolute;transform:translate(-50%,-50%);padding:8px 14px;border-radius:99px;border:1px solid var(--edge);background:rgba(var(--deep-rgb),.88);color:var(--ice);font:600 14px/1.2 var(--fb);white-space:nowrap;min-height:38px;display:inline-flex;align-items:center;text-decoration:none;transition:all .25s}
html body.night.hub .nt-mnode:hover,html body.night.hub .nt-mnode:focus-visible{background:var(--glow);color:var(--void);transform:translate(-50%,-50%) scale(1.12);box-shadow:0 0 34px rgba(var(--glow-rgb),.55);z-index:2}
html body.night.hub .nt-mnode.nt-star{border-color:var(--glow);box-shadow:0 0 18px rgba(var(--glow-rgb),.35)}
html body.night.hub .nt-filter .nt-mnode:not(.nt-mine){opacity:.25}
html body.night.hub .nt-filter .nt-mnode:not(.nt-mine):hover{opacity:1}
body.night.hub .nt-maplist{display:none}
body.night.hub .nt-sheet-body .nt-map{max-width:1200px;margin:0 auto}

@media (max-width:900px){
  body.night.hub .nt-sec{padding-top:80px}
  body.night.hub .nt-who{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.night.hub .nt-map{display:none}
  body.night.hub .nt-maplist{display:flex;flex-direction:column;gap:14px}
  body.night.hub .nt-maplist>div{display:flex;flex-wrap:wrap;gap:8px}
  html body.night.hub .nt-maplist .nt-mnode{position:static;transform:none}
  html body.night.hub .nt-maplist .nt-mnode:hover{transform:none}
}
