/* =============================================================
   Capital Rising — Sitewide Styles
   Strategic Plan 2026–2031
   rising.capital.edu
   ============================================================= */

/* -------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #3F2D5D;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip to main content — accessibility */
.cr-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #fff;
  color: #3F2D5D;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}

.cr-skip-link:focus {
  top: 0;
}

/* Focus styles — visible for keyboard nav */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #E1BBFF;
  outline-offset: 3px;
  border-radius: 2px;
}

/* -------------------------------------------------------------
   BRAND COLOR TOKENS
   ------------------------------------------------------------- */
:root {
  /* Core palette */
  --color-purple-deep:    #3F2D5D;
  --color-purple-mid:     #2C1F45;
  --color-purple-dark:    #1e1330;
  --color-purple-hover:   #4a3570;
  --color-purple-tint:    #E1BBFF;

  /* Pillar accent colors (sourced from designer SVGs) */
  --color-purpose:        #8659a5;
  --color-people:         #f8c34c;
  --color-pursuits:       #f3735a;
  --color-place:          #5ccae8;
  --color-resources:      #19b38f;

  /* UI colors */
  --color-green:          #1EB490;
  --color-white:          #ffffff;
  --color-soft-black:     #2C2C2C;

  /* Opacity layers */
  --border-subtle:        rgba(255,255,255,0.12);
  --border-faint:         rgba(255,255,255,0.08);
  --text-muted:           rgba(255,255,255,0.7);
  --text-dim:             rgba(255,255,255,0.5);
  --text-secondary:       rgba(255,255,255,0.85);
  --text-body-dark:       rgba(44,44,44,0.75);

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Section padding — responsive */
  --section-pad: clamp(3rem, 6vw, 5rem);
  --side-pad:    clamp(1.25rem, 5vw, 2.5rem);
}

/* -------------------------------------------------------------
   TYPOGRAPHY SCALE
   All sizes use clamp() for fluid scaling. Minimum is always
   readable; no text below 0.875rem (14px) in body copy.
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

p {
  line-height: 1.75;
}

/* -------------------------------------------------------------
   LAYOUT
   ------------------------------------------------------------- */
.cr-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

/* -------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------- */
.cr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--side-pad);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--color-purple-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}

