/* Precision Workx — site styles
   Layout: full-bleed job-site photography over a strict 12-column grid; mono "drawing" labels,
   hairline title-block cells in the footer, rectangular controls. One accent (logo blue). */
:root {
  --paper: #F3F5F7;
  --surface: #FFFFFF;
  --ink: #0F1720;
  --ink-2: #46525F;
  --line: #D8DEE5;
  --steel: #101820;
  --steel-2: #18222D;
  --on-steel: #E9EEF3;
  --on-steel-2: #9AA8B6;
  --blue: #2E6FB8;
  --blue-ink: #225C9E;
  --signal: #E9B620;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 4.75rem);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1117; --surface: #111A23; --ink: #E6EBF0; --ink-2: #9BA8B5; --line: #223040;
    --steel: #070C11; --steel-2: #0F1820; --on-steel: #E9EEF3; --on-steel-2: #93A2B1;
    --blue: #4A8AD4; --blue-ink: #8AB6E8; --signal: #E9B620;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1117; --surface: #111A23; --ink: #E6EBF0; --ink-2: #9BA8B5; --line: #223040;
  --steel: #070C11; --steel-2: #0F1820; --on-steel: #E9EEF3; --on-steel-2: #93A2B1;
  --blue: #4A8AD4; --blue-ink: #8AB6E8; --signal: #E9B620;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; font-weight: 650; line-height: 1.06; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- labels ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .label, .label.light { color: var(--on-steel-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  font: 600 .9375rem/1 var(--body); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
:root[data-theme="dark"] .btn-primary:hover { background: #3A78C0; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-ghost { color: var(--on-steel); }
.on-dark .btn-ghost:hover { background: var(--on-steel); color: var(--steel); }
.textlink { font-weight: 600; text-decoration: none; color: var(--blue-ink); display: inline-flex; gap: 8px; align-items: center; }
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */
.utility { background: var(--steel); color: var(--on-steel-2); font: 400 .8125rem/1 var(--body); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: var(--on-steel); text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .u-right { display: flex; gap: 22px; }
@media (max-width: 960px) { .utility .u-left { display: none; } .utility .wrap { justify-content: center; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 42px; width: auto; }
.brand .mk-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .mk-dark { display: none; } :root:not([data-theme="light"]) .brand .mk-light { display: block; } }
:root[data-theme="dark"] .brand .mk-dark { display: none; }
:root[data-theme="dark"] .brand .mk-light { display: block; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 700 1.125rem/1 var(--display); font-stretch: 118%; letter-spacing: .04em; text-transform: uppercase; }
.brand-word small { font: 500 .625rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 500 .9375rem/1 var(--body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 2px; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .dd > button:hover { color: var(--blue-ink); }
.nav a[aria-current="page"], .nav .dd.current > button { color: var(--blue-ink); box-shadow: inset 0 -2px 0 var(--blue); }
.nav .dd { position: relative; }
.nav .dd svg { width: 10px; height: 10px; transition: transform .2s; }
.nav .dd[data-open] svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 560px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(10, 20, 30, .35); display: grid; grid-template-columns: 1fr 1fr; padding: 10px;
}
.dd-panel[hidden] { display: none; }
.dd-panel a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 12px; text-decoration: none; color: var(--ink); border-radius: 2px; }
.dd-panel a:hover { background: var(--paper); }
.dd-panel a .num { grid-row: span 2; font-size: .75rem; color: var(--blue-ink); padding-top: 3px; }
.dd-panel a b { font-weight: 600; font-size: .9375rem; }
.dd-panel a span { font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
.dd-panel .dd-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 14px 12px 6px; display: flex; justify-content: space-between; font-weight: 600; color: var(--blue-ink); }
.nav .btn { margin-left: 12px; min-height: 44px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); width: 46px; height: 46px; border-radius: 2px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { font-size: 1.125rem; padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav a[aria-current="page"], .nav .dd.current > button { box-shadow: none; }
  .dd-panel { position: static; width: auto; box-shadow: none; border: 0; grid-template-columns: 1fr; padding: 0 0 8px; }
  .nav .btn { margin: 24px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: var(--on-steel); background: var(--steel); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,13,19,.88) 0%, rgba(8,13,19,.66) 42%, rgba(8,13,19,.12) 78%), linear-gradient(0deg, rgba(8,13,19,.75), rgba(8,13,19,0) 40%); }
.hero .wrap { padding-block: clamp(96px, 14vw, 180px) clamp(56px, 7vw, 88px); }
.hero h1 { font-size: var(--step-4); font-weight: 700; max-width: 13ch; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #9CC4F0; }
.hero .lede { margin-top: 26px; max-width: 54ch; font-size: var(--step-1); line-height: 1.5; color: #CAD4DE; }
.hero .cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .label { color: #B9C6D3; margin-bottom: 24px; }
.hero-facts { border-top: 1px solid rgba(255,255,255,.18); margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts > div { padding: 22px 24px 0 0; display: grid; gap: 6px; }
.hero-facts b { font: 600 1.75rem/1 var(--display); font-stretch: 112%; color: #fff; }
.hero-facts span { font-size: .875rem; color: #AEBBC8; line-height: 1.45; }
@media (max-width: 760px) { .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 22px; } .hero::after { background: linear-gradient(0deg, rgba(8,13,19,.92), rgba(8,13,19,.55)); } }

/* page hero (interior) */
.page-hero { position: relative; background: var(--steel); color: var(--on-steel); isolation: isolate; overflow: hidden; }
.page-hero .hero-img img { opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,13,19,.9) 10%, rgba(8,13,19,.35) 80%); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; font-weight: 700; }
.page-hero p.intro { margin-top: 22px; max-width: 58ch; font-size: var(--step-1); line-height: 1.5; color: #C7D1DB; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 .8125rem/1 var(--mono); color: #9FB0C0; margin-bottom: 36px; }
.crumbs a { color: #D5DEE7; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--steel); color: var(--on-steel); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.sec-head > div:first-child { grid-column: 1 / span 7; display: grid; gap: 18px; }
.sec-head > p { grid-column: 8 / -1; color: var(--ink-2); max-width: 46ch; }
.section.dark .sec-head > p { color: var(--on-steel-2); }
.sec-head h2 { font-size: var(--step-3); }
@media (max-width: 860px) { .sec-head > div:first-child, .sec-head > p { grid-column: 1 / -1; } }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.split > .s-left { grid-column: 1 / span 5; }
.split > .s-right { grid-column: 7 / -1; }
@media (max-width: 860px) { .split > .s-left, .split > .s-right { grid-column: 1 / -1; } }
.statement { font: 600 var(--step-2)/1.22 var(--display); font-stretch: 108%; letter-spacing: -.01em; text-wrap: balance; }
.prose { display: grid; gap: 18px; color: var(--ink-2); max-width: 62ch; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- service index ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 180px 28px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; transition: background .2s, opacity .25s;
}
.svc-row .num { font-size: .8125rem; color: var(--ink-2); }
.svc-row h3 { font-size: var(--step-1); font-stretch: 108%; }
.svc-row p { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.svc-row .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); max-width: 100%; }
.svc-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-row .arrow { width: 22px; height: 22px; color: var(--blue-ink); transition: transform .2s; }
.svc-row:hover h3 { color: var(--blue-ink); }
.svc-row:hover .thumb img { transform: scale(1.05); }
.svc-row:hover .arrow { transform: translateX(4px); }
.svc-row .tag-new { font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); border: 1px solid currentColor; padding: 4px 6px; margin-left: 10px; vertical-align: 3px; white-space: nowrap; }
.svc-list.filtering .svc-row:not(.match) { opacity: .32; }
.svc-list.filtering .svc-row.match .num { color: var(--blue-ink); }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 8px 16px; }
  .svc-row p { grid-column: 2 / 3; }
  .svc-row .thumb { grid-column: 3; grid-row: 1 / span 2; }
  .svc-row .arrow { display: none; }
}

.finder { display: grid; grid-template-columns: auto 1fr; gap: 16px 28px; align-items: center; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.finder > b { font: 600 .9375rem/1.2 var(--body); }
.finder .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .875rem/1 var(--body); padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 2px; cursor: pointer; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.finder output { grid-column: 1 / -1; font-size: .875rem; color: var(--ink-2); min-height: 1.4em; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr; } }

/* ---------- feature band ---------- */
.band { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--steel); color: var(--on-steel); }
.band .b-img { min-height: 440px; position: relative; }
.band .b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .b-body { padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); display: grid; gap: 22px; align-content: center; }
.band h2 { font-size: var(--step-3); }
.band p { color: var(--on-steel-2); max-width: 48ch; }
.band ul { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.band li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; }
.band li span { font-family: var(--mono); font-size: .75rem; color: var(--on-steel-2); }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } .band .b-img { min-height: 280px; } }

