/* =============================================================================
   s6b — USE-CASE GALLERY  ("Built for businesses like yours")
   Layout archetype: PINNED full-bleed horizontal-scroll gallery.
   Signature motion (ONE): the .s6b-track pans on translateX as you scroll the
   pinned section; the centred panel brightens / lifts and its hook label fades up.
   Transform / opacity only. Full reduced-motion + mobile fallback = vertical stack.
   Distinct from every neighbour (s6 = stacked phone type+fan-out; s7 next).
   ========================================================================== */

/* The section itself: no vertical padding while pinned (the pin owns the
   viewport height). Keep it edge-to-edge full-bleed. */
#s6b {
  padding-block: 0;
  overflow: clip;                 /* contain the off-screen track */
}

/* -------- pinned stage (desktop) -------------------------------------------
   .s6b-pin is what GSAP pins. It is one viewport tall and full width. */
.s6b-pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3.4vh, 36px);
  padding-block: clamp(64px, 12vh, 120px) clamp(40px, 8vh, 80px);
  position: relative;
}

/* heading rail (stays put while the track pans) */
.s6b-head {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.s6b-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
}
.s6b-eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.s6b-progress {
  position: relative;
  flex: 0 0 clamp(120px, 22vw, 280px);
  height: 2px;
  background: rgba(168,200,224,0.14);
  border-radius: 2px;
  overflow: hidden;
}
.s6b-progress__bar {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-bright));
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  border-radius: 2px;
}

/* -------- the panning viewport + track ------------------------------------- */
.s6b-viewport {
  width: 100%;
  overflow: hidden;
}
.s6b-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  /* leading gutter so panel 0 starts aligned to content edge; trailing handled by closer */
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  /* the signature motion: scroll-driven translateX (px set by JS) */
  transform: translate3d(var(--px, 0px), 0, 0);
  will-change: transform;
}

/* each panel is a fixed-width slide */
.s6b-panel {
  flex: 0 0 auto;
  width: min(78vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* active-panel focus: dim non-centred panels slightly so the centre reads.
   Driven by [data-active] toggled in JS. Transform/opacity only. */
.s6b-panel { opacity: 0.42; transition: opacity 0.5s var(--ease, ease); }
.s6b-panel[data-active] { opacity: 1; }

/* -------- intro panel ------------------------------------------------------- */
.s6b-panel--intro {
  width: min(72vw, 640px);
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--sp-3);
}
.s6b-intro__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ice);
}
.s6b-intro__lead {
  font-size: var(--fs-lead);
  color: var(--parchment-dim);
  line-height: 1.55;
  max-width: 36ch;
}
.s6b-intro__cue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: 10px;
}
.s6b-intro__arrow {
  color: var(--gold-bright);
  font-style: normal;
  position: relative;
  padding-right: 22px;
}
.s6b-intro__arrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 16px; height: 1px; background: var(--gold-bright);
  transform: translateY(-50%);
}
.s6b-intro__arrow::before {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; border-top: 1px solid var(--gold-bright); border-right: 1px solid var(--gold-bright);
  transform: translateY(-50%) rotate(45deg);
}

/* -------- a use-case card (device + label) --------------------------------- */
.s6b-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
}
.s6b-card__device { min-width: 0; }
.s6b-card__device .device-scene { width: 100%; }

.s6b-card__label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* hook label fades up as the panel becomes active */
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--ease, ease), transform 0.55s var(--ease, ease);
}
.s6b-panel[data-active] .s6b-card__label { opacity: 1; transform: none; }

.s6b-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  font-weight: 500;
}
.s6b-card__hook {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1vw + 11px, 19px);
  line-height: 1.5;
  color: var(--ice);
  max-width: 34ch;
}

/* device sizing inside the gallery (scale frames down a touch to fit panel) */
.s6b-laptop  { width: min(100%, 480px); margin-inline: auto; }
.s6b-browser { width: min(100%, 460px); margin-inline: auto; }
.s6b-tabletdev { width: min(100%, 380px); margin-inline: auto; }
.s6b-phone   { width: min(100%, 240px); margin-inline: auto; }

