:root {
  color-scheme: light;
  --white: #fff;
  --yellow: #ffd24c;
  --highlight: #fff1ad;
  --ink: #222;
  --muted: #505050;
  --line: #ccc;
  --field: #777;
  --sans: Arial, sans-serif;
  --display: Georgia, serif;
  --small: 0.875rem;
  --gutter: clamp(1.1rem, 5vw, 5.5rem);
  --wide: 100rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  font: 1.0625rem/1.5 var(--sans);
}

#main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
::selection, mark { color: var(--ink); background: var(--highlight); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: var(--white);
}

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

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 4.6rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.85rem, 3.1vw, 3.15rem); }
h3 { font-size: 1.4rem; }
p { margin-block: 0 1rem; }
.note { color: var(--muted); max-width: 70ch; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 55ch; }
.eyebrow {
  color: var(--ink);
  font-size: var(--small);
  margin: 0 0 0.85rem;
}
.pn { font-weight: 700; overflow-wrap: anywhere; }

header.site { background: var(--white); color: var(--ink); border-bottom: 2px solid var(--ink); }
.masthead, .brand, header.site nav { display: flex; align-items: center; }
.masthead { justify-content: space-between; gap: 1.5rem; min-height: 5.6rem; }
.brand { gap: 1.1rem; color: inherit; text-decoration: none; flex: none; }
.brand-mark { background: var(--yellow); border-radius: 0.2em; padding: 0.05em 0.16em; display: inline-flex; gap: 0.03em; align-items: center; font: 400 clamp(2rem, 3.1vw, 3.3rem)/1 var(--display); }
.brand-mark img { width: 1.07cap; height: 1.07cap; }
.brand small { max-width: 23ch; font-size: var(--small); line-height: 1.35; }
header.site nav { gap: clamp(0.9rem, 2vw, 2.25rem); }
header.site nav a { position: relative; padding-block: 0.5rem; color: var(--ink); font-size: 1rem; text-decoration: none; }
header.site nav a:not([aria-current]):hover { text-decoration: underline; text-underline-offset: 0.4em; }
header.site nav a[aria-current] { font-weight: 700; }
header.site nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0.2rem;
  width: 1.5rem;
  height: 0.2rem;
  margin-inline: auto;
  border-radius: 99px;
  background: var(--yellow);
}
header.site nav .nav-cta { border: 1px solid var(--ink); border-radius: 99px; padding: 0.55rem 1rem; background: var(--white); }
header.site nav .nav-cta:not([aria-current]):hover { background: var(--highlight); text-decoration: none; }
.nav-toggle, .nav-toggle-label { display: none; }

.cta, form.rfq button, .search-box button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.73rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 3rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.cta:hover, form.rfq button:hover, .search-box button:hover { background: var(--highlight); color: var(--ink); }
.hero { background: var(--white); position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-content {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 4.5vw, 5.5rem);
  align-items: center; padding-block: clamp(2.5rem, 4.2vw, 4.8rem);
}
.hero .eyebrow { width: fit-content; padding-inline: 0.35em; background: var(--highlight); margin-bottom: 0.75rem; }
.hero h1 {
  font: 400 clamp(3rem, 5.55vw, 6rem)/1.04 var(--display);
  letter-spacing: -0.025em;
}
.intro { max-width: 41ch; margin: 1.05rem 0 1.25rem; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.search-box { width: 100%; max-width: 44rem; }
.search-box form { display: flex; gap: 0.3rem; padding: 0.24rem; background: #fff; border: 2px solid var(--ink); border-radius: 2.25rem; box-shadow: 3px 4px 0 var(--yellow); }
.search-box input[type="search"] { flex: 1; width: 0; min-width: 0; padding: 0.55rem 0 0.55rem 0.9rem; border: 0; border-radius: 2rem; background: white; color: var(--ink); }
.search-box button { padding: 0.55rem clamp(1.1rem, 2vw, 2rem); }
.search-examples { margin: 0.75rem 0 0 0.2rem; font-size: var(--small); }
.search-examples a { color: var(--ink); }
.hero-photo {
  width: 100%; margin: 0; padding: clamp(1rem, 2.3vw, 2.5rem);
  background: white; border-radius: 1rem;
}
.hero-photo img { width: 100%; height: auto; }
.make-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem 3rem;
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.make-group { flex: 1 1 17rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.make-logo { display: grid; align-items: center; min-height: 2.75rem; }
.make-logo img { width: clamp(7rem, 12vw, 10rem); height: auto; }
.make-series { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; }
.make-series a { display: inline-block; padding-block: 0.35rem; font-size: var(--small); }
.series-block:target .series-heading { box-shadow: inset 4px 0 var(--yellow); }

.directory { padding-block: clamp(2.4rem, 4.6vw, 5.2rem); }
.directory section + section { margin-top: clamp(2.5rem, 4.5vw, 5rem); }
.directory h2 { margin-bottom: clamp(1.1rem, 1.8vw, 1.8rem); }
.manufacturer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.manufacturer-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.5rem; overflow: hidden; padding: 1rem clamp(1rem, 2vw, 2.1rem);
  background: #fff; border: 2px solid var(--ink); border-radius: 1.55rem; box-shadow: 4px 5px 0 var(--yellow); color: var(--ink); text-decoration: none;
}
.manufacturer-card:hover, .component-list a:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.manufacturer-card img { justify-self: end; width: 100%; height: auto; max-height: 14rem; object-fit: contain; }
.manufacturer-card h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.manufacturer-card-label span { display: inline-block; margin-top: 0.65rem; font-size: var(--small); border-bottom: 1px solid; }
.component-list, .section-list { list-style: none; margin: 0; padding: 0; }
.component-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 11.5rem), 1fr)); gap: 1rem; }
.component-list a { height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: stretch; overflow: hidden; border: 2px solid var(--ink); border-radius: 1.25rem; background: white; text-align: center; text-decoration: none; color: var(--ink); }
.component-list a:hover span, .component-list a:focus-visible span { background: var(--highlight); }
.component-list img { width: 100%; height: 8.2rem; object-fit: contain; padding: 0.5rem; }
.component-list span { padding: 0.65rem; font-weight: 700; background: var(--white); border-top: 1px solid var(--line); }
.section { padding-block: clamp(1.3rem, 2.6vw, 2.5rem); }
.section h2 { margin-bottom: 1.1rem; }
.page-head, .part-header, .quote-band { background: var(--white); border: 2px solid var(--ink); border-radius: clamp(1.2rem, 2.5vw, 2.6rem); }
.technical-plate { padding: 1.15rem; margin: 0; min-width: 0; background: white; }
.technical-plate img { width: 100%; height: auto; object-fit: contain; }
.technical-plate figcaption { margin-top: 0.45rem; color: var(--muted); font-size: var(--small); text-align: center; }
.quote-band { display: grid; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; padding: clamp(1.25rem, 3vw, 3rem); }
.quote-band .technical-plate { border-radius: 1rem; }
.quote-band p { max-width: 48ch; margin-block: 0.7rem 1.15rem; }

