/* IE Global template – university-inspired static layout
   Dark navy, white, gold accent. No external branding. */

:root {
  --navy: #0f224a;
  --navy-light: #1a365d;
  --gold: #c9a227;
  --gold-light: #d4af37;
  --white: #fff;
  --gray-100: #f5f5f5;
  --gray-300: #ddd;
  --gray-500: #666;
  --gray-700: #333;
  --text: #1a1a1a;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-width: 1200px;
  --header-height-utility: 40px;
  --header-height-main: 56px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
}

.header-utility {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-main {
  background: var(--navy);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-utility .header-inner {
  min-height: var(--header-height-utility);
}

.header-main .header-inner {
  min-height: var(--header-height-main);
}

.utility-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.utility-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
}

.utility-nav a:hover {
  text-decoration: underline;
}

.btn-find-program {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--navy-light);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
}

.btn-find-program:hover {
  background: #243a6b;
}

.chevron {
  font-size: 0.65rem;
  opacity: 0.9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-search::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  top: -2px;
  left: 2px;
}

.icon-search::after {
  content: "";
  display: block;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  position: relative;
  top: -14px;
  left: 10px;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.logo-mark {
  width: 32px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 50%, var(--navy-light) 50%, var(--navy) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

.header-actions-desk {
  display: none;
}

.main-nav-dropdown {
  display: none;
  background: var(--navy);
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav-dropdown.is-open {
  display: block;
}

.main-nav-mobile ul {
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 769px) {
  .header-utility .btn-find-program {
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .header-utility .header-actions {
    margin-left: 0;
  }

  .header-main .main-nav {
    display: block;
    margin-left: auto;
  }

  .header-main .header-actions-desk {
    display: flex;
  }

  .header-main .nav-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-utility {
    display: none;
  }

  .header-main .main-nav:not(.main-nav-mobile) {
    display: none;
  }

  .header-main .nav-toggle {
    display: flex;
  }
}

/* ----- Hero (full-bleed) ----- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-viewport {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 1.5rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 88vh;
  background: url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600&q=85") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 88vh;
  background: linear-gradient(135deg, rgba(15, 34, 74, 0.88) 0%, rgba(15, 34, 74, 0.75) 50%, rgba(15, 34, 74, 0.6) 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
  line-height: 1.5;
}

.hero-tagline::after {
  display: none;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
}

.btn-hero {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-hero:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  margin: 0.5rem auto 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .hero-viewport {
    min-height: 85vh;
    padding: 3rem 1.25rem 4rem;
    justify-content: flex-end;
  }

  .hero-bg,
  .hero-overlay {
    height: 85vh;
  }

  .hero-title {
    max-width: none;
  }

  .hero-scroll {
    display: none;
  }
}

/* Quick actions strip */
.quick-actions {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-300);
}

.quick-actions .header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.quick-action-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-action-item:hover {
  text-decoration: underline;
  color: var(--navy-light);
}

.quick-action-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: middle;
}

/* Tabs */
.content-tabs {
  border-bottom: 1px solid var(--gray-300);
}

.tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs button {
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-700);
  cursor: pointer;
  position: relative;
  margin-bottom: -1px;
}

.tabs button:hover {
  color: var(--navy);
}

.tabs button.is-active {
  color: var(--navy);
  font-weight: 600;
}

.tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
}

/* Feature cards */
.cards-section {
  padding: 2rem 1.25rem 3rem;
}

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

.card-featured {
  background: var(--white);
  overflow: hidden;
}

.card-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-featured-link:hover .card-featured-title {
  color: var(--navy-light);
  text-decoration: underline;
}

.card-featured-link:hover .card-featured-more {
  color: var(--gold);
}

.card-featured-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}

.card-featured-image {
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  overflow: hidden;
}

.card-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-featured-title {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.card-featured-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .card-grid-featured {
    grid-template-columns: 1fr;
  }
}

/* ----- Hero headline ----- */
.hero-headline {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: var(--white);
}

