/* ==========================================================================
   Atelier B2B – About Us page (scoped). Loaded only on the About template.
   ========================================================================== */

/* 01 Hero ----------------------------------------------------------------- */
.about-hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:100vh;
  min-height:100svh;
  color:var(--c-light);
  background:var(--c-dark);
  overflow:hidden;
  isolation:isolate;
}
.about-hero__media{
  position:absolute;
  inset:-8% 0;
  z-index:-2;
}
.about-hero__media-inner{
  width:100%;
  height:100%;
  animation:heroScale 2.8s var(--ease-out) both;
}
.about-hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-hero__overlay{
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(73,56,45,.45) 0%,rgba(73,56,45,0) 32%,rgba(46,34,27,.72) 100%);
}
.about-hero__content{
  position:relative;
  width:100%;
  padding-top:calc(var(--bar-h) + var(--nav-h) + clamp(1.5rem,4vh,3rem));
  padding-bottom:clamp(2.2rem,7vh,4.8rem);
}
.about-hero__eyebrow{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:clamp(1rem,2.5vh,2rem);
  animation:fadeUp 1.1s var(--ease-out) .1s both;
}
.about-hero__eyebrow::before{
  content:"";
  width:2.5rem;
  height:1px;
  background:currentColor;
}
.about-hero__title{
  font-size:clamp(2.4rem,8vw,9.5rem);
  line-height:.9;
  letter-spacing:-.05em;
  font-weight:500;
  max-width:14ch;
}
.about-hero__title .line__inner{
  animation:lineUp 1.4s var(--ease-out) both;
  animation-delay:calc(.25s + var(--i) * .12s);
}
.about-hero__foot{
  display:flex;
  flex-direction:column;
  gap:1.6rem;
  margin-top:clamp(1.8rem,4vh,3.2rem);
  padding-top:1.6rem;
  border-top:1px solid rgba(250,247,242,.28);
  animation:fadeUp 1.2s var(--ease-out) .85s both;
}
.about-hero__sub{
  max-width:34ch;
  color:var(--c-light);
}
.about-hero__scroll{
  display:none;
}

/* 02 Who we are ----------------------------------------------------------- */
.about-who{
  background:var(--c-bg);
  overflow:hidden;
}
.about-who__label{
  color:var(--c-brown);
  margin-bottom:clamp(2rem,5vw,3.5rem);
}
.about-who__grid{
  display:grid;
  gap:clamp(2rem,5vw,3.5rem);
}
.about-who__figure{margin:0}
.about-who__frame{
  position:relative;
  overflow:hidden;
  background:var(--c-beige);
  border-radius:2px;
  aspect-ratio:4/5;
}
.about-who__frame--sm{aspect-ratio:3/4}
.about-who__parallax{
  position:absolute;
  inset:-8% 0;
}
.about-who__img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.3s var(--ease-out);
}
.about-who__figure:hover .about-who__img{
  transform:scale(1.04);
}
.about-who__title{
  font-size:clamp(2.2rem,8.5vw,6.2rem);
  line-height:.92;
  letter-spacing:-.05em;
  color:var(--c-dark);
  margin-bottom:clamp(1.4rem,3vw,2.2rem);
}
.about-who__lede{
  color:var(--c-text);
  margin-bottom:1.2rem;
  max-width:28ch;
}
.about-who__text{
  max-width:38ch;
  font-size:1.05rem;
  line-height:1.75;
  color:var(--c-text);
}
.about-who__aside{
  margin-top:1.1rem;
  max-width:28ch;
  font-family:var(--f-serif);
  font-style:italic;
  font-size:clamp(1.15rem,1.8vw,1.4rem);
  line-height:1.35;
  color:var(--c-brown);
}

/* 03 Philosophy ----------------------------------------------------------- */
.about-phil{
  background:var(--c-bg-2);
  overflow:hidden;
}
.about-phil__head{
  display:grid;
  gap:1.4rem;
  margin-bottom:clamp(3rem,8vw,6rem);
  max-width:52rem;
}
.about-phil__label{color:var(--c-brown)}
.about-phil__title{
  font-size:clamp(2.1rem,7.8vw,5.8rem);
  line-height:.94;
  letter-spacing:-.05em;
  color:var(--c-dark);
}
.about-phil__text{
  max-width:36ch;
  color:var(--c-text);
}
.about-phil__pillars{
  display:grid;
  gap:clamp(2.5rem,6vw,4rem);
}
.about-phil__pillar{
  display:grid;
  gap:1.4rem;
}
.about-phil__media{
  margin:0;
  overflow:hidden;
  border-radius:2px;
  background:var(--c-beige);
  aspect-ratio:4/5;
}
.about-phil__img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.25s var(--ease-out);
}
.about-phil__pillar:hover .about-phil__img{
  transform:scale(1.05);
}
.about-phil__body{
  display:grid;
  gap:.7rem;
  padding-inline:.15rem;
}
.about-phil__index{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:1.35rem;
  line-height:1;
  color:var(--c-accent);
}
.about-phil__pillar-title{
  font-family:var(--f-head);
  font-weight:500;
  font-size:clamp(1.35rem,2.4vw,1.85rem);
  line-height:1.1;
  letter-spacing:-.03em;
  text-transform:uppercase;
  color:var(--c-dark);
}
.about-phil__pillar-text{
  max-width:34ch;
  font-size:.98rem;
  line-height:1.7;
  color:var(--c-text);
}

