/* Landing page: BALDR hydraulic electric valve — hooshavarzi «جوانه» identity. */
:root {
  --ink: #0a2e22; --deep: #14523a; --green: #2fbf71; --lime: #c6f432; --water: #2bb3e6;
  --mist: #f6faf7; --mint: #e8f3ee; --line: #d9e6de; --text: #1d3229; --muted: #5a6f65; --white: #fff; --snow: #eef7f1;
  --vv-accent: #0a2e22;
  --r: 20px; --shadow: 0 18px 50px rgba(10, 46, 34, .12);
  --gut: max(20px, calc((100vw - 1240px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Vazirmatn, system-ui, "Segoe UI", Tahoma, sans-serif; color: var(--text); background: var(--mist); line-height: 1.9; font-size: 16px; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.45; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font: 700 15.5px Vazirmatn, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 28px rgba(198, 244, 50, .3); }
.btn-lime:hover { box-shadow: 0 12px 36px rgba(198, 244, 50, .45); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: var(--snow); box-shadow: inset 0 0 0 1.5px rgba(238, 247, 241, .32); }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 26px; height: 60px; padding: 0 var(--gut); background: rgba(8, 38, 28, .86); color: var(--snow); border-bottom: 1px solid rgba(238, 247, 241, .08); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 20px; color: var(--snow); letter-spacing: -.2px; }
.brand svg { width: 34px; height: 34px; }
.nav nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: 14.5px; }
.nav nav a { text-decoration: none; opacity: .82; padding: 4px 0; transition: color .15s, opacity .15s; }
.nav nav a:hover { opacity: 1; color: var(--lime); }
.nav .btn { padding: 8px 20px; font-size: 14.5px; }
.nav .bar { position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--lime); transform-origin: right; transform: scaleX(var(--page, 0)); }
@media (max-width: 899px) { .nav nav { display: none; } .nav .btn { margin-inline-start: auto; } .nav { height: 54px; } }