/* the gallery laptops sit OPEN (no scrub of the lid here; that motion belongs to
   s1/s4). Force the lid flat-open via the kit's --lid var. */
.s6b-laptop .laptop__lid { --lid: 1; }

/* =============================================================================
   SCREEN CONTENT (palette-locked, mono figures). Compact for gallery frames.
   ========================================================================== */
.s6b-screen { gap: 9px; }
.s6b-screen .dash-grid { gap: 8px; }
.s6b-screen .card { padding: 8px 9px; }
.s6b-screen .card__value { font-size: clamp(15px, 4.4cqw, 24px); }
.s6b-screen--phone { gap: 8px; }

.s6b-pill--amber { color: var(--gold-bright); }
.s6b-pill--amber::before { background: var(--gold-bright) !important; }

/* ---- restaurant: kitchen / waiter split ---- */
.s6b-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s6b-kds, .s6b-tablet {
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(168,200,224,0.04);
  border: 1px solid rgba(168,200,224,0.08);
  border-radius: 8px; padding: 8px;
}
.s6b-kds__lbl, .s6b-tablet__lbl {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
}
.s6b-tick, .s6b-dish {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ice);
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px; border-radius: 5px;
  background: rgba(168,200,224,0.04);
}
.s6b-tick--on { border-left: 2px solid var(--green-live); }
.s6b-tick--new { border-left: 2px solid var(--gold-bright); }
.s6b-dish i { font-style: normal; margin-left: auto; font-size: 8.5px; padding: 1px 5px; border-radius: 999px; }
.s6b-allerg { background: rgba(168,200,224,0.12); color: var(--cyan-glow); }
.s6b-86 { background: rgba(224,106,106,0.18); color: #E08A8A; }
.s6b-dish--out { opacity: 0.5; text-decoration: line-through; text-decoration-color: rgba(224,106,106,0.6); }

/* ---- accommodation: channel bars ---- */
.s6b-units { display: flex; flex-direction: column; gap: 8px; }
.s6b-unit { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 10px; }
.s6b-unit__name { font-family: var(--font-mono); font-size: 10.5px; color: var(--parchment-dim); }
.s6b-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(168,200,224,0.07); }
.s6b-bar__seg { display: block; height: 100%; width: var(--w); }
.s6b-bar__seg--air { background: var(--cyan-glow); }
.s6b-bar__seg--bk  { background: var(--gold-soft); }
.s6b-bar__seg--dir { background: var(--green-live); }
.s6b-unit__p { font-family: var(--font-mono); font-size: 12px; color: var(--ice); font-variant-numeric: tabular-nums; }
.s6b-unit__p .unit { font-size: 0.7em; color: var(--steel); }
.s6b-arrivals { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(168,200,224,0.08); padding-top: 8px; }
.s6b-arrivals__lbl { font-family: var(--font-mono); font-size: 10px; color: var(--gold-bright); }
.s6b-key { font-family: var(--font-mono); font-size: 9px; color: var(--steel); display: inline-flex; align-items: center; gap: 5px; }
.s6b-key .k { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.s6b-key .k--air { background: var(--cyan-glow); }
.s6b-key .k--bk  { background: var(--gold-soft); }
.s6b-key .k--dir { background: var(--green-live); }

/* ---- activity operator: sessions ---- */
.s6b-sessions { display: flex; flex-direction: column; gap: 7px; }
.s6b-session {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  background: rgba(168,200,224,0.04); border: 1px solid rgba(168,200,224,0.08);
  border-radius: 8px; padding: 8px 10px;
}
.s6b-session__time { font-family: var(--font-mono); font-size: 13px; color: var(--gold-bright); }
.s6b-session__name { font-family: var(--font-serif); font-size: 13px; color: var(--ice); }
.s6b-session__meta { grid-column: 2; font-family: var(--font-mono); font-size: 9.5px; color: var(--steel); }
.s6b-session__ok { width: 16px; height: 16px; border-radius: 50%; background: rgba(59,208,122,0.16);
  position: relative; }
.s6b-session__ok::after { content: ""; position: absolute; inset: 0; margin: auto;
  width: 7px; height: 4px; border-left: 1.5px solid var(--green-live); border-bottom: 1.5px solid var(--green-live);
  transform: translateY(-1px) rotate(-45deg); }

/* ---- salon diary ---- */
.s6b-diary { display: flex; flex-direction: column; gap: 5px; }
.s6b-appt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ice); padding: 5px 8px; border-radius: 6px; background: rgba(168,200,224,0.04); }
.s6b-appt__t { color: var(--gold-bright); }
.s6b-appt--now { border-left: 2px solid var(--gold-bright); background: rgba(196,162,101,0.08); }
.s6b-dep { margin-left: auto; font-style: normal; font-size: 8.5px; color: var(--green-live); }
.s6b-client { background: rgba(168,200,224,0.04); border: 1px solid rgba(168,200,224,0.08);
  border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.s6b-client__lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.s6b-client__row { font-family: var(--font-mono); font-size: 10px; color: var(--parchment-dim); }

/* ---- trades kanban ---- */
.s6b-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.s6b-col { display: flex; flex-direction: column; gap: 5px; }
.s6b-col__h { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel); }
.s6b-job { font-family: var(--font-mono); font-size: 9.5px; color: var(--ice);
  background: rgba(168,200,224,0.05); border: 1px solid rgba(168,200,224,0.09);
  border-radius: 6px; padding: 6px; display: flex; align-items: center; gap: 5px; }
