
/* UA Vision V14 | Team: styles isolated from V13 */
.team-page {background:#fbfaf6}
.team-hero {background:linear-gradient(128deg,#112c32 0%,#10272e 62%,#1e555e 100%);color:#fff;position:relative;overflow:hidden;padding:98px 0 98px}
.team-hero:before{content:"";position:absolute;width:620px;height:620px;border:1px solid rgba(123,204,191,.3);border-radius:50%;right:-170px;top:-250px;box-shadow:0 0 0 80px rgba(125,213,199,.035),0 0 0 170px rgba(125,213,199,.035)}
.team-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);align-items:center;gap:56px;position:relative}
.team-hero .eyebrow{color:#9ee3d5}.team-hero .eyebrow:before{background:#a7e2d6}
.team-hero h1{font:700 clamp(48px,6.3vw,92px)/.96 var(--display);letter-spacing:-.045em;max-width:760px;margin:26px 0 28px}
.team-hero h1 em{font-weight:400;color:#9cdbd1}
.team-hero p{max-width:580px;font-size:18px;line-height:1.73;color:#dbeae8;margin:0 0 30px}
.team-hero .team-hero-kicker{font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.13em;color:#a8d8d5}
.team-orbit{position:relative;min-height:370px;display:flex;align-items:center;justify-content:center}
.team-orbit-disc{position:absolute;border:1px solid rgba(157,218,209,.28);border-radius:50%;width:330px;height:330px}
.team-orbit-disc:nth-child(2){width:220px;height:220px;border-style:dashed;border-color:rgba(157,218,209,.5)}
.team-orbit-core{font:700 27px/1.1 var(--display);color:#fff;text-align:center;z-index:1}
.team-orbit-core small{display:block;font:800 10px/2 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#a8e0d4}
.team-dot{position:absolute;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;font-weight:900;font-size:19px;color:#122d34;background:#d2eee5;border:5px solid #214b52;box-shadow:0 10px 32px rgba(0,0,0,.2);z-index:2}
.team-dot.one{top:6%;left:17%}.team-dot.two{right:5%;top:36%;background:#f5d1ae}.team-dot.three{bottom:8%;left:19%;background:#a2cfcc}
.team-intro{padding:94px 0 37px}.team-intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:65px;align-items:end}
.team-intro h2{font:700 clamp(38px,4.8vw,65px)/1.02 var(--display);letter-spacing:-.025em;margin:18px 0 0}
.team-intro p{font-size:17px;color:var(--body);margin:0 0 4px}
.team-people{padding:20px 0 105px}
.team-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.team-card{background:#fff;border:1px solid #e0e8e5;border-radius:8px;overflow:hidden;box-shadow:0 22px 45px rgba(20,41,43,.065);display:flex;flex-direction:column}
.team-card-media{min-height:238px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#e1f3ee,#d1e7e0)}
.team-card:nth-child(2) .team-card-media{background:linear-gradient(145deg,#e3ebee,#b9d4d7)}
.team-card:nth-child(3) .team-card-media{background:linear-gradient(145deg,#f7e6d6,#f3ccb3)}
.team-card-media:before{content:"";position:absolute;inset:24px;border:1px solid rgba(23,36,38,.12);border-radius:50%;transform:scale(1.5)}
.team-monogram{font:700 92px/1 var(--display);letter-spacing:-.065em;color:#265f62;position:relative;z-index:2}
.team-card:nth-child(2) .team-monogram{color:#2a5360}.team-card:nth-child(3) .team-monogram{color:#835640}
.team-media-label{position:absolute;bottom:14px;left:17px;font-weight:800;font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:#396269}
.team-card-body{padding:30px 28px 33px;display:flex;flex-direction:column;flex:1}
.team-role{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#206d77;font-weight:900;line-height:1.5;min-height:32px}
.team-card h3{font:700 clamp(30px,2.4vw,41px)/1.05 var(--display);margin:10px 0 19px;letter-spacing:-.02em}
.team-card p{color:#526164;font-size:15px;line-height:1.75;margin:0 0 23px}
.team-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.team-tags span{border:1px solid #dce6e3;border-radius:3px;padding:6px 10px;font-weight:800;font-size:11px;color:#3f5559}
.team-story{padding:68px 0 81px;background:#edf5f1}
.team-story-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:68px;align-items:center}
.team-story h2{font:700 clamp(37px,4vw,60px)/1 var(--display);letter-spacing:-.03em;margin:19px 0 25px}
.team-story p{color:#4b5b5f;line-height:1.82;margin:0 0 17px}
.team-principles{display:grid;gap:12px}
.team-principles div{background:#fff;border-left:5px solid #78b8ad;padding:18px 23px}
.team-principles strong{display:block;font-weight:900;font-size:14px;margin-bottom:3px}
.team-principles span{color:#5b6668;font-size:14px}
.team-contact{background:#122e35;color:#fff;padding:69px 0}
.team-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.team-contact .eyebrow{color:#a9d8d0}.team-contact h2{font:700 clamp(33px,3.7vw,50px)/1.05 var(--display);margin:15px 0 0}
.team-contact .button{background:#f2c9a1;color:#152b2d;border-color:#f2c9a1;white-space:nowrap}
.team-people-link{margin-top:18px}
.team-page .site-header{background:#11272d}
.team-page .site-header .brand-label{color:#fff}
@media (max-width:960px){.team-hero-grid,.team-intro-grid,.team-story-inner{grid-template-columns:1fr}.team-orbit{display:none}.team-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.team-contact-inner{flex-direction:column;align-items:flex-start}}
@media (max-width:660px){.team-hero{padding:65px 0 70px}.team-hero h1{font-size:clamp(45px,11vw,63px)}.team-intro{padding:70px 0 22px}.team-people{padding:15px 0 70px}.team-cards{grid-template-columns:1fr}.team-card-media{min-height:188px}.team-intro-grid{gap:18px}.team-story{padding:55px 0}.team-contact{padding:52px 0}.team-contact .button{white-space:normal}}

/* V15: befintliga foton, samma design och kontrast som UA Vision V13/V14. */
.team-photo-group{position:relative;margin:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;box-shadow:0 24px 65px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.18)}
.team-photo-group img{width:100%;height:100%;object-fit:cover;display:block;object-position:center 44%}
.team-photo-group:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(2,17,22,.65));pointer-events:none}
.team-photo-group figcaption{position:absolute;bottom:17px;left:19px;z-index:1;color:#fff;font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.team-card-media{height:290px;min-height:290px;display:block;background:#e9edeb !important}
.team-card-media:before{display:none}
.team-card .team-portrait{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;filter:grayscale(100%);transition:transform .3s ease}
.team-card:nth-child(1) .team-portrait{object-position:center 20%;background:#f1f1f1}
.team-card:nth-child(2) .team-portrait{object-position:center 27%}
.team-card:nth-child(3) .team-portrait{object-position:center 22%}
.team-card:hover .team-portrait{transform:scale(1.025)}
.team-card-media:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(12,33,35,.55));pointer-events:none}
.team-media-label{z-index:1;color:#fff;letter-spacing:.09em;font-size:11px;bottom:16px}
@media(max-width:960px){.team-photo-group{max-width:680px;width:100%;margin-top:10px}}
@media(max-width:660px){.team-card-media{height:295px;min-height:295px}.team-photo-group{aspect-ratio:4/3}}

/* UA Vision V17, new Drive-selected B&W portraits 2026-11-05.
   The original team image is 16:9, so keep the whole group visible. */
.team-photo-group{aspect-ratio:16/9}
.team-photo-group img{object-position:center center}
.about-people-feature img{object-position:center center}
.team-card .team-portrait{filter:none}
.team-card-media{height:345px;min-height:345px}
.team-card:nth-child(1) .team-portrait{object-position:center 27%}
.team-card:nth-child(2) .team-portrait{object-position:center 25%}
.team-card:nth-child(3) .team-portrait{object-position:center 25%}
@media(max-width:660px){.team-card-media{height:360px;min-height:360px}.team-photo-group{aspect-ratio:16/9}}

/* UA V19 2026-11-07: mjuka bildkanter på Om oss och Människorna.
   Ingen ändring i originalbilder, format eller ansiktsutsnitt. */
.team-page .team-photo-group,
.about-page .team-photo-group {
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.team-page .team-photo-group:after,
.about-page .team-photo-group:after { display:none; }
.team-page .team-photo-group img,
.about-page .team-photo-group img,
.about-page .about-people-feature img {
  border:0;
  border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse 56% 57% at 50% 50%,#000 57%,rgba(0,0,0,.96) 65%,rgba(0,0,0,.68) 78%,transparent 100%);
  mask-image:radial-gradient(ellipse 56% 57% at 50% 50%,#000 57%,rgba(0,0,0,.96) 65%,rgba(0,0,0,.68) 78%,transparent 100%);
}
.team-page .team-photo-group figcaption,
.about-page .team-photo-group figcaption { text-shadow:0 1px 7px rgba(0,0,0,.8); }


/* UA Vision V20, 2026-11-07: team panorama from approved image,
   soft four-edge blending on About / People; all V19 nav and content preserved. */
.team-page .cinematic-hero {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  min-height:690px;
  padding:0;
  background:linear-gradient(180deg,#10272d 0%,#10282e 67%,#fbfaf6 100%);
}
.team-page .cinematic-hero::before{display:none}
.team-page .cinematic-hero .cinematic-photo {
  position:absolute;
  inset:0;
  z-index:0;
  margin:0;
  overflow:hidden;
  pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 77% 87% at 52% 38%,#000 32%,rgba(0,0,0,.94) 48%,rgba(0,0,0,.69) 69%,transparent 100%);
  mask-image:radial-gradient(ellipse 77% 87% at 52% 38%,#000 32%,rgba(0,0,0,.94) 48%,rgba(0,0,0,.69) 69%,transparent 100%);
}
.team-page .cinematic-hero .cinematic-photo img {
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 34%;
  filter:grayscale(100%) contrast(1.035);
}
.team-page .cinematic-hero .cinematic-overlay {
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(8,29,34,.79) 0%,rgba(8,29,34,.52) 29%,rgba(8,29,34,.17) 67%,rgba(8,29,34,.1) 100%),
    linear-gradient(180deg,rgba(8,29,34,.03) 0%,transparent 37%,rgba(8,29,34,.30) 64%,rgba(251,250,246,.48) 84%,#fbfaf6 100%);
}
.team-page .cinematic-hero .cinematic-content {
  position:relative;
  z-index:2;
  width:min(1240px,calc(100% - 80px));
  padding:300px 0 164px;
}
.team-page .cinematic-hero .eyebrow {
  color:#a8dfd7;
  font-size:12px;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.team-page .cinematic-hero h1 {
  max-width:1000px;
  margin:21px 0 15px;
  color:white;
  font:700 clamp(43px,5.5vw,76px)/1.08 var(--display);
  letter-spacing:-.034em;
  text-shadow:0 2px 15px rgba(0,0,0,.42);
}
.team-page .cinematic-hero h1 em{color:#bfe8dd;font-weight:400}
.team-page .cinematic-hero p {
  max-width:710px;
  margin:0;
  color:#eef5f4;
  font-size:17px;
  line-height:1.73;
  text-shadow:0 2px 14px rgba(0,0,0,.45);
}
@media(max-width:740px){
  .team-page .cinematic-hero{
    min-height:0;
    display:block;
    background:linear-gradient(180deg,#10272d 0%,#132e34 71%,#fbfaf6 100%);
  }
  .team-page .cinematic-hero .cinematic-photo{
    position:relative;
    inset:auto;
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1599 / 900;
    -webkit-mask-image:radial-gradient(ellipse 73% 81% at 50% 44%,#000 36%,rgba(0,0,0,.91) 52%,rgba(0,0,0,.58) 74%,transparent 100%);
    mask-image:radial-gradient(ellipse 73% 81% at 50% 44%,#000 36%,rgba(0,0,0,.91) 52%,rgba(0,0,0,.58) 74%,transparent 100%);
  }
  .team-page .cinematic-hero .cinematic-photo img{
    width:100%;height:auto;aspect-ratio:1599 / 900;
    object-fit:contain;
  }
  .team-page .cinematic-hero .cinematic-overlay{display:none}
  .team-page .cinematic-hero .cinematic-content{
    width:calc(100% - 40px);
    padding:11px 0 110px;
  }
  .team-page .cinematic-hero .cinematic-content::after{
    content:"";
    position:absolute;
    left:-20px;right:-20px;bottom:0;
    height:104px;
    background:linear-gradient(180deg,transparent,#fbfaf6);
    pointer-events:none;
  }
  .team-page .cinematic-hero .eyebrow{font-size:10px;line-height:1.6}
  .team-page .cinematic-hero h1{
    font-size:clamp(36px,8.5vw,52px);
    line-height:1.12;
    margin:15px 0;
    overflow-wrap:break-word;
  }
  .team-page .cinematic-hero p{font-size:14px;line-height:1.65}
}
@media(prefers-reduced-motion:reduce){.team-page .cinematic-hero *{transition:none!important;animation:none!important}}
