/* H2S retains the H2D section styling with a user-supplied workshop hero. */
.h2s { --h2s-green: #00ae42; background: #000; color: #fff; font-size: 16px; line-height: 1.85; }
.h2s *, .h2s *::before, .h2s *::after { box-sizing: border-box; }
.h2s .h2s-wrap { width: min(1200px, 90%); margin-inline: auto; }
.h2s img { display: block; max-width: 100%; height: auto; }
.h2s figure, .h2s p { margin: 0; }
.h2s h1, .h2s h2, .h2s h3 { padding: 0; border: 0; background: none; font-weight: 700; line-height: 1.4; }
.h2s h2 { margin: 0 0 28px; color: var(--h2s-green); font-size: clamp(26px, 3vw, 38px); text-align: center; }
.h2s h3 { margin: 24px 0 16px; color: #fff; font-size: 24px; }
.h2s a { text-underline-offset: 5px; }
.h2s a:focus-visible { outline: 3px solid #00ae42; outline-offset: 5px; }
.h2s ::selection { color: #000; background: #8de5a7; }
.h2s .h2s-hero { background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.55) 40%, transparent 62%), url("../img/h2s/hero-workshop.png") center / cover no-repeat; color: #fff; border-bottom: 12px solid var(--h2s-green); }
.h2s .h2s-hero-inner { min-height: calc(clamp(660px, 47.88vw, 845px) - 12px); display: flex; align-items: center; padding-block: 48px; }
.h2s .h2s-hero-copy { width: 53%; padding-left: 40px; }
.h2s .h2s-logo { width: 230px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.h2s h1 { color: #fff; font-size: clamp(60px, 6vw, 80px); margin: 0 0 18px; }
.h2s .h2s-lead { font-size: 22px; font-weight: 700; line-height: 1.6; }
.h2s .h2s-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.h2s .h2s-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 30px; background: var(--h2s-green); color: #001b09; font-weight: 700; text-decoration: none; border: 2px solid var(--h2s-green); transition: background-color .2s, color .2s; }
.h2s .h2s-button:hover { background: #fff; color: #005c23; }
.h2s .h2s-spec-link { display: inline-flex; min-height: 44px; align-items: center; color: inherit; }
.h2s .h2s-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-block: 24px; border-bottom: 1px solid #353535; }
.h2s .h2s-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.h2s .h2s-section { padding-block: 90px; scroll-margin-top: 90px; }
.h2s .h2s-section + .h2s-section { border-top: 1px solid #194d2c; }
.h2s .h2s-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.h2s .h2s-wide-image { width: 100%; margin: 36px 0 48px; }
.h2s figcaption { padding-top: 18px; }
.h2s .h2s-wide-image figcaption { color: #bdbdbd; font-size: 14px; text-align: center; }
.h2s .h2s-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.h2s .h2s-pair article > img { width: 100%; border-bottom: 4px solid var(--h2s-green); }
.h2s .h2s-feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; margin-top: 80px; }
.h2s .h2s-feature h3 { color: var(--h2s-green); margin-top: 0; font-size: 28px; }
.h2s .h2s-note { color: #bdbdbd; font-size: 14px; margin-top: 20px; }
.h2s .h2s-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h2s .h2s-examples img { width: 100%; }
.h2s .h2s-examples h3 { font-size: 22px; margin-top: 0; }
.h2s small { display: block; margin-top: 16px; color: #bdbdbd; font-size: 12px; overflow-wrap: anywhere; }
.h2s .h2s-specs { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.h2s .h2s-specs caption { text-align: left; padding-bottom: 16px; color: #bdbdbd; }
.h2s .h2s-specs th, .h2s .h2s-specs td { padding: 20px 24px; border: 1px solid #414141; text-align: left; vertical-align: top; color: #fff; }
.h2s .h2s-specs th { width: 32%; background: #181818; font-weight: 600; }
.h2s .h2s-specs td { background: #080808; }
.h2s .h2s-contact { padding: 76px 0; border-top: 8px solid var(--h2s-green); background: #e9eaea; color: #111; text-align: center; }
.h2s .h2s-contact h2 { color: #111; font-size: 40px; }
.h2s .h2s-contact .h2s-actions { justify-content: center; }
@media (min-width: 768px) and (max-width: 1100px) {
  .h2s .h2s-hero-copy { width: 56%; padding-left: 0; }
  .h2s .h2s-lead { font-size: 18px; }
}
/* Match X1E hero proportions at its desktop/tablet breakpoints. */
@media (min-width: 1021px) and (max-width: 1199px) {
  .h2s .h2s-hero-inner { min-height: calc(43.5625vw + 74.6px); padding-block: 30px; }
}
@media (min-width: 768px) and (max-width: 1020px) {
  .h2s .h2s-hero-inner { min-height: calc(43.5625vw + 54.6px); padding-block: 12px; }
  .h2s .h2s-logo { width: 160px; margin-bottom: 16px; }
  .h2s h1 { font-size: 52px; margin-bottom: 12px; }
  .h2s .h2s-lead { font-size: 17px; }
  .h2s .h2s-hero .h2s-actions { margin-top: 20px; }
}
@media (max-width: 767px) {
  .h2s { font-size: 15px; }
  .h2s .h2s-hero { background: #121619; }
  .h2s .h2s-hero::after { content: ""; display: block; height: clamp(260px, calc(88.108vw - 43.52px), 520px); background: url("../img/h2s/hero-workshop.png") 70% center / cover no-repeat; }
  .h2s .h2s-hero-inner { padding-block: 24px; min-height: 363.5px; }
  .h2s .h2s-hero-copy { width: 100%; padding: 0; text-align: center; }
  .h2s .h2s-logo { width: 190px; margin: 0 auto 18px; }
  .h2s .h2s-lead { font-size: 18px; }
  .h2s .h2s-actions { justify-content: center; gap: 16px; }
  .h2s .h2s-nav { gap: 4px 22px; font-size: 14px; }
  .h2s .h2s-section { padding-block: 56px; }
  .h2s h3 { font-size: 21px; }
  .h2s .h2s-intro { margin-bottom: 28px; text-align: left; }
  .h2s .h2s-pair, .h2s .h2s-feature, .h2s .h2s-examples { grid-template-columns: 1fr; gap: 36px; }
  .h2s .h2s-feature { margin-top: 48px; }
  .h2s .h2s-feature h3 { font-size: 24px; }
  .h2s .h2s-text-pair { gap: 20px; }
  .h2s .h2s-specs { font-size: 13px; table-layout: fixed; overflow-wrap: anywhere; }
  .h2s .h2s-specs th, .h2s .h2s-specs td { padding: 14px 10px; }
  .h2s .h2s-specs th { width: 37%; }
  .h2s .h2s-contact { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) { .h2s .h2s-button { transition: none; } }
