/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 21, 48, 0.45) 0%,
    rgba(14, 27, 61, 0.4) 42%,
    rgba(22, 48, 107, 0.3) 72%,
    rgba(22, 48, 107, 0.1) 100%
  );
}
.hero__honeycomb {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 50% 0,
      transparent 18px,
      rgba(245, 166, 35, 0.07) 19px,
      transparent 20px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%23f5a623' stroke-opacity='.18' stroke-width='1.4'%3E%3Cpath d='M28 0 0 16v32l28 16 28-16V16z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 100px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(31px, 8vw, 40px) 22px 30px;
}
.hero__content {
  max-width: 720px;
}
.hero__title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.hero__script {
  font-family: var(--ff-script);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__lead {
  font-size: 1.08rem;
  color: #d7deef;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__chips {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.86rem;
  color: #d7deef;
  line-height: 1.1;
}
.hchip b {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--accent);
}

.hero__badges {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, var(--cta), var(--accent));
}
.hero__badges-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  padding: 14px 22px;
}
.fbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}
.fbadge svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.hero.hero--banner {
  min-height: 0;
  display: block;
  background: #eaf5fb;
  line-height: 0;
}
.hero__banner-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1918 / 821;
  object-fit: cover;
  object-position: center;
}

/* ===================== ABOUT ===================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  position: relative;
  padding-bottom: 30px;
  padding-right: 30px;
}
.about__frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}
.about__frame img {
  width: 100%;
  height: clamp(234px, 35vw, 264px);
  object-fit: cover;
  object-position: center;
}
.about__offset {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, var(--accent), var(--cta));
  border-radius: var(--radius);
  z-index: 1;
  opacity: 0.9;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}
.about__seal {
  position: absolute;
  right: -4px;
  bottom: 6px;
  z-index: 3;
  width: 122px;
  height: 138px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
  background: var(--base);
  color: #fff;
  border: 3px solid var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  padding: 18px 6px;
}
.about__seal-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--accent);
}
.about__seal-txt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.about__bracket {
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 3;
}
.about__bracket--tl {
  top: -6px;
  left: -6px;
  border-top: 4px solid var(--accent-2);
  border-left: 4px solid var(--accent-2);
  border-top-left-radius: 8px;
}
.about__bracket--br {
  bottom: 18px;
  right: 28px;
  border-bottom: 4px solid var(--accent-2);
  border-right: 4px solid var(--accent-2);
  border-bottom-right-radius: 8px;
}
.about__body .h2 {
  margin: 0 0 16px;
}
.about__body p {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--muted);
  margin-bottom: 14px;
}
.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink);
}
.chip b {
  color: var(--cta);
  font-family: var(--ff-head);
}

/* ===================== FACILITIES ===================== */
.facilities {
  background: var(--cream);
}
.facility-carousel {
  position: relative;
}
.facility-carousel__viewport {
  overflow: hidden;
  padding: 12px 4px 24px;
}
.facility-carousel__track {
  display: flex;
  gap: 18px;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.facility-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s,
    filter 0.35s;
}
.facility-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 155px;
  background: linear-gradient(
    to top,
    rgba(5, 10, 25, 0.4),
    rgba(5, 10, 25, 0.48) 62%,
    transparent
  );
  transition:
    height 0.35s,
    background 0.35s;
}
.facility-card__number {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: var(--base);
  font-family: var(--ff-head);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.facility-card__type {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 64px;
  font-family: var(--ff-head);
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--accent);
}
.facility-card__label {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.025em;
}
.facility-card:hover {
  transform: translateY(-8px);
  filter: saturate(1.1);
  border-color: var(--accent);
  box-shadow:
    0 20px 42px rgba(22, 184, 166, 0.2),
    0 0 0 2px rgba(255, 107, 26, 0.34);
}
.facility-card:hover::after {
  height: 180px;
  background: linear-gradient(
    to top,
    rgba(5, 10, 25, 0.4),
    rgba(22, 48, 107, 0.3) 65%,
    transparent
  );
}
.facility-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.facility-carousel__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--base);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
}
.facility-carousel__arrow:hover {
  transform: scale(1.1);
  background: var(--cta);
  color: #fff;
}
.facility-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 138px;
}
.facility-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #c6bda9;
  transition:
    width 0.3s,
    background 0.3s;
}
.facility-carousel__dot.active {
  width: 28px;
  border-radius: 20px;
  background: var(--color-sweep);
}

