/* NED Conveyor Design — site styles
   Palette: white, conveyor-belt blue, brushed stainless, deep navy. */
:root {
  --white: #FFFFFF;
  --mist: #F3F5F8;
  --steel-50: #ECEFF2;
  --steel-100: #DCE1E6;
  --steel-200: #C7CED5;
  --steel-300: #A9B2BB;
  --steel-500: #7B8691;
  --steel-700: #4B5662;
  --blue: #1D4FB8;
  --blue-600: #163F96;
  --blue-300: #7FA8F2;
  --blue-50: #EAF0FB;
  --navy: #0C1A2E;
  --navy-700: #13253E;
  --ink: #131D29;
  --text: #3C4855;
  --muted: #677380;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --label: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(12, 26, 46, .35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }  /* hidden always wins over a component's display (e.g. the photo viewer) */
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--blue-300); }
.h1 { font-size: clamp(44px, 6.2vw, 80px); line-height: .96; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; max-width: 60ch; }
.prose p + p { margin-top: 16px; }
.prose { max-width: 68ch; }
.accent { color: var(--blue); }
.on-dark { color: #C9D2DC; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .accent { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 17px 28px 16px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn .icon { width: 16px; height: 16px; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-600); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.65); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: var(--steel-200); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--navy); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.link-arrow .icon { width: 14px; height: 14px; transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Brushed stainless plate ---------- */
.steel {
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 22%, rgba(255,255,255,.62) 40%, rgba(255,255,255,0) 58%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 1px, rgba(90,104,118,.045) 1px 2px, rgba(255,255,255,0) 2px 4px),
    linear-gradient(180deg, #F1F3F6 0%, #D3D9DF 100%);
  background-size: 220% 100%, auto, auto;
  background-position: 100% 0, 0 0, 0 0;
  border: 1px solid var(--steel-200);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(12,26,46,.06);
}
.plate { position: relative; border-radius: var(--radius); overflow: hidden; transition: background-position .9s ease; }
/* corner fasteners */
.plate::before { content: ""; position: absolute; inset: 9px; pointer-events: none;
  background:
    radial-gradient(circle at 3px 3px, #AEB7C0 0 2px, rgba(255,255,255,.9) 2.5px, transparent 3.5px) top left / 7px 7px no-repeat,
    radial-gradient(circle at 3px 3px, #AEB7C0 0 2px, rgba(255,255,255,.9) 2.5px, transparent 3.5px) top right / 7px 7px no-repeat,
    radial-gradient(circle at 3px 3px, #AEB7C0 0 2px, rgba(255,255,255,.9) 2.5px, transparent 3.5px) bottom left / 7px 7px no-repeat,
    radial-gradient(circle at 3px 3px, #AEB7C0 0 2px, rgba(255,255,255,.9) 2.5px, transparent 3.5px) bottom right / 7px 7px no-repeat; }
.plate img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(12,26,46,.22)); transition: transform .5s ease; }
a:hover .plate, .plate:hover { background-position: -20% 0, 0 0, 0 0; }
a:hover .plate img { transform: translateY(-5px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #B9C4D0; font: 500 14px/1.3 var(--body); }
.topbar .wrap { display: flex; align-items: center; gap: 8px 30px; flex-wrap: wrap; min-height: 44px; padding-block: 8px; }
.topbar .item { display: inline-flex; align-items: center; gap: 9px; }
.topbar .icon { width: 15px; height: 15px; fill: var(--blue-300); }
.topbar .usa { margin-left: auto; font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--white); }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--white); }

/* ---------- Header / nav ---------- */
/* the dark top bar and the menu bar stay pinned together while scrolling */
.site-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.header { position: relative; background: var(--white); border-bottom: 1px solid var(--steel-100); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 86px; }
.logo { flex: none; display: block; }
.logo img { width: 232px; height: auto; }
.nav { margin-left: auto; height: 100%; }
.nav > ul { list-style: none; display: flex; height: 100%; }
.nav > ul > li { position: relative; display: flex; }
.nav > ul > li > a, .nav > ul > li > button { display: flex; align-items: center; gap: 6px; padding: 0 15px; font: 600 16px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: none; border: 0; cursor: pointer; position: relative; }
.nav > ul > li > a::after, .nav > ul > li > button::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav > ul > li:hover > a::after, .nav > ul > li:hover > button::after, .nav a[aria-current="page"]::after, .nav .current > button::after { transform: scaleX(1); }
.nav > ul > li > a:hover, .nav > ul > li > button:hover { color: var(--blue); }
.nav .chev { width: 12px; height: 12px; fill: currentColor; transition: transform .2s; }
.header-cta { flex: none; }

/* mega menu */
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-42%, 8px); width: min(960px, calc(100vw - 40px)); background: var(--white); border: 1px solid var(--steel-100); border-top: 3px solid var(--blue); box-shadow: var(--shadow); padding: 24px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.has-mega:hover .chev, .has-mega.open .chev { transform: rotate(180deg); }
.mega-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mega-grid a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); color: var(--ink); font: 600 16px/1.15 var(--label); }
.mega-grid a:hover { background: var(--blue-50); color: var(--blue); }
.mega-grid .thumb { flex: none; width: 56px; height: 44px; padding: 3px; border-radius: 3px; }
.mega-grid .thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--steel-100); font-size: 15px; }

