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

:root {
  --green-dark: #2d6b42;
  --green: #3a8a54;
  --blue: #0067a5;
  --navy-dark: #1a2c3e;
  --navy: #2a4055;
  --red-dark: #8b2020;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --light-gray: #e8e8e0;
  --text: #333;
  --text-light: #666;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-marker: 'Permanent Marker', cursive;
  --container-large: 1280px;
  --container-small: 1100px;
  --container-medium: 960px;
  --container-xsmall: 800px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  background: var(--navy-dark);
  color: var(--white);
  padding: 8px 16px;
}
.skip-link:focus {
  left: 0;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--green-dark);
}

ul { list-style: none; }

.container--large,
.container--small,
.container--medium,
.container--xsmall {
  margin: 0 auto;
  padding: 0 24px;
}
.container--large { max-width: var(--container-large); }
.container--small { max-width: var(--container-small); }
.container--medium { max-width: var(--container-medium); }
.container--xsmall { max-width: var(--container-xsmall); }

.desktop-only { display: none !important; }
.mobile-only { display: inline !important; }

@media (min-width: 760px) {
  .desktop-only { display: inline !important; }
  .mobile-only { display: none !important; }
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 4px;
  color: var(--white) !important;
  transition: opacity 0.2s;
  line-height: 1.3;
  text-align: center;
}
.btn:hover { opacity: 0.9; }
.btn.bg-green-dark { background: var(--green-dark); }
.btn.bg-green { background: var(--green); }
.btn.bg-blue { background: var(--blue); }
.btn.bg-navy-dark { background: var(--navy-dark); }
.btn.bg-navy { background: var(--navy); }

.bg-red-dark { background: var(--red-dark); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.bg-green { background: var(--green); }

.h1, .h4, .h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}
.h1 { font-size: 2rem; }
.h4 { font-size: 1.25rem; }
.h5 { font-size: 1.0625rem; }

/* ===== HEADER ===== */
#header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.header--inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.header--left {
  flex-shrink: 0;
}

.header-logo {
  width: 200px;
  height: auto;
}

@media (min-width: 760px) {
  .header-logo { width: 340px; }
}

.header--right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav--buttons ul {
  display: flex;
  gap: 6px;
}
.nav--buttons .btn {
  padding: 6px 12px;
  font-size: 0.6875rem;
}
@media (min-width: 760px) {
  .nav--buttons .btn {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }
}

.nav--primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-trigger,
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s;
}
.search-trigger:hover,
.menu-trigger:hover {
  background: var(--off-white);
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.icon.search {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
}
.icon.menu {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E");
}
.icon.close {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E");
}

/* ===== STICKY HEADER ===== */
.sticky-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  transform: translateY(-100%);
  transition: transform 0.3s;
}
.sticky-header.visible {
  transform: translateY(0);
}
.sticky-header--inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.sticky-header--logo img { width: 160px; }
.sticky-header--buttons {
  display: flex;
  gap: 4px;
}
.sticky-header--buttons .btn {
  padding: 6px 10px;
  font-size: 0.65rem;
}
.sticky-header--triggers {
  display: flex;
  gap: 4px;
}
.sticky-header--triggers button {
  background: none;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ===== OFF-CANVAS NAV ===== */
.nav-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 500px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.nav-offcanvas.open {
  transform: translateX(0);
}
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.offcanvas-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-offcanvas--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
}
.nav-offcanvas--header form { flex: 1; }
.search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.btn-close {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  padding: 8px;
}
.btn-close .icon.close { width: 20px; height: 20px; }

/* Menu accordion */
.nav-menu { padding: 20px 0; }
.nav-level-1 > ul > li { border-bottom: 1px solid var(--light-gray); }

