/* saurabhlaw.com · B5 design (22 Nov 2026): Main Street photos in California poster colours.
   Page bodies carry their own inline styles (built by b5.js); this file holds the shell
   (top bar, header, menu, stripes, footer), shared bits, and overrides that restyle the older firm pages. */

:root{
  --b5-plum:#3D1A3B; --b5-orange:#E36414; --b5-rust:#C2500C; --b5-peach:#FFB066; --b5-sun:#FFE08A;
  --b5-berry:#8E2C48; --b5-teal:#127475; --b5-teald:#0F6566; --b5-ink:#2A1828; --b5-body:#4B3348;
  --b5-head:'Oswald','Arial Narrow',Impact,sans-serif; --b5-text:'Work Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
body.b5-page,body.legacy{margin:0;background:#FFFFFF;color:var(--b5-ink);font-family:var(--b5-text);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
.b5{container-type:inline-size;container-name:b5;width:100%}
.b5 img{max-width:100%}
.b5-page a{color:var(--b5-plum)}
.b5-page a:hover{color:var(--b5-rust)}
.b5 a:focus-visible,.b5 button:focus-visible,.b5 input:focus-visible,.b5 select:focus-visible,.b5 textarea:focus-visible{outline:3px solid var(--b5-teal);outline-offset:3px}
.b5 .dark a:focus-visible,.b5 .dark button:focus-visible,.b5 .dark input:focus-visible{outline-color:var(--b5-sun)}
.skip{position:absolute;left:-999px;top:0;background:#FFFFFF;padding:.5rem 1rem;z-index:100}
.skip:focus{left:16px}
.hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.ask-status{flex:1 1 100%;margin:0;font-size:14px;font-weight:600;color:var(--b5-sun)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
mark.ph{background:var(--b5-sun);color:var(--b5-plum);font-size:.8em;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:1px 6px;border-radius:3px}
.chip{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--b5-sun);color:var(--b5-plum);padding:1px 7px;border-radius:3px}
.fig-cap{margin:8px 0 0;font-size:13px;color:var(--b5-body)}
.fig-todo{margin:8px 0;background:#FFD9A8;border-top:8px solid var(--b5-orange);min-height:240px;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;gap:10px}
.fig-todo span{font-family:var(--b5-head);font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--b5-plum)}
@container b5 (max-width: 980px){.toc{display:none !important}}

/* ---------- top bar, header, menu ---------- */
.b5-top{background:var(--b5-plum);color:#FFE7C2}
.b5-top>div{max-width:1240px;margin:0 auto;padding:8px clamp(16px,4cqi,40px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;font-family:var(--b5-head);font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.b5-head{max-width:1240px;margin:0 auto;padding:18px clamp(16px,4cqi,40px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.b5-brand{text-decoration:none;color:var(--b5-plum) !important;font-family:var(--b5-head);font-weight:700;font-size:28px;letter-spacing:.04em;text-transform:uppercase;line-height:1}
.b5-brand .dot{color:var(--b5-orange)}
.b5-brand .sub{font-weight:500;font-size:19px;color:var(--b5-teal)}
.b5-nav{display:flex;gap:6px;font-size:15px;font-weight:600}
.b5-nav a{text-decoration:none;padding:10px 12px;color:var(--b5-plum)}
.b5-nav a:hover,.b5-nav a[aria-current="page"]{color:var(--b5-rust);text-decoration:underline;text-underline-offset:6px}
.b5-contact{background:var(--b5-plum);color:#FFFFFF !important;text-decoration:none;font-weight:600;font-size:15px;padding:12px 20px;border-radius:4px;min-height:44px;display:inline-flex;align-items:center}
.b5-toggle{display:none;font:inherit;font-weight:600;font-size:15px;background:#FFFFFF;color:var(--b5-plum);border:2px solid var(--b5-plum);border-radius:4px;padding:8px 14px;min-height:44px;cursor:pointer}
.b5-stripe{display:flex;flex-direction:column}
.b5-stripe i{display:block;height:8px}
.b5-stripe i:nth-child(1){background:var(--b5-sun)}.b5-stripe i:nth-child(2){background:var(--b5-peach)}.b5-stripe i:nth-child(3){background:var(--b5-orange)}.b5-stripe i:nth-child(4){background:var(--b5-berry)}.b5-stripe i:nth-child(5){background:var(--b5-teal)}
.b5-stripe-foot{flex-direction:row;height:10px}
.b5-stripe-foot i{flex:1;height:10px}
@media (max-width: 760px){
  .b5-toggle{display:inline-flex;align-items:center}
  .b5-nav{display:none;order:5;width:100%;flex-direction:column;gap:0;border-top:1px solid #EBDCCF}
  .b5-nav.open{display:flex}
  .b5-nav a{padding:12px 4px;border-bottom:1px solid #EBDCCF}
  .b5-contact{order:3}
  .b5-brand{font-size:22px}
  .b5-brand .sub{font-size:15px}
}

/* ---------- footer ---------- */
.b5-foot{background:var(--b5-plum);color:#E8CFC0;font-size:14px}
.b5-foot-in{max-width:1240px;margin:0 auto;padding:40px clamp(16px,4cqi,40px) 52px;display:flex;flex-direction:column;gap:16px}
.b5-foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}
.b5-foot .aor{margin:0}
.b5-foot strong{color:#FFFFFF}
.b5-adv{font-family:var(--b5-head);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--b5-plum);background:var(--b5-peach);padding:6px 12px;align-self:flex-start}
.b5-foot-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px 24px;border-top:1px solid rgba(255,255,255,.18);padding-top:16px}
.b5-foot-cols ul{list-style:none;margin:0;padding:0}
.b5-foot-cols li{margin:4px 0}
.b5-foot a{color:#FFFFFF}
.b5-foot p{margin:0;max-width:none}
.b5-ver{font-size:12px;opacity:.8}

/* ---------- older firm pages (refusal, Section 71, fees, reporting, your client, instruct, notices, research, versions, 404) ---------- */
body.legacy{
  --paper:#FFFFFF; --surface:#FFF7EE; --surface-2:#FFFBF6; --ink:#2A1828; --slate:#4B3348; --hair:#EBDCCF; --hair-2:#F3E8DE;
  --blue:#3D1A3B; --teal:#0F6566; --green:#0F6566; --orange:#C2500C; --orange-fill:#FFB066; --crimson:#8E2C48;
  --blue-soft:#F4E9F2; --teal-soft:#DDEFEE; --green-soft:#DDEFEE; --orange-soft:#FFE7CC; --crimson-soft:#F6E1E7;
  --serif:'Oswald','Arial Narrow',Impact,sans-serif; --sans:'Work Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
body.legacy h1,body.legacy h2,body.legacy h3{font-family:var(--b5-head);font-weight:700;text-transform:uppercase;letter-spacing:.01em;color:var(--b5-plum)}
body.legacy .page-head{background:var(--b5-peach)}
body.legacy .b5-nav a,body.legacy .b5-top{text-decoration:none}