.cr-nav-logo {
  font-size: clamp(0.7rem, 1.5vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cr-nav-logo span {
  color: var(--color-purple-tint);
}

.cr-nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cr-nav-links a {
  font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  white-space: nowrap;
}

.cr-nav-links a:hover {
  color: var(--color-purple-tint);
}

/* Mobile nav: collapse links at small screens */
@media (max-width: 540px) {
  .cr-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    gap: 0.625rem;
  }

  .cr-nav-links {
    gap: 1rem;
  }
}

/* -------------------------------------------------------------
   SECTION PRIMITIVES
   ------------------------------------------------------------- */
.cr-section-purple {
  background: var(--color-purple-deep);
  padding: var(--section-pad) var(--side-pad);
}

.cr-section-dark {
  background: var(--color-purple-mid);
  padding: var(--section-pad) var(--side-pad);
}

.cr-section-light {
  background: var(--color-white);
  padding: var(--section-pad) var(--side-pad);
  color: var(--color-soft-black);
}

.cr-section-updates {
  background: var(--color-purple-deep);
  padding: var(--section-pad) var(--side-pad);
}

/* -------------------------------------------------------------
   EYEBROWS & HEADINGS
   ------------------------------------------------------------- */
.cr-eyebrow,
.cr-eyebrow-dim,
.cr-goals-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.cr-eyebrow            { color: var(--color-green); }
.cr-eyebrow-dim        { color: var(--text-dim); }

.cr-goals-eyebrow--purpose   { color: var(--color-purpose); }
.cr-goals-eyebrow--people    { color: var(--color-people); }
.cr-goals-eyebrow--pursuits  { color: var(--color-pursuits); }
.cr-goals-eyebrow--place     { color: var(--color-place); }
.cr-goals-eyebrow--resources { color: var(--color-resources); }

.cr-heading-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.cr-heading-xl em {
  font-style: italic;
  color: var(--color-purple-tint);
}

.cr-heading-lg {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.cr-heading-lg-dark {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  color: var(--color-purple-deep);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.cr-heading-md {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  color: var(--color-white);
  margin-bottom: 2rem;
}

.cr-heading-sm {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.cr-body {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.cr-intro {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  color: var(--text-body-dark);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* -------------------------------------------------------------
   HERO — tree-centered composition with pillar icons at base
   ------------------------------------------------------------- */
.cr-hero-section {
  position: relative;
  overflow: hidden;
  background: var(--color-purple-deep);
}

/* Tree — centered behind everything, large */
.cr-hero-tree {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(480px, 80vw, 860px);
  height: auto;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
  /* Fade bottom so roots dissolve — icons sit over this area */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 55%, rgba(0,0,0,0.3) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 55%, rgba(0,0,0,0.3) 80%, transparent 100%);
}

/* Hero content — centered column */
.cr-hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5rem) var(--side-pad) clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Wordmark + tagline block — centered over tree canopy */
.cr-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cr-hero-wordmark {
  display: block;
  width: clamp(260px, 45vw, 520px);
  height: auto;
  margin-bottom: 1.75rem;
}

.cr-hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cr-hero-tagline em {
  font-style: normal;
  color: var(--color-purple-tint);
}

.cr-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-green);
}

/* Pillar icons — arc along the base like roots */
.cr-hero-pillars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

/* Arc effect: middle icon sits lowest, outer ones rise */
.cr-hero-pillar:nth-child(1) { transform: translateY(-16px); }
.cr-hero-pillar:nth-child(2) { transform: translateY(-6px); }
.cr-hero-pillar:nth-child(3) { transform: translateY(0); }
.cr-hero-pillar:nth-child(4) { transform: translateY(-6px); }
.cr-hero-pillar:nth-child(5) { transform: translateY(-16px); }

.cr-hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s;
  opacity: 0.9;
}

.cr-hero-pillar:hover {
  opacity: 1;
  transform: translateY(-4px) !important;
}

.cr-hero-pillar img {
  width: clamp(56px, 8vw, 88px);
  height: clamp(56px, 8vw, 88px);
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.cr-hero-pillar span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Supporting copy and CTA — below the composition */
.cr-hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.cr-hero-footer .cr-body {
  text-align: center;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.cr-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}

.cr-hero-cta:hover {
  background: #18a07e;
}

/* Wordmark divider — no longer used, kept for safety */
.cr-hero-divider { display: none; }

@media (max-width: 600px) {
  .cr-hero-tree {
    width: 120vw;
    opacity: 0.1;
    top: -5%;
  }

  .cr-hero-pillars {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cr-hero-pillar:nth-child(1),
  .cr-hero-pillar:nth-child(2),
  .cr-hero-pillar:nth-child(3),
  .cr-hero-pillar:nth-child(4),
  .cr-hero-pillar:nth-child(5) {
    transform: none;
  }
}

/* -------------------------------------------------------------
   STATS STRIP
   ------------------------------------------------------------- */
.cr-divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--border-subtle);
}

.cr-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem var(--side-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cr-stat {
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--border-subtle);
}

.cr-stat:first-child { padding-left: 0; }
.cr-stat:last-child  { border-right: none; }

.cr-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-purple-tint);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.cr-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .cr-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cr-stat:nth-child(2) { border-right: none; }
  .cr-stat:nth-child(3) { border-right: 1px solid var(--border-subtle); }
  .cr-stat:nth-child(3),
  .cr-stat:nth-child(4) {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
  }
}

/* -------------------------------------------------------------
   PILLARS GRID
   ------------------------------------------------------------- */
.cr-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.cr-pillar {
  background: var(--color-purple-mid);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-decoration: none;
  transition: background 0.2s;
}

.cr-pillar:hover {
  background: #3a2858;
}

.cr-pillar-icon {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
  margin-bottom: 0.5rem;
}

