/* ============================================================
   SC MFG. GROUP INC. — dba Hidalgo Metals Enterprise Ltd.
   Website refresh 2026.
   Type and colour follow the 2026 product catalogues.
   ============================================================ */

/* ── fonts (self-hosted, no external requests) ───────────── */

@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #16181c;
  --ink-2: #1e2127;
  --navy: #2e3266;
  --navy-700: #252a55;
  --navy-500: #3c417d;
  --blue: #3e6ea8;
  --blue-400: #6e9bd1;
  --blue-200: #a8c2e0;

  --paper: #ffffff;
  --paper-2: #f2f3f7;
  --paper-3: #e4e7ef;
  --rule: #d6d9e2;

  --text: #2b2e33;
  --muted: #6b7280;
  --muted-2: #8f96a3;

  --radius: 4px;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);

  --shadow-sm: 0 1px 2px rgba(22, 24, 28, .06), 0 2px 8px rgba(22, 24, 28, .05);
  --shadow-md: 0 16px 34px -16px rgba(22, 24, 28, .32), 0 2px 8px rgba(22, 24, 28, .06);

  --display: "Oswald", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --body: "Lato", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", "SFMono-Regular", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  color: var(--navy);
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.16rem; letter-spacing: .02em; }
h4 { font-family: var(--body); font-size: 1rem; margin: 0 0 .3em; color: var(--navy); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.mono {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 0; color: #fff; }

/* ── header ──────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 88px; padding-block: 6px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 48px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.38rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
}
.brand-text small {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: .1rem;
}

/* Every item carries the same inline padding and the gap is zero, so the rhythm
   stays even even though one item is wider than its text (see .nav-new). */
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  white-space: nowrap;
  padding: .35rem 1.55rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--blue); }
/* The new-products link carries a sub-label naming the two families.
   It hangs below the link so the label itself stays on the same line as its neighbours. */
/* The sub-label is sized to sit inside the item's own padded box, so it needs
   no extra spacing of its own and the nav rhythm stays even. */
.site-nav .nav-new { position: relative; }
.site-nav .nav-new span {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .47rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.site-nav .nav-new:hover span { color: var(--blue-200); }

.site-nav .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: .55rem 1.2rem;
  border-bottom: 0;
}
.site-nav .nav-cta:hover { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 18px; height: 2px; background: #fff;
  margin-inline: auto; position: relative; transition: transform .2s ease;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 520px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1.1rem; letter-spacing: .06em; }
  .brand-mark { width: 40px; }
  .header-inner { min-height: 68px; }
  .site-nav { inset-block-start: 68px; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 88px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: .5rem var(--gut) 1.4rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: .95rem 0; font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-nav .nav-cta { padding: .8rem 1.2rem; }
  .site-nav a[aria-current="page"] { color: var(--blue-400); border-bottom-color: rgba(255, 255, 255, .08); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; }
  /* in the stacked mobile menu the sub-label sits inline under the link */
  .site-nav .nav-new { display: flex; flex-direction: column; padding-inline: 0; }
  .site-nav .nav-new span { position: static; transform: none; margin-top: .25rem; font-size: .6rem; }
}

/* ── buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .85rem 1.7rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ── hero ────────────────────────────────────────────────── */

