/*
Theme Name: FTS Engineering
Theme URI: https://frostuk.com/
Author: Frost Technical Solutions
Description: A custom, performance-conscious theme for Frost Technical Solutions. WooCommerce-ready catalogue, responsive layouts and configurable homepage video.
Version: 0.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: fts-engineering
*/
:root{--ink:#1d2934;--deep:#10202e;--sub:#5f6c76;--line:#e2e8ec;--blue:#087ccf;--blue-dark:#0865a6;--paper:#fff;--mist:#f5f8fa;--max:1240px}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;height:auto}button,input{font:inherit}.container{width:min(calc(100% - 48px),var(--max));margin-inline:auto}.topbar{background:#edf2f5;color:#51616f;font-size:12px}.topbar .container{display:flex;justify-content:space-between;gap:15px;padding:8px 0}.site-head{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}.head-inner{min-height:86px;display:flex;align-items:center;gap:38px}.brand{flex:none;display:block;width:220px}.brand img{width:220px;display:block}.site-nav{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:21px}.site-nav a{font-size:14px;font-weight:600;white-space:nowrap}.header-tools{display:flex;gap:12px}.icon-link{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid var(--line);border-radius:4px}.mobile-toggle{display:none;border:1px solid var(--line);padding:8px 12px;border-radius:4px;background:#fff}.hero{position:relative;overflow:hidden;background:#edf3f7;min-height:455px}.hero-grid{display:grid;grid-template-columns: 1fr 1fr;min-height:455px;align-items:center;position:relative;z-index:2}.hero-copy{padding:48px 28px 74px 0}.eyebrow{color:#496477;text-transform:uppercase;letter-spacing:.2em;font-weight:700;font-size:11px}.hero h1{font-size:clamp(34px,4vw,58px);line-height:1.12;letter-spacing:-.045em;max-width:590px;margin:16px 0}.hero p{font-size:17px;color:#506272;max-width:520px;margin:0 0 28px}.hero-art{align-self:stretch;position:relative;min-height:350px;display:flex;align-items:center;justify-content:center}.hero-art img{width:100%;height:100%;object-fit:contain}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero.has-video:after{content:"";inset:0;position:absolute;background:linear-gradient(90deg,rgba(240,246,250,.98),rgba(240,246,250,.90) 41%,rgba(240,246,250,.1) 85%);z-index:1}.hero.has-video .hero-grid{grid-template-columns: 1fr 1fr}.hero.has-video .hero-art{display:none}.buttons{display:flex;flex-wrap:wrap;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 22px;border-radius:3px;font-size:14px;font-weight:700;border:1px solid var(--blue);background:var(--blue);color:#fff;min-height:46px;cursor:pointer}.btn:hover{background:var(--blue-dark);color:#fff}.btn.outline{color:var(--ink);border-color:#a6b8c5;background:transparent}.btn.outline:hover{background:#fff;color:var(--ink)}.search-panel{position:relative;z-index:3;margin-top:-45px;background:#fff;box-shadow:0 12px 32px #0b223017;border:1px solid var(--line);padding:22px 24px;border-radius:5px}.search-label{font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.12em;margin-bottom:11px}.search-fields{display:flex;gap:10px}.search-fields input{min-width:0;flex:1;border:1px solid #cad6de;border-radius:3px;padding:13px 16px;background:#fff}.search-fields input:focus{outline:2px solid #84b9d9}.search-hint{margin:10px 0 0;color:#74838c;font-size:12px}.section{padding:70px 0}.section.soft{background:var(--mist)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:23px}.section h2{font-size:clamp(24px,2.8vw,34px);letter-spacing:-.035em;line-height:1.2;margin:6px 0 5px}.section-head p{margin:0;color:var(--sub)}.text-link{font-size:13px;font-weight:700;color:var(--blue);white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.category-card{border:1px solid var(--line);background:#fff;transition:box-shadow .2s,transform .2s;border-radius:4px;overflow:hidden}.category-card:hover{box-shadow:0 10px 25px #10202e15;transform:translateY(-2px)}.category-visual{height:132px;background:linear-gradient(155deg,#f1f5f8,#d9e4ea);display:flex;align-items:center;justify-content:center;overflow:hidden}.category-visual img{height:100%;width:100%;object-fit:cover}.category-visual svg{width:75px;height:75px;stroke:#768b9b;stroke-width:1.5;fill:none}.category-name{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:13px;font-weight:700;font-size:13px}.category-name span:last-child{color:var(--blue)}.value-strip{border-block:1px solid var(--line);background:#fafcfd}.value-grid{display:grid;grid-template-columns:repeat(4,1fr)}.value{padding:24px 20px;border-right:1px solid var(--line)}.value:first-child{padding-left:0}.value:last-child{border:0}.value strong{display:block;font-size:14px}.value p{margin:4px 0 0;color:var(--sub);font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.resource{border:1px solid var(--line);background:#fff;padding:24px;border-radius:4px;min-height:208px;display:flex;flex-direction:column;align-items:start}.resource .symbol{display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--blue);width:48px;height:48px;background:#eaf4fa;border-radius:4px;margin-bottom:18px}.resource h3{font-size:18px;margin:0 0 8px}.resource p{font-size:14px;color:var(--sub);margin:0 0 24px}.resource .text-link{margin-top:auto}.services{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:62px}.services-art{background:#e8eff3;border:1px solid var(--line);padding:24px;border-radius:4px}.services h2{font-size:40px;line-height:1.14}.services p{color:var(--sub)}.site-footer{background:#182530;color:#d8e2e8;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer-brand img{width:235px;filter:brightness(0) invert(1)}.site-footer h3{font-size:13px;color:#fff;margin:0 0 12px}.site-footer p,.site-footer a{font-size:13px;color:#c1cdd5}.footer-nav{display:flex;flex-direction:column;gap:8px}.copyright{border-top:1px solid #43525b;margin-top:38px;padding-top:20px;color:#a8b5bd;font-size:12px}.page-body{padding:65px 0;min-height:55vh}.page-body h1{font-size:40px;letter-spacing:-.04em}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border:1px solid var(--line);padding:14px!important;border-radius:4px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--blue);color:#fff;border-radius:3px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--blue-dark);color:#fff}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.skip-link:focus{clip:auto;position:fixed;top:8px;left:8px;z-index:99;background:#fff;padding:10px;width:auto;height:auto}@media(max-width:1050px){.head-inner{gap:15px}.site-nav{gap:12px}.site-nav a{font-size:12px}.brand,.brand img{width:172px}.category-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.container{width:min(calc(100% - 32px),var(--max))}.topbar .container{justify-content:center}.topbar .secondary-top{display:none}.head-inner{min-height:74px;justify-content:space-between}.brand,.brand img{width:164px}.mobile-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px 25px;border-bottom:1px solid var(--line);box-shadow:0 18px 25px #1232;align-items:start;flex-direction:column}.site-nav.open{display:flex}.header-tools{display:none}.hero-grid{display:block;min-height:0}.hero-copy{padding:51px 0 95px}.hero h1{font-size:38px}.hero-art{display:none}.hero.has-video:after{background:rgba(241,247,250,.88)}.search-panel{margin-top:-49px;padding:16px}.search-fields{flex-direction:column}.search-fields .btn{width:100%}.section{padding:52px 0}.section-head{align-items:start}.category-grid{grid-template-columns:repeat(2,1fr)}.category-visual{height:120px}.value-grid{grid-template-columns:repeat(2,1fr)}.value:nth-child(2){border-right:0}.value{padding:18px 12px}.resource-grid,.services,.footer-grid{grid-template-columns:1fr}.services{gap:20px}.services h2{font-size:32px}.footer-grid{gap:24px}.section-head{flex-direction:column;gap:8px}}@media(max-width:390px){.category-grid{grid-template-columns:1fr 1fr;gap:8px}.category-name{padding:10px;font-size:12px}.hero h1{font-size:32px}}

/* 0.1.1 — restrained, catalogue-first visual refinement */
:root{--ink:#1b2833;--deep:#172631;--sub:#586772;--line:#e1e7eb;--blue:#0877c5;--blue-dark:#0764a4;--mist:#f6f8fa;--max:1280px}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.008em}
.topbar{background:#f5f7f8;color:#62717c}.topbar .container{padding:7px 0}
.site-head{box-shadow:none}.head-inner{min-height:81px;gap:28px}.brand,.brand img{width:202px}
.site-nav{gap:26px}.site-nav a{font-size:13px;font-weight:600;color:#223240}.site-nav a:hover{color:var(--blue)}
.hero{min-height:0;background:#eef3f6;border-bottom:1px solid #dae4ea}
.hero-grid{min-height:408px;grid-template-columns: 1.04fr .96fr;gap:26px}
.hero-copy{padding:42px 8px 62px 0}
.eyebrow{letter-spacing:.145em;color:#536b7b;font-size:10px}
.hero h1{font-size:clamp(36px,3.65vw,52px);line-height:1.085;letter-spacing:-.046em;max-width:640px;margin:15px 0 19px;font-weight:750}
.hero p{font-size:16px;line-height:1.58;max-width:540px;color:#546774;margin-bottom:25px}
.hero-art{min-height:300px;padding:20px 0 22px}.hero-technical{width:100%;background:#e5edf1;border:1px solid #cfdae1;box-shadow:0 12px 36px #15374c0b;display:flex;flex-direction:column;overflow:hidden}
.hero-technical img{display:block;width:100%;max-height:312px;object-fit:cover;filter:saturate(.68)}
.hero-technical-top,.hero-technical-bottom{display:flex;justify-content:space-between;gap:10px;padding:9px 13px;font-size:9px;letter-spacing:.13em;color:#567084;background:#f4f7f9}
.hero-technical-bottom{border-top:1px solid #dce5eb}
.btn{border-radius:2px;min-height:43px;font-size:13px;padding:10px 19px}
.search-panel{margin-top:-29px;padding:19px 23px;border-radius:2px;box-shadow:0 8px 30px #10202e12}
.search-label{font-size:11px;letter-spacing:.08em}.search-hint a{color:var(--blue);font-weight:600}
.search-fields input{padding:11px 14px}.section{padding:54px 0}.section h2{font-size:clamp(25px,2.3vw,31px);letter-spacing:-.034em}
.category-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.category-card{border-radius:2px}.category-visual{height:118px;background:linear-gradient(135deg,#f5f7f8,#e6edf1)}.category-visual svg{stroke:#697e8c}.category-name{padding:12px 10px;font-size:12px;line-height:1.3}
.value-strip{background:#f8fafb}.value{padding:20px 18px}.resource{border-radius:2px;padding:23px;min-height:195px}.resource .symbol{background:#edf3f7;color:#2c678d}
.services-art{border-radius:2px}.site-footer{background:#192831}
@media(max-width:1120px){.category-grid{grid-template-columns:repeat(4,1fr)}.site-nav{gap:13px}.site-nav a{font-size:12px}}
@media(max-width:760px){.hero-grid{display:block;min-height:0}.hero-copy{padding:45px 0 62px}.hero h1{font-size:clamp(32px,8vw,42px)}.hero-art{display:none}.category-grid{grid-template-columns:repeat(2,1fr)}.section{padding:45px 0}.brand,.brand img{width:164px}}
