/* Upbeat Catering - one design system for the Team landing and its homepage preview. */
.upt-team-page,.upt-team-teaser{--upt-ink:#17284d;--upt-blue:#264990;--upt-soft:#f2f6fd;--upt-line:#e1e9f3;--upt-muted:#5e6e88;color:var(--upt-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.65}
.upt-team-page *,.upt-team-teaser *{box-sizing:border-box}
.upt-team-page img,.upt-team-teaser img{max-width:100%;display:block}
.upt-team-page figure,.upt-team-teaser figure{margin:0}
.upt-team-page a,.upt-team-teaser a{text-decoration:none}
.upt-team-page h1,.upt-team-page h2,.upt-team-page h3,.upt-team-teaser h2,.upt-team-teaser h3{margin:0;color:var(--upt-ink)}
.upt-team-page p,.upt-team-teaser p{margin-top:0}
.upt-team-page [id],.upt-team-teaser [id]{scroll-margin-top:135px}
.upt-team-page a:focus-visible,.upt-team-teaser a:focus-visible,.upt-team-page video:focus-visible{outline:3px solid #7da5eb;outline-offset:3px}
.upt-team-shell{width:min(1250px,calc(100% - 64px));margin-inline:auto}
.upt-team-eyebrow{font-size:12px;line-height:1.5;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#2b528f;margin:0 0 18px}
.upt-team-page h1,.upt-team-page h2,.upt-team-teaser h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.upt-team-page h2{font-size:clamp(31px,3.4vw,48px)}
.upt-team-action{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:49px;padding:12px 22px;border-radius:999px;background:#193965;color:#fff!important;font-size:14px;font-weight:730;line-height:1.3;box-shadow:0 8px 22px #132c5620;transition:background .18s ease,transform .18s ease}
.upt-team-action:hover{background:#28509a;transform:translateY(-2px)}
.upt-team-page .upt-team-hero{padding:46px 0 48px;background:linear-gradient(125deg,#f6f8fd 0%,#fff 57%,#f4f8fc 100%)}
.upt-team-hero-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(28px,5vw,75px)}
.upt-team-hero-copy{padding:24px 0}
.upt-team-page h1{font-size:clamp(43px,5vw,74px);margin:0 0 22px}
.upt-team-lead{font-size:clamp(18px,1.65vw,22px);line-height:1.55;font-weight:580;color:#243d60;margin:0 0 20px}
.upt-team-intro{color:#576a84;font-size:16px;line-height:1.85;max-width:550px;margin-bottom:28px}
.upt-team-hero-visual{position:relative;min-width:0;width:min(100%,410px);height:auto;aspect-ratio:3/4;justify-self:center;border-radius:27px;overflow:hidden;background:#dde6ef}
.upt-team-hero-visual img{width:100%;height:100%;object-fit:contain;object-position:center}
.upt-team-hero-label{position:absolute;bottom:17px;left:18px;color:#fff;font-size:12px;font-weight:700;padding:8px 14px;background:#152d49ba;border-radius:99px}
.upt-team-gallery{padding-top:76px;padding-bottom:84px}
.upt-team-section-head{max-width:780px;margin:0 0 32px}
.upt-team-section-head .upt-team-eyebrow{margin-bottom:12px}
.upt-team-section-head>p:last-child{color:var(--upt-muted);font-size:16px;margin:15px 0 0;line-height:1.8}
.upt-team-section-head--center{text-align:center;margin-inline:auto}
.upt-team-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}
.upt-team-photo-grid figure{align-self:start;border:1px solid var(--upt-line);border-radius:19px;overflow:hidden;background:#f1f4fa;position:relative;min-width:0}
.upt-team-photo-grid img{width:100%;height:auto;object-fit:contain;object-position:center}
.upt-team-photo-grid .upt-team-photo--portrait-fit img{aspect-ratio:9/16;object-fit:cover;object-position:center}
.upt-team-photo-grid figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 13px;background:linear-gradient(transparent,#0d2337ac);color:#fff;font-size:13px;font-weight:700;line-height:1.4}
.upt-team-roles{background:linear-gradient(180deg,#f8faff,#f2f6fb);padding:78px 0 87px}
.upt-team-roles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.upt-team-role{min-width:0;background:#fff;border:1px solid var(--upt-line);border-radius:19px;padding:25px 23px 26px;box-shadow:0 7px 24px #183a6110}
.upt-team-role-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#e9f0fa;color:#1e457b;margin:0 0 22px}
.upt-team-role-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.upt-team-role h3{font-size:17px;line-height:1.35;font-weight:750;letter-spacing:-.02em;margin:0 0 10px}
.upt-team-role p{font-size:14px;color:var(--upt-muted);line-height:1.7;margin:0}
.upt-team-videos{padding-top:88px;padding-bottom:90px}
.upt-team-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:900px;margin-inline:auto}
.upt-team-video-grid figure{border:1px solid var(--upt-line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 9px 24px #183a6110}
.upt-team-video-frame{position:relative;aspect-ratio:3/4;background:#101b2a;display:grid;place-items:center;overflow:hidden}
.upt-team-video-frame video{width:100%;height:100%;display:block;object-fit:contain;background:#101b2a}
.upt-team-video-play{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;gap:11px;max-width:calc(100% - 28px);padding:14px 19px;border:1px solid #ffffff59;border-radius:999px;background:#122f57ed;color:#fff;box-shadow:0 10px 25px #0000004d;font:750 14px/1.3 Inter,system-ui,-apple-system,sans-serif;cursor:pointer}
.upt-team-video-play svg{display:block;flex-shrink:0;width:21px;height:21px;fill:currentColor}
.upt-team-video-play[hidden]{display:none!important}
.upt-team-video-play:hover{background:#244b8b}
.upt-team-video-play:focus-visible{outline:3px solid #b6d1ff;outline-offset:4px}
@media(max-width:720px){.upt-team-video-play{padding:13px 17px;font-size:13px}}
.upt-team-video-frame img{width:100%;height:100%;display:block;object-fit:contain;background:#edf3fa}
.upt-team-video-grid figcaption{padding:16px 20px 19px;display:grid;gap:4px}
.upt-team-video-grid figcaption strong{font-size:16px;color:var(--upt-ink)}
.upt-team-video-grid figcaption span{color:var(--upt-muted);font-size:13px}
.upt-team-cta{padding:0 0 85px}
.upt-team-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;background:linear-gradient(115deg,#eef4fb 0%,#e9f0fa 65%,#dfeaf6 100%);border:1px solid #d9e5f5;border-radius:26px;padding:38px clamp(25px,4vw,58px)}
.upt-team-cta h2{font-size:clamp(29px,3.3vw,44px);margin-bottom:13px}
.upt-team-cta-inner p:last-child{font-size:15px;color:var(--upt-muted);margin:0;max-width:630px}
.upt-team-cta-inner .upt-team-action{flex:none}
/* Homepage preview is additive; the existing homepage sections remain untouched. */
.upt-team-teaser{padding:62px 0 78px;background:#fff}
.upt-team-teaser-main{display:grid;grid-template-columns:minmax(0,.80fr) minmax(0,1.20fr);align-items:center;gap:clamp(22px,3.4vw,46px);margin-bottom:24px}
.upt-team-teaser-copy{max-width:485px}
.upt-team-teaser-copy h2{font-size:clamp(31px,3vw,46px);margin:0 0 17px}
.upt-team-teaser-copy>p:not(.upt-team-eyebrow){font-size:16px;line-height:1.8;color:var(--upt-muted);margin:0 0 24px}
.upt-team-teaser-visuals{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.94fr) minmax(0,.94fr);gap:11px;align-items:center;min-width:0}
.upt-team-teaser-visual{display:block;overflow:hidden;border-radius:17px;min-width:0;background:#e7eff9}
.upt-team-teaser-visual img{height:auto;width:100%;object-fit:contain;object-position:center}
.upt-team-teaser .upt-team-role{padding:18px 18px 19px;box-shadow:none;background:#fbfcff;min-height:165px}
.upt-team-teaser .upt-team-role-icon{width:46px;height:46px;margin-bottom:9px}
.upt-team-teaser .upt-team-role-icon svg{width:25px;height:25px}
.upt-team-teaser .upt-team-role h3{font-size:16px}
.upt-team-teaser .upt-team-role p{font-size:13px;line-height:1.55}
@media(max-width:1050px){.upt-team-roles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upt-team-teaser-main{grid-template-columns:1fr}.upt-team-teaser-copy{max-width:740px}}
@media(max-width:720px){.upt-team-shell{width:calc(100% - 36px)}.upt-team-page .upt-team-hero{padding:27px 0 32px}.upt-team-hero-grid{grid-template-columns:1fr;gap:24px}.upt-team-hero-copy{padding:0}.upt-team-page h1{font-size:clamp(39px,9vw,55px)}.upt-team-hero-visual{width:100%;height:auto;aspect-ratio:3/4}.upt-team-gallery{padding-block:53px 58px}.upt-team-photo-grid{display:block;columns:2;column-gap:10px}.upt-team-photo-grid figure{break-inside:avoid;margin-bottom:10px}.upt-team-photo-grid figcaption{font-size:11px;padding:22px 10px 10px}.upt-team-roles{padding:54px 0}.upt-team-videos{padding:55px 0}.upt-team-video-grid{grid-template-columns:1fr}.upt-team-video-frame{aspect-ratio:3/4}.upt-team-cta{padding:0 0 52px}.upt-team-cta-inner{padding:29px 24px;display:grid;gap:20px}.upt-team-teaser{padding:49px 0 60px}.upt-team-teaser .wrap{width:calc(100% - 36px)}.upt-team-teaser-main{gap:23px}.upt-team-teaser-visuals{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:7px}.upt-team-teaser-visual{border-radius:11px}}
@media(max-width:450px){.upt-team-roles-grid{grid-template-columns:1fr;gap:11px}.upt-team-role{display:grid;grid-template-columns:48px 1fr;column-gap:15px;padding:17px}.upt-team-role-icon{grid-row:1/span 2;margin:0;width:46px;height:46px}.upt-team-role h3{align-self:end;margin-bottom:3px}.upt-team-role p{grid-column:2}.upt-team-teaser .upt-team-role{padding:17px;min-height:0;display:grid}.upt-team-photo-grid figcaption{font-size:10px}.upt-team-hero-label{font-size:10px;left:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){.upt-team-action{transition:none}.upt-team-action:hover{transform:none}}


/* CLIENTS_GRID_V1: single shared set of eight official local logo assets. */
.upt-clients{padding:64px 0 77px;background:#fff;border-top:1px solid #eef2f7;color:#17284d}
.upt-clients *, .upt-clients *::before,.upt-clients *::after{box-sizing:border-box}
.upt-clients-shell{width:min(1250px,calc(100% - 64px));margin-inline:auto}
.upt-clients-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,390px);align-items:end;gap:22px;margin:0 0 26px}
.upt-clients-eyebrow{grid-column:1 / -1;margin:0 0 -10px!important;color:#2b528f;font-size:11px;font-weight:800;line-height:1.5;letter-spacing:.15em;text-transform:uppercase}
.upt-clients h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,3vw,43px);font-weight:500;line-height:1.15;letter-spacing:-.034em;color:#17284d;margin:0}
.upt-clients-desc{max-width:390px;color:#5e6e88;font-size:14px;line-height:1.7;margin:0!important}
.upt-clients-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;margin:0!important;padding:0!important}
.upt-clients-card{display:flex;align-items:center;justify-content:center;min-width:0;min-height:136px;padding:23px 24px;border-radius:18px;border:1px solid #e1e9f3;background:#fafbfd}
.upt-clients-logo{display:block;width:auto!important;max-width:100%!important;max-height:87px!important;height:auto!important;object-fit:contain;object-position:center}
@media(max-width:960px){.upt-clients-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.upt-clients-card{padding:16px 13px;min-height:110px}.upt-clients-logo{max-height:73px!important}}
@media(max-width:720px){.upt-clients{padding:46px 0 56px}.upt-clients-shell{width:calc(100% - 36px)}.upt-clients-head{grid-template-columns:1fr;gap:11px;margin-bottom:18px}.upt-clients-eyebrow{grid-column:1;margin-bottom:0!important}.upt-clients h2{font-size:32px}.upt-clients-desc{max-width:520px;font-size:13px}.upt-clients-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.upt-clients-card{min-height:102px;padding:14px 12px;border-radius:13px}.upt-clients-logo{max-height:67px!important}}
/* END CLIENTS_GRID_V1 */