.inner-page {
  padding-top: clamp(1rem, 2.3vw, 2.5rem);
}
.inner-page h1 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); }
.inner-page h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.inner-page .section { padding-block: clamp(1rem, 1.5vw, 1.5rem); }
.inner-page .section h2 { margin-bottom: 0.75rem; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.65rem;
  color: var(--muted);
  font-size: var(--small);
  margin-bottom: 1.2rem;
  overflow-wrap: anywhere;
}
.breadcrumbs a { color: var(--ink); }

.page-head, .part-header { padding: clamp(1rem, 2vw, 1.75rem); margin-bottom: 1rem; }
.page-head .lede, .part-header .lede { margin-top: 0.85rem; }
.page-head .lede:last-child { margin-bottom: 0; }
.page-head .search-box { margin: 1.35rem 0 0.7rem; }
.page-head .note { margin: 0; }
.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  padding: 0;
}
.feature-head-copy { padding: clamp(1.25rem, 4vw, 3.5rem); }
.feature-head, .part-header { overflow: hidden; }
.machine-photo { display: grid; align-items: center; padding: 0.75rem; margin: 0; background: white; align-self: stretch; }
.machine-photo img { width: 100%; height: auto; max-height: 22rem; object-fit: contain; }
.feature-head .technical-plate, .part-header .technical-plate { align-self: stretch; display: grid; align-content: center; }
.feature-head .technical-plate img, .part-header .technical-plate img { max-height: 14rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.75rem; }
.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.4rem;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  text-decoration: none;
}
.card:hover { background: var(--highlight); }
.card .title { color: var(--ink); font-weight: 700; text-decoration: underline; }
.card .meta { color: var(--muted); font-size: var(--small); margin-top: 0.15rem; }
.section-list li { border-bottom: 1px solid var(--line); }
.section-list a { display: block; padding-block: 0.7rem; }
.fitment-grid {
  overflow: hidden; border-radius: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}
.fitment-grid li { background: var(--white); }
.fitment-grid a { display: block; padding: 0.8rem 1rem; font-weight: 700; }
.fitment-grid a:focus-visible { outline-offset: -3px; }

.table-scroll { border-radius: 0.85rem; overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td {
  text-align: left;
  padding: 0.8rem clamp(0.65rem, 2.4vw, 1.6rem);
  vertical-align: top;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line);
}
table.data th { color: var(--ink); background: var(--white); font-size: var(--small); }
table.data tr:last-child td { border-bottom: 0; }
table.data a { font-weight: 700; }

.part-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  padding: 0;
}
.part-header-copy { padding: clamp(1.25rem, 4vw, 3.5rem); }
.part-header-text { grid-template-columns: minmax(0, 1fr); }
.part-sketch { width: 100%; }
.part-sketch figcaption { text-align: center; }
.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.45rem 1.2rem;
  margin: 1.25rem 0;
}
.facts dt { color: var(--muted); font-size: var(--small); }
.facts dd { margin: 0; }
.catalog-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.32fr); gap: clamp(1.2rem, 4vw, 3rem); }
.catalog-primary { min-width: 0; }
.catalog-aside {
  border-radius: 1.2rem;
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1rem, 2vw, 1.7rem);
  margin-top: clamp(1.3rem, 3vw, 2.8rem);
}
.catalog-aside h2 { margin-bottom: 0.8rem; }
.catalog-aside p { color: var(--muted); }

