/* Wiregrass Safety — site styles
   Palette: signal yellow (ANSI safety), longleaf pine green, paper, ink, steel */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
:root {
  --signal: #F2C200;
  --signal-deep: #D9A900;
  --pine: #1F3B2D;
  --pine-2: #2D5240;
  --paper: #F6F6F2;
  --ink: #161A17;
  --steel: #55605A;
  --rule: #D6D8D0;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 66ch;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-2); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--signal-deep); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--signal); color: var(--ink); padding: .5rem 1rem; z-index: 10; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1.1em; max-width: var(--measure); }

/* Header */
.site-header { background: var(--pine); color: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: .01em; }
.brand:hover { color: var(--paper); }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--paper); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; color: var(--paper); }
.nav .call { background: var(--signal); color: var(--ink); padding: .45rem .9rem; font-weight: 700; }
.nav .call:hover { background: #fff; color: var(--ink); text-decoration: none; }

/* Hero: the sign */
.hero { background: var(--pine); padding: 2.5rem 0 4rem; }
.sign {
  background: var(--signal);
  color: var(--ink);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 6px solid var(--ink);
  outline: 6px solid var(--signal);
  position: relative;
}
.sign h1 { max-width: 14ch; margin-bottom: .35em; }
.sign .lede { font-size: 1.2rem; max-width: 46ch; font-weight: 500; }
.sign .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-sub { color: #CFD8D1; margin-top: 2rem; max-width: 60ch; }

.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1.05rem; padding: .85rem 1.4rem; text-decoration: none; border: 3px solid var(--ink); }
.btn-dark { background: var(--ink); color: var(--signal); }
.btn-dark:hover { background: var(--pine); color: var(--signal); border-color: var(--pine); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--signal); }
.btn-signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn-signal:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Sections */
section { padding: 4.5rem 0; }
.section-intro { max-width: 60ch; margin-bottom: 2.5rem; }
.section-intro p { color: var(--steel); font-size: 1.1rem; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.service { padding: 1.75rem 1.75rem 1.5rem 0; border-bottom: 1px solid var(--rule); }
.service + .service { padding-left: 1.75rem; border-left: 1px solid var(--rule); }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 3px; }
.service p { color: var(--steel); }
@media (max-width: 900px) { .service + .service { padding-left: 0; border-left: 0; } }

.band { background: var(--pine); color: var(--paper); }
.band h2 { color: var(--paper); }
.band p { color: #CFD8D1; }
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 2.5rem; list-style: none; padding: 0; margin: 0; max-width: none; }
.outcomes li { border-left: 4px solid var(--signal); padding-left: 1rem; }
.outcomes strong { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--paper); margin-bottom: .2rem; }
.outcomes span { color: #CFD8D1; font-size: .98rem; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.75rem; max-width: 760px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.6rem; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; background: var(--signal); border: 3px solid var(--ink); }
.steps h3 { margin-bottom: .25rem; font-size: 1.4rem; }
.steps p { margin: 0; color: var(--steel); }

.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.panel { background: #fff; border: 1px solid var(--rule); border-top: 6px solid var(--signal); padding: 1.75rem; }
.panel h3 { font-size: 1.5rem; }
.panel dl { margin: 0; }
.panel dt { font-weight: 700; margin-top: 1rem; }
.panel dt:first-child { margin-top: 0; }
.panel dd { margin: .15rem 0 0; color: var(--steel); }

.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.75rem; position: relative; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .8rem; background: var(--signal); border: 2px solid var(--ink); }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--steel); }

.page-head { background: var(--pine); color: var(--paper); padding: 3.5rem 0 3rem; border-bottom: 10px solid var(--signal); }
.page-head h1 { color: var(--paper); font-size: clamp(2.5rem, 6vw, 4.25rem); max-width: 18ch; }
.page-head p { color: #CFD8D1; font-size: 1.15rem; max-width: 58ch; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #CFD8D1; }
.crumbs a { color: #CFD8D1; }

.cta { background: var(--signal); border-block: 6px solid var(--ink); padding: 3.5rem 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; font-weight: 500; }

.areas { columns: 3 160px; padding: 0; list-style: none; max-width: none; }
.areas li { break-inside: avoid; padding: .2rem 0; }

/* Footer */
.site-footer { background: var(--ink); color: #BFC6C0; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer a { color: #E9ECE6; }
.site-footer h2 { font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.legal { grid-column: 1 / -1; border-top: 1px solid #2C322E; padding-top: 1.25rem; margin-top: 1rem; font-size: .85rem; }

@media (prefers-reduced-motion: no-preference) {
  .sign { animation: post 520ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes post { from { transform: translateY(14px) rotate(-.6deg); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 640px) {
  .nav { gap: .9rem; }
  .nav a:not(.call) { font-size: .92rem; }
  section { padding: 3.25rem 0; }
}
