/* Al Baida Technical · design-matched page system. Scoped, deterministic styles. */
:root{--fm-maroon:#891434;--fm-maroon-deep:#651026;--fm-gold:#c9974e;--fm-champagne:#f2ce8f;--fm-cream:#f8f4ef;--fm-line:#e7d7c8;--fm-text:#262b30;--fm-serif:Georgia,'Times New Roman',serif;--fm-sans:'DM Sans','Segoe UI',Arial,sans-serif}
body{background:#fcfaf7;color:var(--fm-text)}
.matched-page main{overflow:clip}
.matched-page .shell,.matched-detail .shell{width:min(1320px,calc(100% - 76px))}
.matched-page h1,.matched-page h2,.matched-page h3,.matched-detail h1,.matched-detail h2,.matched-detail h3{font-family:var(--fm-serif);font-weight:400;letter-spacing:-.032em}
.matched-page h2{font-size:clamp(29px,2.85vw,43px);line-height:1.16}.matched-page h2 em,.matched-page h1 em,.matched-page h3 em{font-style:italic;color:var(--fm-maroon)}
.matched-page p{line-height:1.65}
.matched-page .site-header,.matched-detail .site-header{background:rgba(255,255,255,.93);color:#24272c;border-bottom:1px solid rgba(95,66,53,.13);box-shadow:none;backdrop-filter:blur(10px)}
.matched-home .site-header,.matched-hero-dark .site-header{background:rgba(27,29,37,.12);color:#fff;border-color:rgba(255,255,255,.17)}
.matched-page .site-header.is-scrolled,.matched-detail .site-header.is-scrolled{background:rgba(255,252,248,.97);color:#2c2b2e;border-color:var(--fm-line);box-shadow:0 6px 25px rgba(32,25,25,.06)}
.matched-page .header-shell,.matched-detail .header-shell{height:74px;gap:20px}
.matched-page .brand img,.matched-detail .brand img{width:46px;height:46px}.matched-page .brand>span,.matched-detail .brand>span{font-size:21px;line-height:1.04}.matched-page .brand strong,.matched-detail .brand strong{font-size:9px;letter-spacing:.245em;margin-top:5px}
.matched-page .desktop-nav,.matched-detail .desktop-nav{gap:20px}.matched-page .nav-link,.matched-detail .nav-link{font-size:12px;padding:25px 0}.matched-page .nav-link.is-active:after{bottom:14px}.matched-page .mail-link{font-size:11px;padding:8px 11px}
.fm-eyebrow{display:flex;align-items:center;gap:14px;font-family:var(--fm-sans);font-size:11px;font-weight:800;letter-spacing:.145em;text-transform:uppercase;color:#995221;margin:0 0 15px}
.fm-eyebrow i{width:34px;height:1px;background:var(--fm-gold);display:block;flex:none}
.fm-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;min-height:45px;border-radius:8px;border:1px solid rgba(246,216,168,.75);background:linear-gradient(135deg,#9e183e,#700e2b);color:#fff;font:800 12px/1.1 var(--fm-sans);padding:11px 19px;box-shadow:0 6px 16px rgba(65,14,28,.13);max-width:100%;transition:transform .18s,box-shadow .18s}.fm-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(65,14,28,.18)}.fm-btn span{font-size:19px}.fm-btn-outline{background:transparent;color:var(--fm-maroon);border-color:var(--fm-maroon)}.fm-textlink{color:var(--fm-maroon);font-weight:800;font-size:12px;display:inline-block;border-bottom:1px solid #a74e61;padding:5px 0;white-space:nowrap}
.fm-sec{padding:57px 0;background:#fcfaf7}.fm-sec:has(+ .fm-sec){border-bottom:1px solid #efe8e0}.fm-head{display:flex;align-items:end;gap:28px;justify-content:space-between;margin-bottom:24px}.fm-head>div{flex:1;min-width:0}.fm-head h2{margin-bottom:0}.fm-head>p{flex:1.15;font-size:14px;line-height:1.65;color:#555a5e;max-width:580px;margin:0}.fm-head>.fm-textlink{flex:none}.fm-head h2 em{color:var(--fm-maroon)}.fm-icon{font:400 36px/1 var(--fm-serif);color:#ae772e;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px}
/* Home: same industrial geometry, a deterministic two-image scroll reveal with no video seeking. */
.fm-home-hero{height:clamp(480px,44vw,625px);position:relative;background:#faf7f3;overflow:hidden}
.fm-home-backdrop{position:absolute;inset:0;overflow:hidden}.fm-home-backdrop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}.fm-hero-blueprint{opacity:1}.fm-hero-reality{opacity:var(--fm-hero-reveal,.58)}.fm-home-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(45,24,34,.88),rgba(74,39,49,.72) 23%,rgba(76,47,50,.24) 48%,rgba(27,30,41,0) 72%)}
.fm-home-copy{position:relative;z-index:2;padding-top:clamp(125px,14vw,180px);color:#fff}.fm-home-copy .fm-eyebrow{color:#f6d89d}.fm-home-copy h1{font-size:clamp(42px,4.3vw,64px);line-height:1.05;max-width:690px;margin:0 0 17px;color:#fff;text-shadow:0 2px 9px rgba(28,16,22,.13)}.fm-home-copy h1 em{color:var(--fm-champagne)}.fm-home-copy>p{font-size:15px;max-width:445px;line-height:1.58;color:#f9efec;margin:0 0 23px}.fm-scroll-hint{display:flex;gap:20px;color:#eee7e0;align-items:center;position:absolute;z-index:2;bottom:25px;left:max(40px,calc((100% - 1320px)/2));font:800 10px var(--fm-sans);letter-spacing:.14em}
.fm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:rgba(255,253,250,.98);border:1px solid #e3ceb8;border-radius:15px;min-height:82px;box-shadow:0 12px 27px rgba(39,28,22,.16);position:relative;z-index:5;margin-top:-38px;padding:15px 5px}.fm-metrics>div{display:flex;align-items:center;justify-content:center;gap:17px;border-right:1px solid #dbbb9e}.fm-metrics>div:last-child{border:0}.fm-metrics>div span:not(.fm-icon){display:flex;flex-direction:column;min-width:0}.fm-metrics strong{font:800 clamp(20px,2vw,28px)/1.2 var(--fm-sans);color:var(--fm-maroon);letter-spacing:-.03em}.fm-metrics small{font-size:11px;font-weight:600;color:#545457}.fm-metrics .fm-icon{font-size:30px;width:35px}
.fm-capabilities{padding:37px 0 40px;background:#faf7f2}.fm-cap-layout{display:grid;grid-template-columns:31% 1fr;gap:28px;align-items:center}.fm-cap-intro h2{font-size:clamp(28px,2.5vw,35px);margin:0 0 10px;max-width:430px}.fm-cap-intro>p{font-size:13px;line-height:1.45;color:#666268;margin:0;max-width:340px}.fm-cap-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.fm-cap{min-width:0;min-height:135px;border-radius:12px;padding:15px 13px 11px;display:flex;flex-direction:column;align-items:start;gap:10px;background:linear-gradient(145deg,#fffdfa,#f5eee8);box-shadow:0 5px 13px rgba(43,31,23,.1);border:1px solid #e4d1c0;color:#242a2e;transition:transform .2s}.fm-cap:hover{transform:translateY(-3px)}.fm-cap strong{font:800 12px/1.25 var(--fm-sans);letter-spacing:-.02em}.fm-cap .fm-icon{font-size:30px;width:34px;height:36px}.fm-cap .fm-arrow{align-self:end;margin-top:auto;font-size:18px;color:#af7d3f}.fm-cap.is-selected{color:#fff;background:linear-gradient(150deg,#a92342,#740d2b)}.fm-cap.is-selected .fm-icon,.fm-cap.is-selected .fm-arrow{color:#efd19b}
.fm-about-home{display:grid;grid-template-columns:47% 53%;align-items:stretch;background:#fdfbf8;min-height:305px}.fm-photo-edge{position:relative;min-width:0;overflow:hidden;clip-path:polygon(0 0,96% 0,100% 0,94% 100%,0 100%)}.fm-photo-edge:after{content:'';position:absolute;right:2.8%;top:-20%;height:150%;width:6px;transform:rotate(13deg);background:var(--fm-gold)}.fm-photo-edge img{height:100%;width:100%;object-fit:cover;object-position:center}.fm-about-content{padding:36px 7.5% 27px 5%;max-width:810px}.fm-about-content h2{font-size:clamp(28px,2.8vw,40px);margin-bottom:11px}.fm-about-content p{font-size:13px;line-height:1.58;color:#59585a;margin:0 0 15px}.fm-tabs{display:flex;align-items:stretch;gap:3px}.fm-tabs button{flex:1;border:1px solid #ead5c9;background:linear-gradient(#faf6f1,#f0e9e2);border-radius:9px 9px 0 0;padding:12px 13px;cursor:pointer;font:800 12px var(--fm-sans);color:#5d4e4a}.fm-tabs button.is-active{background:linear-gradient(135deg,#9b1736,#6a0a26);color:#fff}.fm-tab-content{border:1px solid #e1cdbb;border-top:none;border-radius:0 0 11px 11px;background:#fff;min-height:76px;box-shadow:0 8px 16px rgba(37,28,25,.07)}.fm-compact-features{display:none;align-items:center;justify-content:space-around;padding:13px 11px;gap:6px}.fm-compact-features.is-active{display:flex}.fm-compact-features>span{display:flex;align-items:center;gap:7px;padding:0 11px;border-right:1px solid #e9dacf;flex:1;font:800 11px/1.3 var(--fm-sans)}.fm-compact-features>span:last-child{border:0}.fm-compact-features .fm-icon{font-size:23px;width:27px;height:30px}
.fm-project-feature{background:#fff;padding:43px 0 40px}.fm-project-row{display:grid;grid-template-columns:23% 1fr;align-items:center;gap:24px}.fm-project-intro h2{margin:0 0 9px;font-size:36px}.fm-project-intro p{font-size:13px;line-height:1.55;color:#69666b;max-width:240px}.fm-project-cards,.fm-sector-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fm-photo-tile{position:relative;overflow:hidden;min-width:0;height:199px;border-radius:12px;color:#fff;display:block;transition:transform .2s}.fm-photo-tile:hover{transform:translateY(-2px)}.fm-photo-tile img{width:100%;height:100%;object-fit:cover}.fm-photo-caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:22px 12px 11px;background:linear-gradient(transparent,rgba(9,16,22,.87));gap:7px}.fm-photo-caption strong{font:800 12px/1.25 var(--fm-sans)}.fm-photo-caption span{font-size:22px}
.fm-cert-band{background:#f7f2ed;display:grid;grid-template-columns:30% 70%;align-items:center;min-height:153px}.fm-cert-intro{height:100%;padding:20px 20px 20px max(40px,calc((100vw - 1320px)/2));background:linear-gradient(135deg,#901b37,#5b0d26);color:#fff}.fm-cert-intro .fm-eyebrow{color:#f3cc82}.fm-cert-intro h2{font-size:clamp(25px,2.5vw,36px);margin:0}.fm-cert-intro h2 em{color:var(--fm-champagne)}.fm-cert-grid{width:calc(100% - 35px)!important;grid-template-columns:repeat(4,1fr);display:grid;gap:11px;margin-left:0!important}.fm-cert-grid>div,.fm-cert-mini>div{display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:center;border:1px solid #dec9b5;background:#fbf9f5;padding:11px 8px;border-radius:11px;min-height:108px;box-shadow:0 4px 12px rgba(40,31,25,.055)}.fm-cert-grid strong,.fm-cert-mini strong{font:800 14px var(--fm-sans);color:#90112e;margin-bottom:3px}.fm-cert-grid small,.fm-cert-mini small{font:600 11px/1.3 var(--fm-sans);color:#3b3b3b}.fm-cert-icon,.fm-cert-mini>div>span{font:400 28px/1 var(--fm-serif);color:#b37d3a;margin-bottom:4px}
.fm-sector-sec{background:#fcfbf8;padding:35px 0}.fm-sector-row{display:grid;grid-template-columns:23% 1fr;gap:24px;align-items:center}.fm-sector-row h2{font-size:33px;margin:0}.fm-sector-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.fm-sector-tiles .fm-photo-tile{height:138px}
.fm-home-story{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:40px;padding-bottom:45px}.fm-home-story>a{border:1px solid #e7d9cd;background:#fff;border-radius:12px;padding:24px;box-shadow:0 8px 20px rgba(30,20,15,.04)}.fm-home-story>a>strong{font-size:10px;letter-spacing:.12em;color:#a26438}.fm-home-story h3{font-size:23px;line-height:1.23;margin:8px 0}.fm-home-story p{font-size:12px;color:#737171;margin:0 0 15px}.fm-home-story>a>span{color:var(--fm-maroon);font-size:12px;font-weight:800}
.fm-clients-home{background:#fbf7f3}.fm-marquee{width:100%;overflow:hidden;mask-image:linear-gradient(to right,transparent,black 7%,black 93%,transparent);margin-top:12px}.fm-marquee-track{display:flex;width:max-content;gap:15px;animation:fm-move 32s linear infinite}.fm-marquee:hover .fm-marquee-track{animation-play-state:paused}.fm-partner-logo{min-width:174px;width:174px;height:90px;background:#fff;border:1px solid #e8dace;border-radius:10px;box-shadow:0 5px 14px rgba(26,20,15,.05);display:grid;place-items:center;padding:17px}.fm-partner-logo img{width:100%;height:100%;object-fit:contain}@keyframes fm-move{to{transform:translateX(-50%)}}
/* Interior pages - substantial photo right, editorial copy left. */
.matched-interior .site-header:not(.is-scrolled){background:rgba(255,253,251,.9);color:#202326}.matched-hero-dark .site-header:not(.is-scrolled){background:rgba(25,28,35,.22);color:#fff}
.fm-page-hero{height:clamp(365px,34.5vw,480px);position:relative;overflow:hidden;display:flex;align-items:center;background:#f6f2ed}.fm-page-hero-image{position:absolute;inset:0 0 0 41%;overflow:hidden}.fm-page-hero-image img{height:100%;width:100%;object-fit:cover;object-position:center}.fm-page-hero-image:after{content:'';position:absolute;inset:0 0 0 -2px;background:linear-gradient(90deg,rgba(246,239,234,.3),transparent 35%)}.fm-page-hero:after{content:'';position:absolute;left:0;top:0;width:53%;height:100%;clip-path:polygon(0 0,100% 0,80% 100%,0 100%);background:linear-gradient(110deg,#f8f3ee 8%,#f5edeb 65%,rgba(242,230,221,.92));border-right:0}.fm-hero-dark:after{background:linear-gradient(115deg,rgba(46,28,42,.99),rgba(88,42,62,.94) 75%,rgba(105,58,64,.72))}.fm-page-hero-text{position:relative;z-index:2;padding-top:65px}.fm-page-hero-text .fm-eyebrow{margin-bottom:13px}.fm-page-hero-text h1{font-size:clamp(37px,4vw,56px);line-height:1.06;margin:0 0 15px;max-width:600px}.fm-page-hero-text p{font-size:15px;max-width:450px;color:#555a5f;line-height:1.6;margin:0 0 19px}.fm-hero-dark .fm-page-hero-text{color:#fff}.fm-hero-dark .fm-page-hero-text p{color:#f8edeb}.fm-hero-dark .fm-page-hero-text h1 em{color:var(--fm-champagne)}.fm-hero-dark .fm-eyebrow{color:#f0d394}
.fm-overview{padding-top:35px}.fm-overview-row{display:grid;grid-template-columns:27% 40% 1fr;gap:22px;align-items:center}.fm-overview h2{font-size:clamp(26px,3vw,37px)}.fm-overview h2 span{font-size:.82em}.fm-overview-row>p{font-size:14px;line-height:1.65;color:#4c4d51;margin:0}.fm-overview-photo{height:184px;overflow:hidden;border-radius:12px}.fm-overview-photo img{width:100%;height:100%;object-fit:cover}.fm-three-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:22px}.fm-three-cards article{padding:20px;display:flex;align-items:start;gap:18px;background:#fff;border:1px solid #e4d3c4;border-radius:12px;box-shadow:0 6px 16px rgba(47,26,20,.06)}.fm-three-cards article>.fm-icon{min-width:59px;width:59px;height:59px;background:linear-gradient(135deg,#a72546,#74132f);border-radius:9px;color:#f7cb89;font-size:35px}.fm-three-cards h3{font:800 18px/1.25 var(--fm-sans);color:#91142f;margin:0 0 7px}.fm-three-cards p{font-size:12px;line-height:1.5;margin:0}.fm-three-cards a{display:inline-block;margin-top:7px;font-size:11px;font-weight:800;color:var(--fm-maroon)}
.fm-timeline-sec{background:#faf6f2}.fm-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin-top:44px;position:relative;text-align:center}.fm-timeline:before{content:'';height:2px;background:#ca994f;position:absolute;top:0;left:8%;right:8%}.fm-timeline>div{position:relative;padding-top:20px}.fm-timeline-point{position:absolute;width:14px;height:14px;top:-6px;left:calc(50% - 7px);background:#fff;border:2px solid #be803a;border-radius:50%}.fm-timeline>div:last-child .fm-timeline-point{background:#ba8738}.fm-timeline strong{font:800 22px var(--fm-sans);color:var(--fm-maroon);display:block}.fm-timeline b{font:800 12px var(--fm-sans);display:block;margin:6px 0}.fm-timeline p{color:#56585b;font-size:11px;line-height:1.5;margin:0 auto;max-width:160px}
.fm-strengths-layout{display:grid;grid-template-columns:29% 1fr;gap:25px;align-items:center}.fm-strengths-layout>div:first-child>p{font-size:14px;line-height:1.6;color:#666}.fm-tabs-box .fm-tabs button{border-radius:9px 9px 0 0}.fm-tabs-box .fm-compact-features{min-height:124px;padding:25px 13px}.fm-tabs-box .fm-compact-features>span{flex-direction:column;gap:8px;text-align:center;font-size:12px}.fm-tabs-box .fm-icon{font-size:36px;width:44px;height:44px}
.fm-quote-band{background:linear-gradient(115deg,#851532 0%,#712039 39%,#f9f2ea 39%,#fff 100%);padding:43px 0}.fm-quote-band>.shell{display:grid;grid-template-columns:40% 1fr;gap:40px;align-items:center}.fm-quote-band h2{color:#fff;margin:0;font-size:36px;max-width:410px}.fm-quote-band blockquote{font:italic 22px/1.45 var(--fm-serif);margin:0;color:#323033}.fm-cert-simple{padding:40px 0}.fm-cert-simple .fm-head{display:flex}.fm-cert-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.fm-cert-mini>div{min-height:116px}
.fm-mission-pillars,.fm-four-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.fm-mission-pillars article,.fm-four-cards article{padding:27px;background:#fff;border:1px solid #e6d9ca;border-radius:14px;box-shadow:0 8px 18px rgba(39,22,19,.055)}.fm-mission-pillars .fm-icon{display:grid;place-items:center;background:linear-gradient(140deg,#951735,#6f0d2b);color:var(--fm-champagne);width:64px;height:64px;border-radius:9px;font-size:39px;margin-bottom:12px}.fm-mission-pillars h3,.fm-four-cards h3{font-size:24px;margin:0 0 7px;color:var(--fm-maroon)}.fm-mission-pillars p,.fm-four-cards p{font-size:13px;color:#54565b;margin:0}.fm-four-cards{grid-template-columns:repeat(4,1fr)}.fm-four-cards .fm-icon{font-size:38px;margin-bottom:10px}.fm-four-cards h3{font:800 17px/1.25 var(--fm-sans)}
.fm-value-sec,.fm-soft-bg,.fm-client-trust,.fm-strengths-compact{background:#f8f3ee}.fm-values-line{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:14px;border:1px solid #e2d1bf;box-shadow:0 7px 19px rgba(32,27,24,.06);padding:22px 10px}.fm-values-line>div{border-right:1px solid #dfc2a4;padding:0 16px;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center}.fm-values-line>div:last-child{border:0}.fm-values-line .fm-icon{font-size:38px}.fm-values-line strong{font:800 14px/1.25 var(--fm-sans);color:#86203d}.fm-values-line p{font-size:12px;color:#4c4e51;margin:0}.fm-mission-outcome{background:#fff;padding:24px 0 0}.fm-mission-outcome-row{display:grid;grid-template-columns:43% 57%;align-items:center;gap:25px}.fm-mission-outcome-row>div:first-child{padding:20px 0}.fm-mission-outcome h2{font-size:clamp(29px,3vw,40px)}.fm-mission-outcome p{font-size:14px;max-width:490px}.fm-mission-outcome ul{margin:18px 0;padding-left:22px;font-size:14px;font-weight:700}.fm-mission-outcome li{margin:7px 0}.fm-mission-outcome img{width:100%;height:340px;object-fit:cover;border-radius:45px 0 0 0}
.fm-chairman-story{display:grid;grid-template-columns:44% 56%;align-items:stretch;background:#fdf9f6}.fm-chairman-image{height:580px;overflow:hidden;background:#eee5dc}.fm-chairman-image img{width:100%;height:100%;object-fit:cover;object-position:center top}.fm-chairman-copy{padding:55px min(5vw,70px);display:flex;flex-direction:column;justify-content:center}.fm-chairman-copy h2{font-size:clamp(38px,4.4vw,64px)}.fm-chairman-copy blockquote{font:italic clamp(18px,1.7vw,25px)/1.55 var(--fm-serif);color:#37383a;margin:10px 0 23px}.fm-chairman-copy>p{font-size:14px}.fm-two-highlights{display:grid;grid-template-columns:1fr 1fr;gap:24px}.fm-two-highlights article{min-height:220px;padding:32px;background:#fff;border:1px solid #e4d4c6;border-radius:15px}.fm-two-highlights article:first-child{background:linear-gradient(135deg,#8e1736,#5f0e29);color:#fff}.fm-two-highlights article:first-child .fm-eyebrow,.fm-two-highlights article:first-child h2 em{color:var(--fm-champagne)}.fm-two-highlights article:first-child h2{color:#fff}.fm-two-highlights h2{font-size:35px}.fm-two-highlights p{font-size:13px}.fm-three-cards.slim{margin-top:5px}
.fm-client-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0 26px}.fm-client-grid a{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:13px;background:#fff;border:1px solid #e8d7c9;border-radius:12px;box-shadow:0 6px 12px rgba(45,35,28,.05)}.fm-client-grid img{width:120px;height:65px;object-fit:contain}.fm-client-grid strong{font:800 12px/1.3 var(--fm-sans)}.fm-second-heading{font-size:27px;margin:24px 0 14px}.fm-client-trust .fm-project-row{grid-template-columns:29% 1fr}
.fm-filter-row{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:0 0 24px}.fm-filter-row button{border:1px solid #e3d1c0;box-shadow:0 5px 12px rgba(30,25,23,.05);background:#fbf8f4;color:#32343a;border-radius:30px;padding:10px 19px;font-size:12px;font-weight:800;cursor:pointer}.fm-filter-row button.selected{color:#fff;background:linear-gradient(130deg,#99183a,#6f0f2c);border-color:#8b1735}.fm-filter-row button:focus-visible{outline-color:var(--fm-gold)}.filter-item[hidden]{display:none!important}
.fm-featured-div{display:grid;grid-template-columns:34% 44% 22%;align-items:stretch;background:#faf6f1;border:1px solid #ecdccf;box-shadow:0 8px 22px rgba(38,27,25,.055);border-radius:18px;overflow:hidden;margin:21px 0}.fm-featured-div>div:first-child{padding:36px 24px}.fm-featured-div h2{font-size:34px}.fm-featured-div p{font-size:13px;color:#55565a}.fm-featured-div>div:nth-child(2)>img{height:100%;width:100%;object-fit:cover}.fm-featured-list{display:flex;flex-direction:column;justify-content:center;gap:0;padding:13px 23px}.fm-featured-list>span{padding:15px 0;border-bottom:1px solid #e2d3c8;font-size:12px;font-weight:800}.fm-featured-list>span:last-child{border-bottom:0}.fm-div-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.fm-div-card{border-radius:14px;border:1px solid #dfd2c7;background:#fff;overflow:hidden;box-shadow:0 7px 17px rgba(35,24,18,.06)}.fm-div-card img{height:160px;width:100%;object-fit:cover}.fm-div-card>div{padding:18px 18px 20px;position:relative}.fm-div-card .fm-icon{font-size:25px;position:absolute;top:16px;right:16px}.fm-div-card h3{font:800 18px/1.3 var(--fm-sans);max-width:75%;margin:0 0 8px}.fm-div-card p{font-size:12px;color:#666;max-width:310px;margin:0 0 8px}.fm-div-card b{font-size:19px;color:var(--fm-maroon)}
.fm-project-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.fm-project-listcard{border-radius:13px;overflow:hidden;border:1px solid #ded2c6;box-shadow:0 7px 16px rgba(42,29,21,.07);background:#fff}.fm-project-listcard>img{height:200px;width:100%;object-fit:cover}.fm-project-listcard>div{padding:16px 17px}.fm-project-listcard small{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#8d1733;font-weight:800}.fm-project-listcard h3{font:700 20px/1.2 var(--fm-serif);margin:9px 0}.fm-project-listcard span{font-size:12px;color:#901a37;font-weight:800}.fm-news-feature{display:grid;grid-template-columns:55% 1fr;gap:18px}.fm-news-feature>a{height:375px;border-radius:13px;position:relative;overflow:hidden;color:#fff}.fm-news-feature>a>img{width:100%;height:100%;object-fit:cover}.fm-news-feature>a>div{position:absolute;inset:auto 0 0;padding:70px 28px 28px;background:linear-gradient(transparent,rgba(31,24,33,.9))}.fm-news-feature small,.fm-news-side small{color:#eac68b;font-size:10px;font-weight:800;letter-spacing:.12em}.fm-news-feature h3{font-size:30px;line-height:1.2;margin:9px 0}.fm-news-feature span{font-size:12px;font-weight:800}.fm-news-side{display:flex;flex-direction:column;gap:14px}.fm-news-side>a{display:grid;grid-template-columns:35% 1fr;align-items:center;gap:15px;background:#fff;border:1px solid #e7d7c9;border-radius:13px;overflow:hidden;min-height:180px}.fm-news-side img{height:100%;width:100%;object-fit:cover}.fm-news-side h3{font-size:20px;margin:9px 0}.fm-news-side small{color:#a32c4b}.fm-news-side span{font-size:12px;color:#8f1437}
.fm-contact-main{display:grid;grid-template-columns:43% 1fr;align-items:center;gap:36px}.fm-contact-main p{color:#54565b;font-size:15px}.fm-email-emphasis{display:inline-flex;gap:15px;align-items:center;background:linear-gradient(120deg,#9a1737,#6b0d26);padding:15px 19px;border-radius:9px;color:#fff;font-size:14px;font-weight:800;overflow-wrap:anywhere}.fm-contact-photo img{width:100%;height:310px;object-fit:cover;border-radius:14px}.fm-career-bottom{display:flex;align-items:center;justify-content:space-between}
/* Original detail/portfolio pages retained, but brought to the approved design system */
.matched-detail .page-hero{height:390px;min-height:350px}.matched-detail .page-hero h1{font:400 clamp(38px,3.8vw,55px)/1.13 var(--fm-serif)}.matched-detail .section{padding:65px 0}.matched-detail h2{font-family:var(--fm-serif)}.matched-detail .footer-cta{background:linear-gradient(110deg,#821331,#a51c40 63%,#5f0e28)}
/* Consistent final CTA / footer across all pages */
.matched-page .footer-cta,.matched-detail .footer-cta{background:linear-gradient(110deg,#861631,#a51e42 63%,#65102c);padding:23px 0;border-bottom:3px solid #d6a354}.matched-page .footer-cta h2,.matched-detail .footer-cta h2{font-size:27px}.matched-page .footer-cta .button,.matched-detail .footer-cta .button{background:linear-gradient(120deg,#f3d397,#d6a458);color:#6e1b33;border-color:#f8dfad;border-radius:30px}.matched-page .footer,.matched-detail .footer{background:#20272f;padding-top:38px}
@media(max-width:1180px){.matched-page .shell,.matched-detail .shell{width:calc(100% - 48px)}.fm-metrics strong{font-size:21px}.fm-cap-layout{grid-template-columns:30% 1fr;gap:20px}.fm-cap-grid{gap:7px}.fm-cap{padding:13px 10px;min-height:135px}.fm-cap strong{font-size:11px}.fm-cap-intro h2{font-size:29px}.fm-home-copy{padding-top:150px}.fm-page-hero-text h1{font-size:44px}}
@media(max-width:920px){.matched-page .desktop-nav{display:none}.matched-page .mobile-toggle{display:block}.fm-home-hero{height:570px}.fm-home-copy{padding-top:170px}.fm-cap-layout{grid-template-columns:1fr}.fm-cap-grid{grid-template-columns:repeat(5,1fr)}.fm-about-home{grid-template-columns:44% 56%}.fm-about-content{padding:25px}.fm-compact-features>span{font-size:10px}.fm-project-row,.fm-sector-row{grid-template-columns:25% 1fr}.fm-project-cards .fm-photo-tile{height:180px}.fm-cert-band{grid-template-columns:1fr}.fm-cert-intro{padding:25px 35px}.fm-cert-grid{width:calc(100% - 50px)!important;margin:15px auto!important}.fm-overview-row{grid-template-columns:30% 1fr}.fm-overview-photo{grid-column:span 2}.fm-three-cards{gap:10px}.fm-featured-div{grid-template-columns:40% 60%}.fm-featured-list{grid-column:span 2;flex-direction:row;justify-content:space-evenly}.fm-div-grid{grid-template-columns:repeat(2,1fr)}.fm-client-grid{grid-template-columns:repeat(3,1fr)}.fm-news-feature{grid-template-columns:1fr}.fm-news-side{flex-direction:row}.fm-news-side>a{flex:1;grid-template-columns:1fr}.fm-news-side img{height:130px}}
@media(max-width:680px){.matched-page .shell,.matched-detail .shell{width:calc(100% - 32px)}.matched-page .header-shell,.matched-detail .header-shell{height:65px}.matched-page .brand img,.matched-detail .brand img{width:37px;height:37px}.matched-page .brand>span,.matched-detail .brand>span{font-size:15px}.matched-page .mail-link span{display:none}.fm-home-hero{height:580px}.fm-home-backdrop img{object-position:65% center}.fm-home-shade{background:linear-gradient(90deg,rgba(47,28,39,.87),rgba(55,32,47,.57) 66%,rgba(50,28,40,.24))}.fm-home-copy{padding-top:160px}.fm-home-copy h1{font-size:clamp(33px,8.1vw,47px)}.fm-home-copy>p{font-size:13px;max-width:92%}.fm-scroll-hint{left:16px;bottom:30px}.fm-metrics{grid-template-columns:repeat(2,1fr);margin-top:-23px;padding:8px}.fm-metrics>div{padding:12px 5px;border-bottom:1px solid var(--fm-line)}.fm-metrics>div:nth-child(even){border-right:0}.fm-metrics>div:nth-child(n+3){border-bottom:0}.fm-metrics strong{font-size:19px}.fm-metrics small{font-size:10px}.fm-metrics .fm-icon{font-size:25px;width:28px}.fm-sec{padding:44px 0}.fm-head{display:block}.fm-head>p{margin-top:10px}.fm-cap-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fm-cap{min-height:136px}.fm-cap-layout{gap:19px}.fm-about-home{grid-template-columns:1fr}.fm-photo-edge{height:275px;clip-path:none}.fm-photo-edge:after{display:none}.fm-about-content{padding:29px 20px}.fm-about-content h2{font-size:28px}.fm-tabs button{padding:11px 8px;font-size:11px}.fm-compact-features{flex-wrap:wrap}.fm-compact-features>span{min-width:100px}.fm-project-row,.fm-sector-row{grid-template-columns:1fr;gap:14px}.fm-project-cards{grid-template-columns:1fr 1fr}.fm-project-cards .fm-photo-tile{height:180px}.fm-project-cards .fm-photo-tile:last-child{display:none}.fm-sector-tiles{grid-template-columns:1fr 1fr}.fm-sector-tiles .fm-photo-tile{height:130px}.fm-cert-grid{grid-template-columns:repeat(2,1fr)}.fm-home-story{grid-template-columns:1fr}.fm-home-story>a{padding:19px}.fm-page-hero{height:440px}.fm-page-hero-image{left:0;opacity:.85}.fm-page-hero:after{width:100%;clip-path:none;background:linear-gradient(90deg,#f5efeb 0%,rgba(244,233,227,.97) 45%,rgba(246,237,232,.49) 100%)}.fm-page-hero.fm-hero-dark:after{background:linear-gradient(90deg,rgba(47,27,43,.98) 0%,rgba(63,30,44,.88) 60%,rgba(47,27,43,.35) 100%)}.fm-page-hero-text{padding-top:70px}.fm-page-hero-text h1{font-size:37px;max-width:95%}.fm-page-hero-text p{font-size:13px;max-width:85%}.fm-overview-row,.fm-strengths-layout,.fm-mission-outcome-row,.fm-contact-main,.fm-chairman-story,.fm-two-highlights{grid-template-columns:1fr;gap:17px}.fm-overview-photo{grid-column:auto}.fm-three-cards{grid-template-columns:1fr}.fm-three-cards article{min-height:100px}.fm-timeline{grid-template-columns:repeat(2,1fr);gap:22px}.fm-timeline:before{display:none}.fm-timeline-point{display:none}.fm-timeline>div{padding-top:4px}.fm-four-cards,.fm-mission-pillars,.fm-client-grid,.fm-project-index,.fm-div-grid,.fm-cert-mini{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fm-mission-pillars article{padding:18px}.fm-mission-pillars article:last-child{grid-column:span 2}.fm-mission-pillars h3{font-size:19px}.fm-values-line{grid-template-columns:repeat(2,1fr);gap:0}.fm-values-line>div{padding:15px 6px;border-bottom:1px solid #e5d5c3}.fm-values-line>div:nth-child(2){border-right:0}.fm-values-line>div:nth-child(n+3){border-bottom:0}.fm-mission-outcome img{height:240px}.fm-chairman-image{height:390px}.fm-chairman-copy{padding:25px}.fm-chairman-copy h2{font-size:35px}.fm-quote-band{background:linear-gradient(180deg,#861631 0%,#70182f 45%,#fff 45%)}.fm-quote-band>.shell{grid-template-columns:1fr;gap:30px}.fm-quote-band h2{font-size:30px}.fm-quote-band blockquote{font-size:19px}.fm-compact-features{min-height:120px}.fm-featured-div{grid-template-columns:1fr}.fm-featured-div>div:first-child{padding:25px}.fm-featured-div>div:nth-child(2) img{height:240px}.fm-featured-list{grid-column:1;flex-wrap:wrap}.fm-featured-list span{width:50%}.fm-news-feature>a{height:300px}.fm-news-side{flex-direction:column}.fm-news-side>a{grid-template-columns:35% 1fr}.fm-news-side img{height:150px}.fm-project-listcard img{height:130px}.fm-project-listcard h3{font-size:17px}.fm-div-card img{height:130px}.fm-div-card h3{font-size:15px}.fm-div-card p{font-size:11px}.fm-client-grid img{height:60px;width:110px}.fm-client-grid a{min-height:125px}.fm-contact-photo img{height:240px}.fm-career-bottom{display:block}.fm-career-bottom .fm-btn{margin-top:20px}.fm-head h2{font-size:30px}}
@media(max-width:410px){.fm-home-copy h1{font-size:33px}.fm-cap-grid{grid-template-columns:repeat(2,1fr)}.fm-three-cards.slim article{grid-column:span 2}.fm-partner-logo{width:145px;min-width:145px;height:80px}.fm-page-hero-text h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.fm-marquee-track{animation:none!important}}

/* final visual polish */
.fm-icon svg{width:30px;height:30px;display:block;stroke:currentColor;flex:none}
.fm-metrics .fm-icon svg{width:31px;height:31px}
.fm-cap .fm-icon svg{width:29px;height:29px}
.fm-three-cards article>.fm-icon svg{width:33px;height:33px}
.fm-values-line .fm-icon svg{width:36px;height:36px}
.fm-mission-pillars .fm-icon svg{width:36px;height:36px}
.fm-four-cards .fm-icon svg{width:38px;height:38px}
.matched-page .footer-cta h2 em,.matched-detail .footer-cta h2 em{color:#f3d398!important}
.matched-page .footer-cta h2,.matched-detail .footer-cta h2{color:#fff}
@media(min-width:681px) and (max-width:1180px){.matched-page .shell,.matched-detail .shell{width:calc(100% - 90px)}.matched-page .header-shell,.matched-detail .header-shell{width:calc(100% - 90px)}}

.fm-featured-project{display:grid;grid-template-columns:34% 47% 19%;align-items:stretch;min-height:270px;overflow:hidden;border-radius:15px;border:1px solid #e5d2c2;background:#fbf7f2;box-shadow:0 9px 23px rgba(38,27,25,.09);margin:18px 0 29px}
.fm-featured-project-copy{padding:27px;background:linear-gradient(135deg,#8b1736,#5e0e29);color:#fff}.fm-featured-project-copy h2{font-size:clamp(26px,2.5vw,35px);color:#fff}.fm-featured-project-copy h2 em{color:#f1cc8c}.fm-featured-project-copy p{font-size:12px;line-height:1.55;color:#f4e2e3}.fm-featured-project-copy .fm-eyebrow{color:#efcc91;font-size:10px}.fm-featured-project-copy .fm-btn{background:linear-gradient(130deg,#f1d3a0,#d5a258);color:#5b1530;border-color:#f6debc}
.fm-featured-project-image img{width:100%;height:100%;min-height:270px;object-fit:cover}.fm-featured-project-meta{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:22px;font-size:13px;font-weight:800;color:#6f2437}.fm-featured-project-meta span{padding-bottom:16px;border-bottom:1px solid #e0d0c2}.fm-featured-project-meta span:last-child{border:0}
@media(max-width:920px){.fm-featured-project{grid-template-columns:1fr 1fr}.fm-featured-project-meta{grid-column:span 2;flex-direction:row;min-height:70px}.fm-featured-project-meta span{border:0;padding:0}}
@media(max-width:680px){.fm-featured-project{grid-template-columns:1fr}.fm-featured-project-image img{height:240px;min-height:240px}.fm-featured-project-meta{grid-column:1;flex-wrap:wrap;font-size:11px}.fm-featured-project-copy{padding:24px}}