.series-block { border-radius: 1rem; overflow: hidden; background: var(--white); border: 1px solid var(--line); margin-bottom: 1rem; }
.series-heading { background: var(--white); padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); }
.family-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
}
.family-block h4 { font: 700 1rem var(--sans); margin: 0 0 0.5rem; }
.family-block ul { list-style: none; margin: 0; padding: 0; }
.family-block li { padding-block: 0.2rem; font-size: var(--small); }
.family-block a { color: var(--ink); }
.model-filter { max-width: 30rem; margin-bottom: 1rem; }
.model-filter label, form.rfq label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.model-filter .note { margin: 0.4rem 0 0; }
.model-filter .note:empty { margin: 0; }

.rfq { max-width: 36rem; scroll-margin-top: 1rem; }
.rfq-inline { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.rfq-inline h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
form.rfq button { margin-top: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
.field-grid .full-field { grid-column: 1 / -1; }
form.rfq .hint { font-size: var(--small); color: var(--muted); font-weight: 400; }
.model-filter input[type="search"], form.rfq :is(input:not([type="hidden"]), textarea, select) {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field);
  width: 100%;
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
}
form.rfq textarea { resize: vertical; }
.field-error { display: block; margin-top: 0.3rem; color: var(--ink); font-weight: 700; font-size: var(--small); }
.field-error ul { margin: 0; padding: 0; list-style: none; }
.form-error { background: var(--highlight); border-left: 3px solid var(--ink); color: var(--ink); font-weight: 700; padding: 0.8rem 1rem; }

.prose { max-width: 58rem; padding-top: clamp(2.5rem, 6vw, 6rem); }
.prose h1, .error-page h1 { margin-bottom: 1.2rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin: 1.85rem 0 0.65rem; }
.prose p, .prose li { max-width: 68ch; }
.prose.about-copy { padding-top: 0; }
.error-page { padding-block: clamp(3rem, 8vw, 7rem); }

footer.site {
  margin-top: clamp(3rem, 7vw, 6rem);
  background: var(--white);
  border-top: 4px solid var(--yellow);
  padding-block: clamp(2rem, 5vw, 4rem) 1.5rem;
}
.footer-cols { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.footer-col a { display: block; width: fit-content; color: inherit; text-decoration: none; padding-block: 0.15rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .footer-brand { font: 400 2.5rem/1 var(--display); margin-bottom: 0.85rem; }
.footer-heading { font-size: 1rem; font-weight: 700; margin-bottom: 0.55rem; }
footer.site .disclaimer { color: var(--muted); font-size: var(--small); max-width: 57ch; margin-bottom: 0; }
.footer-copy { color: var(--muted); margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--small); }

.page-head .note, .page-head .lede { color: var(--ink); }
.prose.about-copy ul { padding-left: 1.25rem; }
@media (max-width: 68rem) {
  header.site nav { gap: 0.9rem; }
  .brand small { max-width: 18ch; }
}
@media (max-width: 58rem) {
  .catalog-columns { grid-template-columns: minmax(0, 1fr); }
  .catalog-aside { margin-top: 0; }
  .masthead { flex-wrap: wrap; position: relative; column-gap: 0.65rem; row-gap: 0; padding-block: 1rem; min-height: 0; }
  .brand small { max-width: 28ch; }
  .nav-toggle { display: block; position: absolute; right: var(--gutter); opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .nav-toggle-label { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--ink); color: var(--ink); padding: 0.45rem 0.75rem; border-radius: 2rem; cursor: pointer; font-weight: 700; }
  .nav-toggle-label::before { content: ""; width: 0.95rem; height: 0.65rem; border-block: 2px solid; }
  .nav-toggle:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
  header.site nav { display: none; width: 100%; padding-top: 0.75rem; }
  .nav-toggle:checked ~ nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: 0.2rem 1rem; }
  .hero h1 { font-size: clamp(2.45rem, 5.4vw, 4.6rem); }
}
@media (max-width: 44rem) {
  .make-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .make-group { display: block; }
  .make-series { column-gap: 0.6rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 2rem; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 4rem); }
  .hero .intro { margin-block: 0.85rem; }
  .hero-photo { max-width: 30rem; justify-self: center; }
  .feature-head, .part-header, .quote-band { grid-template-columns: minmax(0, 1fr); }
  .machine-photo img { max-height: 16rem; }
  .quote-band .technical-plate { width: min(100%, 22rem); justify-self: center; }
  .component-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.75rem; }
  .component-list img { height: 6.8rem; }
  .manufacturer-card img { max-height: 9.5rem; }
}
@media (max-width: 35rem) {
  .brand { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .brand-mark { font-size: 1.75rem; }
  .brand small { max-width: 34ch; font-size: 0.8125rem; }
  .field-grid, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts { gap: 0.15rem; }
  .facts dd + dt { margin-top: 0.5rem; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 23rem) {
  .brand { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .brand small { max-width: 32ch; }
}
