/*
 * Approved production direction: A — Precision daylight.
 * This file is intentionally loaded last. It preserves the existing static
 * route/content owners and replaces only the shared visual and responsive layer.
 */

:root {
  --hf-ink: #10252c;
  --hf-muted: #5d6b6c;
  --hf-accent: #087b78;
  --hf-accent-bright: #29a7a1;
  --hf-paper: #f4f1e9;
  --hf-surface: #fbfaf6;
  --hf-line: rgba(16, 37, 44, 0.16);
  --hf-line-strong: rgba(16, 37, 44, 0.3);
  --hf-dark: #102b34;
  --hf-dark-2: #0b2028;
  --hf-on-dark: #edf4f2;
  --hf-success: #1b6d55;
  --hf-warning: #9a6514;
  --hf-error: #a43d32;
  --hf-shadow: 0 16px 44px rgba(13, 32, 39, 0.07);
  --hf-shadow-strong: 0 24px 65px rgba(13, 32, 39, 0.19);
  --hf-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --hf-serif: Georgia, "Times New Roman", serif;
  --hf-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Keep every legacy component on the approved token system. */
  --ink: var(--hf-ink);
  --deep: var(--hf-dark);
  --navy: var(--hf-dark);
  --paper: var(--hf-paper);
  --white: var(--hf-surface);
  --aqua: var(--hf-accent);
  --aqua-soft: #dcece8;
  --aqua-strong: var(--hf-accent);
  --mist: #e8ece7;
  --line: var(--hf-line);
  --line-strong: var(--hf-line-strong);
  --surface-soft: #edf0eb;
  --surface-aqua: #dce9e5;
  --surface-warm: var(--hf-paper);
  --commerce: var(--hf-accent);
  --commerce-soft: #dcece8;
  --success: var(--hf-success);
  --sans: var(--hf-sans);
  --serif: var(--hf-serif);
  --mono: var(--hf-mono);
  --radius: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  background: var(--hf-paper);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--hf-ink);
  background: var(--hf-paper);
  font-family: var(--hf-sans);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--hf-sans);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea,
summary {
  color: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

::selection {
  color: var(--hf-on-dark);
  background: var(--hf-accent);
}

:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--hf-accent-bright);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.bp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  background: var(--hf-dark-2);
  border: 1px solid var(--hf-accent-bright);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell,
.section-shell {
  width: min(89%, 1420px);
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 0;
}

