/*
Theme Name: NOCsmith
Theme URI: https://nocsmith.com/
Author: NOCsmith
Description: Purpose-built one-page WordPress theme for NOCsmith after-hours NOC coverage.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nocsmith
*/

:root {
  --ink: #08131f;
  --ink-2: #0d1d2d;
  --ink-3: #13283b;
  --steel: #547086;
  --steel-light: #8ea3b3;
  --mist: #e8edf1;
  --paper: #f7f9fa;
  --white: #ffffff;
  --copper: #c97845;
  --copper-light: #e09a6c;
  --green: #55c99a;
  --line: #dce4e9;
  --text: #182b3a;
  --muted: #607484;
  --shadow: 0 28px 70px rgba(3, 13, 22, 0.24);
  --radius: 18px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 108px 0; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(8,19,31,.92);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--copper);
  border-radius: 9px 9px 13px 9px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.04em;
  box-shadow: inset 0 1px rgba(255,255,255,.22);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: 5px;
  bottom: 6px;
  background: rgba(255,255,255,.7);
  transform: rotate(-35deg);
  border-radius: 2px;
}
.brand-name { color: var(--white); font-size: 21px; font-weight: 820; letter-spacing: -.035em; }
.brand-name span { font-weight: 560; color: #d9e2e9; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) {
  color: #c5d0d9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease;
}
.site-nav > a:not(.button):hover { color: var(--white); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(224,154,108,.55);
  outline-offset: 4px;
}
.button-small { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.button-copper { color: var(--white); background: var(--copper); box-shadow: 0 12px 28px rgba(201,120,69,.25); }
.button-copper:hover { background: #d1814d; box-shadow: 0 15px 34px rgba(201,120,69,.34); }
.button-light { color: var(--ink); background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 144px 0 92px;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    radial-gradient(circle at 73% 42%, #17344d 0, #0d2032 28%, var(--ink) 66%);
  background-size: 44px 44px, 44px 44px, auto;
}
.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 80px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(255,255,255,.018), 0 0 0 176px rgba(255,255,255,.012);
}
.hero-glow {
  position: absolute;
  inset: auto auto -220px -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201,120,69,.08);
  filter: blur(40px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #aebdca;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--copper-light); }
.eyebrow.dark { color: var(--steel); }
.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 790;
}
.hero h1 em { color: #aab9c5; font-style: normal; font-weight: 530; }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: #b8c5cf; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; }
.text-link { color: var(--white); text-decoration: none; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 6px; color: var(--copper-light); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-note { margin: 22px 0 0; color: #8297a8; font-size: 13px; }
.hero-note span { margin-inline: 8px; color: var(--copper-light); }

.incident-window {
  position: relative;
  color: var(--white);
  background: linear-gradient(145deg, rgba(23,48,69,.96), rgba(11,27,41,.98));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}
.incident-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 24%);
  pointer-events: none;
}
.window-topbar, .incident-head, .window-footer { display: flex; align-items: center; justify-content: space-between; }
.window-topbar { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.window-topbar > div { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(85,201,154,.1); }
.window-kicker { color: #9eb1c0; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.window-time { color: #8197a8; font-size: 12px; font-variant-numeric: tabular-nums; }
.incident-head { padding: 25px 24px 17px; }
.incident-head p { margin: 0 0 3px; color: #7f97a9; font-size: 11px; font-weight: 760; letter-spacing: .08em; }
.incident-head h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.resolved-pill { padding: 5px 9px; color: #8fe0bd; background: rgba(85,201,154,.1); border: 1px solid rgba(85,201,154,.22); border-radius: 99px; font-size: 11px; font-weight: 750; }
.timeline { list-style: none; margin: 5px 24px 22px; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 12px 1fr; gap: 10px; min-height: 66px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 59px; top: 15px; bottom: -2px; width: 1px; background: rgba(255,255,255,.1); }
.timeline-time { color: #7890a2; font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.timeline-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 5px; border: 2px solid #648197; border-radius: 50%; background: var(--ink-2); }
.timeline-dot.accent { border-color: var(--copper-light); box-shadow: 0 0 0 4px rgba(201,120,69,.08); }
.timeline-dot.success { border-color: var(--green); background: var(--green); }
.timeline strong { display: block; font-size: 13px; line-height: 1.4; }
.timeline small { display: block; margin-top: 3px; color: #8da1b0; font-size: 12px; line-height: 1.5; }
.window-footer { padding: 14px 20px; color: #7e95a6; background: rgba(2,10,17,.28); border-top: 1px solid rgba(255,255,255,.07); font-size: 10px; letter-spacing: .02em; }
.window-footer strong { color: #b7c5cf; }

.assurance-bar { color: var(--white); background: #0c1e2c; border-top: 1px solid rgba(255,255,255,.06); }
.assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.assurance-grid div { display: flex; align-items: center; gap: 13px; min-height: 84px; padding: 0 23px; border-left: 1px solid rgba(255,255,255,.07); }
.assurance-grid div:last-child { border-right: 1px solid rgba(255,255,255,.07); }
.assurance-grid span { color: var(--copper-light); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.assurance-grid strong { color: #c7d2db; font-size: 13px; letter-spacing: .01em; }

.section-intro h2, .coverage h2, .engagement h2, .contact h2, .faq-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.048em;
}
.split-intro { display: grid; grid-template-columns: 1.12fr .88fr; gap: 90px; align-items: end; }
.split-intro > p { margin: 0 0 7px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.split-intro.compact { align-items: center; }
.centered { max-width: 710px; margin: 0 auto 58px; text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 62px; }
.service-card { position: relative; min-height: 330px; padding: 30px 27px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(18,42,59,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #cbd7de; box-shadow: 0 18px 40px rgba(18,42,59,.08); }
.card-number { position: absolute; top: 24px; right: 24px; color: #b4c1ca; font-size: 11px; font-weight: 780; }
.icon-wrap { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 46px; color: var(--copper); background: #fbf1eb; border-radius: 11px; }
.icon-wrap svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 20px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.process { background: #edf2f5; border-block: 1px solid #dde5ea; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.process-grid::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px; background: #cdd8df; }
.process-grid li { position: relative; padding: 0 26px; text-align: center; }
.step { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 28px; color: var(--copper); background: var(--paper); border: 1px solid #cbd7df; border-radius: 50%; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 8px #edf2f5; }
.process-grid h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.process-note { width: fit-content; margin: 50px auto 0; padding: 8px 13px; color: var(--steel); background: rgba(255,255,255,.65); border: 1px solid #d4dee4; border-radius: 7px; font-size: 12px; }

.coverage { color: var(--white); background: var(--ink); }
.coverage-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; align-items: center; }
.coverage h2 { color: var(--white); }
.coverage-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #9db0bf; font-size: 17px; line-height: 1.75; }
.check-list { list-style: none; margin: 30px 0 0; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: #c2ced7; font-size: 14px; }
.check-list span { display: grid; place-items: center; width: 21px; height: 21px; color: var(--green); background: rgba(85,201,154,.08); border: 1px solid rgba(85,201,154,.2); border-radius: 50%; font-size: 11px; font-weight: 800; }
.shift-board { padding: 22px 24px 19px; background: #102538; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; box-shadow: 0 26px 60px rgba(0,0,0,.25); }
.shift-board-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.shift-board-head > div { display: grid; gap: 5px; }
.shift-board-head strong { font-size: 16px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; color: #8cdab8; font-size: 11px; font-weight: 700; }
.status-chip i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(85,201,154,.1); }
.shift-scale { display: flex; justify-content: space-between; margin-left: 52px; color: #607b8f; font-size: 9px; }
.shift-row { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; margin: 12px 0; }
.shift-row.weekend { margin-top: 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.07); }
.day { color: #728a9c; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.bar { position: relative; height: 34px; overflow: hidden; background: #23394b; border-radius: 6px; }
.bar i { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; font-style: normal; font-size: 9px; font-weight: 750; }
.bar .noc { color: #f5d9c8; background: rgba(201,120,69,.62); }
.bar .team { left: 27%; width: 40%; color: #aebdca; background: #2b465a; }
.bar .night-one { left: 0; width: 27%; }
.bar .night-two { left: 67%; right: 0; }
.bar .full { inset: 0; }
.shift-legend { display: flex; justify-content: flex-end; gap: 16px; margin-top: 18px; color: #748b9b; font-size: 9px; }
.shift-legend span { display: flex; align-items: center; gap: 6px; }
.shift-legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend-team { background: #2b465a; }
.legend-noc { background: rgba(201,120,69,.7); }

.tools-section { padding: 35px 0 41px; color: #9db0bf; background: #0b1b29; border-top: 1px solid rgba(255,255,255,.07); }
.tools-section p { margin: 0 0 21px; text-align: center; font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.tool-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.tool-list span { padding: 8px 12px; color: #bdc9d2; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; font-size: 12px; font-weight: 650; }

.boundaries { background: var(--white); }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; }
.boundary-card { padding: 34px 36px; border: 1px solid var(--line); border-radius: 14px; }
.boundary-card.owned { background: #f5f9f8; border-color: #d9e9e2; }
.boundary-card.retained { background: #f8f9fa; }
.boundary-label { display: block; margin-bottom: 22px; color: var(--steel); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.owned .boundary-label { color: #398365; }
.boundary-card ul { list-style: none; margin: 0; padding: 0; }
.boundary-card li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 12px 0; color: #3b5262; border-bottom: 1px solid rgba(92,114,130,.12); font-size: 14px; }
.boundary-card li:last-child { border-bottom: 0; }
.owned li span { color: #40926f; font-weight: 800; }
.retained li span { color: var(--copper); font-weight: 800; }

.engagement { padding-top: 0; background: var(--white); }
.engagement-card { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 64px 68px; color: var(--white); background: linear-gradient(130deg, #10273a, var(--ink)); border-radius: 20px; box-shadow: 0 24px 55px rgba(5,20,32,.16); }
.engagement h2 { color: var(--white); font-size: clamp(34px, 3.8vw, 52px); }
.engagement-copy > p { margin: 0; color: #a7b7c4; font-size: 16px; line-height: 1.75; }
.engagement-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 27px 0 30px; border-block: 1px solid rgba(255,255,255,.1); }
.engagement-facts span { padding: 15px 14px 15px 0; color: #8096a7; font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.engagement-facts strong { display: block; margin-bottom: 3px; color: #d2dce3; font-size: 14px; letter-spacing: normal; text-transform: none; }

.faq { background: #f0f4f6; }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading > p:last-child { margin: 23px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.accordion { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 25px; color: var(--ink); cursor: pointer; list-style: none; font-weight: 730; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--copper); font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: -6px 48px 23px 25px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.contact { padding: 110px 0; color: var(--white); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; align-items: start; }
.contact h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #9cafbd; font-size: 17px; line-height: 1.75; }
.contact-detail { margin-top: 35px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); }
.contact-detail span { display: block; margin-bottom: 4px; color: #70899c; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.contact-detail a { color: var(--white); text-decoration-color: var(--copper); text-underline-offset: 5px; font-weight: 700; }
.lead-form { position: relative; padding: 34px; color: var(--text); background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 7px; margin-bottom: 16px; color: #30495a; font-size: 12px; font-weight: 730; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #d5dfe5;
  border-radius: 7px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(201,120,69,.12); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9babb6; font-weight: 430; }
.submit-button { width: 100%; margin-top: 5px; }
.form-note { margin: 12px 0 0; color: #8797a3; text-align: center; font-size: 11px; }
.form-success { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; padding: 40px; text-align: center; background: var(--white); border-radius: 16px; }
.form-success[hidden] { display: none; }
.form-success::before { content: "✓"; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 10px; color: #2d805e; background: #e9f6f0; border-radius: 50%; font-size: 21px; font-weight: 800; }
.form-success strong { color: var(--ink); font-size: 22px; }
.form-success span { color: var(--muted); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { display: grid; gap: 2px; margin-top: 16px; padding: 13px 15px; border-radius: 8px; font-size: 13px; }
.form-message strong { color: var(--ink); }
.form-message span { color: var(--muted); }
.form-message-success { background: #eaf7f1; border: 1px solid #cce9dc; }
.form-message-error { background: #fff0ed; border: 1px solid #f0d0c8; }

.content-page { min-height: 70vh; padding: 150px 0 90px; background: var(--paper); }
.content-page article { max-width: 780px; margin-inline: auto; }
.content-page h1 { margin: 0 0 28px; color: var(--ink); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.content-page p, .content-page li { color: var(--muted); font-size: 17px; }

.site-footer { padding: 28px 0; color: #8ca0af; background: #06101a; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-grid > p { margin: 0; font-size: 11px; }
.footer-grid > p:nth-child(2) { text-align: center; }
.footer-grid > p:last-child { text-align: right; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
.footer-brand .brand-name { font-size: 17px; }

@media (max-width: 1040px) {
  .hero-grid, .coverage-grid, .contact-grid { gap: 48px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 280px; }
  .icon-wrap { margin-bottom: 35px; }
  .engagement-card { gap: 55px; padding: 54px 48px; }
  .engagement-facts { grid-template-columns: 1fr; }
  .engagement-facts span { border-bottom: 1px solid rgba(255,255,255,.08); }
  .engagement-facts span:last-child { border-bottom: 0; }
}

@media (max-width: 840px) {
  body.admin-bar .site-header { top: 46px; }
  .shell { width: min(calc(100% - 34px), var(--shell)); }
  .section { padding: 82px 0; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    color: var(--white);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 28px 24px;
    background: rgba(8,19,31,.98);
    backdrop-filter: blur(18px);
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.button) { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
  .site-nav .button { margin-top: 22px; }
  .hero { min-height: 0; padding: 135px 0 76px; }
  .hero-grid, .split-intro, .coverage-grid, .engagement-card, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 58px; }
  .incident-window { max-width: 620px; width: 100%; margin-inline: auto; transform: none; }
  .assurance-grid { grid-template-columns: 1fr 1fr; }
  .assurance-grid div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.07); }
  .assurance-grid div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.07); border-right: 1px solid rgba(255,255,255,.07); }
  .split-intro { gap: 28px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 42px 0; }
  .process-grid::before { display: none; }
  .coverage-grid { gap: 55px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .engagement-card { gap: 35px; }
  .faq-grid { gap: 42px; }
  .faq-heading { position: static; }
  .contact-grid { gap: 50px; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-wrap { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .incident-head { align-items: flex-start; gap: 12px; }
  .resolved-pill { flex: 0 0 auto; }
  .window-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-grid div { min-height: 66px; border-right: 1px solid rgba(255,255,255,.07); border-top: 1px solid rgba(255,255,255,.07); }
  .assurance-grid div:first-child { border-top: 0; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-grid { gap: 34px; }
  .process-grid li { padding: 0 10px; }
  .process-note { text-align: center; }
  .shift-board { padding: 19px 16px; }
  .shift-board-head { align-items: flex-start; gap: 10px; }
  .shift-board-head strong { font-size: 14px; }
  .shift-row { grid-template-columns: 32px 1fr; gap: 8px; }
  .shift-scale { margin-left: 40px; }
  .bar i { font-size: 8px; }
  .engagement-card { padding: 40px 26px; }
  .boundary-card { padding: 28px 24px; }
  .lead-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .footer-grid > p:nth-child(2), .footer-grid > p:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