.s6b-job--photo i { width: 12px; height: 12px; border-radius: 3px; margin-left: auto;
  background: linear-gradient(135deg, #2a3a2a, #43603f); display: inline-block; }
.s6b-job--inv { border-color: rgba(196,162,101,0.4); }
.s6b-chase { margin-left: auto; font-style: normal; font-size: 8px; color: var(--gold-bright); }
.s6b-stripe { display: flex; align-items: center; gap: 8px; border-top: 1px solid rgba(168,200,224,0.08);
  padding-top: 8px; }
.s6b-stripe__lbl { font-family: var(--font-mono); font-size: 10px; color: var(--parchment-dim); }
.s6b-stripe__amt { font-family: var(--font-mono); font-size: 13px; color: var(--ice); }
.s6b-stripe__amt .unit { font-size: 0.7em; color: var(--steel); }
.s6b-stripe__tag { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; color: var(--gold-bright);
  border: 1px solid rgba(196,162,101,0.35); border-radius: 999px; padding: 2px 8px; }

/* ---- events: month grid + what's on ---- */
.s6b-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.s6b-md { font-family: var(--font-mono); font-size: 8px; color: var(--steel); text-align: center; }
.s6b-cell { aspect-ratio: 1; border-radius: 4px; background: rgba(168,200,224,0.04);
  display: flex; align-items: center; justify-content: center; gap: 2px; }
.ev { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.ev--a { background: var(--cyan-glow); }
.ev--b { background: var(--gold-bright); }
.ev--c { background: var(--green-live); }
.s6b-whatson { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid rgba(168,200,224,0.08);
  padding-top: 8px; }
.s6b-whatson__lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.s6b-ev { font-family: var(--font-mono); font-size: 10.5px; color: var(--ice); display: flex; align-items: center; gap: 7px; }

/* -------- feature panels (Phase A: simple, tidy text panels) ----------------
   Phase B replaces the inner UI with rich feature mockups; the panel shell and
   the pinned-pan behaviour stay. */
.s6b-panel--feature {
  width: min(82vw, 760px);
}
/* DESKTOP: the feature card reads side-by-side: the copy (number, headline,
   body) on the LEFT and a polished, brand-specific MOCK UI on the RIGHT, so each
   panel is a two-column statement rather than one tall stack. MOBILE collapses
   it to a single column (see breakpoint). */
.s6b-feature {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: var(--sp-3);
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(168,200,224,0.05), rgba(168,200,224,0.015));
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
/* left copy column groups num + title + body */
.s6b-feature__copy { grid-column: 1; display: flex; flex-direction: column; gap: 14px; }
/* the brand UI occupies the right column, vertically centred against the copy */
.s6b-feature__ui { grid-column: 2; align-self: center; min-width: 0; }
.s6b-feature__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-bright);
  opacity: 0.9;
}
.s6b-feature__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.3vw + 14px, 30px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ice);
  margin: 0;
  text-wrap: balance;
}
.s6b-feature__body {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--parchment-dim);
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}

