/* =============================================
   ABOUT.CSS — APEX MENTORS
   Aesthetic: Clean White Editorial / Architectural
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0E0E0E;
  --ink2: #1A1A1A;
  --mid: #555;
  --muted: #999;
  --border: #E5E5E5;
  --cream: #FAF8F5;
  --accent: #2D5BE3;
  --accent2: #1A3DAF;
  --gold: #C8A96E;
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.4rem 0; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px); border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); padding: 1rem 0; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 0.15rem; }
.logo-apex { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: 0.1em; }
.logo-mentors { font-family: var(--font-body); font-size: 0.6rem; font-weight: 500; color: var(--muted); letter-spacing: 0.3em; text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 2rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--mid); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.03em; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; padding: 0.6rem 1.4rem; background: var(--ink); color: var(--white); text-decoration: none; font-size: 0.8rem; font-weight: 500; border-radius: 2px; transition: background 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ABOUT HERO */
.about-hero {
  min-height: 75vh; display: flex; align-items: flex-end; padding: 7rem 2rem 4rem;
  background: var(--ink); position: relative; overflow: hidden;
}
.ah-grid-lines {
  position: absolute; inset: 0; display: flex; pointer-events: none;
}
.ah-grid-lines div {
  flex: 1; border-right: 1px solid rgba(255,255,255,0.04);
}
.ah-content { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.ah-label {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1.5rem;
}
.ah-headline {
  font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800; line-height: 0.95; color: var(--white); margin-bottom: 2rem;
}
.ah-headline span { color: var(--accent); }
.ah-sub { font-size: 1.1rem; color: rgba(255,255,255,0.45); max-width: 580px; line-height: 1.75; font-weight: 300; }
.ah-scroll-tag {
  position: absolute; bottom: 2rem; right: 2rem;
  font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.2);
  writing-mode: vertical-rl; text-transform: uppercase;
}

/* STORY */
.story-section { padding: 7rem 2rem; background: var(--white); }
.story-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 5rem; }
.story-left { display: flex; flex-direction: column; align-items: center; padding-top: 0.5rem; }
.story-year { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--border); line-height: 1; }
.story-line-vert { width: 1px; flex: 1; min-height: 80px; background: var(--border); margin: 1rem 0; }
.story-tag { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.story-right h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--ink); margin-bottom: 1.5rem; }
.story-right p { font-size: 1rem; line-height: 1.85; color: var(--mid); margin-bottom: 1.25rem; }
.story-right p strong { color: var(--ink); font-weight: 600; }
.story-right p em { color: var(--accent); font-style: italic; }
.story-quote { border-left: 3px solid var(--accent); padding: 1.5rem 2rem; margin-top: 2.5rem; background: var(--cream); border-radius: 0 4px 4px 0; }
.story-quote i { color: var(--accent); font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.story-quote blockquote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.5; }
.story-quote cite { font-size: 0.8rem; color: var(--muted); }