.button,
.nav-cta,
.add-cart-reference,
.payment-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid var(--hf-dark);
  border-radius: 0;
  color: #fff;
  background: var(--hf-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.button:hover,
.nav-cta:hover,
.add-cart-reference:hover,
.payment-button:hover {
  transform: translateY(-1px);
}

.button.aqua {
  color: #fff;
  background: var(--hf-accent);
  border-color: var(--hf-accent);
}

.button.outline {
  color: var(--hf-ink);
  background: transparent;
  border-color: var(--hf-line-strong);
}

.button.outline:hover {
  color: #fff;
  background: var(--hf-dark);
  border-color: var(--hf-dark);
}

.text-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  color: var(--hf-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.eyebrow,
.section-kicker,
.breadcrumbs,
.stock-tag,
.gallery-index,
.client-value-mark,
.compat-tag,
.checkout-progress span,
.footer-rail > span,
.footer-socials span,
.product-meta > p:first-child,
.evidence-item > span {
  font-family: var(--hf-mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--hf-accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow.light {
  color: #8ed6cf;
}

.hero .eyebrow.light,
.products .eyebrow.light {
  color: var(--hf-accent);
}

/* Shared utility rail and navigation */
.notice {
  height: auto;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0;
  color: #c5d3d3;
  background: var(--hf-dark-2);
  font-family: var(--hf-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.notice-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.notice-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: -8px;
  background: var(--hf-accent-bright);
}

.notice a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  border: 0;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--hf-ink);
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--hf-line);
  backdrop-filter: blur(15px) saturate(120%);
}

.header-inner {
  min-height: 78px;
  height: auto;
  display: grid;
  grid-template-columns: 168px minmax(360px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand {
  width: max-content;
  min-width: 0;
  height: auto;
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  overflow: visible;
  color: var(--hf-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand > .brand-mark {
  display: flex !important;
}

.brand > span:last-child {
  display: inline-block !important;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid currentColor;
  transform: skewX(-8deg);
}

.brand-mark i {
  width: 4px;
  display: block;
  background: currentColor;
}

.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 21px; }

.desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.1vw, 36px);
  margin: 0;
}

.desktop-nav a {
  position: relative;
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #344a50;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--hf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.utility-link,
.cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: var(--hf-ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cart-link {
  background-image: none;
}

.cart-count {
  min-width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: #fff;
  background: var(--hf-accent);
  border-radius: 50%;
  font: 800 11px/1 var(--hf-sans);
}

.nav-cta {
  min-height: 44px;
  gap: 13px;
  padding-inline: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-button {
  min-width: 48px;
  min-height: 48px;
  display: none;
  place-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--hf-ink);
  background: transparent;
  background-image: none;
}

.menu-button span:not(.sr-only) {
  width: 21px;
  height: 1px;
  display: block !important;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-button[aria-expanded="true"] span:not(.sr-only):first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  z-index: 110;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  padding: 12px max(20px, 5.5vw) 20px;
  color: var(--hf-on-dark);
  background: var(--hf-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 45px rgba(11, 32, 40, 0.2);
}

.mobile-menu a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* Homepage hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  color: var(--hf-ink);
  background: var(--hf-paper);
}

.hero-scene {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 1;
  background-image: image-set(
    url("assets/optimized/direction-a-lab.avif") type("image/avif"),
    url("assets/optimized/direction-a-lab.webp") type("image/webp"),
    url("assets/direction-a-lab.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 243, 236, 0.98) 0%, rgba(245, 243, 236, 0.92) 36%, rgba(245, 243, 236, 0.2) 63%, rgba(245, 243, 236, 0.02) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 5.5%;
  width: 1px;
  background: rgba(16, 37, 44, 0.12);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 5%;
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  padding: 88px 0 95px 3%;
}

.hero-copy .eyebrow {
  margin: 0;
}

.hero h1 {
  max-width: 730px;
  margin: 24px 0 22px;
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: clamp(56px, 6.1vw, 91px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.067em;
}

.hero h1 em,
.section-top h2 em,
.promise-head h2 em,
.reviews-head h2 em,
.video-copy h2 em,
.page-hero h1 em,
.wholesale h2 em {
  color: var(--hf-accent);
  font-family: var(--hf-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 0;
  color: #4c6064;
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.hero .button.primary {
  min-height: 52px;
  justify-content: space-between;
  gap: 24px;
}

.hero-proof {
  display: flex;
  gap: 32px;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--hf-line);
}

.hero-proof > div {
  min-width: 0;
  display: flex;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--hf-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-proof strong {
  color: var(--hf-ink);
}

.hero-product {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(92%, 410px);
  height: auto;
  min-height: 0;
  display: grid;
  margin: 0 0 52px;
  padding: 12px;
  overflow: visible;
  color: var(--hf-ink);
  background: rgba(251, 250, 246, 0.95);
  border: 1px solid rgba(16, 37, 44, 0.26);
  box-shadow: var(--hf-shadow-strong);
  backdrop-filter: blur(8px);
}

.product-orbit {
  display: none;
}

.hero-product-label,
.hero-spec {
  position: static;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 0 2px 10px;
  color: var(--hf-muted);
  background: transparent;
  border: 0;
  font-family: var(--hf-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.hero-product-label span,
.hero-spec span {
  color: var(--hf-muted);
  font: inherit;
}

.hero-product-label b,
.hero-spec b {
  color: var(--hf-ink);
  font: 800 12px/1.2 var(--hf-mono);
}

.hero-product-label small {
  max-width: 125px;
  color: var(--hf-accent);
  font: 700 10px/1.35 var(--hf-mono);
  text-align: right;
}

.hero-product > img {
  position: static;
  z-index: auto;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--hf-line);
  filter: none;
  mix-blend-mode: normal;
  transform: none;
}

.hero-spec {
  padding: 10px 2px 0;
}

.hero-product::before,
.hero-product::after {
  display: none;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  width: min(89%, 1420px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--hf-muted);
  font: 700 10px/1.3 var(--hf-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-line {
  min-width: 25px;
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.65;
}

/* Homepage proof rails */
.trust-strip {
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid > div {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 18px;
  align-content: center;
  padding: 30px clamp(18px, 2.4vw, 38px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid > div:first-child {
  border-left: 0;
}

.trust-grid .proof-icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #71c9c1;
  border: 1px solid currentColor;
}

.trust-grid .proof-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.trust-grid .index {
  position: absolute;
  top: 15px;
  right: 17px;
  color: #78949a;
  font: 700 11px/1 var(--hf-mono);
}

.trust-grid b {
  display: block;
  margin: 0;
  color: var(--hf-on-dark);
  font-size: 16px;
  line-height: 1.25;
}

.trust-grid p {
  margin: 4px 0 0;
  color: #aebfc1;
  font-size: 14px;
  line-height: 1.55;
}

.catalog-evidence {
  padding: 0;
  color: var(--hf-ink);
  background: #dfe5e1;
  border-bottom: 1px solid var(--hf-line);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evidence-item {
  min-height: 104px;
  display: grid;
  align-content: center;
  padding: 16px 20px;
  border: 0;
  border-left: 1px solid var(--hf-line);
}

.evidence-item:first-child {
  border-left: 0;
}

.evidence-item strong {
  color: var(--hf-ink);
  font-size: 14px;
  line-height: 1.25;
}

.evidence-item > span {
  margin-top: 5px;
  color: var(--hf-accent);
}

.evidence-item p {
  margin: 6px 0 0;
  color: var(--hf-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Shared homepage section typography */
.applications,
.service-promises,
.products,
.finder,
.quality,
.reviews,
.video-library {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-top,
.promise-head,
.reviews-head,
.detail-section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8%;
  align-items: end;
  margin-bottom: 48px;
}

.section-top h2,
.promise-head h2,
.reviews-head h2,
.video-copy h2,
.detail-section-head h2,
.section-title {
  margin: 16px 0 0;
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.section-intro,
.promise-head > p,
.reviews-note,
.detail-section-head > p,
.section-lead {
  max-width: 560px;
  justify-self: end;
  margin: 0;
  padding-bottom: 5px;
  color: var(--hf-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Applications */
.applications {
  background: var(--hf-surface);
}

.category-grid {
  height: 590px;
  display: grid;
  grid-template-columns: 1.36fr 0.82fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 9px;
}

.category {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  background: var(--hf-dark);
  border: 0;
  border-radius: 0;
  text-decoration: none;
}

.category-grid .category-featured {
  grid-row: 1 / 3;
}

.category-grid .category-wide {
  grid-column: 2 / 4;
}

.category img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category:hover img,
.category:focus-visible img {
  transform: scale(1.025);
}

.category::before {
  display: none;
}

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 27%, rgba(4, 18, 24, 0.8) 100%);
}

.category > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: end;
  padding: 22px;
}

.category .index {
  grid-column: 1 / -1;
  color: #a9d7d2;
  font: 800 12px/1 var(--hf-mono);
  letter-spacing: 0.1em;
}

.category h3 {
  margin: 0;
  color: #fff;
  font-family: var(--hf-sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.category-featured h3 {
  font-size: 30px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.category-link b {
  color: #8ed6cf;
  font-size: 16px;
}

/* Products */
.products {
  color: var(--hf-ink);
  background: #e9ebe6;
}

.products h2,
.products .light-text {
  color: var(--hf-ink);
}

.products-heading {
  margin-bottom: 48px;
}

.product-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 9px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
}

.product-photo {
  position: relative;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 0;
}

.product-photo img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1.08 / 1;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  transition: transform 0.35s ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.025);
}

.stock-tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--hf-accent);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hf-line);
}

.quick-add {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 44px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-meta {
  min-height: 190px;
  padding: 24px;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border-top: 1px solid var(--hf-line);
}

.product-meta > p:first-child {
  margin: 0;
  color: var(--hf-accent);
}

.product-meta h3 {
  margin: 13px 0 8px;
  color: var(--hf-ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.product-meta > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--hf-line);
  color: var(--hf-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.catalog-price {
  color: var(--hf-ink);
  font-size: 18px;
  font-weight: 800;
}

/* Finder */
.finder {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  background: var(--hf-dark);
}

.finder-panel {
  width: min(89%, 1420px);
  max-width: 1420px;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  color: var(--hf-on-dark);
  background: transparent;
  border: 0;
}

.finder-panel::after {
  display: none;
}

.finder h2,
.finder-box h2 {
  margin: 14px 0 14px;
  color: var(--hf-on-dark);
  font-family: var(--hf-sans);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.finder-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #adc0c2;
  font-size: 16px;
  line-height: 1.75;
}

.finder-note {
  max-width: 520px;
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  color: #b9cacc;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 14px;
  line-height: 1.6;
}

.finder-note .ui-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(77%) sepia(30%) saturate(620%) hue-rotate(127deg) brightness(94%);
}

.lookup-form {
  padding: 26px;
  color: var(--hf-on-dark);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lookup-form > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.search-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  color: var(--hf-ink);
  background: #fff;
}

.search-row input {
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  color: var(--hf-ink);
  background: transparent;
  font-size: 16px;
}

.search-row .button {
  min-width: 175px;
  border: 0;
}

.form-status {
  min-height: 25px;
  margin: 14px 0 18px;
  color: #b9cacc;
  font-size: 14px;
  line-height: 1.6;
}

.form-status[data-state="checking"]::before {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 9px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--hf-accent-bright);
  border-radius: 50%;
  vertical-align: -2px;
  animation: bp-spin 0.75s linear infinite;
}

.form-status[data-state="candidate"],
.form-status[data-state="human"] {
  padding: 12px 14px;
  color: var(--hf-on-dark);
  background: rgba(41, 167, 161, 0.13);
  border-left: 3px solid var(--hf-accent-bright);
}

.form-status[data-state="empty"] {
  padding: 12px 14px;
  color: #f5d9bf;
  background: rgba(154, 101, 20, 0.16);
  border-left: 3px solid #d79a42;
}

.form-status a,
.form-status button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin: 8px 10px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font: 800 13px/1.2 var(--hf-sans);
  text-decoration: none;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.popular-searches > span {
  margin-right: 4px;
  color: #91a9ac;
  font: 700 11px/1.3 var(--hf-mono);
  letter-spacing: 0.08em;
}

.popular-searches button {
  min-height: 36px;
  padding: 0 11px;
  color: #d9e6e5;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

@keyframes bp-spin {
  to { transform: rotate(1turn); }
}

/* Evidence */
.quality {
  background: var(--hf-paper);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 7%;
  align-items: stretch;
}

.quality-image {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--hf-line);
}

.quality-image::before,
.quality-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 45px;
  height: 45px;
  border-color: var(--hf-accent);
  border-style: solid;
  pointer-events: none;
}

.quality-image::before {
  top: 25px;
  left: 25px;
  border-width: 1px 0 0 1px;
}

.quality-image::after {
  right: 25px;
  bottom: 78px;
  border-width: 0 1px 1px 0;
}

.quality-image img {
  width: 100%;
  height: 100%;
  max-height: 610px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.quality-image-note {
  position: absolute;
  z-index: 3;
  right: 25px;
  bottom: 25px;
  left: 25px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  color: var(--hf-on-dark);
  background: rgba(10, 29, 36, 0.9);
  backdrop-filter: blur(6px);
}

.quality-image-note span {
  color: #71c9c1;
  font: 800 11px/1.3 var(--hf-mono);
  letter-spacing: 0.09em;
}

.quality-image-note b {
  margin: 0;
  color: var(--hf-on-dark);
  font: 700 14px/1.3 var(--hf-sans);
  text-align: right;
}

.quality-copy {
  align-self: center;
}

.quality-copy h2 {
  margin: 16px 0 18px;
  font-family: var(--hf-sans);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.quality-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--hf-muted);
  font-size: 16px;
  line-height: 1.75;
}

.quality dl {
  margin: 0 0 28px;
  border-top: 1px solid var(--hf-line);
}

.quality dl > div {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) 1fr;
  gap: 18px;
  align-content: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--hf-line);
}

.quality dt,
.quality dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.quality dt {
  font-weight: 800;
}

.quality dd {
  color: var(--hf-muted);
}

/* Before-order flow */
.reviews {
  position: relative;
  background: var(--hf-paper);
  border-top: 1px solid var(--hf-line);
}

.reviews > .section-shell {
  position: relative;
  padding-top: 74px;
  border-top: 1px solid var(--hf-line);
}

.reviews > .section-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 68px;
  height: 3px;
  background: var(--hf-accent);
}

.reviews-head h2 {
  font-size: clamp(38px, 3.8vw, 58px);
}

.before-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--hf-accent);
  font: 800 11px/1 var(--hf-mono);
  letter-spacing: 0.1em;
}

.before-progress i {
  min-width: 24px;
  height: 1px;
  flex: 1;
  background: var(--hf-line);
}

.review-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 53px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--hf-accent);
}

.review-card {
  position: relative;
  z-index: 1;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  box-shadow: var(--hf-shadow);
}

.review-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  background: var(--hf-accent);
}

.review-card.is-match {
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border-color: rgba(16, 43, 52, 0.72);
  box-shadow: 0 20px 52px rgba(13, 32, 39, 0.15);
}

.review-card.is-evidence {
  background-color: var(--hf-surface);
  background-image: linear-gradient(rgba(16, 37, 44, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 37, 44, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

.review-card.is-purchase {
  background: linear-gradient(145deg, #edf4f1 0%, #dbeae6 100%);
}

.review-card-top {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.review-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--hf-accent);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid currentColor;
}

.review-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.review-card.is-match .review-icon {
  color: #7bd0c8;
  background: rgba(255, 255, 255, 0.035);
}

.client-value-mark {
  color: var(--hf-accent);
}

.review-card.is-match .client-value-mark {
  color: #8ed6cf;
}

.review-watermark {
  color: var(--hf-ink);
  font: 700 50px/0.8 var(--hf-sans);
  letter-spacing: -0.07em;
  opacity: 0.07;
}

.review-card.is-match .review-watermark {
  color: #fff;
  opacity: 0.11;
}

.review-card h3 {
  max-width: 320px;
  margin: 0 0 14px;
  color: var(--hf-ink);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.review-card.is-match h3 {
  color: #fff;
}

.review-card blockquote {
  max-width: 38ch;
  margin: 0;
  color: var(--hf-muted);
  font-family: var(--hf-serif);
  font-size: 16px;
  line-height: 1.65;
}

.review-card.is-match blockquote {
  color: #bdccce;
}

.review-source {
  margin-top: auto;
  padding-top: 23px;
  border-top: 1px solid var(--hf-line);
}

.review-card.is-match .review-source {
  border-color: rgba(255, 255, 255, 0.16);
}

.review-source strong {
  display: block;
  margin-bottom: 11px;
  color: var(--hf-ink);
  font-size: 13px;
}

.review-card.is-match .review-source strong {
  color: var(--hf-on-dark);
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-tags i {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--hf-muted);
  border: 1px solid var(--hf-line);
  font: 700 11px/1 var(--hf-mono);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-card.is-match .review-tags i {
  color: #abc0c3;
  border-color: rgba(255, 255, 255, 0.17);
}

/* Four-stage support */
.service-promises {
  color: var(--hf-ink);
  background: var(--hf-surface);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hf-line);
}

.promise-card {
  min-height: 210px;
  padding: 29px 22px 24px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hf-line);
}

.promise-card:first-child {
  border-left: 0;
}

.promise-icon {
  width: auto;
  height: auto;
  display: block;
  margin: 0 0 27px;
  color: var(--hf-accent);
  border: 0;
  font: 800 12px/1 var(--hf-mono);
  letter-spacing: 0.1em;
}

.promise-card h3 {
  margin: 0;
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.promise-card p {
  margin: 10px 0 0;
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Tutorial strip and dialog */
.video-library {
  background: var(--hf-surface);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) minmax(0, 4fr);
  gap: 0;
  align-items: stretch;
  color: var(--hf-on-dark);
  background: var(--hf-dark);
}

.video-copy {
  position: static;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.video-copy h2 {
  margin: 14px 0 0;
  color: var(--hf-on-dark);
  font-size: 30px;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.video-copy > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 14px 0 0;
  color: #9fb2b5;
  font-size: 13px;
  line-height: 1.6;
}

.video-copy .button {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 18px;
  padding-inline: 0;
  color: var(--hf-on-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
}

.video-status {
  min-height: 0;
  margin-top: 12px !important;
  color: #7f999d !important;
  font: 12px/1.55 var(--hf-mono) !important;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.video-card {
  position: relative;
  min-width: 0;
  min-height: 230px;
  display: grid;
  align-content: end;
  padding: 0;
  overflow: hidden;
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.video-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(11, 32, 40, 0.92) 100%);
}

.video-card:hover > img,
.video-card:focus-visible > img {
  opacity: 0.36;
  transform: scale(1.025);
}

.play-mark {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #71c9c1;
  border: 1px solid currentColor;
}

.play-mark img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(21%) saturate(882%) hue-rotate(127deg) brightness(96%);
}

.video-card-content {
  position: relative;
  z-index: 2;
  inset: auto;
  display: block;
  padding: 24px 20px;
}

.video-card-content > span {
  color: #8ba2a5;
  font: 700 11px/1.3 var(--hf-mono);
  letter-spacing: 0.07em;
}

.video-card-content strong {
  display: block;
  margin-top: 9px;
  color: var(--hf-on-dark);
  font: 700 15px/1.25 var(--hf-sans);
}

.guide-dialog {
  width: min(calc(100% - 40px), 720px);
  max-height: min(86vh, 720px);
  padding: 0;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line-strong);
  box-shadow: 0 34px 90px rgba(5, 22, 28, 0.32);
}

.guide-dialog::backdrop {
  background: rgba(5, 22, 28, 0.72);
  backdrop-filter: blur(4px);
}

.guide-dialog-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 32px;
}

.guide-dialog .section-kicker {
  grid-column: 1;
  margin: 0;
}

.guide-dialog h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.guide-dialog p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hf-muted);
}

.guide-dialog-status {
  min-height: 180px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #b9cacc !important;
  background: var(--hf-dark);
  border: 1px solid var(--hf-line);
  text-align: center;
}

.guide-dialog-close {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--hf-ink);
  background: transparent;
  border: 1px solid var(--hf-line-strong);
  font-size: 24px;
}

/* Wholesale and footer */
.wholesale {
  position: relative;
  overflow: hidden;
  color: #f2f7f6;
  background: #1a454c;
}

.wholesale-panel {
  min-height: 400px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8%;
  align-items: end;
  padding-top: 88px;
  padding-bottom: 88px;
}

.wholesale h2 {
  margin: 20px 0 0;
  color: #f2f7f6;
  font-family: var(--hf-sans);
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.wholesale-side {
  max-width: 520px;
  justify-self: end;
  padding: 0;
}

.wholesale-side p {
  margin: 0 0 25px;
  color: #c3d5d5;
  font-size: 16px;
  line-height: 1.75;
}

.wholesale .button {
  color: var(--hf-ink);
  background: var(--hf-paper);
  border-color: var(--hf-paper);
}

.wholesale-number {
  right: -35px;
  bottom: -70px;
  color: rgba(255, 255, 255, 0.055);
  font: 600 310px/0.8 var(--hf-sans);
}

.site-footer.expanded-footer {
  padding: 0;
  color: #d9e5e5;
  background: var(--hf-dark-2);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 5%;
  padding-top: 70px;
  padding-bottom: 38px;
}

.footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column:nth-child(1) { order: 2; }
.footer-column:nth-child(2) { order: 3; }
.footer-column:nth-child(3) { order: 4; }
.footer-column.footer-contact { order: 1; }

.footer-column h2 {
  margin: 0 0 8px;
  color: #7dbfb8;
  font: 800 12px/1 var(--hf-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #c3d0d1;
  font-size: 13px;
  text-decoration: none;
}

.footer-contact .footer-brand {
  color: #fff;
  background: transparent;
  border: 0;
}

.footer-contact > p:not(.contact-data) {
  max-width: 310px;
  margin: 18px 0 0;
  color: #819a9e;
  font-size: 14px;
  line-height: 1.7;
}

.contact-data {
  margin: 14px 0 0;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.footer-socials span,
.footer-badges span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #9fb1b4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: 700 10px/1 var(--hf-mono);
  letter-spacing: 0.04em;
}

.footer-rails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-rail {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.footer-rail + .footer-rail {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-rail > span {
  margin-right: auto;
  color: #718b90;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718b90;
  font: 700 11px/1.4 var(--hf-mono);
  letter-spacing: 0.06em;
}

/* Inner-page foundations */
.page-hero {
  position: relative;
  padding: 92px 0 86px;
  overflow: hidden;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 5.5%;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(8, 123, 120, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
}

.breadcrumbs {
  margin: 0 0 28px;
  color: var(--hf-muted);
}

.breadcrumbs a {
  color: var(--hf-accent);
  text-decoration: none;
}

.page-hero h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: clamp(56px, 6.1vw, 91px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.page-hero > .section-shell > p:last-child:not(.breadcrumbs) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--hf-muted);
  font-size: 18px;
  line-height: 1.72;
}

.page-section,
.detail-expansion {
  padding: 96px 0;
  color: var(--hf-ink);
  background: var(--hf-surface);
}

.detail-expansion.alt {
  background: #edf0eb;
}

.section-title {
  max-width: 920px;
}

.section-lead {
  max-width: 720px;
  justify-self: start;
  margin-top: 22px;
  padding: 0;
}

.page-note,
.demo-notice,
.summary-note {
  margin-top: 28px;
  padding: 18px 20px;
  color: var(--hf-muted);
  background: #edf0eb;
  border-left: 3px solid var(--hf-accent);
  font-size: 14px;
  line-height: 1.65;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 48px;
}

.application-list .category {
  min-height: 380px;
}

.application-list .category-featured {
  grid-row: span 2;
  min-height: 770px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--hf-muted);
  border: 1px solid var(--hf-line);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.filter-row a[aria-current="page"] {
  color: #fff;
  background: var(--hf-dark);
  border-color: var(--hf-dark);
}

.finder-page,
.contact-grid,
.wholesale-grid,
.info-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8%;
  align-items: start;
}

.finder-steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: bp-step;
  border-top: 1px solid var(--hf-line);
}

.finder-steps li {
  position: relative;
  min-height: 82px;
  display: grid;
  align-items: center;
  padding: 16px 0 16px 52px;
  color: var(--hf-muted);
  border-bottom: 1px solid var(--hf-line);
  font-size: 15px;
  line-height: 1.6;
  counter-increment: bp-step;
}

.finder-steps li::before {
  content: "0" counter(bp-step);
  position: absolute;
  left: 0;
  color: var(--hf-accent);
  font: 800 12px/1 var(--hf-mono);
}

.finder-box,
.contact-form,
.fitment-form {
  padding: 32px;
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border: 1px solid var(--hf-dark);
  box-shadow: var(--hf-shadow);
}

.finder-box .lookup-form {
  padding: 0;
  background: transparent;
  border: 0;
}

.finder-box h2,
.contact-form h2,
.fitment-form h2 {
  margin: 0 0 10px;
  color: var(--hf-on-dark);
  font-family: var(--hf-sans);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-form > p:not(.form-message),
.fitment-form > p:not(.form-message) {
  margin: 0;
  color: #adc0c2;
  font-size: 14px;
}

.form-grid,
.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea,
.compat-search input,
.cart-quantity,
.shipping-select select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  color: var(--hf-ink);
  background: #fff;
  border: 1px solid var(--hf-line-strong);
  border-radius: 0;
  font-size: 16px;
  line-height: 1.4;
}

.form-field textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid,
.was-validated :invalid {
  border-color: var(--hf-error);
  box-shadow: inset 0 0 0 1px var(--hf-error);
}

.contact-form .button,
.fitment-form .button {
  margin-top: 18px;
  color: var(--hf-ink);
  background: var(--hf-paper);
  border-color: var(--hf-paper);
}

.form-message,
.purchase-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: #a9d7d2;
  font-size: 14px;
  line-height: 1.6;
}

.form-message[data-state="success"] {
  padding: 12px 14px;
  background: rgba(41, 167, 161, 0.13);
  border-left: 3px solid var(--hf-accent-bright);
}

.form-message[data-state="error"] {
  padding: 12px 14px;
  color: #f3cbc5;
  background: rgba(164, 61, 50, 0.16);
  border-left: 3px solid #d46a5e;
}

.contact-aside dl {
  margin: 34px 0 0;
  border-top: 1px solid var(--hf-line);
}

.contact-aside dl > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--hf-line);
}

.contact-aside dt {
  color: var(--hf-accent);
  font: 800 12px/1.3 var(--hf-mono);
  letter-spacing: 0.08em;
}

.contact-aside dd {
  margin: 8px 0 0;
  color: var(--hf-muted);
  font-size: 14px;
}

.info-aside {
  position: sticky;
  top: 120px;
}

.info-aside > p:not(.section-kicker) {
  color: var(--hf-muted);
  font-size: 15px;
  line-height: 1.75;
}

.info-stack {
  border-top: 1px solid var(--hf-line);
}

.info-panel {
  padding: 30px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hf-line);
}

.info-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.info-panel p,
.info-panel li {
  max-width: 72ch;
  color: var(--hf-muted);
  font-size: 15px;
  line-height: 1.75;
}

.info-card,
.region-card,
.support-link-card,
.protection-item,
.supply-card {
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
}

.quality-cards,
.region-grid,
.support-card-grid,
.protection-grid,
.supply-grid {
  display: grid;
  gap: 12px;
}

.quality-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.quality-cards .info-card {
  min-height: 190px;
  padding: 26px;
}

.quality-cards .info-card b {
  font-size: 18px;
}

.quality-cards .info-card p {
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.65;
}

.region-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.region-card {
  min-height: 220px;
  padding: 28px;
}

.region-card > span,
.support-link-card > span,
.protection-item > span {
  color: var(--hf-accent);
  font: 800 12px/1.3 var(--hf-mono);
  letter-spacing: 0.08em;
}

.region-card h3 {
  margin: 44px 0 10px;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.region-card p,
.support-link-card p,
.protection-item p {
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.65;
}

.support-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-link-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.support-link-card h2 {
  margin: 34px 0 10px;
  font-family: var(--hf-sans);
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.support-link-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--hf-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.faq-list {
  border-top: 1px solid var(--hf-line);
}

.faq-list details {
  padding: 0;
  border-bottom: 1px solid var(--hf-line);
}

.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--hf-accent);
  font: 20px/1 var(--hf-mono);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 76ch;
  margin: 0;
  padding: 0 0 24px;
  color: var(--hf-muted);
  font-size: 15px;
  line-height: 1.75;
}

.protection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.protection-item {
  min-height: 230px;
  padding: 26px;
}

.protection-item b {
  display: block;
  margin-top: 42px;
  font-size: 19px;
  line-height: 1.2;
}

.supply-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.supply-card {
  padding: 28px;
}

.supply-card h3 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.supply-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hf-line);
}

.supply-list li {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hf-line);
}

.supply-list b {
  font-size: 14px;
}

.supply-list span {
  color: var(--hf-muted);
  font-size: 13px;
  text-align: right;
}

.compat-search {
  margin-bottom: 16px;
}

.compat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compat-tag {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: var(--hf-accent);
  background: #edf4f1;
  border: 1px solid var(--hf-line);
}

.compat-empty {
  margin: 18px 0 0;
  color: var(--hf-muted);
  font-size: 14px;
}

/* Product detail */
.detail-layout-reference {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 7%;
  align-items: start;
}

.reference-gallery {
  position: sticky;
  top: 116px;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 56px 28px 28px;
  background: #fff;
  border: 1px solid var(--hf-line);
}

.reference-gallery .gallery-index {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--hf-accent);
}

.reference-gallery > img {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: contain;
}

.reference-detail-copy h1 {
  margin: 0;
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.product-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.more-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--hf-line);
  font-size: 12px;
  font-weight: 800;
}

