/* Team page — v0093 cleanup
   Scoped page layout only.
   Do not style global header/footer/buttons/cards here.
*/

.team-page{
  background:var(--cream);
}

.team-main{
  background:var(--cream);
}

.team-hero{
  position:relative;
  padding:calc(var(--df-section-y-tight, 80px) + 32px) 0 var(--df-section-y-tight, 80px);
  text-align:center;
  overflow:hidden;
  background:var(--cream);
}

.team-hero::after{
  content:"";
  position:absolute;
  left:50%;
  top:-170px;
  transform:translateX(-50%);
  width:620px;
  height:620px;
  background:radial-gradient(circle at center, rgba(143,151,121,.22), transparent 66%);
  border-radius:50%;
  z-index:0;
}

.team-hero-inner,
.team-banner{
  position:relative;
  z-index:2;
}

.team-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--terracotta);
  margin-bottom:22px;
}

.team-eyebrow::before,
.team-eyebrow::after{
  content:"";
  width:30px;
  height:1.5px;
  background:var(--terracotta);
}

.team-eyebrow--solo::after{
  display:none;
}

.team-title{
  font-size:clamp(2.6rem,5.6vw,4.5rem);
  line-height:1.04;
  letter-spacing:-.02em;
  margin:0 0 24px;
  color:var(--ink);
}

.team-title em{
  font-style:italic;
  color:var(--terracotta);
}

.team-lead{
  max-width:600px;
  margin:0 auto;
  font-size:1.16rem;
  color:var(--ink-soft);
  line-height:1.72;
}

.team-banner{
  margin-top:46px;
}

.team-banner img{
  width:100%;
  display:block;
  border-radius:22px;
  box-shadow:0 26px 60px rgba(44,38,32,.18);
  object-fit:cover;
  object-position:center center;
}

.team-banner-caption{
  position:absolute;
  left:26px;
  bottom:22px;
  background:rgba(250,246,236,.92);
  backdrop-filter:blur(4px);
  padding:14px 18px;
  border-radius:18px;
  font-family:var(--serif);
  font-style:italic;
  font-size:1rem;
  color:var(--ink);
  box-shadow:0 14px 30px rgba(44,38,32,.14);
}

.team-members{
  padding-top:var(--df-section-y, 120px);
}

.team-members-title{
  display:block;
  max-width:720px;
  margin:0 0 54px;
  font-family:var(--serif);
  font-size:clamp(2.15rem,4.4vw,3.25rem);
  line-height:1.06;
  letter-spacing:-.015em;
  color:var(--ink);
}

.team-members-title::before{
  content:"";
  display:block;
  width:34px;
  height:1.5px;
  margin-bottom:18px;
  background:var(--terracotta);
}

.team-member{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:var(--df-media-content-gap-desktop, 56px);
  align-items:center;
  margin-bottom:90px;
}

.team-member:last-of-type{
  margin-bottom:0;
}

.team-member:nth-of-type(even){
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
}

.team-member:nth-of-type(even) .team-member-photo{
  order:2;
}

.team-member-photo{
  position:relative;
  isolation:isolate;
}

.team-photo-frame{
  position:relative;
  z-index:1;
  overflow:hidden;
  aspect-ratio:4/5;
  border-radius:20px;
  background:var(--sand);
  box-shadow:0 22px 50px rgba(44,38,32,.16);
}

.team-photo-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.team-photo--dana img{
  object-position:70% 22%;
}

.team-photo--mark img{
  object-position:center 18%;
}

.team-photo--heidi img{
  object-position:58% 20%;
}

.team-member-photo::before{
  content:"";
  position:absolute;
  z-index:0;
  top:22px;
  bottom:-22px;
  width:100%;
  border-radius:20px;
}

.team-member:nth-of-type(odd) .team-member-photo::before{
  left:22px;
  background:var(--olive);
}

.team-member:nth-of-type(even) .team-member-photo::before{
  right:22px;
  background:var(--terracotta);
  opacity:.9;
}

.team-member-text{
  max-width:560px;
}

.team-role{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:14px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--terracotta);
}

.team-role::before{
  content:"";
  width:26px;
  height:1.5px;
  background:var(--terracotta);
}

.team-name{
  font-size:clamp(2rem,3.6vw,2.8rem);
  line-height:1.05;
  letter-spacing:-.015em;
  margin-bottom:20px;
  color:var(--ink);
}