/* ---------- phases ---------- */
.phases { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: ph; border-top: 2px solid var(--ink); }
.phases li { padding: 22px 22px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.phases li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); }
.section.alt .phases li::before { background: var(--surface); }
.phases .num { font-size: .75rem; color: var(--blue-ink); letter-spacing: .08em; }
.phases h3 { font-size: var(--step-1); }
.phases p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 900px) {
  .phases { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); margin-left: 6px; }
  .phases li { padding: 0 0 28px 26px; }
  .phases li::before { top: 2px; left: -7px; }
}

/* ---------- project grid ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.proj { grid-column: span 4; display: grid; gap: 12px; align-content: start; }
.proj.w6 { grid-column: span 6; }
.proj.w8 { grid-column: span 8; }
.proj button, .proj .ph { display: block; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; width: 100%; aspect-ratio: 3 / 2; max-width: 100%; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.proj button:hover img { transform: scale(1.04); }
.proj .meta { font: 400 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.proj h3 { font-size: 1.125rem; font-stretch: 104%; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.proj[hidden] { display: none; }
@media (max-width: 900px) { .proj, .proj.w6, .proj.w8 { grid-column: span 6; } }
@media (max-width: 560px) { .proj, .proj.w6, .proj.w8 { grid-column: 1 / -1; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* ---------- lists / cards ---------- */
.ticklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticklist li { padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ticklist li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 14px; height: 2px; background: var(--blue); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: st; border-top: 1px solid var(--line); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 52px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font: 500 .8125rem/1.9 var(--mono); color: var(--blue-ink); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-3 > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.grid-3 h3 { font-size: var(--step-1); }
.grid-3 p { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { border-bottom: 1px solid var(--line); padding: 26px 28px 26px 0; display: grid; gap: 10px; align-content: start; }
.value:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.value .num { font-size: .75rem; color: var(--blue-ink); }
.value h3 { font-size: 1.25rem; font-stretch: 108%; }
.value p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .value { padding-right: 0; } }

details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.125rem/1.35 var(--body); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; display: grid; gap: 14px; }
details.qa .ans b { color: var(--ink); font-weight: 600; }
.qa-list { border-top: 1px solid var(--line); }

