/* ==========================================================================
   Worcester Security Guards — design system
   Ink navy + signal amber · Archivo display / Inter body / Plex Mono labels
   ========================================================================== */

:root {
  /* color */
  --ink-950: #060B14;
  --ink-900: #0A1220;
  --ink-800: #101C30;
  --ink-700: #1B2A44;
  --ink-600: #29405F;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --line: #E2E6ED;
  --line-dark: rgba(255,255,255,.10);
  --text: #16202F;
  --text-2: #46536A;
  --text-3: #5F6C81;
  --text-inv: #EDF1F7;
  --text-inv-2: #A6B2C6;
  --amber: #F5A623;
  --amber-hi: #FFB93E;
  --amber-deep: #8F5804;
  --amber-ink: #191104;
  --success: #1B7F4D;
  --error: #C2361B;
  --focus: #E9950C;

  /* type */
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* layout */
  --container: 73rem;
  --container-wide: 84rem;
  --container-narrow: 47rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 8px;
  --radius-lg: 14px;
  --utilbar-h: 38px;
  --shadow-1: 0 1px 2px rgba(10,18,32,.06), 0 2px 8px rgba(10,18,32,.05);
  --shadow-2: 0 2px 6px rgba(10,18,32,.07), 0 14px 34px rgba(10,18,32,.11);
  --ease: cubic-bezier(.33,1,.68,1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink-900); color: #fff; padding: .6rem 1rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 650; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 650; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: var(--amber); flex: none; }
.eyebrow-amber { color: var(--amber); }
.eyebrow-center { justify-content: center; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--text-2); }
.small { font-size: .9rem; color: var(--text-3); }
.mono { font-family: var(--font-mono); }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4rem, 8.5vw, 7rem); }
.section-tight { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--ink-900);
  color: var(--text-inv);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(41,64,95,.55), transparent 65%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: var(--text-inv-2); }
.section-dark .lead { color: var(--text-inv-2); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.section-head-row .section-head { margin-bottom: 0; }

.grid-2 { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split-wide-media { grid-template-columns: 1fr 1.15fr; }

/* grid children must be allowed to shrink below content size */
.split > *, .hero-home-inner > *, .hero-page-split > *, .svc-layout > *,
.grid-2 > *, .grid-3 > *, .grid-4 > *, .cta-inner > *, .emg-inner > * { min-width: 0; }

/* ---------- media treatment ---------- */
.media-frame { position: relative; }
.media-frame img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  width: 100%; object-fit: cover;
}
.media-frame::after {
  content: ""; position: absolute; inset: auto auto -12px -12px;
  width: 96px; height: 96px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber);
  border-radius: 0 0 0 var(--radius-lg); pointer-events: none;
}
.media-frame-plain::after { display: none; }
.media-caption {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3); margin-top: .8rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-stretch: 105%;
  font-weight: 650; font-size: .95rem; letter-spacing: .01em;
  padding: .8rem 1.5rem; border-radius: var(--radius);
  border: 1.5px solid transparent; text-decoration: none;
  cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease),
    color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 2px 10px rgba(245,166,35,.28); }