.hero {
  position: relative;
  /* Flat, like the catalogue covers — vector only, so it stays sharp at any size. */
  background:
    radial-gradient(80% 120% at 82% -10%, rgba(62, 110, 168, .28) 0%, transparent 60%),
    radial-gradient(60% 90% at 8% 110%, rgba(46, 50, 102, .35) 0%, transparent 62%),
    var(--ink);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { color: #fff; }
.hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: rgba(255, 255, 255, .75); max-width: 52ch; }
.hero .mono { color: var(--blue-400); display: block; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-media { position: relative; }
.hero-media img { width: 100%; }
.hero-tag {
  position: absolute; left: -10px; bottom: -16px;
  background: var(--blue);
  color: #fff;
  padding: .7rem 1.1rem;
  line-height: 1.15;
}
.hero-tag strong { display: block; font-family: var(--display); font-size: 1.5rem; color: #fff; }
.hero-tag span { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
}

.hero-figures { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.6rem; }
.figure strong {
  display: block;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}
.figure span { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-400); }

/* page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(70% 130% at 88% -20%, rgba(62, 110, 168, .26) 0%, transparent 62%),
    var(--ink);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(2.4rem, 5vw, 3.8rem);
  border-bottom: 3px solid var(--blue);
  position: relative;
}
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero p { max-width: 68ch; }
.page-hero .mono { color: var(--blue-400); display: block; margin-bottom: 1rem; }
.page-hero .badge { margin-bottom: 1.2rem; }
.page-hero p strong { color: #fff; }

/* ── sections ────────────────────────────────────────────── */

.section { padding-block: clamp(3rem, 6.5vw, 5rem); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .74); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy .mono, .section-dark .mono { color: var(--blue-400); }

.section-head { margin-bottom: 2.4rem; }
.section-head .mono { display: block; margin-bottom: .9rem; }
.section-head h2 { max-width: 20ch; }
.section-head p { color: var(--muted); max-width: 64ch; font-size: 1.04rem; }
.section-dark .section-head p, .section-navy .section-head p { color: rgba(255, 255, 255, .68); }

/* rule under a heading, like the catalogue */
.rule-head {
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 3px solid var(--navy);
  padding-bottom: .7rem;
  margin-bottom: 1.8rem;
}
.rule-head h2, .rule-head h3 { margin: 0; }
.rule-head .num { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); }
.rule-head .right { margin-left: auto; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.section-dark .rule-head, .section-navy .rule-head { border-bottom-color: var(--blue-400); }
@media (max-width: 640px) { .rule-head .right { display: none; } }
.section-dark .rule-head .right, .section-navy .rule-head .right { color: var(--blue-200); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.lede-lg { font-size: 1.14rem; }

/* four spec cells, as on catalogue page 02 */
.cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
.cell { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.cell:nth-child(odd) { padding-right: clamp(1rem, 3vw, 2.5rem); border-right: 1px solid var(--rule); }
.cell:nth-child(even) { padding-left: clamp(1rem, 3vw, 2.5rem); }
.cell .mono { display: block; margin-bottom: .45rem; }
.cell p { font-size: .99rem; margin: 0; }
@media (max-width: 700px) {
  .cells { grid-template-columns: 1fr; }
  .cell:nth-child(odd) { padding-right: 0; border-right: 0; }
  .cell:nth-child(even) { padding-left: 0; }
}

/* ── stat strip ──────────────────────────────────────────── */

.stats { position: relative; background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.5rem clamp(1rem, 2.4vw, 2rem); border-left: 1px solid rgba(255, 255, 255, .16); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-200); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 430px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .stat:first-child { border-top: 0; }
}

/* ── product / category cards ────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.item { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.item:hover .item-img { border-color: var(--blue); }
a.item:hover h3 { color: var(--blue); }

.item-img {
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .18s ease;
}
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-img.contain { background: #fff; }
.item-img.contain img { object-fit: contain; padding: 6%; }
.item-img.wide { aspect-ratio: 4 / 3; }

/* placeholder tile for families we do not show a photograph for */
.item-img.tile, .detail-img.tile {
  display: grid;
  place-items: center;
  gap: .6rem;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 60%, var(--ink-2) 100%);
  border-color: var(--navy);
  text-align: center;
  padding: 1.5rem;
}
.detail-img.tile { aspect-ratio: 1 / 1; }
.item-img.tile .mono, .detail-img.tile .mono { color: var(--blue-200); }
.item-img.tile img, .detail-img.tile img { width: 54px; height: auto; opacity: .95; }

.item-code {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  color: var(--blue);
  margin-top: .9rem;
}
.item-code .n { color: var(--muted-2); font-size: .78rem; }
.item h3 { font-size: 1rem; margin: .25rem 0 .1rem; letter-spacing: .02em; transition: color .18s ease; }
.item p { font-size: .92rem; color: var(--muted); margin: 0; }

.cat-more {
  margin-top: .7rem;
  font-family: var(--display);
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
a.item:hover .cat-more { color: var(--navy); }

/* the two new families read larger than the standard range cards */
.grid-2 .item h3 { font-size: 1.35rem; margin-top: .4rem; }
.grid-2 .item p { font-size: .98rem; }

/* cards sitting on a dark section */
.section-dark .item h3, .section-navy .item h3 { color: #fff; }
.section-dark .item p, .section-navy .item p { color: rgba(255, 255, 255, .66); }
.section-dark .item-img, .section-navy .item-img {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
}
.section-dark .item-code, .section-navy .item-code { color: var(--blue-400); }
.section-dark .item-code .n, .section-navy .item-code .n { color: rgba(255, 255, 255, .5); }
.section-dark .cat-more, .section-navy .cat-more { color: var(--blue-400); }
.section-dark a.item:hover h3, .section-navy a.item:hover h3,
.section-dark a.item:hover .cat-more, .section-navy a.item:hover .cat-more { color: #fff; }
.section-dark a.item:hover .item-img, .section-navy a.item:hover .item-img { border-color: var(--blue-400); }

/* card variant with a body block */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.card-navy { background: var(--navy); color: rgba(255, 255, 255, .82); border: 0; }
.card-navy h3, .card-navy h2 { color: #fff; }
.card-navy .mono { color: var(--blue-200); }

/* ── product detail blocks ───────────────────────────────── */

.detail {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 110px;
}
.detail:first-of-type { border-top: 0; padding-top: 0; }
/* every detail image occupies the same box, so the column lines up down the page */
.detail-img {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 820px) { .detail { grid-template-columns: 1fr; } }

.speclist { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.speclist li { position: relative; padding-left: 1.5rem; font-size: .99rem; }
.speclist li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: .75rem; height: 2px; background: var(--blue);
}

.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.pill {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: .35rem .8rem; color: var(--navy);
}
.section-dark .pill, .section-navy .pill { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); }

/* linked pills take the Contact-button blue on hover; label-only pills don't react */
a.pill { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
a.pill:hover,
.section-dark a.pill:hover, .section-navy a.pill:hover,
.page-hero a.pill:hover, .hero a.pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── tables ──────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; border-top: 3px solid var(--navy); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
thead th {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 400;
  padding: .8rem .9rem; text-align: left;
  border-bottom: 1px solid var(--rule);
}
tbody td, tbody th { padding: .72rem .9rem; text-align: left; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
tbody th { font-weight: 700; color: var(--navy); }
td.code, th.code { font-family: var(--mono); font-size: .8rem; color: var(--blue); letter-spacing: .04em; }
td.num, th.num { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); width: 3rem; }
td.right { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: var(--paper-2); }

/* snow retention: both photographs occupy an identical box */
.snow-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
}
.snow-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* spec rows, catalogue style */
.spec-rows { margin: 1.2rem 0 0; }
.spec-rows > div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: .92rem;
}
.spec-rows dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-200); }
.spec-rows dd { margin: 0; font-family: var(--mono); font-size: .82rem; color: #fff; text-align: right; }

/* ── collapsible part reference ──────────────────────────── */

.ref-toggle { border: 1px solid var(--rule); background: var(--paper-2); }
.ref-toggle > summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  position: relative;
}
.ref-toggle > summary::-webkit-details-marker { display: none; }
.ref-toggle > summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
}
.ref-toggle[open] > summary::after { content: "\2013"; }
.ref-toggle > summary:hover { background: #fff; }
.ref-label { font-family: var(--display); font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.ref-hint { font-size: .9rem; color: var(--muted); padding-right: 2.5rem; }
.ref-toggle[open] { background: #fff; }
.ref-toggle > *:not(summary) { padding-inline: 1.4rem; }
.ref-toggle > *:last-child { padding-bottom: 1.6rem; }

/* ── product detail pages: table sub-headings, fine print ── */

.tbl-head {
  font-family: var(--display); font-size: 1rem; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
  margin: 1.9rem 0 .8rem;
}
.ref-toggle .tbl-head:first-of-type { margin-top: .5rem; }
p.fine { font-size: .87rem; line-height: 1.62; color: var(--muted); margin: 1.1rem 0 0; max-width: 78ch; }

/* dimension tables: never break a fraction across two lines - scroll instead */
table.dims { min-width: 0; }
table.dims tbody th, table.dims tbody td { white-space: nowrap; }

/* ── hero with downloads alongside ───────────────────────── */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }

.hero-dl { display: flex; flex-direction: column; gap: .7rem; }
.hero-dl > .mono { color: var(--blue-400); margin-bottom: .2rem; }
.hero-dl .dl-note { font-size: .84rem; color: rgba(255, 255, 255, .6); margin: .3rem 0 0; }
.hero-dl .dl-note a { color: #fff; }

/* Scoped to .hero-dl so these win over the light .dl card further down. */
.hero-dl .dl-compact {
  padding: .9rem 1.1rem;
  gap: .85rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 3px solid var(--blue);
}
.hero-dl .dl-compact:hover { background: rgba(255, 255, 255, .13); border-left-color: var(--blue-400); }
.hero-dl .dl-compact .dl-icon { width: 26px; height: 32px; }
.hero-dl .dl-compact .dl-icon svg { stroke: var(--blue-400); }
.hero-dl .dl-compact h3 { font-size: .98rem; color: #fff; margin: 0 0 .25rem; }
.hero-dl .dl-compact .dl-meta { color: var(--blue-200); font-size: .66rem; }

/* ── downloads ───────────────────────────────────────────── */

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }

.dl {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--blue);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dl:hover { border-left-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
@media (prefers-reduced-motion: reduce) { .dl:hover { transform: none; } }

.dl-icon { flex: none; width: 34px; height: 42px; }
.dl-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dl-body { min-width: 0; }
.dl-body .mono { display: block; margin-bottom: .35rem; }
.dl-body h3 { font-size: 1.06rem; margin: 0 0 .3rem; }
.dl-body p { font-size: .93rem; color: var(--muted); margin: 0 0 .5rem; }
.dl-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

.section-dark .dl, .section-navy .dl { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.section-dark .dl h3, .section-navy .dl h3 { color: #fff; }
.section-dark .dl p, .section-navy .dl p { color: rgba(255, 255, 255, .66); }

/* ── callouts ────────────────────────────────────────────── */

.callout {
  border-left: 4px solid var(--blue);
  background: var(--paper-2);
  padding: 1.1rem 1.4rem;
  font-size: .98rem;
}
.callout strong { color: var(--navy); }
.callout-blue { background: var(--blue); color: #fff; border-left-color: #fff; }
.callout-blue strong { color: #fff; }

/* ── how we work block ───────────────────────────────────── */

.work-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.work-grid > h2 { grid-row: span 2; max-width: 12ch; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid > h2 { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.step { padding: 1.3rem clamp(1rem, 2.5vw, 2rem) 0; border-left: 1px solid var(--rule); }
.step:first-child { border-left: 0; padding-left: 0; }
.step .mono { display: block; margin-bottom: .5rem; }
.step p { font-size: .97rem; margin: 0; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .step:first-child { border-top: 0; }
}

/* ── new products teaser ─────────────────────────────────── */

.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }
.teaser-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.teaser-imgs img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.badge {
  display: inline-block;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--blue); color: #fff; padding: .3rem .8rem; margin-bottom: 1rem;
}

/* ── offices / contact ───────────────────────────────────── */

.office { border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.office h3 { margin-bottom: .1rem; }
.office .mono { display: block; margin-bottom: .9rem; }
.office address { font-style: normal; font-size: .96rem; line-height: 1.75; color: var(--muted); }
.office address a { color: var(--navy); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.office address a:hover { color: var(--blue); text-decoration: underline; }
.office .lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); display: inline-block; min-width: 3.6rem; }

/* form */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--blue); }
.field input, .field textarea {
  font-family: var(--body); font-size: .97rem;
  padding: .7rem .85rem;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--text);
  border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ── contact strip / CTA ─────────────────────────────────── */

.cta {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .2rem; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: var(--blue-200); color: var(--navy); }

.contact-bar {
  background: var(--navy);
  color: #fff;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
}
.contact-bar .mono { color: var(--blue-200); display: block; }
.contact-bar strong { font-family: var(--display); font-size: 1.7rem; color: #fff; display: block; line-height: 1.1; }
.contact-bar span.role { font-size: .92rem; color: rgba(255, 255, 255, .75); }
.contact-bar .right { text-align: right; font-family: var(--mono); font-size: .84rem; line-height: 1.9; }
.contact-bar .right a { color: #fff; text-decoration: none; }
.contact-bar .right a:hover { color: var(--blue-200); }
@media (max-width: 620px) { .contact-bar .right { text-align: left; } }

/* ── footer ──────────────────────────────────────────────── */

.site-footer { background: var(--ink); color: var(--muted-2); padding-block: 3rem 1.6rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 1rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-links a, .footer-grid address a { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.foot-links a:hover, .footer-grid address a:hover { color: #fff; }
.footer-grid address { font-style: normal; font-size: .9rem; line-height: 1.8; }
.foot-about { font-size: .92rem; line-height: 1.75; margin-top: 1rem; max-width: 36ch; color: rgba(255, 255, 255, .6); }
.foot-legal {
  padding-top: 1.4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; text-transform: uppercase;
}

/* ── reveal ──────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

@media print {
  .site-header, .site-nav, .cta, .skip { display: none; }
  body { font-size: 12pt; }
}

/* detail-page hero with the tables download card on the right */
.page-hero .wrap.detail-hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.detail-hero .hero-dl { margin: 0; }
@media (max-width: 860px) {
  .page-hero .wrap.detail-hero { grid-template-columns: 1fr; }
  .detail-hero .hero-dl { margin-top: 1.6rem; max-width: 400px; }
}

/* ── engineering drawings in reference blocks ────────────── */
/* Line art recovered from the original site: dimension letters and
   numbered part callouts that the tables below refer to. */
.dwg {
  margin: 0 0 1.4rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: flex-start;
}
.dwg img {
  /* upscaled ~1.5x from the originals; smooth interpolation reads better
     than pixelation on scanned line art */
  max-width: 100%;
}
.dwg figcaption {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
