/* ==========================================================================
   AGENCY.CSS — Agency / Full Team page only (template-agency.php).
   ========================================================================== */

/* ---- Founders & Team — BLACK background / WHITE text -------------------- */

.agency-founders{
  background:#000000;
  color:#ffffff;
  padding-top:50px;
  padding-bottom:50px;
}
.agency-founders .django-team-card {
  border: none;
  box-shadow: none;
  outline: none;
}
.agency-founders .django-team-grid--full{
  grid-template-columns:repeat(auto-fit, minmax(210px,260px));
  justify-content:center;
  gap:22px;
}

.agency-founders .django-team-card{
  padding:20px;
  background:#000000;
  color:#ffffff;
}

.agency-founders .django-team-name{
  font-size:16px;
  color:#ffffff;
}

.agency-founders .django-team-position{
  font-size:13px;
  color:#ffffff;
}

.agency-founders .django-team-avatar{
  border-radius:0;
  aspect-ratio:3 / 4;
}

.agency-founders .django-team-img{
  object-position:center top;
}


/* ---- Rest of Team — BLACK background / WHITE text ---------------------- */

.agency-rest{
  background:#000000;
  color:#ffffff;
}

.agency-rest .django-team-grid--full{
  display:grid;
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-template-rows:repeat(2, auto);
  grid-auto-columns:210px;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  scroll-padding-left:clamp(40px,8vw,90px);
  padding:0 clamp(20px,5vw,64px) 8px clamp(40px,8vw,90px);
  margin:0 calc(-1 * clamp(20px,5vw,64px)) 0 calc(-1 * clamp(40px,8vw,90px));
}

.agency-rest .django-team-grid--full::-webkit-scrollbar{
  display:none;
}

.agency-rest .django-team-card{
  scroll-snap-align:start;
  background:none;
  border:none;
  padding:0;
  color:#ffffff;
}

.agency-rest .django-team-name,
.agency-rest .django-team-position{
  color:#ffffff;
}

.agency-rest .django-team-avatar{
  aspect-ratio:3 / 3.4;
  border-radius:0;
}

.agency-rest .django-team-img{
  object-position:top;
}


/* ---- Fueling the Ambitions ---------------------------------------------- */

.agency-hero{
  background:#e9e6df;
  color:#000000;
  padding:110px clamp(20px,5vw,64px) 90px;
  border-bottom:1px solid rgba(0,0,0,.12);
  display:grid;
  grid-template-columns:1fr 3fr;
  grid-template-rows:auto 1fr;
  column-gap:clamp(30px,5vw,50px);
  row-gap:40px;
}

.agency-hero-copy{
  grid-column:1 / -1;
  grid-row:1;
}

.agency-hero-copy h2{
  margin:0;
  color:#000000;
  font-family:'Fraunces',serif;
  font-weight:500;
  font-size:clamp(30px,4.2vw,56px);
  line-height:1.15;
  max-width:none;
  width:100%;
}

.agency-hero-text{
  grid-column:1;
  grid-row:2;
  display:flex;
  flex-direction:column;
  gap:20px;
  align-self:start;
}

.agency-hero-text p{
  margin:0;
  font-family:'IBM Plex Mono',monospace;
  font-size:15.5px;
  line-height:1.8;
  color:#000000;
}

.agency-hero-media{
  grid-column:2;
  grid-row:2;
  aspect-ratio:16/10;
  border-radius:4px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#e9e6df;
}

.agency-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* ---- About --------------------------------------------------------------- */

.agency-intro{
  background:#e9e6df;
  color:#000000;
  padding:90px clamp(20px,5vw,64px) 70px;
  border-bottom:1px solid rgba(0,0,0,.12);
  display:grid;
  grid-template-columns:1fr 3fr;
  column-gap:40px;
}

.agency-intro .section-label{
  grid-column:1;
  font-family:'PT Serif',serif;
  font-weight:400;
  font-size:clamp(20px,2.4vw,26px);
  color:#000000;
}

.agency-intro-text{
  grid-column:2;
  margin:0 0 44px;
  max-width:66ch;
  font-family:'Familjen Grotesk',sans-serif;
  font-weight:500;
  font-style:normal;
  font-size:clamp(20px,2.5vw,55px);
  line-height:1.55;
  color:#000000;
}

.agency-intro-gallery{
  grid-column:1 / -1;
}

.agency-intro-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.agency-intro-slide{
  aspect-ratio:4/5;
  border-radius:2px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#e9e6df;
}

.agency-intro-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.agency-intro-dots{
  display:none;
}


/* ---- Our beliefs --------------------------------------------------------- */

.agency-beliefs{
  background:#e9e6df;
  color:#000000;
  padding:90px clamp(20px,5vw,64px) 90px;
  border-bottom:1px solid rgba(0,0,0,.12);
  display:grid;
  grid-template-columns:1fr 3fr;
  column-gap:40px;
}

.agency-beliefs .section-label{
  grid-column:1;
  font-family:'PT Serif',serif;
  font-weight:400;
  font-size:clamp(20px,2.4vw,26px);
  color:#000000;
}

