/* Requested refinement pass. Existing photos, backgrounds and typography are preserved. */
:root{--header-height:160px;--light:var(--accent)}
header{height:160px;grid-template-columns:330px minmax(0,1fr) auto;transition:height .35s ease,grid-template-columns .35s ease,box-shadow .35s ease}
header .brand{width:100%;transition:width .35s ease}
header .brand-descriptor{max-height:40px;opacity:1;overflow:hidden;transition:max-height .35s ease,opacity .2s ease}
header.scrolled{height:70px;grid-template-columns:190px minmax(0,1fr) auto}
header.scrolled .brand-descriptor{max-height:0;opacity:0;gap:0}
header.scrolled .brand{gap:0}
header.scrolled nav{top:70px;max-height:calc(100dvh - 70px)}
html{scroll-padding-top:86px}
.hero-base{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.action-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 22px;border:1px solid transparent;border-radius:4px;text-decoration:none;font-family:'DM Sans',Arial,sans-serif;font-size:1rem;font-weight:600;line-height:1.4;text-align:center;transition:background .2s,color .2s,border-color .2s}
.action-primary{background:var(--blue);color:#fff}
.action-primary:hover{background:#294d87}
.action-outline{border-color:#fff;color:#fff;background:transparent}
.action-outline:hover{background:#fff;color:var(--ink)}
.indicators{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;border-top:1px solid var(--line);padding-top:32px;margin-top:64px}
.indicator{display:flex;flex-direction:column;gap:8px}
.indicator strong{font-family:'Space Grotesk','Manrope',Arial,sans-serif;font-weight:500;font-size:clamp(3rem,4vw,4.5rem);line-height:1;color:var(--blue);font-variant-numeric:tabular-nums}
.indicator span{font-size:1rem;line-height:1.5;max-width:24ch}
.expertise .section-label>span:first-child:before,.metrology-copy>.eyebrow{background-color:transparent;color:var(--accent)}
.expertise .section-label>span:first-child:before{background-color:var(--accent)}
/* Single frame: crop the baked caption, retain its portrait artwork, then show live text. */
.team-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 28px;max-width:1124px}
.team-roster .team-profile:nth-child(n){grid-column:auto;grid-row:auto;max-width:260px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.team-roster .team-profile:first-child{grid-column:1 / -1;grid-row:1;max-width:284px}
.team-card-art{aspect-ratio:900 / 860}
.team-card-portrait-zoom,.team-card-portrait-original,.team-card-portrait-smile{top:23.6046512%}
.team-card-art>img.team-card-name-correction{display:none}
.team-profile .team-profile-info{padding:2px 0 0}
.team-profile .team-name-accessible{position:static;display:block;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip-path:none;white-space:normal;min-height:0;font-size:20px;font-weight:600;line-height:1.3;color:#fff}
.team-profile .team-role{margin-top:8px;color:#eaf2fc;font-size:15px;line-height:1.5}
.team-profile[data-member="jonathan"] .team-role{font-size:14px}
.team-profile .team-education{font-size:14px;color:#c5d4e5;margin-top:10px;padding-top:10px}
.team-connections,.team-connections-layer{display:none}
.contact-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}
.contact-form{margin-top:32px;display:flex;flex-direction:column;gap:18px;max-width:640px}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-size:1rem;font-weight:500;color:#fff;min-width:0}
.contact-form input:not([type="checkbox"]),.contact-form select,.contact-form textarea{display:block;width:100%;min-width:0;min-height:48px;border:1px solid #b9cdf3;border-radius:4px;padding:10px 12px;background:#fff;color:var(--ink);font:inherit;font-size:1rem;line-height:1.5}
.contact-form textarea{resize:vertical;min-height:130px}
.contact-form input:focus-visible,.contact-form select:focus-visible,.contact-form textarea:focus-visible{outline:3px solid #fff;outline-offset:3px}
.contact-form .privacy-consent{flex-direction:row;gap:12px;align-items:flex-start;font-weight:400}
.privacy-consent input{width:20px;height:20px;flex-shrink:0;margin:3px 0 0;accent-color:var(--ink)}
.privacy-consent a{text-underline-offset:4px}
.contact-form .action-button{align-self:flex-start;min-width:130px}
.action-button:disabled{opacity:.7;cursor:not-allowed}
.contact-form .form-status{color:#fff;font-size:.9375rem;line-height:1.5;margin:0}
.contact-details .whatsapp-button{margin-top:24px}
.whatsapp-button{background:#fff;color:#294d87;border-color:#fff}
.whatsapp-button:hover:not(:disabled){background:#e7efff;border-color:#e7efff}
.whatsapp-button svg,.social-link svg{width:22px;height:22px;flex-shrink:0}
.whatsapp-floating{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;width:56px;height:56px;background:var(--blue);border:2px solid #fff;border-radius:50%;color:#fff;box-shadow:0 5px 22px #0005;z-index:15}
.whatsapp-floating svg{width:30px;height:30px}
.whatsapp-floating:hover{background:#294d87}
.site-footer{display:block;padding-block:52px 30px;color:#c5d0df;font-size:.9rem;line-height:1.6}
.footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1.05fr 1.35fr;gap:clamp(28px,3vw,48px);align-items:start}
.footer-grid>*{min-width:0}
.footer-logo{display:block;width:min(90%,225px);filter:brightness(0) invert(1);margin-bottom:5px}
.footer-logo .brand-wordmark img{position:absolute;width:111.387%;max-width:none;height:auto;left:-5.736%;top:-22.526%}
.footer-brand p{font-family:'Space Grotesk','Manrope',Arial,sans-serif;font-size:8.5227px;font-weight:500;line-height:1.3;letter-spacing:.105em;width:min(90%,225px);max-width:225px;text-align:right;container-type:inline-size;display:flex;flex-direction:column;gap:1.36px}
.social-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:12px;color:#fff;text-decoration:none}
.footer-column h3{font-family:'DM Sans',Arial,sans-serif;font-size:.9rem;line-height:1.5;font-weight:600;letter-spacing:0;color:#fff;margin-bottom:14px}
.footer-column ul{list-style:none;padding:0;margin:0}
.footer-column a{display:block;width:fit-content;max-width:100%;padding:5px 0;text-decoration:none;overflow-wrap:anywhere}
.footer-column a:hover,.footer-bottom a:hover{text-decoration:underline;text-underline-offset:4px;color:#fff}
.footer-column address{font:inherit;margin:8px 0 0}
.footer-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:16px 32px;border-top:1px solid #ffffff24;margin-top:34px;padding-top:24px;font-size:.7875rem;line-height:1.6;padding-right:60px}
.footer-bottom a{flex-shrink:0}
.privacy-page{background:#f2f5f8}
.privacy-header{position:static;height:auto;display:flex;justify-content:space-between;padding:24px max(6vw,calc((100% - 1100px)/2));gap:24px}
.privacy-header a{font-weight:600;text-decoration:none}
.privacy-content{max-width:1100px;margin:0 auto;padding:64px 6vw 80px}
.privacy-content h1{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:24px}
.privacy-content h2{font-size:1.4rem;letter-spacing:-.02em;margin:32px 0 12px;color:var(--blue)}
.privacy-content p,.privacy-content li{max-width:75ch;margin-top:12px}
.privacy-content ul{padding-left:22px}
@media(max-width:1280px){
 :root{--header-height:124px}
 header{height:124px;grid-template-columns:minmax(0,1fr) auto}
 header .brand{width:286px;max-width:100%}
 header.scrolled{height:70px;grid-template-columns:minmax(0,1fr) auto}
 header.scrolled .brand{width:185px}
 .footer-grid{gap:24px}
}
@media(max-width:1000px){
 .team-roster{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;gap:40px 28px}
 .team-roster .team-profile:nth-child(n){grid-column:auto;grid-row:auto}
 .team-roster .team-profile:first-child{grid-column:1 / -1;grid-row:1}
 .contact-grid{grid-template-columns:minmax(0,1fr);gap:40px}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:700px){
 :root{--header-height:104px}
 header{height:104px;display:flex;padding:8px 14px;gap:10px}
 header .brand{width:188px;max-width:calc(100% - 124px)}
 header.scrolled .brand{width:170px;max-width:calc(100% - 124px)}
 .header-controls{gap:8px}
 .hero-actions{width:100%;flex-direction:column;align-items:stretch;gap:12px}
 .hero-actions .action-button{width:100%}
 .hero-base{gap:22px}
 .indicators{gap:24px;grid-template-columns:minmax(0,1fr);margin-top:40px;padding-top:24px}
 .indicator{flex-direction:row;align-items:center;gap:20px}
 .indicator strong{font-size:3rem;min-width:1.1ch}
 .indicator span{max-width:25ch}
 .team-roster{grid-template-columns:minmax(0,1fr);max-width:260px;gap:40px;margin-top:40px}
 .team-roster .team-profile:nth-child(n){grid-column:1;grid-row:auto;max-width:260px}
 .team-profile .team-profile-info{padding:2px 0 0}
 .form-row{grid-template-columns:minmax(0,1fr)}
 .contact-form{gap:18px}
 .contact-details .contact-email,.contact-details .phone{font-size:1.125rem}
 .footer-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .site-footer{padding-block:40px 30px}
 .footer-bottom{padding-right:62px}
 .whatsapp-floating{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:54px;height:54px}
 .privacy-header{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){header,header .brand,header .brand-descriptor{transition:none}}

/* The policy page uses a static header at every breakpoint. */
header.privacy-header{position:static;height:auto;display:flex;grid-template-columns:none;padding:24px max(6vw,calc((100% - 1100px)/2))}

/* Center the final three profiles within the four-card desktop grid. */
@media(min-width:1001px){
 .team-roster{grid-template-columns:repeat(8,minmax(0,1fr))}
 .team-roster .team-profile:nth-child(n){grid-column:span 2;grid-row:auto}
 .team-roster .team-profile:first-child{grid-column:1 / -1;grid-row:1}
 .team-roster .team-profile:nth-child(6){grid-column:2 / span 2;grid-row:3}
 .team-roster .team-profile:nth-child(7){grid-column:4 / span 2;grid-row:3}
 .team-roster .team-profile:nth-child(8){grid-column:6 / span 2;grid-row:3}
}

/* Scale the footer descriptor to the same text/wordmark ratio as the expanded header. */
.footer-brand p br{display:none}
.footer-brand p span{font-size:3.787879cqi}
@media(max-width:1280px){.footer-brand p{font-size:9.4406px;letter-spacing:.085em;gap:1.57px}.footer-brand p span{font-size:4.195804cqi}}
@media(max-width:700px){.footer-brand p{font-size:13.1649px;line-height:1.25;letter-spacing:.035em;gap:1.2px}.footer-brand p span{font-size:5.851064cqi}}
@media(min-width:2200px){.footer-brand p{font-size:9.5455px}.footer-brand p span{font-size:4.242424cqi}}
