/* STE Hydrogen v35 — collection footers, compact Gear Up, PDP panel,
   contact + FAQ redesign, info tiles, light specs, tasteful motion.
   Does not restyle the user manual (.um). */

/* ---------- Motion + reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cat, .infohub a, .ct-tile, .faq-cats button, .dx-faq__i summary, .btn,
  .coll-footer .ste-tip, .coll-footer .ste-bar {
    transition: transform .35s ease, box-shadow .35s ease, border-color .3s ease, background .3s ease, color .3s ease, opacity .3s ease;
  }
  .home-cats .cat, .infohub a, .ct-tile, .dx-faq__i {
    animation: v35-rise .55s ease both;
  }
  .home-cats .cat:nth-child(1){animation-delay:.02s}
  .home-cats .cat:nth-child(2){animation-delay:.06s}
  .home-cats .cat:nth-child(3){animation-delay:.1s}
  .home-cats .cat:nth-child(4){animation-delay:.14s}
  .home-cats .cat:nth-child(5){animation-delay:.18s}
  .home-cats .cat:nth-child(6){animation-delay:.22s}
  .infohub a:nth-child(1){animation-delay:.02s}
  .infohub a:nth-child(2){animation-delay:.05s}
  .infohub a:nth-child(3){animation-delay:.08s}
  .infohub a:nth-child(4){animation-delay:.11s}
  .infohub a:nth-child(5){animation-delay:.14s}
  .infohub a:nth-child(6){animation-delay:.17s}
  .infohub a:nth-child(7){animation-delay:.2s}
  .infohub a:nth-child(8){animation-delay:.23s}
  .infohub a:nth-child(9){animation-delay:.26s}
  .infohub a:nth-child(10){animation-delay:.29s}
}
@keyframes v35-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cat, .infohub a, .ct-tile, .faq-cats button, .dx-faq__i summary, .btn,
  .home-cats .cat, .infohub a, .dx-faq__i {
    transition: none !important;
    animation: none !important;
  }
  .dx-faq__i::details-content { transition: none !important; }
}

/* Soft abstract hero wash (no figurative images) */
.phd--soft { position: relative; isolation: isolate; overflow: hidden; }
.phd--soft::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 140%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 55% at 12% 30%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%),
    radial-gradient(36% 50% at 88% 20%, color-mix(in srgb, var(--red) 14%, transparent), transparent 68%),
    radial-gradient(50% 60% at 50% 110%, color-mix(in srgb, var(--ice, #eef3f8) 80%, #c9d6e8), transparent 70%);
  opacity: .9;
}

/* ---------- 1. Collection category footers ---------- */
.coll-footer {
  position: relative;
  margin: 12px 0 0;
  padding: 48px 0 88px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--blue) 7%, transparent), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, color-mix(in srgb, var(--red) 6%, transparent), transparent 62%),
    var(--ice, #f4f6f9);
  isolation: isolate;
}
.coll-footer .eyebrow { margin: 0 0 18px; }
.coll-article {
  max-width: none;
  padding: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink2);
}
.coll-article > h2:first-child {
  margin: 0 0 .45em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--ink);
}
.coll-article > h2:first-child::before {
  content: "";
  display: block;
  width: 46px; height: 5px; margin: 0 0 12px;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--blue) 66%);
  box-shadow: 0 0 0 1px var(--line2, #ddd);
}
.coll-article h2.ste-bar,
h2.ste-bar {
  display: flex; align-items: center; gap: 14px;
  margin: 2em 0 .85em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  color: var(--ink);
}
.coll-article h2.ste-bar::before,
h2.ste-bar::before {
  content: "";
  flex: 0 0 42px;
  width: 42px; height: 5px;
  display: block;
  margin: 0;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--blue) 66%);
  box-shadow: 0 0 0 1px var(--line2, #ddd);
}
.coll-article h3 {
  margin: 1.4em 0 .35em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(18px, 1.5vw, 22px);
  text-transform: uppercase;
  color: var(--ink);
}
.coll-article p { margin: .7em 0; }
.coll-article a { color: var(--blue); font-weight: 650; text-underline-offset: 3px; }
.coll-article img {
  display: block; max-width: 100%; width: auto; height: auto;
  margin: 16px 0; border-radius: 12px;
}
.coll-article ul { list-style: none; margin: 12px 0 20px; padding: 0; }
.coll-article ul > li {
  position: relative; margin: 0; padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
}
.coll-article ul > li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; background: var(--red); transform: skewX(-14deg);
}
.coll-article .ste-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.coll-article .ste-tip {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 18px 64px;
  box-shadow: 0 16px 36px -28px rgba(11,15,23,.4);
}
.coll-article .ste-tip:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(11,15,23,.45); }
.coll-article .ste-insider {
  border-left: 4px solid var(--blue);
  background: #fff;
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 18px 0;
  box-shadow: 0 16px 36px -28px rgba(11,15,23,.35);
}
@media (prefers-reduced-motion: reduce) {
  .coll-article .ste-tip:hover { transform: none; }
}
@media (max-width: 640px) {
  .coll-footer { padding: 32px 0 64px; }
  .coll-article .ste-tip { padding: 18px 16px 16px 56px; }
}

