/* Tilghman Rotoblast, design B2 (Nic, 22 Oct 2026): clean white catalogue look with big photographs.
   Logo ultramarine (#1a1597) on white, IBM Plex Sans for everything, IBM Plex Mono for small labels. */
:root {
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --paper: #ffffff;
  --card: #ffffff;
  --panel: #f5f6fa;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --blue: #151297;          /* logo blue, sampled from the mark */
  --blue-dark: #0e0b5c;
  --blue-soft: #ececfb;
  --on-blue: #dadcf8;
  --sans: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 24px);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 12px 32px -16px rgba(17, 24, 39, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 60; }
.eyebrow { font: 500 .875rem/1.4 var(--mono); color: var(--blue); margin: 0 0 1rem; display: block; }
.eyebrow.on-dark { color: var(--on-blue); }
.lead { font-size: 1.19rem; line-height: 1.6; color: #4b5563; }
.f-muted { color: var(--muted); font-size: .95rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-amber, .btn-blue { background: var(--blue); color: #fff; }
.btn-amber:hover, .btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost, .btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }

/* Top bar and header */
.topbar { background: var(--blue); color: #fff; font: 400 .82rem/1.3 var(--mono); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-in { display: flex; gap: 24px; align-items: center; justify-content: flex-end; min-height: 36px; flex-wrap: wrap; }
.tb-item { display: inline-flex; gap: 7px; align-items: center; }
.tb-group { margin-right: auto; order: -1; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 50px; height: 50px; flex: none; }
.brand-text { display: grid; min-width: 0; }
.brand-name { font: 700 1.6rem/1 var(--sans); color: var(--blue); letter-spacing: -.01em; }   /* both words in the logo blue (Nic, 22 Oct) */
.brand-name b { font-weight: 700; color: var(--blue); }
.brand-tag { font: 400 .72rem/1.3 var(--mono); color: var(--muted); margin-top: 5px; max-width: 40ch; }
.site-header .brand-tag { display: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.menu > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 6px; color: var(--ink); text-decoration: none;
  font: 500 .97rem/1 var(--sans); background: none; border: 0; cursor: pointer; }
.menu > li > a:hover, .sub-toggle:hover { background: var(--panel); color: var(--ink); }
.menu a[aria-current], .has-sub.is-current > .sub-toggle { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 6px 6px 0 0; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub a:hover, .sub a[aria-current] { background: var(--blue-soft); color: var(--blue); }
.nav-cta { background: var(--ink); }
.nav-cta:hover { background: #000; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 9px 12px; cursor: pointer; color: var(--ink);
  align-items: center; gap: 4px; flex-direction: column; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; }
.menu-btn b { font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .menu > li > a, .sub-toggle { padding: 10px 8px; font-size: .94rem; }
}
@media (max-width: 1120px) {
  .tb-hours, .tb-group { display: none; }
  .topbar-in { justify-content: flex-start; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 112px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 40px; gap: 16px;
    overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li > a, .sub-toggle { width: 100%; padding: 15px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .menu a[aria-current], .has-sub.is-current > .sub-toggle { box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { width: 100%; }
}
@media (max-width: 520px) { .brand-name { font-size: 1.32rem; } .brand-mark { width: 42px; height: 42px; } .topbar-in { gap: 16px; } }

/* Breadcrumbs and page hero */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.2rem; padding: 0; font: 400 .85rem/1.4 var(--mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { max-width: 20ch; margin: 0; }
.page-hero .lead { max-width: 62ch; margin-top: 1rem; }
/* Split hero with a big photo to the right edge (product and company pages) */
.page-hero.has-photo { background: #fff; padding: 0; }
.ph-in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; }
.ph-copy { padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((min(100vw, 1440px) - var(--wrap)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ph-img { position: relative; margin: 0; min-height: clamp(320px, 38vw, 560px); background: var(--panel); }
.ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-img figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px; font: 400 .85rem/1.3 var(--mono); max-width: calc(100% - 40px); }
@media (max-width: 860px) {
  .ph-in { grid-template-columns: 1fr; }
  .ph-copy { padding: 36px var(--gutter) 28px; }
  .ph-img { min-height: 260px; }
}

/* Page body: content rows from the old page builder */
.page-body { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4.5vw, 56px); }
.page-body > *, .recent, .wrap { min-width: 0; }
.page-body > .wrap { width: 100%; }
.recent .cards { max-width: 100%; }
.row { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
.row.c2 { grid-template-columns: 1fr 1fr; }
.row.c3 { grid-template-columns: repeat(3, 1fr); }
.row.media-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.row.media-row.pic-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.cell { min-width: 0; }
.cell-text { max-width: 72ch; }
.cell h2 { margin-top: .2em; }
.cell h2:not(:first-child), .prose h2:not(:first-child) { margin-top: 1.4em; }
.cell h3, .prose h3 { margin-top: 1.2em; }
.cell ul, .prose ul { padding-left: 1.2em; }
.cell li, .prose li { margin-bottom: .35em; }
.cell li::marker, .prose li::marker { color: var(--blue); }
.pic { margin: 0; }
.pic img { width: 100%; border-radius: var(--radius); background: var(--panel); }
.cell-pic .pic img { min-height: 320px; max-height: 560px; object-fit: cover; }
.cell img.aligncenter { margin-inline: auto; }
.band-grey { padding-block: 0; }
@media (max-width: 860px) {
  .row.c2, .row.c3, .row.media-row, .row.media-row.pic-first { grid-template-columns: minmax(0, 1fr); }
  .row.media-row.pic-first .cell-pic, .row.media-row .cell-pic { order: -1; }
  .cell-pic .pic img { min-height: 220px; }
}
.prose-wrap { max-width: 860px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--panel); color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* CTA band (from the home page widget) */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(22px, 4vw, 36px) clamp(22px, 4vw, 44px); margin-block: clamp(20px, 4vw, 40px); }
.cta-band h4 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0 0 .25em; }
.cta-band p { margin: 0; }
.cta-band .btn { background: var(--blue); color: #fff; }

/* Project examples (filled by the worker from the post store, so new projects appear as soon as they are published) */
.recent { margin-top: 8px; }
.recent-h { font-size: clamp(1.6rem, 2.8vw, 2.5rem); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 28px; }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.recent-head h2 { margin: 0; }
.recent-head a { font-weight: 600; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 32px 24px; }
.recent .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--body); }
.card:hover { color: var(--body); }
.card-img { aspect-ratio: 4/3; background: var(--panel); overflow: hidden; border-radius: var(--radius); }
.recent .card-img { aspect-ratio: 4/5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: grid; gap: 6px; }
.card-cat { font: 400 .78rem/1.3 var(--mono); text-transform: uppercase; color: var(--muted); }
.card-title { font: 600 1.15rem/1.3 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.card:hover .card-title { color: var(--blue); }
.card-date { font-size: .88rem; color: var(--muted); }
.card-excerpt { font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .recent .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .recent .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } .card-title { font-size: 1.02rem; } }
@media (max-width: 420px) { .recent .cards { grid-template-columns: minmax(0, 1fr); } .recent .card-img { aspect-ratio: 4/3; } }

/* "Steel shot and grit for this machine" line */
.media-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 18px 22px; }
.media-line p { margin: 0; flex: 1 1 320px; }
.ml-dots { display: inline-flex; gap: 4px; }
.ml-dots i { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9dde5, #6b7280 60%, #3b414d); }

/* Stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0 auto; padding: 28px var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats li { display: grid; gap: 4px; }
.stats b { font-size: 1.9rem; font-weight: 700; color: var(--blue); letter-spacing: -.02em; line-height: 1.1; }
.stats span { font-size: .95rem; color: #4b5563; }
@media (max-width: 760px) { .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats b { font-size: 1.5rem; } }

/* Home */
.home-hero { background: #fff; padding: 0; border: 0; }
.home-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); max-width: 18ch; }
.slider { position: relative; overflow: hidden; background: var(--panel); min-height: clamp(340px, 44vw, 640px); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slide figcaption span { background: #fff; color: var(--ink); font: 400 .9rem/1.3 var(--mono); padding: 11px 14px; border-radius: 6px; }
.slide figcaption a { background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; padding: 11px 16px; border-radius: 6px; font-size: .92rem; }
.slide figcaption a:hover { background: var(--blue-dark); color: #fff; }
.dots { position: absolute; z-index: 2; right: 20px; top: 20px; display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.75); cursor: pointer; padding: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.dots button[aria-current] { background: var(--blue); width: 26px; border-radius: 6px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-grey { background: var(--panel); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 32px; }
.section-head h2, .section-head .eyebrow { margin: 0; }
.section-head p { margin: 0; color: #4b5563; max-width: 52ch; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 16px; }
.tile-img { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3.2; background: var(--panel); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-body h2 { font-size: 1.5rem; margin-bottom: .4em; }
.tile-body h2 a { color: inherit; text-decoration: none; }
.tile-body h2 a:hover { color: var(--blue); }
.tile-body p { font-size: 1rem; }
.tile-body p:has(a) { margin: .35em 0 0; }
.tile-body p a { font-weight: 600; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; list-style: none; margin: 0; padding: 0; }
.range a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.range .r-img { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.range img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.range a:hover img { transform: scale(1.04); }
.range .r-name { display: flex; gap: 12px; align-items: baseline; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.range .r-name i { font: normal 400 .8rem/1 var(--mono); color: var(--blue); }
.range a:hover .r-name { color: var(--blue); }
@media (max-width: 900px) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } .range .r-name { font-size: 1.05rem; } }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chip-links a { display: inline-block; padding: 9px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; color: var(--ink); }
.chip-links a:hover { border-color: var(--blue); color: var(--blue); }

.home-media { background: var(--blue); color: #fff; }
.home-media-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.home-media h2 { color: #fff; }
.home-media p { color: var(--on-blue); font-size: 1.1rem; }
.home-media .btn-amber { background: #fff; color: var(--blue); }
.home-media .btn-amber:hover { background: var(--blue-soft); color: var(--blue); }
.home-media .btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.home-media .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }
.grade-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.grade-list li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.grade-list b { color: #fff; font-weight: 600; font-size: 1.08rem; }
.grade-list span { color: var(--on-blue); font-family: var(--mono); font-size: .92rem; text-align: right; }
@media (max-width: 820px) { .home-media-in { grid-template-columns: 1fr; } }

/* Blasting media page */
.media-strips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; min-height: clamp(300px, 40vw, 600px); background: #fff; }
.media-strips figure { position: relative; margin: 0; overflow: hidden; }
.media-strips img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-strips figcaption { position: absolute; left: 12px; bottom: 16px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 6px; font: 400 .82rem/1.2 var(--mono); }
.media-hero .lead p:nth-child(2) { display: none; }   /* the facts line is shown as the strip below */
@media (max-width: 860px) { .media-strips { min-height: 220px; } .media-strips figcaption { left: 8px; bottom: 8px; font-size: .74rem; padding: 6px 8px; } }
.media-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.media-card { display: flex; flex-direction: column; gap: 16px; }
.media-card .pic img { aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); }
.mc-body { flex: 1; }
.mc-body h3 { font-size: 1.5rem; margin-top: 0; }
.media-card .btn { align-self: flex-start; }
@media (max-width: 900px) { .media-cards { grid-template-columns: 1fr; } }
.media-rest #bulk-quote { scroll-margin-top: 100px; }
.sticky-quote { position: fixed; right: 16px; bottom: 16px; z-index: 30; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none;
  padding: 13px 18px; border-radius: 6px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.sticky-quote:hover { color: #fff; background: var(--blue-dark); }
.sticky-quote.hide { display: none; }

/* Forms */
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 28px); margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 500; color: var(--ink); font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.form-status { margin: 14px 0 0; font-weight: 600; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact: details beside a big map, then the form */
.contact-map { position: relative; min-height: clamp(380px, 46vw, 680px); background: var(--panel); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin-top: 1.8rem; font-size: 1.08rem; }
.contact-details p { margin: 0; }
.contact-details p:nth-of-type(odd) { font: 400 .8rem/1.9 var(--mono); text-transform: uppercase; color: var(--muted); }
.contact-details p:nth-of-type(even) { color: var(--ink); }
.contact-details a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-details a:hover { color: var(--blue); }
.contact-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-form h2 { margin-bottom: .3em; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.label { font: 400 .8rem/1.3 var(--mono) !important; text-transform: uppercase; color: var(--blue); }
.map { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--panel); margin-bottom: 10px; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact-map { min-height: 380px; } .contact-body { grid-template-columns: 1fr; } .contact-photo { display: none; } }
@media (max-width: 420px) { .contact-details { grid-template-columns: 1fr; gap: 2px; } .contact-details p:nth-of-type(odd) { margin-top: 10px; } }

/* Posts */
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); margin-top: 1rem; font: 400 .9rem/1.4 var(--mono); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.post-feature { margin: 0 0 28px; }
.post-feature img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 10px; }
.prose { font-size: 1.08rem; }
.prose img { border-radius: 8px; }
.prose p:has(> img) { display: contents; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.post-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.side-box h3 { font-size: 1.12rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag-list a { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a:hover { border-color: var(--blue); color: var(--blue); }
.post-nav span { display: block; font: 400 .78rem/1.4 var(--mono); color: var(--muted); }
.post-nav .next { text-align: right; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } .post-side { position: static; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(5,6,18,.88); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; }

/* Archive */
.archive-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.archive-filters a { padding: 9px 14px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.archive-filters a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; text-decoration: none; font-weight: 600; }
.pager span[aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Call strip and footer */
body:has(.home-hero) .cta-strip { display: none; }
.cta-strip { background: var(--blue); color: #fff; }
.cta-strip-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 60px); }
.cta-strip .eyebrow { color: var(--on-blue); }
.cta-h { color: #fff; margin: 0 0 .3em; max-width: 26ch; }
.cta-strip p { margin: 0; color: var(--on-blue); }
.cta-strip a:not(.btn) { color: #fff; }
.cta-strip .btn-amber { background: #fff; color: var(--blue); }
.cta-strip .btn-amber:hover { background: var(--blue-soft); color: var(--blue); }
.cta-strip .btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.cta-strip .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #fff; color: #4b5563; padding-top: clamp(48px, 6vw, 72px); font-size: .97rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand-tag { display: block; font-family: var(--sans); font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 32px; }
.f-h { color: var(--ink); font: 500 .82rem/1.3 var(--mono); text-transform: uppercase; margin-bottom: 1em; letter-spacing: 0; }
.f-brand .f-h { position: absolute; left: -9999px; }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.f-list a { text-decoration: none; }
.f-list a:hover { text-decoration: underline; }
address { font-style: normal; margin-bottom: 1em; }
.f-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 0 28px; margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); font: 400 .82rem/1.4 var(--mono); color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .cta-strip, .site-footer, .sticky-quote { display: none; } body { background: #fff; } }

/* Project case studies */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.facts-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 28px; }
.facts-panel div { background: #fff; padding: 14px 16px; }
.facts-panel dt { font: 400 .75rem/1.3 var(--mono); text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts-panel dd { margin: 0; font-weight: 600; color: var(--ink); }
.gallery-h { font-size: 1.35rem; margin-top: 32px; }
.gallery-h span { color: var(--muted); font-weight: 400; }
.equip-line { background: var(--blue-soft); border-radius: 8px; padding: 13px 16px; font-weight: 600; }
.prod-links { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.prod-links a { display: flex; justify-content: space-between; padding: 11px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.prod-links a:hover { border-color: var(--blue); color: var(--blue); }
.related { margin-top: clamp(32px, 4vw, 56px); }
.archive-hero-note { color: var(--body); }

/* Contact form: "let's talk" (22 Oct) */
.field-hint { grid-column: 1 / -1; margin: -4px 0 0; font-size: .92rem; color: var(--muted, #555); }
.form-note { margin: 14px 0 0; font-size: .95rem; }
.contact-form textarea { height: 7.5em; }
#talk { scroll-margin-top: 96px; }

/* Wheelabrators machine cards (preview, 22 Oct) */
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mcard { display: flex; flex-direction: column; border: 1px solid var(--line, #e3e3e8); border-radius: 10px; overflow: hidden; background: #fff; }
.mcard figure { margin: 0; aspect-ratio: 4 / 3; background: #eef; }
.mcard figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.mc-in { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.mc-in h3 { margin: 0; color: var(--blue); }
.mc-in dl { margin: 0; display: grid; gap: 2px; }
.mc-in dt { font-family: "IBM Plex Mono", monospace; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #666; margin-top: 8px; }
.mc-in dd { margin: 0; line-height: 1.5; }
.mc-in details { border-top: 1px solid var(--line, #e3e3e8); padding-top: 10px; margin-top: auto; }
.mc-in summary { cursor: pointer; font-weight: 600; }
.mc-in details ul { margin: 8px 0 0; padding-left: 1.1em; font-size: .95rem; }
.mc-in details li { margin: 4px 0; }
.mc-in .btn { align-self: flex-start; }
@media (max-width: 1000px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mcards { grid-template-columns: 1fr; } }
@media (min-width: 521px) { .site-header .brand-name { white-space: nowrap; } }
.mc-gap { margin-top: auto; }