/* =============================================================================
   s6b FEATURE UIs  —  the polished, brand-specific mock product UI that rides
   on the RIGHT of each feature panel. Each opts into a mock brand via .mb
   .mb--<brand> from mock-brands.css, so it renders as its own light product UI
   inside the Beaufort-dark panel. All var-driven; no hardcoded chrome colours.
   These are static (no per-element animation): the section's ONE signature
   motion is the pinned horizontal pan + active-panel lift, untouched here.
   ========================================================================== */
.s6b-ui {
  width: 100%;
  border-radius: 16px;
  padding: clamp(12px, 1.6cqw, 18px);
  gap: clamp(9px, 1.4cqw, 13px);
  box-shadow: var(--mb-shadow);
  /* a soft brand-tinted frame so the light card pops on the dark panel */
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 44px -20px rgba(0,0,0,0.55);
  border: 1px solid var(--mb-line);
  overflow: hidden;
  font-size: clamp(11px, 1.45cqw, 14px);
}
.s6b-ui__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 2px;
}
.s6b-ui .mb-logo { font-size: clamp(13px, 1.7cqw, 17px); }
.s6b-ui__live {
  font-family: var(--mb-font-num); font-size: 0.72em; font-weight: 600;
  letter-spacing: 0.04em; color: var(--mb-text-soft);
  background: var(--mb-surface-2); border-radius: 999px; padding: 4px 10px;
  white-space: nowrap;
}
.s6b-ui__live--ok { color: var(--mb-accent); }
.s6b-ui .mb-card { padding: clamp(9px, 1.3cqw, 14px); box-shadow: none; }
.s6b-ui .mb-inset { padding: clamp(6px, 1cqw, 10px); }