.nav-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.nav-accordion::after {
  content: '+';
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.nav-accordion[aria-expanded="true"]::after {
  content: '−';
}

.subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.subnav.open {
  max-height: 2000px;
}
.subnav--inner { padding: 0 0 20px; }
.subnav--inner p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-light);
}
.subnav--inner .btn {
  display: inline-block;
  margin-bottom: 16px;
}
.nav-level-2 ul { margin-top: 8px; }
.nav-level-2 li { margin-bottom: 4px; }
.nav-level-2 a {
  font-size: 0.9rem;
  padding: 4px 0;
  display: block;
}

/* Nav menu footer */
.nav-menu--footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}
.social-media ul {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.social-media a {
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.social-media svg {
  width: 16px;
  height: 16px;
}
.nav-menu--footer-col ul {
  columns: 2;
  column-gap: 20px;
}
.nav-menu--footer-col li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.nav-menu--footer-col a {
  font-size: 0.875rem;
  color: var(--text);
}
.nav-menu--footer-col a:hover { color: var(--blue); }

/* ===== HERO CAROUSEL ===== */
.carousel--container.hero {
  position: relative;
  background: var(--off-white);
  padding: 40px 0;
}
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.slide-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .slide-inner {
    flex-direction: row;
    align-items: center;
  }
  .slide-text, .slide-image { width: 50%; }
}

.slide-text h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy-dark);
}
@media (min-width: 760px) {
  .slide-text h1 { font-size: 2.5rem; }
}
.slide-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-light);
}
.slide-text .btn { font-size: 0.75rem; padding: 12px 28px; }

.slide-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (min-width: 760px) {
  .slide-image img { max-width: 100%; }
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.button {
  background: none;
  border: 2px solid var(--navy-dark);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  transition: all 0.2s;
}
.button:hover {
  background: var(--navy-dark);
  color: var(--white);
}
.button-group {
  display: flex;
  gap: 6px;
}
.button-group button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--navy-dark);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.button-group button.active {
  background: var(--navy-dark);
}
.button--play-pause {
  border-color: var(--green-dark);
  color: var(--green-dark);
  width: 36px;
  height: 36px;
}
.button--play-pause:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ===== ANNOUNCEMENT ===== */
.callout--full {
  padding: 0;
}
.indent-two { padding: 0; }
.callout--inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .callout--inner {
    flex-direction: row;
    padding: 50px 40px;
  }
}

.callout--full-text { flex: 1; }
.callout--full-text h2 { margin-bottom: 12px; }
.callout--full-text p { margin-bottom: 16px; color: var(--text-light); }
.callout--full-text a {
  font-weight: 700;
  font-family: var(--font-heading);
}
.callout--full-small {
  flex-shrink: 0;
  text-align: center;
}
.callout--full-small img { max-width: 120px; }
@media (min-width: 760px) {
  .callout--full-small img { max-width: 160px; }
}

.announcement { border-bottom: 1px solid var(--light-gray); }
.vertical-center .callout--inner {
  align-items: center;
}

.bold { font-weight: 700; }

/* ===== HIGHLIGHTS CAROUSEL ===== */
.carousel--container.inner {
  padding: 40px 0;
  background: var(--off-white);
}
.carousel-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.carousel-inner {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel-inner::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.carousel-slide .slide-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.carousel-slide .slide-text {
  padding: 20px;
}
.carousel-slide .slide-text h3 { margin-bottom: 8px; }
.carousel-slide .slide-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.carousel-slide .slide-text a {
  font-weight: 700;
  font-size: 0.875rem;
}

/* ===== ACADEMIC PROGRAMS HERO CALLOUT ===== */
.hero--image {
  position: relative;
  overflow: hidden;
}
.callout--hero-image {
  position: absolute;
  inset: 0;
}
.callout--hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.relative { position: relative; }
.hero--image .callout--inner {
  position: relative;
  z-index: 1;
  background: var(--green);
  margin: 40px 0;
  border-radius: 8px;
  padding: 40px 30px;
  color: var(--white);
}
.hero--image .callout--full-text h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.hero--image .callout--full-text p {
  color: rgba(255,255,255,0.9);
}
.hero--image .callout--full-text a { color: var(--white); }
.hero--image .btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  margin-bottom: 8px;
}
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 760px) {
  .hero--image .callout--inner {
    flex-direction: row;
    padding: 50px 40px;
  }
  .hero--image .callout--full-text { padding-right: 40px; }
}

