/* ============================================================
   KESHO FUSION — Section styles (logo palette)
   ============================================================ */

/* ---------- HERO ---------- */
.hero { padding: clamp(38px, 5vh, 60px) 0 clamp(34px, 5vh, 60px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(31px, 4.2vw, 56px); margin: 16px 0 18px; }
.hero h1 .accent { color: var(--accent); }
.hl {
  background: var(--brand-grad) bottom / 100% 0.30em no-repeat;
  padding: 0 2px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 20px; }

/* Hero chips — single-line marquee */
.chip-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent);
}
.chip-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 12px;
}
.chip-marquee .chip { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .chip-marquee-track { animation: chipscroll 26s linear infinite; }
  .chip-marquee:hover .chip-marquee-track { animation-play-state: paused; }
}
body.no-motion .chip-marquee-track { animation: none; }
@keyframes chipscroll { to { transform: translateX(-50%); } }

/* Hero visual: orbital composition */
.orbit { position: relative; aspect-ratio: 1 / 1; width: 100%; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 2px solid var(--line); inset: 0; }
.orbit-ring.r2 { inset: 9%; border-color: color-mix(in srgb, var(--teal) 45%, transparent); }
.orbit-ring.r3 { inset: 18%; border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .orbit-ring   { animation: spin 60s linear infinite; }
  .orbit-ring.r2 { animation: spin 44s linear infinite reverse; }
  .orbit-ring.r3 { animation: spin 30s linear infinite; }
}
body.no-motion .orbit-ring { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--magenta); top: -8px; left: calc(50% - 7px); }
.orbit-node.gold { background: var(--gold); }
.orbit-node.teal { background: var(--teal); }
.orbit-core {
  position: absolute; inset: 25%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px transparent, 0 40px 80px -24px rgba(22,39,92,0.4);
}
.orbit-core::after { content:""; position:absolute; inset:0; border-radius:50%; padding:6px; background: var(--brand-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.orbit-core image-slot { width: 100%; height: 100%; }
.orbit-core image-slot::part(image) {
  width: 60% !important;
  height: 70% !important;
  left: 50% !important;
  top: 50% !important;
  object-position: 50% 50% !important;
}
.orbit-glow { position: absolute; inset: 14%; border-radius: 50%; background: var(--brand-grad); opacity: .18; filter: blur(26px); }
.hero-card {
  position: absolute; bottom: 2%; left: -3%;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 15px 20px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--card-shadow); max-width: 240px;
}
.hero-card .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-family: var(--display); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.hero-card .val { font-family: var(--display); font-weight: 600; font-size: 15px; }
.hero-card .meta { font-size: 12.5px; color: var(--text-mute); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 420px; margin-inline: auto; }
}

/* ---------- SECTION SHELL ---------- */
.section { padding: clamp(56px, 9vh, 120px) 0; }
.section.alt { background: var(--bg-2); }
.shead { max-width: 740px; margin-bottom: clamp(34px, 5vw, 58px); }
.shead h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 18px 0 18px; }

/* ---------- PRIORITY BAND (gradient block) ---------- */
.band {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 60px); align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--r-xl);
  background: var(--brand-grad);
  background-size: 130% 130%;
  color: var(--white);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(106,43,138,0.6);
}
.band .eyebrow { color: var(--navy); }
.band .eyebrow::before { display: none; }
.band h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.band .lede { color: rgba(255,255,255,0.9); }
.band-visual { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -22px rgba(0,0,0,0.45); border: 1.5px solid rgba(255,255,255,0.35); }
.band-visual image-slot { width: 100%; height: 100%; }
.band-video-shell {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 55%),
    rgba(7, 13, 34, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } }

/* ---------- PILLARS ---------- */
.pillar {
  display: grid; grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1.5px solid var(--line-soft);
}
.pillar:last-child { border-bottom: 1.5px solid var(--line-soft); }
.pillar-head { position: sticky; top: 110px; align-self: start; }
.pillar-num {
  font-family: var(--display); font-weight: 700; font-size: 70px; line-height: 1;
  margin-bottom: 16px; display: block; letter-spacing: -0.04em;
}
.pillar-head h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.pillar-head p { color: var(--text-dim); font-size: 15.5px; }
.pillar-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fcard {
  border: 1.5px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.fcard:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--card-shadow); }
