/* ---- Overhaul step 2: home page. Search first, every pipework system, product types, Flange Finder and trade accounts. ---- */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 10px; border: 1.5px solid transparent; font: 700 15px/1.2 var(--pf-body); text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s; }
.pf-main a.pf-btn-primary, .pf-btn-primary { background: var(--pf-action); color: #fff; }
.pf-main a.pf-btn-primary:hover, .pf-btn-primary:hover { background: var(--pf-action-dark); color: #fff; }
.pf-main a.pf-btn-ghost, .pf-btn-ghost { background: var(--pf-paper); color: var(--pf-ink); border-color: var(--pf-line); }
.pf-main a.pf-btn-ghost:hover, .pf-btn-ghost:hover { border-color: var(--pf-action); color: var(--pf-action-dark); }
.pf-main a.pf-btn-navy, .pf-btn-navy { background: var(--pf-ink); color: #fff; }
.pf-main a.pf-btn-navy:hover, .pf-btn-navy:hover { background: #0d1b2d; color: #fff; }
#wrapwrap:has(.pf-home), #wrap:has(> .pf-home) { background: var(--pf-paper); }
.pf-home { font-size: 16px; line-height: 1.65; }
.pf-home h1, .pf-home h2, .pf-home h3 { font-family: var(--pf-display); font-weight: 700; color: var(--pf-ink); letter-spacing: -.015em; line-height: 1.15; margin: 0; text-wrap: balance; }
.pf-home h2 { font-size: clamp(24px, 3vw, 30px); }
.pf-home p { margin: 0; }
.pf-hm-eyebrow { font: 800 12px/1.3 var(--pf-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pf-action); margin: 0 0 10px !important; }
.pf-hm-hero { background: var(--pf-ink); color: #fff; }
.pf-hm-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 56px; }
.pf-hm-hero-copy { min-width: 0; }
.pf-hm-hero .pf-hm-eyebrow { color: var(--pf-teal); }
.pf-home .pf-hm-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.025em; line-height: 1.06; }
.pf-hm-lead { color: #c9d6e2; font-size: 18px; line-height: 1.6; margin: 16px 0 26px !important; max-width: 52ch; }
.pf-hm-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 0 8px 0 18px; min-height: 60px; margin: 0; position: relative; }
.pf-hm-search > svg { width: 18px; height: 18px; flex: none; color: var(--pf-muted); }
.pf-hm-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; box-shadow: none; background: none; font: 400 17px/1.4 var(--pf-body); color: var(--pf-text); height: 44px; padding: 0; }
.pf-hm-search input[type="search"]::placeholder { color: #7c8da0; }
.pf-hm-search:focus-within { box-shadow: 0 0 0 3px rgba(32,184,179,.45); }
.pf-hm-search .pf-btn { min-height: 44px; padding: 10px 20px; border: 0; }
.pf-hm-search .oe_search_found { display: none; }
.pf-hm-try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px !important; font-size: 13px; color: #9fb1c3; }
.pf-main .pf-hm-try a { color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 12px; font-weight: 600; text-decoration: none; }
.pf-main .pf-hm-try a:hover { border-color: var(--pf-teal); }
.pf-hm-photo { border-radius: var(--pf-r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.pf-hm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-hm-facts { border-bottom: 1px solid var(--pf-line); }
.pf-hm-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 20px; margin-block: 0; list-style: none; }
.pf-hm-facts li { display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.4; color: var(--pf-muted); }
.pf-hm-facts li strong { display: block; font-size: 14px; font-weight: 600; color: var(--pf-ink); }
.pf-hm-facts svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--pf-action); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pf-hm-section { padding-top: 56px; }
.pf-home > .pf-hm-section:last-child { padding-bottom: 8px; }
.pf-hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.pf-hm-head p:not(.pf-hm-eyebrow) { color: var(--pf-muted); margin-top: 6px; }
.pf-hm-systems { display: grid; grid-template-columns: repeat(var(--pf-hm-cols, 5), minmax(0, 1fr)); border: 1px solid var(--pf-line); border-radius: var(--pf-r-lg); overflow: hidden; box-shadow: var(--pf-shadow); background: var(--pf-paper); }
.pf-hm-sysgroup { padding: 22px 22px 14px; border-right: 1px solid var(--pf-line); min-width: 0; }
.pf-hm-sysgroup:last-child { border-right: 0; }
.pf-hm-sysgroup summary { list-style: none; }
.pf-hm-sysgroup summary::-webkit-details-marker { display: none; }
.pf-home .pf-hm-sysgroup h3 { font: 800 12.5px/1.3 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pf-action); margin: 0 0 8px; }
.pf-hm-sysgroup ul { list-style: none; margin: 0; padding: 0; }
.pf-main .pf-hm-sysgroup li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid #edf2f4; color: var(--pf-ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
.pf-hm-sysgroup li:last-child a { border-bottom: 0; }
.pf-hm-sysgroup li a::after { content: "\203A"; color: #a9b6c2; font-size: 18px; line-height: 1; }
.pf-main .pf-hm-sysgroup li a:hover { color: var(--pf-action-dark); }
.pf-hm-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pf-hm-types li { display: flex; min-width: 0; }
.pf-main a.pf-hm-type { display: flex; flex-direction: column; flex: 1; min-width: 0; border: 1px solid var(--pf-line); border-radius: var(--pf-r-lg); overflow: hidden; background: var(--pf-paper); color: var(--pf-ink); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pf-main a.pf-hm-type:hover { border-color: var(--pf-action); box-shadow: var(--pf-shadow); transform: translateY(-4px); }
.pf-hm-type-ph { background: var(--pf-wash); height: 150px; display: grid; place-items: center; }
.pf-hm-type-ph img { max-height: 112px; max-width: 60%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.pf-hm-type-tx { padding: 14px 16px 16px; display: block; }
.pf-hm-type-tx strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pf-hm-type-tx small { display: block; font-size: 13px; line-height: 1.45; color: var(--pf-muted); margin-top: 3px; }
.pf-hm-duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.pf-hm-promo, .pf-hm-trade { border-radius: var(--pf-r-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pf-hm-promo { background: var(--pf-ink); color: #c9d6e2; }
.pf-home .pf-hm-promo h2 { color: #fff; }
.pf-hm-promo .pf-hm-eyebrow { color: var(--pf-teal); }
.pf-hm-promo .pf-hm-eyebrow, .pf-hm-trade .pf-hm-eyebrow { margin: 0 !important; }
.pf-hm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-hm-chips span { border: 1px solid rgba(255,255,255,.22); color: #fff; border-radius: 8px; padding: 6px 10px; font: 600 13px/1.2 var(--pf-body); }
.pf-hm-trade { background: var(--pf-wash); }
.pf-hm-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-hm-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pf-hm-ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; border-radius: 99px; background: var(--pf-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px; }
.pf-hm-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.pf-main .pf-hm-actions a:not(.pf-btn) { font-weight: 600; }
.pf-hm-seo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pf-hm-seo > div:first-child p:not(.pf-hm-eyebrow):not(.pf-hm-actions) { color: var(--pf-muted); margin-top: 12px; }
.pf-hm-seo .pf-hm-actions { margin-top: 20px; }
.pf-home .pf-hm-faq h3 { font-size: 18px; margin-bottom: 6px; }
.pf-hm-faq details { border-bottom: 1px solid var(--pf-line); }
.pf-hm-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 10px 0; font-weight: 600; color: var(--pf-ink); cursor: pointer; }
.pf-hm-faq summary::-webkit-details-marker { display: none; }
.pf-hm-faq summary::after { content: "+"; color: var(--pf-action); font-size: 22px; font-weight: 400; line-height: 1; }
.pf-hm-faq details[open] summary::after { content: "\2212"; }
.pf-hm-faq details p { color: var(--pf-muted); padding: 0 0 16px; max-width: 60ch; }
.pf-home :focus-visible { outline: 3px solid var(--pf-teal); outline-offset: 2px; }
@media (min-width: 768px) { .pf-hm-sysgroup summary { pointer-events: none; } }
@media (max-width: 991.98px) {
  .pf-hm-types { gap: 12px; } .pf-hm-type-ph { height: 110px; } .pf-hm-type-ph img { max-height: 80px; } .pf-hm-type-tx { padding: 12px; } .pf-hm-type-tx strong { font-size: 14px; } .pf-hm-type-tx small { display: none; }
  .pf-hm-systems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-hm-sysgroup { border-bottom: 1px solid var(--pf-line); }
  .pf-hm-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-hm-hero-in { gap: 28px; padding-block: 40px; }
}
@media (max-width: 767.98px) {
  .pf-hm-hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 0; }
  .pf-hm-photo { display: none; }
  .pf-hm-lead { font-size: 16px; margin: 12px 0 18px !important; }
  .pf-hm-search { min-height: 54px; padding-left: 14px; }
  .pf-hm-search input[type="search"] { font-size: 16px; }
  .pf-hm-facts ul { gap: 14px; }
  .pf-hm-section { padding-top: 40px; }
  .pf-hm-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pf-hm-systems { grid-template-columns: minmax(0, 1fr); }
  .pf-hm-sysgroup { border-right: 0; padding: 0 18px; }
  .pf-hm-sysgroup:last-child { border-bottom: 0; }
  .pf-hm-sysgroup summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; cursor: pointer; }
  .pf-home .pf-hm-sysgroup h3 { margin: 0; }
  .pf-hm-sysgroup summary::after { content: "+"; color: var(--pf-action); font-size: 22px; line-height: 1; }
  .pf-hm-sysgroup[open] summary::after { content: "\2212"; }
  .pf-hm-sysgroup ul { padding-bottom: 8px; }
  .pf-hm-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pf-hm-type-ph { height: 110px; } .pf-hm-type-ph img { max-height: 80px; }
  .pf-hm-type-tx small { display: none; }
  .pf-hm-duo, .pf-hm-seo { grid-template-columns: minmax(0, 1fr); }
  .pf-hm-seo { gap: 32px; }
  .pf-hm-promo, .pf-hm-trade { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .pf-btn, .pf-main a.pf-hm-type { transition: none; } .pf-main a.pf-hm-type:hover { transform: none; } }