/* Employer pages. The section furniture is the same as the brokers page, so it is
   written once here and both model pages inherit it. */


  .sec{max-width:1500px;margin:0 auto;padding:60px 56px}
  .sec h2{font-family:'Fraunces',Georgia,serif;font-weight:500;color:var(--ink);
          font-size:clamp(28px,3vw,42px);line-height:1.14;letter-spacing:-.024em;max-width:24ch}
  .sec h2 em{font-style:normal;color:var(--accent)}
  .sec .intro{margin-top:22px;font-size:18px;line-height:1.62;color:var(--ink-1);max-width:62ch}

  /* the three things a broker actually gets */
  .gains{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:46px}
  .gain{background:var(--panel);border:1px solid rgba(197,199,227,.14);border-radius:20px;
        padding:30px}
  .gmk{display:block;width:64px;height:10px}
  .gmk svg{display:block;width:64px;height:10px;overflow:visible}
  .gain h3{margin-top:18px;font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:24px;
           letter-spacing:-.02em;line-height:1.2;color:var(--ink)}
  .gain p{margin-top:14px;font-size:16px;line-height:1.6;color:var(--ink-1)}

  /* what a rollout costs them: nothing */
  .zero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-top:0}
  .zerolead h2{max-width:none}
  .zerolead p{margin-top:24px;font-size:19px;line-height:1.6;color:var(--ink-2);max-width:34ch}
  .zpanel{background:var(--panel);border-radius:22px;padding:40px 44px 42px}
  .zlist{list-style:none}
  .zlist li{margin-top:11px}
  .zlist li:first-child{margin-top:0}
  .zw{position:relative;display:inline-block;font-size:21px;line-height:1.34;
      letter-spacing:-.012em;color:var(--ink-1)}
  .zw .ovl{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
  .zkept{margin-top:30px;font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:23px;
         line-height:1.32;letter-spacing:-.02em;color:var(--ink)}

  /* proof hand-off */
  .proof{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;
         border:1px solid var(--hair);border-radius:22px;padding:34px 38px;margin-top:8px}
  .proof p{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:25px;line-height:1.26;
           letter-spacing:-.02em;color:var(--ink);max-width:30ch}

  .faq{margin-top:34px;max-width:1000px}
  .q{border:0;border-top:1px solid var(--hair);padding:24px 0;width:100%;text-align:left;
     font:inherit;color:inherit;background:none;cursor:pointer;display:block;
     transition:border-color .2s ease}
  .q:last-child{border-bottom:1px solid var(--hair)}
  .q:hover{border-top-color:var(--accent)}
  .q .row{display:flex;align-items:flex-start;gap:20px}
  .q h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:22px;
        letter-spacing:-.02em;line-height:1.3;color:var(--ink);max-width:44ch}
  .q .sign{margin-left:auto;font-size:22px;line-height:1;color:var(--ink-3);flex:none;
           transition:transform .28s ease,color .2s ease}
  .q[aria-expanded="true"] .sign{transform:rotate(45deg)}
  .q:hover .sign{color:var(--accent)}
  .q .a{display:grid;grid-template-rows:0fr;opacity:0;
        transition:grid-template-rows .38s cubic-bezier(.2,.7,.2,1),opacity .3s}
  .q .a > div{overflow:hidden}
  .q[aria-expanded="true"] .a{grid-template-rows:1fr;opacity:1}
  .q .a p{margin-top:16px;font-size:16.5px;line-height:1.66;color:var(--ink-2);max-width:70ch}
  .q .a a{color:var(--accent)}
  .cta{max-width:1500px;margin:0 auto;padding:46px 56px;display:flex;align-items:center;
       justify-content:space-between;gap:44px;flex-wrap:wrap}
  .cta h2{font-family:'Fraunces',Georgia,serif;font-weight:500;color:var(--ink);
          font-size:clamp(23px,2.1vw,29px);line-height:1.2;letter-spacing:-.02em;max-width:30ch}
    .sec{padding:52px 24px}
    .gains,.terms{grid-template-columns:1fr}
    .zero,.fid{grid-template-columns:1fr;gap:34px}
    .zpanel{padding:28px 24px}
    .cta,.draftnote{padding-left:24px;padding-right:24px}
  .ehead{max-width:1500px;margin:0 auto;padding:88px 56px 60px}
  .ehead h1{font-family:'Fraunces',Georgia,serif;font-weight:500;color:var(--ink);
            font-size:clamp(38px,4.6vw,66px);line-height:1.05;letter-spacing:-.028em}
  .ehead h1 em{font-style:normal;color:var(--accent)}
  .esub{margin-top:28px;font-size:21px;line-height:1.56;color:var(--ink-1);max-width:46ch}
  .ehead .btn{margin-top:36px}
  .pick2{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:44px}
  .p2{background:var(--panel);border:1px solid rgba(197,199,227,.14);border-radius:20px;
      padding:32px;text-decoration:none;color:inherit;display:block;
      transition:border-color .2s ease,transform .18s ease}
  .p2:hover{border-color:var(--accent);transform:translateY(-2px)}
  .p2 h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:26px;
         letter-spacing:-.02em;color:var(--ink)}
  .p2 p{margin-top:14px;font-size:16.5px;line-height:1.6;color:var(--ink-1)}
  .p2 .go{margin-top:20px}
  .roi{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:42px;max-width:1000px}
  .rbox{border:1px solid var(--hair);border-radius:20px;padding:32px 34px}
  .rbox.hot{background:var(--panel);border-color:transparent}
  .rbox .k{font-size:14px;color:var(--ink-2)}
  .rbox .n{margin-top:16px;font-family:'JetBrains Mono';font-size:clamp(44px,4.6vw,64px);
           font-weight:500;line-height:1;letter-spacing:-.055em;color:var(--accent)}
  .rbox .w{margin-top:14px;font-size:16.5px;font-weight:600;color:var(--ink)}
  .rbox ul{list-style:none;margin-top:16px;padding-top:16px;border-top:1px solid var(--hair)}
  .rbox li{font-size:15.5px;line-height:1.6;color:var(--ink-1);margin-top:6px}
  @media (max-width:1080px){
    .ehead{padding:64px 24px 44px}
    .pick2,.roi{grid-template-columns:1fr}
  }

  @media (max-width:1080px){
    .sec{padding:52px 24px}
    .gains{grid-template-columns:1fr}
    .zero{grid-template-columns:1fr;gap:34px}
    .zpanel{padding:28px 24px}
    .cta{padding-left:24px;padding-right:24px}
  }

  /* ---- section shapes, deliberately different from each other ---- */
  /* figures, not prose */

  /* a sequence, numbered */

  /* four tiles, the only place the whole method is listed */

  @media (max-width:1080px){
  }
  @media (max-width:720px){ .four{grid-template-columns:1fr} }

  .sec h2 em{font-style:normal;color:var(--accent)}
  .src{margin-top:26px;font-size:12.5px;color:var(--ink-3)}

  /* four figures */
  .stat4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:42px}
  .s4{background:var(--panel);border:1px solid rgba(197,199,227,.14);border-radius:20px;padding:28px}
  .s4 .n{font-family:'JetBrains Mono';font-size:clamp(28px,2.7vw,36px);font-weight:500;
         line-height:1;letter-spacing:-.05em;color:var(--accent)}
  .s4 .l{margin-top:16px;font-size:15.5px;line-height:1.56;color:var(--ink-1)}

  /* one against five: the asymmetry is the argument */

  /* the advocacy comparison */
  .vs{display:grid;grid-template-columns:1fr 1fr;margin-top:42px;max-width:1080px;
      border:1px solid var(--hair);border-radius:20px;overflow:hidden}
  .vhead{padding:18px 26px;font-size:13.5px}
  .vhead.a{background:rgba(23,7,93,.04);color:var(--ink-3)}
  .vhead.b{background:var(--bg);color:rgba(214,213,235,.72)}
  .vrow{padding:20px 26px;font-size:16px;line-height:1.56;border-top:1px solid var(--hair)}
  .vrow.a{color:var(--ink-2)}
  .vrow.b{color:var(--ink);background:rgba(255,122,61,.05)}
  .vrow.b b{font-weight:600}

  /* tile grids */
  .six{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:42px}
  .three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:38px}
  .tile{background:var(--panel);border:1px solid rgba(197,199,227,.14);border-radius:20px;padding:28px}
  .tile h3{margin-top:16px;font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:21px;
           letter-spacing:-.02em;line-height:1.24;color:var(--ink)}
  .tile p{margin-top:12px;font-size:15.5px;line-height:1.58;color:var(--ink-1)}
  .handline{margin-top:34px;font-size:17px;color:var(--ink-2)}
  .handline .arw{color:var(--accent);margin:0 6px}

  /* the trust strip */
  .trust{text-align:center}
  .tline{font-size:20px;line-height:1.55;color:var(--ink-1);max-width:74ch;margin:0 auto}
  .tline b{color:var(--accent);font-weight:600}

  @media (max-width:1080px){
    .stat4,.six,.three{grid-template-columns:1fr 1fr}
    .vs{grid-template-columns:1fr}
  }
  @media (max-width:720px){ .stat4,.six,.three{grid-template-columns:1fr} }

  /* ---- the road: seven stops, and only one of them is theirs ---- */
  /* the track is the brand bar, run the width of the journey */

  @media (max-width:1080px){
  }

  /* ---- the road: the bar is the road, one segment per step ---- */
  /* each segment arrives in turn; the finished state is the default so nothing
     depends on the script or on motion being allowed */
  /* each stage arrives as a unit, bar and words together, and holds long enough
     to be read before the next one starts */

  @media (max-width:1080px){
  }

  /* ---- the road: one axis, five equal segments, nothing floating ---- */
  /* The grid is shared by all three rows, so every terminal, segment and caption
     sits in the same column. That single axis is what the earlier version lacked. */
  .road{--cols:130px repeat(5,1fr) 130px;margin-top:56px}

  /* stage by stage, each one held long enough to read */

  @media (max-width:1080px){
    .road{--cols:1fr}
    .axis,.lanerow{display:none}
  }

  /* three rows on one grid: the labels above, the axis, then the words right under
     the segment they belong to. Nothing comes between a bar and its caption. */
  .axis,.lanerow,.caprow{display:grid;grid-template-columns:var(--cols);gap:0 10px}
  .axis{align-items:center}

  /* the terminals are the same bar, stood on end. A circle was never ours. */
  .term{justify-self:center}
  .term svg{display:block;width:22px;height:34px;overflow:visible}

  .seg svg{display:block;width:100%;height:18px;overflow:visible}

  .lanerow{margin-bottom:14px;align-items:end}
  .lname{font-size:12.5px;line-height:1.3;padding-bottom:8px;text-align:center;
         border-bottom:1px solid var(--hair)}
  .lname.emp{grid-column:2 / 3;color:var(--accent);border-bottom-color:var(--accent)}
  .lname.oct{grid-column:3 / 7;color:var(--ink-2)}

  .caprow{margin-top:16px;align-items:start}
  .cap{font-size:14px;line-height:1.44;color:var(--ink);min-width:0;overflow-wrap:break-word}
  .cap[data-i="0"]{color:var(--accent);font-weight:600}
  /* the column is the boundary. No fixed widths, no negative margins, so a label
     can never reach into the one beside it. */
  .cap.term{grid-column:1 / 2;text-align:center}
  .cap.term.end{grid-column:7 / 8}
  .cap.term b{display:block;font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:15px;
              line-height:1.2;color:var(--ink)}
  .cap.term i{display:block;margin-top:5px;font-style:normal;font-size:11.5px;color:var(--ink-2)}

  html.motion .road .seg svg path,
  html.motion .road .term svg path{transform:scaleX(0);opacity:0;transform-origin:left center}
  html.motion .road .term svg path{transform:scaleY(0);transform-origin:center bottom}
  html.motion .road.in .seg svg path{transform:scaleX(1);opacity:1;
    transition:transform .55s cubic-bezier(.22,.72,.2,1),opacity .3s ease}
  html.motion .road.in .term svg path{transform:scaleY(1);opacity:1;
    transition:transform .5s cubic-bezier(.22,.72,.2,1),opacity .3s ease}
  html.motion .road .cap,html.motion .road .lname{opacity:0;transform:translateY(6px)}
  html.motion .road.in .cap,html.motion .road.in .lname{opacity:1;transform:none;
    transition:opacity .4s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
  /* Every delay lives here rather than being written onto the elements by script.
     Inline delays only landed if drawRoad happened to run before the section came
     into view, so on a fast scroll the later captions arrived with no delay at all
     and were simply there from the start. CSS cannot lose that race. */
  html.motion .road.in .term svg path,
  html.motion .road.in .cap.term{transition-delay:0ms}
  html.motion .road.in .seg[data-i="0"] svg path{transition-delay:400ms}
  html.motion .road.in .seg[data-i="1"] svg path{transition-delay:1100ms}
  html.motion .road.in .seg[data-i="2"] svg path{transition-delay:1800ms}
  html.motion .road.in .seg[data-i="3"] svg path{transition-delay:2500ms}
  html.motion .road.in .seg[data-i="4"] svg path{transition-delay:3200ms}
  html.motion .road.in .cap[data-i="0"],
  html.motion .road.in .lname.emp{transition-delay:570ms}
  html.motion .road.in .cap[data-i="1"],
  html.motion .road.in .lname.oct{transition-delay:1270ms}
  html.motion .road.in .cap[data-i="2"]{transition-delay:1970ms}
  html.motion .road.in .cap[data-i="3"]{transition-delay:2670ms}
  html.motion .road.in .cap[data-i="4"]{transition-delay:3370ms}
  html.motion .road.in .term.end svg path,
  html.motion .road.in .cap.term.end{transition-delay:4000ms}

  @media (max-width:1080px){
    .road{--cols:1fr}
    .axis,.lanerow{display:none}
    .caprow{grid-template-columns:1fr;gap:0}
    .cap{padding:16px 0 16px 26px;position:relative;border-left:2px solid var(--hair);
         font-size:16.5px;width:auto}
    .cap[data-i="0"]{border-left-color:var(--accent)}
    .cap.term{text-align:left;border-left:0;padding-left:0;width:auto;justify-self:start}
  }

  /* ---- colour, so the page stops reading as one grey note ---- */
  /* the pain figures each carry the accent as a rule above them */
  .s4{position:relative;overflow:hidden}
  .s4::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--accent)}
  /* the total-value box commits to the accent rather than tinting it */
  .rbox.hot{background:var(--accent);border-color:transparent}
  .rbox.hot .k,.rbox.hot li{color:rgba(255,255,255,.86)}
  .rbox.hot .n{color:#FFFFFF}
  .rbox.hot .w{color:#FFFFFF}
  .rbox.hot ul{border-top-color:rgba(255,255,255,.32)}
  /* the two routes are two different destinations, so they are not the same card */
  .p2:first-child{background:var(--panel)}
  .p2:last-child{background:rgba(255,122,61,.10);border-color:rgba(255,122,61,.26)}

  /* ---- people ---- */
  .ewrap{display:grid;grid-template-columns:1fr 400px;gap:70px;align-items:center}
  .epor,.hpor{margin:0;border-radius:22px;overflow:hidden;position:relative;background:#312A80}
  .epor{aspect-ratio:4/5}
  .epor img,.hpor img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.06)}
  .epor::after,.hpor::after{content:"";position:absolute;inset:0;background:#312A80;
                            mix-blend-mode:color;opacity:.55}
  .valuerow{display:grid;grid-template-columns:340px 1fr;gap:26px;margin-top:42px;align-items:stretch}
  .hpor{min-height:100%}
  .valuerow .six{grid-template-columns:1fr 1fr;margin-top:0}

  @media (max-width:1080px){
    .ewrap,.valuerow{grid-template-columns:1fr;gap:34px}
    .hpor{aspect-ratio:16/10}
    .valuerow .six{grid-template-columns:1fr}
  }
