/* SmithWorks Back Office — site styles
   Palette (agreed Oct 10 2026): navy #1D3A5F, charcoal #30343B text, concrete #EEF1F4 bands on white, hi-vis #FFB400 once per page (phone bar). Slate #4B5563 is utility gray only. Public Sans; one family, weight does the work. */

:root {
  --navy: #1D3A5F;
  --navy-deep: #15293F;
  --slate: #4B5563;
  --ink: #30343B;
  --paper: #FFFFFF;
  --concrete: #EEF1F4;
  --line: #CBD2DA;
  --hivis: #FFB400;
  --measure: 68ch;
  --gutter: 16px;
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); max-width: 24ch; text-wrap: balance; }
h2.h2-wide { max-width: 34ch; }
.nb { white-space: nowrap; }
p, li { text-wrap: pretty; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
p, ul, ol { margin: 0 0 1em; max-width: var(--measure); }
strong { font-weight: 700; }
.lede { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; max-width: 36ch; color: var(--slate); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Lists: a square navy marker, like a checklist */
.list { list-style: none; padding: 0; }
.list li { position: relative; padding-left: 1.6em; margin-bottom: 0.65em; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6em; height: 0.6em; background: var(--navy); }

/* Numbered steps: only for real sequences */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; margin-bottom: 1.1rem; min-height: 2.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -0.2rem; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand .mark { height: 36px; display: none; }
@media (max-width: 479px) { .brand .word { height: 24px; } .hdr-call, .menu-btn { padding: 0.4rem 0.55rem; } .hdr-actions { gap: 0.4rem; } }
@media (max-width: 359px) { .brand .word { display: none; } .brand .mark { display: block; } }
.hdr-actions { display: inline-flex; align-items: center; gap: 0.6rem; }
.hdr-call { display: inline-flex; align-items: center; font-weight: 800; color: var(--navy); text-decoration: none; padding: 0.45rem 0.6rem; border: 2px solid var(--navy); white-space: nowrap; }
.hdr-call .hdr-num { display: none; }
@media (min-width: 480px) { .hdr-call .hdr-num { display: inline; } }
.nav { display: none; }
.nav a { font-weight: 600; text-decoration: none; margin-left: 1.5rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .nav-phone { color: var(--navy); font-weight: 800; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 2px solid var(--navy); color: var(--navy); font: inherit; font-weight: 700; padding: 0.45rem 0.8rem; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--concrete); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.9rem var(--gutter); font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--navy); }
.mobile-nav .nav-phone { color: var(--navy); font-weight: 800; }
@media (min-width: 860px) {
  .brand img { height: 34px; }
  .nav { display: flex; align-items: center; }
  .menu-btn, .mobile-nav, .hdr-actions { display: none !important; }
}

/* Sections */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.alt { background: var(--concrete); }
section.hero { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.hero .lede { margin-top: 1rem; }

/* The one bold thing: the phone number, set like lettering on a truck door */
.cta { margin-top: 1.75rem; max-width: var(--measure); }
.cta .phone {
  display: inline-block;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 6px solid var(--hivis);
  font-variant-numeric: tabular-nums;
}
.cta .phone:hover { color: var(--navy-deep); }
.cta .or { display: block; margin-top: 0.9rem; font-size: 1.05rem; color: var(--slate); }
.cta .or a { font-weight: 700; }
.cta-inline .phone { font-size: clamp(1.5rem, 4vw, 2.1rem); border-bottom: 0; padding-bottom: 0; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cta-inline { margin-top: 1.25rem; }

/* Two-column feature rows on wide screens */
.cols { display: grid; gap: 2rem; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } .cols > * { min-width: 0; } .cols .steps, .cols .list { margin-top: 0; } .cols .price { margin-top: 0; } }

/* Pricing callout */
.price { border-left: 6px solid var(--navy); padding: 0.25rem 0 0.25rem 1.25rem; margin: 1.5rem 0; max-width: var(--measure); }
.price p { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--navy); line-height: 1.35; }

/* FAQ */
.faq dt { font-weight: 700; margin-top: 1.4rem; max-width: var(--measure); }
.faq dd { margin: 0.35rem 0 0; max-width: var(--measure); }

/* Credential line (Payroll page hero) */
.hero-grid { display: grid; gap: 2rem; }
.credential { margin: 0; }
.credential img { height: 120px; width: auto; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr auto; align-items: start; gap: 4rem; }
  .credential { padding-top: 0.75rem; }
  .credential img { height: 200px; }
}

