:root {
  color-scheme: light;
  --paper: #ffffff;
  --panel: #eef1f2;
  --ink: #182125;
  --body: #354247;
  --muted: #526269;
  --line: #ccd3d6;
  --accent: #ad370c;
  --hover: #842807;
  --display: "Barlow Condensed", "Bahnschrift SemiCondensed", "Arial Narrow", Arial, sans-serif;
  --text: Barlow, "Segoe UI", Arial, sans-serif;
  --technical: "IBM Plex Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(36px, 4.6vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 1rem/1.63 var(--text); overflow-wrap: anywhere; }
.frame, .form-inner { width: min(1320px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
h1, h2, h3, .form-title { color: var(--ink); font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 3.9vw, 4rem); letter-spacing: -.045em; line-height: 1.03; font-weight: 720; }
h2, .form-title { font-size: clamp(1.85rem, 2.85vw, 3rem); letter-spacing: -.038em; line-height: 1.12; }
h3 { font-size: 1.42rem; letter-spacing: -.02em; line-height: 1.22; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--hover); }
summary, button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main, section, .block, .chapters > *, .chapter-body > *, .form-inner > *, .hero-inner > *, li { min-width: 0; }
.skip { position: absolute; top: 5px; left: 12px; transform: translateY(-150%); z-index: 4; padding: 8px 16px; background: var(--paper); }
.skip:focus { transform: none; }

.mast { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 3; }
.mast-inner { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 20px; }
.mark { display: inline-flex; align-items: baseline; gap: .27em; color: var(--ink); font: italic 850 1.93rem/1.1 var(--display); text-decoration: none; letter-spacing: -.07em; }
.mark::before { content: ""; display: inline-block; width: .37em; height: .63em; transform: skew(-17deg); background: var(--accent); }
.primary, .model-cards, .post-list { list-style: none; padding: 0; }
.primary { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 36px); font-size: .94rem; font-weight: 600; }
.primary a, .primary summary { color: var(--ink); display: block; padding: 10px 0; text-decoration: none; }
.primary a:hover, .primary a[aria-current], .primary summary:hover { color: var(--accent); text-decoration: underline; }
.primary > li > a[href="/contact/"] { border: 1px solid var(--line); padding: 7px 15px; }
.primary .language { font: .82rem var(--technical); color: var(--muted); }
.nav-toggle, .nav-trigger { display: none; }
.products { position: relative; }
.products summary { list-style: none; }
.products summary::-webkit-details-marker { display: none; }
.products summary::after { content: ""; display: inline-block; width: .48em; height: .48em; margin: 0 0 .2em .65em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.products[open] summary::after { transform: rotate(225deg); }
.product-menu { position: absolute; top: 100%; right: -185px; width: 385px; max-height: 75vh; overflow-y: auto; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.product-menu a { padding: 5px 2px; }
@media (min-width: 1024px) {
  .product-menu { display: none; }
  .products:hover .product-menu,
  .products:focus-within .product-menu,
  .products[open] .product-menu { display: block; }
}
.menu-sockets { display: flex; flex-wrap: wrap; gap: 3px 14px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; font: .88rem/1.6 var(--technical); }
.crumbs { display: flex; flex-wrap: wrap; column-gap: 12px; align-items: baseline; padding-block: 12px; font-size: .8rem; color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs > :not(:first-child)::before { content: ""; display: inline-block; width: 5px; height: 5px; border: solid var(--muted); border-width: 1px 1px 0 0; transform: rotate(45deg); margin: 0 12px 2px 0; }
.error-title { padding-block: 24px; }

.hero { background: var(--panel); }
.hero-inner { position: relative; }
.hero-copy { padding-block: clamp(26px, 4vw, 64px); max-width: 54rem; }
.hero-copy p { max-width: 59ch; margin-top: 18px; font-size: clamp(1rem, 1.18vw, 1.16rem); }
.hero-media .hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.photo { margin: 0; min-width: 0; }
.photo img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.hero-media .photo { background: var(--paper); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-media .photo img { aspect-ratio: 1.55; max-height: 465px; }
.type-series .hero-media .photo img, .type-category .hero-media .photo img { object-fit: contain; height: clamp(290px, 29vw, 430px); }
.hero-media figcaption { padding: 6px 12px; }
.home .hero-media .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); gap: 0; }
.home .hero-copy { padding-right: clamp(16px, 2.6vw, 45px); }
.home .hero-media .photo { position: relative; background: transparent; }
.home .hero-media .photo img { height: 100%; min-height: 360px; max-height: 520px; aspect-ratio: 1.55; clip-path: polygon(6% 0,100% 0,100% 100%,0 100%); }
.type-guide .hero-media .photo img, .type-blog .hero-media .photo img { aspect-ratio: 1.9; max-height: 360px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; max-width: 100%; padding: 12px 19px; margin-top: 24px; border: none; border-radius: 0; color: #fff; background: var(--accent); text-decoration: none; font: 650 .96rem/1.3 var(--text); }
.action::after { content: ""; display: block; flex: 0 0 8px; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.action:hover, .action:active { background: var(--hover); color: white; }
.quote-range { padding-inline: 24px; font-weight: 750; }
.quote-model { color: var(--accent); background: var(--paper); border: 2px solid var(--accent); }
.quote-series { font-family: var(--technical); border-inline-start: 5px solid var(--ink); }
.quote-guide { padding-inline: 0; color: var(--accent); background: transparent; border-bottom: 2px solid currentColor; }
.quote-guide:hover, .quote-guide:active { color: var(--hover); background: transparent; }
.socket-finder { border-bottom: 1px solid var(--line); background: var(--paper); }
.sockets, .sockets > div { display: flex; align-items: center; flex-wrap: wrap; }
.sockets { gap: 8px 32px; padding-block: 12px; }
.sockets > div { gap: 4px; }
.sockets a { color: var(--ink); text-decoration: none; }
.socket-label { font: 700 1.06rem var(--display); }
.sockets > div a { display: inline-flex; min-width: 54px; min-height: 40px; align-items: center; justify-content: center; padding: 5px 12px; font: 600 .94rem/1.3 var(--technical); background: var(--panel); }
.sockets > div a:hover, .sockets > div a[aria-current] { color: white; background: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 36px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts > div { min-width: 0; }
.facts dt, figcaption { color: var(--muted); font-size: .86rem; }
.facts dd { font: 650 1.12rem/1.4 var(--text); color: var(--ink); }

.chapters { padding-block: var(--section); }
.chapter + .chapter { margin-top: var(--section); border-top: 1px solid var(--line); padding-top: var(--section); }
.chapter-list > .model-cards + .chapter { margin-top: var(--section); }
.chapter h2 { max-width: 38ch; margin-bottom: 24px; }
.chapter-body:has(> .gallery) { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: clamp(24px, 5.3vw, 80px); align-items: start; }
.blocks { display: grid; gap: 16px; }
.block > p, .block > ul:not(.model-cards, .post-list), .block > ol, .terms, .faqs { max-width: 75ch; }
.block > ul:not(.model-cards, .post-list), .block > ol { padding-left: 1.4em; }
.block li::marker { color: var(--accent); }
.block li + li { margin-top: .4em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 16px; }
.gallery .photo img { aspect-ratio: 4 / 3; background: var(--panel); }
.chapter-body > .gallery img { object-fit: contain; }
.chapter-list > .gallery { margin-top: 32px; }
.chapter-list > .gallery + .chapter { margin-top: var(--section); }
.chapter-list > .gallery:has(> figure:only-child) { max-width: 640px; }
figcaption { margin-top: 6px; }
.b-gallery .photo img { aspect-ratio: 1.4; }
.callout { border-inline-start: 4px solid var(--accent); background: var(--panel); padding: 18px 22px; }
.terms > div { display: grid; grid-template-columns: minmax(110px,.7fr) minmax(0,1.7fr); gap: 16px; padding: 12px 0; }
.terms dt, .flow strong { color: var(--ink); font-weight: 700; }
.flow li { padding: 4px 0 12px 8px; }
.flow li::marker { font-family: var(--technical); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { padding: 16px 8px 16px 0; font-weight: 650; color: var(--ink); }
.faqs summary::marker { color: var(--accent); }
.faqs details p { padding: 0 8px 18px 18px; }
.chapter[data-tpl] .terms { max-width: 960px; }

.model-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; }
.model-cards li, .post-list li { position: relative; }
.model-cards li + li, .post-list li + li { margin-top: 0; }
.model-cards .photo { background: var(--panel); }
.model-cards img { aspect-ratio: 1.55; }
.model-cards h3 { padding-top: 12px; }
.model-cards a, .post-list a { color: var(--ink); text-decoration: none; }
.model-cards a::after, .post-list a::after { content: ""; position: absolute; inset: 0; }
.model-cards a:hover, .post-list a:hover { color: var(--accent); text-decoration: underline; }
.model-cards li:focus-within, .post-list li:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.model-cards p, .post-list p { margin-top: 8px; font-size: .95rem; }
.card-specs { margin-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.card-specs > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-top: 6px; }
.card-specs dt { color: var(--muted); }
.card-specs dd { color: var(--ink); font-variant-numeric: tabular-nums; }
.model-cards li > div, .post-list li > div { min-width: 0; }
.model-cards p a, .post-list p a { position: relative; z-index: 1; text-decoration: underline; }
.model-cards p a::after, .post-list p a::after { content: none; }
.home .model-cards > li:first-child { grid-column: span 2; grid-row: span 2; background: var(--panel); align-self: stretch; display: flex; flex-direction: column; }
.home .model-cards > li:first-child .photo { flex: 1; display: grid; align-content: center; background: #f7f8f8; }
.home .model-cards > li:first-child .photo img { aspect-ratio: 1.4; mix-blend-mode: multiply; }
.home .model-cards > li:first-child > div { padding: 10px 24px 24px; }
.home .model-cards > li:first-child h3 { font-size: clamp(1.65rem, 2.6vw, 2.5rem); }
.post-list { max-width: 1000px; }
.post-list li { display: grid; grid-template-columns: minmax(150px,.5fr) minmax(0,1.5fr); align-items: center; gap: clamp(16px, 3vw, 48px); padding-block: 20px; border-top: 1px solid var(--line); }
.post-list li:not(:has(.photo)) { grid-template-columns: minmax(0,1fr); }
.post-list .photo img { aspect-ratio: 1.55; }
.post-list h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); }
.chapter-body:has(.model-cards, .post-list, .b-table) { display: block; }
.chapter-body:has(.model-cards, .post-list, .b-table) > .gallery { max-width: 720px; margin-top: 24px; }

.blocks:has(> .b-table) { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.blocks:has(> .b-table) > :not(.b-table), .b-table:only-of-type, .b-table:has(th:nth-child(4)) { grid-column: 1 / -1; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-top: 3px solid var(--accent); }
table { border-collapse: collapse; width: 100%; min-width: 300px; color: var(--ink); font-size: .92rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 13px 14px; font: 700 1.32rem/1.2 var(--display); color: var(--ink); }
th, td { padding: 9px 14px; text-align: left; vertical-align: top; }
thead { background: #dce2e4; }
tbody th { color: var(--muted); font-weight: 550; }
tbody tr:nth-child(even) { background: #f2f4f5; }
tbody td { font-variant-numeric: tabular-nums; }
.spec-group .blocks { grid-template-columns: minmax(0,1fr); gap: 0; }
.spec-card { border-bottom: 1px solid var(--line); }
.spec-card > summary { padding: 14px 16px; color: var(--ink); font: 650 1.16rem/1.35 var(--display); }
.spec-card > summary::marker { color: var(--accent); }
.spec-card[open] > summary, .spec-card > summary:hover { background: var(--panel); }
.spec-card > summary:focus-visible { outline-offset: -3px; }
.spec-card .table-scroll { border-top: 0; }
/* The summary supplies the visible model name. Keep the table caption accessible. */
.spec-card caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 768px) {
  .spec-group .chapter-body:has(> .gallery) {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
    align-items: start;
    gap: clamp(24px,4vw,64px);
  }
  .spec-group .chapter-body > .gallery { position: sticky; top: 20px; margin: 0; }
  .spec-group .chapter-body > .gallery img { max-height: 70vh; object-fit: contain; }
}
.chapters:has(.contents) { display: grid; grid-template-columns: minmax(150px, .42fr) minmax(0, 1.58fr); gap: clamp(24px, 5vw, 84px); align-items: start; }
.contents { display: grid; gap: 12px; border-top: 3px solid var(--ink); padding-top: 12px; }
.contents a { text-decoration: none; color: var(--muted); font-size: .93rem; line-height: 1.35; }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.chapters:has(.contents) .chapter-body { display: block; }
.chapters:has(.contents) .chapter-body > .gallery { margin-top: 24px; max-width: 700px; }
.chapters:has(.contents) .gallery img { aspect-ratio: 1.75; object-fit: contain; }

.inquiry { background: var(--panel); border-top: 3px solid var(--accent); }
.form-inner { padding-block: var(--section); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: clamp(24px, 7vw, 100px); }
.form-title { font-weight: 700; margin-bottom: 12px; }
form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-content: start; }
form label { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); }
form label span[aria-hidden="true"] { color: var(--accent); }
input:not([type=checkbox]), textarea { display: block; width: 100%; min-width: 0; border: 1px solid #77878d; border-radius: 0; padding: 10px 12px; margin-top: 5px; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--text); }
input[type=hidden] { display: none; }
textarea { resize: vertical; }
input:user-invalid, textarea:user-invalid { border-color: var(--accent); }
.full { grid-column: 1 / -1; }
form .action { margin: 0; justify-self: start; }
footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: start; font-size: .91rem; }
.footer-inner p { margin-top: 12px; }
.footer-inner nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 32px; }
.footer-inner nav a { color: var(--ink); }
.langswitch { position: relative; }
.langswitch__caret { margin-inline-start: .4em; }
.langswitch__menu a { font: 500 1rem/1.5 var(--text); }
.langswitch__btn { background: var(--paper); color: var(--ink); padding: 6px 10px; border: 1px solid var(--line); font: inherit; cursor: pointer; }
.langswitch__menu { position: absolute; display: none; inset: 100% 0 auto auto; min-width: 140px; background: var(--paper); border: 1px solid var(--line); padding: 8px 12px; margin: 0; list-style: none; }
.langswitch:hover .langswitch__menu, .langswitch:focus-within .langswitch__menu { display: block; }
@media (min-width: 1000px) {
  .contact .page-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(24px,5vw,72px); width: min(1320px,calc(100% - 2 * var(--gutter))); margin: 22px auto var(--section); align-items: start; }
  .contact .hero { background: transparent; }
  .contact .page-layout .frame, .contact .form-inner { width: 100%; }
  .contact .hero-copy { padding: 12px 0; }
  .contact .hero-copy .action { display: none; }
  .contact .form-inner { display: block; padding: clamp(22px,3vw,44px); }
  .contact form { margin-top: 24px; }
}
@media (max-width: 999px) {
  .model-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home .model-cards > li:first-child { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (max-width: 850px) {
  .mast-inner { min-height: 58px; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
  .nav-toggle:focus-visible + label { outline: 3px solid var(--accent); }
  .nav-trigger { display: block; cursor: pointer; border: 1px solid var(--line); padding: 6px 14px; font-weight: 650; }
  .primary { display: none; position: absolute; inset: 100% 0 auto; padding: 12px var(--gutter); background: var(--paper); border-block: 1px solid var(--line); max-height: 78vh; overflow: auto; }
  .nav-toggle:checked ~ .primary { display: block; }
  .primary > li > a[href="/contact/"] { padding-left: 0; border: none; }
  .primary .language { padding-block: 10px; }
  .product-menu { position: static; width: 100%; max-height: none; border: none; background: var(--panel); }
  .langswitch__menu { position: static; width: 100%; margin-top: 4px; }
}
@media (max-width: 767px) {
  .hero-media .hero-inner, .home .hero-media .hero-inner, .chapter-body:has(> .gallery), .chapters:has(.contents), .form-inner { grid-template-columns: minmax(0,1fr); }
  .hero-media .hero-inner { gap: 0; }
  .hero-copy, .home .hero-copy { padding: 28px 0 24px; }
  .hero-media .photo { margin-bottom: 16px; }
  .hero-media .photo img, .home .hero-media .photo img { aspect-ratio: 1.65; min-height: 0; height: auto; max-height: 380px; clip-path: none; }
  .type-series .hero-media .photo img, .type-category .hero-media .photo img { height: clamp(210px,55vw,340px); }
  .sockets { gap: 8px 16px; }
  .sockets > div { flex: 1 1 290px; }
  .sockets > div a { min-width: 43px; padding-inline: 8px; }
  .chapter-body:has(> .gallery) { gap: 24px; }
  .blocks:has(> .b-table) { grid-template-columns: minmax(0,1fr); }
  .contents { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  .contents a { text-decoration: underline; }
  .footer-inner { display: grid; }
}
@media (max-width: 520px) {
  .home .model-cards > li:first-child, .model-cards, .post-list li, form { display: grid; grid-template-columns: minmax(0,1fr); }
  .home .model-cards > li:first-child .photo img { aspect-ratio: 1.65; }
  .terms > div { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .facts { gap: 12px 20px; }
  .post-list li { gap: 12px; }
  .gallery { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  a, button, summary { transition: color 120ms ease, background-color 120ms ease; }
}
