:root {
  --ink: #1c232b;
  --panel: #252e38;
  --yellow: #f6cb49;
  --paper: #f5f6f7;
  --white: #fff;
  --muted: #525d69;
  --line: #dbe0e5;
  --sans: "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ad7500; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 2; background: var(--yellow); padding: 12px; }
.shell { width: min(100% - 80px, 1320px); margin-inline: auto; }
.header { background: var(--ink); color: var(--white); }
.header-inner { display: flex; min-height: 74px; align-items: center; gap: 32px; border-bottom: 1px solid #424b55; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; white-space: nowrap; }
.brand-icon { width: 38px; height: 39px; display: grid; place-items: center; padding: 4px 6px; border-radius: 5px; background: var(--yellow); }
.brand-icon img { max-height: 100%; }
.brand-secondary { font-weight: 600; font-size: 13px; letter-spacing: .09em; }
.header nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.header nav a { color: #e1e5e9; font-weight: 600; font-size: 14px; }
.header nav a:hover, .header-contact:hover { color: var(--yellow); }
.header-contact { font: 600 14px var(--mono); white-space: nowrap; padding: 9px 13px; border: 1px solid #5b6570; border-radius: 5px; }
.hero { background: var(--ink); color: var(--white); overflow: clip; border-bottom: 4px solid var(--yellow); }
.hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(36px, 5.5vw, 86px); padding-block: clamp(48px, 6vw, 88px); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px/1.25 var(--mono); letter-spacing: .09em; color: #d1d7de; }
.signal { display: inline-block; width: 19px; height: 5px; background: var(--yellow); flex: none; }
.edition { border: 1px solid #59636f; border-radius: 3px; padding: 3px 6px; margin-left: 2px; color: var(--yellow); letter-spacing: .035em; }
.hero h1 { margin-top: 19px; font-weight: 800; font-size: clamp(37px, 4.65vw, 72px); letter-spacing: -.06em; line-height: 1.02; max-width: 13ch; }
.hero h1 span { color: var(--yellow); }
.hero p { margin-top: 22px; color: #d6dce3; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.button { min-height: 48px; display: inline-flex; gap: 10px; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 6px; padding: 10px 16px; font-weight: 700; font-size: 14px; transition: background-color .15s, border-color .15s; }
.primary { background: var(--yellow); color: #1a2028; }
.primary:hover { background: #ffda65; }
.outline { border-color: #6b7580; color: var(--white); background: transparent; }
.outline:hover { background: #323e4a; }
.dark { background: var(--ink); color: var(--white); }
.dark:hover { background: #35404c; }
.hero-display {
  position: relative; display: grid; grid-template-columns: 1.28fr 1fr; gap: 10px;
  padding: 16px 16px 12px;
  border: 1px solid #54606d; border-radius: 11px;
  background-color: #26313c;
  background-image: linear-gradient(#35414d 1px, transparent 1px), linear-gradient(90deg, #35414d 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-photo { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding-top: 11px; border-radius: 6px; overflow: hidden; background: #e3e3e3; color: var(--ink); }
.hero-photo:hover .photo-label { background: var(--yellow); }
.hero-photo img { width: 100%; height: clamp(154px, 19vw, 292px); object-fit: contain; }
.photo-label { display: flex; align-items: center; min-height: 49px; gap: 7px; padding: 8px; background: #f0f1f2; font-size: clamp(10px, 1.05vw, 14px); font-weight: 700; line-height: 1.15; transition: background-color .15s; }
.tile-number { color: #45505b; font: 700 10px var(--mono); }
.photo-label .icon { width: 15px; height: 15px; margin-left: auto; }
.display-index { grid-column: 1/-1; display: flex; align-items: center; gap: 8px; color: #dae1e8; font: 700 10px var(--mono); letter-spacing: .12em; }
.display-index span { height: 1px; width: 23px; background: var(--yellow); }
.catalog { padding-block: 57px 66px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-index { color: var(--muted); font-size: 11px; }
.catalog h2, .footer h2 { font-size: clamp(32px, 4.25vw, 55px); letter-spacing: -.055em; font-weight: 800; margin-top: 10px; }
.search { min-height: 51px; display: flex; align-items: center; width: min(100%, 390px); padding: 0 13px; gap: 9px; border: 1px solid #b9c2cb; border-radius: 7px; background: var(--white); }
.search:focus-within { border-color: #a57108; outline: 2px solid #f6cb49; }
.search > .icon { color: var(--muted); }
.search input { outline: none; border: none; background: none; min-width: 0; width: 100%; padding: 9px 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search button, .dialog-bar button { display: grid; place-items: center; border: none; padding: 5px; border-radius: 4px; background: none; }
.search button:hover, .dialog-bar button:hover { background: #e6e9ed; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filter { min-height: 40px; padding: 7px 12px; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; font-weight: 650; }
.filter:hover { border-color: #8f98a2; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { font: 600 11px var(--mono); margin-left: 5px; color: var(--muted); }
.filter[aria-pressed="true"] .filter-count { color: var(--yellow); }
.results-heading { margin: 21px 0 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.product-card { display: flex; min-width: 0; height: 100%; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.product-card:hover { border-color: #a77815; }
.card-photo { height: 170px; padding: 12px; background: #fff; display: grid; place-items: center; border-bottom: 1px solid #edf0f2; }
.card-photo img { width: 100%; height: 100%; max-height: 145px; object-fit: contain; }
.card-info { padding: 13px 14px 14px; display: flex; flex: 1; align-items: flex-start; flex-direction: column; }
.card-meta { color: var(--muted); font-size: 11px; font-weight: 650; margin-bottom: 7px; }
.code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 4px 7px; border-radius: 3px; background: #fbe9aa; color: var(--ink); font: 700 11px/1.3 var(--mono); margin-bottom: 8px; }
.card-info h3 { font-size: clamp(15px, 1.55vw, 19px); line-height: 1.25; overflow-wrap: anywhere; }
.card-cta { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 15px; color: #4a5560; font-size: 13px; font-weight: 700; }
.card-cta .icon { width: 16px; height: 16px; }
.more-row { display: flex; justify-content: center; margin-top: 24px; }
.empty-state { text-align: center; border: 1px dashed #a7b2bd; border-radius: 8px; padding: 42px 16px; }
.empty-state p { margin: 8px 0 16px; color: var(--muted); }
.footer { background: var(--ink); color: var(--white); }
.footer-main { padding-block: 48px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.footer-main p { color: #d6dce3; margin-top: 12px; }
.footer-links { display: grid; gap: 5px; color: var(--yellow); font-weight: 700; font-size: clamp(17px, 2vw, 25px); overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { padding-block: 14px 21px; display: flex; gap: 12px 25px; flex-wrap: wrap; align-items: center; border-top: 1px solid #4b5662; color: #d6dce3; font-size: 13px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 5px; }
.footer-bottom a:last-child { margin-left: auto; }
.footer-bottom .icon { width: 15px; height: 15px; }
dialog { width: min(920px,calc(100% - 28px)); max-height: min(92vh,100% - 28px); margin: auto; padding: 0; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; overscroll-behavior: contain; }
dialog::backdrop { background: #141b24b8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 47px; padding: 5px 17px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 13px; font-weight: 700; }
.dialog-content { padding: 20px; }
.detail-main { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 22px; }
.detail-image { display: grid; place-items: center; height: 265px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; }
.detail-image img { width: 100%; height: 100%; max-height: 243px; object-fit: contain; }
.thumbnails { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumbnail { border-radius: 4px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.thumbnail[aria-pressed="true"] { border-color: #ad7500; box-shadow: inset 0 0 0 1px var(--yellow); }
.thumbnail img { width: 48px; height: 38px; object-fit: contain; }
.detail-main h2 { font-size: clamp(21px,3.2vw,34px); line-height: 1.12; overflow-wrap: anywhere; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 14px; }
.pdf-link { text-decoration: underline; text-underline-offset: 3px; font-size: 13px; color: var(--muted); }
.note { padding: 10px; margin-top: 15px; background: #fff4cc; border-radius: 5px; font-size: 14px; }
.details, .diagrams { margin-top: 18px; }
.details h3, .diagrams h3 { font-size: 18px; margin-bottom: 9px; }
.details dl { margin: 0; font-size: 14px; }
.spec { border-top: 1px solid #e5e8eb; padding: 7px 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 9px; }
.spec dt { color: var(--muted); font-weight: 600; }
.spec dd { margin: 0; overflow-wrap: anywhere; }
.spec-prose { display: block; }
.diagrams figure { margin: 12px 0 0; }
.diagrams img { margin-inline: auto; max-height: 660px; object-fit: contain; }
.diagrams figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 5px; }
.size-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.size-table th, .size-table td { padding: 6px 10px; border: 1px solid var(--line); }
.size-table thead { background: #fbe9aa; }
.size-table tbody tr:nth-child(even) { background: var(--paper); }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 36px); }
  .hero-layout { grid-template-columns: 1fr; padding-block: 34px 29px; gap: 25px; }
  .hero h1 { max-width: 16ch; font-size: clamp(39px, 8vw, 60px); }
  .hero-display { max-width: 580px; }
  .hero-photo img { height: clamp(125px, 32vw, 235px); }
  .photo-label { min-height: 40px; font-size: 12px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 13px; }
  .search { width: 100%; max-width: 470px; }
  .catalog { padding-block: 36px 49px; }
}
@media (max-width: 620px) {
  .header-contact { display: none; }
}
@media (max-width: 570px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 61px; gap: 12px; }
  .header nav { gap: 13px; }
  .header nav a { font-size: 13px; }
  .header-contact { display: none; }
  .brand { font-size: 15px; gap: 7px; }
  .brand-secondary { font-size: 10px; }
  .brand-icon { width: 32px; height: 35px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 50px); }
  .hero p { margin-top: 15px; }
  .hero-actions { margin-top: 19px; }
  .button { min-height: 44px; padding-inline: 12px; gap: 7px; font-size: 13px; }
  .hero-display { padding: 8px; gap: 7px; }
  .photo-label { font-size: 10px; }
  .photo-label .icon { width: 12px; height: 12px; }
  .desktop-break { display: none; }
  .filters { gap: 6px; margin-top: 13px; }
  .filter { padding: 6px 8px; min-height: 36px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .card-photo { height: 121px; padding: 8px; }
  .card-photo img { max-height: 102px; }
  .card-info { padding: 9px; }
  .card-info h3 { font-size: 15px; }
  .card-meta { font-size: 10px; }
  .footer-main { align-items: start; flex-direction: column; gap: 17px; padding-block: 32px; }
  .detail-main { grid-template-columns: 1fr; gap: 14px; }
  .dialog-content { padding: 13px; }
  .detail-image { height: 190px; }
  .detail-image img { max-height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


.product-content { padding-block: 28px 46px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.breadcrumbs a:hover, .product-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-sheet { background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: clamp(14px, 3vw, 32px); }
.product-sheet .detail-main { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 54px); }
.product-sheet .detail-image { height: clamp(235px, 32vw, 425px); }
.product-sheet .detail-image img { max-height: 100%; min-height: 0; }
.product-sheet h1 { font-size: clamp(25px, 3.8vw, 48px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.product-sheet .details h2, .product-sheet .diagrams h2 { font-size: 19px; margin-bottom: 10px; }
.product-diagrams { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 18px; }
.product-diagrams .size-table { max-width: 620px; }
.product-back { display: inline-block; margin-top: 17px; color: var(--muted); font-weight: 700; }
.product-footer { padding-block: 20px; border-top: 0; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .product-sheet .detail-main { grid-template-columns: minmax(0, 1fr); }
  .product-content { padding-top: 18px; }
  .product-footer a:last-child { margin-left: 0; }
}

.quote-dialog { width: min(540px, calc(100% - 28px)); }
.quote-dialog .dialog-bar { padding: 7px 16px; }
.quote-dialog .dialog-bar h2 { color: var(--ink); font-size: 19px; }
.quote-dialog .dialog-bar button { width: 34px; height: 34px; font-size: 25px; line-height: 1; }
.quote-content > p { color: var(--muted); font-size: 14px; }
.quote-fields { margin-block: 12px 15px; padding: 9px 12px; background: var(--paper); border-radius: 6px; font-size: 14px; }
.quote-fields div { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 8px; }
.quote-fields dt { font-weight: 700; }
.quote-fields dd { margin: 0; overflow-wrap: anywhere; }
.quote-content label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.quote-content textarea { display: block; width: 100%; padding: 9px; border: 1px solid #b9c2cb; border-radius: 6px; resize: vertical; font: inherit; color: inherit; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quote-secondary { border-color: #b9c2cb; background: var(--white); }
.quote-secondary:hover { background: var(--paper); }
.quote-app { display: inline-block; margin-top: 8px; }
.quote-status { margin-top: 5px; }
.quote-status:empty { display: none; }
