:root {
  --ink: #16191d;
  --ink-2: #454c55;
  --muted: #6b737d;
  --line: #dfe3e8;
  --bg: #f3f4f6;
  --card: #ffffff;
  --steel: #20262d;
  --steel-2: #2c343d;
  --accent: #e8590c;
  --accent-ink: #b8440a;
  --radius: 6px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 .6em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.block { padding-block: 36px 8px; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--steel); color: #fff; border-bottom: 3px solid var(--accent); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--head); text-transform: uppercase; }
.brand-mark { background: var(--accent); color: #fff; font-weight: 700; font-size: 24px; padding: 2px 9px 3px; letter-spacing: .04em; }
.brand-word { font-weight: 600; font-size: 21px; letter-spacing: .14em; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: #d5dae0; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 4px; }
.nav a:hover { color: #fff; background: var(--steel-2); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .nav-cta { background: var(--accent); color: #fff; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--accent-ink); }

/* Hero + page heads */
.hero, .page-head { background: var(--steel); color: #fff; position: relative; overflow: hidden; }
.hero { padding-block: 72px 76px; }
.hero .wrap, .page-head .wrap { position: relative; }
.truss-art { position: absolute; right: -40px; bottom: 26px; width: 62%; height: 120px; color: #fff; opacity: .07; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); text-transform: uppercase; max-width: 15ch; text-wrap: balance; }
.lede { color: #c3cad2; font-size: 18px; max-width: 58ch; margin: 14px 0 22px; }
.page-head { padding-block: 30px 0; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); text-transform: uppercase; }
.page-head .lede { margin-bottom: 24px; }
.crumbs { font-size: 14px; color: #9aa3ad; margin-bottom: 10px; }
.crumbs a { color: #c3cad2; }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 11px 20px; border-radius: 4px; border: 2px solid var(--accent); margin: 0 8px 8px 0; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: #6b737d; }
.btn.ghost:hover { border-color: #fff; background: transparent; }

.subnav { display: flex; gap: 2px; overflow-x: auto; margin-top: 4px; }
.subnav a { color: #c3cad2; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: #fff; }
.subnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); background: var(--steel-2); }

/* Section titles */
.section-title { font-size: 28px; text-transform: uppercase; margin: 6px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); display: flex; align-items: baseline; gap: 10px; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { color: var(--accent-ink); }
.section-title .n { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.products + .section-title { margin-top: 44px; }
.jump { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.jump a { margin-left: 12px; font-weight: 600; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.tiles.big { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(22, 25, 29, .1); transform: translateY(-2px); }
.tile-img { background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
.tile-img img { width: 150px; height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.tile-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.tile-name { font-family: var(--head); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.tile-blurb { color: var(--ink-2); font-size: 15px; flex: 1; }
.tile-meta { color: var(--accent-ink); font-weight: 600; font-size: 14px; margin-top: 6px; }

/* Products */
.products { display: grid; gap: 14px; }
.product { display: grid; grid-template-columns: auto 1fr; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.product-figs { display: flex; gap: 8px; align-items: flex-start; width: 328px; }
.product-figs img { width: 160px; height: 160px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.product-info { min-width: 0; }
.code { font-family: var(--head); font-weight: 700; color: var(--accent-ink); letter-spacing: .06em; font-size: 15px; margin: 0 0 2px; }
.product h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.product-info > p { color: var(--ink-2); margin-bottom: .3em; }
.material { font-size: 14px; margin-top: 8px !important; }
.material span { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 600; color: var(--muted); margin-right: 6px; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); white-space: nowrap; }
tbody th { font-weight: 600; white-space: nowrap; width: 1%; padding-right: 28px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Callout */
.callout { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 28px; }
.callout h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.callout p { color: var(--ink-2); max-width: 70ch; margin-bottom: 16px; }
.callout .btn { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--steel); color: #c3cad2; margin-top: 48px; padding-top: 40px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-weight: 500; }
.contact-lines a { color: #fff; }
.contact-lines.muted { color: #9aa3ad; font-style: italic; font-weight: 400; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; align-content: start; }
.footer-nav a { display: block; color: #c3cad2; text-decoration: none; font-size: 14.5px; padding: 2px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-nav .footer-head { color: #fff; font-family: var(--head); font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.legal { border-top: 1px solid #39424c; margin-top: 32px; padding-block: 16px; font-size: 13px; color: #9aa3ad; }

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 14px; }
  .product-figs { width: auto; }
  .product-figs img { width: 130px; height: 130px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-block: 48px 52px; }
  .nav a { padding: 6px 9px; font-size: 14px; }
  .nav .nav-cta { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}