/* ===================== COURSES ===================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.course {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
  overflow: hidden;
}
.course::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  background: var(--color-sweep);
  background-size: 240% 100%;
  opacity: 0.06;
  border-radius: 50%;
  transition:
    transform 0.45s,
    opacity 0.3s;
}
.course:hover {
  transform: translateY(-9px);
  border-color: var(--c);
  background: linear-gradient(
    145deg,
    #fff 62%,
    color-mix(in srgb, var(--c) 9%, #fff)
  );
  box-shadow:
    0 20px 42px rgba(29, 78, 158, 0.14),
    0 10px 28px rgba(22, 184, 166, 0.13),
    0 0 0 1px var(--c);
}
.course:hover::before {
  transform: scale(1.35) rotate(25deg);
  opacity: 0.14;
  animation: colorFlow 2s linear infinite;
}
.course__hex {
  display: grid;
  place-items: center;
  width: 68px;
  height: 76px;
  margin-bottom: 18px;
  flex: 0 0 76px;
  background: var(--c);
  color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.course__hex svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: #fff;
  transform-origin: center;
}
.course h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--base);
  margin-bottom: 8px;
}
.course p {
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  color: var(--muted);
  margin-bottom: 16px;
  min-height: 50px;
}
.course__tag {
  display: inline-block;
  background: var(--cream-2);
  color: var(--base);
  font-family: var(--ff-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  padding: 5px 13px;
  border-radius: 50px;
  border: 1px solid var(--line);
}
.course .course__tag {
  margin-top: auto;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.course:hover .course__hex {
  background: var(--color-sweep);
  background-size: 250% 100%;
  animation: colorFlow 2s linear infinite;
  transform: translateY(-5px) rotate(5deg) scale(1.06);
  filter: drop-shadow(
    0 10px 12px color-mix(in srgb, var(--c) 34%, transparent)
  );
}
.course:hover h3 {
  color: var(--c);
}
.course:hover .course__tag {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
  transform: translateX(4px);
}

.lateral {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  background: linear-gradient(110deg, var(--base), var(--base-2));
  border-radius: var(--radius);
  padding: 30px 38px;
  position: relative;
  overflow: hidden;
}
.lateral::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(245, 166, 35, 0.2);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.lateral__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--base);
  font-family: var(--ff-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.7rem, 1vw, 0.78rem);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.lateral h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.lateral p {
  color: #c4cee6;
  max-width: 620px;
}

/* ===================== LEADERSHIP ===================== */
.leaders {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.leaders::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 45%,
    transparent 0,
    rgba(10, 21, 48, 0.18) 48%,
    rgba(10, 21, 48, 0.56) 100%
  );
}
.leaders > .container {
  position: relative;
  z-index: 2;
}
.leaders__svg-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.leaders__svg-bg svg {
  width: 116%;
  height: 116%;
  animation: leadershipDrift 18s ease-in-out infinite alternate;
}
.leaders__circuit {
  stroke: #16b8a6;
  stroke-width: 2;
  stroke-dasharray: 9 14;
  opacity: 0.32;
  animation: circuitFlow 8s linear infinite;
}
.leaders__nodes {
  fill: #f5a623;
  opacity: 0.72;
}
.leaders__nodes circle {
  animation: nodePulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.leaders__nodes circle:nth-child(even) {
  animation-delay: -1.4s;
}
.leaders__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.leader {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  gap: 22px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.leader:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.leader__mono {
  flex-shrink: 0;
  width: 84px;
  height: 94px;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(160deg, var(--accent), var(--cta));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.leader__photo {
  flex-shrink: 0;
  width: 110px;
  height: 124px;
}
.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 3px solid var(--accent);
}
.leader__role {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.76rem;
}
.leader h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.35rem;
  margin: 4px 0 10px;
}
.leader__quote {
  color: #c4cee6;
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 12px;
}
.leader__sig {
  font-family: var(--ff-script);
  color: var(--accent);
  font-size: 1.3rem;
}
.leader__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.leader__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #b9c5e0;
}
.leader__meta svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}