.more-pill .ui-icon {
  width: 14px;
  height: 14px;
}

.product-rating {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--hf-muted);
  font-size: 13px;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars .ui-icon {
  width: 17px;
  height: 17px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--hf-line);
}

.spec-table th,
.spec-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--hf-line);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  color: var(--hf-muted);
  font: 800 12px/1.45 var(--hf-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shipping-row,
.availability-row,
.reference-price-line {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hf-line);
  font-size: 13px;
}

.shipping-select {
  min-width: min(270px, 62%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-select .ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.availability-row strong {
  max-width: 62%;
  text-align: right;
}

.availability-row em {
  color: var(--hf-accent);
  font-style: normal;
}

.reference-price-line strong {
  font-size: 27px;
}

.reference-price-line a {
  color: var(--hf-accent);
  font-size: 12px;
}

.reference-purchase-panel {
  margin-top: 22px;
  padding: 22px;
  color: var(--hf-ink);
  background: #edf0eb;
  border: 1px solid var(--hf-line);
}

.reference-purchase-controls {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 10px;
}

.quantity-stepper {
  min-height: 50px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  color: var(--hf-ink);
  background: #fff;
  border: 1px solid var(--hf-line-strong);
}

.quantity-stepper button {
  min-width: 40px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.quantity-stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--hf-line);
  border-left: 1px solid var(--hf-line);
  text-align: center;
}

.quantity-stepper .ui-icon,
.add-cart-reference .ui-icon,
.card-button .ui-icon {
  width: 20px;
  height: 20px;
}

.payment-button {
  width: 100%;
  margin-top: 10px;
  color: var(--hf-ink);
  background: #fff;
  border-color: var(--hf-line-strong);
}

.paypal-mark {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.purchase-note {
  color: var(--hf-muted);
  font-size: 13px;
  line-height: 1.6;
}

.fitment-form {
  margin-top: 22px;
}

/* Commerce */
.commerce-shell {
  width: min(89%, 1160px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 66px 0 100px;
}

.commerce-head {
  margin-bottom: 30px;
}

.commerce-head h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.058em;
}

.commerce-head p {
  max-width: 650px;
  color: var(--hf-muted);
  font-size: 16px;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
  border: 1px solid var(--hf-line);
}

.checkout-progress span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--hf-muted);
  border-right: 1px solid var(--hf-line);
}

