/* ===== Chief Funnel Builders (homepage) ===== */
.fb { position: relative; background: var(--cobalt); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; --shape-a: polygon(0 3px, 100% 0, calc(100% - 2px) 100%, 3px calc(100% - 2px)); --shape-b: polygon(3px 0, 100% 4px, 100% calc(100% - 3px), 0 100%); --shape-c: polygon(0 0, calc(100% - 3px) 3px, 100% 100%, 2px calc(100% - 3px)); }
.fb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(255,225,77,.22), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(255,61,139,.2), transparent 70%); pointer-events: none; }
.fb .wrap { position: relative; }
.fb-head { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.fb .eyebrow { color: var(--yellow); }
.fb h2 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.03em; max-width: 9em; }
.fb h2 .scribble::before { background: rgba(255,225,77,.35); }
.fb .lede { color: rgba(255,255,255,.92); max-width: 36em; margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 600; }
.fb-goals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fb-goals li { background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; padding: 9px 18px; clip-path: var(--shape-a); }
.fb-goals li:nth-child(even) { clip-path: var(--shape-b); transform: rotate(1.2deg); } .fb-goals li:nth-child(odd) { transform: rotate(-1.2deg); }
.fb-badge { position: relative; margin: 0; justify-self: center; width: min(360px, 70vw); }
.fb-badge img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.fb-badge figcaption { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%) rotate(-4deg); background: #fff; color: var(--ink); text-align: center; padding: 10px 22px 12px; clip-path: var(--shape-b); display: grid; gap: 0; line-height: 1.05; box-shadow: var(--shadow-2); min-width: 190px; }
.fb-badge figcaption span { background: var(--red); color: #fff; font: 800 .7rem var(--body); letter-spacing: .16em; padding: 3px 10px; margin: -10px -22px 8px; }
.fb-badge figcaption b { font-family: var(--display); font-size: 1.7rem; }
.fb-badge figcaption em { font-style: normal; font-weight: 800; font-size: .85rem; color: var(--cobalt); }

.fb-pipe { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: center; margin-top: clamp(56px, 8vw, 110px); counter-reset: none; }
.fb-pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 4px dashed rgba(255,255,255,.55); animation: fbFlow 1.2s linear infinite; z-index: 0; }
@keyframes fbFlow { to { background-position: 24px 0; } }
.fb-pipe::after { content: ""; position: absolute; left: 0; top: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,225,77,.3); animation: fbDot 5s cubic-bezier(.5,0,.5,1) infinite; z-index: 0; }
@keyframes fbDot { 0% { left: 0; } 100% { left: calc(100% - 18px); } }
.fs { position: relative; z-index: 1; color: var(--ink); padding: 24px 20px 26px; display: grid; gap: 8px; align-content: start; clip-path: var(--shape-a); filter: none; background: #fff; }
.fb-pipe .fs:nth-child(even) { clip-path: var(--shape-b); } .fb-pipe .fs:nth-child(3n) { clip-path: var(--shape-c); }
.fs.f1 { background: var(--yellow); min-height: 330px; } .fs.f2 { background: var(--mint); min-height: 308px; } .fs.f3 { background: var(--pink); color: #fff; min-height: 286px; }
.fs.f4 { background: var(--sky, #bfe8ff); min-height: 264px; } .fs.f5 { background: var(--lilac); min-height: 242px; } .fs.f6 { background: var(--orange); min-height: 220px; }
.fs .n { font-family: var(--display); font-weight: 700; opacity: .55; font-size: 1rem; }
.fs .ic { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fs h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1; margin-top: 4px; }
.fs p { font-weight: 700; font-size: .96rem; line-height: 1.4; }
.fb-cta { margin-top: clamp(48px, 7vw, 90px); display: flex; flex-wrap: wrap; gap: 16px 18px; align-items: center; }
.fb-cta p { flex: 1 1 360px; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.15; max-width: 28em; }
.fb .btn { background: var(--yellow); color: var(--ink); } .fb .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 3px #fff; }
@media (max-width: 980px) {
  .fb-head { grid-template-columns: 1fr; } .fb-badge { width: min(280px, 64vw); justify-self: start; }
  .fb-pipe { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .fb-pipe::before { left: 50%; right: auto; top: 0; bottom: 0; height: auto; width: 0; border-top: 0; border-left: 4px dashed rgba(255,255,255,.55); }
  .fb-pipe::after { display: none; }
  .fs { width: 100%; min-height: 0 !important; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 18px 20px; }
  .fs .n { grid-column: 1; grid-row: 1; } .fs .ic { grid-column: 1; grid-row: 2; } .fs h3, .fs p { grid-column: 2; } .fs h3 { grid-row: 1; margin-top: 0; } .fs p { grid-row: 2; }
  .fs.f1 { width: 100%; } .fs.f2 { width: 94%; } .fs.f3 { width: 88%; } .fs.f4 { width: 82%; } .fs.f5 { width: 76%; } .fs.f6 { width: 70%; }
}
@media (prefers-reduced-motion: reduce) { .fb-pipe::before, .fb-pipe::after { animation: none; } }

/* ===== Nav on scroll: the bar shrinks, the Fetch wordmark stays (no swap to the little mark) ===== */
.bone-wrap .bone { transition: transform .4s var(--ease), gap .35s var(--ease), padding .35s var(--ease), height .35s var(--ease); }
.bone-wrap .bone .bone-shape { transition: top .35s var(--ease), bottom .35s var(--ease); }
.bone-wrap .bone .bone-shape .body, .bone-wrap .bone .bone-shape .k { transition: all .35s var(--ease); }
.bone-wrap .bone .logo img { transition: height .35s var(--ease), opacity .3s; }
.bone-wrap .bone.compact { transform: none; height: 38px; gap: 12px; padding: 0 40px 0 36px; }
.bone-wrap .bone.compact:hover { transform: rotate(-.6deg); }
.bone-wrap .bone.compact .bone-shape { top: -13px; bottom: -13px; }
.bone-wrap .bone.compact .bone-shape .body { left: 20px; right: 20px; top: 13px; bottom: 13px; }
.bone-wrap .bone.compact .bone-shape .k { width: 38px; height: 38px; }
.bone-wrap .bone.compact .logo { width: 62px; height: 28px; }
.bone-wrap .bone.compact .logo img { height: 28px; }
.bone-wrap .bone.compact .wm { opacity: 1; transform: translateY(-50%) !important; }
.bone-wrap .bone.compact .mk { opacity: 0 !important; }
.bone-wrap .bone.compact .bone-cta { padding: 7px 16px; font-size: .88rem; }
.bone-wrap .bone.compact .menu-btn { min-width: 40px; min-height: 40px; padding: 6px; }
.bone-wrap .bone.compact .menu-btn .burger { width: 24px !important; gap: 5px !important; }
.bone-wrap .bone.compact .menu-btn .burger i { height: 3px !important; }
@media (max-width: 820px) {
  .bone-wrap .bone.compact { padding: 0 36px 0 32px; gap: 10px; }
}
.bone-wrap .bone.compact .bone-cta { white-space: nowrap; }

@media (max-width: 820px) { .fs.f2 { width: 97%; } .fs.f3 { width: 94%; } .fs.f4 { width: 92%; } .fs.f5 { width: 90%; } .fs.f6 { width: 88%; } }
.fb-badge figcaption span { font-size: .76rem; }

/* v18: funnels sit on deep pink so the sections alternate */
.fb { background: #e11d70; }
.fb .fs.f3 { background: #fff; color: var(--ink); }
