/* The law-firm home's own styles: toca.legal v22 carried these inline on index.html.
   tools/port_legal_site.py moved them out of the pages; on 9 Nov 2026 they were split by page again, so no page
   picks up another's rules. Loaded after legal.css and calc.css, before legal-pages.css; content/legal-site/index.json
   names each page's files. */

.t-kicker{font-family:var(--font-mono);font-size:var(--text-xs);font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--color-muted);margin:0 0 var(--space-sm);
  display:flex;align-items:center;gap:.9rem}
.t-kicker::after{content:"";flex:1;height:1px;background:var(--color-rule);max-width:16rem}
.t-intro h2{font-family:var(--font-display);font-weight:600;
  font-size:clamp(1.7rem,2.9vw + 0.5rem,2.8rem);line-height:1.16;letter-spacing:-.005em;
  color:var(--color-ink);margin:0 0 var(--space-md);max-width:30ch}
.t-intro p:not(.t-kicker){max-width:58ch;margin:var(--space-md) 0 0;font-size:var(--text-base);color:var(--color-ink-2)}

/* ---- stage: full-width scene above, five stage columns below ---- */
.journey-wrap{position:relative}
#journey .journey-stage{position:sticky;top:0;height:100svh;display:grid;grid-template-columns:none;align-items:center;
  grid-template-rows:auto minmax(0,1fr) auto auto;gap:1.1rem;align-content:center;
  max-width:76rem;margin-inline:auto;padding:1.6rem 2rem}
#journey .t-scene{display:grid;align-items:center;align-content:center;min-height:0}
#journey .t-scene svg{display:block;width:100%;height:auto;max-height:57svh;overflow:visible;margin-inline:auto}

#journey .t-stages{display:grid;grid-template-columns:repeat(5,1fr);gap:1.4rem;
  list-style:none;margin:0;padding:0;border-top:1px solid var(--color-rule)}
.t-stages li{padding-top:.7rem;opacity:.32;transition:opacity .34s var(--ease-out)}
.t-stages .n{display:block;font-family:var(--font-mono);font-size:.64rem;letter-spacing:.14em;
  color:var(--color-muted);margin-bottom:.3rem}
.t-stages b{display:block;font-family:var(--font-display);font-weight:600;font-size:1.18rem;
  line-height:1.02;letter-spacing:-.005em;color:var(--color-ink);margin-bottom:.35rem}
.t-stages .hh{display:block;font-family:var(--font-mono);font-size:.66rem;letter-spacing:.06em;
  color:var(--color-accent);margin-bottom:.45rem}
.t-stages .bd{display:none;font-style:normal;font-size:.8rem;line-height:1.4;color:var(--color-ink-2)}
.journey-stage.s0 .t-stages li:nth-child(1),
.journey-stage.s1 .t-stages li:nth-child(-n+2),
.journey-stage.s2 .t-stages li:nth-child(-n+3),
.journey-stage.s3 .t-stages li:nth-child(-n+4),
.journey-stage.s4 .t-stages li{opacity:1}
.journey-stage.s0 .t-stages li:nth-child(1) .bd,
.journey-stage.s1 .t-stages li:nth-child(2) .bd,
.journey-stage.s2 .t-stages li:nth-child(3) .bd,
.journey-stage.s3 .t-stages li:nth-child(4) .bd,
.journey-stage.s4 .t-stages li:nth-child(5) .bd{display:block}

.t-cap{display:none;margin:0;font-size:.8rem;line-height:1.45;color:var(--color-ink-2);max-width:60ch}
.t-note{margin:0;font-family:var(--font-mono);font-size:.7rem;line-height:1.6;letter-spacing:.03em;
  color:var(--color-muted);opacity:0;transition:opacity .5s var(--ease-out)}
.t-note b{color:var(--color-ink);font-weight:600}
.journey-stage.s4 .t-note{opacity:1}

/* ---- svg type ---- */
.t-scene text{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.12em;fill:var(--color-ink)}
.t-scene .t-lbl{font-size:13px}
.t-scene .t-mic{font-size:11px;fill:var(--color-muted)}
.t-scene .t-gate{font-size:15px;letter-spacing:.2em}
.t-scene .t-big{font-size:20px;letter-spacing:.04em;font-weight:600}
.t-scene .stroke{fill:none;stroke:var(--color-ink);stroke-width:1.5}
.t-scene .hair{fill:none;stroke:var(--color-rule);stroke-width:1.5}
.t-scene .panel{fill:var(--color-paper-3)}
.t-scene .inset{fill:var(--color-paper-2)}
.t-scene .dim{fill:var(--color-rule)}
.t-scene .acc{fill:var(--color-accent)}
/* toca.io: the two status chips carry text, so they take the solid accent and white ink, as .chip--solid does (toca.legal left the text muted grey on pink) */
.t-scene path.acc{fill:var(--color-accent-solid)}
.t-scene .on-acc{fill:var(--color-accent-ink)}