/* ---------- 2. Compact Gear Up cards ---------- */
.home-cats .cats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.home-cats .cat {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 24px -22px rgba(11,15,23,.5);
  min-height: 0;
}
.home-cats .cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(11,15,23,.4);
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
}
.home-cats .cat__art { aspect-ratio: 5 / 4; background: #f3f5f8; }
.home-cats .cat__art img,
.home-cats .cat img { padding: 10%; }
.home-cats .cat__copy { padding: 8px 10px 12px; gap: 2px; }
.home-cats .cat b {
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.15;
  min-height: 0;
  letter-spacing: .01em;
}
.home-cats .cat__noun { font-size: 10px; letter-spacing: .12em; min-height: 0; }
.home-cats .cat i { font-size: 12px; }
@media (max-width: 1100px) {
  .home-cats .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-cats .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-cats .cat { border-radius: 12px; }
  .home-cats .cat__art { aspect-ratio: 4 / 3; }
  .home-cats .cat b { font-size: 14px; min-height: 0; }
  .home-cats .cat i { font-size: 11px; }
  .home-cats .cat__copy { padding: 7px 9px 10px; }
}

/* ---------- 3. Product sizer panel + light specs ---------- */
.ste-sizer {
  padding: 28px 0 40px;
  background: transparent;
  border: 0;
}
.ste-sizer > .wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px 28px;
  box-shadow: 0 18px 44px -30px rgba(11,15,23,.4);
  position: relative;
  overflow: visible;
}
.ste-sizer > .wrap::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #d0102b 0 33.3%, #fff 33.3% 66.6%, #1a4aa8 66.6%);
}
.ste-sizer__hd { max-width: 40rem; margin: 0 0 20px; }
.ste-sizer__hd .h2 { font-size: clamp(26px, 3.2vw, 40px); }
@media (max-width: 640px) {
  .ste-sizer { padding: 12px 0 24px; }
  .ste-sizer > .wrap { padding: 18px 14px 20px; border-radius: 16px; }
}