/* Headshot slot (About) */
.bio { display: grid; gap: 1.5rem; }
.bio .headshot { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--concrete); }
@media (min-width: 860px) { .bio { grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; } }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.details { list-style: none; padding: 0; }
.details li { margin-bottom: 0.6rem; }
form { max-width: 34rem; }
label { display: block; font-weight: 700; margin: 1rem 0 0.35rem; }
input, textarea {
  width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 2px solid var(--slate); border-radius: 0; background: var(--paper); color: var(--ink);
}
input:focus, textarea:focus { outline: 3px solid var(--hivis); outline-offset: 2px; border-color: var(--navy); }
textarea { min-height: 7rem; resize: vertical; }
button[type="submit"], .button {
  display: inline-block; margin-top: 1.25rem; background: var(--navy); color: #fff; border: 0; font: inherit; font-weight: 700; padding: 0.9rem 1.4rem; cursor: pointer; text-decoration: none;
}
button[type="submit"]:hover, .button:hover { background: var(--navy-deep); color: #fff; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 3rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; align-items: start; } }
.site-footer .brand img { height: 28px; }
.site-footer p { margin: 0.4rem 0; max-width: 40ch; }
.site-footer .foot-phone { font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.site-footer .decal { width: 96px; height: 96px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1.25rem; font-size: 0.9rem; opacity: 0.9; }
.site-footer .fine p { max-width: none; }

/* Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Additions */
.bio.no-photo { grid-template-columns: 1fr; }
em { font-style: italic; }
.alt .cta-inline { margin-top: 1.25rem; }

/* Sample labor report: set like the paper report itself, not a chart */
.report { margin: 0; border: 2px solid var(--navy); background: var(--paper); font-size: 0.92rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.8rem 0.9rem; border-bottom: 2px solid var(--navy); }
.report-head strong { display: block; color: var(--navy); font-size: 1.05rem; }
.report-head span { display: block; color: var(--slate); font-size: 0.85rem; }
.report-tag { border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; padding: 0.15rem 0.5rem; white-space: nowrap; }
.report table { width: 100%; border-collapse: collapse; }
.report th, .report td { padding: 0.45rem 0.6rem; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.report th[scope="row"], .report thead th:first-child { text-align: left; }
.report thead th { font-weight: 700; color: var(--slate); font-size: 0.8rem; border-bottom: 2px solid var(--line); }
.report tbody th { font-weight: 600; color: var(--ink); }
.report tfoot th, .report tfoot td { font-weight: 800; color: var(--navy); border-bottom: 0; border-top: 2px solid var(--navy); }
.report-note { margin: 0; padding: 0.6rem 0.9rem; font-size: 0.85rem; color: var(--ink); background: var(--concrete); }
.report figcaption { padding: 0.6rem 0.9rem; font-size: 0.8rem; color: var(--slate); border-top: 1px solid var(--line); }
.report-compact { font-size: 0.95rem; }
@media (max-width: 479px) {
  .report { font-size: 0.82rem; }
  .report th, .report td { padding: 0.4rem 0.4rem; }
  .report:not(.report-compact) th:nth-child(2), .report:not(.report-compact) td:nth-child(2),
  .report:not(.report-compact) th:nth-child(3), .report:not(.report-compact) td:nth-child(3),
  .report:not(.report-compact) th:nth-child(5), .report:not(.report-compact) td:nth-child(5) { display: none; }
}
@media (min-width: 860px) { .cols.report-row { grid-template-columns: 2fr 3fr; } }
.report-next { margin: 0; padding: 0.5rem 0.9rem; font-size: 0.85rem; color: var(--navy); font-weight: 600; border-top: 1px solid var(--line); text-align: right; }

/* Full sample report */
.report-full { max-width: 960px; margin-top: 1.5rem; }
.report-after { margin-top: 1.25rem; }
.report-band { padding: 0.9rem 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.report-band h3 { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--slate); letter-spacing: 0; }
.report-band table { margin: 0; }
.report-full .report-band table th, .report-full .report-band table td { padding-left: 0; }
.report-full .report-band table th:first-child, .report-full .report-band table td:first-child { padding-left: 0; }
.report-full .report-band table th:last-child, .report-full .report-band table td:last-child { padding-right: 0; }
.kpis { display: grid; gap: 1rem 2rem; margin: 0; }
.kpis > div { max-width: none; }
.kpis dt { font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.kpis dd { margin: 0.1rem 0 0.25rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); line-height: 1.05; }
.kpis p { margin: 0; font-size: 0.85rem; line-height: 1.4; max-width: none; }
@media (min-width: 600px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.report-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.report-list li { position: relative; padding-left: 1.2em; margin-bottom: 0.45em; font-size: 0.95rem; line-height: 1.4; }
.report-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5em; height: 0.5em; background: var(--navy); }
.report-action { background: var(--concrete); }
.report-action p { margin: 0; font-size: 1rem; line-height: 1.45; max-width: none; color: var(--ink); }
.report sup { font-size: 0.65em; color: var(--slate); }
@media (max-width: 479px) {
  .report-full .report-band table th:nth-child(2), .report-full .report-band table td:nth-child(2),
  .report-full .report-band table th:nth-child(3), .report-full .report-band table td:nth-child(3),
  .report-full .report-band table th:nth-child(5), .report-full .report-band table td:nth-child(5) { display: none; }
}
.report-next, .report figcaption, .report-note { max-width: none; }
.kpis-2 { grid-template-columns: 1fr 1fr; }
.report-excerpt .report-next { text-align: left; font-size: 0.95rem; }
.report-excerpt .report-next a { font-weight: 700; }
@media (min-width: 860px) { .report-excerpt { margin-top: 0.4rem; } }
sup.tm { font-size: 0.5em; line-height: 0; vertical-align: 0.75em; margin-left: 0.05em; font-weight: 600; letter-spacing: 0; }
h1 sup.tm { font-size: 0.4em; vertical-align: 0.9em; }