/* ---- the matter and the lit rail segment travel left to right ---- */
.t-scene .travel{transition:transform .62s var(--ease-out)}
.journey-stage.s0 .travel{transform:translateX(0)}
.journey-stage.s1 .travel{transform:translateX(188px)}
.journey-stage.s2 .travel{transform:translateX(376px)}
.journey-stage.s3 .travel{transform:translateX(564px)}
.journey-stage.s4 .travel{transform:translateX(752px)}

/* per-stage elements: only one set live at a time */
.t-scene .on-s0,.t-scene .on-s1,.t-scene .on-s2,.t-scene .on-s3,.t-scene .on-s4{
  opacity:0;transition:opacity .38s var(--ease-out)}
.journey-stage.s0 .on-s0,.journey-stage.s1 .on-s1,.journey-stage.s2 .on-s2,
.journey-stage.s3 .on-s3,.journey-stage.s4 .on-s4{opacity:1}

/* cumulative: progress dots and the handling-time ledger fill as you go */
.t-scene .k0,.t-scene .k1,.t-scene .k2,.t-scene .k3,.t-scene .k4{
  opacity:.2;transition:opacity .45s var(--ease-out)}
.journey-stage.s0 .k0,
.journey-stage.s1 .k0,.journey-stage.s1 .k1,
.journey-stage.s2 .k0,.journey-stage.s2 .k1,.journey-stage.s2 .k2,
.journey-stage.s3 .k0,.journey-stage.s3 .k1,.journey-stage.s3 .k2,.journey-stage.s3 .k3,
.journey-stage.s4 .k0,.journey-stage.s4 .k1,.journey-stage.s4 .k2,.journey-stage.s4 .k3,.journey-stage.s4 .k4{
  opacity:1}

.t-scene .march{fill:none;stroke:var(--color-accent);stroke-width:2;stroke-dasharray:4 7}
@keyframes dash-march{to{stroke-dashoffset:-44}}
.t-scene .march{animation:dash-march 1.1s linear infinite}

@media (max-width:60rem){
  #journey .journey-stage{padding:1.2rem 1rem;gap:.9rem}
  #journey .t-scene svg{max-height:46svh}
  #journey .t-stages{grid-template-columns:repeat(5,1fr);gap:.4rem}
  .t-stages li{padding-top:.5rem}
  .t-stages b{font-size:.78rem;line-height:1}
  .t-stages .n{font-size:.5rem;margin-bottom:.15rem}
  .t-stages .hh{font-size:.52rem;margin-bottom:0}
  .t-stages .bd{font-size:.78rem;line-height:1.4;margin-top:.5rem}
  .t-stages .bd{display:none !important}
  .t-cap{display:block}
  .t-note{font-size:.64rem}
  .t-intro{padding:3.5rem 1rem 1.5rem}
}
@media (max-width:40rem){
  .t-scene .t-mic{display:none}
  #journey .t-scene svg{max-height:32svh}
  #journey .journey-stage{padding-bottom:5rem}
}
@media (min-width:60.01rem) and (max-height:52rem){
  #journey .t-scene svg{max-height:48svh}
  .t-stages b{font-size:1rem}
  .t-stages .bd{font-size:.74rem;line-height:1.36}
  .t-stages li{padding-top:.5rem}
  .journey-stage{gap:.8rem;padding:1rem 1.4rem}
  .t-note{font-size:.62rem}
  #journey .journey-stage{gap:.8rem;padding:1rem 1.4rem}
}
@media (prefers-reduced-motion: reduce){
  .t-scene *{transition-duration:1ms !important;animation:none !important}
  .t-note{transition-duration:1ms !important}
}


/* ── restored homepage rules (wiped during the lifecycle port) ───── */
.cred{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-lg);margin-top:var(--space-xl)}
.cred-item{border-top:2px solid var(--color-ink);padding-top:1rem}
.cred-item b.fig{display:block;font-family:var(--font-display);font-weight:600;font-size:clamp(1.55rem,2.6vw,2.1rem);line-height:1.05;color:var(--color-ink);margin-bottom:.6rem}
.cred-item p{margin:0;font-size:.9rem;line-height:1.55;color:var(--color-muted)}
.cred-item p .n{font-family:var(--font-display);font-weight:600;font-size:1.25em;color:var(--color-accent-text);font-variant-numeric:tabular-nums}

.vert{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-md);margin-top:var(--space-xl)}
.vert-card{background:var(--color-paper-3);border:1px solid var(--color-rule);border-radius:12px;padding:1.2rem 1.3rem}
.vert-card h3{font-family:var(--font-display);font-weight:600;font-size:1.3rem;margin:0 0 .5rem;color:var(--color-ink)}
.vert-first{margin:0 0 .6rem;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;color:var(--color-accent-text)}
.vert-card p{margin:0 0 .7rem;font-size:.88rem;line-height:1.5;color:var(--color-muted)}




