/* =========================================================
   about.css — CLEAN ABOUT PAGE (AWWWARDS-STYLE INTRO)
   - Hero + paper intro
   - Awwwards-style About intro layout
   - Optional stacked photo swap (two photos overlap)
   - Scroll reveal (hidden until scroll)
   - Optional on-load fade-in (stays blurry until scroll)
========================================================= */

/* -------------------------
   PAGE BASE
------------------------- */
.about-page{ background: var(--bg); }

/* =========================================================
   HERO
========================================================= */
.about-page .about-hero{
  position:relative;
  min-height:320px;
  display:flex;
  align-items:center;
  text-align:center;
  background-image: var(--about-hero);
  background-size: cover;
  background-position: center;
  overflow:hidden;
}
.about-page .about-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.58));
}
.about-page .about-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--grain);
  background-size: cover;
  background-position:center;
  opacity:.08;
  pointer-events:none;
}
.about-page .about-hero__inner{
  position:relative;
  z-index:2;
  padding:86px 0 74px;
  color:#fff;
}
.about-page .about-hero h1{
  margin:0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.05rem);
  line-height:1.05;
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.about-page .about-hero p{
  margin:0 auto;
  max-width:62ch;
  color: rgba(255,255,255,.88);
  font-size:1.06rem;
}
.about-page .about-hero__actions{
  margin-top:16px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================================================
   ABOUT INTRO — NEW “AWWWARDS-STYLE” SECTION
========================================================= */
.about-page .about-intro{
  position: relative;
  padding: 64px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.75), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 85% 70%, rgba(0,0,0,.05), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #f6f2ec, #f4f0ea);
}

.about-page .about-intro .container{
  position:relative;
  z-index:1;
}

/* IMPORTANT:
   Your HTML should be:
   <div class="about-intro__grid about-intro--awwwards"> ... */
.about-page .about-intro__grid.about-intro--awwwards{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* LEFT photo card (single-photo version) */
.about-page .about-intro__photoCard{
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.14);
  position: relative;
}
.about-page .about-intro__photoCard img{
  width:100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  display:block;
}

/* RIGHT content */
.about-page .about-intro__content{ padding-top: 6px; }
.about-page .about-intro__title{
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  color: rgba(0,0,0,.82);
}
.about-page .about-intro__lede{
  margin: 0 0 22px;
  max-width: 62ch;
  color: rgba(0,0,0,.60);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* points list */
.about-page .about-intro__points{
  list-style:none;
  padding:0;
  margin: 0 0 18px;
  display:grid;
  gap: 14px;
}
.about-page .about-intro__points li{
  display:grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items:start;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.06);
}
.about-page .about-intro__points .pt-ico{
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(200,154,52,.16);
  border: 1px solid rgba(200,154,52,.22);
  font-size: 16px;
}
.about-page .about-intro__points strong{
  display:block;
  margin: 0 0 4px;
  color: rgba(0,0,0,.78);
  font-weight: 900;
}
.about-page .about-intro__points p{
  margin: 0;
  color: rgba(0,0,0,.56);
  line-height: 1.6;
  font-size: .97rem;
}

/* optional logos row */
.about-page .about-intro__logos{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.10);
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.about-page .about-intro__logos .logo-pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.58);
  font-size: .92rem;
}

/* =========================================================
   OPTIONAL: STACKED PHOTO SWAP SYSTEM (two photos overlap)
   Use this IF your HTML has:
   <figure class="about-intro__photo ...">
     <img class="profile-photo is-primary" ...>
     <img class="profile-photo is-secondary" ...>
   </figure>
========================================================= */
/* PHOTO CARD + STACKED SWAP (FIX) */
.about-page .about-intro__photoCard.about-intro__photo{
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.14);
  position: relative;
  overflow: hidden;

  /* IMPORTANT: gives the container height so absolute images can fill it */
  aspect-ratio: 4 / 3; /* change to 3/4 if you want taller */
}

/* stack BOTH images */
.about-page .about-intro__photoCard.about-intro__photo .profile-photo{
  position: absolute;
  inset: 14px;              /* matches padding */
  width: calc(100% - 28px); /* ensures proper sizing */
  height: calc(100% - 28px);

  object-fit: cover;
  object-position: center;
  border-radius: 10px;

  transition: opacity 700ms ease, transform 900ms cubic-bezier(.22,.61,.36,1);
}

/* initial */
.about-page .about-intro__photoCard .profile-photo.is-primary{
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}
.about-page .about-intro__photoCard .profile-photo.is-secondary{
  opacity: 0;
  transform: translateX(-24px);
  z-index: 1;
}

