
/* how-it-works (round 89: Max's three-phase rebuild, the Apple pass). One
   story told once, in time order: Start, Build, Grow. A light hero with a
   to-scale timeline that doubles as the page's contents, then one gray tile
   per phase on white (what we do, your part, one visual), then the four
   straight answers. The shared shell lives in site/site.css; the AI answers
   figure (.aa) is shared there too. Labels are real headings or plain bold
   labels, never eyebrows. */
.hw-hero,.hw-phases,.hw-qa-sec{background:var(--field-2)}
.hw-hero{padding:calc(87px + 4.5rem) 0 3.5rem;text-align:center}
.hw-hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(2.7rem,6vw,5rem);line-height:1.04;letter-spacing:-0.035em}
.hw-hero h1 .hw-l{display:block}
.hw-hero-sub{margin:1.5rem auto 0;max-width:34em;font-size:var(--t-lede-lg);line-height:1.4;color:var(--lt-2)}
/* the overview: drawn to scale for Build (up to two months) and Grow (six
   months); Start has no fixed length, so it takes a short fixed slice */
.hw-ov{display:grid;grid-template-columns:1.4fr 2fr 6fr;gap:6px;margin-top:4.5rem;text-align:left}
.hw-ov-seg{display:flex;flex-direction:column;gap:0.85rem;min-width:0;color:var(--lt)}
.hw-ov-bar{display:block;height:10px;border-radius:999px;background:var(--hw-start);transition:transform 0.3s var(--ease)}
.hw-ov-seg--build .hw-ov-bar{background:var(--navy)}
.hw-ov-seg--grow .hw-ov-bar{background:var(--peri)}
.hw-ov-seg:hover .hw-ov-bar,.hw-ov-seg:focus-visible .hw-ov-bar{transform:scaleY(1.5)}
.hw-ov-name{font-weight:var(--w-6);font-size:1.2rem;letter-spacing:var(--track-h3);line-height:1.2}
.hw-ov-time{margin-top:-0.6rem;font-size:1rem;color:var(--lt-3)}
.hw-ov-marks{display:grid;grid-template-columns:1.4fr 2fr 6fr;gap:6px;margin-top:1.4rem;font-size:0.9rem;color:var(--lt-2);text-align:left}
.hw-ov-marks-in{grid-column:3;display:flex;justify-content:space-between;flex-wrap:wrap;gap:0.6rem 1rem}
.hw-ov-mark{display:flex;align-items:center;gap:0.5rem}
.hw-ov-mark::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:var(--navy)}
:root{--hw-start:#C7C7CC}   /* the Start bar: a quiet gray step before the navy and blue */
@media (prefers-reduced-motion: reduce){.hw-ov-bar{transition:none}}
@media (max-width:640px){
  .hw-ov{grid-template-columns:1fr;gap:1.1rem;margin-top:3rem}
  .hw-ov-seg{display:grid;grid-template-columns:10px minmax(0,1fr);column-gap:1rem;row-gap:0.1rem}
  .hw-ov-bar{grid-row:1/3;width:10px;height:auto;min-height:2.8rem}
  .hw-ov-time{margin-top:0}
  .hw-ov-marks{grid-template-columns:1fr}
  .hw-ov-marks-in{grid-column:1;flex-direction:column}
}
/* the phases: gray tiles on white, 12px apart, near full bleed */
.hw-phases{display:grid;gap:12px;padding:0 12px}
.hw-tile{max-width:1440px;width:100%;margin:0 auto;border-radius:28px;background:var(--field);padding:clamp(1.75rem,5.5vw,5rem)}
.hw-tile-in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(2.25rem,5vw,5rem);align-items:center;max-width:1180px;margin:0 auto}
@media (max-width:900px){.hw-tile-in{grid-template-columns:minmax(0,1fr)}}
.hw-ph{display:flex;flex-direction:column;gap:1.4rem;min-width:0}
body.js .hw-tile.rv{transform:none}   /* round 89: the phase tiles are the hero links' anchor targets; they fade in without the 18px rise, so a click lands exactly where a fresh load does (the rise left a click about 11px high) */
/* the phase label: the same colored bar as the overview, then the phase
   and its timing at one size */