@keyframes leadershipDrift {
  to {
    transform: translate3d(-2.5%, 1.5%, 0) scale(1.025);
  }
}
@keyframes circuitFlow {
  to {
    stroke-dashoffset: -92;
  }
}
@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.75);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

/* ===================== ADMISSIONS ===================== */
.admissions {
  background: linear-gradient(
    120deg,
    var(--base) 0%,
    var(--base-2) 55%,
    #1a3a78 100%
  );
  color: #fff;
  padding: clamp(36px, 8vw, 44px) 0;
  position: relative;
  overflow: hidden;
}
.admissions::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 0 0 24v48l42 24 42-24V24z' fill='none' stroke='%23f5a623' stroke-width='2'/%3E%3C/svg%3E");
}
.admissions__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.admissions p {
  color: #c4cee6;
  margin-top: 14px;
}
.admissions__steps {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.astep {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
}
.astep b {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}
.astep span {
  font-size: 0.94rem;
  color: #e3e9f6;
}
.admissions__form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.admissions__form h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  font-weight: 600;
  color: var(--base);
  font-size: 1.3rem;
  margin-bottom: 18px;
  text-align: center;
}
.field {
  margin-bottom: 12px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cta);
  background: #fff;
}
.form-note {
  margin-top: 12px;
  text-align: center;
  color: #0e7c66;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Split Section (Image & Text) ---------- */
.split-section {
  padding: 60px 0;
}
.split-section:nth-child(even) {
  background: #fff;
}
.split-section:nth-child(odd) {
  background: var(--cream);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split-grid--reverse > :first-child {
  order: 2;
}
.split-grid--reverse > :last-child {
  order: 1;
}
.split-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-image img {
  width: 100%;
  height: clamp(280px, 40vw, 380px);
  object-fit: cover;
  transition: transform 0.5s ease;
}
.split-image:hover img {
  transform: scale(1.05);
}
.split-content h3 {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--base);
  margin-bottom: 15px;
}
.split-content p {
  color: var(--muted);
  margin-bottom: 15px;
  line-height: 1.75;
}
.split-content ul {
  list-style-type: none;
  padding-left: 0;
}
.split-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}
.split-content li::before {
  content: "»";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===================== ACADEMICS CUSTOM ===================== */
.pillars-section {
  padding: 80px 0;
  background: var(--base);
  color: #fff;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: start;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.pillar-card h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d7deef;
}

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

.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.features-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}
.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cta);
  font-weight: bold;
  font-size: 1.2rem;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}
.activity-box {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}
.activity-box h3 {
  font-family: var(--ff-body), "Inter", sans-serif;
  color: var(--base);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.activity-box p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.activity-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--cream-2);
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0.5;
}

.banner-section {
  position: relative;
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 27, 61, 0.4) 0%,
    rgba(22, 184, 166, 0.35) 100%
  );
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.banner-content h2 {
  font-family: var(--ff-body), "Inter", sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.banner-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e3e9f6;
}

/* ===================== ACADEMICS HOME VISUAL MATCH ===================== */
body.inner-page main {
  background: var(--cream);
}

body.inner-page :is(.inner-hero, .dept-hero, .cl-hero) {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  min-height: clamp(280px, 38vh, 420px);
  padding: clamp(47px, 10vw, 55px) 22px clamp(31px, 7vw, 40px);
}

body.inner-page :is(.inner-hero__bg, .dept-hero__bg, .cl-hero__bg) {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

body.inner-page .inner-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 21, 48, 0.45) 0%,
    rgba(14, 27, 61, 0.4) 46%,
    rgba(22, 48, 107, 0.3) 100%
  );
}