.sys{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:var(--space-lg);margin-top:var(--space-xl);
  border:1px solid var(--color-rule);border-radius:14px;background:var(--color-paper-3);padding:var(--space-lg)}
.sys-h{margin:0 0 .8rem;font-family:var(--font-mono);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent-text)}
.sys-group ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.sys-group li{font-family:var(--font-display);font-weight:600;font-size:1.02rem;color:var(--color-ink);
  background:var(--color-paper);border:1px solid var(--color-rule);border-radius:8px;padding:.4rem .7rem}
/* the lifecycle manages its own width; only the intro is pulled onto the
   site's band grid. Padding on the wrapper squeezed the sticky stage and
   deformed the SVG, so it is deliberately absent here. */

/* story pull-quote: 30ch of the display face is far too tight, and the Winn
   quote wrapped to five stub lines. */
#story .quote, .band .quote { max-width: 40rem; margin: var(--space-xl) 0 var(--space-lg); }
#story .quote p, .band .quote p { font-size: clamp(1.45rem, 2vw + .4rem, 2rem); line-height: 1.22; }


/* client logo row · single-colour masks, sized by ink area not bounding box.
   site.css sizes .proof-bar img from the --lz lozenge system built for the
   health marks; these are normalised already, so that is overridden here. */
.proof-bar--logos{display:flex;flex-wrap:wrap;align-items:center;
  column-gap:clamp(1.4rem,2.6vw,2.6rem);row-gap:var(--space-md)}
.proof-bar--logos p{flex:0 0 auto;margin:0;order:0}
.proof-bar--logos img.logo{order:2;display:block !important;flex:0 0 auto;
  height:auto !important;width:auto;transform:none !important;
  opacity:.6;transition:opacity .25s}
.proof-bar--logos .proof-line{order:3;flex:1 0 100%;margin:.9rem 0 0;font-family:var(--font-mono);font-size:var(--text-xs);
  letter-spacing:.05em;color:var(--color-muted);max-width:none}
.cta-trust{margin:var(--space-lg) 0 0 !important;font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:.06em;
  text-transform:uppercase;color:var(--color-muted)}
.proof-bar--logos:hover img.logo{opacity:.42}
.proof-bar--logos img.logo:hover{opacity:1}


/* statement fold · abstract recoloured to the palette, statement over it */
.statement-fold{position:relative;isolation:isolate;overflow:hidden;
  min-height:clamp(20rem,44vw,32rem);display:grid;align-items:center}
.statement-fold img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.sf-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(100deg,rgba(16,13,10,.92) 0%,rgba(16,13,10,.72) 38%,rgba(16,13,10,.28) 70%,rgba(16,13,10,.42) 100%)}
.sf-body{position:relative;z-index:2;max-width:74rem;margin-inline:auto;width:100%;
  padding:var(--space-3xl) var(--page-gutter)}
.sf-kicker{font-family:var(--font-mono);font-size:var(--text-xs);font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:#d8c9b6;margin:0 0 var(--space-sm)}
.statement-fold h2{font-family:var(--font-display);font-weight:600;
  font-size:clamp(1.8rem,3.4vw + .4rem,3.2rem);line-height:1.1;letter-spacing:-.01em;
  color:#fdfbf7;margin:0;max-width:19ch}
.sf-sub{margin:var(--space-md) 0 0;max-width:44ch;font-size:var(--text-base);
  line-height:1.55;color:rgba(253,251,247,.74)}
@media (max-width:760px){
  .sf-scrim{background:linear-gradient(180deg,rgba(16,13,10,.86) 0%,rgba(16,13,10,.66) 55%,rgba(16,13,10,.88) 100%)}
  .statement-fold h2{max-width:none}
}

/* practice-area tabs */
.t-tabs{display:flex;align-items:center;gap:.5rem;justify-content:flex-end;
  font-family:var(--font-mono);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase}
.t-tabs span{color:var(--color-muted);margin-right:.2rem}
.t-tabs button{font:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;
  background:var(--color-paper-3);color:var(--color-muted);border:1.5px solid var(--color-rule);
  border-radius:999px;padding:.32rem .7rem;transition:border-color .25s,color .25s,background .25s}
.t-tabs button:hover{border-color:var(--color-ink);color:var(--color-ink)}
.t-tabs button[aria-pressed=true]{background:var(--color-accent-solid);border-color:var(--color-accent-solid);color:#fff}
.t-intro{max-width:74rem;margin:0 auto;padding:0 0 var(--space-xl)}
@media (max-width:82rem){.t-intro{padding-inline:var(--page-gutter)}}