/* ===== HALF IMAGE/HALF TEXT ===== */
.wrapper--indent { padding: 0; }
.callout--half-image-half-text {
  display: flex;
  flex-direction: column;
}
.callout--half-image-half-text .col {
  flex: 1;
  padding: 30px 24px;
}
.callout--half-image-half-text .col img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.col-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.col-text p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.col-text a {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
}

@media (min-width: 760px) {
  .callout--half-image-half-text {
    flex-direction: row;
  }
  .callout--half-image-half-text .col {
    padding: 40px 50px;
  }
  .callout--half-image-half-text .col img {
    height: 100%;
    min-height: 320px;
  }
}

/* ===== NEWS & EVENTS ===== */
.news-events {
  padding: 40px 24px;
}
.news-events h2 { margin-bottom: 24px; }
.three--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .three--cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.news-router {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}
.router--item-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-router--inner { padding: 20px; }
.news--category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.news-router--title {
  display: block;
  margin-bottom: 8px;
}
.news-router--title a { color: var(--text); }
.news-router--title a:hover { color: var(--blue); }
.news-router--inner > p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.news-router--desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.news-links li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light-gray);
}
.news-links a {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== HEART FOR ALL ===== */
.callout--text-with-image {
  display: flex;
  flex-direction: column;
}
.callout--text-with-image--text {
  padding: 40px 24px;
  display: flex;
  align-items: center;
  color: var(--white);
}
.callout--content-inner { max-width: 600px; }
.callout--content-inner h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-family: var(--font-marker);
  font-weight: 400;
  line-height: 1.2;
}
.callout--content-inner p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}
.callout--content-inner .btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
}
.callout--text-with-image--image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
@media (min-width: 760px) {
  .callout--text-with-image {
    flex-direction: row;
  }
  .callout--text-with-image--text,
  .callout--text-with-image--image {
    width: 50%;
  }
  .callout--text-with-image--text { padding: 60px 50px; }
  .callout--text-with-image--image img { height: 100%; min-height: 400px; }
}

/* ===== BLOG ===== */
.blog-router {
  padding: 40px 24px;
}
.blog-router h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.grid.three-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .grid.three-cols { grid-template-columns: 1fr 1fr 1fr; }
}

.blog-router--inner {
  background: var(--off-white);
  border-radius: 8px;
  overflow: hidden;
}
.blog-router--image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog--category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--green-dark);
  padding: 16px 16px 0;
}
.blog-router--inner h3 {
  padding: 8px 16px 0;
}
.blog-router--inner h3 a { color: var(--text); }
.blog-router--inner h3 a:hover { color: var(--blue); }
.blog-router--desc {
  padding: 8px 16px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
}
.footer--main { padding: 50px 0 30px; }
.footer--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 760px) {
  .footer--grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.footer--col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer--col p, .footer--col li {
  font-size: 0.875rem;
  margin-bottom: 8px;
}
.footer--col a {
  color: rgba(255,255,255,0.7);
}
.footer--col a:hover { color: var(--white); }
.footer--col .social-media ul { gap: 10px; }
.footer--col .social-media a { color: rgba(255,255,255,0.7); }
.footer--col .social-media a:hover { color: var(--white); }

.footer--bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
}
.footer--bottom > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 760px) {
  .footer--bottom > div {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer--bottom p {
  font-size: 0.8rem;
}
.footer--bottom ul {
  display: flex;
  gap: 16px;
}
.footer--bottom a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.footer--bottom a:hover { color: var(--white); }
