/* Tripearltech Business Central v3 · layout and evidence improvements */
:root{--bc-header-height:76px}
.site-header{isolation:isolate}
.nav-row{min-height:var(--bc-header-height);gap:15px;flex-wrap:nowrap}
.site-header .brand{width:181px;max-width:181px;min-width:181px;flex:0 0 181px;min-height:59px;display:flex;align-items:center;justify-content:flex-start;overflow:visible;position:relative}
.site-header .brand img{display:block;width:181px;max-width:100%;height:auto;max-height:59px;object-fit:contain;object-position:left center}
.brand-fallback{font:700 22px/1.2 Manrope,sans-serif;color:var(--deep)}
.brand-fallback:not([hidden]){display:block}
.header-label{margin:0;padding:0 0 0 14px;border-left:1px solid var(--line);flex:0 0 167px;max-width:167px;min-width:0;white-space:normal;line-height:1.25;letter-spacing:0;color:var(--deep)}
.header-label .header-label-top{display:block;font-size:9px;letter-spacing:.75px;font-weight:700;color:var(--muted)}
.header-label strong{display:block;font:700 14px/1.3 Manrope,sans-serif;color:var(--deep);margin-top:3px;letter-spacing:-.02em}
.nav-links{min-width:0;gap:13px}.nav-links>a:not(.btn){font-size:11.5px}.nav-cta{font-size:12px;padding:11px 13px;gap:10px}
/* The first screen contains the complete headline, actions and product display. */
.hero.section{padding:34px 0 30px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:36px;align-items:center}
.hero-content{padding-right:0;min-width:0}
.hero-content .eyebrow{font-size:10.5px;letter-spacing:1.35px;line-height:1.5;margin-bottom:18px}
.hero h1{font-size:clamp(37px,4.0vw,57px);line-height:1.12;letter-spacing:-.045em;margin-bottom:17px;max-width:620px}
.hero-lead{font-size:16px;line-height:1.58;margin-bottom:21px;max-width:580px;color:#485448}
.hero-actions{gap:18px}.hero-actions .btn{padding:13px 18px}.hero-actions .text-link{gap:8px}
.hero-foot{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:9px;margin-top:27px;padding-top:17px}
.hero-foot>span{color:var(--deep);background:var(--sage);border:1px solid #d2decc;border-radius:18px;padding:7px 11px;font-size:11px;line-height:1.25;font-weight:600}
.hero-visual{max-width:none;background:var(--paper);padding:12px;border:1px solid var(--line);border-radius:18px;box-shadow:0 17px 42px rgba(19,57,36,.07);overflow:visible}
.visual-top{display:flex;justify-content:flex-start;align-items:center;gap:12px;padding:2px 3px 11px;letter-spacing:0}
.visual-top .visual-icon{flex:0 0 41px;width:41px;height:41px;border-radius:9px;padding:7px}
.visual-top strong{display:block;font:700 12px/1.4 Manrope,sans-serif;color:var(--deep)}
.visual-top small{display:block;font:500 11px/1.4 'DM Sans',sans-serif;color:var(--muted);margin-top:2px}
.bc-mockup{margin:0;padding:0;display:block;min-height:0;position:static;overflow:visible;border:0;background:transparent;border-radius:0}
.bc-device{position:relative;width:100%;margin:0;max-width:none;transform:none;border:1px solid #d6dfd3;border-radius:11px;background:#fff;overflow:hidden;box-shadow:none}
.bc-device-bar{height:25px;padding:0 10px;font-size:9px;line-height:1.1;background:#f1f5f0;color:#4f5e52}
.bc-device-screen{background:#fff;min-height:0;line-height:0}
.bc-screen-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.bc-mockup-caption{position:static;display:block;margin:9px 3px 0;color:#5d6a5c;text-shadow:none;font-size:10.5px;font-weight:500;line-height:1.45;letter-spacing:0}
.visual-bottom{padding:10px 3px 2px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;font-size:10px;line-height:1.45;letter-spacing:0;text-transform:none}
.visual-bottom a{font-size:10.5px;white-space:normal;text-align:left}
.bc-screen-fallback{min-height:260px}
/* Six logos readable, never cropped or color-filtered. */
.client-section{padding:46px 0 42px}
.client-heading{gap:36px;margin-bottom:23px}.client-heading .eyebrow{margin-bottom:12px}
.client-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.client-logo{min-height:166px;display:flex;flex-direction:column;justify-content:space-between;gap:10px;background:#fff;padding:20px 16px 14px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.client-logo-media{width:100%;min-height:105px;display:flex;align-items:center;justify-content:center}
.client-logo-media img{display:block;width:100%;max-width:272px;height:105px;max-height:none;object-fit:contain;object-position:center;filter:none}
.client-logo figcaption{color:var(--deep);font-size:12px;font-weight:700;line-height:1.4}
.client-logo-fallback:not([hidden]){display:block;font:700 17px/1.35 Manrope,sans-serif;color:var(--deep);text-align:center}
.clients-bottom{line-height:1.6}
/* Two genuine company-published Business Central project descriptions. */
.published-projects{padding-top:76px;padding-bottom:76px}
.projects-intro{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:end;gap:55px;margin-bottom:29px}
.projects-intro .eyebrow{margin-bottom:15px}.projects-intro h2{margin-bottom:0;max-width:690px}
.projects-intro>p{font-size:15px;line-height:1.7;color:var(--muted);margin:0}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:29px;min-width:0;display:flex;flex-direction:column;gap:20px;box-shadow:0 9px 24px rgba(16,43,32,.035)}
.project-heading{display:grid;grid-template-columns:158px minmax(0,1fr);gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px}
.project-logo{display:flex;align-items:center;justify-content:center;min-height:113px;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:13px}
.project-logo img{width:100%;height:89px;max-width:190px;object-fit:contain;filter:none}
.project-logo-fallback:not([hidden]){display:block;text-align:center;font:700 16px/1.4 Manrope,sans-serif;color:var(--deep)}
.project-type{display:block;color:var(--green);font-weight:800;font-size:10px;letter-spacing:1.25px;line-height:1.5;margin-bottom:8px}
.project-heading h3{font-size:22px;letter-spacing:-.035em;line-height:1.25;margin:0 0 5px}
.project-heading p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}
.project-details{display:grid;gap:13px}.project-details>div{border-left:2px solid #cadacf;padding-left:14px}
.project-details h4{font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:1px;color:var(--deep);text-transform:uppercase;margin:0 0 4px}
.project-details p{color:#535f55;font-size:13.5px;line-height:1.65;margin:0}
.project-link{display:inline-flex;align-self:flex-start;font-size:13px;color:var(--green);border-bottom:1px solid var(--green);font-weight:800;margin-top:auto;padding-bottom:4px}
.project-link:hover{text-decoration:none;color:var(--deep)}
.project-note{display:flex;align-items:center;gap:18px;background:var(--sage);border-radius:14px;margin-top:16px;padding:20px 22px}
.project-note strong{color:var(--deep);flex:0 0 170px;font-size:14px;line-height:1.4}
.project-note span{font-size:12px;line-height:1.6;color:#4d6256;flex:1}
.project-note .btn{white-space:normal;gap:8px;flex:0 0 auto;padding:11px 14px}
/* Footer: exact aspect-ratio logo, generous brand column and link hit areas. */
.enterprise-footer{background:#102b20}
.enterprise-footer-main{display:grid;grid-template-columns:minmax(0,1.55fr) repeat(3,minmax(0,1fr));gap:30px}
.enterprise-footer .footer-brand-col{min-width:0}
.enterprise-footer .footer-brand{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;width:220px;min-height:73px;padding:11px 14px;margin:0 0 17px;border-radius:9px;background:var(--cream);overflow:hidden}
.enterprise-footer .footer-brand img{display:block;width:100%;max-width:190px;height:auto;max-height:58px;object-fit:contain;object-position:center}
.footer-brand-fallback:not([hidden]){display:block;font:800 21px/1.2 Manrope,sans-serif;color:var(--deep)}
.enterprise-footer .footer-column>a{min-height:23px}
.enterprise-footer .footer-bottom nav{display:flex;flex-wrap:wrap;gap:19px}
@media (max-width:1320px){
 .nav-links{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100svh - 76px);overflow:auto;background:var(--cream);padding:17px 30px 23px;box-shadow:0 15px 25px #163a2b18;flex-direction:column;align-items:stretch;gap:9px}
 .nav-links.open{display:flex}.nav-links>a:not(.btn){padding:7px 0;font-size:13px}.nav-links .nav-cta{justify-content:center;margin-top:4px}
 .menu-toggle{display:block;margin-left:auto}.header-label{display:block}
}
@media(max-width:1150px){
 .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
 .hero h1{font-size:clamp(35px,4.25vw,49px)}
 .hero-visual{padding:10px}.hero-foot{margin-top:18px}
 .enterprise-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .hero-grid{grid-template-columns:1fr;gap:25px}.hero.section{padding:43px 0 44px}
 .hero h1{max-width:740px}.hero-visual{max-width:690px;width:100%}
 .projects-intro{grid-template-columns:1fr;gap:10px}.project-grid{grid-template-columns:1fr}
 .project-note{flex-wrap:wrap}.project-note strong{flex:1 1 100%}
 .client-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
 .client-logo{min-height:150px;padding:13px 8px}.client-logo-media{min-height:90px}.client-logo-media img{height:90px}
}
@media(max-width:600px){
 .site-header .nav-row{min-height:67px;gap:9px}.site-header .brand{width:128px;min-width:128px;max-width:128px;min-height:50px;flex-basis:128px}.site-header .brand img{width:128px;max-height:49px}
 .header-label{flex:1 1 auto;max-width:none;min-width:0;padding-left:9px}.header-label .header-label-top{font-size:8px;letter-spacing:.1px}.header-label strong{font-size:11px;line-height:1.3}
 .menu-toggle{font-size:12px;white-space:nowrap;padding:8px}
 .hero.section{padding:30px 0 38px}.hero h1{font-size:clamp(34px,9.1vw,45px)}.hero-lead{font-size:15px;line-height:1.62;margin-bottom:22px}
 .hero-content .eyebrow{font-size:9px;margin-bottom:12px}
 .hero-actions{gap:18px}.hero-actions .btn{white-space:normal}.hero-foot{margin-top:23px;padding-top:13px}.hero-foot>span{font-size:10px;padding:6px 9px}
 .hero-visual{padding:10px}.visual-top .visual-icon{width:34px;height:34px;flex-basis:34px;padding:5px}.visual-top strong{font-size:11px}.visual-top small{font-size:10px}
 .bc-device-bar{height:22px;font-size:8px}.bc-mockup-caption{font-size:10px}.visual-bottom{font-size:10px;gap:8px}
 .client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .client-logo{min-height:143px;padding:10px 8px}.client-logo-media{min-height:90px}.client-logo-media img{height:90px}.client-logo figcaption{font-size:11px}
 .published-projects{padding-block:54px}.project-card{padding:20px}.project-heading{grid-template-columns:112px minmax(0,1fr);gap:13px}.project-logo{min-height:91px;padding:6px}.project-logo img{height:75px}.project-heading h3{font-size:18px}.project-type{font-size:9px}
 .project-note{padding:18px}.project-note .btn{width:100%}
 .enterprise-footer .footer-brand{width:210px;min-height:70px}.enterprise-footer .footer-brand img{max-width:181px}
 .enterprise-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.enterprise-footer .footer-column{min-width:0}
}
@media(max-width:390px){
 .site-header .brand{width:111px;min-width:111px;max-width:111px;flex-basis:111px}.site-header .brand img{width:111px}.header-label .header-label-top{font-size:7px}.header-label strong{font-size:10px}
 .client-logo-media img{height:82px}.project-heading{grid-template-columns:1fr}.project-logo{width:180px;max-width:100%}
 .enterprise-footer-main{grid-template-columns:1fr}.enterprise-footer .footer-brand-col,.enterprise-footer .footer-column:nth-child(4){grid-column:auto}
}
@media(prefers-reduced-motion:reduce){.project-card,.client-logo,.btn{transition:none!important}}
/* Asset areas display an honest text fallback until authentic images load. */
.tpt-bc-js .brand img:not(.asset-ready),
.tpt-bc-js .footer-brand img:not(.asset-ready),
.tpt-bc-js .client-logo img:not(.asset-ready),
.tpt-bc-js .project-logo img:not(.asset-ready),
.tpt-bc-js .bc-screen-image:not(.asset-ready){display:none}
.bc-screen-fallback:not([hidden]){display:flex;min-height:290px}
.form-message[data-state="error"]{color:#a33b31;font-weight:700}
.form-message[data-state="success"]{color:var(--green);font-weight:700}