.hero-headline-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
}

/* ----- By the Numbers ----- */
.by-the-numbers {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.numbers-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 34, 74, 0.85) 0%, rgba(26, 54, 93, 0.8) 50%, rgba(15, 34, 74, 0.9) 100%),
    url("https://images.unsplash.com/photo-1514565131-fce0801e5785?w=1600&q=80") center / cover no-repeat;
}

.numbers-overlay {
  position: relative;
  z-index: 1;
  min-height: 420px;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
}

.numbers-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1;
}

.numbers-left {
  flex: 0 0 auto;
}

.numbers-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.numbers-nav {
  display: flex;
  gap: 0.5rem;
}

.numbers-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.numbers-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.numbers-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  max-width: 720px;
}

.stat-card {
  flex: 1 1 200px;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 0.25rem;
  background: var(--navy);
  border-radius: 6px;
  opacity: 0.9;
}

.stat-icon-target::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 7px auto 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-sizing: border-box;
}

.stat-icon-globe::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 8px auto 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-sizing: border-box;
}

.stat-icon-orgs::before {
  content: "";
  display: block;
  width: 14px;
  height: 10px;
  margin: 11px auto 0;
  border: 2px solid var(--white);
  border-radius: 2px;
  box-sizing: border-box;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.3;
}

.numbers-disclaimer {
  max-width: var(--max-width);
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

@media (max-width: 768px) {
  .numbers-content {
    flex-direction: column;
  }

  .numbers-cards {
    justify-content: stretch;
  }

  .stat-card {
    min-width: 100%;
  }
}

/* ----- Section ----- */
.section {
  padding: 3rem 1.25rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--navy);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin: 0 0 1rem;
  max-width: 56ch;
}

.section p {
  margin: 0 0 1rem;
  color: var(--gray-500);
}

.section code {
  font-size: 0.9em;
  background: var(--gray-100);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.link-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
  color: var(--gold);
}

/* Section: Programs */
.section-programs {
  background: var(--gray-100);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.program-card {
  display: block;
  background: var(--white);
  padding: 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.program-card:hover {
  box-shadow: 0 6px 20px rgba(15, 34, 74, 0.12);
  transform: translateY(-2px);
}

.program-card-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  background: var(--gold);
  border-radius: 8px;
  opacity: 0.95;
}

.program-card .program-card-icon::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 19px auto 0;
  background: var(--navy);
}

.program-card:nth-child(2) .program-card-icon::before {
  width: 16px;
  height: 16px;
  margin: 12px auto 0;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: transparent;
}

.program-card:nth-child(3) .program-card-icon::before {
  width: 14px;
  height: 14px;
  margin: 13px auto 0;
  border: 2px solid var(--navy);
  border-radius: 2px;
  background: transparent;
}

.program-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.program-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.program-card-link {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

.program-card:hover .program-card-link {
  text-decoration: underline;
}

/* Section: Why */
.why-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 6px;
  position: relative;
}

.why-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--gold);
  border-radius: 50%;
}

.why-list strong {
  color: var(--navy);
}

.why-list div {
  color: var(--gray-500);
  line-height: 1.55;
}

/* Section: Events */
.events-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.event-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  flex: 0 0 4rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}

.event-content {
  flex: 1 1 280px;
  color: var(--gray-700);
  line-height: 1.5;
}

.event-link {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
  color: var(--gold);
}

.admission-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.admission-links .link-arrow {
  margin-top: 0;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.25rem;
  text-align: center;
}

.cta-band .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-band-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.cta-band-text {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-band-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  text-align: left;
}

.footer-logo-mark {
  width: 64px;
  height: 72px;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 45%, var(--navy-light) 45%, var(--navy) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.footer-brand-name {
  margin: 0 0 0.15rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-brand-tag {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--gray-300);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  text-decoration: underline;
  color: var(--navy);
}

.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray-700);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
}

.social-link:hover {
  background: var(--navy);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
