/* written by landing_page.py for content-factory from landing-cf.css */
/* Content Factory ship page: the wow "one story, your last word" (loaded after landing.css, only on this page).
   Beats on the drawing (data-beat): 1 the source and five empty channel slots · 2 a finished piece flies into every slot,
   each waiting for you · 3 your red ticks on four pieces (one edited first), LINE sent back · 4 the approved four move
   into the posting queue with their times. Red is only your tick (owner rule: red for the waterline and the key mark). */
.cf-stage{display:block;width:100%;height:auto;overflow:visible;font-family:var(--th)}
.cf-stage text{stroke:none}
.cf-col{fill:var(--mist);font:500 16px var(--th)}
.cf-col-line{fill:none;stroke:rgba(255,255,255,.25);stroke-width:1}
.cf-col-q{opacity:0;transition:opacity .8s var(--jg-ease)}
.cf-slot{fill:none;stroke:rgba(255,255,255,.38);stroke-width:1.2;stroke-dasharray:5 5;transition:opacity .8s var(--jg-ease)}
.cf-slot-t{fill:var(--mist);font:500 15px var(--th);transition:opacity .8s var(--jg-ease)}
.cf-paper{fill:#F4F2EF}
.cf-src,.cf-d{filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
.cf-ch{fill:#58524C;font:500 14px var(--th)}
.cf-src-t{fill:#22201F;font:500 19px var(--th)}
.cf-src-t2{fill:#3A3632;font:400 17px var(--th)}
.cf-ln{fill:#CFC8BE}
.cf-ln-h,.cf-new{fill:#22201F}
.cf-media{fill:#2B2F45}
.cf-play{fill:#F4F2EF}
.cf-bub{fill:#E6E0D7}
.cf-chip{fill:none;stroke:#22201F;stroke-width:1}
.cf-chip-t{fill:#22201F;font:500 14px var(--th);text-anchor:middle}
.cf-chip-dash{stroke-dasharray:4 3}
.cf-hl{fill:#EADFC8;opacity:0;transition:opacity .4s .9s}
.cf-fixed{opacity:0;transition:opacity .4s 1.1s}
.cf-when{fill:#22201F;font:600 14px var(--th);opacity:0;transition:opacity .6s var(--jg-ease) .5s}
.cf-tick{fill:none;stroke:var(--red);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.cf-strike{fill:none;stroke:#22201F;stroke-width:1.5;stroke-dasharray:200;stroke-dashoffset:200}
.cf-new{opacity:0}
.cf-back{opacity:0;transition:opacity .6s var(--jg-ease)}
.cf-wait{transition:opacity .6s var(--jg-ease)}

/* the pieces start inside the source card, small and hidden */
.cf-d{transform-box:fill-box;transform-origin:center;opacity:0;transform:translate(var(--sx),var(--sy)) scale(.3);
  transition:opacity var(--jg-dur) var(--jg-ease) calc(var(--i) * 120ms),transform var(--jg-dur) var(--jg-ease) calc(var(--i) * 120ms)}
/* 2: every channel gets its own finished piece, waiting for you */
[data-beat="2"] .cf-d,[data-beat="3"] .cf-d,[data-beat="4"] .cf-d{opacity:1;transform:none}
/* 3: your decision. Four red ticks, the e-mail is edited before its tick, LINE goes back */
[data-beat="3"] .cf-tick,[data-beat="4"] .cf-tick{stroke-dashoffset:0;transition:stroke-dashoffset .5s var(--jg-ease) calc(.25s + var(--i) * 260ms)}
[data-beat="3"] .cf-d-mail .cf-tick,[data-beat="4"] .cf-d-mail .cf-tick{transition-delay:1.35s}
[data-beat="3"] .cf-strike,[data-beat="4"] .cf-strike{stroke-dashoffset:0;transition:stroke-dashoffset .5s var(--jg-ease) .7s}
[data-beat="3"] .cf-old,[data-beat="4"] .cf-old{opacity:.4;transition:opacity .4s .9s}
[data-beat="3"] .cf-new,[data-beat="4"] .cf-new{opacity:1;transform:translateY(-10px);transition:opacity .4s 1s,transform .4s 1s}
/* once you decide, nothing says "waiting" any more; LINE stays in its slot, faded, marked "sent back" */
[data-beat="3"] .cf-wait,[data-beat="4"] .cf-wait{opacity:0}
[data-beat="3"] .cf-d-line,[data-beat="4"] .cf-d-line{opacity:.55}
[data-beat="3"] .cf-back,[data-beat="4"] .cf-back,[data-beat="3"] .cf-hl,[data-beat="4"] .cf-hl,[data-beat="3"] .cf-fixed,[data-beat="4"] .cf-fixed{opacity:1}
/* 4: the approved pieces move into the posting queue and show their times */
[data-beat="4"] .cf-d:not(.cf-d-line){transform:translateX(236px)}
[data-beat="4"] .cf-when{opacity:1}
[data-beat="4"] .cf-col-q{opacity:1}
[data-beat="4"] .cf-slot{opacity:.3}
/* once the pieces arrive they carry their own channel names; the empty slots' names step aside */
[data-beat="2"] .cf-slot-t,[data-beat="3"] .cf-slot-t,[data-beat="4"] .cf-slot-t{opacity:0}

/* the three plain captions under the drawing: where the story is now (Grok r1: the meaning lives in words) */
.cf-caps{display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;padding:0;list-style:none}
.cf-caps li{position:relative;padding-left:14px;font:400 14.5px/1.4 var(--th);color:var(--mist);transition:color .4s}
.cf-caps li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border:1px solid currentColor;border-radius:50%}
.cf-caps li.on{color:#fff;font-weight:600}
.cf-caps li.on::before{background:currentColor}
.jg5 .cf-deep.pin .cf-stage{max-height:min(620px,calc(100vh - var(--hh) - 150px))}
/* pinned: the drawing takes two thirds of the box (critic CF r1 #2); the step list carries the words, so the dots go */
.jg5 .cf-deep.pin .jg-deep-in{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
.jg5 .cf-deep.pin .cf-caps{display:none}
/* the peak: one big line when the approved pieces reach the queue */
.cf-peak-t{font:400 clamp(28px,2.7vw,40px)/1.35 var(--th);color:#fff;text-wrap:balance}
.cf-deep:not(.pin) .cf-peak{margin-top:28px}
/* stills and reduced motion: one heading size per role */
.cf-deep:not(.pin) .jg-bridge{font-size:clamp(22px,2vw,28px);font-weight:500}
.jg5 .cf-deep .jg-h2b{font-size:clamp(28px,2.6vw,38px)}

/* stills (phones, touch screens, reduced motion): three frozen beats, each with its words under it */
.cf-frames{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:620px;margin:24px 0}
.cf-frame{margin:0;padding:12px 12px 14px;background:rgba(255,255,255,.05)}
.cf-frame svg{display:block;width:100%;height:auto}
.cf-frame figcaption{margin-top:10px;font:400 16px/1.5 var(--th);color:#fff}
.cf-still *{transition:none !important}
.cf-still .cf-slot-t,.cf-still .cf-ch,.cf-still .cf-col{font-size:16px}
.cf-still .cf-chip-t{font-size:14.5px}
.cf-still .cf-when{font-size:15px}
.cf-still[data-beat="4"] .cf-chip-t{font-size:16px}
@media (prefers-reduced-motion:reduce){.cf-stage *{transition:none !important}}

/* roles: three equal tabs that never push a name onto a second line */
.jg5 .jg-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.jg5 .jg-tab{font-size:15px;padding-right:8px}}

/* round 6.2 (critic CF r2) */
.cf-pl{display:block}
@media (max-width:599px){
  .jg5 .jg-tabs{column-gap:16px}
  .jg5 .jg-tab{font-size:14.5px;line-height:1.3}
  /* the three days keep their words on phones (short texts fit two rows; the follow button stays in the first screen) */
  .jg5 .jg-day:not(:last-child) .jg-day-t{display:inline}
  .cf-pl{white-space:normal}
}
/* the queue still: the source card is out of frame, so it is not drawn (its edge showed as a sliver) */
.cf-still[data-beat="4"] .cf-src{display:none}

/* stills are cropped views: nothing outside the crop may show (the source card edge showed as a sliver) */
svg.cf-still{overflow:hidden}
