/* TRANSMET WordPress extensions. Maintains the V5 visual language. */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.tm-custom-logo{width:auto;max-width:230px;max-height:55px;object-fit:contain}
.site-nav .tm-menu-items{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0}
.site-nav li{margin:0;padding:0}
.site-nav .sub-menu{display:none;position:absolute;z-index:20;list-style:none;background:#fff;box-shadow:0 10px 20px #10191c25;padding:15px 18px}
.site-nav li:hover>.sub-menu,.site-nav li:focus-within>.sub-menu{display:grid;gap:12px}
.tm-services-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tm-services-grid .service-card{min-height:355px}
.tm-link-button{border-top:0;border-left:0;border-right:0;background:transparent;padding-left:0;padding-right:0;cursor:pointer;font:inherit;font-weight:750;color:var(--blue)}
.tm-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.tm-benefits article{border:1px solid var(--line);padding:28px 25px;min-height:310px;display:flex;flex-direction:column}
.tm-benefits article>span{font-size:12px;color:var(--blue);font-weight:750;margin-bottom:37px}
.tm-benefits h3{font-size:22px;line-height:1.22;letter-spacing:-.04em;font-weight:600;margin:0 0 18px}
.tm-benefits p{font-size:14px;line-height:1.66;color:var(--muted);margin:0}
.tm-fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tm-fleet-grid .fleet-card__image{height:340px}
.tm-slider-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;font-size:13px;color:var(--muted)}
.tm-slider-controls{display:flex;gap:8px}
.tm-slider-controls button,.tm-slider-controls button:focus-visible{display:grid;place-items:center;width:45px;height:45px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:22px}
.tm-slider-controls button:hover{background:var(--blue);color:#fff}
.tm-project-carousel{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:18px;scrollbar-width:thin;scrollbar-color:#aabec8 #eef2f3}
.tm-project-card{flex:0 0 clamp(280px,32%,440px);scroll-snap-align:start;border:1px solid var(--line);background:#fff}
.tm-project-card>a{display:block;min-height:100%;color:inherit}
.tm-project-image{height:285px;overflow:hidden;background:#e8edf0}
.tm-project-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.tm-project-card:hover img{transform:scale(1.035)}
.tm-project-placeholder{display:flex;align-items:end;padding:25px;background:linear-gradient(130deg,#0c2432,#066589);color:#d7ecf4}
.tm-project-placeholder span{font-size:36px;letter-spacing:-.08em;opacity:.5;font-weight:700}
.tm-project-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:21px 25px 0;color:var(--blue);font-size:11px;text-transform:uppercase;letter-spacing:.035em;font-weight:750}
.tm-project-card h3{font-size:27px;font-weight:600;line-height:1.12;letter-spacing:-.045em;padding:0 25px;margin:17px 0}
.tm-project-card p{font-size:13px;color:var(--muted);padding:0 25px;line-height:1.7;min-height:68px;margin:0 0 12px}
.tm-project-card strong{display:flex;align-items:center;gap:12px;color:var(--blue);font-size:13px;padding:10px 25px 26px;font-weight:700}
.tm-client-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tm-client-item{height:135px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;text-align:center;padding:18px}
.tm-client-item a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.tm-client-item img{object-fit:contain;max-height:90px;max-width:90%}
.tm-client-item strong{font-size:17px;font-weight:700;line-height:1.25;letter-spacing:-.035em;color:#28424f}
.tm-references-section{padding-top:92px}
.tm-reference-details{border:1px solid var(--line);background:#fff}
.tm-reference-details summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:24px 26px;color:var(--blue);font-size:15px;font-weight:700}
.tm-reference-details summary::-webkit-details-marker{display:none}
.tm-reference-details[open] summary{border-bottom:1px solid var(--line)}
.tm-reference-details[open] summary span{transform:rotate(180deg)}
.tm-ref-controls{display:flex;align-items:center;gap:20px;padding:19px 26px;font-size:13px;color:var(--muted)}
.tm-ref-controls input{flex:1;padding:11px 12px;min-width:130px;border:1px solid var(--line)}
.tm-table-wrap{overflow-x:auto;max-height:650px;overflow-y:auto}
.tm-reference-table{border-collapse:collapse;min-width:1100px;width:100%;font-size:12px}
.tm-reference-table th{background:#eef3f5;color:#2c4855;font-weight:700;position:sticky;top:0;text-align:left;padding:17px;white-space:nowrap}
.tm-reference-table td{border-top:1px solid var(--line);padding:15px 17px;color:#52606a;line-height:1.5;vertical-align:top}
.tm-reference-table td:first-child{color:#1c3746;font-weight:700;width:17%}
.tm-reference-table td:nth-child(2){width:33%}
.tm-reference-table td:last-child{white-space:nowrap}
.tm-standard-page{min-height:55vh;padding:95px 0 120px}
.tm-page-container{max-width:1000px}
.tm-page-title{font-size:clamp(42px,6vw,82px);letter-spacing:-.06em;line-height:1.06;margin:18px 0 55px;font-weight:600}
.tm-page-body{font-size:18px;line-height:1.8;max-width:900px}
.tm-page-body p,.tm-page-body ul{margin:0 0 26px}
.tm-page-body h2{font-size:38px;letter-spacing:-.05em;line-height:1.12}
.tm-editor-section{width:min(var(--page),calc(100% - 112px));margin-inline:auto;padding:105px 0}
.tm-editor-section h2{font-size:clamp(36px,4vw,64px)}
.tm-editor-cta{background:#11191d;color:#fff;padding:55px}
.tm-editor-cta .wp-block-button__link{background:var(--blue);color:#fff;border-radius:0}
.tm-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tm-archive-card{border:1px solid var(--line);padding-bottom:22px}
.tm-archive-card img{height:230px;width:100%;object-fit:cover}
.tm-archive-card h2{padding:12px 20px 0;font-size:22px}
.tm-archive-card p{padding:0 20px;color:var(--muted);font-size:14px}
.tm-cover-noimage{background:linear-gradient(110deg,#11252e,#076c93)}
.tm-cover-noimage:after{display:none}
.tm-project-facts-band .project-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
.tm-project-facts-band .project-fact{padding:25px 18px;overflow-wrap:anywhere}
.tm-project-facts-band .project-fact strong{font-size:20px;line-height:1.3}
.tm-volume-notes{border-left:3px solid var(--blue);background:#f4f7f8;padding:19px 24px;font-size:15px;line-height:1.9;white-space:pre-line;margin:20px 0 28px}
.tm-project-video{width:100%;height:auto;aspect-ratio:16/8.4;max-height:700px;object-fit:contain;background:#11191d;display:block}
.tm-machine-intro{background:#f4f6f7;padding:75px 0 90px}
.tm-machine-intro-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:60px;align-items:center;min-height:410px}
.tm-machine-intro h1{font-size:clamp(49px,6vw,84px);letter-spacing:-.07em;line-height:1.03;font-weight:550;margin:25px 0}
.tm-machine-intro p{font-size:17px;line-height:1.7;max-width:450px;color:var(--muted);margin-bottom:26px}
.tm-machine-photo{width:100%;height:440px;object-fit:cover}
.tm-machine-content{display:grid;grid-template-columns:1.1fr .9fr;gap:90px}
.tm-machine-specs{margin-top:30px;border-top:1px solid var(--line)}
.tm-machine-specs>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid var(--line);padding:18px 0;align-items:start}
.tm-machine-specs span{color:var(--muted);font-size:13px}
.tm-machine-specs strong{font-size:14px;font-weight:600;text-align:right}
.tm-machine-description{font-size:17px;line-height:1.8;color:var(--muted);padding-top:55px}
.tm-back-link{padding-bottom:65px}
.tm-contact-details{display:grid;gap:5px}
.tm-contact-details a{color:var(--blue)}
.tm-contact-fields .form-group{margin-bottom:6px}
.tm-contact-hint{margin:0 0 18px;font-size:12px;line-height:1.5;color:#526b78}
.tm-contact-fields input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.tm-contact-fields input:invalid:not(:focus):not(:placeholder-shown){border-color:#b13838}
.tm-consent{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.65;margin:15px 0 23px;color:#43515a}
.tm-consent input{flex:0 0 auto;margin-top:4px;accent-color:var(--blue)}
.tm-consent a{color:var(--blue);text-decoration:underline}
.tm-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.tm-form-response{padding:12px 15px;margin:5px 0 17px;background:#edf6f8;border-left:3px solid #08678f;font-size:13px}
.tm-form-response.is-error{background:#ffecec;border-color:#b13838}
.tm-film-dialog{border:0;padding:0;background:#000;color:#fff;width:min(94vw,1100px);max-width:1100px;max-height:95vh;overflow:visible}
.tm-film-dialog::backdrop{background:rgba(0,0,0,.85)}
.tm-film-dialog video{width:100%;max-height:86vh;display:block}
.tm-film-close{position:absolute;z-index:2;right:0;top:-45px;background:transparent;color:#fff;border:0;font-size:32px;line-height:40px}
@media(max-width:1100px){.tm-benefits{grid-template-columns:repeat(2,1fr)}.tm-client-grid{grid-template-columns:repeat(3,1fr)}.tm-project-facts-band .project-facts{grid-template-columns:repeat(2,1fr)}.tm-archive-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:950px){.site-nav .tm-menu-items{flex-direction:column;align-items:stretch;gap:0}.site-nav li{display:block}.site-nav .sub-menu{display:block;position:static;box-shadow:none;padding:0 12px}.tm-services-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.tm-benefits,.tm-fleet-grid,.tm-services-grid,.tm-client-grid,.tm-machine-intro-grid,.tm-machine-content,.tm-archive-grid{grid-template-columns:1fr}.tm-benefits article{min-height:auto}.tm-project-card{flex-basis:min(86vw,340px)}.tm-project-image{height:240px}.tm-client-item{height:100px}.tm-editor-section{width:calc(100% - 44px);padding:55px 0}.tm-ref-controls{display:block}.tm-ref-controls input{display:block;width:100%;margin-top:8px}.tm-page-title{margin-bottom:25px}.tm-standard-page{padding:65px 0 80px}.tm-project-facts-band .project-facts{grid-template-columns:1fr}.tm-project-facts-band .project-fact{border-bottom:1px solid var(--line);padding:18px 0}.tm-machine-intro{padding:45px 0 55px}.tm-machine-photo{height:320px}.tm-machine-description{padding-top:10px}.tm-slider-controls button{height:42px;width:42px}.tm-reference-details summary{padding:18px}.tm-volume-notes{padding:16px}}
.service-card .tm-link-button{align-self:flex-start;width:auto;max-width:100%;white-space:normal;line-height:1.4}
@media(min-width:951px) and (max-width:1400px){.site-header__inner{gap:12px}.site-nav .tm-menu-items{gap:13px}}

/* Full-width custom Gutenberg page sections. */
.tm-custom-page .tm-page-top{padding:75px 0 5px}
.tm-custom-page>.wp-block-paragraph,.tm-custom-page>.wp-block-heading,.tm-custom-page>.wp-block-columns,.tm-custom-page>.wp-block-image,.tm-custom-page>.wp-block-buttons,.tm-custom-page>.wp-block-video,.tm-custom-page>.wp-block-group:not(.tm-editor-section){max-width:min(1180px,calc(100% - 44px));margin-left:auto;margin-right:auto}
.tm-custom-page>.wp-block-paragraph{font-size:17px;line-height:1.7}
.tm-custom-page .tm-contact-details{width:min(1180px,calc(100% - 44px));margin:0 auto 70px;padding:30px;background:#eef4f6}
@media(max-width:700px){.tm-custom-page .tm-page-top{padding:50px 0 0}.tm-custom-page .tm-contact-details{padding:20px}}

/* TRANSMET v1.1: preconfigured Gutenberg page compositions. */
.tm-hero-pattern{margin-bottom:50px;background-color:#112b38;color:#fff}.tm-hero-pattern .wp-block-cover__background{background-color:#112b38!important}.tm-hero-pattern h2{color:#fff}.tm-hero-pattern p{color:#e7eff3}.tm-hero-pattern .wp-block-cover__inner-container{width:min(1140px,calc(100% - 44px));margin:auto}.tm-hero-pattern h2{font-size:clamp(38px,5.2vw,74px);line-height:1.06;letter-spacing:-.055em;max-width:900px}.tm-hero-pattern p{font-size:17px;line-height:1.65;max-width:670px}.tm-hero-pattern .wp-block-button__link{border-radius:0;background:#096a90;color:#fff}.tm-custom-page .wp-block-gallery{gap:12px}.tm-custom-page .wp-block-video video{max-width:100%;height:auto;background:#141c21}.tm-optional{font-size:12px;opacity:.75;font-weight:400}
@media(max-width:700px){.tm-hero-pattern h2{font-size:clamp(32px,8vw,52px)}.tm-hero-pattern .wp-block-cover__inner-container{width:calc(100% - 30px)}}