.btn-primary:hover { background: var(--amber-hi); box-shadow: 0 4px 16px rgba(245,166,35,.38); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-ghost { border-color: var(--ink-900); color: var(--ink-900); background: transparent; }
.btn-ghost:hover { background: var(--ink-900); color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--ink-900); background: var(--white); }
.btn-ghost-dark:hover { border-color: var(--ink-900); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; min-height: 54px; }
.btn-sm { padding: .5rem 1rem; font-size: .87rem; min-height: 40px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 650; font-size: .95rem;
  color: var(--ink-900); text-decoration: none; border-bottom: 2px solid var(--amber);
  padding-bottom: 2px; transition: gap .18s var(--ease);
}
.link-arrow:hover { gap: .75rem; }
.section-dark .link-arrow { color: #fff; }

/* ---------- chips / status ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.1em; list-style: none; }
.chip {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px;
  padding: .32rem .8rem; color: var(--text-2); background: var(--white);
}
.section-dark .chip { border-color: var(--line-dark); background: rgba(255,255,255,.05); color: var(--text-inv-2); }
.pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); margin-right: .55rem;
  box-shadow: 0 0 0 0 rgba(245,166,35,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,166,35,.45); }
  70% { box-shadow: 0 0 0 8px rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: calc(-1 * var(--utilbar-h)); z-index: 100; }
.utility-bar {
  background: var(--ink-950); color: var(--text-inv-2);
  font-size: .8rem; height: var(--utilbar-h); display: flex; align-items: center;
}
.utility-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.utility-status { margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.utility-links { display: flex; gap: 1.5rem; }
.utility-link { color: var(--text-inv-2); text-decoration: none; }
.utility-link:hover { color: #fff; }
.utility-phone { color: var(--amber); font-weight: 600; }

.header-main {
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 72px; }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.logo-mark { flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word strong {
  font-family: var(--font-display); font-stretch: 118%; font-weight: 750;
  font-size: 1.18rem; letter-spacing: .01em; color: var(--ink-900); text-transform: uppercase;
}
.logo-word span {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--amber-deep);
}
.logo-invert .logo-word strong { color: #fff; }
.logo-invert .logo-word span { color: var(--amber); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--text); text-decoration: none; background: none; border: 0;
  padding: .55rem .8rem; border-radius: 6px; cursor: pointer;
}
.nav-link:hover { background: var(--paper); color: var(--ink-900); }
body[data-nav="services"] [data-nav-item="services"] > .nav-link,
body[data-nav="industries"] [data-nav-item="industries"] > .nav-link,
body[data-nav="locations"] [data-nav-item="locations"] > .nav-link,
body[data-nav="resources"] [data-nav-item="resources"] > .nav-link,
body[data-nav="about"] [data-nav-item="about"] > .nav-link,
body[data-nav="contact"] [data-nav-item="contact"] > .nav-link {
  color: var(--ink-900); box-shadow: inset 0 -2px 0 var(--amber);
  border-radius: 6px 6px 0 0;
}
.chev { transition: transform .18s var(--ease); }
.has-menu.open > .nav-link .chev, .has-menu:hover > .nav-link .chev { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2); padding: 1.4rem; display: none; z-index: 110;
}
.menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu.open > .menu { display: block; }
@media (hover: hover) and (min-width: 981px) {
  .has-menu:hover > .menu, .has-menu:focus-within > .menu { display: block; }
}
.drop { min-width: 240px; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop a {
  display: block; padding: .5rem .7rem; border-radius: 6px;
  text-decoration: none; font-size: .93rem; color: var(--text); white-space: nowrap;
}
.drop a:hover { background: var(--paper); color: var(--ink-900); }
.drop-all { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .5rem; }
.drop-all a { font-weight: 600; color: var(--ink-900); }

.mega { width: min(760px, 92vw); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.6rem; }
.mega-label {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  margin: 0 0 .6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a {
  display: block; padding: .42rem .55rem; margin-left: -.55rem; border-radius: 6px;
  text-decoration: none; font-size: .93rem; color: var(--text);
}
.mega-col a:hover { background: var(--paper); color: var(--ink-900); }
.mega-aside {
  background: var(--ink-900); border-radius: var(--radius); padding: 1.2rem;
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-start;
}
.mega-aside-title { color: #fff; font-family: var(--font-display); font-weight: 700; margin: 0; font-size: 1.02rem; }
.mega-aside-text { color: var(--text-inv-2); font-size: .84rem; line-height: 1.55; margin: 0; }
.mega-aside-tel { color: var(--amber); font-family: var(--font-mono); font-weight: 600; text-decoration: none; font-size: .95rem; }
.mega-all {
  display: inline-block; margin-top: 1.1rem; font-weight: 650; font-size: .92rem;
  font-family: var(--font-display); color: var(--ink-900); text-decoration: none;
}
.mega-all:hover { color: var(--amber-deep); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-weight: 600; font-size: .95rem;
  color: var(--ink-900); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--amber-deep); }
.header-phone svg { color: var(--amber-deep); }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.nav-toggle-bars span { height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  display: none; background: var(--white); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.open { display: block; }
.mobile-nav nav { padding: .75rem var(--gutter) 1.5rem; }
.m-group { border-bottom: 1px solid var(--line); }
.m-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; padding: 1rem 0.2rem;
  font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; color: var(--ink-900);
}
.m-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-list { list-style: none; margin: 0; padding: 0 0 .8rem; }
.m-list a { display: block; padding: .55rem .9rem; color: var(--text-2); text-decoration: none; font-size: .98rem; border-radius: 6px; }
.m-list a:hover { background: var(--paper); }
.m-direct { list-style: none; margin: 0; padding: .4rem 0 0; }
.m-direct a { display: block; padding: .8rem .2rem; font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--line); }
.m-actions { display: grid; gap: .7rem; padding-top: 1.25rem; }

/* ---------- breadcrumbs ---------- */
.crumbs { background: var(--white); border-bottom: 1px solid var(--line); }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .35rem;
  margin: 0; padding: .55rem 0;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.crumbs li { display: flex; align-items: center; gap: .35rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; color: var(--line); padding-right: .1rem; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink-900); text-decoration: underline; }