.team-bio p{
  color:var(--ink-soft);
  font-size:1.02rem;
  margin-bottom:15px;
}

.team-bio p:last-child{
  margin-bottom:0;
}

.team-bio p:first-of-type{
  color:var(--ink);
  font-size:1.08rem;
}

.team-dream{
  margin-top:var(--df-section-y-tight, 80px);
}

.team-dream-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,4fr) minmax(0,6fr);
  gap:54px;
  align-items:start;
  padding:64px 60px;
  border:1px solid var(--sand-deep, #e6dcc0);
  border-radius:26px;
  background:var(--sand);
}

.team-dream-card::after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-160px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(181,98,62,.16), transparent 70%);
}

.team-dream-head,
.team-dream-body{
  position:relative;
  z-index:2;
}

.team-dream-title{
  margin-top:18px;
  font-size:clamp(1.9rem,3.6vw,2.7rem);
  line-height:1.08;
  letter-spacing:-.015em;
  color:var(--ink);
}

.team-dream-body p{
  color:var(--ink-soft);
  font-size:1.06rem;
  margin-bottom:16px;
}

.team-dream-body p:first-child{
  color:var(--ink);
}

.team-dream-body p:last-child{
  margin-bottom:0;
}

.team-dream-tag{
  display:inline-block;
  margin-top:6px;
  padding:6px 14px;
  border:1.5px solid rgba(181,98,62,.35);
  border-radius:30px;
  color:var(--terracotta);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.team-strip{
  margin-top:var(--df-section-y-tight, 80px);
  background:var(--olive-deep);
  color:var(--cream);
}

.team-strip-inner{
  padding:92px 48px;
  text-align:center;
}

.team-quote{
  max-width:760px;
  margin:0 auto;
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.4rem,3vw,2.1rem);
  line-height:1.35;
}

.team-signature{
  margin-top:18px;
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.8;
}

.team-booking{
  padding-top:var(--df-section-y-tight, 80px);
  padding-bottom:var(--df-section-y, 120px);
  text-align:center;
}

.team-booking .team-eyebrow{
  justify-content:center;
}

.team-booking-title{
  font-size:clamp(2rem,4vw,2.8rem);
  line-height:1.06;
  letter-spacing:-.015em;
  margin-bottom:16px;
  color:var(--ink);
}

.team-booking p{
  max-width:560px;
  margin:0 auto 28px;
  color:var(--ink-soft);
  font-size:1.1rem;
}

.team-booking-button{
  display:inline-flex;
}

@media(max-width:860px){
  .team-member,
  .team-member:nth-of-type(even){
    grid-template-columns:1fr;
    gap:var(--df-media-content-gap-mobile, 44px);
    margin-bottom:66px;
  }

  .team-member:nth-of-type(even) .team-member-photo{
    order:0;
  }

  .team-member-photo{
    max-width:420px;
  }

  .team-member-photo::before{
    display:none;
  }

  .team-dream{
    margin-top:var(--df-section-y-mobile-large, 80px);
  }

  .team-dream-card{
    grid-template-columns:1fr;
    gap:24px;
    padding:42px 28px;
  }
}

@media(max-width:680px){
  .team-hero{
    padding-top:calc(var(--df-section-y-mobile, 64px) + 38px);
    padding-bottom:var(--df-section-y-mobile-tight, 48px);
  }

  .team-banner{
    margin-top:34px;
  }

  .team-members{
    padding-top:var(--df-section-y-mobile-large, 80px);
  }

  .team-members-title{
    margin-bottom:34px;
    font-size:clamp(2rem, 10vw, 2.85rem);
  }

  .team-members-title::before{
    margin-bottom:14px;
  }

  .team-strip{
    margin-top:var(--df-section-y-mobile-large, 80px);
  }

  .team-strip-inner{
    padding:64px 6px;
  }

  .team-booking{
    padding-top:var(--df-section-y-mobile, 64px);
    padding-bottom:var(--df-section-y-mobile-large, 80px);
  }

  .team-booking-button{
    width:100%;
    justify-content:center;
  }
}

@media(max-width:560px){
  .team-banner-caption{
    left:14px;
    bottom:14px;
    padding:8px 14px;
    font-size:.9rem;
  }

  .team-lead{
    font-size:1.06rem;
  }
}

