/* ============================================================
   VARSITY WISE — prospectuses.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-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; }

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

/* ── Page wrapper ────────────────────────────────────────── */
.prosp-page {
  padding:
    clamp(20px, 3vw, 36px)
    calc(clamp(14px, 4vw, 40px) + var(--safe-r))
    calc(clamp(64px, 12vw, 100px) + var(--safe-b))
    calc(clamp(14px, 4vw, 40px) + var(--safe-l));
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.prosp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 20px;
}

.prosp-breadcrumb a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .15s;
}

.prosp-breadcrumb a:hover {
  color: #fff;
}


/* ── Inner container ─────────────────────────────────────── */
.prosp-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Page header ─────────────────────────────────────────── */
.prosp-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
  position: relative;
  background: var(--crimson-deeper);
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px) clamp(20px, 5vw, 48px) clamp(28px, 4vw, 48px);

}

/* Faint geometric circles */
.prosp-header::before,
.prosp-header::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .055);
}

.prosp-header::before {
  width: 480px;
  height: 480px;
  top: -190px;
  right: -110px;
}

.prosp-header::after {
  width: 280px;
  height: 280px;
  bottom: -130px;
  left: -70px;
}

.prosp-header-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.prosp-header > * { position: relative; z-index: 1; }

.prosp-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  display: block;
  margin-bottom: 12px;
}

.prosp-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.prosp-title em {
  font-style: italic;
  color: rgba(255, 255, 255, .70);
}

.prosp-subtitle {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, .65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.68;
}

/* ── Prospectus grid ─────────────────────────────────────── */
.prosp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
  animation: fadeIn .45s ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Prospectus card ─────────────────────────────────────── */
.prosp-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-card);
  transition: transform .28s cubic-bezier(.4,0,.2,1),
              box-shadow .28s cubic-bezier(.4,0,.2,1),
              border-color .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.prosp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--crimson-mid);
}

/* Image area */
.prosp-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--surface-3);
  flex-shrink: 0;
}

.prosp-img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  display: block;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  padding: 8px; /* slight inset so cover art breathes */
}

.prosp-card:hover .prosp-img { transform: scale(1.04); }

/* No-image fallback */
.prosp-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  background: linear-gradient(135deg, var(--crimson-deeper) 0%, var(--crimson-dark) 100%);
  color: rgba(255,255,255,.75);
  padding: 24px;
  text-align: center;
}

.prosp-no-img-icon {
  font-size: 3rem;
  opacity: .55;
}

.prosp-no-img-text {
  font-family: var(--font-display);
  font-size: .975rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* Content strip */
.prosp-content {
  border-top: 1px solid var(--ink-10);
  padding: 18px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

/* Crimson left rule on content — mirrors category sidebar active item */
.prosp-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  border-radius: 0 2px 2px 0;
}

.prosp-card:hover .prosp-content::before { transform: scaleY(1); }

.prosp-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-80);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
  transition: color .2s;
}

.prosp-card:hover .prosp-name { color: var(--crimson); }

/* Download CTA row */
.prosp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.prosp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  transition: gap .18s, color .18s;
}

.prosp-cta-link:hover { gap: 9px; color: var(--crimson-dark); }

.prosp-pdf-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--crimson-light);
  color: var(--crimson-dark);
  border: 1px solid var(--crimson-mid);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Ad slot ─────────────────────────────────────────────── */
.prosp-ad {
  background: var(--surface-2);
  border: 1px dashed var(--ink-10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: var(--ink-20);
  font-size: .8rem;
}

/* ── Empty state ─────────────────────────────────────────── */
.prosp-empty {
  text-align: center;
  padding: clamp(56px, 10vw, 100px) 24px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-sm);
}

.prosp-empty-icon {
  font-size: 3rem;
  opacity: .25;
  margin-bottom: 16px;
}

.prosp-empty-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-60);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.prosp-empty-text {
  font-size: .9rem;
  color: var(--ink-20);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Footer ad ───────────────────────────────────────────── */
.prosp-footer-ad {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hide-on-mobile { display: none; }
  .prosp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .prosp-ad { grid-column: span 1; }

  .prosp-img-wrap { height: 220px; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .prosp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .prosp-grid { grid-template-columns: repeat(3, 1fr); }

  .prosp-ad {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prosp-card,
  .prosp-img,
  .prosp-content::before { transition: none !important; }
}