.crumbs [aria-current] { color: var(--amber-deep); }

/* ---------- heroes ---------- */
.hero-home { background: var(--ink-900); color: var(--text-inv); overflow: hidden; position: relative; }
.hero-home-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero-home h1 { color: #fff; margin-bottom: .55em; }
.hero-home .lead { color: var(--text-inv-2); max-width: 34rem; }
.hero-kicker {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(245,166,35,.35); border-radius: 100px;
  padding: .4rem 1rem; margin-bottom: 1.5rem; background: rgba(245,166,35,.07);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; align-items: center; }
.hero-note { width: 100%; margin-top: .35rem; font-size: .88rem; color: var(--text-inv-2); }
.hero-note a { color: var(--amber); font-weight: 600; text-decoration: none; }
.hero-note a:hover { text-decoration: underline; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero-media::after {
  content: ""; position: absolute; right: -14px; top: -14px; width: 110px; height: 110px;
  border-right: 3px solid var(--amber); border-top: 3px solid var(--amber);
  border-radius: 0 var(--radius-lg) 0 0; pointer-events: none;
}

.hero-page { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-page-inner { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
.hero-page .lead { max-width: 46rem; }
.hero-page-split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: center;
}

.hero-dark { background: var(--ink-900); color: var(--text-inv); }
.hero-dark .hero-page-inner { padding-block: clamp(3rem, 6vw, 5rem); }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: var(--text-inv-2); }

/* ---------- trust bar ---------- */
.trust-bar { background: var(--ink-950); border-top: 1px solid var(--line-dark); }
.trust-bar ul {
  list-style: none; margin: 0; padding: 1rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; justify-content: space-between;
}
.trust-bar li {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-2);
}
.trust-bar svg { color: var(--amber); flex: none; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem); position: relative;
}
.card-link { text-decoration: none; display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.card-link::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
  background: var(--amber); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card-link:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-2); font-size: .95rem; }
.card .link-arrow { margin-top: auto; padding-top: 1rem; font-size: .9rem; align-self: flex-start; }

.icon-tile {
  width: 46px; height: 46px; border-radius: 10px; background: var(--ink-900);
  color: var(--amber); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; flex: none;
}
.section-dark .card { background: var(--ink-800); border-color: var(--line-dark); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: var(--text-inv-2); }
.section-dark .icon-tile { background: rgba(245,166,35,.12); }

/* featured service card (large) */
.svc-feature {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white); border: 1px solid var(--line);
  text-decoration: none; transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.svc-feature:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.svc-feature-media { position: relative; min-height: 260px; }