.fcard-img { aspect-ratio: 16/11; overflow: hidden; position: relative; background: var(--surface-2); }
.fcard-img image-slot { width: 100%; height: 100%; }
.fcard-body { padding: 22px 22px 26px; }
.fcard-body h4 { font-size: 19px; margin-bottom: 8px; }
.fcard-body p { font-size: 14.5px; color: var(--text-dim); margin: 0; }
.fcard-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  background: var(--bg); color: var(--accent); border: 1.5px solid var(--line);
}
@media (max-width: 900px) { .pillar { grid-template-columns: 1fr; } .pillar-head { position: static; } }
@media (max-width: 560px) { .pillar-cards { grid-template-columns: 1fr; } }

/* ---------- SHOWCASE (smooth CSS marquee) ---------- */
.showcase { padding: clamp(48px, 8vh, 96px) 0; overflow: hidden; }
.showcase .shead { padding-inline: var(--gutter); max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.showcase .shead > div { max-width: 640px; }
.show-hint { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--text-mute); display: inline-flex; align-items: center; gap: 9px; }
.show-hint .wheel { width: 28px; height: 18px; border: 2px solid var(--line); border-radius: 100px; position: relative; flex: 0 0 auto; }
.show-hint .wheel::after { content:""; position:absolute; top:50%; left:5px; transform:translateY(-50%); width:6px; height:6px; border-radius:50%; background: var(--accent); animation: dragpulse 1.8s var(--ease) infinite; }
@keyframes dragpulse { 0%,100%{ left:5px; opacity:.4; } 50%{ left:15px; opacity:1; } }
body.no-motion .show-hint .wheel::after { animation: none; left: 11px; }

