/* ============================================================
   VARSITY WISE — about.css
   Aesthetic: Editorial magazine · Deep crimson · Refined
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=DM+Sans:wght@400;500;600&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --crimson:        #9e0157;
  --crimson-dark:   #7a0041;
  --crimson-deeper: #5c0030;
  --crimson-light:  #fce7f3;
  --crimson-mid:    #f3c6dc;

  --ink:            #0f1117;
  --ink-80:         #1e2333;
  --ink-60:         #3d4461;
  --ink-40:         #6b7280;
  --ink-20:         #94a3b8;
  --ink-10:         #e2e8f0;
  --ink-05:         #f8fafc;

  --surface:        #ffffff;
  --surface-2:      #f9fafb;
  --surface-3:      #f1f5f9;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow-card:  0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover: 0 4px 8px rgba(0,0,0,.06), 0 16px 40px rgba(0,0,0,.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
}

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

body {
  font-family: var(--font-body);
  background: var(--surface-3);
  color: var(--ink);
  line-height: 1.6;
}

/* ── Page wrapper ────────────────────────────────────────── */
.about-page {
  min-height: 100vh;
}

/* ── HERO ────────────────────────────────────────────────── */
.about-hero {
  background: var(--crimson-deeper);
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 48px) clamp(40px, 6vw, 72px);
}

/* Faint geometric circles — mirrors newsletter section */
.about-hero::before,
.about-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255,255,255,.055);
}
.about-hero::before { width: 500px; height: 500px; top: -200px; right: -120px; }
.about-hero::after  { width: 300px; height: 300px; bottom: -150px; left: -80px; }

/* Hairline bottom rule — mirrors navbar bottom rule */
.about-hero-inner::after {
  content: '';
  display: block;
  margin-top: clamp(32px, 5vw, 52px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.15) 20%,
    rgba(255,255,255,.25) 50%,
    rgba(255,255,255,.15) 80%,
    transparent 100%
  );
}

.about-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Breadcrumb inside hero */
.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.about-breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.about-breadcrumb a:hover { color: #fff; }

/* Eyebrow */
.about-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 12px;
}

/* H1 */
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}
.about-title em {
  font-style: italic;
  color: rgba(255,255,255,.72);
}

/* Lead */
.about-lead {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

/* ── Body container ──────────────────────────────────────── */
.about-body {
  max-width: 900px;
  margin: 0 auto;
  padding:
    clamp(36px, 5vw, 60px)
    calc(clamp(16px, 5vw, 40px) + var(--safe-r))
    calc(clamp(64px, 10vw, 100px) + var(--safe-b))
    calc(clamp(16px, 5vw, 40px) + var(--safe-l));
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 52px);
}

/* ── Stat strip ──────────────────────────────────────────── */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--crimson);
  letter-spacing: -.02em;
  line-height: 1;
}

.about-stat-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-40);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.about-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ink-10);
  flex-shrink: 0;
}

/* ── Content sections ────────────────────────────────────── */
.about-section {
  background: var(--surface);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s;
}

.about-section:hover { box-shadow: var(--shadow-hover); }

/* Accent section — crimson background, mirrors footer/newsletter */
.about-section--accent {
  background: var(--crimson-deeper);
  border-color: rgba(255,255,255,.08);
}
.about-section--accent:hover { box-shadow: 0 4px 8px rgba(0,0,0,.1), 0 16px 40px rgba(0,0,0,.18); }

/* Section label (eyebrow) */
.about-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 10px;
}
.about-section-label--light { color: rgba(255,255,255,.55); }

/* Section heading */
.about-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.018em;
  line-height: 1.22;
  margin: 0 0 20px;
  padding-bottom: 14px;
  position: relative;
}

/* Crimson underline rule — replaces old purple border */
.about-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--crimson);
  border-radius: 1.5px;
}

.about-section-title--light { color: #fff; }
.about-section-title--light::after { background: rgba(255,255,255,.45); }

/* Body text */
.about-section-body p {
  font-size: clamp(.9rem, 1.8vw, 1rem);
  line-height: 1.8;
  color: var(--ink-60);
  margin: 0 0 1.2em;
}
.about-section-body p:last-child { margin-bottom: 0; }
.about-section-body strong { color: var(--ink-80); font-weight: 700; }

.about-section-body--light p { color: rgba(255,255,255,.75); }
.about-section-body--light strong { color: #fff; }

/* ── Checklist ───────────────────────────────────────────── */
.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: clamp(.875rem, 1.8vw, .975rem);
  color: var(--ink-60);
  line-height: 1.6;
}

/* Crimson checkmark — replaces purple ✓ */
.about-checklist li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--crimson-light);
  border: 1.5px solid var(--crimson-mid);
  flex-shrink: 0;
  margin-top: 2px;

  /* Drawn checkmark using background */
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%239e0157' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

/* Light variant checklist (accent section) */
.about-section--accent .about-checklist li {
  color: rgba(255,255,255,.78);
}
.about-section--accent .about-checklist li::before {
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Twin cards ──────────────────────────────────────────── */
.about-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .about-twin { grid-template-columns: 1fr; }
}

/* Card */
.about-card {
  background: var(--surface);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Crimson top rule — same 3px system token used on nl-card, navbar */
.about-card-rule {
  height: 3px;
  background: var(--crimson);
  flex-shrink: 0;
}

.about-card-body {
  padding: clamp(20px, 3vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
}

.about-card-note {
  font-size: .85rem;
  color: var(--ink-40);
  line-height: 1.65;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink-10);
}

/* ── CTA block ───────────────────────────────────────────── */
.about-cta {
  background: var(--crimson-deeper);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Top rule — same pattern */
.about-cta-rule {
  height: 3px;
  background: var(--crimson);
}

/* Faint circles inside CTA — mirrors hero */
.about-cta::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -120px; right: -80px;
  pointer-events: none;
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.about-cta-copy { flex: 1; min-width: 0; }

.about-cta-eyebrow {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 10px;
  display: block;
}

.about-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0 0 12px;
}

.about-cta-sub {
  font-size: clamp(.875rem, 1.8vw, .975rem);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

/* CTA button */
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #fff;
  color: var(--crimson-deeper);
  text-decoration: none;
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  flex-shrink: 0;
}

.about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  background: var(--crimson-light);
  color: var(--crimson-dark);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  .about-stats { justify-content: flex-start; gap: 16px 28px; }
  .about-stat-divider { display: none; }

  .about-cta-inner { flex-direction: column; align-items: flex-start; }
  .about-cta-btn { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .about-section,
  .about-card,
  .about-cta-btn { transition: none !important; }
}