/* ============================================================
   Prismatech — design system (from Claude Design handoff)
   ============================================================ */
:root{
  --ink:#071634; --ink-soft:#1B2B4D; --body:#4A5876; --muted:#6E7C95;
  --line:#E8ECF3; --line2:#D8E0EC; --surface:#F1F3F7; --surface2:#E8ECF3; --white:#fff;
  --teal:#08E6B0; --blue:#0033E6; --deep:#071634; --brand:#0033E6;
  --accent:#0033E6;
  --accent-solid:#0033E6;
  --heading:#0B2472; /* navy for h1/h2/h3 */
  --shadow-sm:0 1px 2px rgba(10,42,92,.06),0 8px 24px -16px rgba(10,42,92,.18);
  --shadow-soft:0 10px 34px -14px rgba(7,22,52,.14),0 2px 8px rgba(7,22,52,.05);
  --shadow:0 30px 70px -34px rgba(10,42,92,.40);
  --maxw:1180px;
  --h-title:clamp(34px,3.4vw,56px); /* page h1 */
  --h-section:clamp(30px,3vw,48px); /* section h2 */
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Poppins',system-ui,sans-serif;color:var(--body);background:var(--white);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4{margin:0}
p{margin:0}
input,textarea,select,button{font-family:inherit}
input::placeholder,textarea::placeholder{color:#9AAAC0}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent-solid)!important;box-shadow:0 0 0 3px rgba(0,51,230,.12)}
::selection{background:rgba(0,51,230,.16)}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;border-radius:8px;font-weight:600;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s,background .2s,color .2s;font-size:15px}
.btn:active{transform:translateY(0) scale(.97)}
.btn svg{transition:transform .25s cubic-bezier(.16,1,.3,1)}
.btn:hover svg{transform:scale(1.12)}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent-solid);outline-offset:3px;border-radius:4px}
.btn svg{width:17px;height:17px}
.btn-grad{background:var(--accent);color:#fff;padding:11px 22px;box-shadow:0 8px 20px -12px rgba(10,42,92,.5)}
.btn-lg{padding:16px 30px;font-size:15.5px}
.btn-grad.btn-lg{box-shadow:0 12px 28px -14px rgba(10,42,92,.55)}
.btn-grad:hover{transform:translateY(-2px);background:#033AE2;box-shadow:0 14px 30px -14px rgba(10,42,92,.6)}
.btn-white{background:var(--accent);color:#fff;padding:16px 30px;font-size:15.5px;box-shadow:0 12px 28px -14px rgba(10,42,92,.55)}
.btn-white:hover{transform:translateY(-2px);background:#033AE2}
.btn-outline-light{border:none;color:var(--ink);background:transparent;padding:15px 28px;font-size:15.5px;font-weight:600}
.btn-outline-light:hover{color:var(--accent-solid)}
.btn-ghost{background:none;border:none;color:var(--ink);padding:15px 24px;font-size:15.5px;font-weight:600}
.btn-ghost:hover{color:var(--brand)}

/* ---------- nav ---------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;background:transparent;border-bottom:1px solid transparent;transition:background .3s,box-shadow .3s,border-color .3s,padding .3s}
.nav.scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 28px -16px rgba(10,42,92,.4);border-bottom-color:transparent}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 28px;height:72px;display:flex;align-items:center;gap:24px;transition:height .3s}
.nav.scrolled .nav-inner{height:64px}
.nav-logo{justify-self:start;display:inline-flex;align-items:center}
.nav-logo img{height:42px;width:auto;display:block}
.nav-logo .logo-solid{display:none}
.nav.scrolled .logo-hero{display:none}
.nav.scrolled .logo-solid{display:block}
.nav-links{display:flex;align-items:center;gap:32px;margin-left:auto;margin-right:auto}
.nav-link{position:relative;display:inline-flex;align-items:center;font-size:16px;font-weight:500;color:rgba(255,255,255,.85);transition:color .2s;padding:5px 0}
.nav-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.16,1,.3,1),background .3s}
.nav.scrolled .nav-link::after{background:var(--accent)}
.nav-link:hover::after,.nav-link.active::after{transform:scaleX(1)}
.nav-link:hover{color:#fff}
.nav-link.active{font-weight:600;color:#fff}
.nav.scrolled .nav-link{color:var(--body)}
.nav.scrolled .nav-link:hover{color:var(--ink)}
.nav.scrolled .nav-link.active{color:var(--ink)}
.nav-right{display:flex;align-items:center;gap:14px;flex-shrink:0;justify-self:end}
.burger{display:none;width:42px;height:42px;border:0;background:none;cursor:pointer;align-items:center;justify-content:center;color:#fff}
.nav.scrolled .burger{color:var(--ink)}
/* full-screen white panel below the header, fades in (Polaris pattern) */
.mobile-menu{position:fixed;top:72px;right:0;bottom:0;left:0;z-index:999;display:flex;flex-direction:column;padding:15px 25px;background:#fff;overflow-y:auto;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.nav.scrolled+.mobile-menu{top:64px}
.mobile-menu.open{opacity:1;visibility:visible}
.mobile-menu a{display:flex;align-items:center;justify-content:space-between;color:var(--ink);font-weight:600;font-size:15px;line-height:28px;padding:16px 0;transition:color .3s ease-in-out}
.mobile-menu a[aria-current="page"]{color:var(--accent-solid)}
.mobile-menu a.mm-contact{justify-content:center;background:var(--accent);color:#fff;border-radius:8px;margin-top:18px;padding:14px}
.mobile-menu a.mm-contact:active{background:#033AE2}
@media(min-width:901px){.mobile-menu{display:none}}

/* ---------- sections ---------- */
.section{padding:90px 28px}
.section-sm{padding:84px 28px}
.bg-surface{background:#fff}
.bg-white{background:#fff}
.dark{position:relative;overflow:hidden;color:var(--body);background:#fff}

/* eyebrow */
.eyebrow{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:16px}
.eyebrow span.bar{width:26px;height:2px;background:var(--brand)}
.eyebrow span.txt{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--brand)}
.eyebrow.center{justify-content:center}
.eyebrow.light span.bar{background:var(--brand)}
.eyebrow.light span.txt{color:var(--brand)}

/* headings */
.h2{font-size:var(--h-section);line-height:1.2;font-weight:600;letter-spacing:-.8px;color:var(--heading);text-align:center}
.dark .h2{color:var(--heading)}
.lead{font-size:18px;line-height:1.6;color:var(--body);text-align:center}
.dark .lead{color:var(--body)}
.sec-head{max-width:1100px;margin-left:auto;margin-right:auto;text-align:center}
.sec-head.center{margin:0 auto 44px;text-align:center}
.sec-head .h2{margin-bottom:16px}

/* ---------- grids ---------- */
.grid{display:grid;gap:20px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:1fr 1fr}

.gap-md{gap:18px}
.mt-44{margin-top:44px}

/* ---------- cards ---------- */
.card{padding:24px;text-align:center}

.card-flat{padding:24px;text-align:center}

.icon-tile{width:50px;height:50px;border-radius:8px;background:transparent;display:flex;align-items:center;justify-content:center;color:var(--accent-solid);margin:0 auto 20px;transition:transform .35s cubic-bezier(.16,1,.3,1),background .35s,color .35s}
.card:hover .icon-tile,.card-flat:hover .icon-tile{transform:scale(1.08)}

.icon-tile svg{width:24px;height:24px}
.icon-tile.white{background:transparent;width:46px;height:46px;border-radius:8px;margin:0 auto 18px}
.icon-tile.white svg{width:22px;height:22px}
.card h3{font-size:20px;font-weight:600;color:var(--heading);margin-bottom:9px;letter-spacing:-.2px}
.card p{font-size:15px;line-height:1.6;color:var(--muted)}
.cap-label{font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.cap-val{font-size:22px;font-weight:600;letter-spacing:-.4px;color:var(--ink);margin-bottom:8px}
.cap-val.sm{font-size:21px}
.card-flat p{font-size:14px;line-height:1.6;color:var(--muted)}

/* ---------- page hero (dark) ---------- */
.page-hero{position:relative;overflow:hidden;height:70vh;min-height:500px;display:flex;align-items:center;justify-content:center;padding:100px 28px 36px;background-color:#071634;background-image:none;background-position:center;background-repeat:no-repeat}
.page-hero .inner{position:relative;z-index:2;max-width:820px;margin:0 auto;text-align:center}

.page-hero h1{font-size:clamp(34px,3.4vw,56px);line-height:1.2;font-weight:600;letter-spacing:-1px;color:#fff;margin-bottom:20px}
.page-hero p{font-size:clamp(16px,1.5vw,20px);line-height:1.6;color:rgba(255,255,255,.92);max-width:640px;margin:0 auto}

/* ---------- home hero ---------- */
.home-hero{position:relative;overflow:hidden;height:70vh;min-height:500px;display:flex;align-items:center;justify-content:center;padding:100px 28px 36px;background-color:#071634;background-image:none;background-position:center;background-repeat:no-repeat}
.home-hero .inner{position:relative;z-index:2;max-width:920px;margin:0 auto;text-align:center}
.home-hero h1{font-size:var(--h-title);line-height:1.2;font-weight:600;letter-spacing:-1px;color:#fff;margin-bottom:22px}

.home-hero .sub{font-size:clamp(16px,1.5vw,20px);line-height:1.6;color:rgba(255,255,255,.92);max-width:660px;margin:0 auto 14px}
.home-hero .tag{font-size:14px;font-weight:500;letter-spacing:.3px;color:rgba(255,255,255,.92);margin-bottom:36px}
.hero-ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* stat bar */

/* marquee */
.marquee{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.marquee-track{display:flex;gap:18px;width:max-content;animation:ptMarq 60s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.client-tile{width:200px;height:86px;flex-shrink:0;background:transparent;display:flex;align-items:center;justify-content:center;padding:18px 24px}
.client-tile img{height:40px;width:auto;max-width:100%;object-fit:contain}
.clients-label{text-align:center;font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin:0 0 26px}

/* process steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:46px}
.step{padding:24px 22px;text-align:center}
.step .n{width:42px;height:42px;border-radius:8px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;margin:0 auto 18px}
.step .step-t{font-size:16.5px;font-weight:600;color:var(--heading);margin-bottom:9px;letter-spacing:-.2px}
.step p{font-size:13.8px;line-height:1.6;color:var(--muted)}

/* split */
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.split.story{grid-template-columns:1.05fr .95fr}
.photo{border-radius:14px;overflow:hidden;box-shadow:var(--shadow-soft)}
.photo img,.photo video{width:100%;object-fit:cover;display:block}
/* About intro video: cinematic crop on desktop, full 16:9 frame once narrow */
.about-video{height:460px}
@media(max-width:860px){.about-video{height:auto;aspect-ratio:16/9}}

/* why list */

/* materials table */
.mat-table{background:transparent;overflow:hidden;margin-top:40px}
.mat-row{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:32px;padding:26px 0;align-items:start;text-align:center}
.mat-cat{font-size:18px;font-weight:600;color:var(--ink);letter-spacing:-.3px;margin-bottom:5px}
.mat-cat-d{font-size:13.5px;color:var(--muted);line-height:1.5}
.mat-h{font-size:11px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin-bottom:7px}
.mat-mats{font-size:15px;font-weight:600;color:var(--ink)}
.mat-apps{font-size:15px;color:var(--body);line-height:1.5}
.mat-note{margin-top:18px;display:flex;gap:12px;align-items:center;justify-content:center;padding:18px 0;text-align:center}

/* ---------- spec matrix ---------- */
.spec-wrap{max-width:760px;margin:44px auto 0;overflow:hidden;background:transparent}
.spec-table{width:100%;border-collapse:collapse;font-size:15px}
.spec-table th{width:50%;text-align:left;padding:15px 28px 15px 0;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.spec-table td{padding:15px 0 15px 28px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;text-align:left}
@media(max-width:560px){.spec-table th{width:50%;padding:12px 12px 12px 0;font-size:11.5px}.spec-table td{padding:12px 0 12px 12px;font-size:13.5px}}
.mat-note svg{flex-shrink:0;margin-top:1px}
.mat-note p{font-size:14.5px;line-height:1.6;color:var(--body)}

/* cta band */
.cta{position:relative;overflow:hidden;padding:96px 28px;background:#fff}
.cta .inner{position:relative;max-width:1000px;margin:0 auto;text-align:center}
.cta h2{font-size:var(--h-section);line-height:1.2;font-weight:600;letter-spacing:-1px;color:var(--heading);margin-bottom:16px}
.cta p{font-size:17px;line-height:1.65;color:var(--body);margin:0 auto 32px;max-width:520px}
.cta .inner .ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* timeline */
.timeline{max-width:760px;margin:44px auto 0}
.tl-item{position:relative;padding:0 0 30px 40px}
.tl-item:last-child{padding-bottom:0}
.tl-item::before{content:"";position:absolute;left:-9px;top:2px;width:16px;height:16px;border-radius:50%;background:var(--accent)}
.tl-year{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-solid);margin-bottom:5px}
.tl-item h4{font-size:17px;font-weight:600;color:var(--heading);margin-bottom:5px}
.tl-item p{font-size:14.5px;line-height:1.6;color:var(--muted)}

/* gallery */
.gallery{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px;height:340px}
.gallery>div{border-radius:12px;overflow:hidden;box-shadow:var(--shadow-soft)}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery.gallery-2{grid-template-columns:1fr 1fr}
.gallery.gallery-2>div{position:relative}
.gallery.gallery-2>div::after{content:"";position:absolute;inset:0;background:rgba(11,36,114,.18);pointer-events:none}
@media(max-width:860px){.gallery.gallery-2{grid-template-columns:1fr}}

/* prose (blog) */
.prose{max-width:calc(var(--maxw) - 56px);margin:0 auto;font-size:16.5px;line-height:1.78;color:var(--body)}
.prose h2{font-size:clamp(22px,2.6vw,30px);font-weight:600;color:var(--heading);letter-spacing:-.5px;margin:38px 0 14px}
.prose h3{font-size:19px;font-weight:600;color:var(--heading);margin:28px 0 10px}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px}
.prose li{margin-bottom:8px}
.prose a{color:var(--brand);font-weight:600}
.prose strong{color:var(--ink)}
.prose table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14.5px}
.prose th,.prose td{padding:11px 14px;text-align:left;vertical-align:top}
.prose th{color:var(--ink);font-weight:600}
.prose .callout{padding:16px 0;margin:0 0 22px;font-size:15px;line-height:1.6;color:var(--body)}
.prose .callout strong{color:var(--ink)}
.prose img{border-radius:10px;margin:10px 0 22px}
.prose h2:first-child,.prose h3:first-child{margin-top:0}

/* blog cards */

/* feature list (checkmarks) */

/* footer */
.footer{background:#f6f6f8;color:var(--body);padding:72px 0 30px;border-top:1px solid var(--line)}
.footer-grid{max-width:var(--maxw);margin:0 auto;padding:0 28px;display:grid;grid-template-columns:repeat(4,auto);justify-content:space-between;gap:44px}
/* footer columns sized to their content and spread edge to edge (2026-09-10): the old
   fr tracks left the short Legal column with a wide empty band on the right. Now the
   first and last columns sit flush with the same edges as the header logo and CTA. */

.footer .social{display:flex;gap:18px;margin-top:22px}
.footer .social span,.footer .social a{display:inline-flex;color:var(--muted);cursor:default;transition:color .2s,transform .2s}
.footer .social a{cursor:pointer}
.footer .social span:hover,.footer .social a:hover{transform:translateY(-2px)}
.footer .social .so-youtube:hover{color:#FF0000}
.footer .social .so-linkedin:hover{color:#0A66C2}
.footer .social .so-x:hover{color:#0F1419}
.footer .social svg{width:22px;height:22px}
.footer h4{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--heading);margin-bottom:16px}
.footer .fcol{display:flex;flex-direction:column;gap:11px}
.footer .fcol a,.footer .fcol span{font-size:14px;color:var(--body);line-height:1.55}
.footer .fcol a:hover{color:var(--accent-solid)}
.footer-bottom{max-width:var(--maxw);margin:48px auto 0;padding:24px 28px 0;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:44px;font-size:13px;color:var(--muted)}
.foot-copy{grid-column:1/2}

.foot-copy{justify-self:start;text-align:left}

.form-consent{display:flex;gap:11px;align-items:flex-start;font-size:12.5px;line-height:1.55;color:var(--muted);cursor:pointer}
.form-consent input{width:18px;height:18px;margin:1px 0 0;flex-shrink:0;accent-color:var(--accent-solid);cursor:pointer}
.form-consent a{color:var(--brand);font-weight:600}

/* contact */

.form-card{display:flex;flex-direction:column;padding:0}
.form-card form{display:flex;flex-direction:column;gap:16px;flex:1}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:7px}
.field input,.field select,.field textarea{width:100%;padding:13px 15px;border:1px solid var(--line2);border-radius:8px;font-size:14.5px;color:var(--ink);transition:border-color .2s,box-shadow .2s}
.field textarea{min-height:130px;resize:vertical}
.field select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2374859B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right 15px center}
.field select:invalid{color:#9AAAC0}
.field .file-label{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--line2);border-radius:8px;cursor:pointer;background:#fff;transition:border-color .2s}
.file-label [data-filetext]{margin-bottom:0}
.file-label .fl-ic{width:34px;height:34px;border-radius:6px;background:var(--surface2);display:flex;align-items:center;justify-content:center;color:var(--accent-solid);flex-shrink:0}
.file-hint{font-size:11.5px;color:var(--muted);margin-top:7px}
.form-submit{margin-top:auto;align-self:flex-start;width:auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--accent);color:#fff;font-size:15px;font-weight:600;padding:11px 28px;border:none;border-radius:8px;cursor:pointer;box-shadow:0 10px 24px -14px rgba(10,42,92,.55);transition:background .2s}
.form-submit:hover{background:#033AE2}
.form-submit svg{width:18px;height:18px;flex-shrink:0}
.form-success{display:none;flex-direction:column;align-items:center;text-align:center;padding:30px 10px}
.form-success .fs-ic{width:64px;height:64px;border-radius:50%;background:rgba(0,51,230,.1);display:flex;align-items:center;justify-content:center;color:var(--brand);margin-bottom:18px}
.form-success h3{font-size:21px;font-weight:600;color:var(--heading);margin-bottom:10px}
.form-success p{font-size:15px;line-height:1.65;color:var(--muted);max-width:380px}
.map-embed{position:relative;border-radius:14px;overflow:hidden;box-shadow:var(--shadow-soft);height:400px;background:var(--surface)}
.map-embed iframe{width:100%;height:100%;border:0;display:block;filter:grayscale(.2)}
.map-actions{display:flex;justify-content:center;margin-top:24px}

.direct-card{text-align:center;max-width:760px;margin:0 auto;padding:24px 0}
.direct-card h2{font-size:var(--h-section);line-height:1.2;font-weight:600;color:var(--heading);letter-spacing:-.8px;margin-bottom:12px}
.direct-card p{font-size:15.5px;line-height:1.6;color:var(--body);max-width:540px;margin:0 auto 28px}
.direct-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn-wa{background:#25D366;color:#fff;padding:16px 28px;font-size:15.5px;box-shadow:0 12px 28px -12px rgba(37,211,102,.7)}
.btn-wa svg{width:23px;height:23px}
.btn-wa:hover{background:#20bd5a;transform:translateY(-2px)}

/* whatsapp float */
.wa-float{position:fixed;bottom:24px;right:24px;width:56px;height:56px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px -8px rgba(37,211,102,.7);z-index:900;transition:transform .25s}
.wa-float:hover{transform:scale(1.1)}
.wa-float svg{width:30px;height:30px;fill:#fff}

/* back to top */
.to-top{position:fixed;right:24px;bottom:92px;width:48px;height:48px;border-radius:50%;background:#fff;border:0;color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 28px -10px rgba(10,42,92,.4);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s,visibility .25s,transform .25s,background .2s,color .2s;z-index:899}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--accent);color:#fff}
.to-top svg{width:22px;height:22px}

/* portfolio */
.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 36px}
.why-card{background:#fff;padding:32px 28px;text-align:center}
.why-card .why-num{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:8px;background:var(--accent);color:#fff;font-weight:600;font-size:15px;margin:0 auto 16px}
.why-card h3{font-size:18px;font-weight:600;color:var(--heading);margin-bottom:9px}
.why-card p{font-size:14.5px;line-height:1.62;color:var(--muted)}
.filter-tab{font-size:13.5px;font-weight:600;color:var(--body);background:transparent;border:none;border-radius:8px;padding:9px 18px;cursor:pointer;transition:all .2s}
.filter-tab:hover{color:var(--accent-solid)}
.filter-tab.active{background:var(--accent);color:#fff}
.pf-card{transition:transform .25s}
.pf-card:hover{transform:translateY(-4px)}

.pf-card h3{font-size:16px;font-weight:600;color:var(--heading);margin-bottom:4px}

.pf-card p{font-size:13.5px;line-height:1.6;color:var(--muted)}
.pf-card.hide{display:none}

/* reveal */
[data-reveal]{opacity:0;transform:translateY(26px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
[data-reveal].in{opacity:1;transform:none}
.card[data-reveal].in,.card-flat[data-reveal].in{transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s,border-color .35s,background .35s}

/* animations */
@keyframes ptMarq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .nav-links,.nav-right .btn{display:none}
  .burger{display:flex}
  .nav-inner{display:flex;justify-content:space-between}
  /* Mobile logo: started from polarisgrids.com's width (22px tall = their 96px at
     375px), then scaled 1.5x to 33px on request - about 144px wide. */
  .nav-logo img{height:33px;width:auto;max-width:none}
  .grid-4{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  
}
@media(max-width:860px){
  .split,.split.story{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:1fr;height:auto}
  .gallery>div{height:220px}
  
}
@media(max-width:700px){
  .grid-2{grid-template-columns:1fr}
  .mat-row{grid-template-columns:1fr;gap:14px}
}
@media(max-width:560px){
  .form-submit{align-self:stretch;width:100%}
  .section,.section-sm,.cta,.page-hero{padding-left:20px;padding-right:20px}
  .grid-4,.grid-3,.steps{grid-template-columns:1fr}

  .footer-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .home-hero,.page-hero{height:auto;min-height:500px;padding:88px 20px 44px;display:flex;align-items:center;justify-content:center}
  .home-hero .inner{width:100%}
  .home-hero h1{font-size:32px;line-height:1.12;letter-spacing:-.7px;margin-bottom:14px}
  .home-hero .sub{margin-bottom:12px}
  .home-hero .tag{margin-bottom:22px}
  
  .hero-ctas{flex-direction:column;gap:12px}
  .hero-ctas .btn{width:100%;justify-content:center}
  .nav-inner{padding:0 20px}
  .footer-grid,.footer-bottom{padding-left:20px;padding-right:20px}
  .footer-bottom{grid-template-columns:1fr;justify-items:center;text-align:center;gap:12px}
  .foot-copy{grid-column:auto;white-space:normal}
  .foot-copy{justify-self:center;text-align:center}
  
}
@media(prefers-reduced-motion:reduce){*{animation:none!important}[data-reveal]{opacity:1;transform:none}}

/* ---------- careers ---------- */

.page-intro .card{background:transparent;box-shadow:none}
.page-intro .card:hover{transform:none;box-shadow:none}

.job-list{display:flex;flex-direction:column;gap:18px;max-width:880px;margin:0 auto}
.job-card{padding:26px 0;text-align:left}
.job-head h3{font-size:20px;font-weight:600;color:var(--heading);margin-bottom:8px}
.job-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.job-meta-item{font-size:12px;font-weight:600;color:var(--body);padding:4px 0}
.job-summary{font-size:15px;line-height:1.6;color:var(--body);margin-bottom:14px}
.job-facts{display:flex;gap:32px;flex-wrap:wrap;margin-bottom:14px}
.job-facts .jf-k{display:block;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.job-facts .jf-v{font-size:14.5px;font-weight:600;color:var(--ink)}
.job-resp{margin:0 0 18px;padding-left:20px}
.job-resp li{font-size:14px;line-height:1.7;color:var(--body)}
.empty-state{max-width:640px;margin:0 auto;text-align:center;padding:24px 0}
.empty-state h3{font-size:20px;font-weight:600;color:var(--heading);margin-bottom:10px}
.empty-state p{font-size:15px;line-height:1.65;color:var(--body);margin-bottom:22px}
.visually-hidden-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.file-label{position:relative}
.file-label:focus-within{border-color:var(--accent-solid);outline:2px solid var(--accent-solid);outline-offset:2px}
.file-remove{margin-top:8px;background:none;border:1px solid var(--line2);border-radius:6px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--body);cursor:pointer;font-family:inherit}
.file-remove:hover{border-color:#C33;color:#C33}
.field-error,.form-error{font-size:13.5px;color:#C0302F;margin:8px 0 0}
.form-error{margin-bottom:12px}
@media(min-width:901px) and (max-width:1120px){.nav-links{gap:22px}.nav-link{font-size:15px}.nav-logo img{height:37px;width:auto}}

@media(max-width:560px){.job-facts{gap:16px}}

/* ---------- dropdown navigation ---------- */
.nav-item{position:relative;display:flex;align-items:center}
.drop-btn{background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding-top:4px}
.drop-btn .chev{width:12px;height:12px;flex-shrink:0;transition:transform .2s ease,color .3s;color:#fff}
.nav.scrolled .drop-btn .chev{color:var(--accent-solid)}
.nav-item.open .drop-btn .chev{transform:rotate(180deg)}
.nav-dd{position:absolute;top:100%;left:50%;min-width:250px;background:#fff;border:0;border-radius:12px;box-shadow:0 24px 52px -22px rgba(7,22,52,.32),0 2px 8px rgba(7,22,52,.06);padding:10px;opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:1200}
.nav-dd::before{content:"";position:absolute;top:-16px;left:0;right:0;height:16px}
.nav-item.open .nav-dd{opacity:1;visibility:visible;transform:translate(-50%,12px)}

.dd-link{display:flex;align-items:center;padding:10px 14px;border-radius:8px;font-size:14.5px;font-weight:500;color:var(--body);transition:background .15s,color .15s,padding-left .15s}
.dd-link:hover,.dd-link:focus-visible{background:transparent;color:var(--accent-solid);padding-left:18px}
.nav-item:last-child .nav-dd{left:auto;right:-8px;transform:translate(0,6px)}
.nav-item:last-child.open .nav-dd{transform:translate(0,12px)}
@media(max-width:1240px){
  .nav-item:nth-last-child(2) .nav-dd{left:auto;right:-60px;transform:translate(0,6px)}
  .nav-item:nth-last-child(2).open .nav-dd{transform:translate(0,12px)}
}
@media(prefers-reduced-motion:reduce){.nav-dd,.drop-btn .chev{transition:none}}

/* ---------- mobile accordion menu ---------- */
.mm-group{border-bottom:0}

.mm-head{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);padding:13px 0;text-align:left}
.mm-head .chev{width:13px;height:13px;color:var(--accent-solid);transition:transform .2s ease;flex-shrink:0}
.mm-group.open .mm-head .chev{transform:rotate(180deg)}
.mm-sub{display:none;flex-direction:column;padding:0 0 10px 14px}
.mm-group.open .mm-sub{display:flex}
.mobile-menu .mm-sub a{font-size:14px;font-weight:500;color:var(--body);padding:9px 0;border-bottom:0}
.mobile-menu .mm-sub a:active{color:var(--accent-solid)}
body.menu-open{overflow:hidden}

/* ---------- contact hero (light, split) ---------- */
.contact-hero{background:#fff;padding:72px 0 0;min-height:500px;height:70vh;display:flex;align-items:center}

@media(max-width:860px){
  .contact-hero{height:auto;min-height:0;padding:120px 0 30px}
  
  
  
  
  
  
}

/* ---------- large-screen scaling ---------- */
@media(min-width:1500px){
  :root{--maxw:1360px}
  .home-hero .inner{max-width:1020px}
  
  .sec-head{max-width:820px}
  .spec-wrap{max-width:820px}
}
@media(min-width:1800px){
  :root{--maxw:1520px}
  .home-hero .inner{max-width:1100px}
  
}

/* ---------- careers immersive hero (image band, heading below) ---------- */
.career-hero{position:relative;height:64vh;min-height:400px;max-height:680px;padding:72px 20px 0;background:#fff;overflow:hidden}
.career-hero-img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.page-intro{background:#fff;padding:clamp(48px,4.5vw,64px) 24px clamp(56px,5vw,80px);text-align:center}
.page-intro-inner{max-width:1100px;margin:0 auto}
.page-intro h1{font-size:var(--h-title);line-height:1.2;font-weight:600;letter-spacing:-1px;color:var(--heading);margin-bottom:18px}
.page-intro p{font-size:clamp(16px,1.5vw,19px);line-height:1.65;color:var(--body);max-width:900px;margin:0 auto}
@media(max-width:700px){.career-hero{height:auto;min-height:0;max-height:none;padding:88px 16px 8px}.career-hero-img{height:auto;max-height:52vh}}

/* ---------- home photo hero band (Sartech pattern) ---------- */
.photo-hero{position:relative;margin-top:65px;height:56vh;min-height:380px;max-height:620px;overflow:hidden;background:#fff}
.photo-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(11,36,114,.35),rgba(11,36,114,.45));pointer-events:none}
.photo-hero-img{width:100%;height:100%;object-fit:cover;object-position:center 36%;display:block}
/* text-only hero (no photo band) — legal, blog and landing pages */
/* text-only heroes take exactly the block an illustrated hero (.career-hero) takes, heading centred in it */
.page-intro.text-hero{height:64vh;min-height:400px;max-height:680px;padding:72px 24px 0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
@media(max-width:700px){.page-intro.text-hero{height:auto;min-height:0;max-height:none;padding:118px 20px 44px}}

.page-intro h1{margin-bottom:16px}
@media(max-width:700px){.photo-hero{margin-top:65px;height:40vh;min-height:260px}}
/* phones: zoom the home photo onto the operator and the part */
@media(max-width:700px){.photo-hero-img{transform:scale(1.64);transform-origin:58% 36%}}

/* ===== POLARIS-SIMPLE FOOTER (2026-09-10) =====
   Column one: logo, then address / phone / email, ISO, socials. Services,
   Company and Legal columns follow; the bottom bar is the copyright only.
   Light footer (2026-09-10), modelled on the Sartech site: #f6f6f8 ground with a
   hairline top edge so it reads as its own region instead of white running into
   white; navy headings, slate text, brand-blue hover, coloured logo. */
.footer .fcontact p{margin:0;font-size:14px;line-height:1.6;color:var(--body);max-width:300px}

.footer .fcontact a{color:var(--body);transition:color .2s}
.footer .fcontact a:hover{color:var(--accent-solid)}

.footer-bottom{display:block}

/* footer contact block without its Address / Phone / Email labels (removed on request 2026-09-10) */
.footer .fcontact p + p{margin-top:10px}

/* footer: ISO line removed and copyright centred on request (2026-09-10) */
.footer-bottom{text-align:center}
.footer-bottom .foot-copy{display:inline}
.footer-bottom{border-top:1px solid #e3e4e8}

/* Services dropdown (2026-09-14): the trigger is a real link to services.html */
.nav-link.drop-btn{padding:5px 0}
.mm-head{padding:16px 0;line-height:28px}
.mm-head[aria-current]{color:var(--accent-solid)}

/* Services page: seven-step process, materials lists, explore links (2026-09-14) */
/* Four across, with the remaining three centred underneath (2026-10-03, was 7 across). */
.steps.steps-7{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 10px}
.steps.steps-7>.step{flex:0 0 calc((100% - 30px)/4)}
.steps-7 .step{padding:20px 8px}
@media(max-width:900px){.steps.steps-7>.step{flex-basis:calc((100% - 10px)/2)}}
@media(max-width:560px){.steps.steps-7>.step{flex-basis:100%}}
.mat-cols{gap:72px}
.mat-cols h3{font-size:19px;font-weight:600;color:var(--heading);margin-bottom:14px;text-align:center}

@media(max-width:700px){.mat-cols{grid-template-columns:1fr}}
.more-link{color:var(--accent-solid);font-weight:600;font-size:14.5px}
.prose [id]{scroll-margin-top:100px}

/* Material selection tool */
.mst{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.mst-progress{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--brand);margin-bottom:10px}
.mst-bar{height:4px;background:#E8ECF3;border-radius:4px;overflow:hidden;margin-bottom:28px}
.mst-bar span{display:block;height:100%;background:var(--accent);transition:width .3s}
.mst-q{font-size:clamp(22px,2.6vw,30px);font-weight:600;color:var(--heading);letter-spacing:-.4px;margin-bottom:8px;outline:none}
.mst-hint{color:var(--muted);font-size:15px;margin-bottom:22px}
.mst-opts{display:grid;gap:12px;margin-bottom:18px}
.mst-opt{display:block;width:100%;text-align:left;background:var(--surface);border:0;border-radius:10px;padding:16px 18px;font-size:15.5px;font-weight:500;color:var(--ink);cursor:pointer;transition:background .2s,color .2s}
.mst-opt:hover,.mst-opt.on{background:#E8EEFF;color:var(--accent-solid)}
.mst-back{padding-left:0}
.mst-res{display:grid;gap:30px;margin:8px 0 26px}
.mst-rank{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--brand);margin-bottom:6px}
.mst-card h3{font-size:21px;font-weight:600;color:var(--heading);margin-bottom:10px}
.mst-card ul{margin:0 0 10px;padding-left:20px;font-size:15px;line-height:1.7}
.mst-watch{font-size:14.5px;color:var(--muted);margin-bottom:8px}
.mst-watch strong{color:var(--ink)}
.mst-note{font-size:14px;color:var(--muted);margin-bottom:22px}
.mst-actions{justify-content:flex-start}

/* Services: materials laid out as two-column tables, no borders or header row (2026-09-14) */
.mat-cols > div{align-self:start}
.mat-table{width:auto;margin:0 auto;border-collapse:collapse;font-size:15px}
.mat-table th,.mat-table td{padding:12px 16px;text-align:left;vertical-align:top}
.mat-table th{font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--heading);background:#fff}
.mat-table td:first-child{padding-right:56px}
.mat-table a{color:var(--ink);font-weight:600}
.mat-table a:hover{color:var(--accent-solid)}
.mat-table td:last-child{color:var(--muted)}
@media(max-width:700px){.mat-table{font-size:14px}.mat-table th,.mat-table td{padding:10px 12px}}

/* mobile menu: Services word is a link, the arrow alone toggles the list (2026-09-14) */
.mm-row{display:flex;align-items:center;justify-content:space-between}
.mobile-menu .mm-row a.mm-link{flex:1}
.mm-row .mm-head{width:48px;height:48px;padding:0;justify-content:center;flex:0 0 48px;margin-right:-12px}

/* Portfolio cards are text-only while photos are gathered (2026-09-14) */

/* Blog index: posts stacked one under another, full width (2026-09-14) */

/* DFM page: report excerpts grid (2026-09-14) */
.dfm-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px 28px;margin:26px 0 40px}
.dfm-grid figure{margin:0}
.dfm-grid img{width:100%;height:auto;border-radius:10px;margin:0 0 12px;display:block}
.dfm-grid figcaption{font-size:14.5px;line-height:1.6;color:var(--muted)}
.dfm-grid figcaption strong{color:var(--ink)}
@media(max-width:700px){.dfm-grid{grid-template-columns:1fr;gap:28px}}

/* Article pages: "Related Resources" links as a proper list (2026-09-14) */
.prose .related{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.prose .related h3{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--heading)}
.prose .related ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px}
.prose .related li{margin:0}
.prose .related a{font-weight:600;color:var(--brand)}

/* Materials page: "Choosing the right plastic" picker (2026-09-14) */
.mat-pick{margin:34px 0 44px;border-radius:14px;overflow:hidden;background:var(--surface)}
.mp-head{background:var(--heading);color:#fff;text-align:center;padding:26px 24px 22px}
.mp-head h3{color:#fff;margin:0 0 6px;font-size:24px}
.mp-head p{color:#90E8F8;margin:0;font-size:16px}
.mp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:22px 22px 24px}
.mp-card{display:flex;align-items:center;gap:16px;background:#fff;border-radius:10px;padding:18px 18px}
.mp-ic{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--surface);color:var(--heading);display:flex;align-items:center;justify-content:center}
.mp-ic svg{width:26px;height:26px}
.mp-t{font-weight:600;color:var(--ink);font-size:16.5px;margin-bottom:4px}
.mp-m{color:var(--brand);font-weight:600;font-size:15px}

@media(max-width:900px){.mp-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.mp-grid{grid-template-columns:1fr;padding:16px}}

/* Materials page: the nine plastics as a 3x3 card grid (2026-09-14) */
.prose .mat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:26px 0 40px}
.prose .mat-card{background:var(--surface);border-radius:12px;padding:24px 22px}
.prose .mat-card h3{margin:0 0 10px;font-size:18px}
.prose .mat-card p{font-size:15px;line-height:1.65;margin:0 0 12px}
.prose .mat-card p:last-child{margin-bottom:0}
@media(max-width:1000px){.prose .mat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.prose .mat-grid{grid-template-columns:1fr}}

/* FAQ accordions: click a question to reveal the answer (2026-09-14) */
.prose details.faq{border-top:1px solid var(--line);margin:0}
.prose details.faq:last-of-type{border-bottom:1px solid var(--line);margin-bottom:28px}
.prose details.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-size:17.5px;font-weight:600;color:var(--heading)}
.prose details.faq summary::-webkit-details-marker{display:none}
.prose details.faq summary::after{content:"";flex:0 0 12px;width:12px;height:12px;border-right:2px solid var(--accent-solid);border-bottom:2px solid var(--accent-solid);transform:rotate(45deg);transition:transform .2s;margin-right:4px}
.prose details.faq[open] summary::after{transform:rotate(-135deg)}
.prose details.faq summary:hover{color:var(--accent-solid)}
.prose details.faq .faq-a{padding:0 0 18px}
.prose details.faq .faq-a p:last-child{margin-bottom:0}

/* Centre an incomplete last row in a 3-up card grid (2026-09-14).
   Used by the Services explore grids and the About page "Why Prismatech?" five-card grid. */
.grid.explore-grid{display:flex;flex-wrap:wrap;justify-content:center}
.grid.explore-grid>.card{flex:0 0 calc((100% - 40px)/3)}
@media(max-width:900px){.grid.explore-grid>.card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:560px){.grid.explore-grid>.card{flex-basis:100%}}

/* Glossary: jump-to index and anchored term headings (2026-09-14) */

.prose h3[id]{scroll-margin-top:100px}

/* Glossary: terms as cards, same look as the material cards, rows left-aligned (2026-09-14) */
.prose .term-grid{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:20px;margin:22px 0 38px}
.prose .term-grid>.mat-card{flex:0 0 calc((100% - 40px)/3);box-sizing:border-box}
.prose .term-grid .mat-card h3{margin:0 0 10px;font-size:18px}
.prose .term-grid .mat-card p{font-size:15px;line-height:1.65;margin:0 0 10px}
.prose .term-grid .mat-card p:last-child{margin-bottom:0}
@media(max-width:1000px){.prose .term-grid>.mat-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:640px){.prose .term-grid>.mat-card{flex-basis:100%}}

/* Portfolio grid: centre an incomplete last row, like the other card grids (2026-09-14) */

/* ONE card spec on every page (user rule 2026-09-14): the Services card.
   30px padding, 50px icon tile with a 24px icon, 19px title, 14.5px text. !important beats old inline styles. */
.card,.card-flat,.why-card{padding:30px !important;text-align:center}
.card .icon-tile,.card-flat .icon-tile,.card .icon-tile.white,.card-flat .icon-tile.white{width:50px !important;height:50px !important;margin:0 auto 20px !important}
.card .icon-tile svg,.card-flat .icon-tile svg{width:24px !important;height:24px !important}
.card h3,.card-flat h3,.why-card h3{font-size:19px !important;font-weight:600 !important;line-height:1.3 !important;margin:0 0 10px !important;color:var(--heading)}
.card p,.card-flat p,.why-card p{font-size:14.5px !important;line-height:1.65 !important;color:var(--muted) !important}

/* ===== FORMS: endpoint, errors, spam trap, Turnstile (ported from Sartech, 2026-09-14) ===== */
.hp-field{position:absolute !important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.field.has-error input,.field.has-error select,.field.has-error textarea,.field.has-error .file-label{border-color:#C0302F}
.form-consent + .form-error{margin:-6px 0 0 29px}
.form-alert{font-size:14px;line-height:1.55;color:#C0302F;margin:0}
.form-alert a{color:var(--brand);font-weight:600}
.form-status{font-size:14px;color:var(--muted);margin:0}
.form-alert:empty,.form-status:empty{display:none}
.form-submit:disabled{opacity:.6;cursor:default}
.ta-box{position:relative;display:block}
.field.has-counter textarea{padding-bottom:32px}
.char-count{position:absolute;right:22px;bottom:11px;font-size:12px;line-height:1;color:var(--muted);background:#fff;padding:2px 4px;pointer-events:none}
.char-count.is-near{color:#b45309}
.char-count.is-full{color:#b42318}
/* the invisible widget adds no space in the 16px-gap form column; a shown challenge gets normal spacing */
.form-card .cf-turnstile{margin-top:-16px}
.form-card .cf-turnstile.is-shown{margin-top:0}

/* 404: buttons sit under the text inside the hero; Contact uses the Home hero's ghost button (like See Capabilities) */
.e404-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:32px}

/* near-square client marks (JVVNL, Indotech) sit taller than the 40px wordmarks */
.client-tile.tall{padding-block:14px}
.client-tile.tall img{height:54px}

/* ===== Portfolio gallery (2026-09-15): photo tiles, layout pattern like moldrite.in ===== */
.pf-gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.pf-gallery>.pf-tile{flex:0 0 calc((100% - 40px)/3)}
.pf-tile{position:relative;margin:0;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:#fff;cursor:default;outline:none}  /* no fill: the site's cards are plain white */
.pf-tile img{width:100%;height:100%;object-fit:contain;padding:30px;box-sizing:border-box;transition:transform .5s}
.pf-tile:hover img,.pf-tile:focus-visible img{transform:scale(1.05)}
.pf-over{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:22px 24px;text-align:left;background:linear-gradient(transparent 45%,rgba(10,42,92,.9));opacity:0;transition:opacity .3s}
.pf-tile:hover .pf-over,.pf-tile:focus-visible .pf-over{opacity:1}
.pf-tile:focus-visible{box-shadow:0 0 0 3px rgba(0,51,230,.35)}
.pf-over h3{font-size:17px;font-weight:600;line-height:1.3;color:#fff;margin:0 0 3px}
.pf-over p{font-size:13px;line-height:1.55;color:rgba(255,255,255,.82);margin:6px 0 0}
.pf-over p.pf-cat{font-size:12.5px;color:rgba(255,255,255,.6);margin:0}
@media(hover:none){.pf-over{opacity:1}}
@media(max-width:900px){.pf-gallery>.pf-tile{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:560px){.pf-gallery>.pf-tile{flex-basis:100%}}

/* note under the portfolio gallery (custom-mold offer) */
.pf-note{display:none;margin-top:36px;max-width:820px;margin-left:auto;margin-right:auto}  /* shown only on its tab (data-show-for) */
.pf-note.show{display:flex}
.pf-note svg{color:var(--accent-solid)}

/* Electrical Components page: real parts from our portfolio, under "What We Make" */
.prose .ec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 24px;margin:30px 0 10px}
.prose .ec-grid figure{margin:0;text-align:center}
.prose .ec-grid img{display:block;width:100%;height:240px;object-fit:contain;margin:0 0 12px;border-radius:0;box-shadow:none}
.prose .ec-grid figcaption{font-size:14.5px;font-weight:600;line-height:1.4;color:var(--ink)}
.prose .ec-more{text-align:center;margin:18px 0 8px}
@media(max-width:700px){.prose .ec-grid{grid-template-columns:1fr 1fr;gap:24px 16px}.prose .ec-grid img{height:170px}}
/* single photo under a "What We Make" sub-heading on the Electrical page */
.prose .ec-fig{margin:22px 0 34px;text-align:center}
.prose .ec-fig img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;margin:0 auto;border-radius:0;box-shadow:none}  /* full column width, height from the width/height attributes, tall photos capped and fitted */
@media(max-width:700px){.prose .ec-fig img{max-height:300px}}
/* terminal block photo at half the column width (user request); full width on phones, where half would be too small to read */
@media(min-width:701px){.prose .ec-fig.ec-half img{width:50%}}
/* small parts (brass-insert block): half of the half-width photos on desktop, half width on phones */
.prose .ec-fig.ec-small img{width:25%}
@media(max-width:700px){.prose .ec-fig.ec-small img{width:50%}}
/* two small parts side by side (push button + meter optical cover), same height; the fixed height plus the width/height attributes size them before they load */
.prose .ec-fig.ec-pair{display:flex;justify-content:center;align-items:center;gap:48px;flex-wrap:wrap}
.prose .ec-fig.ec-pair img{width:auto;height:220px;max-height:none;max-width:45%;margin:0}  /* margin 0: the base auto margins would push the pair apart */
@media(max-width:700px){.prose .ec-fig.ec-pair{gap:24px}.prose .ec-fig.ec-pair img{height:150px}}

/* Material entries and glossary terms sit plainly on white (grey fill removed 2026-09-19 on request) */
.prose .mat-grid>.mat-card,.prose .term-grid>.mat-card{background:transparent;border-radius:0;padding:0}
.prose .mat-grid{gap:30px 26px}
.prose .term-grid{gap:30px 20px}
/* "Choosing the Right Plastic" picker: no grey panel, no white cards, no grey icon discs (2026-09-19) */
.mat-pick{background:transparent;overflow:visible}
.mp-head{border-radius:14px}
.mp-grid{padding:22px 0 0}
.mp-card{background:transparent;border-radius:0;padding:6px 0}
.mp-ic{background:transparent}
@media(max-width:560px){.mp-grid{padding:18px 0 0}}