.checkout-progress span:last-child {
  border-right: 0;
}

.checkout-progress .active {
  color: var(--hf-ink);
  background: #dcece8;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.cart-card,
.checkout-card,
.order-summary,
.confirmation-card {
  padding: 28px;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  box-shadow: none;
}

.cart-card h2,
.checkout-card h2,
.order-summary h2 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.cart-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.cart-item img {
  width: 128px;
  height: 128px;
  padding: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--hf-line);
}

.cart-item h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.cart-item p {
  margin: 4px 0;
  color: var(--hf-muted);
  font-size: 14px;
}

.quantity-field {
  display: grid;
  gap: 7px;
  color: var(--hf-muted);
  font-size: 12px;
  font-weight: 800;
}

.remove-item {
  min-height: 44px;
  padding: 0;
  color: var(--hf-error);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.empty-cart {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.summary-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--hf-line);
  color: var(--hf-muted);
  font-size: 14px;
}

.summary-row.total {
  min-height: 62px;
  color: var(--hf-ink);
  font-size: 17px;
  font-weight: 800;
}

.order-summary .button {
  width: 100%;
  margin-top: 20px;
}

.checkout-card + .checkout-card {
  margin-top: 16px;
}

.checkout-card .form-field {
  color: var(--hf-ink);
}

.payment-options {
  display: grid;
  gap: 8px;
}

.payment-option {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--hf-line);
  font-size: 14px;
  font-weight: 800;
}

.payment-option:has(input:checked) {
  background: #dcece8;
  border-color: var(--hf-accent);
}

.payment-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--hf-accent);
}

.payment-panel {
  margin-top: 14px;
  padding: 18px;
  background: #edf0eb;
  border: 1px solid var(--hf-line);
}

.checkout-submit-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.55;
}

.checkout-submit-status[data-state="processing"] {
  color: var(--hf-accent);
}

.checkout-submit-status[data-state="error"] {
  padding: 12px 14px;
  color: var(--hf-error);
  background: #fae8e5;
  border-left: 3px solid var(--hf-error);
}