/* Force light, modern spec tiles (override any leftover dark .df) */
.df {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px -28px rgba(11,15,23,.28);
}
.df::before {
  content: "" !important;
  position: absolute; left: 0; right: 0; top: 0; height: 3px; width: auto;
  inset: unset !important;
  background: linear-gradient(90deg, #d0102b 0 33.3%, #fff 33.3% 66.6%, #1a4aa8 66.6%) !important;
  opacity: 1 !important;
  z-index: 2;
}
.df::after { display: none !important; content: none !important; background: none !important; }
.df__file, .df__cnt, .df__h, .dx .df__h, .df__p h3 { color: var(--ink) !important; -webkit-text-stroke: 0 !important; }
.df__tabs { background: var(--ice) !important; box-shadow: none !important; }
.df__tabs button { color: var(--ink2) !important; }
.df__tabs button[aria-selected=true] { background: #fff !important; color: var(--ink) !important; }
.df__p p, .df__p li, .df__body { color: var(--ink2) !important; }
.df__p strong, .df__p table { color: var(--ink) !important; }
.df__links { background: var(--ice) !important; border-top-color: var(--line) !important; }
.spec-grid { gap: 8px; }
.spec-grid div {
  grid-template-columns: minmax(96px, 32%) 1fr;
  gap: 10px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ice, #f4f6f9);
  border-top-color: var(--line);
}
.spec-grid div:nth-child(odd) { background: #fff; }

/* Hide duplicate Shopify spec tables inside the product story */
.desc .specs-table,
.desc h3:has(+ .specs-table) { display: none !important; }

/* ---------- 4. Contact page ---------- */
.ct-page {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px 48px;
  align-items: start;
  padding-bottom: 80px;
}
.ct-intro { margin: 0; }
.ct-intro__h {
  margin: 0 0 .45em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  font-size: clamp(28px, 3.4vw, 46px);
  color: var(--ink);
}
.ct-intro__lead { margin: 0 0 22px; max-width: 52ch; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink2); }
.ct-tiles {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ed .ct-tiles { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; list-style: none; }
.ed .ct-tiles > li { margin: 0; }
.ed .ct-tile {
  position: relative;
  padding: 16px 16px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 30px -26px rgba(11,15,23,.45);
}
.ed .ct-tiles > li::before { content: none; display: none; width: 0; height: 0; }
.ed .ct-tile::before {
  content: "";
  display: block;
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--red), var(--blue));
}
.ct-tile {
  position: relative;
  margin: 0;
  padding: 16px 16px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 30px -26px rgba(11,15,23,.45);
  overflow: hidden;
}
.ct-tile::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--red), var(--blue));
}
.ct-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11,15,23,.4); }
.ct-tile__k {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 14px;
  color: var(--ink);
}
.ct-tile__d { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.ct-intro__team, .ct-intro__note { font-size: 14.5px; color: var(--ink2); }
.ct-form-panel, .ct-page .shop-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 28px;
  box-shadow: 0 20px 48px -30px rgba(11,15,23,.45);
  position: relative;
}
.ct-page .shop-form::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #d0102b 0 33.3%, #fff 33.3% 66.6%, #1a4aa8 66.6%);
}
.ct-page .shop-form h2 {
  margin: 4px 0 8px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(22px, 2vw, 28px);
}
.ct-page .shop-form label { display: block; margin: 12px 0; font-weight: 650; font-size: 13.5px; }
.ct-page .shop-form input,
.ct-page .shop-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--ice, #f4f6f9); font: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ct-page .shop-form input:focus,
.ct-page .shop-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--blue) 50%, var(--line));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 16%, transparent);
}
.ct-page .shop-form .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .ct-page { grid-template-columns: 1fr; gap: 28px; }
  .ct-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ct-tiles { grid-template-columns: 1fr; }
  .ct-form-panel, .ct-page .shop-form { padding: 20px 16px 22px; border-radius: 16px; }
}

