:root {
  --ink: #0b1b2b;
  --blue: #0c5f8f;
  --blue-dark: #063b5c;
  --signal: #54b5cf;
  --mist: #eaf3f6;
  --paper: #f8faf9;
  --white: #fff;
  --line: rgba(11, 27, 43, .14);
  --muted: #52616d;
  --radius: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.035em; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3rem, 7.4vw, 7rem); font-weight: 680; }
h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 4.5vw, 4.5rem); font-weight: 650; }
h3 { font-size: 1.5rem; }
.lead { max-width: 700px; color: #304453; font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 54px; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }

.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(248,250,249,.93); backdrop-filter: blur(16px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 168px; height: auto; }
.site-footer .brand-logo { width: 190px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 650; }
.nav-links a:not(.button):hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.menu-button { display: none; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--blue-dark); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--white); }
.button.disabled { cursor: not-allowed; opacity: .54; }

.hero { height: clamp(680px, calc(100vh - 78px), 860px); min-height: 680px; overflow: hidden; position: relative; display: grid; align-items: center; padding: 80px 0; background: #f4f7f7; }
.hero-copy { position: relative; z-index: 2; pointer-events: none; }
.hero-text { width: min(52%, 650px); pointer-events: auto; }
.hero h1 span { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-media { width: 50%; height: 100%; position: absolute; inset: 0 0 0 auto; margin: 0; overflow: hidden; background: var(--ink); }
.hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, #f4f7f7, transparent); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.hero-media figcaption { position: absolute; z-index: 2; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 999px; background: rgba(11,27,43,.78); color: white; font-size: .72rem; font-weight: 750; letter-spacing: .05em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { min-height: 160px; padding: 38px 30px; border-right: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.fact span { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 390px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-card.featured { grid-column: span 2; min-height: 470px; color: white; background: var(--blue-dark); }
.product-card .number { font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.product-card h3 { max-width: 560px; margin: 80px 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); }
.product-card p { max-width: 560px; margin-bottom: 24px; color: var(--muted); }
.product-card.featured p { color: #c5dce8; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(5px); }
.ring { width: 300px; height: 300px; position: absolute; right: -70px; top: -70px; border: 45px solid rgba(84,181,207,.25); border-radius: 50%; }
.drainage-card { grid-column: span 2; min-height: 400px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; padding: 0; background: var(--mist); }
.drainage-card-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 50px); }
.drainage-card-copy h3 { margin-top: 56px; }
.drainage-card-image { min-height: 400px; position: relative; margin: 0; overflow: hidden; background: white; }
.drainage-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.drainage-card-image figcaption { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 999px; background: var(--blue-dark); color: #fff; font-size: .72rem; font-weight: 800; }
.mounting-card { grid-column: span 2; min-height: 360px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; padding: 0; background: #eef5f7; }
.mounting-card-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 50px); }
.mounting-card-copy h3 { margin-top: 56px; }
.mounting-card-image { min-height: 360px; position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; background: #fff; }
.mounting-card-image img { width: min(54%, 280px); height: auto; max-height: 240px; object-fit: contain; }
.mounting-card-image figcaption { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 999px; background: var(--blue-dark); color: #fff; font-size: .72rem; font-weight: 800; }
.tier-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tier-strip span { padding: 8px 12px; border: 1px solid rgba(11,27,43,.18); border-radius: 999px; font-size: .82rem; }
.tier-strip b { margin-right: 5px; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }

.about { color: white; background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: start; }
.about h2 { max-width: 700px; }
.about p { color: #bdc8cf; }
.principles { border-top: 1px solid rgba(255,255,255,.2); }
.principle { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle strong { color: var(--signal); }
.principle p { margin: 0; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: clamp(34px, 6vw, 72px); border-radius: var(--radius); background: var(--mist); }
.cta-panel h2 { max-width: 780px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 4rem); }
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 22px; }

.page-hero { padding: clamp(80px, 12vw, 150px) 0 70px; }
.page-hero h1 { max-width: 950px; font-size: clamp(3rem, 7vw, 6.2rem); }
.product-section { padding: 76px 0; border-top: 1px solid var(--line); }
.filter-row + .filter-row { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.product-side { min-width: 0; }
.product-index { color: var(--blue); font-weight: 800; letter-spacing: .1em; }
.product-visual { position: relative; overflow: hidden; margin: 34px 0 0; border-radius: var(--radius); background: white; }
.product-visual.landscape { aspect-ratio: 1 / 1.08; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-visual.landscape img { object-position: 56% center; }
.product-visual.product-cutout { aspect-ratio: 1 / 1.05; }
.product-visual.product-cutout img { object-fit: contain; padding: 34px; }
.product-visual figcaption { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(11,27,43,.82); color: #fff; font-size: .7rem; font-weight: 800; }
.product-detail h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.product-detail .supplier { color: var(--blue); font-weight: 800; }
.document-link { display: grid; grid-template-columns: 24px 1fr auto; gap: 11px; align-items: center; width: fit-content; max-width: 100%; margin: 24px 0 22px; color: var(--ink); font-weight: 800; text-decoration: none; }
.document-icon { width: 24px; height: 24px; fill: none; stroke: #f36c21; stroke-width: 1.8; stroke-linejoin: round; }
.document-arrow { color: #f36c21; font-size: 1.15rem; transition: transform .18s ease; }
.document-link:hover { color: #c84d0b; }
.document-link:hover .document-arrow { transform: translateY(2px); }
.bullets { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.bullets li { padding: 13px 0; border-top: 1px solid var(--line); }
.status-tag { display: inline-block; margin-top: 18px; padding: 7px 11px; border-radius: 999px; background: var(--mist); color: var(--blue-dark); font-size: .78rem; font-weight: 800; }
.meter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 34px 0 12px; }
.meter-card { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.meter-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.meter-image-clean { position: relative; overflow: hidden; }
.meter-image-clean::after { content: ""; position: absolute; top: 0; right: 0; width: 31%; height: 11%; background: #fff; pointer-events: none; }
.meter-card figcaption { display: grid; gap: 3px; margin-top: 16px; }
.meter-card figcaption span { color: var(--muted); font-size: .84rem; }
.spec-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 38px 0 30px; }
.spec-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.spec-card::before { content: ""; height: 5px; position: absolute; inset: 0 0 auto; border-radius: var(--radius) var(--radius) 0 0; background: #a8bdc8; }
.spec-card.mid::before { background: var(--signal); }
.spec-card.high::before { background: var(--blue-dark); }
.spec-image { width: calc(100% + 48px); height: 190px; margin: -28px -24px 28px; border-radius: var(--radius) var(--radius) 0 0; object-fit: contain; padding: 16px; background: #fff; }
.spec-level { display: inline-block; margin: 2px 0 30px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.spec-card h3 { margin-bottom: 8px; font-size: 1.8rem; }
.spec-card p { color: var(--muted); }
.spec-card .bullets { font-size: .9rem; }
.spec-card .document-link { margin: auto 0 22px; padding-top: 28px; }
.product-table-wrap { width: 100%; margin: 28px 0 30px; overflow-x: auto; }
.product-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.product-table th, .product-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: middle; }
.product-table th { background: var(--blue-dark); color: #fff; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.product-table tbody tr:nth-child(even) { background: var(--mist); }
.product-table td:first-child { font-weight: 800; white-space: nowrap; }
.component-subsection { margin-top: 38px; }
.component-subsection + .component-subsection { margin-top: 62px; padding-top: 54px; border-top: 1px solid var(--line); }
.component-subsection h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.component-subsection > p:not(.eyebrow) { color: var(--muted); }
.component-table-toggle { overflow: hidden; margin: 28px 0 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.component-table-toggle summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 18px 22px; cursor: pointer; list-style: none; }
.component-table-toggle summary::-webkit-details-marker { display: none; }
.component-table-toggle summary:hover,
.component-table-toggle[open] summary { background: #f4f8f9; }
.component-table-toggle[open] summary { border-bottom: 1px solid var(--line); }
.component-table-toggle summary > span:first-child { display: grid; gap: 3px; }
.component-table-toggle summary strong { font-size: 1.1rem; }
.component-table-toggle summary > span:first-child > span { color: var(--muted); font-size: .86rem; }
.component-table-toggle .when-open { display: none; }
.component-table-toggle[open] .when-closed { display: none; }
.component-table-toggle[open] .when-open { display: inline; }
.component-table-content { padding: 0 22px 1px; }
.component-table-content .product-table-wrap { margin: 22px 0; }
.technical-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 28px; }
.technical-strip span { padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); color: var(--muted); font-size: .84rem; }
.technical-strip b { color: var(--blue-dark); }
.actuator-subsection .valve-image { object-fit: contain; }
.actuator-table { min-width: 520px; }
.component-note { margin: -8px 0 34px; padding: 16px 18px; border-left: 3px solid var(--signal); background: var(--mist); color: #334957 !important; font-size: .9rem; }
.valve-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 28px 0 34px; }
.valve-group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.valve-group summary { display: grid; grid-template-columns: 112px 1fr auto; gap: 22px; align-items: center; min-height: 136px; padding: 12px 24px 12px 14px; cursor: pointer; list-style: none; }
.valve-group summary::-webkit-details-marker { display: none; }
.valve-group summary:hover { background: #f4f8f9; }
.valve-group[open] summary { border-bottom: 1px solid var(--line); background: #f4f8f9; }
.valve-image { width: 112px; height: 112px; object-fit: contain; border-radius: 8px; background: #fff; }
.valve-summary-copy { display: grid; gap: 5px; }
.valve-summary-copy strong { font-size: 1.25rem; line-height: 1.15; }
.valve-summary-copy > span { color: var(--muted); font-size: .88rem; }
.valve-toggle { display: inline-flex; min-width: 108px; align-items: center; justify-content: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-dark); font-size: .78rem; font-weight: 800; }
.when-open { display: none; }
.valve-group[open] .when-closed { display: none; }
.valve-group[open] .when-open { display: inline; }
.valve-content { padding: 0 24px 24px; }
.valve-group .product-table-wrap { margin: 24px 0 0; }
.valve-group .product-table { font-size: .78rem; }
.valve-group .product-table th, .valve-group .product-table td { padding: 10px 11px; }
.valve-group .product-table th:first-child,
.valve-group .product-table td:first-child { width: 72%; }
.valve-group .product-table th:last-child,
.valve-group .product-table td:last-child { width: 28%; white-space: nowrap; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card p { color: var(--muted); }
.contact-details { display: grid; gap: 16px; margin: 26px 0; }
.contact-detail { display: grid; gap: 3px; }
.contact-detail span { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail a { width: fit-content; color: var(--blue-dark); font-size: 1.08rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.notice { padding: 20px; border-left: 3px solid var(--signal); background: var(--mist); color: #334957; }

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: block; }
  .brand-logo { width: 142px; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; }
  .hero { height: auto; min-height: 820px; display: block; padding: 64px 0 0; }
  .hero-text { width: 100%; }
  .hero-copy { padding-bottom: 58px; }
  .hero-media { width: 100%; height: 340px; position: relative; inset: auto; }
  .hero-media::after { display: none; }
  .hero-media img { object-position: 54% center; }
  .section-head, .about-grid, .product-row, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured, .drainage-card, .mounting-card { grid-column: span 1; }
  .drainage-card, .mounting-card { grid-template-columns: 1fr; }
  .drainage-card-image, .mounting-card-image { min-height: 320px; }
  .spec-ladder { grid-template-columns: 1fr; }
  .meter-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .meter-grid { grid-template-columns: 1fr; }
  .technical-strip { grid-template-columns: 1fr; }
  .component-table-toggle summary { align-items: stretch; flex-direction: column; gap: 14px; }
  .component-table-toggle .valve-toggle { width: 100%; }
  .component-table-content { padding: 0 14px 1px; }
  .valve-group summary { grid-template-columns: 88px 1fr; gap: 14px; min-height: 112px; padding: 12px 14px; }
  .valve-image { width: 88px; height: 88px; }
  .valve-toggle { grid-column: 1 / -1; width: 100%; }
  .valve-content { padding: 0 14px 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