/* swapped */
.about-page .about-intro__photoCard.is-swapped .profile-photo.is-primary{
  opacity: 0;
  transform: translateX(18px);
}
.about-page .about-intro__photoCard.is-swapped .profile-photo.is-secondary{
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   CHECKS ROW
========================================================= */
.about-page .about-checks{
  grid-column: 1 / -1;
  margin:16px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:44px;
  align-items:center;
  justify-content:flex-start;
  list-style:none;
  padding:0;
}
.about-page .about-checks li{
  display:flex;
  align-items:center;
  font-style: italic;
  font-weight:700;
  color: rgba(0,0,0,.66);
}
.about-page .about-checks li::before{
  content:"✓";
  margin-right:10px;
  color:#d07a1e;
  font-weight:900;
}

/* =========================================================
   SECTION SEPARATORS
========================================================= */
.about-page .about-section::before,
.about-page .about-cta::before{
  content:"";
  display:block;
  width:140px;
  height:2px;
  margin:0 auto 34px;
  background: linear-gradient(to right, transparent, #d07a1e, transparent);
  opacity:.55;
}

/* =========================================================
   NEXT SECTIONS
========================================================= */
.about-page .about-section,
.about-page .about-cta{
  position:relative;
  padding:66px 0;
  background: linear-gradient(180deg, rgba(244,240,234,.96), rgba(244,240,234,.98));
}
.about-page .about-title{
  margin:0 0 10px;
  text-align:center;
  font-size: clamp(2.0rem, 3vw, 2.45rem);
  color: rgba(0,0,0,.78);
  position:relative;
}
.about-page .about-title span{
  display:inline-block;
  padding:0 16px;
  background: rgba(244,240,234,.98);
}
.about-page .about-title::before{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  top:52%;
  width: min(760px, 92%);
  height:1px;
  background: rgba(0,0,0,.18);
  z-index:-1;
}
.about-page .about-sub{
  text-align:center;
  margin:0 auto 34px;
  max-width:70ch;
  color: rgba(0,0,0,.55);
}

/* =========================================================
   ABOUT — VISUAL "WHAT MAKES ME DIFFERENT"
========================================================= */

.about-visual-diff{
  padding: 86px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,0,0,.04), transparent 55%),
    linear-gradient(180deg, #f6f2ec, #f4f0ea);
}

.about-visual-diff__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* left text */
.about-visual-diff__content{
  padding-top: 12px;
}

.about-visual-diff__content .about-title{
  text-align: left;
  margin-bottom: 12px;
}

.about-visual-diff__content .about-sub{
  text-align: left;
  max-width: 46ch;
}

/* cards grid */
.about-visual-diff__cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* individual card */
.diff-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.diff-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.diff-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay */
.diff-card__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,.65) 100%);
  color: #fff;
}

.diff-card__overlay h3{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.diff-card__overlay span{
  font-size: .9rem;
  opacity: .85;
}

/* FORCE LEFT ALIGNMENT FOR TEXT BLOCK */
.about-visual-diff__content{
  text-align: left;
}

.about-visual-diff__content .about-title{
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.about-visual-diff__content .about-sub{
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 46ch;
}

/* =========================================================
   WHY WIIGWAAS — tiles
========================================================= */
.about-page .about-problems{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:24px;
  margin-top:26px;
}
.about-page .problem{
  background: rgba(255,255,255,.75);
  padding:18px 16px;
  border-radius:14px;
  text-align:center;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-page .problem:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}
.about-page .problem__label{ margin-top:6px; }

/* =========================================================
   REVEALS
   - fx-reveal: hidden/blurred until .is-visible (scroll)
   - fx-onload: fades in on load but stays blurry until scroll
========================================================= */

/* base hidden state (your “blurry until scroll” look) */
.about-page .fx-reveal{
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition:
    opacity 0.95s ease,
    transform 1.05s cubic-bezier(.2,.8,.2,1),
    filter 1.05s ease;
  will-change: opacity, transform, filter;
}

/* reveal on scroll */
.about-page .fx-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* on-load fade (still blurred), requires JS to add .is-loaded */
.about-page .fx-reveal.fx-onload.is-loaded{
  opacity: 1;
  transform: translateY(0);
  /* blur stays until .is-visible */
}

/* small stagger helpers */
.about-page .fx-delay{ transition-delay: 120ms; }
.about-page .fx-reveal.delay-1{ transition-delay: 160ms; }
.about-page .fx-reveal.delay-2{ transition-delay: 220ms; }
.about-page .fx-reveal.delay-3{ transition-delay: 280ms; }
.about-page .fx-reveal.delay-4{ transition-delay: 340ms; }
.about-page .fx-reveal.delay-5{ transition-delay: 360ms; }

/* photo slide-in */
.about-page .fx-photo{
  opacity: 0;
  transform: translateX(140px);
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.about-page .fx-photo.is-visible{
  opacity: 1;
  transform: translateX(0);
}
.about-page .fx-photo.fx-slow{
  transition-duration: 2.2s, 2.2s;
}

/* =========================
   PROCESS SECTION
========================= */

.about-process{
  padding: 86px 0;
  background: #f6f2ec;
}

.process-steps{
  max-width: 720px;
  margin: 48px auto 0;
  list-style: none;
  padding: 0;
}

.process-steps li{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}

.process-steps li:not(:last-child)::after{
  content:"";
  position: absolute;
  left: 32px;
  top: 72px;
  bottom: -12px;
  width: 1px;
  background: rgba(0,0,0,.15);
}

.step-num{
  font-size: 0.9rem;
  font-weight: 700;
  color: #c89a34;
  letter-spacing: .08em;
}

.step-content h3{
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: rgba(0,0,0,.85);
}

.step-content p{
  margin: 0;
  color: rgba(0,0,0,.6);
  line-height: 1.65;
}





/* =========================================================
   RESPONSIVE
========================================================= */
/* Mobile */
@media (max-width: 640px){
  .process-steps li{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-steps li::after{
    display: none;
  }

  .step-num{
    font-size: .8rem;
  }
}


@media (max-width: 980px){
  .about-visual-diff__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-visual-diff__cards{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px){
  .about-visual-diff__cards{
    grid-template-columns: 1fr;
  }
}


/* accessibility */
@media (prefers-reduced-motion: reduce){
  .about-page .fx-reveal,
  .about-page .fx-photo{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px){
  .about-page .about-hero__inner{ padding:78px 0 64px; }
  .about-page .about-intro{ padding:44px 0 32px; }

  .about-page .about-intro__grid.about-intro--awwwards{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-page .about-intro__photoCard img{ height: 320px; }

  .about-page .about-intro__photo{
    justify-self:center;
    max-width:520px;
  }

  .about-page .about-checks{
    justify-content:center;
    gap:16px 28px;
  }

  .about-page .fx-photo{ transform: translateX(90px); }
}