[data-checkout-form] button[type="submit"][aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.confirmation-card {
  width: min(89%, 860px);
  margin: 42px auto 100px;
  padding: 48px;
  text-align: center;
}

.confirmation-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--hf-on-dark);
  background: var(--hf-success);
}

.confirmation-card h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.confirmation-card p {
  color: var(--hf-muted);
  font-size: 15px;
}

/* Tablet */
@media (max-width: 1199px) {
  .header-inner {
    grid-template-columns: 150px minmax(330px, 1fr) auto;
    gap: 16px;
  }

  .desktop-nav {
    gap: 15px;
  }

  .utility-link {
    display: none;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 3%;
  }

  .hero-product {
    width: min(96%, 390px);
  }

  .evidence-grid,
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-item:nth-child(3),
  .evidence-item:nth-child(4),
  .promise-card:nth-child(3),
  .promise-card:nth-child(4) {
    border-top: 1px solid var(--hf-line);
  }

  .evidence-item:nth-child(3),
  .promise-card:nth-child(3) {
    border-left: 0;
  }

  .category-grid {
    height: 540px;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .video-card:first-child {
    border-left: 0;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
    gap: 3%;
  }

  .info-aside,
  .reference-gallery {
    position: static;
  }

  .detail-layout-reference {
    grid-template-columns: minmax(0, 0.95fr) minmax(410px, 1.05fr);
    gap: 5%;
  }

  .reference-gallery {
    min-height: 540px;
  }
}

/* Compact header */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 4px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.78fr;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 70px);
  }

  .product-grid,
  .catalog-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .product-card:last-child {
    grid-column: 1 / -1;
  }

  .quality-grid,
  .finder-panel,
  .finder-page,
  .contact-grid,
  .wholesale-grid,
  .info-layout,
  .detail-layout-reference,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .finder-panel {
    gap: 44px;
  }

  .quality-image {
    min-height: 480px;
  }

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-card:last-child {
    grid-column: 1 / -1;
  }

  .review-grid::before {
    display: none;
  }

  .application-list .category-featured {
    grid-row: auto;
    min-height: 500px;
  }

  .detail-layout-reference {
    gap: 40px;
  }

  .reference-gallery {
    min-height: 560px;
  }

  .cart-layout,
  .checkout-layout {
    gap: 18px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .shell,
  .section-shell,
  .hero-bottom,
  .finder-panel,
  .commerce-shell {
    width: calc(100% - 40px);
  }

  .notice-inner {
    gap: 10px;
    padding: 5px 0;
  }

  .notice {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .notice-dot,
  .notice-inner > span:not(.notice-dot) {
    display: none;
  }

  .notice a {
    margin-left: auto;
    text-align: right;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 10px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .cart-link {
    padding-inline: 5px;
    font-size: 12px;
  }

  .cart-link::before {
    content: none;
  }

  .mobile-menu {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    min-height: 980px;
  }

  .hero-scene {
    background-image: image-set(
      url("assets/optimized/direction-a-lab-mobile.avif") type("image/avif"),
      url("assets/optimized/direction-a-lab-mobile.webp") type("image/webp"),
      url("assets/direction-a-lab-mobile.png") type("image/png")
    );
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(245, 243, 236, 0.98) 0%, rgba(245, 243, 236, 0.92) 39%, rgba(245, 243, 236, 0.25) 62%, rgba(245, 243, 236, 0.04) 100%);
  }

  .hero::before {
    left: 20px;
  }

  .hero-grid {
    min-height: 980px;
    display: block;
  }

  .hero-copy {
    width: 100%;
    padding: 54px 2px 0;
  }

  .hero h1 {
    max-width: 355px;
    margin: 20px 0 18px;
    font-size: 52px;
    line-height: 0.91;
  }

  .hero-intro {
    max-width: 345px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-top: 24px;
  }

  .hero .button.primary {
    width: 100%;
  }

  .hero .text-cta {
    width: fit-content;
  }

  .hero-proof {
    gap: 18px;
    margin-top: 16px;
    padding-top: 13px;
  }

  .hero-proof > div {
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
  }

  .hero-product {
    position: absolute;
    right: 20px;
    bottom: 72px;
    width: calc(100% - 40px);
    margin: 0;
    padding: 9px;
  }

  .hero-product > img {
    aspect-ratio: 1.42 / 1;
    padding: 8px;
  }

  .hero-product-label,
  .hero-spec {
    font-size: 10px;
  }

  .hero-product-label small {
    font-size: 9px;
  }

  .hero-bottom {
    bottom: 18px;
    gap: 7px;
    font-size: 8px;
  }

  .trust-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    min-height: 118px;
    padding: 20px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .trust-grid > div:first-child {
    border-top: 0;
  }

  .evidence-item {
    min-height: 94px;
    padding: 16px 4px;
    border-top: 1px solid var(--hf-line);
    border-left: 0;
  }

  .evidence-item:first-child {
    border-top: 0;
  }

  .applications,
  .service-promises,
  .products,
  .finder,
  .quality,
  .reviews,
  .video-library,
  .page-section,
  .detail-expansion {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-top,
  .promise-head,
  .reviews-head,
  .detail-section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .section-top h2,
  .promise-head h2,
  .reviews-head h2,
  .video-copy h2,
  .detail-section-head h2,
  .section-title,
  .quality-copy h2 {
    margin-top: 13px;
    font-size: 40px;
    line-height: 0.97;
  }

  .section-intro,
  .promise-head > p,
  .reviews-note,
  .detail-section-head > p,
  .section-lead {
    justify-self: start;
    max-width: none;
    padding: 0;
    font-size: 15px;
  }

  .category-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 8px;
  }

  #applications .category-grid,
  #products .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .category-grid .category,
  .category-grid .category-featured,
  .category-grid .category-wide {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    min-width: 0;
    min-height: 260px;
    flex: initial;
    scroll-snap-align: none;
  }

  .category-grid .category-featured {
    min-height: 350px;
  }

  .category > div {
    padding: 18px;
  }

  .category h3,
  .category-featured h3 {
    font-size: 22px;
  }

  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #products .product-grid .product-card {
    width: auto;
    min-width: 0;
    flex: initial;
    scroll-snap-align: none;
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .product-photo img {
    aspect-ratio: 1.3 / 1;
  }

  .quick-add {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    transform: none;
  }

  .product-meta {
    min-height: 160px;
    padding: 20px;
  }

  .finder-panel {
    gap: 30px;
  }

  .finder h2,
  .finder-box h2 {
    font-size: 42px;
  }

  .lookup-form {
    padding: 18px;
  }

  .finder-box .lookup-form {
    padding: 0;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row .button {
    min-height: 50px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .quality-image {
    min-height: 0;
    padding: 8px;
  }

  .quality-image img {
    height: auto;
    max-height: none;
    aspect-ratio: auto;
  }

  .quality-image::before {
    top: 18px;
    left: 18px;
  }

  .quality-image::after {
    right: 18px;
    bottom: 64px;
  }

  .quality-image-note {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .quality dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .reviews > .section-shell {
    padding-top: 54px;
  }

  .before-progress {
    font-size: 10px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-grid::before {
    top: 0;
    bottom: 0;
    left: 43px;
    width: 1px;
    height: auto;
    display: block;
  }

  .review-card,
  .review-card:last-child {
    grid-column: auto;
    min-height: 315px;
    padding: 22px;
  }

  .review-card-top {
    grid-template-columns: 46px 1fr auto;
    gap: 11px;
    margin-bottom: 27px;
  }

  .review-icon {
    width: 46px;
    height: 46px;
  }

  .review-card h3 {
    font-size: 21px;
  }

  .review-card blockquote {
    font-size: 15px;
  }

  .promise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promise-card {
    min-height: 180px;
    padding: 22px 16px;
    border-top: 1px solid var(--hf-line);
  }

  .promise-card:nth-child(odd) {
    border-left: 0;
  }

  .promise-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .video-copy {
    min-height: 250px;
    padding: 24px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    min-height: 180px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .wholesale-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .wholesale h2 {
    font-size: 42px;
  }

  .wholesale-side {
    max-width: none;
    justify-self: stretch;
  }

  .wholesale .button {
    width: 100%;
    justify-content: space-between;
  }

  .wholesale-number {
    font-size: 190px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 22px;
    padding-top: 52px;
  }

  .footer-column.footer-contact {
    grid-column: 1 / -1;
  }

  .footer-rails {
    grid-template-columns: 1fr;
  }

  .footer-rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
  }

  .footer-rail + .footer-rail {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .footer-rail > span {
    margin: 0;
  }

  .footer-badges {
    justify-content: flex-start;
  }

  .footer-bottom {
    min-height: 72px;
    font-size: 10px;
  }

  .page-hero {
    padding: 64px 0 58px;
  }

  .page-hero::after {
    right: -80px;
  }

  .page-hero h1 {
    font-size: 50px;
    line-height: 0.94;
  }

  .page-hero > .section-shell > p:last-child:not(.breadcrumbs) {
    margin-top: 22px;
    font-size: 16px;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .application-list,
  .quality-cards,
  .region-grid,
  .support-card-grid,
  .protection-grid,
  .supply-grid {
    grid-template-columns: 1fr;
  }

  .application-list .category,
  .application-list .category-featured {
    min-height: 300px;
  }

  .finder-page,
  .contact-grid,
  .wholesale-grid,
  .info-layout {
    gap: 42px;
  }

  .info-aside {
    position: static;
  }

  .finder-box,
  .contact-form,
  .fitment-form,
  .cart-card,
  .checkout-card,
  .order-summary {
    padding: 22px;
  }

  .form-grid,
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .support-link-card {
    min-height: 220px;
  }

  .supply-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .supply-list span {
    text-align: left;
  }

  .reference-gallery {
    min-height: 400px;
    padding: 54px 18px 18px;
  }

  .reference-detail-copy h1 {
    font-size: 42px;
  }

  .product-title-row {
    grid-template-columns: 1fr;
  }

  .more-pill {
    width: fit-content;
  }

  .shipping-row,
  .availability-row,
  .reference-price-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shipping-select,
  .availability-row strong {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .reference-purchase-controls {
    grid-template-columns: 1fr;
  }

  .detail-section-head h2 {
    overflow-wrap: anywhere;
  }

  .commerce-shell {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .checkout-progress span {
    min-height: 54px;
    padding: 0 8px;
    font-size: 10px;
    text-align: center;
  }

  .cart-item {
    grid-template-columns: 94px 1fr;
    gap: 16px;
  }

  .cart-item img {
    width: 94px;
    height: 94px;
  }

  .cart-item > div:last-child {
    grid-column: 1 / -1;
  }

  .confirmation-card {
    width: calc(100% - 40px);
    margin: 30px auto 70px;
    padding: 30px 22px;
  }

  .guide-dialog-inner {
    gap: 18px;
    padding: 24px;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .hero {
    min-height: 960px;
  }

  .hero-grid {
    min-height: 960px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-product-label small {
    max-width: 105px;
  }

  .quality-image-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .quality-image-note b {
    text-align: left;
  }

  .quality-image::after {
    bottom: 92px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-card,
  .promise-card:nth-child(-n + 2) {
    min-height: 160px;
    border-top: 1px solid var(--hf-line);
    border-left: 0;
  }

  .promise-card:first-child {
    border-top: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-column.footer-contact {
    grid-column: auto;
  }
}

@media (max-width: 340px) {
  .shell,
  .section-shell,
  .hero-bottom,
  .finder-panel,
  .commerce-shell {
    width: calc(100% - 32px);
  }

  .hero::before {
    left: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 45px;
  }

  .hero-product {
    right: 16px;
    width: calc(100% - 32px);
  }

  .header-actions {
    gap: 0;
  }

  .brand {
    gap: 7px;
    font-size: 9px;
  }

  .review-card {
    padding: 20px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero-overlay,
  .category::after,
  .video-card::after {
    display: none;
  }

  :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid CanvasText;
  }
}

/* WCAG AA contrast guarantees for legacy selectors with higher specificity. */
.button span,
.nav-cta span,
.text-cta span,
.quick-add span,
.product-meta a span {
  color: inherit;
}

.trust-strip .trust-grid b {
  color: var(--hf-on-dark);
}

.trust-strip .trust-grid p {
  color: #bdccce;
}

.reviews .review-card.is-match {
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border-color: rgba(16, 43, 52, 0.72);
}

#main .reviews .review-card.is-match h3 {
  color: #fff;
}

.video-library .video-copy .eyebrow {
  color: var(--hf-accent-bright);
}

.video-library .video-copy h2,
.video-library .video-copy h2 em {
  color: var(--hf-on-dark);
}

#main .video-library .video-copy h2,
#main .video-library .video-copy h2 em {
  color: var(--hf-on-dark);
}

.video-library .video-copy > p:not(.eyebrow) {
  color: #bdccce;
}

.more-pill {
  color: var(--hf-success);
}

.availability-row strong {
  color: #fff;
  background: var(--hf-success);
}

.availability-row em {
  color: var(--hf-ink);
  background: var(--hf-on-dark);
}

.reference-price-line > span {
  color: var(--hf-muted);
}

.catalog-grid .product-meta .catalog-price {
  color: var(--hf-ink);
  font-size: 18px;
  font-weight: 800;
}

/*
 * Homepage layout correction — 2026-08-31
 * Resolve late-cascade regressions without changing the shared inner-page
 * templates: remove reserved grid height, protect product imagery, restore
 * card padding, and give the four support stages a readable visual hierarchy.
 */

#top .hero-copy > h1,
#applications .section-top h2,
#products .products-heading h2,
#finder .finder-copy h2,
#quality .quality-copy h2,
.reviews .reviews-head h2,
.service-promises .promise-head h2,
.video-library .video-copy h2,
#wholesale .wholesale-panel h2 {
  margin-top: 0;
}

#top .hero-product {
  width: min(92%, 410px);
  height: auto;
  padding: 12px;
}

#top .hero-product > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

#applications.applications,
#products.products,
.reviews,
.service-promises {
  padding-top: 88px;
  padding-bottom: 88px;
}

#applications .section-top,
#products .products-heading,
.reviews .reviews-head,
.service-promises .promise-head {
  margin-bottom: 42px;
}

/* The application tiles are one natural row; no legacy row span or fixed box. */
#applications .category-grid {
  height: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  grid-auto-rows: auto;
  gap: 20px;
  align-items: start;
}

#applications .category,
#applications .category-featured,
#applications .category-wide {
  grid-column: auto;
  grid-row: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}

#applications .category img,
#applications .category:hover img,
#applications .category:focus-visible img,
#applications .category:nth-child(4) img,
#applications .category:nth-child(4):hover img,
#applications .category:nth-child(4):focus-visible img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  transform: none;
}

#applications .category > div {
  padding: 18px 4px 4px;
}

/* Product evidence remains completely visible and actions never cover it. */
#products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

#products .product-card,
#products .product-card:last-child {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#products .product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.03 / 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  place-items: stretch;
  padding: 24px 24px 16px;
  overflow: hidden;
}

#products .product-photo img,
#products .product-card:hover .product-photo img,
#products .product-card:focus-within .product-photo img {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  padding: 0;
  transform: none;
}

#products .quick-add {
  position: static;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  opacity: 1;
  transform: none;
}

#products .product-meta {
  min-height: 190px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 22px;
}

#products .product-meta > a {
  margin-top: auto;
}

