/* About Page Styles - Exact match from about/about.html */

/* Hero Header - Shared with Programs and People pages */
.programs-hero {
  background-color: #0a1628;
  color: #ffffff;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .programs-hero {
    padding: 96px 0;
  }
}

.programs-hero-label {
  color: #ffd046;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  margin-bottom: 16px;
}

.programs-hero-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 896px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .programs-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .programs-hero-title {
    font-size: 3.75rem;
  }
}

.programs-hero-description {
  font-size: 1.25rem;
  color: #e5e5e5;
  max-width: 768px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .programs-hero-description {
    font-size: 1.5rem;
  }
}

/* Intro Section */
.intro-section {
  background-color: #ffffff;
  padding: 64px 0;
  border-bottom: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
  .intro-section {
    padding: 96px 0;
  }
}

.intro-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.intro-heading {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .intro-heading {
    font-size: 2.25rem;
  }
}

.intro-content {
  color: #404040;
  font-size: 1.125rem;
  line-height: 1.75;
}

.intro-content p {
  margin-bottom: 24px;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

/* Campus Image Banner */
.about-image-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.about-banner-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .about-banner-image {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .about-banner-image {
    height: 500px;
  }
}

/* Mission & Vision Section */
.mission-vision-section {
  background-color: #ffffff;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .mission-vision-section {
    padding: 96px 0;
  }
}

.mission-vision-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .mission-vision-grid {
    gap: 48px;
  }
}

.card {
  padding: 32px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

@media (min-width: 768px) {
  .card {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 48px;
  }
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ffd046;
}

.card-number {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 500;
}

.card-heading {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .card-heading {
    font-size: 1.875rem;
  }
}

.card-text {
  line-height: 1.75;
}

/* Mission Card (Dark) */
.card-mission {
  background-color: #0a1628;
  color: #ffffff;
}

.card-mission .card-number {
  color: #ffffff;
}

.card-mission .card-text {
  color: #e5e5e5;
}

/* Vision Card (Light) */
.card-vision {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
}

.card-vision .card-number {
  color: #0a1628;
}

.card-vision .card-heading {
  color: #0a1628;
}

.card-vision .card-text {
  color: #262626;
}

/* Values Section */
.values-section {
  background-color: #fafafa;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .values-section {
    padding: 96px 0;
  }
}

.values-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .values-header {
    margin-bottom: 64px;
  }
}

.values-label {
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.values-heading {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: #0a1628;
}

@media (min-width: 768px) {
  .values-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .values-heading {
    font-size: 3rem;
  }
}

.values-grid {
  display: grid;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.value-item {
  text-align: center;
}

.value-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 aspect ratio */
  margin: 0 0 24px;
  overflow: hidden;
  background-color: #0a1628;
  border-radius: 0;
}

.value-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 0;
}

.value-item:hover .value-image,
.value-item:focus-within .value-image {
  transform: scale(1.05);
}

.value-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #0a1628;
  margin-bottom: 8px;
}

.value-description {
  color: #404040;
  font-size: 14px;
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background-color: #0a1628;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 80px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.25rem;
  color: #ffd046;
  font-weight: 500;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 3.75rem;
  }
}

.stat-label {
  color: #e5e5e5;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  display: block;
}

/* CTA Section */
.cta-section {
  background-color: #0a1628;
  padding: 64px 0;
  color: #ffffff;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 96px 0;
  }
}

.cta-inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.cta-heading {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .cta-heading {
    font-size: 2.25rem;
  }
}

.cta-text {
  color: #e5e5e5;
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: #ffd046;
  color: #0a1628;
  padding: 16px 32px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-radius: 0;
}

.cta-button:hover {
  background-color: #e6bb3e;
  color: #0a1628;
}

.cta-button:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

/* Meet the Team Section */
.team-section {
  background-color: #ffffff;
  padding: 64px 0;
  border-top: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
  .team-section {
    padding: 96px 0;
  }
}

.team-header {
  text-align: center;
  margin-bottom: 48px;
}

.people-intro-section .team-header {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .team-header {
    margin-bottom: 64px;
  }

  .people-intro-section .team-header {
    padding-bottom: 0;
  }
}

.team-label {
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.team-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 16px;
}

.people-intro-section .team-title {
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .team-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .team-title {
    font-size: 3rem;
  }
}

.team-description {
  color: #404040;
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.team-grid {
  list-style: none;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.team-card {
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0;
}

.team-photo-container {
  width: 250px;
  height: 300px;
  margin: 0 auto 16px;
  background-color: #e5e5e5;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 0;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.team-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 8px;
}

.team-member-title {
  color: #0a1628;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-org {
  color: #525252;
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.team-card-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.view-bio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0a1628;
  color: #ffffff;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  border-radius: 0;
  font-family: inherit;
  min-width: 120px;
  text-align: center;
}

.view-bio-btn:hover {
  background-color: #ffd046;
  color: #0a1628;
}

.view-bio-btn:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 0;
}

.modal-content:focus {
  outline: none;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  border-radius: 0;
}

.modal-close-btn:hover {
  background-color: #ffd046;
}

.modal-close-btn:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

.modal-close-icon {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 32px;
}

@media (min-width: 768px) {
  .modal-body {
    padding: 48px;
  }
}

.modal-photo-container {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  background-color: #e5e5e5;
  overflow: hidden;
  border-radius: 0;
}

.modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .modal-name {
    font-size: 1.875rem;
  }
}

.modal-title {
  color: #0a1628;
  font-weight: 500;
}

.modal-org {
  color: #525252;
}

.modal-divider {
  display: none;
}

.modal-bio {
  color: #404040;
  line-height: 1.75;
  margin-bottom: 24px;
}

.modal-full-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a1628;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.modal-full-bio-link:hover {
  color: #ffd046;
}

.modal-full-bio-link:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

.modal-link-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.modal-full-bio-link:hover .modal-link-icon {
  transform: translateX(4px);
}