.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--steel-200); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--ink); font: 600 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; align-items: center; gap: 8px; }
.burger .icon { width: 20px; height: 20px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #C9D2DC; }
/* faded shop photos crossfade slowly behind the headline */
.hero .slides { position: absolute; inset: 0; }
.hero .slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity 1.8s ease, transform 8s ease-out; }
.hero .slide.on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,26,46,.94) 0%, rgba(12,26,46,.8) 45%, rgba(12,26,46,.55) 100%), linear-gradient(0deg, rgba(12,26,46,.5), rgba(12,26,46,0) 45%); }
.hero .wrap { position: relative; z-index: 2; display: flex; align-items: center; min-height: 600px; padding-block: 90px; }
.hero .wrap > div { max-width: 720px; }
.hero h1 { color: var(--white); }
.hero .lead { margin-top: 24px; color: #CBD4DE; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Stats band ---------- */
.stats { position: relative; z-index: 2; border-left: 0; border-right: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 38px; }
.stat { padding-inline: 22px; border-left: 1px solid rgba(12,26,46,.12); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font: 700 clamp(40px, 4vw, 56px)/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat b small { font-size: .55em; color: var(--blue); margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font: 600 14px/1.3 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-700); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 9vw, 120px); }
.section.tight { padding-block: clamp(56px, 7vw, 90px); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }

/* split: photo + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-photo { position: relative; }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
/* a cut-out photo with faded edges sits straight on the page, no frame */
.split-photo.blend img { aspect-ratio: auto; object-fit: contain; border-radius: 0; max-height: 640px; width: 100%; margin-inline: auto; filter: drop-shadow(0 26px 22px rgba(12,26,46,.16)); }
.split-photo.blend .badge { bottom: -44px; right: auto; left: -12px; }
.split-photo .badge { position: absolute; right: -18px; bottom: -34px; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px; }
.split-photo .badge b { display: block; font: 700 46px/1 var(--display); color: var(--navy); }
.split-photo .badge span { display: block; margin-top: 6px; font: 600 14px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-700); }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; margin-top: 2px; fill: var(--blue); }
.checks b { color: var(--ink); font-weight: 600; }