/* ------------------------------------------------------------------ story */
.story { position: relative; background: var(--ink); color: var(--snow); }
.stage { position: relative; background:
  radial-gradient(46% 58% at 30% 52%, rgba(47, 191, 113, .22), transparent 70%),
  radial-gradient(38% 44% at 36% 60%, rgba(43, 179, 230, .12), transparent 72%),
  radial-gradient(120% 120% at 20% 20%, #135541 0%, #0c3a2b 42%, var(--ink) 100%); }
.stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(238, 247, 241, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 247, 241, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 35% 50%, #000, transparent 78%); mask-image: radial-gradient(70% 70% at 35% 50%, #000, transparent 78%); pointer-events: none; }
.stage .vv-stage, .hud, .rail, .cue, .autoplay, .stage-load, .prog, .stage .vv-ui { display: none; }
.chap { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--lime); background: rgba(198, 244, 50, .1); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(198, 244, 50, 0); } }
.chap.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 66px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.chap.hero h1 span { background: linear-gradient(100deg, var(--lime), #7ee08a 60%, var(--water)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chap.hero .lead { margin-top: 16px; font-size: clamp(15.5px, 1.35vw, 18px); color: #cfe3d8; max-width: 33em; line-height: 2.05; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 28px; }
.stats div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(238, 247, 241, .13); border-radius: 16px; padding: 12px 14px; }
.stats b { display: block; font-size: clamp(16px, 1.7vw, 21px); color: #fff; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.stats small { font-size: 12.5px; color: #b6cdc1; line-height: 1.6; display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { margin: 0; position: relative; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .45)); }
.chap .k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--lime); letter-spacing: .02em; }
.chap .k i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 14px; }
.chap h2 { color: #fff; font-size: clamp(21px, 2.1vw, 28px); font-weight: 800; margin-top: 8px; }
.chap p { color: #cfe3d8; font-size: 15.5px; line-height: 2.05; margin-top: 8px; }
.chap .still { border-radius: 16px; margin-bottom: 16px; width: 100%; height: auto; background: #0c3a2b; }

/* basic mode (no WebGL, reduced motion, or 3D failed): plain stacked chapters with stills */
html:not(.live) .stage { padding: 96px var(--gut) 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
html:not(.live) .chap.hero { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }
html:not(.live) .chap:not(.hero) { background: rgba(255, 255, 255, .05); border: 1px solid rgba(238, 247, 241, .12); border-radius: 22px; padding: 18px 20px 22px; }
html:not(.live) .chap.free { grid-column: 1 / -1; text-align: center; }
html:not(.live) [data-go] { display: none; }
@media (max-width: 899px) { html:not(.live) .stage { grid-template-columns: 1fr; padding-top: 80px; } html:not(.live) .chap.hero { grid-template-columns: 1fr; } html:not(.live) .hero-art { order: -1; max-width: 460px; margin-inline: auto; } }

/* live mode: one pinned stage, scroll is the playhead */
.live .story { height: 1000vh; height: 1000svh; }
.live .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.live .stage .vv-stage { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.live .stage.ready .vv-stage { opacity: 1; }
.live .stage:not(.free) canvas { cursor: default; }
.live .chap { position: absolute; z-index: 3; inset-inline-start: var(--gut); top: 50%; width: min(410px, 36vw); transform: translateY(calc(-50% + var(--dy, 0px))); opacity: 0; visibility: hidden; will-change: transform, opacity;
  background: rgba(6, 32, 23, .78); border: 1px solid rgba(238, 247, 241, .13); border-radius: 24px; padding: 24px 26px 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.live .chap.hero { opacity: 1; visibility: visible; width: min(580px, 46vw); background: none; border: 0; padding: 0; box-shadow: none; top: calc(50% + 24px); }
.live .chap .still { display: none; }
/* the still poster is moved into the stage at boot so it sits where the 3D model will be */
.live .hero-art, .live .stage > .hero-art { position: absolute; z-index: 1; inset-inline-end: calc(var(--gut) - 10px); top: 8%; bottom: 8%; width: min(600px, 46vw); display: flex; align-items: center; justify-content: center; transition: opacity .45s; pointer-events: none; }
.live .stage > .hero-art img { width: 100%; height: 100%; object-fit: contain; }
/* swap, do not cross-fade: the poster is a photo of the same valve at a slightly
   different angle, so overlapping the two for half a second reads as a double image */
.live .stage.ready .hero-art { opacity: 0; visibility: hidden; transition: none; }
.live .chap.free { top: 76px; inset-inline-start: 50%; transform: translate(50%, var(--dy, 0px)); width: auto; padding: 8px 20px; border-radius: 999px; white-space: nowrap; text-align: center; }
.live .chap.free h2 { font-size: 15px; margin: 0; display: inline; }
.live .chap.free p { display: inline; font-size: 13.5px; margin: 0 8px 0 0; }
.live .chap.free .btn { display: none; }

.live .stage-load { display: block; position: absolute; z-index: 4; inset-inline-end: calc(var(--gut) + 40px); bottom: 34px; font-size: 13px; color: #b6cdc1; transition: opacity .5s; }
.live .stage-load .bar { width: 170px; height: 3px; border-radius: 9px; background: rgba(238, 247, 241, .16); overflow: hidden; margin-top: 8px; direction: ltr; }
.live .stage-load .bar i { display: block; height: 100%; width: 4%; background: var(--lime); transition: width .2s; }
.live .stage.ready .stage-load { opacity: 0; pointer-events: none; }

.live .cue { display: flex; position: absolute; z-index: 3; inset: auto 0 22px 0; margin: auto; width: max-content; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: #b6cdc1; text-decoration: none; }
.cue i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(238, 247, 241, .5); position: relative; }
.cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--lime); animation: cue 1.6s infinite; }
@keyframes cue { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.live .rail { display: block; position: absolute; z-index: 3; inset-inline-end: 26px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; transition: opacity .4s; }
.live .stage[data-chapter="0"] .rail, .live .stage[data-chapter="8"] .rail, .live .stage:not([data-chapter]) .rail { opacity: 0; pointer-events: none; }
.rail::before, .rail .rail-fill { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: rgba(238, 247, 241, .16); border-radius: 2px; }
.rail .rail-fill { background: var(--lime); transform-origin: top; transform: scaleY(0); }
.rail li { position: relative; padding: 9px 0; }
.rail button { all: unset; cursor: pointer; display: block; width: 12px; height: 12px; border-radius: 50%; background: #2c5a49; box-shadow: 0 0 0 3px var(--ink); position: relative; transition: background .2s, transform .2s; }
.rail button[aria-current="true"] { background: var(--lime); transform: scale(1.35); }
.rail button span { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12.5px; background: rgba(6, 32, 23, .85); padding: 2px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rail button:hover span, .rail button:focus-visible span { opacity: 1; }

.hud { color: var(--snow); }
.live .hud { display: block; position: absolute; z-index: 3; inset-inline-end: 62px; top: 82px; width: 236px; opacity: 0; pointer-events: none; }
.hud .badges { display: flex; flex-direction: column; gap: 8px; }
.hud .badges span { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(6, 32, 23, .86); border: 1px solid rgba(238, 247, 241, .14); }
.hud .badges i { width: 10px; height: 10px; border-radius: 50%; background: #6d8478; transition: background .2s, box-shadow .2s; }
.hud .badges em { font-style: normal; }
.hud .sol.on i { background: #ffb020; box-shadow: 0 0 0 4px rgba(255, 176, 32, .25), 0 0 14px #ffb020; }
.hud .vlv.on i { background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .22), 0 0 14px var(--lime); }
.hud .meters { margin-top: 12px; padding: 12px 14px 14px; border-radius: 16px; background: rgba(6, 32, 23, .86); border: 1px solid rgba(238, 247, 241, .14); }
.hud .meters label { display: block; font-size: 11.5px; color: #b6cdc1; margin-top: 8px; line-height: 1.6; }
.hud .meters label:first-child { margin-top: 0; }
.hud .meters .m { height: 5px; border-radius: 5px; background: rgba(238, 247, 241, .13); overflow: hidden; margin-top: 4px; }
.hud .meters .m i { display: block; height: 100%; border-radius: 5px; transform-origin: right; transform: scaleX(0); }
.hud [data-bar=power] { background: #ffb020; } .hud [data-bar=chamber] { background: #4a9cec; } .hud [data-bar=flow] { background: var(--lime); }

.live .autoplay { all: unset; display: flex; position: absolute; z-index: 3; inset-inline-end: 62px; bottom: 30px; cursor: pointer; align-items: center; gap: 8px; font: 700 13.5px Vazirmatn, sans-serif; color: var(--snow); padding: 8px 16px 8px 14px; border-radius: 999px; background: rgba(6, 32, 23, .86); border: 1px solid rgba(238, 247, 241, .2); opacity: 0; transition: background .15s, border-color .15s; }
.autoplay:hover { background: rgba(198, 244, 50, .14); border-color: var(--lime); }
.autoplay svg { width: 14px; height: 14px; fill: var(--lime); }
.autoplay .pa { display: none; } .autoplay.on .pl { display: none; } .autoplay.on .pa { display: block; }
.live .count { position: absolute; z-index: 3; inset-inline-end: 62px; bottom: 80px; font-size: 12.5px; color: #9fb9ac; }

/* viewer chrome on the dark stage */
.stage .vv-callout b { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 4px rgba(198, 244, 50, .22), 0 6px 16px rgba(0, 0, 0, .4); }
.stage .vv-callout span, .stage .vv-part { background: rgba(6, 30, 22, .84); color: var(--snow); box-shadow: 0 0 0 1px rgba(238, 247, 241, .18), 0 6px 18px rgba(0, 0, 0, .3); }
.stage .vv-part::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, .22); }
.live .stage .vv-ui { display: block; z-index: 5; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.live .stage.free .vv-ui { opacity: 1; visibility: visible; }
.stage .vv-valve, .stage .vv-card { top: 76px; }
.stage .vv-valve { right: var(--gut); } .stage .vv-card { left: var(--gut); }
.stage .vv-hint { background: rgba(6, 30, 22, .7); color: #cfe3d8; }
.vv-list-btn { all: unset; cursor: pointer; position: absolute; right: var(--gut); bottom: 22px; font: 700 13.5px Vazirmatn, sans-serif; color: #10203a; padding: 9px 18px; border-radius: 12px; background: rgba(255, 255, 255, .9); box-shadow: 0 10px 34px rgba(16, 32, 58, .16); }
.vv-list-btn[aria-expanded="true"] { background: var(--lime); }
.vv-list { position: absolute; right: var(--gut); bottom: 72px; width: 230px; max-height: min(56vh, 480px); overflow: auto; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 14px 40px rgba(16, 32, 58, .22); padding: 8px; }
.vv-list ol { list-style: none; margin: 0; padding: 0; }
.vv-list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 10px; border-radius: 10px; font: 500 13.5px Vazirmatn, sans-serif; color: #1a2c4a; }
.vv-list button:hover { background: #eef2f8; }
.vv-list button[aria-current="true"] { background: var(--ink); color: #fff; }
.vv-list i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e4ebf5; color: #1a2c4a; font-size: 11.5px; font-weight: 700; flex: none; }

@media (max-width: 899px) {
  .live .chap { inset-inline: 12px; top: auto; bottom: 14px; width: auto; transform: translateY(var(--dy, 0px)); padding: 16px 18px 18px; border-radius: 20px; background: rgba(6, 32, 23, .78); }
  .live .chap p { font-size: 14px; line-height: 1.95; }
  .live .chap.hero { top: auto; bottom: 64px; width: auto; }
  .live .chap.hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .live .chap.hero .lead { font-size: 14.5px; line-height: 1.9; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .live .eyebrow { margin-bottom: 8px; font-size: 12.5px; }
  .live .stats { margin: 14px 0 16px; gap: 6px; } .live .stats div { padding: 8px 8px; border-radius: 12px; } .live .stats b { font-size: 14px; } .live .stats small { font-size: 10.5px; }
  .live .cta .btn { flex: 1 1 0; padding: 11px 10px; font-size: 14px; }
  .live .stage > .hero-art { inset-inline: 4%; top: 76px; bottom: 44%; width: auto; }
  .live .rail, .live .count, .hud .meters { display: none; }
  .live .hud { top: 64px; inset-inline: 12px; width: auto; }
  .hud .badges { flex-direction: row; justify-content: flex-start; gap: 6px; } .hud .badges span { font-size: 12px; padding: 5px 11px; gap: 7px; }
  .live .autoplay { top: 64px; bottom: auto; inset-inline: auto 12px; padding: 6px 12px 6px 10px; font-size: 12px; }
  .live .prog { display: block; position: absolute; z-index: 6; inset: 54px 0 auto 0; height: 2px; background: var(--lime); transform-origin: right; transform: scaleX(var(--p, 0)); }
  .live .cue { bottom: 10px; } .cue i { display: none; }
  .live .chap.free { display: none; }
  .stage .vv-valve, .stage .vv-card { top: 64px; } .stage .vv-card { top: auto; }
  .vv-list-btn { top: 64px; bottom: auto; right: auto; left: 12px; padding: 8px 14px; }
  .vv-list { top: 110px; bottom: auto; right: auto; left: 12px; max-height: 50vh; }
  .live .stage-load { inset-inline: 0; text-align: center; bottom: auto; top: 30%; } .live .stage-load .bar { margin-inline: auto; }
}

/* the story chrome never blurs: backdrop-filter over a live WebGL canvas re-blurs every
   frame and is the main scroll stutter source, on desktops as well as phones */
@media (pointer: coarse) {
  .nav { background: rgba(8, 38, 28, .9); }
  .live .chap { background: rgba(6, 32, 23, .88); }
  .live .chap.hero { background: none; }
  .stats div { background: rgba(6, 32, 23, .55); }
  .hud .badges span, .hud .meters, .live .autoplay { background: rgba(6, 32, 23, .82); }
}

/* --------------------------------------------------------------- sections */
section { padding: 88px 0; scroll-margin-top: 60px; }
.sec-head { max-width: 46em; margin-bottom: 36px; }
.kicker { font-size: 13.5px; font-weight: 800; color: var(--green); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--green); }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; margin-top: 4px; letter-spacing: -.4px; }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
@media (max-width: 700px) { section { padding: 58px 0; } }
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
[data-rv].in, html:not(.js) [data-rv] { opacity: 1; transform: none; }

/* features bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { grid-column: span 5; background: #fff; border-radius: var(--r); padding: 26px 26px 28px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: box-shadow .25s, translate .25s; }
.card:hover { box-shadow: 0 0 0 1px #bfdccb, var(--shadow); translate: 0 -3px; }
.card.media { grid-column: span 7; display: grid; grid-template-columns: 1fr 1.05fr; gap: 6px; align-items: center; padding: 14px 26px 14px 14px; gap: 22px; }
.card.media picture { border-radius: 16px; overflow: hidden; background: #eceeed; }
.card.media img { width: 100%; height: auto; transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
.card.media:hover img { scale: 1.05; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 25px; height: 25px; }
.card h3 { font-size: 18.5px; font-weight: 800; }
.card p { margin-top: 6px; font-size: 14.5px; color: #3d5248; line-height: 2.05; }
.card small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 899px) { .card, .card.media { grid-column: 1 / -1; } }
@media (max-width: 560px) { .card.media { grid-template-columns: 1fr; padding: 22px; } .card.media picture { order: -1; max-width: 300px; margin: -10px auto 0; } }

/* materials */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.split > * { min-width: 0; }
.mats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mats li { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 14px 16px; }
.mats b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.7; }
.mats span { font-size: 13.5px; color: var(--muted); }
.mats li::before { content: ""; display: block; width: 26px; height: 5px; border-radius: 5px; background: var(--c, var(--green)); margin-bottom: 9px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mats { grid-template-columns: 1fr; } }

/* tables */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); overflow: hidden; font-size: 14.5px; }
.tbl th, .tbl td { padding: 11px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: var(--snow); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; } .tbl tbody tr:hover td, .tbl tbody tr:hover th { background: var(--mist); }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.tbl td.num, .tbl th.num { direction: ltr; text-align: right; font-feature-settings: "tnum"; white-space: nowrap; }
.tbl tr.me td, .tbl tr.me th { background: #f3fbdc !important; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; background: var(--lime); color: var(--ink); padding: 1px 9px; border-radius: 999px; margin-inline-start: 6px; }
.scroll-x { overflow-x: auto; border-radius: var(--r); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.specs-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.specs-grid > * { min-width: 0; }
@media (max-width: 899px) { .specs-grid { grid-template-columns: 1fr; } }

/* head loss calculator */
.calc { background: linear-gradient(140deg, #0c3a2b, var(--ink)); color: var(--snow); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.calc > * { min-width: 0; }
.calc label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sizes button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 9px 4px; border-radius: 12px; font: 700 14px Vazirmatn, sans-serif; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(238, 247, 241, .16); transition: background .15s; }
.sizes button[aria-pressed="true"] { background: var(--lime); color: var(--ink); box-shadow: none; }
.calc .row { margin-bottom: 20px; }
.calc .q { display: flex; align-items: baseline; gap: 8px; direction: rtl; }
.calc .q b { font-size: 34px; font-weight: 800; color: #fff; line-height: 1.2; font-feature-settings: "tnum"; }
.calc .q small { color: #b6cdc1; font-size: 13.5px; }
.calc input[type=range] { width: 100%; accent-color: var(--lime); margin-top: 8px; direction: ltr; }
.calc .res { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc .res b { font-size: clamp(40px, 5vw, 58px); font-weight: 800; color: var(--lime); line-height: 1.15; font-feature-settings: "tnum"; }
.calc .res span { font-size: 15px; color: #b6cdc1; }
.calc .verdict { font-size: 14px; color: #cfe3d8; min-height: 2em; margin-top: 2px; }
.chart { background: rgba(255, 255, 255, .045); border: 1px solid rgba(238, 247, 241, .12); border-radius: 20px; padding: 14px 14px 8px; direction: ltr; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 10px Vazirmatn, sans-serif; fill: #9fb9ac; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 880px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 0 0 1.5px #bfdccb, var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--green); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: #3d5248; font-size: 15px; }

/* cta band + footer */
.band { position: relative; overflow: hidden; background: radial-gradient(80% 140% at 85% 0%, #17604a, var(--ink) 70%); color: var(--snow); border-radius: 32px; padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.band p { color: #cfe3d8; margin: 8px 0 22px; max-width: 34em; }
.band img { width: 100%; max-width: 440px; margin: -30px auto -46px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } .band picture { order: -1; } .band img { max-width: 300px; margin: -10px auto 0; } }
footer { padding: 30px 0 44px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
footer a { text-decoration: none; margin-inline-start: 16px; }
footer a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, [data-rv], .card { transition: none; } [data-rv] { opacity: 1; transform: none; } .eyebrow i, .cue i::after { animation: none; } }
