/* TheFlowState.Life · Round v20 additions (own file, loaded after the others). Palette only: gold, lit gold, teal, cream, space.
   Sections: About opener + buttons · Creation Density emphasis · Vision · Signals chips · App waitlist · booking popup · footer. */

/* ---------- About: the opener breathes, the buttons sit lower with more air ---------- */
.story__sign{margin-top:clamp(18px,2.4vh,28px)!important;padding-top:clamp(14px,2vh,22px);border-top:1px solid rgba(var(--gold-lit-rgb),.22);line-height:1.25!important}
.story__sign span{display:inline;font-size:inherit;color:inherit}
.story__sign .story__sign-k{font:400 var(--fs-small)/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold-lit-soft)}
.story__sign .story__sign-n{font:400 clamp(24px,1.9vw,34px)/1.15 var(--serif);color:var(--lum-white);letter-spacing:.01em}
.story__sign .story__sign-w{display:block;margin-top:6px;font:italic 400 clamp(19px,1.45vw,25px)/1.3 var(--serif);color:var(--gold-lit)}
.about__ctas{gap:12px 18px;margin-top:clamp(28px,4.2vh,46px);padding-top:4px}
.about__ctas .btn,.about__ctas .hero__alt{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.about__ctas .btn{padding-left:26px;padding-right:26px}
@media (max-width:760px){
  .about__ctas{margin-top:22px;gap:10px 14px}
  .story__sign .story__sign-n{font-size:24px}
  .story__sign .story__sign-w{font-size:19px}
}
@media (max-width:420px){
  .about__ctas{flex-direction:column;align-items:stretch}
  .about__ctas .btn,.about__ctas .hero__alt{width:100%}
}

/* ---------- Creation Density: some words in luminous cream-white ---------- */
.block--density .density__p{color:rgba(236,226,207,.9)}
.block--density .cream{color:var(--lum-white);font-weight:500;text-shadow:0 0 18px rgba(7,7,15,.7)}
.density__end .cream{font-style:normal;font-family:var(--serif);color:var(--lum-white)}
.density__end span:last-child{color:var(--gold-lit)}
a[data-density]{text-decoration:none}

/* ---------- Vision: four items, soft indigo / teal / gold clouds behind them ---------- */
.block--horizon{position:relative;isolation:isolate}
.block--horizon::before{content:"";position:absolute;z-index:-1;inset:-14% -12% -12% -14%;pointer-events:none;border-radius:40%;
  background:
    radial-gradient(closest-side,rgba(7,7,15,.55),rgba(7,7,15,0) 92%) center/80% 80% no-repeat,
    url(../assets/img/neb-indigo-vivid.webp) 0% 20%/62% auto no-repeat,
    url(../assets/img/neb-teal-vivid.webp) 100% 70%/58% auto no-repeat,
    url(../assets/img/neb-gold-vivid.webp) 40% 100%/46% auto no-repeat;
  opacity:.85;filter:blur(14px) saturate(1.1);mask:radial-gradient(closest-side,#000 55%,transparent 100%);-webkit-mask:radial-gradient(closest-side,#000 55%,transparent 100%)}
.node--v20 > div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.node--v20 b{margin-bottom:0}
.soon{display:inline-flex;align-items:center;min-height:26px;padding:0 12px;border-radius:999px;border:1px solid rgba(var(--gold-lit-rgb),.5);
  background:rgba(7,7,15,.45);font:500 11.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-lit);cursor:default;user-select:none}
.node__go{display:inline-flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:var(--tap);color:inherit;text-decoration:none}
.node__go b{color:var(--cream);transition:color .3s}
.node__site{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 12px;border-radius:999px;background:linear-gradient(176deg,var(--gold-lit-hi),var(--gold-lit-mid));
  font:500 11.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#1b1407}
.node__site svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.node__go:hover b,.node__go:focus-visible b{color:var(--gold-lit)}
.node__go:focus-visible{outline:2px solid var(--gold-lit);outline-offset:4px;border-radius:6px}

/* ---------- Signals: labelled text chips, no icons, big tap targets ---------- */
.soc--chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;max-width:560px;padding:0;list-style:none}
.soc--chips li[hidden]{display:none}
.soc--chips a.soc__c{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:60px;padding:8px 18px;border-radius:16px;
  border:1px solid rgba(var(--gold-lit-rgb),.38);background:rgba(7,7,15,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);text-decoration:none;transition:background .3s,border-color .3s}
.soc--chips a.soc__c b{font:400 clamp(20px,1.45vw,26px)/1.05 var(--serif);color:var(--cream)}
.soc--chips a.soc__c span{display:block;font:400 var(--fs-min)/1.2 var(--sans);letter-spacing:.04em;color:var(--gold-100)}
.soc--chips a.soc__c:hover,.soc--chips a.soc__c:focus-visible{background:rgba(var(--gold-lit-rgb),.14);border-color:rgba(var(--gold-lit-rgb),.7)}
.soc--chips a.soc__c:focus-visible{outline:2px solid var(--gold-lit);outline-offset:3px}
/* round v21: one social grid for Signals and Follow, two columns everywhere, places as Bryan set them:
   row 1 Facebook | Instagram, row 2 LinkedIn | X, row 3 TikTok | YouTube (v21b, Bryan mirrored the earlier v21 mapping; the list itself reads Facebook, Instagram, LinkedIn, X, YouTube, TikTok) */
.soc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.soc-grid>li{min-width:0}
.soc-grid>li>a{height:100%}
.soc-grid>[data-net=facebook]{grid-area:1/1}.soc-grid>[data-net=instagram]{grid-area:1/2}
.soc-grid>[data-net=linkedin]{grid-area:2/1}.soc-grid>[data-net=x]{grid-area:2/2}
.soc-grid>[data-net=youtube]{grid-area:3/1}.soc-grid>[data-net=tiktok]{grid-area:3/2}  /* v21c: YouTube bottom-left, TikTok bottom-right (Bryan 6:50) */
.follow__soc.soc-grid .follow__s{justify-content:center}
@media (max-width:760px){
  .follow__soc.soc-grid{gap:8px}
  .follow__soc.soc-grid .follow__s{border-radius:22px;padding:10px 8px}
  .follow__soc.soc-grid .follow__s i{overflow-wrap:anywhere}
}
@media (max-width:760px){
  .soc--chips{gap:8px;margin-top:12px}
  .soc--chips a.soc__c{min-height:54px;padding:6px 14px;border-radius:14px}
  .soc--chips a.soc__c b{font-size:19px}
}
@media (max-width:400px){   /* two columns still, a little tighter */
  .soc--chips{gap:7px}
  .soc--chips a.soc__c{padding:6px 11px}
  .soc--chips a.soc__c span{letter-spacing:.01em;overflow-wrap:anywhere}
}

/* ---------- App: TheFlowState.Club + waitlist ---------- */
.app__name{font-size:clamp(38px,4vw,72px)!important;letter-spacing:.005em}
.app__tag{margin-top:6px;font:italic 400 clamp(20px,1.6vw,28px)/1.3 var(--serif);color:var(--gold-100)}
.app__tag em{color:var(--gold-lit)}
.wl{display:grid;gap:10px;width:min(520px,100%);margin-top:4px;text-align:left}
.wl__h{font:400 var(--fs-small)/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold-lit-soft)}
.wl__row{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.wl input[type=text],.wl input[type=email]{width:100%;min-height:48px;padding:0 16px;border-radius:14px;border:1px solid rgba(var(--gold-lit-rgb),.4);background:rgba(7,7,15,.6);
  color:var(--cream);font:400 16px/1 var(--sans)}
.wl input::placeholder{color:rgba(236,226,207,.62)}
.wl input:focus-visible{outline:2px solid var(--gold-lit);outline-offset:1px}
.wl input[aria-invalid=true]{border-color:var(--gold-lit);box-shadow:0 0 0 2px rgba(var(--gold-lit-rgb),.35)}
.wl__ok{display:flex;align-items:flex-start;gap:10px;font:400 var(--fs-min)/1.45 var(--sans);color:rgba(241,238,229,.88);cursor:pointer}
.wl__ok input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--gold-lit)}
.wl__ok input[aria-invalid=true]{outline:2px solid var(--gold-lit);outline-offset:2px}
.wl__ok a{color:var(--gold-100);text-decoration:underline;text-underline-offset:3px}
.wl__go{justify-self:start}
.wl__msg{min-height:1.3em;font:400 var(--fs-small)/1.4 var(--sans);color:var(--gold-100)}
.wl__msg:empty{min-height:0}
.wl__done{display:grid;gap:6px;width:min(520px,100%);padding:18px 20px;border-radius:18px;border:1px solid rgba(var(--gold-lit-rgb),.4);background:rgba(7,7,15,.55);text-align:left}
.wl__done[hidden]{display:none}
.wl__thanks{font:400 clamp(24px,1.9vw,32px)/1.15 var(--serif);color:var(--cream)}
.wl__thanks em{color:var(--gold-lit)}
.wl__done p:not(.wl__thanks){font-size:var(--fs-small);color:rgba(241,238,229,.9)}
.wl__done:focus{outline:none}
@media (max-width:760px){
  .wl__row{grid-template-columns:1fr}
  .wl input[type=text],.wl input[type=email]{min-height:46px}
  .wl__go{justify-self:stretch}
}