/* Restore full inset spacing and distinct surfaces to the three-step flow. */
.reviews > .section-shell {
  padding-top: 0;
  border-top: 0;
}

.reviews > .section-shell::before,
.reviews .review-grid::before {
  display: none;
}

.reviews .review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

#main .reviews .review-card,
#main .reviews .review-card:first-child,
#main .reviews .review-card:last-child {
  grid-column: auto;
  min-width: 0;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--hf-line);
  box-shadow: var(--hf-shadow);
}

#main .reviews .review-card.is-match {
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border-color: rgba(16, 43, 52, 0.72);
}

#main .reviews .review-card.is-evidence {
  background-color: var(--hf-surface);
  background-image:
    linear-gradient(rgba(16, 37, 44, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 37, 44, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

#main .reviews .review-card.is-purchase {
  background: linear-gradient(145deg, #edf4f1 0%, #dbeae6 100%);
}

.reviews .review-card-top {
  margin-bottom: 30px;
}

.reviews .client-value-mark {
  margin-bottom: 0;
}

/* Four scannable stages replace the undifferentiated 2x2 specification table. */
.service-promises .promise-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

#main .service-promises .promise-card,
#main .service-promises .promise-card:first-child,
#main .service-promises .promise-card:last-child,
#main .service-promises .promise-card:nth-child(odd),
#main .service-promises .promise-card:nth-child(even) {
  position: relative;
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line) !important;
  background: var(--hf-surface);
  box-shadow: var(--hf-shadow);
}

#main .service-promises .promise-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  background: var(--hf-accent);
}

#main .service-promises .promise-card:first-child {
  color: var(--hf-on-dark);
  background: var(--hf-dark);
  border-color: var(--hf-dark);
  border-bottom-color: var(--hf-dark) !important;
}

#main .service-promises .promise-card:nth-child(2) {
  background-color: #fbfcfa;
  background-image:
    linear-gradient(rgba(16, 37, 44, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 37, 44, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}

#main .service-promises .promise-card:nth-child(3) {
  background: #e8f0ed;
}

#main .service-promises .promise-card:nth-child(4) {
  background: var(--hf-paper);
}

.service-promises .promise-icon {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 46px;
  color: var(--hf-accent);
}

.service-promises .promise-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}

.service-promises .promise-icon b {
  color: inherit;
  font: 800 12px/1 var(--hf-mono);
  letter-spacing: 0.1em;
}

#main .service-promises .promise-card:first-child .promise-icon {
  color: #78d0c7;
}

#main .service-promises .promise-card h3 {
  margin: auto 0 10px;
  font-size: 20px;
}

#main .service-promises .promise-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

#main .service-promises .promise-card:first-child h3 {
  color: #fff;
}

#main .service-promises .promise-card:first-child p {
  color: #bdccce;
}

/* Guide thumbnails also contain factual product/equipment imagery. */
.video-library .video-card > img {
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: #fff;
}

@media (max-width: 1199px) {
  #applications .category-grid,
  #products .product-grid,
  .service-promises .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #products .product-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .reviews .review-grid {
    grid-template-columns: 1fr;
  }

  #main .reviews .review-card,
  #main .reviews .review-card:first-child,
  #main .reviews .review-card:last-child {
    min-height: 330px;
  }
}