/* v0183 Unified page H1 size
   All main page H1 titles use the homepage H1 scale.
*/
:where(
  .home-hero h1,
  .rh-title,
  .podcast-hero h1,
  .podcast-title,
  .aanbod-hero h1,
  .team-title,
  .blog-hero h1,
  .blog-post-hero-copy h1,
  .contact-hero h1,
  .guestblog-hero h1,
  .privacy-hero h1
){
  font-size:var(--ls-page-h1-size, clamp(3rem, 6.5vw, 5.6rem)) !important;
}

/* v0183 Safety net for top-level page heroes */
body :is(
  #home-hero-title,
  #ruimte-hero-title,
  #team-title,
  .blog-post-hero-copy > h1,
  .contact-hero-title,
  .guestblog-title,
  .privacy-title
){
  font-size:var(--ls-page-h1-size, clamp(3rem, 6.5vw, 5.6rem)) !important;
}

/* v0184 Simple fixed desktop H1 scale
   Desktop:
   - homepage H1: 85px
   - all other main H1s: 70px
   Mobile/tablet remains safe and consistent.
*/
:root{
  --ls-page-h1-size:70px;
  --ls-home-h1-size:90px;
  --ls-mobile-page-h1-size:clamp(2.55rem, 11vw, 4.35rem);
}

:where(
  .rh-title,
  .podcast-hero h1,
  .podcast-title,
  .aanbod-hero h1,
  .team-title,
  .blog-hero h1,
  .blog-post-hero-copy h1,
  .contact-hero h1,
  .guestblog-hero h1,
  .privacy-hero h1
){
  font-size:var(--ls-page-h1-size) !important;
}

:where(.home-hero h1, #home-hero-title){
  font-size:var(--ls-home-h1-size) !important;
}

body :is(
  #ruimte-hero-title,
  #team-title,
  .blog-post-hero-copy > h1,
  .contact-hero-title,
  .guestblog-title,
  .privacy-title
){
  font-size:var(--ls-page-h1-size) !important;
}

@media(max-width:680px){
  :where(
    .home-hero h1,
    #home-hero-title,
    .rh-title,
    .podcast-hero h1,
    .podcast-title,
    .aanbod-hero h1,
    .team-title,
    .blog-hero h1,
    .blog-post-hero-copy h1,
    .contact-hero h1,
    .guestblog-hero h1,
    .privacy-hero h1
  ),
  body :is(
    #ruimte-hero-title,
    #team-title,
    .blog-post-hero-copy > h1,
    .contact-hero-title,
    .guestblog-title,
    .privacy-title
  ){
    font-size:var(--ls-mobile-page-h1-size) !important;
  }
}

/* v0262 team structure safety
   Team member content must not inherit heading typography if HTML is edited later.
   The visual styling stays page-scoped and does not affect global cards/buttons/header/footer.
*/
.team-member-text,
.team-bio,
.team-bio p{
  font-family:var(--sans);
  font-weight:400;
}

/* v0264 Team section title safety
   `#team-members-title` is a visible section heading above the team-member articles.
   Do not make it absolute/visually-hidden; it must stay in normal flow so it cannot overlap the Dana image on mobile.
*/
#team-members-title.team-members-title{
  position:relative;
  z-index:1;
}

/* v0268 Team members section intro
   The Teamleden heading now follows the page section pattern:
   eyebrow + H2 + short intro, all in normal flow before team-member cards.
   The hidden Team quote label was removed from HTML to prevent accidental visible text.
*/
.team-members-heading{
  max-width:760px;
  margin:0 0 58px;
}

.team-members-eyebrow{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  color:var(--terracotta);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.team-members-eyebrow::before{
  content:"";
  flex:0 0 34px;
  width:34px;
  height:1.5px;
  background:currentColor;
}

.team-members-title{
  margin:0 0 22px;
}

.team-members-title::before{
  content:none;
  display:none;
}

.team-members-intro{
  max-width:720px;
  margin:0;
  font-family:var(--sans);
  font-size:var(--ls-page-hero-intro-size, 1.16rem);
  line-height:var(--ls-page-hero-intro-line-height, 1.72);
  font-weight:var(--ls-page-hero-intro-weight, 400);
  color:var(--ls-page-hero-intro-color, var(--ink-soft));
}

@media(max-width:680px){
  .team-members-heading{
    margin-bottom:34px;
  }

  .team-members-eyebrow{
    margin-bottom:16px;
    font-size:.74rem;
  }

  .team-members-title{
    margin-bottom:18px;
  }

  .team-members-intro{
    font-size:var(--ls-page-hero-intro-size-mobile, 1.06rem);
  }
}