.cr-pillar-hero-icon {
  width: clamp(72px, 10vw, 100px);
  height: clamp(72px, 10vw, 100px);
  margin-bottom: 1.25rem;
  display: block;
}

.cr-pillar-accent {
  height: 3px;
  border-radius: 1px;
  margin-bottom: 0.375rem;
}

.cr-pillar-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.cr-pillar-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.cr-pillar-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

.cr-pillar-goal-count {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-faint);
}

/* Pillar accent colors */
.cr-pillar--purpose   .cr-pillar-accent { background: var(--color-purpose); }
.cr-pillar--people    .cr-pillar-accent { background: var(--color-people); }
.cr-pillar--pursuits  .cr-pillar-accent { background: var(--color-pursuits); }
.cr-pillar--place     .cr-pillar-accent { background: var(--color-place); }
.cr-pillar--resources .cr-pillar-accent { background: var(--color-resources); }

/* Tablet: 2-3 grid */
@media (max-width: 900px) {
  .cr-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 540px) {
  .cr-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .cr-pillar {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 380px) {
  .cr-pillars {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   PROGRESS SECTION — Envisio hybrid layout
   ------------------------------------------------------------- */
.cr-progress-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 780px) {
  .cr-progress-layout {
    grid-template-columns: 1fr;
  }
}

/* Envisio CTA button */
.cr-envisio-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-purple-deep);
  color: var(--color-white);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.cr-envisio-cta:hover {
  background: var(--color-purple-hover);
}

.cr-envisio-cta-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.cr-envisio-cta-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-purple-tint);
  margin-top: 0.2rem;
}

/* Per-pillar status list */
.cr-pillar-status-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(63,45,93,0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.cr-pillar-status {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(63,45,93,0.1);
  text-decoration: none;
  transition: background 0.15s;
  background: #fff;
}

.cr-pillar-status:last-child {
  border-bottom: none;
}

.cr-pillar-status:hover {
  background: rgba(63,45,93,0.04);
}

.cr-pillar-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cr-pillar-status-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-soft-black);
  flex-grow: 1;
}

.cr-pillar-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  white-space: nowrap;
}

.cr-pillar-status-badge--launch {
  background: rgba(63,45,93,0.08);
  color: var(--color-purple-deep);
}

.cr-pillar-status-badge--progress {
  background: rgba(248,195,76,0.15);
  color: #7a5e00;
}

.cr-pillar-status-badge--track {
  background: rgba(25,179,143,0.12);
  color: #0d6b55;
}

.cr-pillar-status-badge--complete {
  background: rgba(25,179,143,0.2);
  color: #0a4f3e;
}

.cr-progress-update-note {
  font-size: 0.8125rem;
  color: rgba(44,44,44,0.45);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   UPDATES
   ------------------------------------------------------------- */
.cr-updates-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.cr-updates-link {
  font-size: 0.9375rem;
  color: var(--color-green);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.cr-updates-link:hover {
  color: #25d4a8;
  text-decoration: underline;
}

.cr-updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cr-update-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem;
}

.cr-update-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(30,180,144,0.15);
  color: var(--color-green);
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.cr-update-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.cr-update-date {
  font-size: 0.875rem;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .cr-updates-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   BREADCRUMB
   ------------------------------------------------------------- */
.cr-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem var(--side-pad) 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.cr-breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.cr-breadcrumb a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

.cr-breadcrumb-sep { opacity: 0.4; }

.cr-breadcrumb-current { color: var(--color-purple-tint); }

/* -------------------------------------------------------------
   PILLAR DETAIL HERO
   ------------------------------------------------------------- */
.cr-pillar-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem var(--side-pad) 3.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 780px) {
  .cr-pillar-hero {
    grid-template-columns: 1fr;
  }

  .cr-pillar-sidenav {
    order: 2;
  }
}

.cr-pillar-hero-num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cr-pillar-hero-num::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  flex-shrink: 0;
}

