/* =========================================================
   ABOUT PAGE
   Clean rebuild for narrative flow, stronger hierarchy,
   and a more premium/consistent feel with the rest of bubble.
========================================================= */

.page-about{
  --about-max: 1180px;

  --about-text: rgba(255,255,255,0.86);
  --about-muted: rgba(255,255,255,0.62);
  --about-line: rgba(255,255,255,0.08);
  
 
  --about-shadow: 0 18px 46px rgba(0,0,0,0.28);
  color: #fff;
}

/* ---------------------------------
   Local container guardrails
--------------------------------- */
.page-about .container{
  width: 100%;
  max-width: var(--about-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------
   Shared type
--------------------------------- */
.page-about .eyebrow{
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(166,255,181,0.86);
  margin-bottom: 16px;
}

.page-about p{
  color: var(--about-text);
}

.page-about .section-heading{
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.page-about .section-heading--left{
  margin: 0 0 24px;
  text-align: left;
}

.page-about .section-heading h2{
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-about .about-values-title{
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;

  /* fallback */
  color: #dfe7ff;

  /* gradient text */
  background: linear-gradient(
    90deg,
    #8e99fb 0%,
    #c8d6ff 32%,
    #ffffff 52%,
    #d9fff0 72%,
    #a6ffb5 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* slight pop */
  filter: drop-shadow(0 8px 22px rgba(142,153,251,0.12));
}

.page-about .principles-shell .section-heading > p{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.page-about .section-heading p{
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--about-muted);
}

/* ---------------------------------
   Hero
--------------------------------- */
.page-about .about-hero{
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.page-about .about-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("../../img/photos/sustainability2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.04);
  animation: aboutHeroDrift 22s ease-in-out infinite alternate;
  z-index: 0;
}

.page-about .about-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(166,255,181,0.10), transparent 38%),
    radial-gradient(circle at 80% 24%, rgba(142,153,251,0.18), transparent 44%),
    linear-gradient(to bottom, rgba(11,13,18,0.60), rgba(11,13,18,0.72) 45%, rgba(11,13,18,0.92));
  z-index: 1;
}

.page-about .about-hero .container{
  position: relative;
  z-index: 2;
}

.page-about .about-hero__content{
  max-width: 860px;
  padding: calc(var(--header-h, 72px) + 48px) 0 72px;
}

.page-about .about-hero__title{
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 980px;
}

.page-about .about-hero__lead{
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}

@keyframes aboutHeroDrift{
  from{ transform: scale(1.05) translateY(0); }
  to{ transform: scale(1.12) translateY(-2%); }
}

/* ---------------------------------
   Sections
--------------------------------- */
.page-about .about-section{
  position: relative;
  padding: 72px 0;
}

.page-about .about-section--pullup{
  margin-top: -82px;
  z-index: 3;
}



/* ---------------------------------
   Principles shell
--------------------------------- */
.page-about .principles-shell{
  border: 1px solid var(--about-line);
  border-radius: 28px;
  padding: 36px 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(17,21,28,0.92));
  box-shadow: var(--about-shadow);
}

.page-about .principles-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.page-about .principle-item{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
}

.page-about .principle-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(166,255,181,0.22);
  background: rgba(166,255,181,0.05);
  color: rgba(166,255,181,0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-about .principle-item h3{
  margin: 2px 0 8px;
  font-size: 1.05rem;
}

.page-about .principle-item p{
  margin: 0;
  line-height: 1.72;
  color: rgba(255,255,255,0.74);
}

/* ---------------------------------
   STEM panel
--------------------------------- */
.page-about .stem-panel{
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 30px;
  border-radius: 28px;
  border: 1px solid var(--about-line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(18,23,30,0.90));
  box-shadow: var(--about-shadow);
}

.page-about .stem-copy p{
  margin: 0 0 16px;
  line-height: 1.86;
  color: rgba(255,255,255,0.78);
}

.page-about .stem-copy p:last-child{
  margin-bottom: 0;
}





/* ---------------------------------
   Photo band
--------------------------------- */
.page-about .about-photo-band{
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: 18px;
}

.page-about .about-photo-band__bg{
  position: absolute;
  inset: 0;
  background-image: url("../../img/photos/sustainability3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: saturate(1.03);
  transform: scale(1.03);
  z-index: 0;
}

.page-about .about-photo-band__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,13,18,0.88), rgba(11,13,18,0.46) 42%, rgba(11,13,18,0.88)),
    radial-gradient(circle at 50% 30%, rgba(142,153,251,0.10), transparent 44%);
  z-index: 1;
}

.page-about .about-photo-band .container{
  position: relative;
  z-index: 2;
}

.page-about .about-photo-band__content{
  max-width: 760px;
  padding: 78px 0;
}

.page-about .about-photo-band__content h2{
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-about .about-photo-band__content p{
  margin: 0;
  max-width: 640px;
  line-height: 1.82;
  color: rgba(255,255,255,0.78);
}




/* ---------------------------------
   Reveal
--------------------------------- */
.page-about .reveal{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition:
    opacity .9s cubic-bezier(0.2,0,0.2,1),
    transform .9s cubic-bezier(0.2,0,0.2,1),
    filter .9s cubic-bezier(0.2,0,0.2,1);
}

.page-about .reveal.show{
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------------------------------
   Responsive
--------------------------------- */
@media (min-width: 1101px){
  .page-about .principle-item:last-child{
    grid-column: 1 / -1;
    width: calc((100% - 22px) / 2);
    justify-self: center;
  }
}

@media (max-width: 1100px){
  
  .page-about .principles-list{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px){
  .page-about .about-hero{
    min-height: 62vh;
  }

  .page-about .about-hero__content{
    padding: calc(var(--header-h, 72px) + 34px) 0 56px;
  }

  .page-about .about-section{
    padding: 56px 0;
  }

  .page-about .about-section--pullup{
    margin-top: -48px;
  }

 .page-about .principles-shell,
.page-about .stem-panel{
    padding: 24px 20px;
    border-radius: 22px;
  }

  .page-about .principle-item{
    grid-template-columns: 46px 1fr;
    padding: 16px 14px;
  }

  .page-about .about-photo-band{
    min-height: 42vh;
  }

  .page-about .about-photo-band__content{
    padding: 58px 0;
  }
}

@media (max-width: 560px){
  .page-about .container{
    padding: 0 16px;
  }

  .page-about .about-hero{
    min-height: 56vh;
  }

  .page-about .about-hero__title{
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .page-about .about-values-title{
  font-size: clamp(2rem, 8.2vw, 3rem);
  line-height: 1.02;
}


  .page-about .about-hero__lead{
    font-size: 1rem;
    line-height: 1.72;
  }

  .page-about .section-heading h2,
.page-about .about-photo-band__content h2{
    letter-spacing: -0.03em;
  }

  .page-about .about-photo-band__content{
    padding: 50px 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-about .about-hero__bg{
    animation: none;
  }

  .page-about .reveal{
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}