/* ---- 01 Marketplace ("Your business") ---- */
.s6b-ui--market { display: flex; flex-direction: column; }
.s6b-mk__listing { display: grid; grid-template-columns: clamp(60px, 9cqw, 92px) 1fr; gap: 12px; align-items: stretch; }
.s6b-mk__photo {
  display: block; border-radius: 9px;
  background: var(--mb-surface-2) url(./img/market-product-sq.webp) center/cover no-repeat;
}
.s6b-mk__fields { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s6b-mk__auto {
  align-self: flex-start;
  font-family: var(--mb-font-num); font-size: 0.66em; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mb-accent); background: color-mix(in srgb, var(--mb-accent) 12%, transparent);
  border-radius: 999px; padding: 2px 8px;
}
.s6b-mk__title { font-family: var(--mb-font-head); font-weight: 600; color: var(--mb-text); font-size: 1.02em; line-height: 1.2; }
.s6b-mk__desc { color: var(--mb-text-soft); font-size: 0.84em; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s6b-mk__meta { display: flex; align-items: baseline; gap: 8px; margin-top: 1px; }
.s6b-mk__meta b { font-family: var(--mb-font-num); color: var(--mb-text); font-size: 1.05em; }
.s6b-mk__meta i { font-style: normal; color: var(--mb-text-soft); font-size: 0.8em; }
.s6b-mk__channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.s6b-mk__ch {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 4px; border-radius: 10px;
  font-family: var(--mb-font-body); font-size: 0.78em; font-weight: 600; color: var(--mb-text);
  text-align: center;
}
.s6b-mk__ic {
  width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mb-font-num); font-weight: 700; font-size: 0.82em; color: #fff;
  letter-spacing: -0.02em;
}
.s6b-mk__ic--ebay   { background: #e53238; }
.s6b-mk__ic--vinted { background: #007782; }
.s6b-mk__ic--depop  { background: #ff2300; }
.s6b-mk__ic--shop   { background: var(--mb-accent); }
.s6b-mk__ok { width: 13px; height: 13px; border-radius: 50%;
  background: var(--mb-accent-2); position: relative; }
.s6b-mk__ok::after { content: ""; position: absolute; inset: 0; margin: auto;
  width: 6px; height: 3px; border-left: 1.4px solid #fff; border-bottom: 1.4px solid #fff;
  transform: translateY(-0.5px) rotate(-45deg); }
.s6b-mk__stock { display: flex; align-items: center; gap: 9px; }
.s6b-mk__stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mb-accent-2); flex: 0 0 auto; }
.s6b-mk__stock-txt { color: var(--mb-text-soft); font-size: 0.84em; }
.s6b-mk__stock-txt b { color: var(--mb-text); font-family: var(--mb-font-num); }

/* ---- 02 Booking calendar (Fellfoot Stays) ---- */
.s6b-ui--cal { display: flex; flex-direction: column; }
.s6b-cl__keys { display: flex; gap: 12px; flex-wrap: wrap; }
.s6b-cl__key { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78em; color: var(--mb-text-soft); }
.s6b-cl__key::before { content: ""; width: 9px; height: 9px; border-radius: 3px; }
.s6b-cl__key--air::before { background: #ff5a5f; }
.s6b-cl__key--bk::before  { background: #1a4cb3; }
.s6b-cl__key--ex::before  { background: #c8a04a; }
.s6b-cl__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px;
  align-items: center;
}
.s6b-cl__dow { font-family: var(--mb-font-num); font-size: 0.68em; color: var(--mb-text-soft); text-align: center; }
.s6b-cl__unit { grid-column: 1 / -1; font-family: var(--mb-font-head); font-weight: 600;
  font-size: 0.82em; color: var(--mb-text); margin-top: 3px; }
.s6b-cl__book {
  height: 22px; border-radius: 6px; display: flex; align-items: center; padding: 0 7px;
  font-family: var(--mb-font-body); font-size: 0.68em; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s6b-cl__book--air { background: #ff5a5f; }
.s6b-cl__book--bk  { background: #1a4cb3; }
.s6b-cl__book--ex  { background: #c8a04a; }
.s6b-cl__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.s6b-cl__chg { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82em; color: var(--mb-text); }
.s6b-cl__chg i { width: 8px; height: 8px; border-radius: 50%; background: var(--mb-accent); flex: 0 0 auto; }
.s6b-cl__msg { font-family: var(--mb-font-num); font-size: 0.72em; color: var(--mb-accent);
  background: color-mix(in srgb, var(--mb-accent) 12%, transparent); border-radius: 999px; padding: 3px 9px; }

/* ---- 03 AI marketing assistant: MAKE-A-POST FLOW (Crow Lane Coffee) ----
   A clear four-step flow the eye follows top-to-bottom down a numbered rail:
   (1) upload a photo -> (2) AI drafts a caption + hashtags -> (3) best time
   -> (4) scheduled. Numbered step badges sit on a connecting vertical rail.
   Static; the section's pinned horizontal pan is the only motion. */
.s6b-ui--post { display: flex; flex-direction: column; }
.s6b-post__brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mb-font-num);
  font-size: 0.72em; font-weight: 600; color: var(--mb-accent); white-space: nowrap; }
.s6b-post__brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--mb-accent); flex: 0 0 auto; }

.s6b-post__flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column;
  gap: clamp(9px, 1.3cqw, 13px); }

/* each step: numbered badge (col 1) + its card (col 2); a rail connects badges */
.s6b-post__step { position: relative; display: grid; grid-template-columns: 26px 1fr;
  gap: clamp(9px, 1.2cqw, 13px); align-items: start; }
/* the connecting rail: drawn down from each badge to the next */
.s6b-post__step:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 26px; bottom: calc(-1 * clamp(9px, 1.3cqw, 13px));
  width: 2px; transform: translateX(-1px);
  background: color-mix(in srgb, var(--mb-accent) 30%, var(--mb-line));
}
.s6b-post__num { grid-row: 1; grid-column: 1; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  font-family: var(--mb-font-num); font-weight: 700; font-size: 0.84em; line-height: 1;
  color: var(--mb-on-accent); background: var(--mb-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mb-accent) 14%, transparent); position: relative; z-index: 1; }