.cr-pillar-hero-num--purpose   { color: var(--color-purpose); }
.cr-pillar-hero-num--purpose::before   { background: var(--color-purpose); }
.cr-pillar-hero-num--people    { color: var(--color-people); }
.cr-pillar-hero-num--people::before    { background: var(--color-people); }
.cr-pillar-hero-num--pursuits  { color: var(--color-pursuits); }
.cr-pillar-hero-num--pursuits::before  { background: var(--color-pursuits); }
.cr-pillar-hero-num--place     { color: var(--color-place); }
.cr-pillar-hero-num--place::before     { background: var(--color-place); }
.cr-pillar-hero-num--resources { color: var(--color-resources); }
.cr-pillar-hero-num--resources::before { background: var(--color-resources); }

.cr-pillar-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.cr-pillar-hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--color-purple-tint);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.cr-pillar-hero-desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   PILLAR SIDEBAR NAV
   ------------------------------------------------------------- */
.cr-pillar-sidenav {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.cr-pillar-sidenav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.875rem 1rem 0.625rem;
  border-bottom: 1px solid var(--border-faint);
}

.cr-pillar-sidenav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-faint);
  transition: background 0.15s;
}

.cr-pillar-sidenav-item:last-child {
  border-bottom: none;
}

.cr-pillar-sidenav-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
}

.cr-pillar-sidenav-item.active {
  background: rgba(255,255,255,0.09);
  color: var(--color-purple-tint);
  font-weight: 500;
}

.cr-pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   GOALS LIST
   ------------------------------------------------------------- */
.cr-goals-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-faint);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-faint);
}

.cr-goal {
  background: var(--color-purple-mid);
  padding: clamp(1.25rem, 3vw, 1.875rem) clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: background 0.15s;
}

.cr-goal:hover {
  background: #351a52;
}

@media (max-width: 500px) {
  .cr-goal {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.cr-goal-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 4px;
  opacity: 0.4;
}

.cr-goal-num--purpose   { color: var(--color-purpose); }
.cr-goal-num--people    { color: var(--color-people); }
.cr-goal-num--pursuits  { color: var(--color-pursuits); }
.cr-goal-num--place     { color: var(--color-place); }
.cr-goal-num--resources { color: var(--color-resources); }

.cr-goal-id {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.375rem;
}

.cr-goal-title {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.cr-goal-desc {
  font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* -------------------------------------------------------------
   RELATED PILLARS
   ------------------------------------------------------------- */
.cr-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-faint);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-faint);
}

.cr-related-card {
  background: var(--color-purple-deep);
  padding: 1.25rem;
  text-decoration: none;
  display: block;
  transition: background 0.15s;
}

.cr-related-card:hover {
  background: var(--color-purple-hover);
}

.cr-related-accent {
  height: 3px;
  border-radius: 1px;
  margin-bottom: 0.875rem;
}

.cr-related-num {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.375rem;
}

.cr-related-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  color: var(--color-white);
}

.cr-related-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.4rem;
}

@media (max-width: 720px) {
  .cr-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .cr-related-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.cr-footer {
  background: var(--color-purple-dark);
  padding: 2rem var(--side-pad);
}

.cr-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cr-footer-text {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.cr-footer-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

.cr-footer-back {
  font-size: 0.9375rem;
  color: var(--color-green);
  text-decoration: none;
  font-weight: 500;
}

.cr-footer-back:hover {
  color: #25d4a8;
  text-decoration: underline;
}

/* -------------------------------------------------------------
   SCROLL ANIMATIONS
   Elements start invisible/offset and transition in when the
   Intersection Observer adds .is-visible. Stagger is handled
   via --delay custom property set inline on each element.
   ------------------------------------------------------------- */

/* Fade up — default for most content blocks */
.cr-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--delay, 0ms);
}

.cr-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in — for elements that shouldn't move (hero tree, full-width sections) */
.cr-fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

.cr-fade-in.is-visible {
  opacity: 1;
}