/* ---------- 5. FAQ redesign ---------- */
.faq-page { padding-bottom: 40px; }
.faq-page .lede, .faq-page > p:first-child { max-width: 58ch; font-size: clamp(17px, 1.4vw, 20px); margin: 0 0 22px; }
.faq-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 22px; padding: 0;
}
.faq-cats button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink2);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.faq-cats button:hover { color: var(--ink); border-color: var(--ink); }
.faq-cats button[aria-pressed="true"], .faq-cats button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.faq-cat-h {
  margin: 22px 0 8px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  color: var(--muted);
}
.faq-page .dx-faq,
.ed:has(.faq-page) .dx-faq,
.dx-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 0;
  align-items: stretch;
}
.faq-page .dx-faq__i,
.dx-faq__i {
  border: 1px solid var(--line);
  border-bottom-color: var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0 18px;
  box-shadow: 0 14px 30px -26px rgba(11,15,23,.4);
}
.faq-page .dx-faq__i summary,
.dx-faq__i summary {
  min-height: 64px;
  padding: 14px 0;
  font-size: clamp(16px, 1.35vw, 20px);
  gap: 12px;
}
.faq-page .dx-faq__i[open],
.dx-faq__i[open] {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  box-shadow: 0 18px 36px -24px rgba(11,15,23,.42);
}
.faq-page .dx-faq__b,
.dx-faq__b { padding: 0 0 18px calc(2.2ch + 14px); }
@supports (interpolate-size: allow-keywords) {
  .dx-faq__i::details-content {
    display: block;
    overflow: hidden;
    interpolate-size: allow-keywords;
    block-size: 0;
    transition: block-size .4s ease, content-visibility .4s allow-discrete;
  }
  .dx-faq__i[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .dx-faq__i::details-content { transition: none; }
  .ct-tile:hover { transform: none; }
}
@media (max-width: 900px) {
  .faq-page .dx-faq__b, .dx-faq__b { padding-left: 0; }
}

/* ---------- 7. Help / Info tiles ---------- */
.infohub { gap: 16px; }
.infohub a {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--blue) 8%, transparent), transparent 55%),
    #fff;
  box-shadow: 0 16px 36px -28px rgba(11,15,23,.45);
}
.infohub a::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #d0102b 0 33.3%, #fff 33.3% 66.6%, #1a4aa8 66.6%);
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .4s ease;
}
.infohub a:hover, .infohub a:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
  box-shadow: 0 20px 40px -22px rgba(11,15,23,.4);
}
.infohub a:hover::after, .infohub a:focus-visible::after { transform: scaleX(1); }
.infohub b { font-size: clamp(20px, 1.7vw, 26px); padding-right: 8px; }
.infohub .infohub__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ice, #eef3f8);
  color: var(--ink);
  margin-bottom: 18px;
  transition: transform .35s ease, background .3s ease, color .3s ease;
}
.infohub .infohub__ico svg { width: 20px; height: 20px; display: block; }
.infohub a:hover .infohub__ico {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px) rotate(-6deg);
}
.infohub .infohub__go {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .08em;
  transition: transform .3s ease;
}
.infohub a:hover .infohub__go { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .infohub a:hover, .infohub a:hover .infohub__ico, .infohub a:hover .infohub__go { transform: none; }
}
@media (max-width: 640px) {
  .infohub a { min-height: 112px; padding: 18px; }
  .infohub .infohub__ico { width: 34px; height: 34px; margin-bottom: 10px; }
}

/* Buttons get a slightly livelier hover, still tasteful */
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .25s ease, filter .25s ease, box-shadow .25s ease; }
  .btn:hover { transform: translateY(-1px); }
}

.infohub .infohub__go { font-size: 18px; line-height: 1; color: var(--red); }
.oos-alt { margin: 18px 0 8px; padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 36px -28px rgba(11,15,23,.4); }
.oos-alt__h { margin: 0 0 8px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.oos-alt__l { margin: 0 0 16px; color: var(--ink2); font-size: 15px; }
.oos-alt__group { margin: 0 0 12px; }
.oos-alt__group h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.oos-alt__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oos-alt__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ice, #f4f6f9); }
.oos-alt__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oos-alt__copy a { font-weight: 750; color: var(--ink); text-decoration: none; }
.oos-alt__copy span { font-size: 13px; color: var(--ink2); }
.tierp[data-tier]:not([hidden]) { margin: 6px 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--ice, #f4f6f9); border: 1px solid var(--line); }
.tierp__k { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.tierp__p { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 28px; }
.tierp s { margin-left: 8px; color: var(--muted); }
.coll-intro { margin: 0 0 28px; max-width: 62rem; }
.coll-intro .eyebrow { margin-bottom: 8px; }
.coll-intro h2 { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: .95; }
.coll-intro p { margin: 0 0 12px; color: var(--ink2); font-size: 17px; max-width: 62ch; }
.coll-intro__l { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.coll-intro__l a { font-weight: 650; color: var(--blue); }
@media (max-width: 640px) {
  .oos-alt__row { flex-direction: column; align-items: stretch; }
}

.dx-faq__q { font: inherit; font-weight: 750; }
h2.faq-cat-h { margin: 22px 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: inherit; font-style: normal; font-weight: 700; }
