/* About v3: an editorial navy → blue → paper sequence. */
.team-story{--story-paper:#f5f5f7;--story-ink:#02021e;--story-blue:#1e62cb;--about-content:82rem;background:var(--story-ink)}
.team-story main{overflow:clip}
/* One rem-based composition keeps the rim, copy and divider in proportion at
   every desktop size. The site's root scale caps the whole scene together. */
.team-story .hero.concept-hero{--story-scene-unit:min(1rem,1.8svh);--story-halo-size:calc(49.5 * var(--story-scene-unit));--story-halo-top:calc(8.25 * var(--story-scene-unit));background:transparent;isolation:isolate;height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;padding:0;overflow:clip}
.team-story .concept-stage{position:relative;flex:none;height:calc(41.75 * var(--story-scene-unit));min-height:0;max-height:none;padding:0;isolation:isolate;overflow:hidden}
.team-story .concept-copy{position:absolute;z-index:2;top:calc(18.75 * var(--story-scene-unit));left:var(--site-gutter);right:var(--site-gutter);width:auto;max-width:none;transform:none;text-align:center}
.team-story .story-eyebrow{display:flex;justify-content:center;align-items:center;gap:calc(.259277375 * var(--story-scene-unit));height:calc(1.35 * var(--story-scene-unit));margin:0 0 calc(2 * var(--story-scene-unit))}
.team-story .story-eyebrow img{display:block;flex:none;height:var(--story-scene-unit);max-width:none}
.team-story .story-eyebrow__wordmark{width:calc(7 * var(--story-scene-unit))}
.team-story .story-eyebrow__colon{width:calc(.16875 * var(--story-scene-unit))}
.team-story .hero.concept-hero h1#hero-title{font-size:calc(4.5 * var(--story-scene-unit));line-height:1.08;font-weight:500;letter-spacing:-.04em;max-width:none;margin:0}
.team-story #hero-title span{display:block;white-space:nowrap}
.team-story .hero.concept-hero #clients{margin:0;overflow:hidden;padding:0 var(--site-gutter) 3.5rem!important;background:none}
.team-story #clients>.container{max-width:82rem;width:100%;padding:0;margin:auto}
.team-story #clients .success__label{color:#a7a7bd;opacity:1;font-size:1.375rem}
.team-story #clients .success-line{background:#ffffff30}
.team-story #clients .trusted__img{opacity:1;color:#b9b9c9;height:2rem}
.team-story #clients .trusted__img svg{max-width:100%;width:auto;height:100%}
.team-story #clients .splide__track{overflow:hidden}
.team-story #clients .trusted-light{mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.team-story #clients .splide__slide{display:flex;justify-content:center;align-items:center}
.team-story .story-logos:not(.is-initialized) .splide__list{display:flex;gap:4rem;width:max-content}
.team-story .story-logos:not(.is-initialized) .splide__slide{flex:0 0 7rem}
.team-story .story-opening-gradient{position:relative;background:linear-gradient(180deg,#02021e 0%,#02021e 17%,#092553 33%,#1b60c3 64%,#75a0dd 82%,#f5f5f7 100%)}
.team-story .leadership-rail{--rail-gutter:max(var(--site-gutter),calc((100vw - 82rem)/2));background:transparent!important;height:auto;padding:0}
.team-story #approach{background:transparent!important;padding-block:4rem 8rem}
.team-story .leadership-rail__panel{background:transparent;position:static;padding:1rem 0}
.team-story .leadership-rail__track{gap:2rem;padding-block:2rem}
.team-story .leadership-rail .leadership-letter:nth-child(n){flex:0 0 43.9375rem;width:43.9375rem;min-height:0;padding:4rem;border-radius:12px;background:#fff;box-shadow:0 12px 30px #071d3a08}
.team-story .leadership-letter h2{font:500 1.75rem/1.2 Suisse,Arial,sans-serif;letter-spacing:-.04em;margin-bottom:1rem}
.team-story .letter-body p{font:400 1.125rem/1.8125rem Suisse,Arial,sans-serif;letter-spacing:normal;color:#525267}
/* Figma: 72px portrait, 20px author gap, 18px name/icon and 16px role. */
.team-story .letter-signature{display:flex;flex-direction:row;align-items:center;gap:1.25rem;margin-top:1.5rem}
.team-story .letter-signature>.letter-avatar{display:block;position:static;inset:auto;width:4.5rem;height:4.5rem;flex:0 0 4.5rem;max-width:none;object-fit:cover;object-position:center;border-radius:50%;background:#ececec;transform:none}
.team-story .letter-signature .letter-author{display:flex;flex-direction:column;gap:.125rem;min-width:0}
.team-story .letter-author__name{display:flex;align-items:center;gap:.375rem;min-height:1.75rem}
.team-story .letter-signature .letter-author__name b{font:500 1.125rem/1.75rem Suisse,Arial,sans-serif;letter-spacing:normal;color:#02021e;margin:0}
.team-story .letter-signature .letter-author>.letter-author__role{display:block;font:400 1rem/1.625rem Suisse,Arial,sans-serif;letter-spacing:normal;color:#747489;margin:0}
.team-story .letter-linkedin{position:relative;display:block;flex:none;width:1.125rem;height:1.125rem;border-radius:.125rem}
.team-story .letter-linkedin::after{content:"";position:absolute;inset:-.1875rem}
.team-story .letter-linkedin img{display:block;width:100%;height:100%}
.team-story .letter-linkedin:focus-visible{outline:2px solid #007ebb;outline-offset:4px}
.team-story #working-principles{padding:4.5rem var(--site-gutter) 0;background:none;color:#fff;position:relative}
.team-story .principles-layout{max-width:82rem;margin:auto;display:grid;grid-template-columns:1fr 2.1fr;gap:5rem}
.team-story .principles-aside{position:relative;padding-top:0}
/* Keep the source canvas intact; clip transparent padding to a painted-size
   frame so decorative artwork never intercepts text selection. */
.team-story .principles-atom-frame{position:relative;width:8rem;height:7rem;overflow:hidden;margin-bottom:1.25rem;pointer-events:none;user-select:none;-webkit-user-select:none}
.team-story .principles-atom{position:absolute;width:16rem;height:auto;max-width:none;left:-4rem;top:-3rem;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.team-story .principles-aside p{font-size:1rem;line-height:1.4;color:#fff;margin:0 0 .5rem}
.team-story .principles-aside>span{display:block;font-size:1rem;color:#fff;line-height:1.2}
.team-story .principles-intro{font:400 2.5rem/1.3 Suisse,Arial,sans-serif;letter-spacing:-.035em;max-width:none;margin:0 0 6.5rem;color:#fff}
.team-story .principles-term{display:inline;white-space:nowrap}
/* Homepage values links: src/index.njk + css/global/main.css. The rule is
   scoped here because this editorial paragraph is outside .site-source. */
.team-story .principles-term__link{position:relative;display:inline-block;color:inherit;text-decoration:none}
.team-story .principles-term__link::before{background:#fff;bottom:0;content:"";display:inline-block;height:1px;left:0;position:absolute;transform:scaleX(1);transform-origin:bottom right;transition:none;width:100%}
.team-story .principles-term__link:is(:hover,:focus-visible)::before{animation:story-link-underline .5s cubic-bezier(.14,0,0,1.01)}
@keyframes story-link-underline{0%{transform:scaleX(1);transform-origin:bottom right}49%{transform:scaleX(0);transform-origin:bottom right}50%{transform:scaleX(0);transform-origin:bottom left}100%{transform:scaleX(1);transform-origin:bottom left}}
@media(prefers-reduced-motion:reduce){.team-story .principles-term__link::before{animation:none}}
.team-story .principles-inline-icon{display:inline-block;vertical-align:middle;width:auto;height:.807em;margin-right:.3em;transform:translateY(-.07em)}
.team-story .principles-inline-icon--product{height:.84em}
.team-story .principle-row{display:grid;grid-template-columns:minmax(0,1fr) 8rem;gap:3rem;align-items:center;padding:2.75rem 0;border-top:1px solid #ffffff30}
.team-story .principle-copy h3{font:italic 400 3.5rem/1.02 'Instrument Serif',Georgia,serif;letter-spacing:-.02em;margin:0 0 1.5rem;max-width:24rem;color:#fff;text-wrap:balance}
.team-story .principle-copy p{font:400 1rem/1.6 Suisse,Arial,sans-serif;color:#d9e5fa;max-width:28rem;margin:0}
.team-story .principle-line-art{width:8rem;aspect-ratio:1;color:#f3f7ff}
.team-story .principle-line-art svg{width:100%;height:100%;display:block}
.team-story #team-letters{padding:3rem 0 5rem}
.team-story #work.section{background:#f5f5f7;color:#02021e;padding:0 max(var(--site-gutter),calc((100vw - 82rem)/2)) 9rem}
.team-story #work .cards{gap:2rem;margin:0}
.team-story #work .case-art{border-radius:8px;aspect-ratio:1600/932}
.team-story #work .case-title{font-weight:500}
.team-story .story-proof-gradient{background:linear-gradient(180deg,#02021e 0%,#02021e 23%,#113c7d 44%,#246acb 65%,#8aade0 81%,#f5f5f7 96%);color:#fff}
.team-story #recognition.section{background:transparent;padding:8rem max(var(--site-gutter),calc((100vw - 82rem)/2)) 5rem}
.team-story #recognition h2{font-size:3.5rem;line-height:1.1;margin-bottom:4rem}
.team-story #love-letters{background:transparent;padding:3rem var(--site-gutter) 4rem}
.team-story #love-letters>.section{background:transparent;padding:0}
.team-story #love-letters .container{max-width:82rem;width:100%;padding:0}
.team-story #numbers{background:transparent;padding:3rem var(--site-gutter) 5rem!important;color:#fff}
.team-story #numbers>.container{max-width:82rem;padding:0;margin:auto}
.team-story #numbers .success__label{color:#d6e5fa;opacity:1}
.team-story #numbers .success__card-title{font:italic 400 4.5rem/1 'Instrument Serif',Georgia,serif;color:#fff}
.team-story #numbers .success__card-text{color:#fff}
.team-story #numbers .columns.mod--success{padding-bottom:3rem}
.team-story .site-cta{background:transparent}
.team-story #contact{background:transparent!important}
.team-story[data-motion-paused] .story-logos .splide__list{transition:none!important}

@media(prefers-reduced-motion:reduce){.team-story .story-logos .splide__list{transition:none!important}}
/* Shared optical frame: match the painted glass, not transparent image padding. */
body.team-story .story-heading-emblem {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
}
body.team-story .story-heading-emblem > img,
body.team-story #recognition .story-heading-emblem > img {
  position: absolute;
  display: block;
  max-width: none;
  width: calc(100% * var(--emblem-scale));
  height: auto;
  top: calc(100% * (1 - var(--emblem-bottom)));
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  object-fit: contain;
}
body.team-story .story-heading-emblem--star { --emblem-scale: 1.41844; --emblem-bottom: 1.21631; }
body.team-story .story-heading-emblem--wreath { --emblem-scale: 1.21839; --emblem-bottom: .97171; }
@media (max-width: 700px) {
  body.team-story .story-heading-emblem { width: 6.5rem; height: 6.5rem; margin-bottom: 1.5rem; }
}
