:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #263c31;
  --muted: #59665c;
  --line: #dadfd3;
  --orange: #a84e2b;
  --soft: #eeefe6;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
.home-page { background: url("assets/joy-background.svg") center top / 1920px 1080px no-repeat; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 5; padding: 16px; background: white; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.6px; }
.brand-dot { color: var(--orange); }
.brand-mark { display: block; flex-shrink: 0; margin-right: 11px; width: 37px; height: 37px; border-radius: 9px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 13px; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .source-link:hover { color: var(--orange); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 48px; padding-block: 66px 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 10px; letter-spacing: 1.7px; font-weight: 700; line-height: 1.8; }
.small-line { width: 21px; height: 1px; background: var(--orange); flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.8vw, 82px); font-weight: 400; line-height: 1.05; letter-spacing: -3.5px; margin-bottom: 23px; }
h1 em { color: var(--orange); font-weight: 400; }
.hero-description { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 29px; }
.primary-button { display: inline-flex; gap: 36px; align-items: center; background: var(--ink); color: white; padding: 16px 22px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600; }
.primary-button:hover { background: #385543; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; font-size: 10px; color: var(--muted); }
.hero-meta span + span::before { content: "/"; color: #929b8d; margin-right: 16px; }
.hero-art { background: #e7e9da; padding: 19px; border-radius: 110px 8px 8px 8px; overflow: hidden; transform: rotate(1deg); }
.art-label { display: flex; justify-content: space-between; gap: 8px; font-size: 8px; font-weight: 650; letter-spacing: 1.4px; padding: 14px 4px 18px 54px; }
.landscape { display: block; width: 100%; height: auto; border-radius: 65px 3px 3px 3px; }
.art-caption { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.art-caption > span:last-child { font-size: 22px; color: var(--orange); }
.disclosure { display: flex; align-items: center; gap: 25px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 4px; background: #f2f2e9; }
.disclosure-label { flex-shrink: 0; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.disclosure p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; }
.guide { padding-block: 64px 68px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--orange); }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(29px, 3vw, 41px); letter-spacing: -1px; line-height: 1.18; margin-bottom: 0; }
.section-heading > p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 2px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; border-block: 1px solid var(--line); padding-block: 16px; }
.category-filters button { border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--ink); padding: 9px 15px; font-size: 12px; white-space: nowrap; }
.category-filters button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.category-filters button:hover { border-color: var(--ink); }
.category-filters button span { padding-left: 6px; opacity: .75; font-size: 10px; }
.search-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-block: 21px 8px; }
.search-row label { font-size: 12px; font-weight: 600; }
.search-row input { width: min(340px, 100%); min-height: 41px; border: 1px solid #bfc8b9; border-radius: 4px; background: #fffef9; padding: 10px 13px; font-size: 12px; color: var(--ink); }
.search-row input::placeholder { color: #60695e; }
.search-row p { margin: 0 0 0 auto; font-size: 11px; color: var(--muted); }
.gear-category { margin-top: 35px; }
.category-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.category-number { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #bdc7b7; border-radius: 50%; font-size: 11px; color: var(--muted); flex-shrink: 0; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 4px; }
.category-heading p { color: var(--muted); font-size: 11px; margin: 0; line-height: 1.5; }
.category-count { margin-left: auto; font-size: 9px; letter-spacing: 1.5px; color: var(--muted); flex-shrink: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 5px; padding: 23px; background: #fffefb; transition: border-color .18s, box-shadow .18s; }
.product-card:hover { border-color: #abb9a7; box-shadow: 0 6px 20px #263c3108; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 22px; }
.product-type { font-size: 8px; letter-spacing: 1.1px; font-weight: 700; color: #78502f; }
.card-index { color: var(--muted); font-size: 9px; white-space: nowrap; }
.product-photo { margin: 0 0 20px; }
.product-photo img { display: block; width: 100%; height: 220px; padding: 14px; object-fit: contain; background: white; border: 1px solid #e8ebe2; border-radius: 4px; }
.product-photo figcaption { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.product-photo figcaption a { text-decoration-color: #b9c3b1; }
h4 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; margin-bottom: 14px; }
.product-description { font-size: 12px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; }
.fit-note { padding: 12px; background: #f2f3eb; border-radius: 3px; font-size: 11px; line-height: 1.7; color: #52604f; margin: auto 0 19px; }
.fit-note strong { display: block; font-weight: 650; color: var(--ink); margin-bottom: 3px; }
.source-link { font-size: 11px; line-height: 1.6; margin-bottom: 16px; text-decoration-color: #b9c3b1; }
.source-link span { margin-left: 5px; }
.shop-link { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; text-decoration: none; font-weight: 650; }
.shop-link span { font-size: 18px; color: var(--orange); }
.shop-link:hover { color: var(--orange); }
.empty-state { text-align: center; border: 1px dashed #b8c2ae; padding: 64px 20px; margin-top: 32px; }
.empty-state p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.empty-state button { border: 0; border-radius: 4px; padding: 12px 20px; background: var(--ink); color: white; }
.no-script { font-size: 13px; line-height: 1.7; }
.approach { display: grid; grid-template-columns: 1fr 1.4fr; gap: 65px; padding: 41px; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; }
.approach h2 { margin-bottom: 23px; }
.approach .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
.approach a { font-size: 12px; }
.approach-copy p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 14px; }
.approach-copy p:last-child { margin-bottom: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 38px; margin-top: 32px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 15px; }
.site-footer .site-domain { color: var(--muted); font-size: 12px; }
.site-footer > a:last-child { font-size: 11px; text-decoration: none; }
@media (min-width: 1000px) {
  .gear-category[data-category="electrical"] .product-grid,
  .gear-category[data-category="water"] .product-grid,
  .gear-category[data-category="sewer"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 28px; padding-block: 48px; }
  h1 { letter-spacing: -2px; }
  .hero-description { font-size: 14px; }
  .hero-meta { font-size: 9px; gap: 8px 10px; }
  .hero-meta span + span::before { margin-right: 10px; }
  .hero-art { padding: 13px; }
  .art-label { font-size: 7px; letter-spacing: .8px; padding-left: 40px; }
  .art-caption { font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { gap: 32px; padding: 30px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 82px; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 29px; height: 29px; font-size: 23px; margin-right: 7px; }
  .site-header nav { gap: 14px; font-size: 11px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 36px; }
  h1 { font-size: clamp(54px, 13vw, 74px); }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .hero-description { max-width: 380px; }
  .hero-art { max-width: 480px; width: 100%; justify-self: center; transform: none; }
  .art-label { font-size: 8px; }
  .art-caption { font-size: 12px; }
  .disclosure { align-items: start; flex-direction: column; gap: 7px; padding: 15px; }
  .guide { padding-block: 42px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { margin-top: 14px; }
  .category-filters { gap: 7px; }
  .category-filters button { padding: 8px 12px; font-size: 11px; }
  .search-row { align-items: start; flex-direction: column; gap: 9px; }
  .search-row input { width: 100%; }
  .search-row p { margin-left: 0; }
  .gear-category { margin-top: 29px; }
  .category-heading { gap: 11px; }
  h3 { font-size: 18px; }
  .category-count { font-size: 8px; letter-spacing: .7px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { padding: 22px; }
  .product-description { font-size: 13px; }
  .fit-note { font-size: 12px; }
  .source-link, .shop-link { font-size: 12px; }
  .approach { grid-template-columns: 1fr; gap: 25px; padding: 25px; }
  .site-footer { flex-wrap: wrap; gap: 16px; padding-block: 25px; margin-top: 25px; }
  .site-footer .site-domain { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card { transition: none; }
}
.site-header nav a[aria-current="page"] { color: var(--orange); }
.home-note { padding: 48px; border: 1px solid var(--line); border-radius: 90px 5px 5px 5px; background: var(--soft); }
.home-note h2 { font-size: clamp(35px, 4vw, 54px); margin-block: 26px; }
.home-note > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 0; }
.collection-card { display: flex; flex-direction: column; padding: 30px; background: #fffefb; border: 1px solid var(--line); border-radius: 5px; }
.collection-card .eyebrow { color: var(--orange); }
.collection-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
.collection-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.collection-card .shop-link { margin-top: auto; }
.trawler-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 650px) {
  .home-note { padding: 32px; }
  .collection-card { padding: 25px; }
  .trawler-page .product-grid { grid-template-columns: 1fr; }
}
.duo-jump-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.duo-jump-links > a:last-child { font-size: 13px; }
.duo-summary { background: var(--soft); padding: 32px; border: 1px solid var(--line); border-radius: 5px; }
.duo-summary > div { border-top: 1px solid #cdd5c5; padding-top: 23px; margin-top: 23px; }
.duo-summary h2 { margin: 15px 0; font-size: 35px; }
.duo-summary p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.duo-summary > a { font-size: 12px; }
.attachment-badge { display: inline-block; align-self: flex-start; max-width: 100%; border: 1px solid; border-radius: 4px; padding: 6px 9px; font-size: 9px; font-weight: 700; letter-spacing: .6px; line-height: 1.6; }
.attachment-badge.magnetic { background: #e6efe4; color: #2d5336; border-color: #c6d8c2; }
.attachment-badge.adhesive { background: #f7e9df; color: #8a3e24; border-color: #e8c9b4; }
.attachment-badge.caution { background: #f2eddb; color: #705a20; border-color: #dfd2a9; }
.duo-content { padding-block: 35px 15px; }
.duo-notice { border-left: 3px solid var(--orange); padding: 20px 24px; background: #f2efe5; margin-bottom: 38px; }
.duo-notice h2, .duo-notice h3 { font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 650; letter-spacing: -.3px; margin-bottom: 10px; }
.duo-notice p, .duo-intro, .duo-size-guide p, .duo-avoid p, .duo-method p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.duo-notice p:last-child { margin-bottom: 0; }
.duo-intro { max-width: 850px; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; margin-block: 26px; }
.comparison-table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.7; text-align: left; }
.comparison-table caption { text-align: left; font-weight: 650; padding: 16px; background: var(--soft); font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 15px; border-top: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.comparison-table thead th { font-size: 10px; text-transform: uppercase; letter-spacing: .7px; background: #f2f3eb; }
.comparison-table tbody th { font-weight: 600; }
.comparison-table td { color: var(--muted); }
.duo-page .product-card > .attachment-badge { margin-bottom: 18px; }
.duo-page .product-card h3 { font-size: 23px; line-height: 1.3; margin-bottom: 16px; }
.duo-page .product-card .product-description { font-size: 13px; }
.duo-footnote { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 20px; }
.duo-section { margin-top: 58px; }
.duo-size { font-size: 12px; color: var(--ink); padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.duo-size strong { font-size: 17px; }
.duo-avoid { padding: 24px; border: 1px solid var(--line); border-radius: 4px; margin-top: 24px; }
.duo-avoid h3 { font-size: 17px; margin-bottom: 10px; }
.duo-avoid p { margin-bottom: 0; }
.duo-size-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.length-comparison { background: var(--soft); padding: 26px; margin: 0; border-radius: 4px; border: 1px solid var(--line); }
.length-comparison figcaption { font-size: 15px; font-weight: 650; margin-bottom: 23px; }
.length-comparison figcaption > span { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 6px; }
.length-row { margin-block: 18px; }
.length-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; margin-bottom: 8px; }
.length-row strong { white-space: nowrap; font-weight: 600; }
.length-track { height: 10px; background: #e0e4d8; border-radius: 3px; }
.length-track > span { display: block; width: calc(var(--length) * 100% / 170); height: 100%; border-radius: 3px; background: #82967b; }
.length-track > .phone-length { background: var(--orange); }
.length-comparison > p { font-size: 10px; line-height: 1.8; margin: 24px 0 0; }
.duo-method { padding-block: 28px; border-top: 1px solid var(--line); }
.duo-method h2 { margin-bottom: 20px; font-size: 30px; }
.network-intro { max-width: 920px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.network-topology { margin: 30px 0; padding: 32px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); }
.network-node { padding: 20px; border: 1px solid #b8c5b2; border-radius: 5px; background: #fffefb; text-align: center; }
.network-node > a, .network-node > strong { font-size: 18px; font-weight: 650; }
.network-node .eyebrow { justify-content: center; margin-bottom: 8px; color: var(--orange); }
.network-node p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.network-root { max-width: 480px; margin-inline: auto; }
.network-optional { border-style: dashed; }
.network-link { margin: 0; padding-block: 16px; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.7; }
.network-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.network-endpoints { list-style: none; padding: 0 0 0 18px; margin: 0 0 0 22px; border-left: 1px solid #b8c5b2; }
.network-endpoints li { position: relative; display: grid; gap: 5px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.7; }
.network-endpoints li::before { content: ""; position: absolute; top: 30px; left: -19px; width: 18px; border-top: 1px solid #b8c5b2; }
.network-endpoints li > span { color: var(--orange); font-size: 11px; font-weight: 700; }
.network-endpoints li > a { color: var(--ink); font-weight: 600; }
.network-topology figcaption { margin-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.network-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.network-gear h3 { font-size: 25px; margin-bottom: 10px; }
.network-model { color: var(--orange); font-size: 11px; line-height: 1.7; }
.network-gear .product-description { font-size: 14px; }
@media (max-width: 650px) {
  .network-page h1 { font-size: clamp(44px, 11vw, 68px); }
  .network-topology { padding: 18px; }
  .network-branches, .network-gear { grid-template-columns: 1fr; }
  .network-branches { gap: 12px; }
  .network-node { padding: 16px; }
}
@media (max-width: 1000px) {
  .duo-summary { padding: 24px; }
  .duo-summary h2 { font-size: 30px; }
}
@media (max-width: 650px) {
  .duo-page h1 { font-size: clamp(47px, 11.5vw, 68px); }
  .duo-size-guide { grid-template-columns: 1fr; gap: 20px; }
  .duo-notice { padding: 18px; }
  .duo-section { margin-top: 42px; }
  .length-comparison { padding: 20px; }
}