body.inner-page .inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 0 0 24v48l42 24 42-24V24z' fill='none' stroke='%23f5a623' stroke-opacity='.34' stroke-width='1.4'/%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, #000 0%, transparent 74%);
}

body.inner-page .inner-hero__content {
  position: relative;
  z-index: 2;
}

body.inner-page .inner-hero h1 {
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

body.inner-page .inner-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #d7deef;
}

body.inner-page
  :is(
    .section,
    .split-section,
    .pillars-section,
    .programme-directory,
    .banner-section
  ) {
  padding: 48px 0;
}

body.inner-page .split-section:nth-child(even),
body.inner-page .programme-directory {
  background: #fff;
}

body.inner-page .split-section:nth-child(odd),
body.inner-page .section[style*="--cream"] {
  background: var(--cream) !important;
}

body.inner-page .section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

body.inner-page .eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

body.inner-page .h2,
body.inner-page .split-content .h2,
body.inner-page .banner-content h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

body.inner-page .split-content .h2 {
  margin: 0 0 16px;
  color: var(--base);
}

body.inner-page .split-content p,
body.inner-page .activity-box p,
body.inner-page .pillar-card p,
body.inner-page .programme-directory__grid span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

body.inner-page .pillars-section {
  position: relative;
  overflow: hidden;
  background: var(--base);
  color: #fff;
}

body.inner-page .pillars-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 0 0 24v48l42 24 42-24V24z' fill='none' stroke='%23f5a623' stroke-width='1.5'/%3E%3C/svg%3E");
}

body.inner-page .pillars-section .container {
  position: relative;
  z-index: 1;
}

body.inner-page
  :is(.pillars-grid, .activities-grid, .programme-directory__grid) {
  display: grid;
  gap: 24px;
}

body.inner-page .pillars-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

body.inner-page .pillars-grid .pillar-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 24px) / 2);
}

body.inner-page .activities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *) {
  --c: var(--accent-2);
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 32px 26px 26px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
}

body.inner-page .pillar-card:nth-child(1),
body.inner-page .activity-box:nth-child(1),
body.inner-page .programme-directory__grid > :nth-child(1) {
  --c: var(--base-3);
}
body.inner-page .pillar-card:nth-child(2),
body.inner-page .activity-box:nth-child(2),
body.inner-page .programme-directory__grid > :nth-child(2) {
  --c: var(--accent-2);
}
body.inner-page .pillar-card:nth-child(3),
body.inner-page .activity-box:nth-child(3),
body.inner-page .programme-directory__grid > :nth-child(3) {
  --c: var(--accent);
}
body.inner-page .pillar-card:nth-child(4),
body.inner-page .programme-directory__grid > :nth-child(4) {
  --c: var(--cta);
}
body.inner-page .programme-directory__grid > :nth-child(5) {
  --c: var(--base-2);
}
body.inner-page .programme-directory__grid > :nth-child(6) {
  --c: var(--accent-2);
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *)::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-sweep);
  background-size: 240% 100%;
  opacity: 0.06;
  transition:
    transform 0.45s,
    opacity 0.3s;
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *)::after {
  content: "";
  width: 50px;
  height: 56px;
  margin-top: auto;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  background: var(--c);
  color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

body.inner-page .pillar-card:nth-child(1)::after {
  content: "01";
}
body.inner-page .pillar-card:nth-child(2)::after {
  content: "02";
}
body.inner-page .pillar-card:nth-child(3)::after {
  content: "03";
}
body.inner-page .pillar-card:nth-child(4)::after {
  content: "04";
}
body.inner-page .activity-box:nth-child(1)::after {
  content: "01";
}
body.inner-page .activity-box:nth-child(2)::after {
  content: "02";
}
body.inner-page .activity-box:nth-child(3)::after {
  content: "03";
}
body.inner-page .programme-directory__grid > :nth-child(1)::after {
  content: "CE";
}
body.inner-page .programme-directory__grid > :nth-child(2)::after {
  content: "ME";
}
body.inner-page .programme-directory__grid > :nth-child(3)::after {
  content: "AE";
}
body.inner-page .programme-directory__grid > :nth-child(4)::after {
  content: "EE";
}
body.inner-page .programme-directory__grid > :nth-child(5)::after {
  content: "EC";
}
body.inner-page .programme-directory__grid > :nth-child(6)::after {
  content: "CS";
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *):hover {
  transform: translateY(-9px);
  border-color: var(--c);
  background: linear-gradient(
    145deg,
    #fff 62%,
    color-mix(in srgb, var(--c) 9%, #fff)
  );
  box-shadow:
    0 20px 42px rgba(29, 78, 158, 0.14),
    0 10px 28px rgba(22, 184, 166, 0.13),
    0 0 0 1px var(--c);
}

body.inner-page
  :is(
    .pillar-card,
    .activity-box,
    .programme-directory__grid > *
  ):hover::before {
  transform: scale(1.35) rotate(25deg);
  opacity: 0.14;
  animation: colorFlow 2s linear infinite;
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *)
  > * {
  position: relative;
  z-index: 1;
}

body.inner-page
  :is(.pillar-card h3, .activity-box h3, .programme-directory__grid strong) {
  font-family: var(--ff-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.12rem;
  line-height: 1.22;
  color: var(--base);
  margin: 0 0 10px;
}

body.inner-page
  :is(.pillar-card, .activity-box, .programme-directory__grid > *):hover
  :is(h3, strong) {
  color: var(--c);
}

body.inner-page :is(.features-list, .activity-box ul) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  margin: 22px 0 0;
  list-style: none;
}

body.inner-page .activity-box ul {
  grid-template-columns: 1fr;
}

body.inner-page :is(.features-list li, .activity-box ul li) {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 52px !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
  line-height: 1.35 !important;
  box-shadow: 0 4px 12px rgba(14, 27, 61, 0.06);
}

body.inner-page :is(.features-list li, .activity-box ul li)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 26px;
  height: 29px;
  background: var(--cta);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: translateY(-50%);
}

body.inner-page :is(.features-list li, .activity-box ul li)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-65%) rotate(-45deg);
}