/* Edge fade so cards glide in/out softly */
.show-marquee {
  position: relative;
  overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.show-track {
  display: flex;
  width: max-content;
  padding: 16px 0 44px;
  will-change: transform;
  animation: showmarquee 60s linear infinite;
}
.show-marquee:hover .show-track { animation-play-state: paused; }
body.no-motion .show-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .show-track { animation: none; } }
@keyframes showmarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.show-card {
  flex: 0 0 clamp(230px, 30vw, 360px);
  margin-right: 22px;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden; position: relative;
  background: var(--surface-2);
  box-shadow: var(--card-shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* alternate vertical rhythm for a dynamic, staggered look */
.show-card:nth-child(even) { transform: translateY(26px); }
.show-marquee:hover .show-card:hover { transform: translateY(0) scale(1.03); box-shadow: 0 36px 70px -28px rgba(106,43,138,0.5); }
.show-card image-slot { width: 100%; height: 100%; }
.show-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 38%, rgba(10,15,36,0.88)); pointer-events:none; }
.show-card .meta { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.show-card .meta .k { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); }
.show-card .meta h4 { font-size: clamp(18px, 1.8vw, 23px); margin: 6px 0 0; color: #fff; }
.show-card .meta p { font-size: 13px; margin: 7px 0 0; color: rgba(255,255,255,0.82); line-height: 1.45; }
@media (max-width: 600px) {
  .show-card { flex-basis: 70vw; }
  .show-card:nth-child(even) { transform: translateY(16px); }
}

/* ---------- TRUST steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step {
  border: 1.5px solid var(--line-soft); border-radius: var(--r-md);
  padding: 24px 20px 26px; background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.step:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--card-shadow); }
.step-num { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 16px; }
.step-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brand-grad-soft); color: var(--accent); }
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-dim); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ECOSYSTEM marquee ---------- */
.marquee { overflow: hidden; margin-top: 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: scroll 30s linear infinite; } }
body.no-motion .marquee-track { animation: none; }
@keyframes scroll { to { transform: translateX(-50%); } }
.eco-pill {
  display: flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; color: var(--text);
}
.eco-pill .badge { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.eco-pill:nth-child(3n) .badge { background: var(--magenta); }
.eco-pill:nth-child(3n+1) .badge { background: var(--gold); }

/* ---------- TESTIMONIALS ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  border: 1.5px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 32px 30px; background: var(--surface);
  display: flex; flex-direction: column; gap: 22px; position: relative;
}
.quote.feature { background: var(--brand-grad); background-size: 140% 140%; color: var(--white); border-color: transparent; }
.quote .mark { font-family: var(--display); font-weight: 700; font-size: 60px; line-height: 0.5; color: var(--accent); height: 30px; }
.quote.feature .mark { color: var(--gold-lt); }
.quote p { font-size: 16.5px; line-height: 1.55; margin: 0; flex: 1; }
.quote-who { display: flex; align-items: center; gap: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--white); background: var(--brand-grad); flex: 0 0 auto; }
.quote.feature .avatar { background: var(--white); color: var(--purple); }
.quote-who .name { font-family: var(--display); font-weight: 700; font-size: 15px; }
.quote-who .role { font-size: 12.5px; color: var(--text-mute); }
.quote.feature .quote-who .role { color: rgba(255,255,255,0.8); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1.5px solid var(--line-soft); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); }
.faq-q .ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 28px; color: var(--text-dim); font-size: 16px; max-width: 60ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- FINAL CTA (gradient block) ---------- */
.cta-final {
  text-align: center; border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  background: var(--brand-grad); background-size: 140% 140%; color: var(--white); position: relative; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(106,43,138,0.7);
}
.cta-final .eyebrow { color: var(--white); }
.cta-final .eyebrow::before { display: none; }
.cta-final h2 { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 20px; }
.cta-final .lede { margin-inline: auto; color: rgba(255,255,255,0.9); }
.waitlist { display: flex; gap: 8px; max-width: 480px; margin: 34px auto 18px; border: 2px solid rgba(255,255,255,0.45); border-radius: 100px; padding: 6px; background: rgba(255,255,255,0.14); }
.waitlist input { flex: 1; background: none; border: none; color: var(--white); font-family: var(--body); font-size: 15px; padding: 0 18px; outline: none; }
.waitlist input::placeholder { color: rgba(255,255,255,0.72); }
.waitlist .btn-primary { background: var(--white); color: var(--purple); box-shadow: none; }
.waitlist .btn-primary:hover { filter: none; background: var(--gold-lt); color: var(--navy); }
.waitlist.done { border-color: var(--gold-lt); }
.form-note { font-size: 13px; color: rgba(255,255,255,0.78); }
.success-msg { color: var(--white); font-family: var(--display); font-weight: 700; }
.cta-deco { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); pointer-events: none; }
.cta-deco.a { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-deco.b { width: 220px; height: 220px; bottom: -110px; left: -60px; border-color: rgba(255,255,255,0.28); }

/* ---------- FOOTER (always navy anchor) ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 calc(40px + env(safe-area-inset-bottom)); background: var(--navy-2); color: #d7dbed; }
.footer .brand-name { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: #aab0c8; font-size: 14.5px; max-width: 34ch; margin: 18px 0 22px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.16); display: grid; place-items: center; color: #c7cce0; font-family: var(--display); font-weight: 700; font-size: 13px; transition: all .25s; }
.socials a:hover { background: var(--brand-grad); color: var(--white); border-color: transparent; }
.fcol h5 { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b91ac; margin: 0 0 18px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fcol a { color: #aab0c8; font-size: 14.5px; transition: color .2s; }
.fcol a:hover { color: var(--gold-lt); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: #8b91ac; margin: 0; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { font-size: 13px; color: #8b91ac; }
.footer-bottom .links a:hover { color: var(--white); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE APP BAR (bottom)
   ============================================================ */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-soft);
  }
  .mb-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: none; border: none; padding: 8px 4px;
    color: var(--text-mute); font-family: var(--display); font-weight: 600; font-size: 10.5px;
    letter-spacing: 0.02em;
  }
  .mb-item svg { width: 22px; height: 22px; }
  .mb-item.active { color: var(--accent); }
  .mb-fab {
    align-self: center;
    width: 60px; height: 60px; border-radius: 50%;
    margin-top: -26px;
    display: grid; place-items: center;
    background: var(--brand-grad); color: var(--white);
    border: 4px solid var(--bg);
    box-shadow: 0 12px 26px -8px rgba(192,40,143,0.6);
  }
  .mb-fab span { font-family: var(--display); font-weight: 700; font-size: 9.5px; letter-spacing: 0.04em; margin-top: 1px; }
  .mb-fab svg { width: 20px; height: 20px; }
  body { padding-bottom: 78px; }
}
