/* ============================================================
   Edu2Future LLC — About
   Extends "Editorial Prestige" (study-usa.css). Animated imagery.
   Page-specific components, .ab- prefixed.
   ============================================================ */

/* ============================================================
   ANIMATED FIGURE — framed photo, gold brackets, ken-burns
   ============================================================ */
.ab-figure { position: relative; width: min(100%, 480px); }
.ab-figure-hero { margin-left: auto; }
.ab-figure-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.03);
}
.ab-figure-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.04);
  animation: ab-kenburns 20s ease-in-out infinite alternate;
}
.ab-figure-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7,18,40,.45));
}
@keyframes ab-kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}

/* gold corner brackets */
.ab-figure::before,
.ab-figure::after {
  content: "";
  position: absolute;
  width: 52px; height: 52px;
  border: 2px solid var(--su-gold);
  z-index: 2;
  pointer-events: none;
}
.ab-figure::before { top: -13px; left: -13px; border-right: none; border-bottom: none; }
.ab-figure::after  { bottom: -13px; right: -13px; border-left: none; border-top: none; }

/* floating badge (light chip) */
.ab-figure-badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 48px -16px rgba(0,0,0,.55);
  animation: ab-float 9s ease-in-out infinite;
}
.ab-figure-badge svg { width: 26px; height: 26px; color: var(--su-gold); flex: none; }
.ab-figure-badge-ico {
  flex: none; width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.4);
  color: var(--su-gold);
}
.ab-figure-badge-ico svg { width: 19px; height: 19px; }
.ab-figure-badge b { display: block; color: var(--su-ink); font-size: .94rem; line-height: 1.15; }
.ab-figure-badge span { font-size: .74rem; color: var(--color-paragraph); }

/* gold ribbon tag (top-right) */
.ab-figure-tag {
  position: absolute;
  top: -16px; right: -14px;
  z-index: 3;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--su-gold);
  color: #1a1407;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 16px 34px -14px rgba(212,175,55,.7);
  animation: ab-float 8s ease-in-out infinite;
}
@keyframes ab-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ============================================================
   HERO
   ============================================================ */
.ab-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(212,175,55,.18), transparent 58%),
    radial-gradient(820px 660px at 100% 16%, rgba(70,120,190,.26), transparent 60%),
    linear-gradient(155deg, #0e2950 0%, #0b1f3a 52%, #071528 100%);
}
.ab-hero-aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(440px 440px at 24% 32%, rgba(120,170,235,.14), transparent 70%),
    radial-gradient(520px 520px at 82% 66%, rgba(212,175,55,.12), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, #000 74%, transparent);
  mask-image: linear-gradient(180deg, #000, #000 74%, transparent);
  animation: hero-drift 16s ease-in-out infinite alternate;
}
.ab-hero .su-hero-grid { position: relative; z-index: 1; align-items: center; }
.ab-hero-text .su-display { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.ab-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #C9D6E5;
  font-size: .95rem;
  font-weight: 500;
}
.ab-hero-pin {
  flex: none; width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.32);
  color: var(--su-gold);
}
.ab-hero-pin svg { width: 18px; height: 18px; }
.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* hero load entrance */
.ab-hero-text > *,
.ab-figure-hero {
  opacity: 0;
  animation: hero-rise .85s cubic-bezier(.22,.61,.36,1) forwards;
}
.ab-hero-text > *:nth-child(1) { animation-delay: .10s; }
.ab-hero-text > *:nth-child(2) { animation-delay: .20s; }
.ab-hero-text > *:nth-child(3) { animation-delay: .30s; }
.ab-hero-text > *:nth-child(4) { animation-delay: .40s; }
.ab-hero-text > *:nth-child(5) { animation-delay: .50s; }
.ab-figure-hero { animation: hero-rise-frame 1s cubic-bezier(.22,.61,.36,1) .35s forwards; }

