:root {
  color-scheme: light;
  --ink: #102333;
  --muted: #4d6372;
  --navy: #081b28;
  --accent: #006354;
  --mint: #9ce7ce;
  --line: #d9e3e6;
  --paper: #f2f7f7;
  --measure: 1200px;
  font-family: "Inter", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.58; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #17a48e; outline-offset: 4px; }
.wrap { width: min(calc(100% - 64px), var(--measure)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .7rem 1rem; color: #fff; background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: clamp(18px, 4vw, 56px); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; }
.wordmark img { width: 45px; height: 43px; object-fit: contain; }
.wordmark > span { font-size: 27px; font-weight: 800; line-height: .98; letter-spacing: -.06em; }
.wordmark small { display: block; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .12em; margin-top: 7px; white-space: nowrap; }
nav { display: flex; gap: clamp(14px, 2.7vw, 34px); align-items: center; }
.header nav a { font-weight: 650; color: var(--muted); font-size: .92rem; padding: 12px 0; }
.header nav a:hover, .header nav a[aria-current] { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid transparent; border-radius: 6px; padding: 10px 18px; font-weight: 720; line-height: 1.3; font-size: .92rem; text-align: center; transition: background .18s, border-color .18s; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: #004a40; }
.secondary { border-color: var(--line); background: #fff; }
.secondary:hover { border-color: var(--accent); }
.hero {
  background: linear-gradient(90deg, #081b28 0%, #081b28ed 29%, #081b2870 55%, #081b2810 100%), #081b28 url("hero.webp") center 52% / cover no-repeat;
  color: #fff;
}
.hero-copy { padding-block: clamp(72px, 7vw, 96px); animation: enter .55s ease-out both; }
@keyframes enter { from { opacity: .6; transform: translateY(8px); } }
.eyebrow { margin: 0 0 13px; font-size: .72rem; font-weight: 800; letter-spacing: .15em; color: var(--accent); }
.eyebrow.on-dark { color: var(--mint); }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.046em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.9vw, 5.35rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.5vw, 1.13rem); color: #d8e7ed; max-width: 460px; margin: 21px 0 27px; }
.search { display: flex; max-width: 510px; padding: 5px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.search input { border: 0; color: var(--ink); background: transparent; min-width: 0; flex: 1; padding: 9px 12px; font-size: .93rem; }
.search .button { flex-shrink: 0; }
.categories { padding-block: 68px 78px; }
.section-heading, .quote-strip { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--accent); font-size: .94rem; font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-grid a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; min-height: 91px; padding: 15px 20px; border-right: 1px solid var(--line); transition: background .18s; }
.category-grid a:nth-child(3n) { border-right: 0; }
.category-grid a:nth-child(n+4) { border-top: 1px solid var(--line); }
.category-grid a:hover { background: var(--paper); }
.category-grid a > span:last-child { color: var(--accent); font-size: 1.1rem; }
.glyph { position: relative; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #137965; border-radius: 4px; color: #137965; }
.glyph::before { content: ""; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.glyph::after { content: ""; position: absolute; inset: 6px -5px; border-inline: 2px dotted currentColor; }
.glyph.micro { border-radius: 50%; }
.glyph.fpga::before { transform: rotate(45deg); }
.glyph.connector { width: 30px; height: 21px; }
.glyph.connector::before { width: 16px; height: 4px; border: 0; background: radial-gradient(circle, currentColor 1.5px, transparent 2px) 0 / 5px 4px; }
.about { background: var(--paper); padding-block: 70px; }
.about-inner { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.about img { width: 100%; height: auto; max-height: 350px; object-fit: cover; }
.about h2 { margin-bottom: 18px; }
.about p:not(.eyebrow), .quote-strip p { color: var(--muted); }
.quote-strip { padding-block: 60px; align-items: center; }
.quote-strip h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); margin-bottom: .5rem; }
.quote-strip p { margin: 0; }
.footer { background: var(--navy); color: #d8e6eb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 14px; font-size: .88rem; }
.footer-inner div { display: flex; flex-wrap: wrap; column-gap: 24px; }
.footer a { line-height: 2.2; }
.footer a:hover { text-decoration: underline; }
.page-intro { padding: 48px 0 52px; background: var(--navy); color: #fff; }
.page-intro h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin: 0 0 12px; }
.page-intro p:not(.eyebrow) { color: #d8e7ed; margin-bottom: 0; }
.catalog, .detail, .rfq { padding-block: 38px 68px; }
.filters { display: grid; grid-template-columns: 1fr minmax(210px, .55fr) auto auto; gap: 14px; align-items: end; margin-bottom: 20px; }
label { display: grid; gap: 5px; color: var(--ink); font-weight: 670; font-size: .91rem; }
label .field-name { display: block; }
label .optional { color: var(--muted); font-weight: 500; }
input, select, textarea { border: 1px solid #aebec4; border-radius: 6px; padding: 11px 12px; color: var(--ink); background: #fff; width: 100%; min-height: 46px; }
textarea { resize: vertical; }
#catalog-status { color: var(--muted); min-height: 1.55em; }
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { border: 1px solid var(--line); border-radius: 7px; padding: 12px; display: flex; flex-direction: column; gap: 5px; transition: border-color .18s; }
.product:hover { border-color: var(--accent); }
.product-image { display: grid; place-items: center; background: var(--paper); height: 140px; margin-bottom: 8px; border-radius: 4px; overflow: hidden; }
.product img { width: 100%; height: 140px; object-fit: contain; }
.product h3, .part-detail h1 { overflow-wrap: anywhere; }
.product small { color: var(--muted); }
.product .view { color: var(--accent); font-size: .86rem; font-weight: 750; margin-top: auto; }
.pagination { justify-content: center; margin-top: 30px; }
.part-detail { display: grid; grid-template-columns: minmax(200px, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); margin-top: 18px; }
.part-detail h1 { font-size: clamp(2.1rem, 4.2vw, 4rem); margin-bottom: 15px; }
.detail-image { display: grid; place-items: center; min-height: 290px; border-radius: 8px; background: var(--paper); padding: 24px; }
.detail-image img { object-fit: contain; max-height: 335px; }
.part-detail p:not(.eyebrow) { color: var(--muted); }
.detail dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 14px; align-items: baseline; margin: 22px 0; }
.detail dt, .detail dd { padding: 7px 0; margin: 0; }
.detail dt { font-weight: 700; }
.rfq { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 6vw, 80px); }
.rfq h2 { font-size: 1.65rem; margin-bottom: 12px; }
.rfq p { color: var(--muted); }
.rfq form { display: grid; gap: 16px; }
.rfq button { justify-self: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sales { align-self: start; background: var(--paper); border-radius: 8px; padding: 26px; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .wrap { width: min(calc(100% - 40px), var(--measure)); }
  .results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { background-position: 58% center; }
}
@media (max-width: 630px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-block: 12px 0; }
  .header nav { grid-row: 2; grid-column: 1 / -1; gap: 24px; }
  .header .button { padding-inline: 10px; }
  .hero { background-position: 64% center; background-image: linear-gradient(90deg, #081b28f7 0%, #081b28d4 58%, #081b2880 100%), url("hero.webp"); }
  .hero-copy { padding-block: 63px; }
  .hero-search input { padding-inline: 6px; font-size: .86rem; }
  .hero-search .button { padding-inline: 10px; }
  .section-heading, .quote-strip, .footer-inner { align-items: start; flex-direction: column; }
  .categories, .about, .quote-strip { padding-block: 48px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .category-grid a { position: relative; grid-template-columns: 1fr; gap: 8px; min-height: 104px; padding: 12px 9px; }
  .category-grid a .glyph { margin-left: 5px; }
  .category-grid a > span:last-child { position: absolute; top: 12px; right: 9px; }
  .category-grid a strong { font-size: .94rem; overflow-wrap: anywhere; }
  .category-grid a:nth-child(3n) { border-right: 1px solid var(--line); }
  .category-grid a:nth-child(2n) { border-right: 0; }
  .category-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-inner { justify-content: center; padding-block: 18px; }
  .about-inner, .rfq, .part-detail { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr auto; }
  .filters label { grid-column: 1 / -1; }
  .filters .clear { justify-content: center; padding-inline: 12px; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product { padding: 8px; }
  .product-image, .product img { height: 112px; }
  .product h3 { font-size: 1rem; }
  .field-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.information { padding-block: clamp(32px, 5vw, 72px); }
.information h2, .inquiry h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.information section > p { max-width: 72ch; }
.information p + h2 { margin-top: 2.4rem; }
.information dl { max-width: 680px; }
.information dt { margin-top: 1.25rem; font-weight: 700; }
.information dd { margin: .3rem 0 1.2rem; }
.info-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px,100%),1fr)); gap: 32px; }
.directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr)); gap: 0 22px; margin-block: 24px; }
.directory a { padding: 15px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--accent); font-weight: 700; }
.directory a:hover, .questions a:hover { text-decoration: underline; }
.questions details { max-width: 800px; border-bottom: 1px solid var(--line); }
.questions summary { padding: 18px 0; font-weight: 700; cursor: pointer; }
.questions a { color: var(--accent); text-decoration: underline; }
.inquiry { padding-block: 26px; border-bottom: 1px solid var(--line); }
.multiline { white-space: pre-wrap; overflow-wrap: anywhere; }
.part-info { padding-block: 30px; }
.part-info dt { width: 100%; overflow-wrap: anywhere; }
.part-info dd { overflow-wrap: anywhere; }
.part-info .photo-row { display:flex; gap:12px; flex-wrap:wrap; }
.part-info .photo-row img { max-width: 140px; height:100px; object-fit:contain; background:var(--paper); }
.footer-inner { flex-wrap:wrap; padding-block:20px; }
.footer-inner div { flex-wrap:wrap; }
@media (max-width:630px) {
  .header nav { width:100%; flex-wrap:wrap; gap:0 16px; }
  .header nav a { font-size:.85rem; }
  .footer-inner div { gap:4px 14px; }
  .detail dl { grid-template-columns:1fr; }
}
.rfq-actions { display:flex; flex-wrap:wrap; gap:10px; }
#quote-status { white-space:pre-wrap; margin-top:15px; }
.header .menu { position:relative; z-index:5; }
.menu summary { cursor:pointer; color:var(--muted); font-size:.92rem; font-weight:650; padding:12px 0; }
.header .menu > div { position:absolute; top:100%; right:0; display:grid; min-width:200px; background:#fff; border:1px solid var(--line); box-shadow:0 8px 25px #07172026; padding:5px 12px; border-radius:6px; }
.header .menu > div a { padding:7px 4px; }
.header .menu > div a:hover { background:var(--paper); }
@media (max-width:630px) { .menu summary { font-size:.85rem; } .header .menu > div { right:0; } }
@media (min-width: 900px) { .filters { grid-template-columns: minmax(200px,1fr) minmax(170px,.65fr) minmax(170px,.65fr) auto auto; } }
@media (min-width:631px) and (max-width:899px) { .filters { grid-template-columns: 1fr 1fr; } }
.part-info h2 { margin-block:22px 12px; font-size:1.6rem; }
.part-info dl { display:grid; grid-template-columns:minmax(120px,1fr) 2fr; max-width:850px; }
.part-info p { max-width:75ch; }
.part-info { overflow-wrap:anywhere; }
@media (max-width: 375px) {
  .header-inner { grid-template-columns:minmax(0,1fr) auto; gap:0 6px; }
  .wordmark { gap:5px; }
  .wordmark > span { font-size:1.25rem; }
  .wordmark img { width:32px; height:32px; }
  .wordmark small { display:none; }
  .header .button { font-size:.81rem; padding-inline:8px; }
}
@media (max-width: 630px) {
  .header nav { position:relative; justify-content:space-between; flex-wrap:nowrap; gap:5px; }
  .header .menu { position:static; }
  .header .menu > div { top:100%; left:auto; right:0; z-index:6; }
}
.part-info dd { display:block; }