body.inner-page .split-grid {
  gap: 54px;
}

body.inner-page .split-image {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.inner-page .split-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  transform: translate(16px, 16px);
  border: 3px solid var(--accent-2);
  z-index: -1;
}

body.inner-page .split-image img {
  height: clamp(280px, 40vw, 380px);
  object-fit: cover;
}

body.inner-page .banner-section {
  overflow: hidden;
  text-align: center;
  background-attachment: fixed;
}

body.inner-page .banner-overlay {
  background:
    linear-gradient(110deg, rgba(10, 21, 48, 0.45), rgba(22, 48, 107, 0.4)),
    rgba(14, 27, 61, 0.2);
}

body.inner-page .banner-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 0 0 24v48l42 24 42-24V24z' fill='none' stroke='%23f5a623' stroke-width='1.5'/%3E%3C/svg%3E");
}

body.inner-page .banner-content h2 {
  color: #fff;
}

body.inner-page .banner-content p {
  max-width: 760px;
  margin: 0 auto;
  color: #dfe6f5;
}

body.inner-page .related-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(110deg, var(--cream-2), #fff);
  box-shadow: var(--shadow-sm);
}

body.inner-page .related-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

body.inner-page .programme-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1080px) {
  body.inner-page .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.inner-page .split-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-inline: auto;
  }

  body.inner-page .split-grid--reverse > * {
    order: unset;
  }
}

@media (max-width: 768px) {
  body.inner-page
    :is(
      .section,
      .split-section,
      .pillars-section,
      .programme-directory,
      .banner-section
    ) {
    padding: 44px 0;
  }

  body.inner-page
    :is(
      .pillars-grid,
      .activities-grid,
      .programme-directory__grid,
      .features-list
    ) {
    grid-template-columns: 1fr;
  }

  body.inner-page .pillars-grid .pillar-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  body.inner-page .split-image img {
    height: 380px;
  }
}