/* MISSION / VISION */
.mv-section { background: var(--accent); padding: 6rem 2rem; }
.mv-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: stretch; }
.mv-card { padding: 3rem; }
.mv-divider { width: 1px; background: rgba(255,255,255,0.15); }
.mv-icon { font-size: 2rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.mv-card h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.mv-card p { font-size: 0.95rem; line-height: 1.85; color: rgba(255,255,255,0.65); }

/* NUMBERS */
.numbers-section { padding: 7rem 2rem; background: var(--cream); }
.nums-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1rem; }
.nums-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--ink); margin-bottom: 4rem; }
.nums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.num-block {
  padding: 3rem 2.5rem; border-right: 1px solid var(--border);
  transition-delay: var(--d);
}
.num-block:nth-child(3n) { border-right: none; }
.num-block:nth-child(n+4) { border-top: 1px solid var(--border); }
.num-block:hover { background: var(--white); }
.num-big { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: var(--accent); line-height: 1; }
.num-plus { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.num-block p { font-size: 0.88rem; color: var(--mid); margin-top: 0.75rem; line-height: 1.6; }

/* FACULTY */
.faculty-section { padding: 7rem 2rem; background: var(--white); }
.fac-inner { max-width: 1280px; margin: 0 auto; }
.fac-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--ink); margin-bottom: 3.5rem; }
.fac-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); }
.fac-card { background: var(--white); display: flex; gap: 2rem; padding: 2.5rem; transition: background 0.3s; }
.fac-card:hover { background: var(--cream); }
.fac-img-wrap { flex-shrink: 0; position: relative; }
.fac-img-placeholder {
  width: 90px; height: 110px; background: var(--cream);
  border: 1px solid var(--border); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--muted);
}
.fac-img-tag { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--white); font-size: 0.62rem; letter-spacing: 0.1em; padding: 0.2rem 0.5rem; border-radius: 2px; white-space: nowrap; }
.fac-info h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.fac-role { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.03em; display: block; margin-bottom: 0.75rem; }
.fac-info p { font-size: 0.84rem; line-height: 1.7; color: var(--mid); margin-bottom: 1rem; }
.fac-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fac-chips span { font-size: 0.68rem; background: rgba(45,91,227,0.08); color: var(--accent); padding: 0.25rem 0.6rem; border-radius: 100px; border: 1px solid rgba(45,91,227,0.15); letter-spacing: 0.03em; }

/* VALUES */
.values-section { padding: 7rem 2rem; background: var(--ink); }
.val-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.val-left .section-label { color: var(--accent); }
.val-left h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: var(--white); margin-bottom: 1.5rem; line-height: 1.05; }
.val-left p { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.45); margin-bottom: 2.5rem; }
.val-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: var(--white); text-decoration: none; padding: 0.85rem 2rem; font-size: 0.85rem; font-weight: 500; border-radius: 2px; transition: background 0.3s, transform 0.3s; }
.val-cta:hover { background: #3D6CF0; transform: translateY(-2px); }
.val-item { display: flex; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition-delay: var(--d); }
.val-item:last-child { border-bottom: none; }
.val-num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.15); padding-top: 0.2rem; min-width: 28px; }
.val-text h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.val-text p { font-size: 0.85rem; line-height: 1.75; color: rgba(255,255,255,0.4); }

/* ABOUT CTA */
.about-cta { padding: 6rem 2rem; background: var(--cream); text-align: center; }
.ac-inner { max-width: 600px; margin: 0 auto; }
.ac-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); margin-bottom: 1rem; }
.ac-inner p { font-size: 1rem; color: var(--mid); margin-bottom: 2.5rem; }
.ac-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-accent { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: var(--white); text-decoration: none; padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 500; border-radius: 2px; transition: all 0.3s; }
.btn-accent:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; padding: 0.85rem 2rem; font-size: 0.9rem; border-radius: 2px; transition: all 0.3s; }
.btn-ghost-light:hover { background: var(--ink); color: var(--white); }

/* FOOTER */
.footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-apex { color: var(--white); font-size: 1.3rem; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.3); line-height: 1.7; margin-top: 0.75rem; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; text-decoration: none; transition: all 0.3s; }
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-links h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { text-decoration: none; font-size: 0.84rem; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-contact h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-contact p { font-size: 0.83rem; color: rgba(255,255,255,0.35); margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.footer-contact i { color: var(--accent); width: 12px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.2); flex-wrap: wrap; gap: 1rem; }
.footer-bottom i { color: var(--accent); }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[style*="--d"] { transition-delay: var(--d); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .story-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-left { flex-direction: row; align-items: center; gap: 1.5rem; }
  .story-line-vert { width: 60px; height: 1px; min-height: auto; margin: 0; }
  .mv-inner { grid-template-columns: 1fr; }
  .mv-divider { display: none; }
  .nums-grid { grid-template-columns: repeat(2,1fr); }
  .num-block:nth-child(3n) { border-right: 1px solid var(--border); }
  .num-block:nth-child(2n) { border-right: none; }
  .fac-grid { grid-template-columns: 1fr; }
  .val-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nums-grid { grid-template-columns: 1fr; }
  .num-block { border-right: none !important; }
  .fac-card { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
}
