:root {
  --ebc-ink: #323332;
  --ebc-body: #323332;
  --ebc-muted: #6f6f6f;
  --ebc-purple: #692688;
  --ebc-purple-bright: #ca56ff;
  --ebc-gold: #eed33c;
  --ebc-gold-dark: #bf9f00;
  --ebc-gold-button: #ffa804;
  --ebc-blue: #012c6d;
  --ebc-blue-pale: #c2cbd2;
  --ebc-cream: #f7f6f8;
  --ebc-paper: #ffffff;
  --ebc-line: #d4d4d4;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ebc-body);
  background: var(--ebc-cream);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.navbar-brand,
.display-font {
  color: var(--ebc-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

a {
  color: var(--ebc-purple);
}

a:hover {
  color: var(--ebc-gold-dark);
}

.topbar {
  background: linear-gradient(180deg, rgba(194, 203, 210, .33) 0%, #ffffff 100%);
  color: var(--ebc-blue);
  font-size: .92rem;
}

.topbar a {
  color: var(--ebc-blue);
  text-decoration: none;
}

.site-header {
  background: var(--ebc-purple);
  border-top: 3px solid var(--ebc-gold-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.navbar-brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.navbar-brand span {
  max-width: 220px;
  line-height: 1.1;
}

.nav-link {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .86rem;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--ebc-gold-dark);
  text-decoration-thickness: 3px;
  text-underline-offset: .5rem;
}

.site-header .navbar-brand,
.site-header .navbar-brand span {
  color: #fff;
}

.dropdown-menu {
  border-color: var(--ebc-line);
}

.dropdown-item:active,
.dropdown-item:hover {
  color: #fff;
  background: var(--ebc-purple);
}

.btn-primary {
  --bs-btn-bg: var(--ebc-purple-bright);
  --bs-btn-border-color: var(--ebc-purple-bright);
  --bs-btn-hover-bg: var(--ebc-purple);
  --bs-btn-hover-border-color: var(--ebc-purple);
  --bs-btn-focus-shadow-rgb: 105, 38, 136;
}

.btn-outline-primary {
  --bs-btn-color: var(--ebc-purple);
  --bs-btn-border-color: var(--ebc-purple);
  --bs-btn-hover-bg: var(--ebc-purple);
  --bs-btn-hover-border-color: var(--ebc-purple);
}

.btn-gold {
  color: #050404;
  background: var(--ebc-gold-button);
  border-color: var(--ebc-gold-button);
  font-weight: 800;
}

.btn-gold:hover {
  color: #fff;
  background: var(--ebc-gold-dark);
  border-color: var(--ebc-gold-dark);
}

.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  color: #fff;
  overflow: hidden;
  background: #201512;
}

.hero video,
.hero::before {
  position: absolute;
  inset: 0;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, .86), rgba(5, 4, 4, .62), rgba(5, 4, 4, .36)),
    radial-gradient(circle at 85% 10%, rgba(191, 144, 19, .58), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.hero h1 {
  color: #fff;
  max-width: 860px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.03;
  text-wrap: balance;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, .91);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.paper {
  background: var(--ebc-paper);
  border: 1px solid var(--ebc-line);
  border-radius: 10px;
}

.feature-image {
  display: block;
  width: 100%;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 10px;
}

.payment-image {
  object-fit: contain;
  padding: 1.5rem;
  background: #fff;
}

.image-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 10px;
  background: var(--ebc-ink);
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .45));
}

.image-tile-caption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 800;
}

.accent-band {
  background: var(--ebc-purple);
  color: #fff;
}

.accent-band h2,
.accent-band h3 {
  color: #fff;
}

.gold-band {
  background: var(--ebc-gold);
}

.eyebrow {
  color: var(--ebc-gold-dark);
  font-size: .84rem;
  font-weight: 800;
}

.program-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ebc-line);
  border-radius: 10px;
  transition: transform .18s ease, border-color .18s ease;
  overflow: hidden;
}

.program-card:hover {
  border-color: var(--ebc-gold-dark);
  transform: translateY(-3px);
}

.program-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.course-table th {
  color: var(--ebc-ink);
  background: var(--ebc-gold);
}

.course-table td,
.course-table th {
  vertical-align: top;
}

.pdf-frame {
  width: 100%;
  min-height: 76vh;
  border: 1px solid var(--ebc-line);
  border-radius: 10px;
  background: #fff;
}

.form-section-title {
  color: var(--ebc-purple);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  margin-block: 2rem 1rem;
}

.required::after {
  content: " *";
  color: #b42318;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  color: rgba(255, 255, 255, .65);
  background: #323332;
}

.site-footer a {
  color: #f9f9f9;
}

.footer-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .topbar .container {
    gap: .35rem;
  }

  .navbar-brand span {
    max-width: 190px;
    font-size: .98rem;
  }

  .hero {
    min-height: 620px;
  }

  .section {
    padding-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
