@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans.woff2") format("woff2");
}

:root {
  --color-accent: var(--e-global-color-accent, #605DFF);
  --color-accent-alpha: #605DFF75;
  --color-primary: var(--e-global-color-primary, #2A2F33);
  --color-secondary: var(--e-global-color-secondary, #000000);
  --color-text: var(--e-global-color-text, #2A2F33);
  --color-light: #DFDFFF;
  --color-white: #FFFFFF;
  --container-max-width: 1440px;
  --header-height: 100px;
  --header-min-height: 80px;
  --motion-color: 0.3s;
  --motion-move: 250ms;
  --motion-ease: cubic-bezier(.23, 1, .32, 1);
  --type-h1: clamp(1.424rem, 0.814vi + 1.22rem, 2.197rem);
  --type-h2: clamp(1.246rem, 0.745vi + 1.06rem, 1.953rem);
  --type-h3: clamp(1.266rem, 0.518vi + 1.136rem, 1.758rem);
  --type-h4: clamp(1.125rem, 0.296vi + 1.051rem, 1.406rem);
  --type-text: clamp(0.889rem, 0.012vi + 0.886rem, 0.9rem);
  --type-small: clamp(0.79rem, -0.074vi + 0.809rem, 0.72rem);
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--e-global-typography-text-font-family, "DM Sans Variable"), sans-serif;
  font-size: var(--type-text);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-color);
}

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

button,
input {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 { font-size: var(--type-h1); font-weight: 700; }
h2 { font-size: var(--type-h2); font-weight: 700; line-height: 1; }
h3 { font-size: var(--type-h3); font-weight: 600; line-height: 1.3; }
h4 { font-size: var(--type-h4); font-weight: 600; line-height: 1; }

.site-shell {
  margin-inline: auto;
  max-width: var(--container-max-width);
  padding-inline: 30px;
  width: 100%;
}

.site-header {
  color: var(--color-white);
  height: var(--header-height);
  left: 0;
  min-height: var(--header-min-height);
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color var(--motion-color), height var(--motion-move) var(--motion-ease);
  z-index: 100;
}

.site-header.is-stuck {
  background: rgb(42 47 51 / 96%);
  height: var(--header-min-height);
  position: fixed;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

.site-header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--container-max-width);
  padding-inline: 30px;
}

.site-brand img {
  height: 54px;
  object-fit: contain;
  width: 54px;
}

.desktop-nav {
  align-self: stretch;
  display: flex;
}

.desktop-nav__list {
  align-items: center;
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav__list a {
  align-items: center;
  display: flex;
  font-size: var(--type-small);
  font-weight: 700;
  height: 100%;
  padding: 0.5rem 0.75rem;
}

.desktop-nav__list a:hover,
.desktop-nav__list a:focus,
.desktop-nav__list a[aria-expanded="true"] {
  color: var(--color-light);
}

.header-live,
.button {
  align-items: center;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  font-size: var(--type-small);
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.header-live,
.button--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.mobile-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  font-size: var(--type-small);
  font-weight: 700;
  gap: 8px;
  padding: 0.75rem 0;
}

.mega-panel {
  animation: fadeInDown var(--motion-move) var(--motion-ease) 100ms both;
  background: var(--color-white);
  box-shadow: 0 20px 35px rgb(0 0 0 / 14%);
  color: var(--color-primary);
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.mega-panel__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto;
  max-width: 1200px;
  padding: 30px;
}

.mega-card {
  align-items: center;
  background: #f6f6f8;
  border-radius: 12px;
  display: grid;
  gap: 18px;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
}

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

.mega-card span,
.mega-card small {
  display: block;
}

.mega-card small {
  color: var(--color-accent);
  margin-top: 6px;
}

.mobile-overlay,
.mobile-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 300;
}

.mobile-overlay {
  background: rgb(0 0 0 / 58%);
  left: 0;
  right: 0;
}

.mobile-panel {
  background: var(--color-primary);
  color: var(--color-white);
  max-width: 520px;
  overflow-y: auto;
  padding: 26px;
  right: 0;
  transform: translateX(100%);
  transition: transform var(--motion-move) var(--motion-ease) 600ms;
  width: 90vw;
}

.mobile-panel[aria-hidden="false"] {
  animation: fadeInRight var(--motion-move) var(--motion-ease) 600ms both;
  transform: translateX(0);
}

.mobile-panel__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
}

.mobile-panel__head img { height: 54px; width: 54px; }

.mobile-close {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 2.25rem;
}

.mobile-accordion__item {
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.accordion-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 1rem 0;
  text-align: left;
  width: 100%;
}

.accordion-toggle[aria-expanded="true"] { color: var(--color-accent); }
.accordion-toggle[aria-expanded="true"] span { transform: rotate(45deg); }

.accordion-panel {
  padding: 0 0 1rem;
}

.accordion-panel a {
  display: block;
  padding: 0.45rem 0;
}

.mobile-panel__cta {
  margin-top: 34px;
}

[hidden] { display: none !important; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -16px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to { opacity: 1; transform: none; }
}

.site-main {
  min-height: 60vh;
}

.site-main--home .elementor > .e-con,
.site-main--home .elementor-widget-html,
.site-main--home .elementor-widget-container {
  margin: 0;
  padding: 0;
}

.home-hero {
  background: var(--color-secondary);
  color: var(--color-white);
  height: 1000px;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.home-hero__media,
.home-hero__shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-hero__media {
  object-fit: cover;
}

.home-hero__shade {
  background: linear-gradient(90deg, rgb(0 0 0 / 62%), rgb(0 0 0 / 20%) 62%, rgb(0 0 0 / 45%));
}

.home-hero__word {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  left: 50%;
  letter-spacing: 0.42em;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.home-hero__content {
  bottom: 130px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.home-hero__content p {
  font-size: var(--type-text);
  font-weight: 700;
  margin-bottom: 12px;
}

.home-hero__links {
  display: flex;
  font-size: var(--type-small);
  font-weight: 700;
  gap: 28px;
}

.home-hero__links span {
  color: var(--color-light);
  margin-left: 8px;
}

.pathways {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.path-card {
  border-radius: 14px;
  color: var(--color-white);
  height: 255px;
  overflow: hidden;
  position: relative;
}

.path-card::after {
  background: var(--color-accent-alpha);
  content: "";
  inset: 0;
  position: absolute;
}

.path-card--neutral::after {
  background: rgb(42 47 51 / 64%);
}

.path-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.path-card > span,
.ministry-card > span {
  bottom: 28px;
  left: 28px;
  position: absolute;
  right: 28px;
  z-index: 2;
}

.path-card strong,
.path-card small,
.ministry-card strong,
.ministry-card small {
  display: block;
}

.path-card strong {
  font-size: var(--type-h4);
  margin-bottom: 10px;
}

.path-card small,
.ministry-card small {
  font-size: var(--type-small);
}

.section {
  padding-bottom: 130px;
  padding-top: 130px;
}

.section-heading {
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading > span,
.vision__copy > span {
  display: block;
  font-size: var(--type-h4);
  margin-bottom: 2px;
}

.section-heading h2 {
  margin: 0;
}

.events__grid {
  align-items: stretch;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(300px, 0.85fr) minmax(500px, 2fr);
}

.event-featured {
  background: linear-gradient(135deg, #45a4ff, #b45cff);
  border-radius: 14px;
  padding: 22px;
}

.event-featured__frame {
  background: var(--color-primary);
  border-radius: 12px;
  color: var(--color-white);
  height: 100%;
  overflow: hidden;
}

.event-label {
  display: block;
  font-weight: 700;
  padding: 13px;
  text-align: center;
}

.event-featured img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.event-featured__copy {
  padding: 28px;
}

.event-featured__copy h3,
.event-row h3 {
  font-size: var(--type-h4);
  margin-bottom: 8px;
}

.event-featured__copy p,
.event-row p {
  font-size: var(--type-small);
}

.event-featured__copy a,
.event-row > a {
  display: block;
  font-size: var(--type-small);
  font-weight: 700;
  margin-top: 18px;
  text-align: right;
}

.event-list__eyebrow {
  font-size: var(--type-h4);
  font-weight: 700;
  margin-bottom: 20px;
}

.event-row {
  align-items: center;
  border-bottom: 1px solid #e8e8ec;
  display: grid;
  gap: 24px;
  grid-template-columns: 150px 1fr 110px;
  padding: 16px 0;
}

.event-row img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.events__more {
  margin: 44px auto 0;
  width: max-content;
}

.vision {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.08fr 0.92fr;
}

.vision__media {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  color: rgb(255 255 255 / 70%);
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.vision__media span {
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  height: 54px;
  place-items: center;
  padding-left: 3px;
  width: 54px;
}

.vision__details {
  display: grid;
  gap: 64px;
}

.vision__copy {
  max-width: 590px;
}

.vision__copy h2 {
  margin-bottom: 28px;
}

.vision__copy p {
  margin-bottom: 28px;
}

.vision-map {
  aspect-ratio: 1.5 / 1;
  background: var(--color-primary);
  border-radius: 100% 100% 0 0;
  overflow: hidden;
  position: relative;
}

.vision-map__ring {
  border: 4px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  height: 72%;
  left: 14%;
  position: absolute;
  top: 20%;
  width: 72%;
}

.vision-map i {
  align-items: center;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  font-style: normal;
  height: 32px;
  justify-content: center;
  left: var(--x);
  position: absolute;
  top: var(--y);
  width: 32px;
  z-index: 2;
}

.campus-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 1fr);
}

.campus-card {
  background: var(--color-primary);
  border-radius: 14px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.campus-card::after {
  background: linear-gradient(rgb(42 47 51 / 20%), rgb(42 47 51 / 68%));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.campus-card__media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.campus-card h3,
.campus-card p,
.campus-card a,
.campus-card__watermark {
  position: relative;
  z-index: 2;
}

.campus-card p {
  font-size: var(--type-small);
}

.campus-card a {
  margin-top: auto;
  width: max-content;
}

.campus-card__watermark {
  color: rgb(255 255 255 / 42%);
  font-size: clamp(2.3rem, 3.3vw, 4rem);
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 2px;
  top: 10px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: top left;
  white-space: nowrap;
}

.ministries {
  padding-bottom: 100px;
}

.ministry-tabs {
  display: flex;
  gap: 34px;
  justify-content: center;
  margin: -20px auto 48px;
}

.ministry-tabs a {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: var(--type-small);
  font-weight: 700;
}

.ministry-tabs a:first-child {
  color: var(--color-accent);
}

.ministries-swiper {
  padding-bottom: 55px;
}

.ministry-card {
  background: var(--color-light);
  border-radius: 14px;
  color: var(--color-white);
  height: 430px;
  overflow: hidden;
  position: relative;
}

.ministry-card::after {
  background: var(--color-accent-alpha);
  content: "";
  inset: 0;
  position: absolute;
}

.ministry-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ministry-card strong {
  font-size: var(--type-h4);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-accent);
}

.swiper-pagination-bullet-active {
  background: var(--color-accent);
}

.footer-spacer { height: 0; }

.page-hero {
  color: var(--color-white);
  height: 660px;
  overflow: hidden;
  position: relative;
}

.page-hero > img,
.page-hero__shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.page-hero > img { object-fit: cover; }
.page-hero__shade { background: linear-gradient(0deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 18%)); }

.page-hero__copy {
  bottom: 90px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.page-hero__copy > span,
.split-story__copy > span {
  font-size: var(--type-h4);
  font-weight: 600;
}

.page-hero__copy h1 {
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.95;
  margin: 6px 0 0;
  max-width: 780px;
}

.split-story {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 140px;
  padding-top: 140px;
}

.split-story img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.split-story__copy h2 { margin: 8px 0 30px; }
.split-story__copy p { margin-bottom: 22px; }
.split-story--reverse .split-story__copy { order: 2; }

.page-band {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 130px 0;
}

.value-grid,
.service-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article {
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 14px;
  min-height: 260px;
  padding: 32px;
}

.value-grid b {
  color: var(--color-accent);
  display: block;
  font-size: var(--type-h2);
  margin-bottom: 50px;
}

.page-band__cta { margin: 50px auto 0; }

.service-times { padding-bottom: 140px; padding-top: 140px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid article {
  background: var(--color-light);
  border-radius: 14px;
  min-height: 220px;
  padding: 28px;
}
.service-grid p { color: var(--color-accent); font-weight: 700; }

.error-404 {
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  min-height: 780px;
  padding-top: var(--header-height);
  text-align: center;
}

.error-404__inner { max-width: 760px; }
.error-404__code {
  color: var(--color-accent);
  font-size: clamp(7rem, 20vw, 16rem);
  font-weight: 700;
  line-height: 0.8;
  margin-bottom: 42px;
}

.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
}

.site-footer__grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  padding-bottom: 70px;
  padding-top: 80px;
}

.footer-brand {
  align-items: center;
  display: flex;
  font-size: var(--type-h4);
  gap: 14px;
  margin-bottom: 25px;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  height: 70px;
  object-fit: contain;
  width: 70px;
}

.site-footer h2 {
  color: var(--color-accent);
  font-size: var(--type-small);
  margin-bottom: 18px;
}

.newsletter-form {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.newsletter-form input {
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 7px;
  color: var(--color-white);
  min-width: 0;
  padding: 0 14px;
}

.newsletter-form__status {
  color: var(--color-light);
  font-size: var(--type-small);
  min-height: 1.5em;
  margin: 8px 0 0;
}

.site-footer__column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__column li {
  font-size: var(--type-small);
  margin-bottom: 11px;
}

.site-footer__contact {
  color: var(--color-accent);
  display: inline-block;
  font-size: var(--type-small);
  font-weight: 700;
  margin-top: 18px;
}

.site-footer__legal {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex;
  font-size: var(--type-small);
  justify-content: space-between;
  padding-bottom: 26px;
  padding-top: 26px;
}

.grow {
  transition: transform var(--motion-move) var(--motion-ease);
  will-change: transform;
}

.grow:hover,
.grow:focus-within {
  transform: scale(1.1);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 1000;
}

@media (max-width: 1024px) {
  :root { --container-max-width: 1024px; }
  .desktop-nav,
  .header-live { display: none; }
  .pathways,
  .campus-grid { gap: 20px; }
  .events__grid { grid-template-columns: 0.9fr 1.6fr; }
  .vision { grid-template-columns: 1fr; }
  .vision__details { grid-template-columns: 1fr 1fr; }
  .campus-card { min-height: 440px; padding: 22px; }
}

@media (max-width: 767px) {
  :root { --container-max-width: 100%; }
  .site-shell,
  .site-header__inner { padding-inline: 15px; }
  .home-hero { height: 420px; min-height: 420px; }
  .home-hero__word { font-size: 1.8rem; top: 45%; }
  .home-hero__content { bottom: -112px; color: var(--color-primary); padding-inline: 15px; }
  .home-hero__content p { max-width: 300px; }
  .home-hero__links { gap: 10px; }
  .home-hero__links a:first-child { background: var(--color-light); border-radius: 8px; color: var(--color-accent); padding: 8px 12px; }
  .pathways { grid-template-columns: 1fr; margin-top: 150px; padding-inline: 15px; }
  .path-card { height: 210px; }
  .section { padding-bottom: 75px; padding-top: 75px; }
  .section-heading { margin-bottom: 30px; }
  .events__grid { grid-template-columns: 1fr; }
  .event-featured { padding: 14px; }
  .event-row { align-items: start; grid-template-columns: 110px 1fr; }
  .event-row > a { grid-column: 2; }
  .vision { grid-template-columns: 1fr; min-height: 0; padding-top: 95px; }
  .vision__details { gap: 54px; grid-template-columns: 1fr; }
  .vision-map { order: 2; }
  .event-list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .event-list__eyebrow { flex: 0 0 100%; }
  .event-row { flex: 0 0 calc(100vw - 60px); scroll-snap-align: start; }
  .campus-grid { display: flex; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
  .campus-card { flex: 0 0 calc(100vw - 60px); min-height: 520px; scroll-snap-align: center; }
  .ministry-tabs { gap: 14px; justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .ministry-card { height: 510px; }
  .page-hero { height: 520px; }
  .page-hero__copy { bottom: 55px; }
  .split-story { gap: 35px; grid-template-columns: 1fr; padding-bottom: 80px; padding-top: 80px; }
  .split-story--reverse .split-story__copy { order: 0; }
  .value-grid,
  .service-grid { grid-template-columns: 1fr; }
  .page-band,
  .service-times { padding-bottom: 80px; padding-top: 80px; }
  .site-footer__grid { grid-template-columns: 1fr; padding-bottom: 50px; padding-top: 60px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .site-footer__legal { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (min-width: 1025px) {
  .mobile-toggle,
  .mobile-overlay,
  .mobile-panel { display: none !important; }
}

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

.elementor-editor-active *,
.elementor-editor-preview * {
  animation: none !important;
  transition: none !important;
}
