/* ============================================================
   ABOUT — story of The Boyz
   ============================================================ */

/* ---------- Hero ---------- */
.ab-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(120px, 17vw, 210px) clamp(56px, 8vw, 96px);
  /* Team photo background, layered under dark scrims so the copy stays
     readable (darker on the left where the text sits, and at the bottom
     to blend into the next section) plus a warm flame glow up top. */
  background:
    radial-gradient(90% 70% at 12% 8%, rgba(255,91,62,.11), transparent 55%),
    linear-gradient(90deg, rgba(22,17,26,.80) 0%, rgba(22,17,26,.48) 50%, rgba(22,17,26,.24) 100%),
    linear-gradient(180deg, rgba(22,17,26,.18) 0%, rgba(22,17,26,.05) 42%, rgba(22,17,26,.85) 100%),
    url("../img/about-hero.jpeg") center / cover no-repeat,
    var(--bg);
}
.ab-hero__inner { 
  position: relative; 
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-hero__title { font-size: clamp(2.4rem, 6vw, 4rem); margin: 1rem 0 1.4rem; }
.ab-hero__wave { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.4rem; }

/* ---------- Story ---------- */
.ab-story__grid {
  display: grid; grid-template-columns: 1.4fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.ab-story__copy .section-title { margin: 1rem 0 1.6rem; }
.ab-story__copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 56ch; }
.ab-story__copy em { color: var(--flame-2); font-style: italic; }

.ab-story__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.ab-stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem 1.3rem;
  transition: transform .4s var(--ease), border-color .4s;
}
.ab-stat:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ab-stat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1; letter-spacing: -.02em;
  background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; margin-bottom: .5rem;
}
.ab-stat span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Mission / Vision ---------- */
.ab-mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ab-mv__card {
  background: #fff; border: 1px solid rgba(25,16,22,.10);
  border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 2.8rem);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.ab-mv__card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -26px rgba(25,16,22,.4); }
.ab-mv__tag {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--flame-1); display: inline-block; margin-bottom: 1rem;
}
.ab-mv__card h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink); line-height: 1.08; margin-bottom: 1rem; letter-spacing: -.01em;
}
.ab-mv__card p { color: #5b4d55; font-size: .98rem; }
.ab-mv__card--dark { background: var(--ink); border-color: var(--ink); box-shadow: var(--sh-flame); }
.ab-mv__card--dark .ab-mv__tag { color: var(--flame-2); }
.ab-mv__card--dark h3 { color: var(--cream); }
.ab-mv__card--dark p { color: var(--muted); }

/* ---------- Values ---------- */
.ab-values__head { max-width: 34ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.ab-values__head .section-title { margin-top: 1rem; }
.ab-values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.2rem; }
.val-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem 1.5rem;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.val-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.val-card__n {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em;
  color: var(--flame-2); display: block; margin-bottom: 1rem;
}
.val-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: .5rem; }
.val-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Timeline ---------- */
.ab-time__head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.ab-time__head .section-title { margin-top: 1rem; }
.ab-time__list { position: relative; display: flex; flex-direction: column; gap: 0; }
.ab-time__list::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(25,16,22,.25) 0 6px, transparent 6px 12px);
}
.tl-item { position: relative; padding: 0 0 2.2rem 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 2px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-flame); box-shadow: 0 0 0 4px var(--cream);
}
.tl-item__year {
  font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  color: var(--flame-1); display: block; margin-bottom: .35rem;
}
.tl-item h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.tl-item p { color: #5b4d55; font-size: .95rem; max-width: 54ch; }

/* ---------- Team ---------- */
.ab-team__head { max-width: 40ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.ab-team__head .section-title { margin: 1rem 0 1rem; }
.ab-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 1.2rem; }
.tm-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem; text-align: center;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.tm-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.tm-card__avatar {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #1b0f08;
  position: relative;
}
.tm-card__avatar::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--line-strong);
}
/* Display photo fills the same circular avatar frame as the initial letter */
.tm-card__photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.tm-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: .2rem; }
.tm-card__role { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--flame-2); }
.tm-card p { color: var(--muted); font-size: .88rem; margin-top: .8rem; }

/* ---------- CTA ---------- */
.ab-cta { background: radial-gradient(100% 120% at 50% 0%, rgba(168,92,255,.14), transparent 60%), var(--bg-2); text-align: center; }
.ab-cta__inner { display: flex; flex-direction: column; align-items: center; }
.ab-cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ab-story__grid { grid-template-columns: 1fr; }
  .ab-story__stats { position: static; }
  .ab-mv__grid { grid-template-columns: 1fr; }
}