.hw-ph-k{display:grid;gap:1.15rem;font-size:1.2rem;line-height:1.3;letter-spacing:var(--track-h3)}
.hw-ph-bar{display:block;width:44px;height:8px;border-radius:999px;background:var(--hw-start)}
.hw-ph-bar--build{background:var(--navy)}
.hw-ph-bar--grow{background:var(--peri)}
.hw-ph-k b{font-weight:var(--w-6);margin-right:0.6em}
.hw-ph-k span{color:var(--lt-3)}
.hw-ph h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.08;letter-spacing:-0.028em}
.hw-do{list-style:none;display:grid;gap:0.9rem;max-width:30em;color:var(--lt-2)}
.hw-do b{color:var(--lt);font-weight:var(--w-6)}
.hw-part{display:grid;gap:0.35rem;max-width:30em;padding:1.25rem 1.4rem;border-radius:16px;background:var(--field-2)}
.hw-part-k{font-size:0.82rem;font-weight:var(--w-6);color:var(--navy)}
.hw-part p{color:var(--lt)}
.hw-part .hw-part-sub{margin-top:0.25rem;padding-top:0.5rem;border-top:1px solid var(--hair);color:var(--lt-3)}
.hw-note{font-size:0.9rem;color:var(--lt-3)}
/* visual 1: the portal's onboarding checklist (a drawn stand-in for a real portal screenshot) */
.hw-win{margin:0;border-radius:18px;background:var(--field-2);overflow:hidden;box-shadow:0 1px 0 var(--hair),0 30px 60px -30px rgba(10,22,40,0.28)}
.hw-win-bar{display:flex;align-items:center;gap:0.9rem;height:38px;padding:0 14px;border-bottom:1px solid var(--hair);background:#FBFBFD}
.hw-dots{display:flex;gap:6px}
.hw-dots i{display:block;width:10px;height:10px;border-radius:50%;background:#DADADF}
.hw-url{flex:1;max-width:300px;height:24px;padding:0 12px;border-radius:12px;background:var(--field);color:var(--lt-3);font-size:12px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-ob{display:grid;gap:1.25rem;padding:clamp(1.25rem,3vw,2rem)}
.hw-ob-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:0.75rem}
.hw-ob-head p{font-weight:var(--w-6);font-size:1.35rem;letter-spacing:-0.015em;line-height:1.2}
.hw-ob-head span{font-size:0.85rem;color:var(--lt-3);font-variant-numeric:tabular-nums}
.hw-ob-prog{height:6px;border-radius:999px;background:var(--field);overflow:hidden}
.hw-ob-prog i{display:block;width:62%;height:100%;border-radius:inherit;background:var(--peri)}
.hw-ob-list{list-style:none;display:grid}
.hw-ob-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:0.9rem;padding:0.85rem 0;border-top:1px solid var(--hair)}
.hw-ob-row:first-child{border-top:0}
.hw-ob-ic{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1.5px solid var(--hair-strong)}
.hw-ob-ic svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hw-ob-row.is-done .hw-ob-ic{background:var(--lt);border-color:var(--lt)}
.hw-ob-row.is-now .hw-ob-ic{border-color:var(--peri)}
.hw-ob-row.is-now .hw-ob-ic::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--peri)}
.hw-ob-t{display:grid;gap:0.1rem;min-width:0}
.hw-ob-t b{font-weight:var(--w-5);font-size:0.97rem}
.hw-ob-t span{font-size:0.85rem;color:var(--lt-3)}
.hw-ob-s{font-size:0.82rem;color:var(--lt-3)}
.hw-ob-row.is-now .hw-ob-s{color:var(--lt)}
/* visual 2: a laptop drawn to a notebook's proportions (16:10 panel, thin
   even bezel, a deck about 12% wider than the lid) with The File Group's
   site, plus the portal's approval card */
.hw-lap{position:relative;margin:0}
.hw-lap-art{position:relative;padding-bottom:36px}
html .hw-lap svg{display:block;width:100%;height:auto;overflow:visible}   /* html-prefixed: Webflow's svg:not(:root){overflow:hidden} outranks a bare class */
.hw-appr{position:absolute;left:-3%;bottom:0;width:min(400px,74%);display:grid;gap:0.75rem;padding:1.1rem;border-radius:16px;background:var(--field-2);box-shadow:0 1px 0 var(--hair),0 24px 48px -20px rgba(10,22,40,0.35)}
.hw-appr-k{font-size:0.8rem;color:var(--lt-3)}
.hw-appr b{font-weight:var(--w-6);font-size:1rem;line-height:1.3}
.hw-appr-row{display:flex;gap:0.5rem}
.hw-appr-row span{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:999px;font-size:0.85rem;font-weight:var(--w-5);white-space:nowrap}
.hw-appr-yes{background:var(--lt);color:var(--field-2)}
.hw-appr-no{box-shadow:inset 0 0 0 1px var(--lt);color:var(--lt)}
.hw-lap figcaption,.hw-grow-cap{margin-top:1.25rem;font-size:0.85rem;color:var(--lt-3)}
.hw-lap figcaption{text-align:right}
@media (max-width:900px){.hw-appr{left:0}}
@media (max-width:640px){.hw-lap-art{padding-bottom:0}.hw-appr{position:static;width:100%;margin-top:1rem}.hw-appr-row{flex-wrap:wrap}}
/* visual 3: the recorded AI answers (.aa, shared in site.css) fill their column */
.hw-tile .aa{max-width:none}
/* the four straight answers, always open (the FAQPage JSON-LD in head mirrors them exactly) */
.hw-qa-sec{padding:var(--sec-pad) 0}
.hw-qa-in{max-width:820px;margin:0 auto}
.hw-qa-sec h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.08;letter-spacing:-0.028em;margin-bottom:1.75rem}
.hw-qa-row{padding:1.4rem 0;border-top:1px solid var(--hair-strong)}
.hw-qa-row:last-of-type{border-bottom:1px solid var(--hair-strong)}
.hw-qa-row h3{font-weight:var(--w-5);font-size:1.2rem;line-height:1.35}
.hw-qa-row p{margin-top:0.5rem;color:var(--lt-2);max-width:40em}
.hw-next{margin-top:2.5rem}
/* ============ round 89 (Max, Nov 7): the Start and Build visuals play.
   Both arm only with JS and motion, play once on view, and rest on the
   picture the static page shows (no-JS and reduced motion: that picture).
   Start: the checklist fills in order, each row in progress for a beat,
   then checked, the count and the bar climbing to 3 of 5, and Profile
   access left in progress with a soft pulse.
   Build: a cursor clicks "Approve and launch", the card confirms, then
   steps aside for a small "Live" tag, and the site on the laptop scrolls
   down its homepage. ============ */