/* ---------- Alternating sections (set per page by build.py): white <-> header navy ---------- */
.tone-light { background: var(--white); }
.tone-dark { color: #C9D6EE;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), var(--navy); }
/* text on navy */
.tone-dark .eyebrow { color: var(--blue-300); }
.tone-dark .lead, .tone-dark .section-head p, .tone-dark .prose { color: #D4E0F7; }
.tone-dark h2, .tone-dark .h2, .tone-dark .h3 { color: #fff; }
.tone-dark .fact-list b { color: #fff; }
.tone-dark .fact-list span { color: #B9C7DD; }
.tone-dark .fact-list .icon { fill: var(--blue-300); }
.tone-dark .type-card { color: #C9D6EE; }
.tone-dark .type-card h3 { color: #fff; }
.tone-dark .type-card p { color: #C2D1EC; }
.tone-dark .type-card .link-arrow { color: #fff; }
.tone-dark .type-card:hover h3 { color: var(--blue-300); }
.tone-dark .plate { box-shadow: 0 18px 30px -20px rgba(0,0,0,.6); }
.tone-dark .part h3, .tone-dark .work-tag { color: #fff; }
.tone-dark .steps h3 { color: #fff; }
.tone-dark .steps p { color: #B9C7DD; }
.tone-dark .steps li + li { border-left-color: rgba(255,255,255,.12); }
.tone-dark .svc-text .fact-list b { color: #fff; }
.tone-dark .svc-label { color: var(--blue-300); }
.tone-dark .svc-label svg { stroke: var(--blue-300); }
.tone-dark .svc-media { box-shadow: 0 22px 40px -24px rgba(0,0,0,.7); }
.tone-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.tone-dark .btn-ghost:hover { background: #fff; color: var(--navy); }
.tone-dark .checks b { color: #fff; }
.tone-dark .who-points li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.tone-dark .who-points b { color: #fff; }
.tone-dark .who-points span { color: #B9C7DD; }
.tone-dark .visit-facts { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.tone-dark .visit-facts b { color: #fff; }
.tone-dark .visit-facts .icon { fill: var(--blue-300); }
.tone-dark .visit-facts a { color: var(--blue-300); }
/* sections designed for navy, when they land on white */
.tone-light .tl-when { color: var(--ink); }
.tone-light .timeline h3 { color: var(--blue); background-image: linear-gradient(var(--blue), var(--blue)); }
.tone-light .timeline p { color: var(--text); }
.tone-light .timeline li::before { background: #fff; border-color: var(--blue); }
.tone-light .timeline::before { background: linear-gradient(90deg, var(--blue), rgba(29,79,184,.2)); }
.tone-light .video-box figcaption { color: var(--steel-700); }

/* home "Who we are" text */
.who-lead { margin-top: 20px; }
.who-callout { display: flex; gap: 20px; align-items: center; margin-top: 28px; padding: 20px 24px; border-radius: 10px; color: #D4E0F7;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), linear-gradient(120deg, var(--blue) 0%, var(--blue-600) 55%, var(--navy-700) 100%);
  box-shadow: 0 20px 36px -24px rgba(12,26,46,.7); }
.who-mark { flex: none; font: 700 54px/1 var(--display); color: #fff; }
.who-mark small { font-size: .5em; color: var(--blue-300); }
.who-callout p { font-size: 16px; line-height: 1.55; }
.who-callout b { color: #fff; }
.who-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.who-points li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 10px; background: var(--mist); border: 1px solid var(--steel-100); }
.who-points svg { width: 30px; height: 30px; margin-bottom: 8px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.who-points b { font: 600 19px/1.15 var(--display); color: var(--ink); }
.who-points span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.who-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 600px) { .who-points { grid-template-columns: 1fr; } .who-mark { font-size: 44px; } }

/* ---------- Conveyor cards ---------- */
.type-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
.type-card { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.type-card .plate { aspect-ratio: 5 / 4; padding: 20px; }
.type-card h3 { margin-top: 20px; font-size: 26px; font-weight: 600; transition: color .2s; }
.type-card p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.type-card .link-arrow { margin-top: 16px; color: var(--blue); }
.type-card:hover h3 { color: var(--blue); }

/* ---------- Services ---------- */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.svc { padding: 36px 28px 8px 0; }
.svc + .svc { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.svc svg { width: 44px; height: 44px; fill: none; stroke: var(--blue-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin-top: 22px; font-size: 28px; font-weight: 600; }
.svc p { margin-top: 10px; font-size: 16px; }
.svc-light .svc + .svc { border-left-color: var(--steel-100); }
.svc-light { border-top-color: var(--steel-100); }
.svc-light svg { stroke: var(--blue); }

/* home page service cards (same pictures as the Services page) */
.svc-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); color: #C9D2DC; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.8); border-color: rgba(127,168,242,.4); color: #C9D2DC; }
.svc-card-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.svc-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card-pic.cutout { padding: 14px; }
.svc-card-pic.cutout img { object-fit: contain; filter: drop-shadow(0 10px 10px rgba(12,26,46,.22)); }
.svc-card-pic.cutout-fill img { object-position: center 25%; }
.svc-card-pic.steel { border: 0; border-radius: 0; }
.svc-card-pic.cutout-fill::before { display: none; }
.svc-card:hover .svc-card-pic img { transform: scale(1.04); }
.svc-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.svc-card-label { display: flex; align-items: center; gap: 10px; font: 600 24px/1.1 var(--display); color: #fff; }
.svc-card-label svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--blue-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card-text { font-size: 15.5px; line-height: 1.55; flex: 1; }
.svc-card .link-arrow { color: var(--blue-300); }
@media (max-width: 960px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border: 1px solid var(--steel-100); border-radius: var(--radius); background: var(--white); }
.ind svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind h3 { font-size: 24px; font-weight: 600; }
.ind p { margin-top: 6px; font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* industry panels with the conveyors that fit each industry */
.ind.ind-rich { flex-direction: column; gap: 0; padding: 0; overflow: hidden; border: 0; box-shadow: 0 16px 34px -20px rgba(12,26,46,.45);
  background: linear-gradient(180deg, #EEF1F5 0%, #DDE3EA 100%); }
.ind-head { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 20px; color: #DDE7FA;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 55%, var(--navy-700) 100%); }
.ind-head svg { stroke: #fff; flex: none; width: 42px; height: 42px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ind-head h3 { color: #fff; }
.ind-head p { color: #D4E0F7; }
.ind-sub { font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); padding: 18px 22px 12px; }
.ind-rich .ind-conveyors { padding: 0 22px 22px; }
.ind-rich .ind-thumb.steel { background-color: #fff; }
.ind-conveyors { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ind-conveyors a { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font: 600 15px/1.15 var(--label); transition: color .2s; }
.ind-conveyors a:hover { color: var(--blue); }
.ind-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.ind-thumb.steel { padding: 8px; border: 1px solid var(--steel-200); }
.ind-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(12,26,46,.2)); transition: transform .4s ease; }
.ind-thumb.photo { border: 1px solid var(--steel-200); }
.ind-thumb.photo img { object-fit: cover; filter: none; }
.ind-conveyors a:hover .ind-thumb { box-shadow: 0 0 0 2px var(--blue); }
/* photos framed exactly like their original (e.g. the rotary table) fill the tile */
.ind-thumb.exact, .mega-grid .thumb.exact, .ind-thumb.edge, .mega-grid .thumb.edge { padding: 0; }
.ind-thumb.exact img, .mega-grid .thumb.exact img, .ind-thumb.edge img, .mega-grid .thumb.edge img { object-fit: cover; filter: none; }
/* a close-up that runs off both sides (conveyor transfers) meets both edges of its tile */
.ind-thumb.edge img, .mega-grid .thumb.edge img { scale: 1.06 1; }
.ind-conveyors a:hover .ind-thumb.edge img { transform: none; }
.ind-conveyors a:hover img { transform: scale(1.05); }

/* ---------- Photo strip / gallery ---------- */
.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-grid button, .photo-grid a { display: block; width: 100%; padding: 0; border: 0; background: var(--steel-100); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid button:hover img { transform: scale(1.05); }
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-grid button { display: block; width: 100%; aspect-ratio: 1; padding: 14px; cursor: zoom-in; }

/* ---------- Call-to-action strip at the end of each page ---------- */
.cta-strip-wrap { padding-block: clamp(40px, 6vw, 72px); background: var(--navy); }
.bg-navy + .cta-strip-wrap, .tone-dark + .cta-strip-wrap { padding-top: 0; }   /* navy runs straight on: no double gap */
.cta-strip { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  padding: clamp(30px, 4vw, 48px) clamp(26px, 4vw, 56px); border-radius: 12px; color: #D4E0F7;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    radial-gradient(120% 140% at 100% 0%, rgba(127,168,242,.35) 0%, rgba(127,168,242,0) 45%),
    linear-gradient(120deg, var(--blue) 0%, var(--blue-600) 45%, var(--navy-700) 100%);
  box-shadow: 0 30px 60px -34px rgba(12,26,46,.7); }
.cta-text { max-width: 640px; }
.cta-text .eyebrow { color: #BFD2F7; }
.cta-text h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.cta-text p { margin-top: 12px; font-size: 17px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-buttons .btn-outline .icon { width: 15px; height: 15px; }

/* ---------- Contact band ---------- */
.contact-band { background: var(--blue); color: #DDE7FA; }
.contact-band .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-block: clamp(64px, 8vw, 100px); }
.contact-band h2 { color: var(--white); }
.contact-band .eyebrow { color: #BFD2F7; }
.contact-lines { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines .icon { width: 20px; height: 20px; margin-top: 3px; fill: #BFD2F7; }
.contact-lines b { display: block; color: var(--white); font-weight: 600; font-size: 19px; }
.contact-lines a { color: inherit; }

.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(12,26,46,.6); color: var(--text); }
.form-card h3 { font-size: 30px; font-weight: 600; }
.form-card > p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-700); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--mist); border: 1px solid var(--steel-200); border-radius: 3px; padding: 12px 13px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-50); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap, never shown */
.form-status { grid-column: 1 / -1; font-size: 15px; padding: 12px 14px; border-radius: 3px; background: var(--blue-50); color: var(--ink); }

/* ---------- Inner page header ---------- */
.page-hero { position: relative; background: var(--navy); color: #C9D2DC; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px), linear-gradient(110deg, rgba(29,79,184,.0) 40%, rgba(29,79,184,.35) 100%); }
.page-hero .wrap { position: relative; padding-block: clamp(50px, 7vw, 90px); }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 5.5vw, 70px); }
.page-hero .lead { margin-top: 18px; color: #C9D2DC; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 22px; font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-300); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--steel-500); }
.crumbs a { color: var(--blue-300); }
.crumbs a:hover { color: var(--white); }

/* ---------- Conveyor detail page ---------- */
.type-hero { background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); border-bottom: 1px solid var(--steel-100); }
.type-hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: 40px clamp(56px, 7vw, 90px); }
.type-hero .crumbs { color: var(--steel-500); }
.type-hero .crumbs a { color: var(--blue); }
.type-hero .crumbs a:hover { color: var(--blue-600); }
.type-hero h1 { font-size: clamp(44px, 5.6vw, 74px); }
.type-hero .lead { margin-top: 20px; }
.type-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.type-hero .plate { aspect-ratio: 5 / 4; padding: clamp(18px, 3vw, 36px); }
.type-hero .plate button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.fact-list { list-style: none; display: grid; gap: 18px; margin-top: 26px; }
.fact-list li { display: flex; gap: 14px; }
.fact-list .icon { width: 22px; height: 22px; margin-top: 3px; fill: var(--blue); }
.fact-list b { display: block; color: var(--ink); font-weight: 600; font-size: 18px; }
.fact-list span { display: block; margin-top: 2px; font-size: 16px; color: var(--muted); line-height: 1.55; }
/* videos keep their own shape: phone clips stand tall, landscape clips run wide, all the same height */
.video-layout { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 30px 60px; align-items: center; }
.video-layout .section-head { margin-bottom: 0; }
.video-row { display: flex; flex-wrap: wrap; gap: 22px; }
.video-box { margin: 0; flex: 0 1 auto; max-width: 100%; }
.video-box video { display: block; height: min(540px, 70vh); width: auto; max-width: 100%; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; background: #000; border-radius: var(--radius); }
.video-box figcaption { margin-top: 10px; font: 600 14px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-300); }
@media (max-width: 960px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-box video { height: auto; width: 100%; max-height: 75vh; }
  .video-box { flex: 1 1 260px; }
}

/* a conveyor that runs off its source photo sits flush against the panel edge on that side */
.plate.cut-top { padding-top: 0 !important; }
.plate.cut-bottom { padding-bottom: 0 !important; }
.plate.cut-left { padding-left: 0 !important; }
.plate.cut-right { padding-right: 0 !important; }
.plate[class*="cut-"] img { filter: none; }
/* a close-up that runs off both sides of its photo fills the panel edge to edge */
.plate.cut-left.cut-right { padding: 0 !important; }
.plate.cut-left.cut-right img { object-fit: cover; object-position: center; scale: 1.06 1; }  /* stretch sideways only so it meets both edges */
.plate.cut-left.cut-right::before { display: none; }
/* full-bleed: the conveyor fills the panel edge to edge, its cut edge just past the frame */
.plate.fill { padding: 0 !important; }
.plate.fill img { object-fit: cover; object-position: center; scale: 1.1; transform-origin: 55% 92%; }
/* a cutout framed exactly like its original photo (same size and position), on steel */
.plate.fill.exact img { scale: none; filter: none; }
.plate.fill.exact::before { display: none; }
/* whole studio photos (white background) fill the panel as they are; .onsteel = same photo and framing, white removed */
.plate.fill.photo:not(.onsteel) { background: #fff; }
.plate.fill.photo img { scale: none; }
.plate.fill.photo:not(.onsteel) img { filter: none; }
.plate.fill.photo::before { display: none; }
.plate.cut-top::before, .plate.cut-bottom::before, .plate.cut-left::before, .plate.cut-right::before { display: none; }

/* ---------- Process steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--steel-100); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 700 44px/1 var(--display); color: var(--blue); }
.steps h3 { margin-top: 14px; font-size: 24px; font-weight: 600; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* ---------- About page ---------- */
.about-hero { position: relative; background: var(--navy) center 60% / cover no-repeat; color: #C9D2DC; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,26,46,.95) 0%, rgba(12,26,46,.82) 50%, rgba(12,26,46,.55) 100%); }
.about-hero .wrap { position: relative; padding-block: clamp(60px, 8vw, 110px); }
.about-hero h1 { color: #fff; max-width: 16ch; }
.about-hero .lead { margin-top: 22px; color: #CBD4DE; }
.about-hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--blue-300), rgba(127,168,242,.25)); }
.timeline li { position: relative; padding: 48px 40px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 3px solid var(--blue-300); }
.tl-when { display: block; font: 700 clamp(46px, 4.6vw, 64px)/.95 var(--display); color: #fff; letter-spacing: .005em; }
.timeline h3 { margin-top: 18px; padding-top: 16px; background: linear-gradient(var(--blue-300), var(--blue-300)) top left / 36px 2px no-repeat; font: 600 15px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.timeline p { margin-top: 12px; max-width: 32ch; font-size: 17px; line-height: 1.7; color: #C3CDD9; text-wrap: pretty; }

.shop-mosaic { list-style: none; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(360px, 44vw, 560px); }
.shop-mosaic .m0 { grid-row: 1 / 3; }
.shop-mosaic li, .shop-mosaic button { min-height: 0; }
.shop-mosaic button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--steel-100); }
.shop-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shop-mosaic button:hover img { transform: scale(1.04); }
.shop-mosaic button.steel { padding: clamp(14px, 2vw, 26px); }
.shop-mosaic button.steel img { object-fit: contain; filter: drop-shadow(0 14px 14px rgba(12,26,46,.22)); }

.value-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value-pic { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 0; background: var(--steel-100); cursor: zoom-in; overflow: hidden; }
.value-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.value-pic.steel { padding: 14px; }
.value-pic.steel img { object-fit: contain; filter: drop-shadow(0 10px 10px rgba(12,26,46,.2)); }
.value-card:hover .value-pic img { transform: scale(1.04); }
.value-body { position: relative; padding: 0 24px 28px; }
.value-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-top: -29px; position: relative; border-radius: 50%; background: #fff; border: 1px solid var(--steel-100); box-shadow: 0 6px 16px -8px rgba(12,26,46,.35); }
.value-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { margin-top: 20px; font-size: 25px; font-weight: 600; }
.value-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.visit-facts { list-style: none; display: grid; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--steel-100); }
.visit-facts li { display: flex; gap: 14px; }
.visit-facts .icon { width: 22px; height: 22px; margin-top: 3px; fill: var(--blue); }
.visit-facts b { display: block; color: var(--ink); font-weight: 600; font-size: 18px; margin-bottom: 2px; }

@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 56px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: rgba(127,168,242,.4); }
  .timeline li { padding: 0 0 0 44px; }
  .shop-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; height: clamp(360px, 90vw, 620px); }
  .shop-mosaic .m0 { grid-row: auto; grid-column: 1 / 3; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-hero .wrap { padding-block: clamp(60px, 8vw, 100px) clamp(110px, 12vw, 150px); }
.contact-cards-wrap { position: relative; z-index: 3; margin-top: clamp(-90px, -8vw, -70px); }
.contact-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.contact-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 10px; padding: 28px 26px 24px; border: 1px solid var(--steel-100);
  box-shadow: 0 24px 46px -26px rgba(12,26,46,.5); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-300)); transform: scaleX(.25); transform-origin: left; transition: transform .35s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(12,26,46,.55); border-color: rgba(29,79,184,.25); }
.contact-card:hover::before { transform: scaleX(1); }
.cc-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(140deg, var(--blue-300) -20%, var(--blue) 45%, var(--navy-700) 120%);
  box-shadow: 0 12px 22px -10px rgba(29,79,184,.75); transition: transform .3s; }
.contact-card:hover .cc-icon { transform: rotate(-6deg) scale(1.06); }
.cc-icon .icon { width: 26px; height: 26px; fill: #fff; }
.contact-card h3 { margin-top: 22px; font: 600 13px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.cc-main { margin-top: 10px; font: 700 25px/1.15 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.cc-main a { color: var(--ink); }
.cc-main a:hover { color: var(--blue); }
.cc-email { font-size: 20px; }
.cc-time { display: block; font-size: 20px; font-weight: 600; color: var(--steel-700); margin-top: 2px; }
.cc-sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 20px; }
.cc-action { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue);
  font: 600 13px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.cc-action .icon { width: 13px; height: 13px; transition: transform .2s; }
.cc-action:hover { background: var(--blue); color: #fff; }
.cc-action:hover .icon { transform: translateX(3px); }
.cc-copy { border: 1px solid var(--steel-200); background: #fff; color: var(--steel-700); border-radius: 999px; padding: 8px 12px 7px; font: 600 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cc-copy:hover { border-color: var(--blue); color: var(--blue); }
.cc-status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 8px; border-radius: 999px; font: 600 13px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.cc-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.cc-status.open { background: #E3F6EA; color: #1C7A43; }
.cc-status.open::before { box-shadow: 0 0 0 0 rgba(28,122,67,.5); animation: pulse 2s infinite; }
.cc-status.closed { background: var(--steel-50); color: var(--steel-700); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(28,122,67,.5); } 70% { box-shadow: 0 0 0 8px rgba(28,122,67,0); } 100% { box-shadow: 0 0 0 0 rgba(28,122,67,0); } }

.contact-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-main .form-card { box-shadow: var(--shadow); border: 1px solid var(--steel-100); }
.contact-main .form textarea { min-height: 160px; }
.contact-side { display: grid; gap: 20px; }
.side-block { padding: 26px; border-radius: var(--radius); border: 1px solid var(--steel-100); background: #fff; }
.side-block .eyebrow { margin-bottom: 10px; }
.side-checks { gap: 12px; margin-top: 18px; }
.side-checks span { font-size: 16px; color: var(--text); }
.next-steps { list-style: none; counter-reset: nx; display: grid; gap: 16px; margin: 6px 0 0; padding: 0; }
.next-steps li { counter-increment: nx; position: relative; padding-left: 50px; }
.next-steps li::before { content: counter(nx); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 18px/1 var(--display); }
.next-steps h3 { font-size: 21px; font-weight: 600; }
.next-steps p { margin-top: 4px; font-size: 15.5px; color: var(--steel-700); }
.parts-note { display: flex; gap: 16px; align-items: flex-start; background: var(--navy); border-color: var(--navy); color: #C9D2DC; }
.parts-note svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--blue-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.parts-note h3 { color: #fff; font-size: 22px; font-weight: 600; }
.parts-note p { margin-top: 6px; font-size: 15.5px; }

.map-section { position: relative; height: clamp(380px, 42vw, 480px); background: var(--steel-100); }
.map-section iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-section .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.map-card { pointer-events: auto; background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--blue); max-width: 320px; }
.map-card h3 { font-size: 26px; font-weight: 600; }
.map-card p { margin: 8px 0 20px; }

@media (max-width: 1180px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .contact-main { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .contact-cards { grid-template-columns: 1fr; }
  .map-section .wrap { align-items: flex-end; padding-bottom: 16px; }
  .map-card { max-width: none; width: 100%; padding: 20px; }
}

/* ---------- Our Work ---------- */
.work-grid li { display: flex; flex-direction: column; }
.work-tag { margin-top: 10px; font: 600 15px/1.2 var(--label); letter-spacing: .04em; color: var(--ink); }
.work-tag:hover { color: var(--blue); }
/* video cards: matching portrait tiles with a play button; click plays the full clip in the viewer */
.vgrid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 12px 28px -14px rgba(0,0,0,.7); }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .92; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,16,28,.92) 0%, rgba(8,16,28,.35) 38%, rgba(8,16,28,0) 60%); }
.vcard:hover img, .vcard:focus-visible img { transform: scale(1.05); opacity: 1; }
.vplay { position: absolute; z-index: 1; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; backdrop-filter: blur(3px); transition: background .2s, transform .2s; }
.vplay svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.vcard:hover .vplay { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.vmeta { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; text-align: left; }
.vtype { font: 600 12px/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.vtitle { font: 600 16px/1.25 var(--label); color: #fff; }
@media (max-width: 1180px) { .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* video viewer */
.vbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,16,28,.95); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 70px; }
.vbox video { display: block; max-width: calc(100vw - 140px); max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: var(--radius); background: #000; }
.vbox .cap { color: #C9D2DC; font-size: 15px; margin: 0; }
.vbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vbox button:hover { background: var(--blue); }
.vbox button .icon { width: 20px; height: 20px; }
.vbox .lb-close { top: 14px; right: 14px; }
.vbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.vbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .vbox { padding: 64px 12px 84px; }
  .vbox video { max-width: calc(100vw - 24px); max-height: calc(100vh - 190px); }
  .vbox .lb-prev, .vbox .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- Services page ---------- */
.svc-rows { display: grid; gap: clamp(64px, 8vw, 110px); }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.svc-row.flip .svc-media { order: 2; }
.svc-media { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.svc-media.photo { background: var(--steel-100); }
.svc-media.steel { border: 1px solid var(--steel-200); }
.svc-media.cutout-fill img { object-fit: cover; object-position: center 25%; filter: drop-shadow(0 14px 14px rgba(12,26,46,.18)); }
.svc-media.cutout-fill::before { display: none; }
.svc-media img { width: 100%; height: 100%; }
.svc-media.photo img { object-fit: cover; }
.svc-media.cutout { padding: clamp(18px, 3vw, 36px); display: block; }
.svc-media.cutout img { object-fit: contain; filter: drop-shadow(0 16px 16px rgba(12,26,46,.22)); }
.svc-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.svc-label svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-text .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.svc-text .fact-list { margin-block: 26px 32px; }

.parts-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--steel-100); }
.parts-list li { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--steel-100); font: 600 21px/1.25 var(--display); color: var(--ink); }
.parts-list .icon { flex: none; width: 22px; height: 22px; fill: var(--blue); }
.tone-dark .parts-list, .tone-dark .parts-list li { border-color: rgba(255,255,255,.14); }
.tone-dark .parts-list li { color: #fff; }
.tone-dark .parts-list .icon { fill: var(--blue-300); }

.steps-photos { padding: 0; margin: 0; gap: 22px; }
.steps-photos li, .steps-photos li + li { display: flex; flex-direction: column; padding: 0; border-left: 0; }
.steps-photos li::before { order: 1; margin-top: 18px; }
.steps-photos .step-img { order: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--steel-100); }
.steps-photos .step-img img { width: 100%; height: 100%; object-fit: cover; }
.steps-photos .step-img.placeholder { display: grid; place-items: center; }
.steps-photos .step-img.cutout { padding: 8px 8px 0; }
.steps-photos .step-img.cutout img { object-fit: contain; object-position: center bottom; }
.steps-photos .step-img.placeholder svg { width: 64px; height: 64px; fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.steps-photos h3 { order: 2; }
.steps-photos p { order: 3; }

@media (max-width: 960px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-media { order: 0; }
  .parts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (max-width: 520px) {
  .parts-list { column-gap: 16px; }
  .parts-list li { gap: 10px; padding: 13px 0; font-size: 17px; }
  .parts-list .icon { width: 18px; height: 18px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #AEB9C6; font-size: 15.5px; }
.footer .cols { display: grid; grid-template-columns: 1.25fr 1.6fr .9fr 1.2fr; gap: 40px; padding-block: 76px 60px; }
.footer .logo-plate { display: inline-block; background: var(--white); padding: 12px 14px; border-radius: var(--radius); }
.footer .logo-plate img { width: 200px; }
.footer .about { margin-top: 22px; max-width: 34ch; line-height: 1.6; }
.footer h4 { margin: 4px 0 20px; font: 600 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer ul { list-style: none; }
.footer .links li + li { margin-top: 10px; }
.footer .links.two { columns: 2; column-gap: 28px; }
.footer .links.two li { break-inside: avoid; margin: 0 0 10px; }
.footer a { color: #AEB9C6; }
.footer a:hover { color: var(--white); }
.footer .contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer .contact .icon { margin-top: 4px; fill: var(--blue-300); }
.footer .contact b { color: var(--white); font-weight: 600; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; font-variant-numeric: tabular-nums; }
.copy-btn { margin-left: 8px; background: none; border: 1px solid rgba(255,255,255,.22); color: #AEB9C6; font: 600 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 3px; cursor: pointer; vertical-align: 1px; }
.copy-btn:hover { color: var(--white); border-color: var(--blue-300); }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 14px; color: #7F8C9A; }

/* slim footer: brand + links on one row, contact details on the next */
.footer-slim .fs-top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 44px 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fs-brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fs-brand .logo-plate img { width: 170px; }
.fs-brand p { max-width: 42ch; font-size: 15px; line-height: 1.55; }
.fs-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.fs-links a { font: 600 15px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.fs-links a:hover { color: var(--blue-300); }
.fs-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding-block: 24px 30px; }
.fs-contact li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fs-contact .icon { width: 17px; height: 17px; fill: var(--blue-300); }
.fs-contact a { color: #AEB9C6; }
.fs-contact a:hover { color: #fff; }
@media (max-width: 760px) {
  .footer-slim .fs-top { flex-direction: column; align-items: flex-start; }
  .fs-contact { flex-direction: column; gap: 12px; }
}

/* ---------- Lightbox ---------- */
/* the viewer always fits inside the window: photo limited by both the window's width and its height */
.lightbox { --lb-w: calc(100vw - 140px); --lb-h: calc(100vh - 150px); position: fixed; inset: 0; z-index: 90; background: rgba(8,16,28,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 70px; }
@supports (height: 100dvh) { .lightbox { --lb-h: calc(100dvh - 150px); } }
.lightbox .stage { display: grid; place-items: center; border-radius: var(--radius); max-width: var(--lb-w); max-height: var(--lb-h); }
.lightbox .stage.steel { padding: 28px; }
.lightbox img { display: block; width: auto; height: auto; max-width: min(1100px, var(--lb-w)); max-height: var(--lb-h); object-fit: contain; }
.lightbox .stage.steel img { max-width: calc(min(1100px, var(--lb-w)) - 56px); max-height: calc(var(--lb-h) - 56px); }
.lightbox .stage.steel img { filter: drop-shadow(0 18px 18px rgba(12,26,46,.25)); }
/* photos framed edge to edge in their panel keep that framing when enlarged, so a cut-off end stays hidden */
.lightbox .stage.fill { width: min(var(--lb-h), var(--lb-w), 820px); aspect-ratio: 1; padding: 0; overflow: hidden; } /* 820px: never stretch past the photo's own size */
.lightbox .stage.fill img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; scale: 1.1; transform-origin: 55% 92%; filter: none; }
/* close-ups that run off both sides fill the enlarged view edge to edge, stretched sideways like on the page */
.lightbox .stage.fill.framed { display: block; width: min(var(--lb-h), var(--lb-w)); height: min(var(--lb-h), var(--lb-w)); }
.lightbox .stage.fill.framed img { scale: none; filter: drop-shadow(0 18px 18px rgba(12,26,46,.25)); }
.lightbox .stage.steel.edge { padding: 0; overflow: hidden; }
.lightbox .stage.steel.edge img { max-width: min(1100px, var(--lb-w)); max-height: var(--lb-h); scale: 1.06 1; filter: none; }
.lightbox .cap { color: #C9D2DC; font-size: 15px; margin: 0; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--blue); }
.lightbox button .icon { width: 20px; height: 20px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .header.open .nav { display: block; position: absolute; top: 100%; left: 0; right: 0; height: auto; max-height: calc(100vh - 130px); overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--steel-100); box-shadow: var(--shadow); padding: 8px var(--gutter) 20px; }
  .header.open .nav > ul { flex-direction: column; }
  .header.open .nav > ul > li { flex-direction: column; border-bottom: 1px solid var(--steel-100); }
  .header.open .nav > ul > li > a, .header.open .nav > ul > li > button { padding: 18px 2px; justify-content: space-between; width: 100%; }
  .header.open .nav > ul > li > a::after, .header.open .nav > ul > li > button::after { display: none; }
  .header.open .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 14px; display: none; }
  .header.open .has-mega.open .mega { display: block; transform: none; }
  .header.open .mega-grid { grid-template-columns: 1fr 1fr; }
  .header.open .mega-foot { flex-direction: column; align-items: flex-start; }
  .header.open .nav .mobile-cta { display: flex; margin-top: 18px; }
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.nav .mobile-cta { display: none; }
@media (max-width: 960px) {
  .topbar .hide-md { display: none; }
  .hero .wrap { min-height: 520px; padding-block: 64px; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .split, .contact-band .wrap, .type-hero .wrap, .facts { grid-template-columns: 1fr; }
  .split-photo { max-width: 560px; }
  .split-photo .badge { right: 12px; }
  .type-grid, .photo-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(3) { padding-left: 0; border-left: 0; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .type-hero .plate { order: -1; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .topbar .usa { margin-left: 0; }
  .header .wrap { height: 72px; }
  .logo img { width: 180px; }
  .type-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .type-card .plate { padding: 12px; }
  .type-card h3 { font-size: 21px; margin-top: 14px; }
  .type-card p { display: none; }
  .svc-grid, .ind-grid, .footer .cols, .form { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 28px 0 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer .links.two { columns: 1; }
  .lightbox { padding: 64px 12px 84px; --lb-w: calc(100vw - 24px); --lb-h: calc(100vh - 190px); }
  @supports (height: 100dvh) { .lightbox { --lb-h: calc(100dvh - 190px); } }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
  .btn { padding: 15px 20px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.who-mark em { display: block; margin-top: 4px; font: 600 12px/1 var(--label); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