/* systems strip */
.systems { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.systems span { flex: 1 1 180px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; font-size: .9375rem; background: var(--surface); }

/* ---------- service detail ---------- */
.svc-detail { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc-detail .col-a { grid-column: 1 / span 6; display: grid; gap: 22px; align-content: start; }
.svc-detail .col-b { grid-column: 8 / -1; display: grid; gap: 22px; align-content: start; }
.svc-detail h2 { font-size: var(--step-2); }
@media (max-width: 860px) { .svc-detail .col-a, .svc-detail .col-b { grid-column: 1 / -1; } }
.svc-num { position: absolute; right: var(--gutter); bottom: -0.18em; font: 700 clamp(9rem, 22vw, 20rem)/1 var(--display); font-stretch: 125%; color: rgba(255,255,255,.06); pointer-events: none; z-index: -1; letter-spacing: -.04em; }
.figure { margin: 0; display: grid; gap: 10px; }
.figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; max-width: 100%; }
.figure figcaption { font: 400 .75rem/1.4 var(--mono); color: var(--ink-2); letter-spacing: .04em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 28px 0; text-decoration: none; color: var(--ink); display: grid; gap: 8px; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.pager small { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pager b { font: 600 var(--step-1)/1.2 var(--display); font-stretch: 108%; }
.pager a:hover b { color: var(--blue-ink); }

/* ---------- CTA ---------- */
.cta { background: var(--blue); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { font-size: var(--step-3); max-width: 18ch; }
.cta p { color: rgba(255,255,255,.85); margin-top: 16px; max-width: 48ch; }
.cta .cta-side { display: grid; gap: 14px; justify-items: start; }
.cta .btn-white { background: #fff; color: #133E6E; }
.cta .btn-white:hover { background: #E6EEF7; }
.cta .cta-contact { font-size: .9375rem; color: rgba(255,255,255,.9); }
.cta .cta-contact a { color: #fff; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--steel); color: var(--on-steel-2); font-size: .9375rem; }
.site-footer a { color: var(--on-steel); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 72px 48px; }
.f-top h4 { font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-steel-2); margin-bottom: 18px; }
.f-top ul { list-style: none; display: grid; gap: 10px; }
.f-brand { display: grid; gap: 18px; align-content: start; }
.f-brand .brand { color: var(--on-steel); }
.f-brand .brand-word small { color: var(--on-steel-2); }
.f-brand p { max-width: 34ch; line-height: 1.55; }
.titleblock { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.16); }
.titleblock > div { padding: 14px 16px; border-right: 1px solid rgba(255,255,255,.16); display: grid; gap: 6px; min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock small { font: 500 .625rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #7D8C9B; }
.titleblock span { color: var(--on-steel); font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 32px; font-size: .8125rem; color: #7D8C9B; }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } .titleblock { grid-template-columns: 1fr 1fr; } .titleblock > div:nth-child(2) { border-right: 0; } .titleblock > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); } }

/* ---------- forms (RFQ) ---------- */
.rfq { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.rfq-steps { list-style: none; display: grid; gap: 0; position: sticky; top: calc(var(--header-h) + 24px); border-left: 1px solid var(--line); }
.rfq-steps li { padding: 12px 0 12px 20px; color: var(--ink-2); font-weight: 500; position: relative; display: flex; gap: 12px; }
.rfq-steps li .num { font-size: .8125rem; }
.rfq-steps li[aria-current="step"] { color: var(--ink); }
.rfq-steps li[aria-current="step"]::before { content: ""; position: absolute; left: -2px; top: 8px; bottom: 8px; width: 3px; background: var(--blue); }
.rfq-steps li.done { color: var(--ink); }
.rfq-steps li.done .num { color: var(--blue-ink); }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); display: grid; gap: 26px; min-width: 0; }
.form-card h2 { font-size: var(--step-2); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } .rfq { grid-template-columns: 1fr; } .rfq-steps { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); } .rfq-steps li { padding: 12px 16px 12px 0; white-space: nowrap; } .rfq-steps li[aria-current="step"]::before { left: 0; right: 16px; top: auto; bottom: -1px; width: auto; height: 3px; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: .875rem; font-weight: 600; }
.field > span i { font-style: normal; color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 14px; width: 100%; min-width: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #C2412D; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 500; border-radius: 2px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.check:has(input:checked) { border-color: var(--blue); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.form-msg { color: #B5402C; font-size: .9375rem; min-height: 1.3em; }
.summary { font: 400 .875rem/1.6 var(--mono); background: var(--paper); border: 1px solid var(--line); padding: 18px; white-space: pre-wrap; overflow-x: auto; max-height: 420px; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-cards > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-cards small { font: 500 .6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.copyrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy { font: 500 .75rem/1 var(--mono); letter-spacing: .06em; padding: 6px 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 2px; }
.copy:hover { color: var(--ink); border-color: var(--ink-2); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,13,.94); display: grid; place-items: center; padding: 56px 16px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1400px, 100%); display: grid; gap: 14px; }
.lb img { max-height: 78vh; width: auto; margin: auto; }
.lb figcaption { color: #C9D3DD; font: 400 .875rem/1.4 var(--mono); text-align: center; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 46px; height: 46px; cursor: pointer; font-size: 1.4rem; border-radius: 2px; }
.lb .lb-x { top: 16px; right: 16px; }
.lb .lb-prev { left: 16px; top: 50%; }
.lb .lb-next { right: 16px; top: 50%; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: .9375rem; opacity: 0; transition: .25s; z-index: 95; pointer-events: none; border-radius: 2px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.muted { color: var(--ink-2); }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.stack { display: grid; gap: 18px; align-content: start; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* fixes */
.textlink svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.textlink:hover svg { transform: translateX(3px); }
.nav > a.btn-primary { background: var(--blue); color: #fff; padding: 0 20px; margin-left: 12px; }
.nav > a.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.site-footer .brand .mk-dark { display: none !important; }
.site-footer .brand .mk-light { display: block !important; }
[hidden] { display: none !important; }
.rfq-pane { display: grid; gap: 22px; }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.more-row[hidden] { display: none; }

/* ---------- small dropdowns ---------- */
.dd-panel.dd-sm { width: 340px; grid-template-columns: 1fr; }
.dd-panel.dd-sm a { grid-template-columns: 1fr; }
@media (max-width: 1080px) { .dd-panel.dd-sm { width: auto; } }
.creds-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; color: var(--blue-ink); font-weight: 600; text-decoration: none; letter-spacing: normal; text-transform: none; }
.creds-link svg { width: 14px; height: 14px; }
.creds-link:hover { text-decoration: underline; }

/* ---------- safety: certification groups ---------- */
.cert-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.cert-group { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.cg-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.cg-head .num { font: 500 .75rem/1 var(--mono); color: var(--blue-ink); }
.cg-head h3 { font-size: var(--step-1); }
.cert-list { list-style: none; display: grid; }
.cert-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cert-list li:last-child { border-bottom: 0; }
.cert-list b { font-weight: 600; font-size: 1rem; }
.cert-list .std { font: 400 .75rem/1.4 var(--mono); letter-spacing: .04em; color: var(--blue-ink); text-align: right; align-self: center; }
.cert-list .who { grid-column: 1 / -1; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 860px) { .cert-groups { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cert-list li { grid-template-columns: 1fr; } .cert-list .std { text-align: left; } }
.grid-3 .ticklist { margin-top: 4px; }
.grid-3 .ticklist li { padding: 11px 0 11px 28px; font-size: .9375rem; }

/* ---------- contact paths ---------- */
.contact-paths { display: grid; gap: 14px; }
.cp { position: relative; display: grid; gap: 6px; padding: 24px 56px 24px 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.cp:hover { border-color: var(--blue); background: var(--paper); }
.cp b { font-size: 1.25rem; font-weight: 600; }
.cp > span:not(.label) { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.cp i { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--blue-ink); display: flex; }
.cp i svg { width: 18px; height: 18px; }
.contact-cards a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-cards a:hover { color: var(--blue-ink); }
