/* S K R and Company P.C. — design tokens
   Ledger-paper palette, workpaper-referenced structure. Distinct from skrllp.com. */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --paper:#F1F3F5;
  --paper-raised:#FFFFFF;
  --ink:#101827;
  --slate:#3B4B63;
  --slate-soft:#5B6B84;
  --rule:#D7DCE2;
  --brass:#B08D57;
  --brass-deep:#8C6D3F;
  --verdigris:#3F6B62;
  --danger:#8C3B34;

  --display: 'Source Serif 4', Georgia, serif;
  --body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --container: 1180px;
  --radius: 2px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  line-height:1.15;
  color:var(--ink);
  margin:0 0 0.5em;
}
h1{ font-size:clamp(2.2rem, 3.4vw, 3.4rem); font-weight:500; letter-spacing:-0.01em; }
h2{ font-size:clamp(1.5rem, 2.2vw, 2.1rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--slate); max-width:62ch; }
a{ color:var(--ink); text-decoration-color:var(--brass); text-underline-offset:3px; }
.mono{ font-family:var(--mono); letter-spacing:0.01em; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 28px; }

/* Header */
.site-header{
  border-bottom:1px solid var(--rule);
  background:var(--paper-raised);
  position:sticky; top:0; z-index:40;
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; flex-direction:column; text-decoration:none; }
.brand-name{ font-family:var(--display); font-size:1.25rem; font-weight:600; color:var(--ink); }
.brand-sub{ font-family:var(--mono); font-size:0.68rem; letter-spacing:0.08em; color:var(--slate-soft); text-transform:uppercase; }
nav.primary{ display:flex; gap:28px; }
nav.primary a{ font-size:0.92rem; color:var(--slate); text-decoration:none; padding:6px 0; border-bottom:2px solid transparent; }
nav.primary a:hover, nav.primary a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--brass); }

/* Workpaper header strip — the signature element */
.wp-strip{
  background:var(--ink);
  color:#EDEFF2;
  font-family:var(--mono);
  font-size:0.72rem;
  letter-spacing:0.06em;
}
.wp-strip .wrap{
  display:flex; flex-wrap:wrap; gap:8px 32px;
  padding:9px 28px; text-transform:uppercase;
}
.wp-strip span b{ color:var(--brass); font-weight:600; }

/* Hero */
.hero{ padding:72px 0 56px; border-bottom:1px solid var(--rule); }
.hero .kicker{
  font-family:var(--mono); font-size:0.78rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--brass-deep); margin-bottom:14px; display:block;
}
.hero p.lede{ font-size:1.15rem; max-width:58ch; }
.hero-actions{ display:flex; gap:16px; margin-top:26px; }

.btn{
  display:inline-block; padding:12px 22px; font-size:0.92rem; font-weight:600;
  text-decoration:none; border-radius:var(--radius); border:1px solid var(--ink);
}
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:#000; }
.btn-ghost{ background:transparent; color:var(--ink); }
.btn-ghost:hover{ background:var(--paper-raised); }

/* Workpaper reference sections (replaces generic 01/02/03 numbering) */
.wp-section{ padding:64px 0; border-bottom:1px solid var(--rule); }
.wp-ref{
  font-family:var(--mono); font-size:0.78rem; color:var(--brass-deep);
  letter-spacing:0.05em; display:block; margin-bottom:10px;
}
.wp-ref::before{ content:"WP "; color:var(--slate-soft); }

.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }

.card{
  background:var(--paper-raised); border:1px solid var(--rule); border-radius:var(--radius);
  padding:26px 24px;
}
.card h3{ margin-bottom:8px; }
.card ul{ margin:12px 0 0; padding-left:18px; color:var(--slate); font-size:0.94rem; }
.card ul li{ margin-bottom:6px; }

.rule{ border:none; border-top:1px solid var(--rule); margin:0; }

.credentials{
  display:flex; flex-wrap:wrap; gap:10px 28px; padding:22px 0;
}
.credential{ font-size:0.86rem; color:var(--slate); }
.credential b{ color:var(--ink); font-family:var(--mono); font-weight:600; }

footer.site-footer{ background:var(--ink); color:#B9C0CC; padding:46px 0 28px; }
footer.site-footer a{ color:#DCE1E8; text-decoration:none; }
footer.site-footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
footer .legal{ font-size:0.78rem; color:#7C8698; margin-top:24px; max-width:70ch; }

@media (max-width: 860px){
  nav.primary{ display:none; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  footer.site-footer .wrap{ flex-direction:column; }
}