.svc-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-feature-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.svc-feature-body p { color: var(--text-2); }
.svc-feature-body .link-arrow { margin-top: auto; padding-top: 1.2rem; align-self: flex-start; }

/* ---------- lists ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .18em;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7.5' fill='none' stroke='%23191104' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 6px;
}
.check-list-2col { grid-template-columns: 1fr 1fr; gap: .65rem 2rem; }
.section-dark .check-list li { color: var(--text-inv-2); }

/* risk / concern list */
.risk-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.risk-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.risk-list li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em;
  background: var(--amber); transform: rotate(45deg);
}

/* ---------- stats / facts strip ---------- */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact-strip-2 { grid-template-columns: 1fr 1fr; }
.fact { background: var(--white); padding: 1.6rem 1.4rem; }
.fact-label { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 .4rem; }
.fact-value { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.5rem; color: var(--ink-900); margin: 0; line-height: 1.2; }
.fact-value small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--text-2); margin-top: .3rem; letter-spacing: 0; }

/* ---------- process ---------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 88px 1fr; gap: 1.6rem;
  padding: 1.8rem 0; border-top: 1px solid var(--line); position: relative;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 2.6rem;
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amber);
}
.process-step h3 { margin-bottom: .35em; }
.process-step p, .process-step ul { color: var(--text-2); font-size: .97rem; }
.section-dark .process-step { border-color: var(--line-dark); }
.section-dark .process-step p, .section-dark .process-step ul { color: var(--text-inv-2); }

/* ops framework pills */
.ops-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.6rem 0 2.2rem; padding: 0; list-style: none; }
.ops-flow li {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  color: #fff; border: 1px solid var(--line-dark); background: rgba(255,255,255,.05);
  padding: .5rem 1rem; border-radius: 6px;
}
.ops-flow li + li::before { content: ""; }
.ops-flow .ops-arrow { border: 0; background: none; color: var(--amber); padding: 0; font-size: .9rem; }

/* ---------- accordion / FAQ ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: .8rem; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.05rem 1.3rem;
  font-family: var(--font-display); font-weight: 650; font-size: 1.02rem; color: var(--ink-900);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%2316202F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .2s var(--ease);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 1.3rem 1.2rem; color: var(--text-2); font-size: .97rem; }
.section-dark .acc { background: var(--ink-800); border-color: var(--line-dark); }
.section-dark .acc summary { color: #fff; }
.section-dark .acc-body { color: var(--text-inv-2); }

/* ---------- emergency band ---------- */
.emg-band { background: var(--ink-950); color: var(--text-inv); position: relative; overflow: hidden; }
.emg-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink-950) 14px 28px);
}
.emg-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.emg-band h2 { color: #fff; }
.emg-scenarios { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.6rem; }
.emg-scenarios li { display: flex; gap: .6rem; align-items: baseline; color: var(--text-inv-2); font-size: .95rem; }
.emg-scenarios li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg) translateY(-1px); }
.emg-cta {
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); text-align: center;
}
.emg-cta .btn { width: 100%; margin-bottom: .8rem; }
.emg-cta-phone { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--amber); text-decoration: none; display: block; margin-bottom: .4rem; }
.emg-cta-note { font-size: .84rem; color: var(--text-inv-2); margin: 0; }

