@font-face { font-family: "DM Sans"; src: url("/assets/dm-sans.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/barlow-condensed.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: Montserrat; src: url("/assets/montserrat-black-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
:root {
  color-scheme: dark;
  --navy: #07182d;
  --deep: #051225;
  --panel: #102a43;
  --line: #2d475e;
  --text: #f3f9ff;
  --muted: #bdcedd;
  --cyan: #06e4f4;
  --light-cyan: #91f8fb;
  --radius: 10px;
  --gutter: clamp(1.125rem, 5vw, 4.5rem);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; font: 1rem/1.55 "DM Sans", system-ui, sans-serif; background: var(--navy); color: var(--text); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; }
h2 { font-size: clamp(2.05rem, 4.3vw, 3.65rem); font-weight: 800; letter-spacing: -.067em; }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--light-cyan);
  outline-offset: 4px;
}
.wrap { width: min(100% - 2 * var(--gutter), 82rem); margin-inline: auto; }
.icon { flex: 0 0 auto; width: 1.15em; height: 1.15em; }
.eyebrow { color: var(--light-cyan); font-size: .875rem; font-weight: 800; line-height: 1.25; letter-spacing: .15em; text-transform: uppercase; }
.skip { position: fixed; z-index: 10; top: 1rem; left: 1rem; transform: translateY(-150%); color: var(--deep); background: var(--cyan); padding: .6rem 1rem; }
.skip:focus { transform: none; }
.text-link { color: var(--light-cyan); font-size: .9375rem; font-weight: 750; text-decoration: underline; text-underline-offset: .23em; }
.text-link:hover { color: #fff; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .65rem 1.19rem; border: 1px solid transparent; border-radius: 6px; font-size: .9375rem; font-weight: 800; text-decoration: none; text-align: center; line-height: 1.24; }
.primary { background: var(--cyan); color: #071b2a; }
.primary:hover { background: #95f8fd; }
.secondary { background: #091c3299; border-color: #83a7bb; color: var(--text); }
.secondary:hover { background: var(--panel); border-color: var(--light-cyan); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.phone-link { color: var(--light-cyan); display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; text-decoration: none; }
.phone-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.site-header { position: sticky; z-index: 3; top: 0; background: #051326; border-bottom: 1px solid #203c53; }
.header-inner { position: relative; min-height: 4.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.brand { color: white; width: max-content; display: flex; align-items: center; flex-direction: column; gap: .2rem; text-decoration: none; flex: none; line-height: 1; }
.brand .mark { width: 5.25rem; height: 1.22rem; }
.brand span, .brand small { font: italic 900 1.27rem/1 Montserrat, Arial, sans-serif; letter-spacing: -.045em; white-space: nowrap; }
.brand small { color: var(--cyan); font-size: .72rem; letter-spacing: .075em; }
.header-inner nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.65rem); }
.header-inner nav a, .footer-main nav a { color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 700; }
.header-inner nav a:hover, .footer-main nav a:hover { color: var(--light-cyan); text-decoration: underline; text-underline-offset: .22em; }
.header-inner .phone-link { white-space: nowrap; }
.menu-toggle { border: 1px solid var(--line); border-radius: 5px; background: var(--navy); color: var(--text); display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .65rem; font-size: .875rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 77% 43%, #125e72, #12324c 32%, var(--navy) 66%); }
.hero::before { position: absolute; z-index: -1; inset: 0 0 0 23%; content: ""; background: linear-gradient(90deg,#081a2e 1%,transparent 43%),linear-gradient(0deg,#0a223a 1%,transparent 55%),url("/assets/pool-water.webp") 52% 100% / cover; mix-blend-mode: luminosity; opacity: .49; }
.hero-inner { min-height: clamp(31rem, 48vw, 40rem); position: relative; display: grid; grid-template-columns: 50% 50%; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding: 4rem 0; }
.hero h1 { margin: .78rem 0 1.2rem; font: 800 clamp(3rem, 6.4vw, 6.1rem)/.87 "Barlow Condensed", Impact, sans-serif; letter-spacing: -.018em; text-transform: uppercase; }
.hero-summary { max-width: 27rem; color: #d4e3ef; margin-bottom: 1.7rem; font-size: clamp(1rem, 1.6vw, 1.17rem); }
.hero-figure { margin-inline: -4% -6%; position: relative; min-width: 0; }
.hero-figure a { display: block; text-decoration: none; }
.hero-figure img { width: 100%; object-fit: contain; filter: drop-shadow(0 1.8rem 1.9rem #041020b3); }
.hero-figure figcaption { border-left: 2px solid var(--cyan); position: absolute; right: 6%; bottom: 4%; padding-left: .7rem; }
.hero-figure figcaption span { display: block; color: #aeccd9; font-size: .8125rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.hero-figure figcaption strong { display: block; font-size: .9375rem; }
.hero-figure:has(a:hover) figcaption strong { text-decoration: underline; text-underline-offset: .2em; }

.family-rail { background: #0a2036; border-block: 1px solid #2d4c62; padding: 1.75rem 0 2.1rem; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.family-rail h2 { font-size: clamp(1.42rem, 2.6vw, 2.04rem); letter-spacing: -.045em; }
.category-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.category { min-height: 5.9rem; display: flex; align-items: center; gap: .4rem; padding: .65rem; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.category:hover { border-color: #66b3bd; background: #163650; }
.category img { width: 5rem; height: 4.3rem; object-fit: contain; }
.category:last-child img { width: 3.4rem; height: 3.4rem; border-radius: 4px; margin-inline: .65rem .6rem; }
.category strong, .category small { display: block; line-height: 1.25; }
.category small { color: var(--muted); margin-top: .25rem; font-size: .8125rem; }
.section-space { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-lead p, .contact-copy > p:not(.eyebrow), .support-inner > div > p { margin-top: .8rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.filters button { min-height: 2.65rem; border: 1px solid #45627b; border-radius: 6px; background: var(--deep); color: var(--text); padding: .47rem .9rem; font-weight: 730; font-size: .9375rem; }
.filters button:hover { border-color: var(--cyan); }
.filters button[aria-pressed="true"] { border-color: var(--cyan); background: var(--cyan); color: var(--deep); }
.count { margin: .9rem 0 .65rem; color: var(--muted); font-size: .9375rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #0d233a; border-radius: var(--radius); }
.product-card:hover { border-color: #6e9fb2; }
.product-media { display: grid; place-items: center; aspect-ratio: 1.4; background: radial-gradient(ellipse, #c7dee8, #9ab8c9); }
.product-media img { width: 100%; height: 100%; max-height: 13rem; object-fit: contain; }
.product-card[data-category="parts"] .product-media img { width: 70%; mix-blend-mode: multiply; }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: 1.05rem; }
.product-copy .eyebrow { font-size: .8125rem; letter-spacing: .085em; margin-bottom: .36rem; }
.product-copy h3 a { text-decoration: none; }
.product-copy h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.product-copy p:not(.eyebrow) { color: var(--muted); margin: .6rem 0 .95rem; font-size: .9375rem; line-height: 1.49; }
.product-copy .text-link { align-self: flex-start; margin-top: auto; }
.about { background: #0c2239; border-block: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); align-items: stretch; gap: clamp(2rem, 6vw, 6rem); }
.about-inner > img { width: 100%; height: 24rem; object-fit: cover; object-position: center 52%; border-radius: var(--radius); }
.about-copy { align-self: center; max-width: 37rem; padding-block: 1rem; }
.about-copy h2, .contact-copy h2 { margin-top: .7rem; }
.about-copy p:not(.eyebrow) { color: var(--muted); margin: 1rem 0 1.4rem; }
.contact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.contact .contact-copy .button { margin-top: 1.35rem; }
.contact-card { background: #112a42; border: 1px solid #35536c; border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 2rem); }
.contact-card h3 { font-size: 1.55rem; }
.contact-card > p { margin: .55rem 0 1.1rem; color: var(--muted); }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .66rem; }
label { display: block; font-size: .9375rem; font-weight: 750; margin: 0 0 .8rem; }
label span { font-size: .875rem; font-weight: 450; color: var(--muted); }
input, textarea { display: block; width: 100%; margin-top: .35rem; border-radius: 6px; border: 1px solid #7795ab; background: #081a30; color: #fff; padding: .62rem .7rem; resize: vertical; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #a9bed0; opacity: 1; }
#copy-options { margin-top: 1rem; }
#copy-options summary { color: var(--light-cyan); cursor: pointer; width: max-content; font-size: .9375rem; }
#copy-options p { margin-top: .65rem; font-size: .9375rem; color: var(--muted); }
#copy-options textarea { margin: .6rem 0; }
.copy-status:empty { display: none; }
.support { background: #0b2137; border-block: 1px solid var(--line); }
.support-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; }
.faq-list { border-top: 1px solid #385771; }
.faq-list details { border-bottom: 1px solid #385771; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 1rem 0; font-weight: 780; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--light-cyan); }
.faq-list details[open] .icon { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 1.9rem 1.1rem 0; }
.faq-list details p a { color: var(--light-cyan); text-underline-offset: .2em; }
.site-footer { background: var(--deep); padding: 2rem 0 1.4rem; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer-main > div { display: grid; gap: .3rem; }
.footer-main nav { display: flex; gap: 1.05rem; flex-wrap: wrap; }
.footer-meta { display: flex; gap: .65rem 1rem; justify-content: space-between; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.footer-meta a { text-underline-offset: .2em; }
.mobile-call { display: none; }

.detail-main { padding-block: 1.4rem clamp(3.5rem, 6vw, 6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--light-cyan); text-underline-offset: .2em; }
.detail { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.detail-image { display: grid; place-items: center; border-radius: var(--radius); border: 1px solid #477082; aspect-ratio: 1.12; background: radial-gradient(ellipse at 50% 40%, #d4e8ee, #86aebd); }
.detail-image img { width: 94%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy h1 { font-size: clamp(2.4rem, 6vw, 5.1rem); letter-spacing: -.07em; margin: .6rem 0 .85rem; overflow-wrap: anywhere; }
.detail-copy > p:not(.eyebrow), .detail-copy ul { color: var(--muted); }
.detail-copy ul { padding-left: 1.3rem; margin: 1.2rem 0 1.45rem; }
.detail-copy h2 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: .35rem; }
.detail-copy .actions { margin-top: .85rem; }
.detail-copy .manufacturer { display: inline-block; margin-top: 1.1rem; }

@media (max-width: 1050px) {
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 5.5rem; }
  .header-inner { min-height: 4.45rem; }
  .header-inner > .phone-link { display: none; }
  .header-inner nav { gap: .9rem; flex-wrap: wrap; }
  .header-inner nav[data-mobile-nav] { position: absolute; right: 0; top: calc(100% + 1px); width: min(18rem, 90vw); padding: .6rem; background: #0d2440; border: 1px solid #365674; border-radius: 0 0 8px 8px; }
  .header-inner nav[data-mobile-nav] a { display: block; padding: .55rem .65rem; }
  .header-inner nav[data-mobile-nav]:not([hidden]) { display: block; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: clamp(2rem, 5vw, 3rem) 0 0; }
  .hero h1 { font-size: clamp(2.55rem, 10.6vw, 5.75rem); }
  .hero-summary { margin-bottom: 1.2rem; }
  .hero-figure { width: min(100%, 29rem); margin: 0 auto .8rem; }
  .hero-figure img { height: clamp(15rem, 54vw, 24rem); }
  .hero-figure figcaption { right: 1%; bottom: 3%; }
  .hero-figure figcaption span { font-size: .75rem; }
  .hero::before { inset: 26% 0 0; opacity: .43; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner, .contact, .support-inner, .detail { grid-template-columns: 1fr; }
  .about-inner { gap: 1.1rem; }
  .about-inner > img { height: min(65vw, 22rem); }
  .about-copy { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .mobile-call { position: fixed; z-index: 2; display: flex; gap: .5rem; justify-content: center; align-items: center; left: 0; right: 0; bottom: 0; background: var(--cyan); color: var(--deep); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); font-weight: 830; text-decoration: none; }
  .mobile-call:focus-visible { outline: 2px solid var(--deep); outline-offset: -5px; }
}
@media (max-width: 490px) {
  .brand span { font-size: 1.05rem; }
  .brand small { font-size: .62rem; }
  .brand .mark { width: 4.45rem; height: 1.05rem; }
  .hero .button { padding-inline: .92rem; }
  .hero-figure { margin-top: -.1rem; }
  .category { padding: .45rem; min-height: 4.75rem; gap: .3rem; }
  .category img { width: 2.7rem; height: 2.8rem; }
  .category:last-child img { width: 2.1rem; height: 2.1rem; margin-inline: .2rem .4rem; }
  .category strong { font-size: .875rem; }
  .category small { font-size: .75rem; }
  .section-header .text-link { white-space: nowrap; font-size: .875rem; }
  .product-copy { padding: .75rem; }
  .product-copy h3 { font-size: 1.07rem; }
  .product-copy p:not(.eyebrow) { font-size: .875rem; }
  .form-fields { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 340px) {
  .section-header { flex-wrap: wrap; }
  .category img { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}