.agency-beliefs-text{
  grid-column:2;
  margin:0 0 56px;
  max-width:62ch;
  font-family:'Familjen Grotesk',sans-serif;
  font-weight:500;
  font-style:normal;
  font-size:clamp(20px,2.5vw,55px);
  line-height:1.55;
  color:#000000;
}

.agency-beliefs-media{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  column-gap:40px;
  align-items:end;
}

.agency-beliefs-media figure{
  margin:0;
}

.agency-beliefs-media figure:nth-of-type(1){
  grid-column:1;
}

.agency-beliefs-media figure:nth-of-type(2){
  grid-column:3;
  align-self:flex-start;
}

.agency-beliefs-media img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:2px;
  display:block;
  border:1px solid rgba(0,0,0,.12);
  background:#e9e6df;
}

.agency-beliefs-media figcaption{
  margin-top:12px;
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px;
  color:#000000;
}


/* ---- Why us -------------------------------------------------------------- */

.agency-why{
  background:#e9e6df;
  color:#000000;
  padding:90px clamp(20px,5vw,64px) 100px;
  border-bottom:1px solid rgba(0,0,0,.12);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  column-gap:40px;
  align-items:center;
}

.agency-why-col .section-label{
  color:#000000;
  margin-bottom:16px;
  font-family:'PT Serif',serif;
  font-weight:400;
  font-size:clamp(18px,2vw,22px);
}

.agency-why-col h3{
  margin:0 0 18px;
  color:#000000;
  font-weight:500;
  font-size:clamp(22px,2.6vw,28px);
  line-height:1.25;
}

.agency-why-col p{
  margin:0;
  font-family:'IBM Plex Mono',monospace;
  font-size:15.5px;
  line-height:1.85;
  color:#000000;
}

.agency-why-graphic{
  width:100%;
  max-width:400px;
  margin:0 auto;
  aspect-ratio:1011/1024;
  background-image:url('https://media.djangodigital.in/wp-content/uploads/2026/08/blur-spot-1011x1024.png.bv_.webp');
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
}


/* ---- People -------------------------------------------------------------- */

.agency-people{
  background:#e9e6df;
  color:#000000;
  padding:90px clamp(20px,5vw,64px) 70px;
  border-bottom:1px solid rgba(0,0,0,.12);
}

.agency-people > .eyebrow{
  margin:0 0 26px;
  font-family:'PT Serif',serif;
  font-weight:400;
  font-size:clamp(18px,2vw,22px);
  color:#000000;
}

.agency-people-row{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:50px;
  align-items:end;
}

.agency-people-row h2{
  margin:0;
  color:#000000;
  font-family:'Fraunces',serif;
  font-weight:500;
  font-size:clamp(30px,3.6vw,46px);
  line-height:1.15;
}

.agency-people-row p{
  margin:0;
  font-family:'IBM Plex Mono',monospace;
  font-size:16px;
  line-height:1.85;
  color:#000000;
}


/* ---- Mobile -------------------------------------------------------------- */

@media (max-width:760px){

  .agency-founders{
    padding-bottom:30px;
  }

  .agency-founders .django-team-grid--full{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:16px;
  }

  .agency-hero{
    display:flex;
    flex-direction:column;
    padding:80px 20px 60px;
    row-gap:24px;
  }

  .agency-hero-copy{
    order:1;
  }

  .agency-hero-copy h2{
    font-size:clamp(28px,7vw,38px);
  }

  .agency-hero-media{
    order:2;
    aspect-ratio:4/3;
  }

  .agency-hero-text{
    order:3;
  }

  .agency-intro{
    display:flex;
    flex-direction:column;
    padding:60px 20px 50px;
    row-gap:22px;
  }

  .agency-intro-text{
    margin-bottom:0;
    max-width:none;
  }

  .agency-intro-track{
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:100%;
    gap:0;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
  }

  .agency-intro-track::-webkit-scrollbar{
    display:none;
  }

  .agency-intro-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:16px;
  }

  .agency-intro-dots span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:rgba(0,0,0,.2);
    transition:background .2s,width .2s;
  }

  .agency-intro-dots span.is-active{
    background:#000000;
    width:20px;
    border-radius:4px;
  }

  .agency-beliefs{
    display:flex;
    flex-direction:column;
    padding:60px 20px 60px;
    row-gap:22px;
  }

  .agency-beliefs-text{
    margin-bottom:0;
    max-width:none;
  }

  .agency-beliefs-media{
    display:flex;
    flex-direction:column;
    gap:24px;
  }

  .agency-beliefs-media figure{
    width:100%;
  }

  .agency-why{
    display:flex;
    flex-direction:column;
    padding:60px 20px 60px;
    row-gap:24px;
    text-align:left;
  }

  .agency-why-graphic{
    order:-1;
    max-width:220px;
    margin:0 auto 8px;
  }

  .agency-why-col:last-of-type h3{
    margin-top:8px;
  }

  .agency-people{
    display:block;
    padding:60px 20px 50px;
  }

  .agency-people-row{
    grid-template-columns:1fr;
    gap:20px;
  }

  .agency-rest .django-team-grid--full{
    grid-template-columns:none;
    grid-auto-columns:160px;
    gap:14px;
    padding:0 20px 8px 32px;
    margin:0 -20px 0 -32px;
  }
}