/* ---------- booking popup: the gold signature above the date picker ---------- */
.bdlg__sig{display:block;width:clamp(74px,7vw,104px);height:auto;margin:0 0 8px;filter:drop-shadow(0 0 14px rgba(var(--gold-lit-rgb),.22))}
.confirm h3{margin-top:4px}

/* ---------- footer: no flourish, wordmark only, thinner strip with tidy columns ---------- */
.kai::after{content:none!important;display:none!important}
.kai{padding-bottom:10px;margin-bottom:0}
.kai__ask{text-decoration:none!important;color:rgba(241,238,229,.85);letter-spacing:.1em}
.kai__ask:hover,.kai__ask:focus-visible{color:var(--gold-lit)}
.foot__in{gap:20px;padding-bottom:22px}
.foot__strip{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px 40px;width:min(1060px,100%);padding:22px 0 14px;border-top:1px solid rgba(var(--gold-lit-rgb),.22);text-align:left;align-items:start}
.foot__col{display:grid;gap:8px;align-content:start}
.foot__col--brand{gap:10px}
.foot__k{font:500 11.5px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold-lit-soft)}
.foot__strip .foot__word{height:clamp(14px,1vw,18px);width:auto;justify-self:start}
.foot__strip .foot__dom{font-size:var(--fs-small);letter-spacing:.14em}
.foot__strip .foot__links,.foot__strip .foot__soc{display:grid;grid-template-columns:repeat(2,max-content);justify-content:start;gap:0 22px;padding:0;margin:0;list-style:none}
.foot__strip .foot__links a,.foot__strip .foot__soc a{justify-content:flex-start;min-height:38px;min-width:0;padding:0;font:400 var(--fs-small)/1 var(--sans);letter-spacing:.04em;color:rgba(241,238,229,.9)}
.foot__strip .foot__soc li[hidden]{display:none}
.foot__base{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 20px;width:min(1060px,100%);padding-top:10px;border-top:1px solid rgba(var(--gold-lit-rgb),.12)}
.foot__base .foot__legal{font-size:var(--fs-min);letter-spacing:.04em;color:rgba(241,238,229,.78)}
.foot__base .foot__legal a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(var(--gold-lit-rgb),.4)}
.foot__base .foot__top{min-height:38px;padding:0;font-size:var(--fs-min);letter-spacing:.1em}
@media (max-width:760px){
  .foot__strip{grid-template-columns:1fr 1fr;gap:16px 22px;padding-top:18px}
  .foot__col--brand{grid-column:1 / -1;justify-items:center;text-align:center}
  .foot__strip .foot__word{justify-self:center}
  .foot__strip .foot__links,.foot__strip .foot__soc{grid-template-columns:1fr}
  .foot__strip .foot__links a,.foot__strip .foot__soc a{min-height:var(--tap)}
  .foot__base{justify-content:center;text-align:center}
  .foot__base .foot__top{min-height:var(--tap)}
}