/* ============================================================
   MISSION — pillars + recognition (image-free)
   ============================================================ */
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-pillar {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: 20px;
  padding: 42px 32px 36px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ab-pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--su-gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s ease;
}
.ab-pillar:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -34px rgba(11,31,58,.34); border-color: transparent; }
.ab-pillar:hover::before { transform: scaleX(1); }
.ab-pillar-ico {
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--su-gold);
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.32);
}
.ab-pillar-ico svg { width: 28px; height: 28px; }
.ab-pillar h3 {
  font-family: var(--su-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--su-ink);
  margin-bottom: 12px;
}
.ab-pillar p { color: var(--color-paragraph); font-size: .96rem; line-height: 1.65; }

/* recognition strip */
.ab-recognition {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(160deg, #fffdf7, var(--su-ivory-deep));
  border: 1px solid rgba(212,175,55,.28);
}
.ab-recognition-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.ab-recognition-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.ab-recognition-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--su-line);
  font-family: var(--su-serif);
  font-size: 1.18rem;
  color: var(--su-ink);
  box-shadow: 0 14px 34px -22px rgba(11,31,58,.4);
  transition: transform .25s ease, border-color .25s ease;
}
.ab-recognition-badge:hover { transform: translateY(-3px); border-color: rgba(212,175,55,.5); }
.ab-recognition-badge svg { width: 24px; height: 24px; color: var(--su-gold); }
.ab-recognition-note {
  margin-top: 20px;
  font-family: var(--su-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--color-paragraph);
}

/* ============================================================
   STATS
   ============================================================ */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ab-stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.ab-stat:hover { transform: translateY(-6px); background: rgba(212,175,55,.06); border-color: rgba(212,175,55,.4); }
.ab-stats .stat-number { color: #fff; margin-bottom: 12px; }
.ab-stat-label { font-size: .95rem; font-weight: 600; color: #AEBCCD; letter-spacing: .01em; }

/* ============================================================
   FOUNDER MESSAGE
   ============================================================ */
.ab-founder {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 120px) 0;
  background:
    radial-gradient(700px 420px at 88% 0%, rgba(212,175,55,.12), transparent 60%),
    linear-gradient(160deg, #0d2444, #071528);
  color: #fff;
}
.ab-founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ab-founder-copy .su-eyebrow { margin-bottom: 4px; }
.ab-founder-quote {
  position: relative;
  font-family: var(--su-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.22;
  color: #fff;
  margin: 1.6rem 0 1.6rem;
  max-width: 22em;
}
.ab-founder-mark {
  position: absolute;
  top: -0.62em; left: -0.06em;
  font-size: 4.6rem;
  line-height: 1;
  color: rgba(212,175,55,.3);
  pointer-events: none;
}
.ab-founder-text { color: #B9C6D6; font-size: 1.06rem; line-height: 1.8; max-width: 34em; }
.ab-founder-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ab-sign-img {
  width: min(170px, 42vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.ab-sign-name { font-family: var(--su-serif); font-weight: 500; font-size: 1.15rem; color: #fff; }
.ab-sign-role { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #AEBCCD; margin-top: 2px; }

/* ============================================================
   WHO WE ARE — prose
   ============================================================ */
.ab-prose .su-head { max-width: none; }
.ab-prose-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
}
.ab-prose-cols p { color: var(--color-paragraph); font-size: 1.06rem; line-height: 1.85; }

/* ============================================================
   PURPOSE (extends su-cta)
   ============================================================ */
.ab-purpose .ab-purpose-lede {
  max-width: 46em;
  margin: 22px auto 0;
  color: #C9D6E5;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.85;
  text-align: center;
}
.ab-purpose .ab-hero-actions { margin-top: 36px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .ab-pillars { grid-template-columns: 1fr; }
  .ab-figure-hero { margin: 0 auto; }
  .ab-founder-grid { grid-template-columns: 1fr; }
  .ab-prose-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ab-stats { grid-template-columns: 1fr; }
  .ab-figure-badge { left: 50%; transform: translateX(-50%); }
  .ab-founder-sign { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ab-figure-photo img,
  .ab-figure-badge,
  .ab-figure-tag,
  .ab-hero-aura { animation: none !important; }
  .ab-figure-photo img { transform: none !important; }
  .ab-hero-text > *,
  .ab-figure-hero {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