/* 04 Commitment ----------------------------------------------------------- */
.about-commit{
  background:var(--c-bg);
  overflow:hidden;
  padding-block:0;
}
.about-commit__grid{
  display:grid;
}
.about-commit__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(1.3rem,2.5vw,2rem);
  padding:clamp(4rem,10vw,8rem) var(--gutter);
  background:var(--c-light);
}
.about-commit__label{color:var(--c-brown)}
.about-commit__title{
  font-size:clamp(2.4rem,9vw,6.5rem);
  line-height:.9;
  letter-spacing:-.05em;
  color:var(--c-dark);
  max-width:10ch;
}
.about-commit__text{
  max-width:36ch;
  font-size:1.05rem;
  line-height:1.75;
  color:var(--c-text);
}
.about-commit__points{
  display:grid;
  gap:.85rem;
  margin-top:.4rem;
  padding-top:1.4rem;
  border-top:1px solid rgba(118,90,70,.25);
  max-width:32rem;
}
.about-commit__points li{
  position:relative;
  padding-left:1.4rem;
  font-family:var(--f-head);
  font-weight:500;
  font-size:.92rem;
  letter-spacing:-.01em;
  color:var(--c-dark);
}
.about-commit__points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.69em;
  width:.55rem;
  height:1px;
  background:var(--c-brown);
}
.about-commit__figure{margin:0}
.about-commit__frame{
  position:relative;
  overflow:hidden;
  background:var(--c-beige);
  aspect-ratio:4/5;
}
.about-commit__parallax{
  position:absolute;
  inset:-8% 0;
}
.about-commit__img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* 05 CTA ------------------------------------------------------------------ */
.about-cta{
  background:var(--c-bg-2);
  overflow:hidden;
}
.about-cta__inner{max-width:1920px}
.about-cta__label{
  color:var(--c-brown);
  margin-bottom:clamp(1.4rem,3vw,2.4rem);
}
.about-cta__title{
  font-size:clamp(2.4rem,10vw,11rem);
  line-height:.9;
  letter-spacing:-.05em;
  color:var(--c-dark);
  max-width:14ch;
}
.about-cta__foot{
  display:flex;
  flex-direction:column;
  gap:2rem;
  align-items:flex-start;
  margin-top:clamp(2.5rem,6vw,5rem);
  padding-top:clamp(1.8rem,3vw,2.6rem);
  border-top:1px solid rgba(118,90,70,.3);
}
.about-cta__text{max-width:34ch}
.about-cta__actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
}

/* Tablet+ ----------------------------------------------------------------- */
@media (min-width:768px){
  .about-hero__foot{
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
    gap:3rem;
    padding-right:4rem;
  }
  .about-hero__scroll{
    position:absolute;
    right:var(--gutter);
    bottom:clamp(2rem,6vh,4.5rem);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:.9rem;
    color:var(--c-light);
    z-index:2;
    animation:fadeUp 1.2s var(--ease-out) 1.3s both;
  }
  .about-hero__scroll-label{
    writing-mode:vertical-rl;
    font-family:var(--f-head);
    font-weight:600;
    font-size:.64rem;
    letter-spacing:.2em;
    text-transform:uppercase;
  }
  .about-hero__scroll-line{
    width:1px;
    height:3.5rem;
    background:var(--c-light);
    animation:scrollCue 2.6s var(--ease) 1.8s infinite;
  }

  .about-who__grid{
    grid-template-columns:repeat(12,1fr);
    column-gap:var(--gap);
    row-gap:clamp(2rem,4vw,3.5rem);
    align-items:start;
  }
  .about-who__figure--primary{
    grid-column:1 / 7;
    grid-row:1 / 3;
  }
  .about-who__copy{
    grid-column:7 / 13;
    padding-top:clamp(1rem,4vw,4rem);
  }
  .about-who__figure--secondary{
    grid-column:8 / 12;
    margin-top:clamp(1rem,3vw,2rem);
  }

  .about-phil__pillars{
    grid-template-columns:repeat(3,1fr);
    gap:clamp(1.4rem,3vw,2.4rem);
    align-items:start;
  }
  .about-phil__pillar:nth-child(2){margin-top:clamp(3rem,8vw,7rem)}
  .about-phil__pillar:nth-child(3){margin-top:clamp(1.2rem,3vw,2.5rem)}

  .about-cta__foot{
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
  }
}

@media (min-width:1024px){
  .about-who__figure--primary{grid-column:1 / 7}
  .about-who__copy{grid-column:7 / 13;padding-left:clamp(1rem,2vw,2rem)}
  .about-who__figure--secondary{grid-column:8 / 12}
  .about-who__title{font-size:clamp(3rem,5.2vw,6.2rem)}

  .about-commit__grid{
    grid-template-columns:42fr 58fr;
    align-items:stretch;
    min-height:min(100svh,56rem);
  }
  .about-commit__frame{
    aspect-ratio:auto;
    height:100%;
    min-height:min(100svh,56rem);
  }
  .about-commit__body{
    padding:clamp(4rem,8vw,8rem) clamp(2rem,4vw,5rem) clamp(4rem,8vw,8rem) var(--gutter);
  }

  .about-cta__title{font-size:clamp(4.5rem,9vw,11rem)}
}

@media (min-width:1440px){
  .about-who__figure--secondary{grid-column:9 / 12}
  .about-phil__head{max-width:58rem}
}

@media (prefers-reduced-motion:reduce){
  .about-hero__media-inner,
  .about-hero__title .line__inner,
  .about-hero__eyebrow,
  .about-hero__foot,
  .about-hero__scroll,
  .about-hero__scroll-line{animation:none!important}
}
