/* =====================================================================================
   header-footer.css · own file (2 Nov 2026). Loaded last in index.html.
   FOOTER: Bryan said the black arch/panel at the very end looked weird. The footer now
   dissolves into deep space: no panel, no arch, no edge line. A soft-cloud haze sits
   behind the text only and fades to nothing. All footer content and links are unchanged.
   The header is NOT changed here yet (options live in header-options/).
   ===================================================================================== */

/* the whole footer area: deep space fades in from nothing, no visible top edge */
.foot{background:linear-gradient(rgba(7,7,15,0) 0%,rgba(7,7,15,.28) 38%,rgba(7,7,15,.7) 78%,var(--space) 100%)}
/* flight mode: the last world's text stays pinned behind the footer, so space thickens sooner
   (still a soft fade from nothing, no edge) to keep the two layers of text from overlapping */
html.gl .foot{background:linear-gradient(rgba(7,7,15,0) 0%,rgba(7,7,15,.9) 16%,rgba(7,7,15,.98) 28%,var(--space) 50%)}

/* the old charcoal arch is gone */
.foot__in{isolation:isolate;background:none;border-radius:0;box-shadow:none}

/* soft-cloud haze behind the text only: one blurred ellipse with no edge */
.foot__in::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-4% 0 0;
  background:radial-gradient(ellipse closest-side at 50% 50%,var(--haze) 0%,var(--haze) 42%,var(--haze-mid) 66%,rgba(14,14,13,0) 100%);
  filter:blur(18px)}
.foot__in > *{text-shadow:0 1px 14px rgba(5,6,15,.6)}

/* the designer shout-out: small and plain, sits just above the footer content */
.kai{gap:4px;max-width:600px}
.kai__line{font-size:clamp(20px,1.5vw,26px)}
.kai__by{max-width:46ch;font:400 var(--fs-small)/1.5 var(--sans);letter-spacing:.06em;color:var(--gold-100);text-wrap:balance}
.kai__btn{margin-top:12px}
.kai__ask{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:0 12px;background:none;border:0;cursor:pointer;
  font:400 var(--fs-min)/1 var(--sans);letter-spacing:.08em;color:rgba(241,238,229,.85);text-decoration:underline;text-decoration-color:rgba(213,194,161,.5);text-underline-offset:4px}
.kai__ask:hover{color:var(--gold-100)}

@media (max-width:760px){
 .foot__in{padding-left:18px;padding-right:18px}
 .foot__in::before{inset:-2% 0 0;filter:blur(14px)} /* never wider than the screen: no sideways scroll */
}

/* phone header fit (2 Nov 2026): same header design, just tighter on small screens so the logo,
   Book A Session and the menu button all fit with 12px side margins down to 360px wide */
@media (max-width:760px){
 .nav{padding:0 12px;gap:6px}
 .nav__cta{display:inline-flex;padding:0 11px;flex-shrink:0}
 .nav__menu{flex-shrink:0}
 /* the right-hand app preview phone poked ~6px past a 360px screen and made the page scroll sideways */
 #app{overflow-x:clip}
}

/* header mark, bigger and slightly see-through (2 Nov 2026, Bryan: "I want it to be bigger...
   the black looks good, maybe it just needs to be slightly see-through"). Same mark, same dark plate
   and thin gold edge; about 1.5x larger, ~68% dark with a gentle blur so the sky shows faintly through. */
:root{--nav-h:88px}
.lockup{gap:16px;padding:5px 26px 5px 14px;
  background:rgba(22,22,20,.68);-webkit-backdrop-filter:blur(10px) saturate(1.05);backdrop-filter:blur(10px) saturate(1.05);
  border:1px solid rgba(179,145,85,.5);box-shadow:0 6px 22px rgba(4,4,10,.28)}
.lockup__sig{height:clamp(56px,4vw,80px)}
/* Hero v19 (Bryan): the header bubble shows ONLY the FLOWSTATE wordmark (text version, no flourishes, no signature).
   A little larger than before, with even padding so the bubble looks balanced. */
.lockup{padding:0 clamp(18px,1.6vw,26px);min-height:clamp(46px,3.4vw,56px)}
.lockup__word{display:block;height:clamp(20px,1.5vw,30px);width:auto}
@media (max-width:760px){
 :root{--nav-h:76px}
 .lockup{padding:0 14px;min-height:42px}
 .lockup__sig{height:56px}
 .lockup__word{display:block;height:clamp(20px,1.5vw,30px)}
}

/* Hero v19 (Bryan): no draft badge in the header any more. The bubble keeps the left, the buttons sit on the right. */
.nav .lockup{margin-right:auto}
@media (max-width:370px){.nav .lockup{padding:0 10px}}   /* Hero v19: room for the 20px wordmark beside Book A Session on narrow phones */
