:root{--radius:18px}
.logo img,.footer img{mix-blend-mode:screen}
.footer img{max-width:220px;height:auto;display:block}
.footer-grid{align-items:start;gap:clamp(24px,5vw,80px)}
.footer-grid>div{min-width:0}
.footer-grid p{max-width:30ch}
.mission{background:linear-gradient(135deg,#181818,#252525);color:#fff}
.logo img{object-fit:contain}
.nav a{white-space:nowrap}
.hero{min-height:min(620px,80vh)}
.hero .diamond-card{min-height:300px}
.solution-grid a{min-height:200px;gap:8px}
.solution-grid a b{line-height:1.22}
.solution-grid a span{line-height:1.48}
.solution-grid a em{margin-top:auto}
.materials-section{background:#11100e}
.materials-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(28px,6vw,100px);align-items:center}
.materials-grid h2{font-size:clamp(30px,4vw,52px);line-height:1.08;max-width:18ch}
.materials-grid p{max-width:60ch;color:#c6c0b4;font-size:17px}
.material-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.material-facts>div{display:flex;min-height:120px;padding:20px;flex-direction:column;justify-content:center;border:1px solid #54462a;border-radius:16px;background:linear-gradient(135deg,#292315,#151514)}
.material-facts b{color:#f2c969;font-size:clamp(20px,2.4vw,28px);line-height:1.16}
.material-facts span{color:#ccc3ae;margin-top:8px}
.product-hero-grid{align-items:center}
.product-mark{background:linear-gradient(145deg,#fffdf7,#ded8c9)!important;border-color:#ad9868;padding:clamp(20px,3vw,38px);min-height:440px;box-shadow:0 28px 70px #0008}
.product-mark .product-photo{height:min(420px,35vw);max-width:100%;filter:drop-shadow(0 17px 17px #38302055)}
.product-mark b{display:none}
.product-thumb{background:linear-gradient(145deg,#fffdf7,#e2dccc);border:1px solid #b9aa85}
.product-thumb img{filter:drop-shadow(0 10px 9px #554c3c55)}
.detail-grid{gap:20px;align-items:stretch}
.detail-grid article{padding:clamp(24px,3vw,36px);border:1px solid #3e382c;border-radius:18px;background:#141310;min-width:0}
.detail-grid article h2{font-size:clamp(26px,2.6vw,36px);line-height:1.14;margin-bottom:18px}
.check-list li{padding:12px 4px 12px 30px;line-height:1.48;overflow-wrap:anywhere}
.check-list li:before{top:14px}
.spec-table>div{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);align-items:start;gap:20px}
.spec-table span,.spec-table b{min-width:0;overflow-wrap:anywhere;line-height:1.44}
.full-technical{max-width:100%;padding:clamp(20px,3vw,36px);background:#12110f;border-color:#514329}
.full-technical h2{overflow-wrap:anywhere}
.technical-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.technical-list p{margin:0;padding:16px 18px;background:#1d1a16;border:1px solid #383329;border-radius:11px;overflow-wrap:anywhere;white-space:normal;line-height:1.5;min-width:0}
.project-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.project-gallery a{display:flex;flex-direction:column;overflow:hidden;border:1px solid #3f382a;border-radius:15px;background:#181714;min-width:0;transition:transform .2s,border-color .2s}
.project-gallery a:hover,.project-gallery a:focus-visible{transform:translateY(-3px);border-color:#e8bc43}
.project-gallery img{width:100%;height:210px;object-fit:cover;display:block}
.project-gallery span{padding:14px;font-size:15px;line-height:1.35}
.lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lab-card{padding:26px;border:1px solid #51442e;border-radius:16px;background:#181611;min-width:0}
.lab-card h3{font-size:25px;line-height:1.15;margin:0 0 15px}
.lab-card p{color:#cac2b3;line-height:1.55;overflow-wrap:anywhere}
.lab-links{display:flex;gap:20px;flex-wrap:wrap}
.palette-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.wet-products{display:grid;gap:20px}
.wet-card{display:grid;grid-template-columns:minmax(200px,.5fr) 1fr;gap:32px;align-items:center;overflow:hidden;background:#161511;border:1px solid #40382b;border-radius:20px;padding:22px 32px 22px 18px}
.wet-card h2{font-size:clamp(27px,3vw,40px);line-height:1.1;margin:9px 0 12px}
.wet-card p{color:#c7c0b5;font-size:17px;line-height:1.5;max-width:60ch}
.wet-photo{display:grid;place-items:center;min-height:260px;background:linear-gradient(145deg,#fffdf6,#e8e2d5);border-radius:14px}
.wet-photo img{height:265px;max-width:90%;object-fit:contain;filter:drop-shadow(0 15px 15px #38302055)}
.service-card{display:flex;flex-direction:column;min-width:0}
.service-card .arrow{margin-top:auto;padding-top:20px}
.contact-cta{display:flex;align-items:center;justify-content:space-between;gap:24px}
.contact-cta h2{max-width:22ch;font-size:clamp(28px,3vw,40px);line-height:1.1}
.sealteks-calculator .result{margin-top:22px}
.sealteks-calculator .result h2{font-size:clamp(28px,3vw,40px)}
.gallery-dialog{border:1px solid #755e2d;border-radius:18px;padding:14px;background:#161514;color:#fff;max-width:min(1100px,94vw);max-height:92vh;box-shadow:0 25px 70px #000a}
.gallery-dialog::backdrop{background:#000c}
.gallery-dialog img{max-height:76vh;max-width:100%;display:block;object-fit:contain;margin:auto}
.gallery-dialog figcaption{padding:10px 40px 2px 4px}
.gallery-close{position:absolute;right:10px;top:10px;background:#181818;color:white;border:1px solid #a48a53;border-radius:50%;width:42px;height:42px;font-size:26px;cursor:pointer}
@media(max-width:1050px){.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-grid{gap:32px}}
@media(max-width:900px){.product-mark .product-photo{height:330px}.detail-grid{gap:16px}.materials-grid{grid-template-columns:1fr}.wet-card{grid-template-columns:220px 1fr;gap:22px}}
/* Restore the responsive navigation and grids; the legacy stylesheet has a malformed media rule. */
@media(max-width:900px){.nav{display:none;position:absolute;top:82px;left:0;right:0;background:#0d0d0d;padding:20px;flex-direction:column;align-items:stretch;max-height:calc(100dvh - 82px);overflow:auto;box-shadow:0 22px 34px #0009}.nav.open{display:flex}.nav a{display:block;width:100%;padding:12px 4px;font-size:16px;border-bottom:1px solid #30291b}.menu-btn{display:block;flex:none}.search-btn{flex:none;margin-left:auto}.hero-grid{grid-template-columns:1fr}.diamond-card{display:none}.grid,.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(2){border-right:0}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.mission-grid{grid-template-columns:1fr;gap:24px}}
@media(max-width:700px){.product-mark{min-height:300px}.product-mark .product-photo{height:270px}.wet-card{grid-template-columns:1fr;padding:16px;gap:16px}.wet-photo{min-height:220px}.wet-photo img{height:220px}.contact-cta{display:block}.contact-cta .actions{margin-top:20px}.technical-list,.lab-grid{grid-template-columns:1fr}.spec-table>div{grid-template-columns:1fr;gap:2px}.full-technical{margin-top:24px}.project-gallery img{height:170px}}
@media(max-width:580px){.nav{top:70px;max-height:calc(100dvh - 70px)}.grid,.catalog,.footer-grid{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)}.hero{min-height:auto;padding:52px 0}.hero h1{font-size:clamp(36px,10vw,46px)}.hero .actions{margin-top:24px}.page-hero{padding:42px 0 34px}}
@media(max-width:520px){.materials-grid h2{font-size:32px}.material-facts{grid-template-columns:1fr 1fr;gap:8px}.material-facts>div{min-height:105px;padding:13px}.material-facts b{font-size:19px}.material-facts span{font-size:13px}.project-gallery{gap:9px}.project-gallery img{height:140px}.project-gallery span{font-size:13px;padding:10px}.wet-card .actions .btn{width:100%}.detail-grid article{padding:20px}.product-hero-grid{gap:22px}.full-technical h2{font-size:27px}}