@media (max-width: 767px) {
  #applications.applications,
  #products.products,
  .reviews,
  .service-promises {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  #applications .category-grid,
  #products .product-grid,
  .service-promises .promise-grid {
    grid-template-columns: 1fr;
  }

  #products .product-photo {
    aspect-ratio: 1 / 1;
    padding: 20px 20px 14px;
  }

  #products .product-meta {
    min-height: 172px;
    padding: 22px;
  }

  #main .reviews .review-card,
  #main .reviews .review-card:first-child,
  #main .reviews .review-card:last-child {
    min-height: 0;
    padding: 24px;
  }

  #main .service-promises .promise-card,
  #main .service-promises .promise-card:first-child,
  #main .service-promises .promise-card:last-child,
  #main .service-promises .promise-card:nth-child(odd),
  #main .service-promises .promise-card:nth-child(even) {
    min-height: 230px;
    padding: 24px;
  }
}

/*
 * Homepage content-hierarchy cleanup — 2026-08-31
 * Keep only labels that add information, use conventional controls for real
 * navigation, and return the compact hero to normal document flow.
 */

.button.compact {
  min-height: 46px;
  gap: 0;
  padding-inline: 18px;
}

#top .hero-grid {
  min-height: 590px;
}

#top .hero-actions .button,
#products .quick-add,
#wholesale .button {
  justify-content: center;
  text-align: center;
}

#top .hero-actions .button.outline {
  color: var(--hf-ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--hf-line-strong);
}

#top .hero-actions .button.outline:hover {
  color: #fff;
  background: var(--hf-dark);
  border-color: var(--hf-dark);
}

#top .hero-product {
  margin-bottom: 32px;
}

#top .hero-product-label {
  padding: 2px 2px 12px;
}

#top .hero-product-label b {
  color: var(--hf-ink);
  font: 800 16px/1.2 var(--hf-mono);
  letter-spacing: 0.035em;
}

#top .hero-product-label small {
  max-width: 150px;
  color: var(--hf-muted);
  font: 700 11px/1.35 var(--hf-sans);
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.trust-grid > div {
  padding-top: 28px;
  padding-bottom: 28px;
}

#applications .category > div {
  position: static;
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  padding: 18px 4px 4px;
}

#applications .category h3,
#applications .category-featured h3 {
  font-size: clamp(19px, 1.65vw, 23px);
}

#applications .category:hover h3,
#applications .category:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

#products .products-heading .button {
  justify-self: end;
}

#products .stock-tag {
  font-size: 12px;
  letter-spacing: 0.07em;
}

#products .quick-add {
  display: flex;
  align-items: center;
}

#products .product-meta > a:hover,
#products .product-meta > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#quality .quality-image::before,
#quality .quality-image::after {
  display: none;
}

.reviews .review-card-top {
  grid-template-columns: 52px 1fr;
}

.reviews .review-step {
  justify-self: end;
  color: var(--hf-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.reviews .review-card.is-match .review-step {
  color: #8ed6cf;
}

.video-library .video-copy .button {
  min-height: 46px;
  padding-inline: 18px;
  color: var(--hf-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.video-library .video-copy .button:hover {
  color: var(--hf-dark);
  background: #fff;
  border-color: #fff;
}

.video-library .video-card-content > span {
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1050px) {
  #top.hero {
    min-height: 0;
    overflow: hidden;
  }

  #top .hero-grid {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  #top .hero-copy {
    width: min(100%, 760px);
    padding: 54px 0 0;
  }

  #top .hero-product {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 760px);
    height: auto;
    min-height: 0;
    align-self: center;
    justify-self: auto;
    margin: 0 0 48px;
    padding: 12px;
    border: 1px solid var(--hf-line-strong);
  }

  #top .hero-product > img {
    position: static;
    width: 100%;
    height: auto;
    max-height: 430px;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 12px;
    transform: none;
  }
}

@media (max-width: 767px) {
  #top .hero-copy {
    padding-top: 46px;
  }

  #top .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #top .hero-actions .button,
  #top .hero-actions .button.primary {
    width: 100%;
    min-height: 50px;
  }

  #top .hero-proof {
    margin-top: 24px;
  }

  #top .hero-product {
    margin-bottom: 36px;
  }

  #applications .category > div {
    min-height: 68px;
    padding-top: 15px;
  }

  #products .products-heading .button {
    width: 100%;
    max-width: 260px;
    justify-self: start;
  }

  .reviews .review-card-top {
    grid-template-columns: 46px 1fr;
  }
}

/* Shared cleanup for the same low-value ornament on inner templates. */

.button,
.nav-cta,
.wholesale .button {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  gap: 0;
}

.eyebrow > span,
.wholesale-number,
.quality-image::before,
.quality-image::after {
  display: none;
}

.stock-tag {
  font-size: 12px;
  letter-spacing: 0.07em;
}

.application-list .category > div {
  grid-template-columns: 1fr;
}

.support-link-card a {
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--hf-line-strong);
}

.support-link-card a:hover,
.support-link-card a:focus-visible {
  color: #fff;
  background: var(--hf-dark);
  border-color: var(--hf-dark);
}

/* Remove layout-guide ornament that does not communicate structure. */

#top.hero::before {
  display: none;
}

#top .hero-proof {
  padding-top: 0;
  border-top: 0;
}

.page-hero {
  border-bottom: 0;
}

.page-hero::after {
  display: none;
}

/* Inner application routes use complete images and a consistent card rhythm. */

.application-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.application-list .category,
.application-list .category-featured {
  min-height: 0;
  height: auto;
  grid-row: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
}

.application-list .category::after {
  display: none;
}

.application-list .category img,
.application-list .category:hover img,
.application-list .category:focus-visible img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 24px;
  background: #fff;
  transform: none;
}

.application-list .category > div {
  position: static;
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  color: var(--hf-ink);
  background: var(--hf-surface);
  border-top: 1px solid var(--hf-line);
}

.application-list .category h3,
.application-list .category-featured h3 {
  color: var(--hf-ink);
  font-size: clamp(20px, 1.7vw, 24px);
}

.application-list .category:hover h3,
.application-list .category:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 767px) {
  .application-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .application-list .category img,
  .application-list .category:hover img,
  .application-list .category:focus-visible img {
    aspect-ratio: 1 / 1;
    padding: 20px;
  }

  .application-list .category > div {
    min-height: 68px;
    padding: 15px 17px;
  }
}

/* Official ANSI wordmark supplied by the client. */

.brand,
.footer-contact .footer-brand {
  width: 128px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 128px;
  display: block;
  overflow: hidden;
  background-color: transparent;
  background-image: url("assets/ansi-logo.png");
  background-repeat: no-repeat;
  background-position: 50% 46%;
  background-size: 210px 210px;
  border: 0;
}

.brand > .brand-mark,
.brand > span:last-child {
  display: none !important;
}

.site-header .brand {
  mix-blend-mode: multiply;
}

.footer-contact .footer-brand {
  filter: invert(1);
  mix-blend-mode: screen;
}

@media (max-width: 520px) {
  .brand,
  .footer-contact .footer-brand {
    width: 112px;
    flex-basis: 112px;
    background-position: 50% 46%;
    background-size: 190px 190px;
  }

  .expanded-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expanded-footer .footer-contact {
    grid-column: auto;
  }
}

/*
 * Service pathway artwork — generated backgrounds carry the scene; official
 * Lucide assets remain separate so the symbols stay consistent and reusable.
 */

#main .service-promises .promise-card {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#main .service-promises .promise-card:nth-child(1) {
  background-color: var(--hf-dark);
  background-image:
    linear-gradient(180deg, rgba(8, 31, 38, 0.08) 0%, rgba(8, 31, 38, 0.54) 52%, rgba(8, 31, 38, 0.97) 100%),
    url("assets/generated/service-compatibility-bg-v1.webp");
  background-position: 66% 38%;
  background-size: cover;
}

#main .service-promises .promise-card:nth-child(2) {
  background-color: #fbfcfa;
  background-image:
    linear-gradient(180deg, rgba(251, 252, 250, 0.04) 0%, rgba(251, 252, 250, 0.6) 48%, rgba(251, 252, 250, 0.99) 100%),
    url("assets/generated/service-documentation-bg-v2.webp");
  background-position: 70% 28%;
  background-size: cover;
}

#main .service-promises .promise-card:nth-child(3) {
  background-color: #e8f0ed;
  background-image:
    linear-gradient(180deg, rgba(232, 240, 237, 0.06) 0%, rgba(232, 240, 237, 0.57) 50%, rgba(232, 240, 237, 0.98) 100%),
    url("assets/generated/service-supply-bg-v1.webp");
  background-position: 70% 34%;
  background-size: cover;
}

#main .service-promises .promise-card:nth-child(4) {
  background-color: var(--hf-paper);
  background-image:
    linear-gradient(180deg, rgba(247, 243, 234, 0.05) 0%, rgba(247, 243, 234, 0.56) 50%, rgba(247, 243, 234, 0.98) 100%),
    url("assets/generated/service-support-bg-v1.webp");
  background-position: 69% 36%;
  background-size: cover;
}