/* -------------------------------------------------------------
   REDUCED MOTION — must come last to override animations
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  /* Make all animated elements immediately visible */
  .cr-fade-up,
  .cr-fade-in {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------
   HERO — headline, subhead, and action CTAs
   ------------------------------------------------------------- */
.cr-hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.cr-hero-subhead {
  font-size: clamp(1rem, 1.75vw, 1.125rem);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2rem;
}

.cr-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* President video CTA */
.cr-president-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  text-decoration: none;
  padding: 0.7rem 1.25rem 0.7rem 1rem;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}

.cr-president-cta:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
}

.cr-president-cta-icon {
  width: 36px;
  height: 36px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  padding-left: 2px; /* optical centering of play triangle */
}

.cr-president-cta-text {
  display: flex;
  flex-direction: column;
}

.cr-president-cta-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.cr-president-cta-sub {
  font-size: 0.75rem;
  color: var(--color-green);
  margin-top: 0.125rem;
}

@media (max-width: 560px) {
  .cr-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cr-president-cta {
    justify-content: center;
  }
}

/* -------------------------------------------------------------
   CO-CHAIRS SECTION
   ------------------------------------------------------------- */
.cr-cochairs {
  max-width: 900px;
  margin: 0 auto;
}

.cr-cochairs-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.cr-cochairs-intro .cr-heading-md {
  margin-bottom: 0;
}

.cr-cochairs-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 680px) {
  .cr-cochairs-quotes {
    grid-template-columns: 1fr;
  }
}

.cr-cochair {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}

/* Photo circle — replaced with headshot img when available */
.cr-cochair-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-purple-deep);
  border: 3px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* When a real headshot is used, swap the initials span for an img */
.cr-cochair-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cr-cochair-initials {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-purple-tint);
  letter-spacing: 0.05em;
}

.cr-cochair-quote {
  margin: 0;
}

.cr-cochair-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cr-cochair-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cr-cochair-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  font-style: normal;
}

.cr-cochair-title {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-style: normal;
}

/* -------------------------------------------------------------
   STEERING COMMITTEE ACKNOWLEDGEMENTS
   ------------------------------------------------------------- */
.cr-committee {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 2rem;
}

.cr-committee-member {
  background: rgba(255,255,255,0.04);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.15s;
}

.cr-committee-member:hover {
  background: rgba(255,255,255,0.08);
}

.cr-committee-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.cr-committee-role {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* -------------------------------------------------------------
   ENVISIO EMBED
   ------------------------------------------------------------- */
.cr-progress-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.cr-envisio-embed {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(63,45,93,0.15);
  box-shadow: 0 4px 24px rgba(63,45,93,0.12);
  background: #fff;
}

@media (max-width: 600px) {
  .cr-envisio-embed iframe {
    height: 3074px !important;
  }
}

/* -------------------------------------------------------------
   VIDEO LIGHTBOX
   ------------------------------------------------------------- */
.cr-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cr-lightbox:not([hidden]) {
  display: flex;
}

.cr-lightbox.is-open {
  opacity: 1;
}

.cr-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 20, 0.88);
  cursor: pointer;
}

.cr-lightbox-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  background: #1e1330;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.cr-lightbox.is-open .cr-lightbox-panel {
  transform: translateY(0);
}

.cr-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}

.cr-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* 16:9 responsive video wrap */
.cr-lightbox-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.cr-lightbox-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cr-lightbox-caption {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-faint);
}

.cr-lightbox-caption strong {
  color: var(--color-white);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .cr-lightbox,
  .cr-lightbox-panel {
    transition: none;
  }
}

/* -------------------------------------------------------------
   UPDATE CARD BUTTON
   ------------------------------------------------------------- */
.cr-update-card {
  display: flex;
  flex-direction: column;
}

.cr-update-btn {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
  border-top: 1px solid var(--border-faint);
  margin-left: 0;
}

.cr-update-btn:hover {
  color: #25d4a8;
  text-decoration: underline;
}

.cr-update-btn--disabled {
  color: var(--text-dim);
  pointer-events: none;
  cursor: default;
}

.cr-update-btn--disabled:hover {
  color: var(--text-dim);
  text-decoration: none;
}

.cr-update-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
  flex-grow: 1;
}