.s6b-post__num--ok { background: var(--mb-accent-2); color: #fff; }
.s6b-post__body { grid-column: 2; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.s6b-post__lbl { font-family: var(--mb-font-num); font-size: 0.78em; font-weight: 600;
  color: var(--mb-text); letter-spacing: 0.005em; }

/* STEP 1 photo */
.s6b-post__photo { position: relative; padding: 0; overflow: hidden; border-radius: 12px;
  aspect-ratio: 16 / 8; }
.s6b-post__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.s6b-post__file { position: absolute; left: 8px; bottom: 8px; font-family: var(--mb-font-num);
  font-size: 0.68em; font-weight: 600; color: #fff; background: rgba(20,16,14,0.62);
  border-radius: 999px; padding: 3px 9px; backdrop-filter: blur(2px); }

/* STEP 2 caption draft */
.s6b-post__draft { display: flex; flex-direction: column; gap: 6px; }
.s6b-post__caption { color: var(--mb-text); font-size: 0.9em; line-height: 1.5; font-family: var(--mb-font-head); }
.s6b-post__tags { color: var(--mb-accent); font-size: 0.8em; font-weight: 600; }

/* STEP 3 best time */
.s6b-post__time { display: flex; align-items: center; gap: 9px; }
.s6b-post__clock { color: var(--mb-accent); display: inline-flex; flex: 0 0 auto; }
.s6b-post__time-txt { font-size: 0.84em; color: var(--mb-text-soft); line-height: 1.35; }
.s6b-post__time-txt b { color: var(--mb-text); font-family: var(--mb-font-num); }

/* STEP 4 scheduled */
.s6b-post__sched { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.s6b-post__accts { display: inline-flex; align-items: center; flex: 0 0 auto; }
.s6b-post__ac { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center;
  justify-content: center; font-family: var(--mb-font-num); font-style: normal; font-weight: 700;
  font-size: 0.62em; color: #fff; margin-left: -6px; box-shadow: 0 0 0 2px var(--mb-surface); }
.s6b-post__ac:first-child { margin-left: 0; }
.s6b-post__ac--ig { background: #c13584; }
.s6b-post__ac--fb { background: #1877f2; }
.s6b-post__ac--in { background: #0a66c2; }
.s6b-post__sched-txt { font-size: 0.82em; color: var(--mb-text-soft); min-width: 0; flex: 1 1 auto; }
.s6b-post__sched-txt b { color: var(--mb-text); font-family: var(--mb-font-num); }
.s6b-post__chip { flex: 0 0 auto; font-family: var(--mb-font-num); font-size: 0.72em; font-weight: 600;
  color: var(--mb-accent-2); background: color-mix(in srgb, var(--mb-accent-2) 12%, transparent);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

/* ---- 04 AI blog pipeline (Fellgate Electrical) ----
   A short list of SEO-tuned article ideas (one already written, others with a
   "Write this" action), a drafted post in the brand's voice, and a subtle
   "ranking up" SEO signal. Static; the section's pinned pan is the only motion. */
.s6b-ui--blog { display: flex; flex-direction: column; }
.s6b-bl__brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mb-font-num);
  font-size: 0.72em; font-weight: 600; color: var(--mb-accent); white-space: nowrap; }
.s6b-bl__brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--mb-accent-2); flex: 0 0 auto; }
.s6b-bl__ideas { display: flex; flex-direction: column; gap: 7px; }
.s6b-bl__ideas-lbl { font-family: var(--mb-font-num); font-size: 0.66em; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--mb-text-soft); }
.s6b-bl__idea { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.s6b-bl__idea-txt { color: var(--mb-text); font-size: 0.86em; line-height: 1.3; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s6b-bl__act {
  flex: 0 0 auto; font-family: var(--mb-font-num); font-size: 0.7em; font-weight: 600;
  color: var(--mb-on-accent); background: var(--mb-accent); border-radius: 999px; padding: 4px 11px;
  white-space: nowrap;
}
.s6b-bl__act--done {
  color: var(--mb-text-soft); background: var(--mb-surface-2);
}
.s6b-bl__idea--done .s6b-bl__idea-txt { color: var(--mb-text-soft); }
.s6b-bl__draft { display: flex; flex-direction: column; gap: 6px; }
.s6b-bl__label { align-self: flex-start; font-family: var(--mb-font-num); font-size: 0.66em; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--mb-accent);
  background: color-mix(in srgb, var(--mb-accent) 12%, transparent); border-radius: 999px; padding: 2px 8px; }
.s6b-bl__title { font-family: var(--mb-font-head); font-weight: 700; color: var(--mb-text);
  font-size: 1.02em; line-height: 1.2; }
.s6b-bl__body { color: var(--mb-text-soft); font-size: 0.84em; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s6b-bl__rank { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.s6b-bl__rank-txt { font-size: 0.82em; color: var(--mb-text-soft); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s6b-bl__rank-txt b { color: var(--mb-text); font-weight: 600; }
.s6b-bl__rank-move { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mb-font-num); font-size: 0.78em; font-weight: 700; color: var(--mb-accent-2); }
.s6b-bl__rank-arrow { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 7px solid var(--mb-accent-2); }

/* ---- 05 Quotes -> invoices (neutral product) ---- */
.s6b-ui--inv { display: flex; flex-direction: column; }
.s6b-iv__flow { display: flex; align-items: center; gap: 4px; }
.s6b-iv__step { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72em; font-weight: 600;
  color: var(--mb-text-soft); white-space: nowrap; }
.s6b-iv__step i { width: 13px; height: 13px; border-radius: 50%; background: var(--mb-accent-2);
  position: relative; flex: 0 0 auto; }
.s6b-iv__step i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 5px; height: 3px;
  border-left: 1.3px solid #fff; border-bottom: 1.3px solid #fff; transform: translateY(-0.5px) rotate(-45deg); }
.s6b-iv__step--paid { color: var(--mb-accent); }
.s6b-iv__step--paid i { background: var(--mb-accent); }
.s6b-iv__line { flex: 1 1 auto; height: 2px; border-radius: 2px; background: var(--mb-accent-2); opacity: 0.5; min-width: 6px; }
.s6b-iv__card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.s6b-iv__amt { display: flex; flex-direction: column; gap: 2px; }
.s6b-iv__amt b { font-family: var(--mb-font-num); font-size: 1.3em; color: var(--mb-text); }
.s6b-iv__amt i { font-style: normal; font-size: 0.78em; color: var(--mb-text-soft); }
.s6b-iv__badge { font-family: var(--mb-font-num); font-size: 0.74em; font-weight: 700; color: var(--mb-accent-2);
  background: color-mix(in srgb, var(--mb-accent-2) 14%, transparent); border-radius: 999px; padding: 4px 11px; }
.s6b-iv__chase { display: flex; flex-direction: column; gap: 5px; }
.s6b-iv__chase-lbl { font-family: var(--mb-font-num); font-size: 0.66em; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mb-text-soft); }
.s6b-iv__nudge { display: flex; align-items: center; gap: 9px; font-size: 0.84em; color: var(--mb-text); }
.s6b-iv__nudge i { font-style: normal; font-family: var(--mb-font-num); font-size: 0.78em; color: var(--mb-text-soft);
  flex: 0 0 auto; width: 42px; }
.s6b-iv__nudge--ok { color: var(--mb-accent-2); font-weight: 600; }
.s6b-iv__nudge--ok i { color: var(--mb-accent-2); }

/* ---- 06 Numbers gathered (Greenslate Kitchen) ---- */
.s6b-ui--nums { display: flex; flex-direction: column; }
.s6b-nm__sources { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.s6b-nm__src { font-family: var(--mb-font-num); font-size: 0.74em; color: var(--mb-text-soft);
  background: var(--mb-surface-2); border-radius: 999px; padding: 3px 9px; }
.s6b-nm__arrow { font-family: var(--mb-font-body); font-size: 0.72em; font-style: italic; color: var(--mb-text-soft);
  margin-left: auto; }
.s6b-nm__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s6b-nm__tile { display: flex; flex-direction: column; gap: 3px; }
.s6b-nm__tile i { font-style: normal; font-size: 0.76em; color: var(--mb-text-soft); }
.s6b-nm__tile b { font-family: var(--mb-font-num); font-size: 1.35em; color: var(--mb-text); }
.s6b-nm__tile u { text-decoration: none; font-family: var(--mb-font-num); font-size: 0.74em; font-weight: 600; }
.s6b-nm__tile u.up { color: var(--mb-accent); }
.s6b-nm__tile u.dn { color: var(--mb-accent-2); }
.s6b-nm__chart { display: flex; flex-direction: column; gap: 6px; }
.s6b-nm__chart-lbl { font-family: var(--mb-font-num); font-size: 0.7em; color: var(--mb-text-soft); }
.s6b-nm__spark { width: 100%; height: clamp(28px, 5cqw, 42px); display: block; }

/* -------- closer panel ------------------------------------------------------ */
.s6b-panel--closer {
  width: min(60vw, 460px);
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--sp-3);
}
.s6b-closer__title { font-size: var(--fs-h2); font-weight: 600; line-height: 1.1; color: var(--ice); }
.s6b-closer__lead { font-size: var(--fs-lead); color: var(--parchment-dim); line-height: 1.5; max-width: 32ch; }
.s6b-closer__cta { margin-top: 6px; }

/* =============================================================================
   MOBILE + REDUCED MOTION + NO-JS  -> no pin, vertical stack, full opacity.
   ========================================================================== */

/* When JS pins, it adds .is-pinned to #s6b; without it, default = static stack. */
#s6b:not(.is-pinned) .s6b-track { transform: none !important; }

/* Mobile: stack everything vertically. */
@media (max-width: 880px) {
  #s6b { padding-block: var(--section-pad-y); }
  .s6b-pin { min-height: 0; padding-block: 0; gap: var(--sp-5); }
  .s6b-head { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
  .s6b-progress { display: none; }
  .s6b-intro__cue { display: none; }   /* "keep scrolling ->" is desktop-only */
  .s6b-viewport { overflow: visible; }
  .s6b-track {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-5);
    padding-inline: 0;
    transform: none !important;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .s6b-panel, .s6b-panel--intro, .s6b-panel--closer, .s6b-panel--feature {
    width: 100%;
    opacity: 1;                 /* every panel visible on mobile */
  }
  .s6b-feature__body { max-width: none; }
  /* feature card back to a single stacked column on mobile: copy, then UI */
  .s6b-feature {
    grid-template-columns: 1fr;
    row-gap: var(--sp-3);
  }
  .s6b-feature__copy,
  .s6b-feature__ui { grid-column: 1; align-self: stretch; }
  .s6b-ui { font-size: clamp(12px, 3.4vw, 15px); }
  .s6b-card {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .s6b-card__label { opacity: 1; transform: none; }   /* always shown */
  .s6b-card__hook { max-width: none; }
  .s6b-laptop, .s6b-browser, .s6b-tabletdev { width: min(100%, 460px); }
  .s6b-phone { width: min(72vw, 240px); }
}

/* Reduced motion (any width): kill the pan + focus dim, reveal labels. */
@media (prefers-reduced-motion: reduce) {
  .s6b-track { transform: none !important; }
  .s6b-panel { opacity: 1 !important; }
  .s6b-card__label { opacity: 1 !important; transform: none !important; }
  .s6b-progress__bar { transform: scaleX(1); }
}