/* ---------- CTA panel ---------- */
.cta-panel { background: var(--ink-900); color: var(--text-inv); border-top: 1px solid var(--line-dark); }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 6.5vw, 5rem); }
.cta-panel h2 { color: #fff; margin-bottom: .4em; }
.cta-panel p { color: var(--text-inv-2); }
.cta-actions { display: grid; gap: .8rem; justify-items: stretch; }
.cta-note { font-size: .85rem; text-align: center; margin: 0; }

/* ---------- service page layout ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.svc-aside { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.aside-card { background: var(--ink-900); color: var(--text-inv); border-radius: var(--radius-lg); padding: 1.6rem; }
.aside-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5em; }
.aside-card p { color: var(--text-inv-2); font-size: .9rem; }
.aside-card .btn { width: 100%; margin-top: .9rem; }
.aside-tel { display: block; text-align: center; font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--amber); text-decoration: none; margin-top: .8rem; }
.aside-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.aside-list p.aside-head { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); margin: 0 0 .7rem; }
.aside-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.aside-list a { color: var(--text-2); text-decoration: none; font-size: .93rem; display: inline-flex; }
.aside-list a:hover { color: var(--ink-900); text-decoration: underline; }

.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { color: var(--text-2); }
.prose li { margin-bottom: .35em; }

/* duty table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th {
  text-align: left; font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
  padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--paper);
}
td { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink-900); }

/* ---------- article ---------- */
.article-head { padding-block: clamp(2.75rem, 5vw, 4rem) 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.2rem; }
.article-body { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }
.article-body > * { max-width: var(--container-narrow); }
.article-body h2 { margin-top: 2em; }
.article-body .callout {
  border-left: 3px solid var(--amber); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem; margin: 1.8em 0; color: var(--text-2);
}

/* ---------- forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-1); }
.fieldset-label {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber-deep); margin: 2rem 0 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.fieldset-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.fieldset-label:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-900); }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .7rem .9rem; background: var(--paper); min-height: 48px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink-700); background: #fff; box-shadow: 0 0 0 3px rgba(245,166,35,.25);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field-hint { font-size: .82rem; color: var(--text-3); }
.field-error { font-size: .84rem; color: var(--error); display: none; }
.field.invalid .field-error { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: .84rem; color: var(--text-3); margin: 0; }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 500; }
.form-status.success { display: block; background: #E8F5EE; color: var(--success); border: 1px solid #BFE3D0; }
.form-status.error { display: block; background: #FBEAE6; color: var(--error); border: 1px solid #F0C4B8; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: var(--text-inv-2); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-tag { font-size: .92rem; line-height: 1.65; margin: 1.2rem 0; max-width: 26rem; }
.footer-nap { display: grid; gap: .3rem; font-size: .95rem; }
.footer-nap a { color: var(--text-inv); text-decoration: none; }
.footer-nap a:hover { color: var(--amber); }
.footer-nap a.js-tel { color: var(--amber); font-family: var(--font-mono); font-weight: 600; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--text-inv-2);
  transition: color .18s, border-color .18s;
}
.footer-social a:hover { color: var(--amber); border-color: var(--amber); }
.footer-head {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin: 0 0 1rem;
}
.footer-head-gap { margin-top: 1.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: var(--text-inv-2); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center;
  padding-block: 1.4rem; font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0; padding: 0; }
.footer-legal a { color: var(--text-inv-2); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- mobile bar ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  grid-template-columns: 1fr 1fr;
  background: var(--ink-950); border-top: 1px solid var(--line-dark);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 650; font-size: .95rem;
  text-decoration: none; border-radius: var(--radius); min-height: 46px;
}
.mobile-bar-call { background: var(--amber); color: var(--amber-ink); }
.mobile-bar-quote { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.code-404 {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--amber); margin: 0 0 .2em;
}

/* ---------- reveal (JS-gated so content is never hidden without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .header-phone span { display: none; }
}
@media (max-width: 980px) {
  .main-nav, .header-phone, .btn-quote { display: none; }
  .nav-toggle { display: block; }
  .utility-bar { display: none; }
  .site-header { top: 0; }
  .hero-home-inner, .hero-page-split, .split, .split-wide-media,
  .cta-inner, .emg-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 64px; }
  .site-footer { padding-bottom: 72px; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature-media { min-height: 220px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .check-list-2col { grid-template-columns: 1fr; }
  .emg-scenarios { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 56px 1fr; gap: 1rem; }
  .process-num { font-size: 1.9rem; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 520px) {
  .grid-4, .fact-strip { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-panel, .mobile-bar, .crumbs { display: none; }
  body { background: #fff; }
}
