.hyd400 {
  --hyd-accent: #a63812;
  --hyd-dark: #172c39;
  --hyd-line: #dce3e6;
  background: #f3f5f5;
  color: var(--hyd-dark);
  line-height: 1.65;
}

.hyd400 .hyd-wrap {
  width: min(1160px, calc(100% - 48px));
  padding-block: 24px 56px;
}

.hyd-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hyd-line);
}

.hyd-jump a, .hyd-panel a { color: var(--hyd-accent); }
.hyd-jump a { padding-block: 5px; font-size: .875rem; }
.hyd400 a:focus-visible, .hyd400 button:focus-visible {
  outline: 2px solid var(--hyd-accent);
  outline-offset: 3px;
}

.hyd-panel {
  margin-top: 22px;
  padding: clamp(20px, 3.2vw, 38px);
  border: 1px solid var(--hyd-line);
  border-radius: 12px;
  background: #fff;
}

.hyd-panel h2, .hyd-contact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.hyd-panel h3 { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.35; }
.hyd-panel p, .hyd-contact p { margin: 0 0 14px; }
.hyd-panel > :last-child { margin-bottom: 0; }

.hyd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 44px);
  align-items: center;
}

.hyd-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.1vw, 2.7rem);
  line-height: 1.13;
}

.hyd-hero-copy h1 span { display: block; margin-top: 9px; color: var(--hyd-accent); }
.hyd-hero-copy .hyd-kicker {
  margin-bottom: 8px;
  color: var(--hyd-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hyd-gallery figure, .hyd-detail-grid figure { margin: 0; }
.hyd-gallery figure a { display: block; }
.hyd-gallery figure img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.hyd400 figcaption { color: #526570; font-size: .875rem; padding-top: 5px; }
.hyd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.hyd-thumbs button {
  padding: 3px;
  background: #fff;
  border: 1px solid var(--hyd-line);
  border-radius: 5px;
  cursor: pointer;
}
.hyd-thumbs button[aria-pressed="true"] { border-color: var(--hyd-accent); }
.hyd-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }

.hyd-pills, .hyd-widths, .hyd-related { list-style: none; padding: 0; }
.hyd-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.hyd-pills li { padding: 4px 9px; border-radius: 4px; background: #edf2f4; font-size: .8125rem; }
.hyd400 a.hyd-quote { background: var(--hyd-accent); color: #fff; }
.hyd400 a.hyd-quote:hover { background: #84300f; }
.hyd-widths {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.hyd-widths li {
  padding: 12px 5px;
  background: #f4f6f6;
  border: 1px solid var(--hyd-line);
  border-radius: 6px;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
}
.hyd-widths span { font-size: .8rem; font-weight: 400; }
.hyd400 .table-wrap { overflow-x: auto; margin-bottom: 16px; }
.hyd400 table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: .9375rem; }
.hyd400 #materials table { min-width: 720px; }
.hyd400 th, .hyd400 td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hyd-line);
  text-align: left;
  vertical-align: top;
}
.hyd400 thead th { color: #fff; background: var(--hyd-dark); }
.hyd400 tbody tr:nth-child(even) { background: #f4f6f6; }
.hyd400 #specs tbody th { width: 34%; font-weight: 600; }

.hyd-tinted { background: #eaf1f4; }
.hyd-feature-grid, .hyd-related, .hyd-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hyd-feature-grid article {
  padding: 17px;
  border: 1px solid var(--hyd-line);
  border-top: 3px solid var(--hyd-accent);
  border-radius: 8px;
  background: #fff;
}
.hyd-feature-grid article p { margin: 0; }
.hyd-panel details { margin-top: 12px; border-bottom: 1px solid var(--hyd-line); }
.hyd-panel summary { padding: 8px 0 12px; font-weight: 700; cursor: pointer; }
.hyd-panel details p { margin-left: 16px; }
.hyd-related a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  height: 100%;
  border: 1px solid var(--hyd-line);
  border-radius: 8px;
  color: var(--hyd-dark);
  text-decoration: none;
}
.hyd-related a:hover { border-color: var(--hyd-accent); color: var(--hyd-accent); }
.hyd-related-media { display: block; position: relative; aspect-ratio: 4/3; min-width: 0; }
.hyd-related-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hyd-related-title { line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.hyd-detail-grid img { display: block; width: 100%; height: auto; }

.hyd-video-panel, .hyd-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.hyd-video-panel .product-demo-link {
  width: min(100%, 420px);
  aspect-ratio: 4/3;
  border-radius: 8px;
}
.hyd-contact { margin-top: 22px; align-items: stretch; }
.hyd-contact-main {
  padding: clamp(22px, 3.5vw, 38px);
  background: #15191d;
  color: #fff;
  border-radius: 16px;
}
.hyd-contact-links { display: grid; gap: 12px; }
.hyd-contact-links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--hyd-line);
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}
.hyd-contact-links small { color: #526570; }

@media (max-width: 760px) {
  .hyd400 .hyd-wrap { width: calc(100% - 28px); padding-top: 15px; }
  .hyd-hero, .hyd-feature-grid, .hyd-video-panel, .hyd-contact { grid-template-columns: 1fr; }
  .hyd-hero-copy { grid-row: 1; }
  .hyd-widths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hyd-related, .hyd-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .hyd-related { grid-template-columns: 1fr; }
}