@media (max-width: 620px) {
  body.inner-page :is(.inner-hero, .dept-hero, .cl-hero) {
    min-height: 230px;
    padding: 56px 16px 38px;
  }

  body.inner-page .inner-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body.inner-page
    :is(
      .section,
      .split-section,
      .pillars-section,
      .programme-directory,
      .banner-section
    ) {
    padding: 36px 0;
  }

  body.inner-page
    :is(.pillar-card, .activity-box, .programme-directory__grid > *) {
    padding: 28px 22px 24px;
  }

  body.inner-page .split-image img {
    height: 320px;
  }
}

@media (max-width: 420px) {
  body.inner-page .features-list li,
  body.inner-page .activity-box ul li {
    min-height: 52px;
    padding-right: 12px !important;
  }
}

/* Center the last item in features-list */
body.inner-page .features-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 7.5px);
}
@media (max-width: 768px) {
  body.inner-page .features-list li:last-child:nth-child(odd) {
    width: 100%;
  }
}

/* Remove last number badge from activities grid */
body.inner-page .activity-box:last-child::after {
  display: none !important;
}

/* Faculty overview: compact editorial layout without stretched empty cards */
body.inner-page #faculty {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

body.inner-page #faculty .section-head {
  margin-bottom: 30px;
}

body.inner-page #faculty .activities-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 0;
}

body.inner-page #faculty .activity-box {
  grid-column: span 4;
  height: 100%;
  min-height: 0;
  padding: 24px 24px 22px;
  border: 1px solid rgba(14, 27, 61, 0.11);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fff 68%, #fbfcff 100%);
  box-shadow: 0 10px 26px rgba(14, 27, 61, 0.075);
  transition:
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
}

body.inner-page #faculty .activity-box::before,
body.inner-page #faculty .activity-box::after {
  display: none !important;
}

body.inner-page #faculty .activity-box:nth-child(1),
body.inner-page #faculty .activity-box:nth-child(2) {
  grid-column: span 6;
}

body.inner-page #faculty .activity-box:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  grid-template-areas:
    "title support-title"
    "desc support-list";
  gap: 10px 30px;
  align-items: center;
}

body.inner-page #faculty .activity-box:nth-child(3) h3 {
  grid-area: title;
}

body.inner-page #faculty .activity-box:nth-child(3) p {
  grid-area: desc;
}

body.inner-page #faculty .activity-box:nth-child(3) h4 {
  grid-area: support-title;
  align-self: end;
}

body.inner-page #faculty .activity-box:nth-child(3) ul {
  grid-area: support-list;
  align-self: start;
}

body.inner-page #faculty .activity-box:nth-child(7),
body.inner-page #faculty .activity-box:nth-child(8) {
  grid-column: span 6;
}

body.inner-page #faculty .activity-box h3 {
  margin-bottom: 9px;
  font-size: 1.02rem;
}

body.inner-page #faculty .activity-box:hover,
body.inner-page #faculty .activity-box:hover :is(h3, strong) {
  color: var(--base);
}

body.inner-page #faculty .activity-box:hover {
  transform: none;
  border-color: rgba(14, 27, 61, 0.18);
  background: #fff;
  box-shadow: 0 16px 34px rgba(14, 27, 61, 0.11);
}

body.inner-page #faculty .activity-box p {
  margin: 0;
  line-height: 1.62;
}

body.inner-page #faculty .activity-box h4 {
  margin: 0 0 12px;
  color: var(--base);
  font-family: var(--ff-head);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.inner-page #faculty .activity-box ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

body.inner-page #faculty .activity-box ul li {
  min-height: 42px;
  padding: 10px 12px 10px 46px !important;
  border-radius: 8px;
  font-size: 0.84rem;
}

body.inner-page #faculty .activity-box {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 9h4'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
  position: relative;
}

body.inner-page #faculty .activity-box::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: grid !important;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(255, 107, 26, 0.26);
  border-radius: 12px;
  background-image:
    var(--faculty-card-icon),
    linear-gradient(145deg, rgba(255, 107, 26, 0.18), rgba(245, 166, 35, 0.22));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 23px 23px, auto;
  box-shadow:
    0 10px 22px rgba(196, 71, 15, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  clip-path: none;
  opacity: 1;
  transform: none;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

body.inner-page #faculty .activity-box::after {
  display: none !important;
}

