:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #191b1c;
  background: #f3f1eb;
  --text: #191b1c;
  --muted: #515552;
  --paper: #f3f1eb;
  --line: #d5d3c9;
  --accent: #ffac37;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #99600c; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.frame { width: min(100% - 96px, 1350px); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 94px; gap: 32px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 42px); }
.site-header nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.brand { display: inline-grid; width: max-content; text-align: center; text-decoration: none; }
.brand b { font-family: "Archivo Black", Inter, "Arial Black", sans-serif; font-size: 2.1rem; line-height: .92; letter-spacing: -.095em; }
.brand span { margin-top: 5px; border-top: 2px solid currentColor; padding: 4px 1px 0; font-size: .51rem; font-weight: 800; letter-spacing: .16em; }

.hero { display: grid; grid-template-columns: 1fr 1.13fr; min-height: 546px; overflow: hidden; border-radius: 7px; background: #171a1b; color: #fff; }
.hero-copy { align-self: center; padding: clamp(28px, 4.2vw, 66px); }
h1, h2, h3 { font-weight: 750; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 4.05vw, 4.35rem); line-height: 1.015; }
.hero-copy p { margin-top: 24px; max-width: 29rem; color: #d5d9d7; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 4px; padding: 9px 15px; font-size: .9rem; font-weight: 720; text-decoration: none; }
.primary { background: var(--accent); color: var(--text); }
.primary:hover { background: #ffc26d; }
.secondary { border-color: #bcc0ba; }
.secondary:hover { background: #ffffff17; }
.hero-image { position: relative; min-width: 0; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
figcaption { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.hero-image figcaption { position: absolute; bottom: 17px; right: 17px; max-width: calc(100% - 34px); border-radius: 3px; padding: 6px 9px; color: #fff; background: #171a1be8; }

.spec-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.spec-band div { display: grid; gap: 4px; padding: 27px 25px; }
.spec-band div:first-child { padding-left: 0; }
.spec-band div + div { border-left: 1px solid var(--line); }
.spec-band strong { font-size: clamp(1.12rem, 2.1vw, 1.6rem); font-weight: 725; }
.spec-band span, .section-heading p, .product-info p, .wiring p { color: var(--muted); line-height: 1.6; }
.spec-band span { font-size: .9rem; }

.section { padding-block: clamp(56px, 7vw, 100px); }
.section-heading { margin-bottom: 28px; }
.section-heading p { margin-top: 10px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; }
h3 { font-size: clamp(1.55rem, 2.65vw, 2.35rem); line-height: 1.1; }
.cards, .downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.product { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #faf9f5; }
.product-image { background: #252625; width: 100%; aspect-ratio: 1.82; object-fit: cover; }
.product-info { padding: clamp(20px, 3vw, 34px); }
.product-info p { margin: 12px 0 20px; max-width: 36rem; }
.text-link { font-size: .95rem; font-weight: 730; text-decoration: none; }
.text-link span { margin-left: 5px; }

.wiring { background: #e8e7de; }
.wiring-layout { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(25px, 5vw, 80px); }
.wiring p { margin-top: 18px; }
.connection-list { margin: 21px 0 0; padding-left: 1.1rem; line-height: 1.65; }
.wiring figure a { display: block; border: 1px solid #c6c5bb; border-radius: 4px; overflow: hidden; }
.wiring figure img { width: 100%; }
.wiring figcaption, .assembly-gallery figcaption { margin-top: 9px; }
.wiring .secondary:hover { background: #f3f1eb; }

.download-group { border: 1px solid var(--line); border-radius: 5px; padding: clamp(20px, 3vw, 32px); }
.download-group h3 { margin-bottom: 14px; }
.download-group ul { margin: 0; padding: 0; list-style: none; }
.download-group li { border-top: 1px solid var(--line); }
.download-group a { display: flex; gap: 10px; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 630; text-decoration: none; }
.download-group a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.download-group small { color: var(--muted); white-space: nowrap; }
.download-group i { margin-left: 5px; font-style: normal; }
.file-note { margin-top: 11px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.file-note code { overflow-wrap: anywhere; }
.assembly-section { padding-bottom: clamp(56px, 7vw, 100px); }
.assembly-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 15px; }
.assembly-gallery img { width: 100%; height: clamp(180px, 24vw, 350px); object-fit: cover; object-position: center; border-radius: 6px; }
.site-footer { gap: 20px; padding: 28px 0 32px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 56px); }
  .hero { min-height: 468px; }
  .hero-copy { padding: 34px; }
  .desktop-break { display: none; }
}

@media (max-width: 730px) {
  .frame { width: calc(100% - 32px); }
  .site-header { min-height: 68px; gap: 12px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: .79rem; }
  .brand b { font-size: 1.83rem; }
  .brand span { font-size: .42rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { align-self: stretch; padding: 30px 22px; }
  h1 { font-size: clamp(2rem, 7.8vw, 3.7rem); }
  .hero-copy p { margin-top: 16px; }
  .hero-image { aspect-ratio: 1.43; }
  .hero-image figcaption { bottom: 10px; right: 10px; font-size: .69rem; }
  .actions { gap: 9px; margin-top: 20px; }
  .button { font-size: .86rem; padding-inline: 11px; }
  .spec-band div { padding: 17px 8px; }
  .spec-band span { font-size: .74rem; line-height: 1.35; }
  .cards, .downloads, .wiring-layout { grid-template-columns: minmax(0, 1fr); }
  .assembly-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assembly-render { grid-column: 1 / -1; }
  .assembly-render img { height: auto; }
  .section { padding-block: 52px; }
}

@media (max-width: 365px) {
  .site-header nav { gap: 7px; }
  .site-header nav a { font-size: .73rem; }
  .spec-band strong { font-size: .98rem; }
}