/* optional portrait slot: OFF by default. Switch on with data-portrait="on" on <footer class="foot">.
   Uses only an approved Signature AI world image already in assets/worlds/. */
.foot__portrait{display:none}
.foot[data-portrait="on"] .foot__portrait{display:block;width:clamp(150px,14vw,210px);aspect-ratio:4/5;margin:0 auto 10px;border-radius:22px;overflow:hidden;
  border:1px solid rgba(var(--gold-lit-rgb),.45);box-shadow:0 18px 50px rgba(0,0,0,.5)}
.foot[data-portrait="on"] .foot__portrait img{width:100%;height:100%;object-fit:cover;object-position:44% 30%}

/* App, stacked layouts: tagline under the name; the waitlist sits where the button was */
@media (max-width:1023px),(max-aspect-ratio:21/20){
  .app-hero .app__tag{order:2;margin:4px auto 0}
  .app-hero__cta .wl,.app-hero__cta .wl__done{margin-left:auto;margin-right:auto}
  .wl__h{text-align:center}
  .wl__go{justify-self:center}
}
@media (max-width:760px){
  .app__name{font-size:clamp(32px,8.6vw,40px)!important}
  .app__tag{font-size:18px}
  /* the phone flight shows one screen at a time: name, line, phones, then the waitlist */
  html.gl .app-hero .app__lead{-webkit-line-clamp:2}
  html.gl .app-benefits{display:none}
  html.gl .app-hero__stage{--sh:min(30vh,250px);margin:12px auto 14px}
  html.gl .wl{gap:8px}
  html.gl .wl__row{grid-template-columns:1fr 1.25fr;gap:6px}
  html.gl .wl input[type=text],html.gl .wl input[type=email]{min-height:44px;padding:0 12px;font-size:16px}
  html.gl .wl__ok{font-size:12px;line-height:1.35}
  html.gl .wl__go{min-height:46px}
}
@media (max-width:760px) and (max-height:700px){
  html.gl .app-hero__stage{--sh:min(25vh,200px);margin:8px auto 10px}
  html.gl .app-hero .app__lead{display:none}
}
.node--v3 .node__site{display:inline-flex}
.node--v3 .soon{display:inline-flex}
.node--v3 .node__go .sr{position:absolute}
.node--v3 .soon,.node--v3 .node__site{font:500 11.5px/1 var(--sans);letter-spacing:.16em}
.node--v3 .soon{color:var(--gold-lit)}
.node--v3 .node__site{color:#1b1407}

/* elements switched off with the hidden attribute stay off even where a display rule exists */
.journal__foot[hidden],.soc li[hidden],.foot li[hidden],.wl[hidden],.wl__done[hidden]{display:none!important}

/* Journal cards (item 8): staggered rise-in when the Journal arrives, gentle 3D tilt on hover */
@keyframes v20rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.ov.is-on .entry,.block--journal.is-seen .entry{animation:v20rise 1s cubic-bezier(.2,.7,.2,1) both}
.ov.is-on .entry--2,.block--journal.is-seen .entry--2{animation-delay:.16s}
.ov.is-on .entry--3,.block--journal.is-seen .entry--3{animation-delay:.32s}
.entry{perspective:900px}
.entry a{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;transition:background .4s,transform .5s cubic-bezier(.2,.7,.2,1)}
.entry a.is-tilt{transition:background .4s,transform .12s linear}
@media (prefers-reduced-motion:reduce){
  .ov.is-on .entry,.block--journal.is-seen .entry{animation:none}
  .entry a{transform:none!important}
}
@media (prefers-reduced-motion:no-preference){html.static .block--journal:not(.is-seen) .entry{opacity:0}}
/* Density: the old status line is no longer used; on short phone screens the three questions step aside so the heading clears the menu bar */
.density__msg:empty{display:none}
@media (max-width:760px) and (max-height:700px){
  html.gl .density__qs{display:none}
  html.gl .density__sub{margin-top:6px}
}