.hw-ob-prog i{transition:width 0.7s var(--ease)}
.hw-ob-ic>*,.hw-ob-ic::after{grid-area:1/1}   /* the check and the in-progress dot share the cell */
.hw-ob-ic{transition:background-color 0.3s var(--ease),border-color 0.3s var(--ease)}
.hw-ob-ic svg{transition:transform 0.35s var(--ease),opacity 0.25s var(--ease)}
.hw-ob.is-armed .hw-ob-row:not(.is-done) .hw-ob-ic svg{transform:scale(0.4);opacity:0}
.hw-ob.is-armed .hw-ob-s{transition:color 0.3s var(--ease)}
.hw-ob.is-armed .hw-ob-row.is-now .hw-ob-ic{animation:hw-pulse 1.8s ease-out infinite}
@keyframes hw-pulse{0%{box-shadow:0 0 0 0 rgba(79,155,255,0.45)}80%,100%{box-shadow:0 0 0 9px rgba(79,155,255,0)}}
.hw-lap-site{transition:transform 7s cubic-bezier(0.45,0,0.2,1)}
.hw-appr{transition:opacity 0.5s var(--ease),transform 0.5s var(--ease)}
.hw-appr-row{transition:opacity 0.3s var(--ease)}
.hw-appr-yes{transition:background-color 0.2s var(--ease),transform 0.15s var(--ease)}
.hw-appr-yes.is-hover{background:#3A3A3D}
.hw-appr-yes.is-press{transform:scale(0.95)}
.hw-appr-done{display:none;align-items:center;gap:0.55rem;height:32px;font-size:0.88rem;font-weight:var(--w-6);color:var(--lt)}
.hw-appr-done i,.hw-live i{width:8px;height:8px;border-radius:50%;background:var(--peri);box-shadow:0 0 0 4px rgba(79,155,255,0.2)}
.hw-appr.is-ok .hw-appr-row{display:none}
.hw-appr.is-ok .hw-appr-done{display:flex}
.hw-appr b{transition:color 0.3s var(--ease)}
.hw-appr.is-gone{opacity:0;transform:translateY(10px)}
.hw-live{position:absolute;left:-3%;bottom:0;display:none;align-items:center;gap:0.55rem;height:40px;padding:0 1.1rem;border-radius:999px;background:var(--field-2);font-size:0.88rem;font-weight:var(--w-6);color:var(--lt);box-shadow:0 1px 0 var(--hair),0 18px 40px -18px rgba(10,22,40,0.35);opacity:0;transform:translateY(8px);transition:opacity 0.5s var(--ease),transform 0.5s var(--ease)}
.hw-lap.is-armed .hw-live{display:inline-flex}
.hw-live.is-on{opacity:1;transform:none}
html .hw-lap svg.hw-cur{position:absolute;left:0;top:0;width:24px;height:24px;display:none;overflow:visible;fill:#1D1D1F;stroke:#fff;stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 2px 3px rgba(0,0,0,0.25));opacity:0;pointer-events:none;transition:transform 1.1s cubic-bezier(0.5,0,0.2,1),opacity 0.35s var(--ease);z-index:3}
html .hw-lap.is-armed svg.hw-cur{display:block}   /* html-prefixed to outrank the laptop rule above that sizes every svg in .hw-lap */
html .hw-lap svg.hw-cur.is-on{opacity:1}
html .hw-lap svg.hw-cur.is-press{transition:transform 0.15s var(--ease),opacity 0.35s var(--ease)}
@media (max-width:900px){.hw-live{left:0}}
/* phones: the card sits under the laptop in the flow, so it stays put and
   only confirms (no gap where it was, no tag) */
@media (max-width:640px){.hw-appr.is-gone{opacity:1;transform:none}.hw-lap.is-armed .hw-live{display:none}}