body.inner-page #faculty .activity-box:hover::before {
  border-color: rgba(196, 71, 15, 0.38);
  box-shadow:
    0 14px 26px rgba(196, 71, 15, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: none;
}

body.inner-page #faculty .activity-box h3 {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-left: 58px;
}

body.inner-page #faculty .activity-box:nth-child(2) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M8.7 11.5 7 21l5-3 5 3-1.7-9.5'/%3E%3Cpath d='m10.5 8 1 1 2-2'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(3) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='7' height='7' rx='2'/%3E%3Crect x='14' y='4' width='7' height='7' rx='2'/%3E%3Crect x='8.5' y='15' width='7' height='5' rx='2'/%3E%3Cpath d='M10 8h4'/%3E%3Cpath d='M12 11v4'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(4) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M4 20a5 5 0 0 1 10 0'/%3E%3Cpath d='m16 12 2 2 4-5'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(5) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v6L5 18a3 3 0 0 0 2.7 4h8.6A3 3 0 0 0 19 18l-5-10V2'/%3E%3Cpath d='M8 2h8'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(6) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5a2 2 0 0 1 2-2h11v18H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M8 7h6'/%3E%3Cpath d='M8 11h4'/%3E%3Cpath d='m15 13 2 2 4-4'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(7) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M8 14a6 6 0 1 1 8 0c-1 1-1.5 2-1.5 4h-5c0-2-.5-3-1.5-4Z'/%3E%3Cpath d='M12 6v3'/%3E%3Cpath d='m10 10 2 2 3-4'/%3E%3C/svg%3E");
}

body.inner-page #faculty .activity-box:nth-child(8) {
  --faculty-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4470f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='10' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='m17 11 2 2 3-4'/%3E%3C/svg%3E");
}

@media (max-width: 1080px) {
  body.inner-page #faculty .activity-box,
  body.inner-page #faculty .activity-box:nth-child(1),
  body.inner-page #faculty .activity-box:nth-child(2),
  body.inner-page #faculty .activity-box:nth-child(7),
  body.inner-page #faculty .activity-box:nth-child(8) {
    grid-column: span 6;
  }

  body.inner-page #faculty .activity-box:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "desc"
      "support-title"
      "support-list";
    gap: 10px;
  }

  body.inner-page #faculty .activity-box:nth-child(3) h3,
  body.inner-page #faculty .activity-box:nth-child(3) p,
  body.inner-page #faculty .activity-box:nth-child(3) h4,
  body.inner-page #faculty .activity-box:nth-child(3) ul {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  body.inner-page #faculty .activities-grid {
    grid-template-columns: 1fr;
  }

  body.inner-page #faculty .activity-box,
  body.inner-page #faculty .activity-box:nth-child(1),
  body.inner-page #faculty .activity-box:nth-child(2),
  body.inner-page #faculty .activity-box:nth-child(7),
  body.inner-page #faculty .activity-box:nth-child(8) {
    grid-column: 1;
  }

  body.inner-page #faculty .activity-box ul {
    grid-template-columns: 1fr;
  }
}

/* ===================== IMAGE COLLAGE (Skill-Oriented Curriculum) ===================== */
.collage-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  width: 100%;
}
.collage-main {
  width: 82%;
  height: clamp(320px, 40vw, 400px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  margin-right: auto;
  margin-bottom: 60px;
  border: 4px solid var(--cream);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.collage-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.collage-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  height: clamp(200px, 30vw, 280px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 3;
  border: 8px solid #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.collage-sub:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.collage-pattern {
  position: absolute;
  top: -20px;
  right: 10px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--accent) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.3;
  z-index: 1;
}

@media (max-width: 768px) {
  .collage-wrapper {
    min-height: 380px;
    margin-top: 20px;
  }
  .collage-main {
    margin-bottom: 40px;
  }
}






/* Two-column grid: a lone final card spans the row rather than
   leaving dead space beside it. */
.activities-grid > *:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: stretch;
}
