/* M&M Environmental Consulting - "Patriot Industrial" design system (local review build, 15 Nov 2026)
   Navy / flag red / white / brushed steel. Animations use transform + opacity only and switch off for reduced motion. */
:root {
  --navy-950: #050b18; --navy-900: #081430; --navy-800: #0c1d44; --navy-700: #13295c; --navy-500: #1f4593;
  --red-700: #8f0f1d; --red-600: #b3132b; --red-500: #d2213a; --red-400: #ef3b52;
  --char-900: #0f1114; --char-800: #171a1f; --char-700: #22262d; --char-600: #2e333b;
  --steel-100: #f2f4f7; --steel-200: #dde2e8; --steel-300: #b9c2cc; --steel-400: #8d97a3; --steel-500: #66707c;
  --white: #ffffff;
  --display: "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, system-ui, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --metal: linear-gradient(180deg, #ffffff 0%, #e9edf2 38%, #a9b3be 52%, #f4f6f9 64%, #c6ced7 100%);
  --metal-dark: linear-gradient(180deg, #2c323b 0%, #1a1e24 45%, #111418 55%, #22272e 100%);
  --red-metal: linear-gradient(180deg, #ef3b52 0%, #c4182f 45%, #9c0f22 55%, #c81a32 100%);
  --navy-metal: linear-gradient(180deg, #2a4f9e 0%, #163377 45%, #0d2459 55%, #18367a 100%);
  --radius: 6px; --wrap: 1280px; --header-h: 76px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-950); color: var(--steel-100); font: 16px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #7fb2ff; outline-offset: 3px; }

/* --- display type --------------------------------------------------------------------------------------------- */
.display { font-family: var(--display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.eyebrow { font-family: var(--display); font-stretch: 85%; font-weight: 600; text-transform: uppercase; letter-spacing: .28em; font-size: 13px; color: var(--red-400); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: linear-gradient(90deg, var(--red-500), var(--white) 50%, var(--navy-500)); }
.h2 { font-family: var(--display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 58px); line-height: .98; margin: 14px 0 16px; }
.metal-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.55)); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--steel-300); max-width: 62ch; }

/* --- preview ribbon ------------------------------------------------------------------------------------------- */
.preview-ribbon { background: repeating-linear-gradient(-45deg, #1b1f26 0 14px, #20252d 14px 28px); color: var(--steel-300); font-size: 12.5px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #2f3540; }
.preview-ribbon b { color: #ffd36b; letter-spacing: .08em; }

/* --- header ----------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: linear-gradient(180deg, rgba(6,10,20,.96), rgba(8,14,30,.9)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--red-600) 0 33%, var(--white) 33% 36%, var(--navy-500) 36% 100%); opacity: .85; }
.header-in { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { position: relative; align-self: flex-start; display: block; width: 168px; height: 150px; margin-bottom: -80px; padding: 10px 12px 12px; background: linear-gradient(180deg, #ffffff, #eef1f5 70%, #d9dfe6); border-radius: 0 0 10px 10px; box-shadow: 0 14px 34px rgba(0,0,0,.55), inset 0 -3px 0 var(--red-600); transition: transform .35s ease, height .35s ease, width .35s ease; z-index: 3; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.scrolled .brand { width: 92px; height: 82px; margin-bottom: -12px; padding: 6px 7px 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-stretch: 85%; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15.5px; text-decoration: none; color: var(--steel-100); padding: 10px 14px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--red-500); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.call-pill { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--red-metal); color: #fff; padding: 8px 18px 8px 14px; border-radius: 6px 6px 6px 18px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 12px); box-shadow: 0 8px 22px rgba(179,19,43,.45), inset 0 1px 0 rgba(255,255,255,.35); white-space: nowrap; }
.call-pill svg { width: 30px; height: 30px; flex: none; }
.call-pill small { display: block; font-family: var(--display); font-stretch: 85%; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
.call-pill strong { display: block; font-family: var(--display); font-stretch: 80%; font-size: 25px; line-height: 1; letter-spacing: .02em; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); background: var(--char-800); color: #fff; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); }
.hero-media { position: relative; height: min(56.25vw, calc(100vh - var(--header-h) - 30px)); min-height: 520px; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; animation: heroDrift 38s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.08) translateY(-1%); } }
.hero-shine { position: absolute; inset: 0 0 45% 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.16) 45%, transparent 60%); mix-blend-mode: overlay; transform: translateX(-60%); animation: shine 9s ease-in-out infinite; }
@keyframes shine { 0%, 15% { transform: translateX(-70%); } 60%, 100% { transform: translateX(80%); } }
.beacon { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; pointer-events: none; filter: blur(30px); opacity: .0; mix-blend-mode: screen; }
.beacon.red { left: -18vw; top: -12vw; background: radial-gradient(circle, rgba(226,30,55,.55), transparent 60%); animation: beacon 6s ease-in-out infinite; }
.beacon.blue { right: -18vw; top: -10vw; background: radial-gradient(circle, rgba(40,90,220,.6), transparent 60%); animation: beacon 6s ease-in-out 3s infinite; }
@keyframes beacon { 0%, 100% { opacity: .05; transform: scale(.9); } 45% { opacity: .55; transform: scale(1.05); } }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(5,11,24,.72) 55%, var(--navy-950)); pointer-events: none; }
#smoke { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; pointer-events: none; opacity: .75; }
.hero-panel { position: relative; z-index: 2; margin-top: -170px; padding-bottom: 46px; }
.hero-sub { text-align: center; font-family: var(--display); font-stretch: 78%; font-weight: 700; font-style: oblique 8deg; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: .03em; text-transform: uppercase; margin: 0 0 22px; text-shadow: 0 3px 16px rgba(0,0,0,.8); }
.hero-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: .45em; }
.hero-sub b { font-weight: inherit; white-space: nowrap; }
.hero-sub span { color: var(--red-400); -webkit-text-fill-color: var(--red-400); font-size: .6em; }
.ribbon { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.ribbon a { --tilt: 0deg; display: flex; align-items: center; gap: 12px; height: 74px; padding: 0 16px; text-decoration: none; background: var(--metal-dark); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--red-600); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: transform .25s ease, background .25s ease, border-color .25s; }
.ribbon a:hover, .ribbon a:focus-visible { transform: translateY(-4px); background: linear-gradient(180deg, #33404f, #1b2430); border-left-color: var(--white); }
.ribbon svg { width: 46px; height: 40px; flex: none; color: var(--steel-100); }
.ribbon b { font-family: var(--display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; font-style: oblique 6deg; font-size: 16.5px; line-height: 1.05; }
.cta-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.btn { --b: var(--red-metal); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 30px; border: 0; cursor: pointer; text-decoration: none; color: #fff; background: var(--b); font-family: var(--display); font-stretch: 80%; font-weight: 700; font-style: oblique 6deg; text-transform: uppercase; letter-spacing: .04em; font-size: 23px; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.35); overflow: hidden; transition: transform .2s ease, box-shadow .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 28px; height: 28px; flex: none; }
.btn.big { min-height: 72px; padding: 0 40px; font-size: 28px; min-width: min(460px, 100%); }
.btn.dark { --b: var(--metal-dark); border: 1px solid rgba(255,255,255,.25); }
.btn.navy { --b: var(--navy-metal); }
.btn.ghost { --b: transparent; border: 2px solid rgba(255,255,255,.5); box-shadow: none; }
.btn.small { min-height: 46px; font-size: 18px; padding: 0 20px; }
.siren { color: #ff4d5f; filter: drop-shadow(0 0 6px rgba(255,60,80,.9)); animation: siren 1.4s ease-in-out infinite; }
@keyframes siren { 50% { opacity: .45; } }
.chev { font-size: 1.1em; letter-spacing: -.15em; }

/* --- emergency band ---------------------------------------------------------------------------------------------- */
.alert-band { position: relative; background: linear-gradient(90deg, var(--red-700), var(--red-600) 40%, var(--navy-800) 60%, var(--navy-900)); overflow: hidden; }
.alert-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0,0,0,.1) 0 18px, transparent 18px 36px); }
.alert-in { position: relative; display: flex; align-items: center; gap: 22px; padding: 20px 0; flex-wrap: wrap; }
.alert-in p { margin: 0; flex: 1 1 380px; }
.alert-in strong { font-family: var(--display); font-stretch: 80%; font-size: 26px; text-transform: uppercase; display: block; line-height: 1.1; }
.alert-in .note { font-size: 14px; color: #ffe1e5; }

/* --- sections ------------------------------------------------------------------------------------------------- */
section.block { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.block.steel { background: radial-gradient(1200px 500px at 80% 0%, rgba(31,69,147,.25), transparent 60%), linear-gradient(180deg, var(--char-900), var(--char-800)); }
.block.navy { background: radial-gradient(900px 500px at 10% 10%, rgba(179,19,43,.18), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.block.light { background: linear-gradient(180deg, #f3f5f8, #e3e8ee); color: var(--char-900); }
.block.light .lede { color: #4a5563; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head > div { max-width: 760px; }
.stars-rule { height: 22px; margin: 0 0 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath fill='%23b3132b' d='M22 3l2.6 5.6 6.1.6-4.6 4.1 1.3 6-5.4-3.1-5.4 3.1 1.3-6-4.6-4.1 6.1-.6z'/%3E%3C/svg%3E") center/44px 22px repeat-x; opacity: .5; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { position: relative; text-align: left; cursor: pointer; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 26px 22px 24px; background: linear-gradient(160deg, #262c35, #14181d 60%); color: inherit; transform-style: preserve-3d; transition: transform .25s ease, border-color .25s, box-shadow .25s; box-shadow: var(--shadow); overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red-600) 0 40%, #fff 40% 46%, var(--navy-500) 46%); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.12), transparent 45%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.svc-card:hover::after, .svc-card[aria-expanded="true"]::after { opacity: 1; }
.svc-card:hover, .svc-card[aria-expanded="true"] { border-color: rgba(239,59,82,.65); }
.svc-card[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--red-500), var(--shadow); }
.svc-icon { width: 74px; height: 64px; color: var(--steel-100); margin-bottom: 16px; }
.svc-card h3 { font-family: var(--display); font-stretch: 80%; font-size: 27px; text-transform: uppercase; margin: 0 0 8px; line-height: 1; }
.svc-card p { margin: 0 0 14px; color: var(--steel-300); font-size: 15px; }
.svc-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.svc-card li { display: flex; gap: 8px; align-items: baseline; }
.svc-card li::before { content: "\2605"; color: var(--red-400); font-size: 11px; }
.svc-more { margin-top: 18px; display: inline-flex; gap: 8px; font-family: var(--display); font-stretch: 85%; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: #fff; }
.svc-detail { margin-top: 26px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, #1b2027, #111419); overflow: hidden; display: grid; grid-template-columns: 330px 1fr; min-height: 380px; box-shadow: var(--shadow); }
.svc-detail[hidden] { display: none; }
.svc-tabs { background: rgba(0,0,0,.25); padding: 16px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,.08); }
.svc-tabs button { text-align: left; padding: 12px 14px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--steel-200); cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.svc-tabs button:hover { background: rgba(255,255,255,.05); }
.svc-tabs button[aria-selected="true"] { background: linear-gradient(90deg, rgba(179,19,43,.35), rgba(19,41,92,.35)); border-color: rgba(255,255,255,.15); color: #fff; }
.svc-pane { padding: 30px 34px; }
.svc-pane h4 { font-family: var(--display); font-stretch: 80%; font-size: 34px; text-transform: uppercase; margin: 0 0 10px; line-height: 1; }
.svc-pane .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 18px; }
.svc-pane h5 { margin: 0 0 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-400); }
.svc-pane ul { margin: 0; padding-left: 18px; color: var(--steel-200); }
.svc-pane .pane-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.confirm-chip { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3b2a00; background: #ffd36b; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.preview-note { margin-top: 18px; padding: 12px 14px; border-left: 3px solid #ffd36b; background: rgba(255,211,107,.08); color: #ffe6a6; font-size: 14px; border-radius: 0 6px 6px 0; }
.block.light .preview-note { color: #6b4c00; background: #fff4d6; }

/* equipment / job planner */
.planner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: stretch; }
.job-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.job-pick { text-align: left; padding: 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: inherit; cursor: pointer; display: flex; gap: 12px; align-items: center; transition: background .2s, border-color .2s, transform .2s; }
.job-pick svg { width: 44px; height: 38px; flex: none; color: var(--steel-200); }
.job-pick b { display: block; font-family: var(--display); font-stretch: 85%; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.job-pick small { color: var(--steel-400); font-size: 13px; }
.job-pick:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.job-pick[aria-pressed="true"] { background: linear-gradient(135deg, rgba(179,19,43,.3), rgba(19,41,92,.45)); border-color: var(--red-400); }
.job-out { border-radius: 12px; padding: 28px; background: linear-gradient(160deg, #10203f, #0a1226); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.job-out::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(239,59,82,.25), transparent 65%); }
.job-out h3 { font-family: var(--display); font-stretch: 80%; font-size: 30px; text-transform: uppercase; margin: 0 0 6px; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; opacity: 0; transform: translateX(10px); animation: stepIn .45s ease forwards; }
.steps li::before { content: counter(s); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red-metal); font-weight: 800; font-family: var(--display); }
@keyframes stepIn { to { opacity: 1; transform: none; } }
.kit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.kit span { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { position: relative; min-height: 270px; border-radius: 12px; overflow: hidden; display: flex; align-items: end; padding: 22px; isolation: isolate; box-shadow: var(--shadow); background: var(--char-700); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,11,24,.92)); }
.ind:hover img { transform: scale(1.06); }
.ind.icon { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.ind.icon svg { position: absolute; right: 18px; top: 18px; width: 92px; height: 80px; color: rgba(255,255,255,.22); }
.ind h3 { font-family: var(--display); font-stretch: 80%; font-size: 26px; text-transform: uppercase; margin: 0 0 4px; line-height: 1; }
.ind p { margin: 0; font-size: 14.5px; color: var(--steel-200); }

/* safety */
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-card { background: #fff; border-radius: 12px; padding: 26px; border: 1px solid #d5dbe3; box-shadow: 0 10px 30px rgba(10,20,40,.08); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,20,40,.16); }
.s-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--red-600), var(--navy-700)); }
.s-card svg { width: 46px; height: 46px; color: var(--navy-700); margin-bottom: 12px; }
.s-card h3 { font-family: var(--display); font-stretch: 82%; font-size: 23px; text-transform: uppercase; margin: 0 0 6px; color: var(--navy-900); }
.s-card p { margin: 0; color: #46505c; font-size: 15px; }
.process { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; list-style: none; padding: 0; }
.process::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 4px; background: #c9d1db; }
.process::after { content: ""; position: absolute; left: 10%; top: 27px; height: 4px; width: 80%; background: linear-gradient(90deg, var(--red-600), var(--navy-700)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.6s ease; }
.process.in { --p: 1; }
.process li { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.process .dot { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 4px solid var(--navy-700); color: var(--navy-900); font-family: var(--display); font-weight: 800; font-size: 22px; }
.process b { display: block; font-family: var(--display); font-stretch: 85%; text-transform: uppercase; font-size: 18px; color: var(--navy-900); }
.process span { font-size: 14px; color: #4f5a67; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-card { position: relative; border-radius: 14px; overflow: hidden; background: #fff; padding: 34px; box-shadow: var(--shadow); }
.about-card img { width: 100%; max-width: 420px; margin: auto; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.facts svg { width: 26px; height: 26px; color: var(--red-400); }
.facts a { color: #fff; }

/* quote */
.quote-shell { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); background: #10151b; }
.q-steps { background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); padding: 28px 22px; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.q-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 8px; color: var(--steel-400); font-weight: 600; }
.q-steps li i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 2px solid currentColor; font-size: 14px; flex: none; }
.q-steps li.on { color: #fff; background: rgba(255,255,255,.07); }
.q-steps li.on i { background: var(--red-600); border-color: var(--red-600); }
.q-steps li.done { color: var(--steel-200); }
.q-steps li.done i { background: var(--navy-500); border-color: var(--navy-500); }
.q-body { padding: 30px 34px 34px; min-width: 0; }
.demo-flag { display: block; font-size: 13.5px; background: rgba(255,211,107,.1); border: 1px solid rgba(255,211,107,.35); color: #ffe6a6; padding: 10px 12px; border-radius: 8px; margin-bottom: 22px; }
.q-step[hidden] { display: none; }
.q-step h3 { font-family: var(--display); font-stretch: 80%; font-size: 30px; text-transform: uppercase; margin: 0 0 4px; }
.q-step > p { margin: 0 0 18px; color: var(--steel-400); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03); cursor: pointer; transition: background .2s, border-color .2s; font-size: 15px; }
.chip input:checked + span { background: linear-gradient(135deg, rgba(179,19,43,.45), rgba(19,41,92,.6)); border-color: var(--red-400); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #7fb2ff; outline-offset: 2px; }
.chip-group { margin-bottom: 18px; }
.chip-group h4 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-400); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--steel-200); }
label.f em { font-style: normal; color: var(--red-400); }
.f input, .f select, .f textarea { width: 100%; padding: 12px 13px; border-radius: 8px; border: 1px solid #39414c; background: #0b0f14; color: #fff; min-height: 48px; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: #7fb2ff; outline: none; box-shadow: 0 0 0 3px rgba(127,178,255,.25); }
.f .hint { font-weight: 400; color: var(--steel-500); font-size: 12.5px; }
.err { color: #ff8a98; font-size: 14px; min-height: 20px; margin-top: 10px; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.drop { border: 2px dashed #3d4652; border-radius: 10px; padding: 18px; text-align: center; color: var(--steel-400); cursor: pointer; transition: border-color .2s, background .2s; }
.drop.over { border-color: var(--red-400); background: rgba(239,59,82,.06); }
.files { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; display: grid; gap: 6px; }
.files li { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.04); padding: 6px 10px; border-radius: 6px; }
.files button { background: none; border: 0; color: var(--red-400); cursor: pointer; }
.review { display: grid; gap: 10px; }
.review div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.review dt { color: var(--steel-400); font-size: 14px; }
.review dd { margin: 0; }
.confirm { text-align: center; padding: 20px 0; }
.confirm .ok { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-metal); box-shadow: 0 0 0 6px rgba(31,69,147,.3); animation: pop .5s ease; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.confirm .ref { font-family: var(--display); font-size: 28px; letter-spacing: .08em; color: #fff; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; }
.c-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 20px; border-radius: 12px; background: linear-gradient(160deg, #222831, #14181d); border: 1px solid rgba(255,255,255,.1); transition: transform .2s, border-color .2s; }
.c-card:hover { transform: translateY(-2px); border-color: var(--red-400); }
.c-card svg { width: 44px; height: 44px; flex: none; padding: 9px; border-radius: 10px; background: var(--red-metal); color: #fff; }
.c-card.navy svg { background: var(--navy-metal); }
.c-card small { display: block; color: var(--steel-400); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.c-card strong { font-size: 19px; word-break: break-word; }
.c-form { padding: 28px; border-radius: 14px; background: #10151b; border: 1px solid rgba(255,255,255,.12); }

/* footer */
.site-footer { background: #04080f; border-top: 3px solid var(--red-600); padding: 54px 0 30px; color: var(--steel-400); font-size: 14.5px; }
.f-grid { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; gap: 34px; }
.f-logo { background: #fff; border-radius: 10px; padding: 12px; width: 200px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer a { text-decoration: none; color: var(--steel-300); }
.site-footer a:hover { color: #fff; }
.f-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1a212c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* mobile call bar */
.call-bar { display: none; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: #0f1720; border: 1px solid #ffd36b; color: #ffe6a6; padding: 12px 18px; border-radius: 10px; z-index: 300; visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; max-width: calc(100% - 30px); font-size: 14.5px; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s ease; }

/* --- responsive --------------------------------------------------------------------------------------------- */
@media (min-aspect-ratio: 16/9) and (min-width: 721px) { .hero-media img { object-position: 50% 42%; } .hero-panel { margin-top: -105px; } .hero-fade { height: 30%; } }
@media (min-width: 2000px) { :root { --wrap: 1480px; } body { font-size: 17px; } }
@media (max-width: 1240px) {
  .ribbon { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .call-pill strong { font-size: 21px; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; background: rgba(6,10,20,.98); border-bottom: 3px solid var(--red-600); transform: translateY(-110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 19px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a::after { display: none; }
  .header-in > .call-pill { display: none; }
  .brand { width: 120px; height: 106px; margin-bottom: -48px; }
  .scrolled .brand { width: 74px; height: 64px; margin-bottom: -6px; }
  .planner, .about, .contact, .quote-shell, .svc-detail { grid-template-columns: 1fr; }
  .q-steps { flex-direction: row; overflow-x: auto; padding: 14px; }
  .q-steps li span { display: none; }
  .svc-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .svc-tabs button { white-space: nowrap; }
  .ind-grid, .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 18px; }
  .process::before, .process::after { left: 28px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .process::after { height: 100%; transform: scaleY(var(--p, 0)); transform-origin: top; }
  .process li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; text-align: left; align-items: center; }
  .process .dot { margin: 0; }
}
@media (max-width: 720px) {
  .hero-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: 50% 32%; }
  .hero-panel { margin-top: -40px; }
  .ribbon { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ribbon a { height: 64px; padding: 0 10px; gap: 8px; }
  .ribbon svg { width: 34px; height: 30px; }
  .ribbon b { font-size: 14.5px; }
  .btn.big { min-height: 62px; font-size: 20px; width: 100%; padding: 0 14px; gap: 10px; white-space: nowrap; }
  .svc-grid, .ind-grid, .safety-grid, .job-picks, .fgrid { grid-template-columns: 1fr; }
  .svc-pane { padding: 22px 18px; }
  .svc-pane .cols { grid-template-columns: 1fr; }
  .q-body { padding: 22px 16px 26px; }
  .review div { grid-template-columns: 1fr; gap: 2px; }
  .f-grid { grid-template-columns: 1fr; }
  .preview-ribbon { font-size: 11.5px; }
  .rb-long { display: none; }
  .hero-sub { font-size: 21px; row-gap: 2px; }
  body { padding-bottom: 64px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; box-shadow: 0 -8px 24px rgba(0,0,0,.5); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; text-decoration: none; font-family: var(--display); font-stretch: 85%; font-weight: 700; text-transform: uppercase; font-size: 18px; color: #fff; }
  .call-bar a:first-child { background: var(--red-metal); }
  .call-bar a:last-child { background: var(--navy-metal); }
  .call-bar svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  #smoke, .hero-shine, .beacon { display: none; }
}

/* scroll-reveal start offsets must never cause sideways scrolling on phones (20 Nov 2026) */
main { overflow-x: clip; }