.service-promises .promise-icon img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  object-fit: contain;
  filter: invert(35%) sepia(47%) saturate(920%) hue-rotate(133deg) brightness(91%) contrast(98%);
}

#main .service-promises .promise-card:first-child .promise-icon img {
  filter: invert(83%) sepia(20%) saturate(738%) hue-rotate(123deg) brightness(94%) contrast(89%);
}

@media (max-width: 767px) {
  #main .service-promises .promise-card:nth-child(1),
  #main .service-promises .promise-card:nth-child(2),
  #main .service-promises .promise-card:nth-child(3),
  #main .service-promises .promise-card:nth-child(4) {
    background-position: 68% 34%;
  }
}

/*
 * Homepage pattern cleanup — the service rail uses one atmospheric panorama
 * instead of three empty solid cells, while the purchase steps use an open
 * editorial layout rather than another row of boxed cards.
 */

.trust-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background-color: #0c2a32;
  background-image: url("assets/generated/trust-rail-panorama-v1.webp");
  background-repeat: no-repeat;
  background-position: center 54%;
  background-size: cover;
  border: 0;
}

.trust-strip::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 35, 0.86), rgba(7, 28, 35, 0.7) 48%, rgba(7, 28, 35, 0.84)),
    linear-gradient(180deg, rgba(7, 28, 35, 0.06), rgba(7, 28, 35, 0.42));
  pointer-events: none;
}

.trust-strip .trust-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px);
  padding-top: 26px;
  padding-bottom: 26px;
}

.trust-strip .trust-grid > div,
.trust-strip .trust-grid > div:last-child {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 17px;
  align-content: center;
  padding: 0;
  border: 0;
}

.trust-strip .proof-icon {
  width: 48px;
  height: 48px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  align-self: center;
  color: #7bd0c8;
  background: rgba(123, 208, 200, 0.12);
  border: 0;
  border-radius: 50%;
}

.trust-strip .proof-icon img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  filter: invert(83%) sepia(20%) saturate(738%) hue-rotate(123deg) brightness(94%) contrast(89%);
}

.trust-strip .trust-grid b {
  align-self: end;
  margin: 0 0 5px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.trust-strip .trust-grid p {
  max-width: 34ch;
  margin: 0;
  color: #c4d2d4;
  font-size: 13px;
  line-height: 1.55;
}

#main .reviews {
  background: #f5f1e8;
}

#main .reviews > .section-shell {
  padding-top: 0;
  border-top: 0;
}

#main .reviews > .section-shell::before,
#main .reviews .review-card::before {
  display: none;
}

#main .reviews .reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 430px);
  justify-content: start;
  align-items: end;
  gap: clamp(44px, 7vw, 112px);
  margin-bottom: clamp(36px, 4vw, 56px);
}

#main .reviews .reviews-head h2,
#main .reviews .reviews-note {
  margin-top: 0;
  margin-bottom: 0;
}

#main .reviews .reviews-note {
  max-width: 40ch;
  padding-bottom: 8px;
}

#main .reviews .review-grid {
  position: relative;
  isolation: isolate;
  min-height: 462px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  background-color: #e9e3d8;
  background-image: url("assets/generated/reviews-process-desktop-v1.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(16, 37, 44, 0.14);
  box-shadow: 0 24px 64px rgba(16, 37, 44, 0.1);
}

#main .reviews .review-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0.02), rgba(247, 244, 236, 0.16));
  pointer-events: none;
}

#main .reviews .review-card,
#main .reviews .review-card:first-child,
#main .reviews .review-card:last-child,
#main .reviews .review-card.is-match,
#main .reviews .review-card.is-evidence,
#main .reviews .review-card.is-purchase {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 428px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--hf-ink);
  background: linear-gradient(180deg, rgba(247, 244, 236, 0.06) 0%, rgba(247, 244, 236, 0.22) 31%, rgba(247, 244, 236, 0.9) 58%, rgba(247, 244, 236, 0.98) 100%);
  border: 0;
  box-shadow: none;
}

#main .reviews .review-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  margin-bottom: auto;
}

#main .reviews .review-icon,
#main .reviews .review-card.is-match .review-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--hf-accent);
  background: rgba(244, 249, 247, 0.94);
  border: 1px solid rgba(16, 124, 119, 0.16);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(16, 37, 44, 0.1);
}

#main .reviews .review-icon img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  filter: invert(35%) sepia(47%) saturate(920%) hue-rotate(133deg) brightness(91%) contrast(98%);
}

#main .reviews .review-step,
#main .reviews .review-card.is-match .review-step {
  padding: 8px 11px;
  color: var(--hf-accent);
  background: rgba(250, 249, 245, 0.92);
  border: 1px solid rgba(16, 124, 119, 0.14);
  border-radius: 999px;
  font: 750 13px/1.2 var(--hf-sans);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(16, 37, 44, 0.08);
}

#main .reviews .review-card h3,
#main .reviews .review-card.is-match h3 {
  max-width: 18ch;
  margin: 0 0 12px;
  color: var(--hf-ink);
  font-size: 24px;
  line-height: 1.15;
}

#main .reviews .review-card blockquote,
#main .reviews .review-card.is-match blockquote {
  max-width: 36ch;
  margin: 0;
  color: #53676d;
  font-family: var(--hf-sans);
  font-size: 15px;
  line-height: 1.62;
}

#main .reviews .review-source,
#main .reviews .review-card.is-match .review-source {
  margin-top: 22px;
  padding-top: 0;
  border: 0;
}

#main .reviews .review-source strong,
#main .reviews .review-card.is-match .review-source strong {
  margin-bottom: 9px;
  color: var(--hf-ink);
  font-size: 13px;
  line-height: 1.35;
}

#main .reviews .review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 0;
}

#main .reviews .review-tags i,
#main .reviews .review-card.is-match .review-tags i {
  min-height: 0;
  padding: 0;
  color: #5d6f73;
  background: transparent;
  border: 0;
  font: 650 12px/1.45 var(--hf-sans);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1100px) {
  #main .reviews .reviews-head {
    grid-template-columns: minmax(0, 700px);
    gap: 18px;
    margin-bottom: 34px;
  }

  #main .reviews .reviews-note {
    padding-bottom: 0;
  }

  #main .reviews .review-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    background-image: none;
  }

  #main .reviews .review-card,
  #main .reviews .review-card:first-child,
  #main .reviews .review-card:last-child,
  #main .reviews .review-card.is-match,
  #main .reviews .review-card.is-evidence,
  #main .reviews .review-card.is-purchase {
    min-height: 360px;
    padding: 26px;
    background-color: #f7f4ec;
    background-image:
      linear-gradient(180deg, rgba(247, 244, 236, 0.08) 0%, rgba(247, 244, 236, 0.42) 30%, rgba(247, 244, 236, 0.96) 48%, rgba(247, 244, 236, 0.99) 100%),
      url("assets/generated/reviews-process-mobile-v1.webp");
    background-repeat: no-repeat;
    background-size: cover;
  }

  #main .reviews .review-card.is-match {
    background-position: center top;
  }

  #main .reviews .review-card.is-evidence {
    background-image:
      linear-gradient(180deg, rgba(247, 244, 236, 0.08) 0%, rgba(247, 244, 236, 0.36) 18%, rgba(247, 244, 236, 0.94) 30%, rgba(247, 244, 236, 0.99) 48%, rgba(247, 244, 236, 0.99) 100%),
      url("assets/generated/reviews-process-mobile-v1.webp");
    background-position: center center;
  }

  #main .reviews .review-card.is-purchase {
    background-position: center bottom;
  }

  #main .reviews .review-card h3,
  #main .reviews .review-card.is-match h3,
  #main .reviews .review-card blockquote,
  #main .reviews .review-card.is-match blockquote {
    max-width: 44ch;
  }
}

@media (max-width: 767px) {
  #main .reviews .reviews-head {
    margin-bottom: 30px;
  }

  #main .reviews .review-grid {
    gap: 10px;
    padding: 10px;
  }

  #main .reviews .review-card,
  #main .reviews .review-card:first-child,
  #main .reviews .review-card:last-child,
  #main .reviews .review-card.is-match,
  #main .reviews .review-card.is-evidence,
  #main .reviews .review-card.is-purchase {
    min-height: 368px;
    padding: 24px;
  }
}

@media (max-width: 360px) {
  #main .reviews .review-grid {
    gap: 8px;
    padding: 8px;
  }

  #main .reviews .review-card,
  #main .reviews .review-card:first-child,
  #main .reviews .review-card:last-child,
  #main .reviews .review-card.is-match,
  #main .reviews .review-card.is-evidence,
  #main .reviews .review-card.is-purchase {
    min-height: 390px;
    padding: 20px;
  }

  #main .reviews .review-icon,
  #main .reviews .review-card.is-match .review-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  #main .reviews .review-card h3,
  #main .reviews .review-card.is-match h3 {
    font-size: 22px;
  }
}

@media (max-width: 850px) {
  .trust-strip {
    background-position: 12% center;
  }

  .trust-strip .trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .trust-strip .trust-grid > div,
  .trust-strip .trust-grid > div:last-child {
    min-height: 82px;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 15px;
  }

  .trust-strip .proof-icon {
    width: 44px;
    height: 44px;
  }

  .trust-strip .proof-icon img {
    width: 24px;
    height: 24px;
  }
}
