/* =========================================================
   sections.css — section shells and per-section layouts
   ========================================================= */
.section { padding-block: var(--section-y); }
.section--soft { background-color: var(--soft); }
.section--teal { background-color: var(--teal-500); color: var(--white); }

/* faint blueprint grid used on soft + teal bands */
.section--grid {
  background-image:url('../images/background-section-light.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--grid-dark {
  background-image:url('../images/careers-beyond-plaksha.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section__intro { max-width: 640px; margin-bottom: 2rem; color: var(--ink-500); font-size: var(--fs-sm); }
.section__intro--wide { max-width: 960px; margin-bottom: 1.75rem; font-size: var(--fs-sm); }

/* ---------- Generic split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split__media { margin: 0; }
.media-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--teal-100);
}

/* ---------- About ---------- */
#about .split__text .body { font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: 1.5rem; }
#about .h2 { max-width: 520px; }
.philosophy { border-left: 3px solid var(--teal-500); padding: .25rem 0 .25rem 1rem; }
.philosophy__title { font-size: 20px; font-weight: 600; color: var(--ink-800); margin-bottom: .375rem; }
.philosophy p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; max-width: 440px; }

/* ---------- Degrees ---------- */
.degree-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }

/* ---------- Reimagining ---------- */
.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.approach-content { display: flex; flex-direction: column; min-width: 0; }
#approach .eyebrow { margin-bottom: .5rem; }
#approach .h2 { font-size: clamp(1.5rem, 1.25rem + .7vw, 2rem); margin-bottom: .5rem; }
#approach .section__intro {
  max-width: none;
  margin-bottom: .75rem;
  line-height: 1.55;
}
#approach .split__media { min-height: 100%; }
#approach .media-img {
  height: 100%;
  min-height: 18rem;
  aspect-ratio: auto;
  border-radius: 10px;
}
.pillars { display: flex; flex-direction: column; }
.pillar {
  display: grid; grid-template-columns: max-content 1fr; gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(.8125rem, .78rem + .15vw, .9375rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-800);
  align-items: center;
}
.pillar:first-child { padding-top: .5rem; }
.pillar__num {
  display: inline-flex;
  width: 2.8rem;
  height: 1.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal-500);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

/* ---------- Partners ---------- */
.partner-logos {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem; align-items: center; margin-top: 2rem;
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: .5rem;
  font-size: .9375rem; font-weight: 600; color: var(--c, var(--ink-800));
  text-align: center; line-height: 1.2;
  filter: grayscale(.15);
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.partner-logo img { width: auto; max-width: 100%; max-height: 60px; object-fit: contain; }
.partner-logo:hover { filter: none; }
.partner-logo--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.0625rem; }
.partner-logo--bold { font-weight: 800; letter-spacing: .04em; font-size: .8125rem; }
.partner-names {
  display: grid; grid-template-columns: repeat(5, minmax(0, 180px));
  justify-content: space-between; gap: 1.5rem; margin-top: 3.5rem;
}
.partner-names li { text-align: center; font-size: 1rem; font-weight: 600; color: var(--ink-800); line-height: 1.25; }
.partner-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--ink-500); text-align: right; }

/* ---------- Faculty ---------- */
.faculty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-bottom: 2.5rem; }
.faculty-slider-controls { display: none; }
.quote-slider-controls { display: flex; gap: .375rem; margin-top: 1.5rem; }
.faculty { display: flex; flex-direction: column; }
.faculty[hidden] { display: none; }
.faculty__photo {
  aspect-ratio: 295 / 265; overflow: hidden; margin-bottom: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f9faf9;
}
.faculty__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s var(--ease); }
.faculty:hover .faculty__photo img { transform: scale(1.03); }
.faculty__name { font-size: 1rem; font-weight: 600; color: var(--ink-800); margin-bottom: .5rem; }
.faculty__role { font-size: .875rem; color: var(--ink-500); line-height: 1.5; letter-spacing: .15px; margin-bottom: .75rem; }
.faculty__area { font-size: .875rem; font-weight: 600;  color: var(--teal-500); margin-bottom: .5rem; }
.faculty__edu { font-size: .875rem; color: var(--ink-600); line-height: 1.5; letter-spacing: .1px; font-weight: 600; }

/* ---------- Eligibility ---------- */
.checklist { display: flex; flex-direction: column; gap: .875rem; }
.checklist li {
  position: relative; padding-left: 1.75rem;
  font-size: var(--fs-sm); line-height: 1.65; color: var(--ink-600);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23007874' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m2.5 8.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist__heading { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); margin: 1.5rem 0 .875rem; }
.eligibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}
.eligibility-content .h2 { margin-bottom: 1.25rem; }
.eligibility-media { display: flex; margin: 0; }
.eligibility-media .media-img { height: 100%; aspect-ratio: auto; }
#eligibility {
	background-color: var(--white);
}

/* ---------- Admission ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem; margin: 2rem 0 1.5rem; counter-reset: none;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  min-height: 5.25rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius);
  background: var(--teal-500);
  color: var(--white);
}
.step__num {
  display: inline-flex;
  min-width: 1.75rem;
  min-height: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: .125rem .35rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-500);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
}
.step__text { font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .96); }
.note {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 1.25rem 1.25rem; margin-bottom: 2rem;
  font-size: var(--fs-sm); line-height: 1.65; color: var(--ink-600);
}
#admission {
	background-color: var(--soft);
}
/* ---------- Financial aid + stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.stat-row--tight { margin-bottom: 0; margin-top: 3rem; text-align: center; }
.stat { border-top: 2px solid var(--line-strong); padding-top: 1.5rem; }
.stat__value { font-size: var(--fs-h2); font-weight: 600; color: var(--ink-800); line-height: 1.15; letter-spacing: -.01em; margin-bottom: .75rem; }
.stat__label { font-size: var(--fs-sm); color: var(--ink-600); }

.stat-row2 { display: grid; gap: 1.5rem; margin: 2rem 0; }
.stat-row--tight2 { margin-bottom: 0; margin-top: 4rem; text-align: center; }
.stat2 { border-top: 2px solid var(--line-strong); padding-top: 1.5rem; }
.stat__value2 { font-size: var(--fs-h2); font-weight: 600; color: var(--ink-800); line-height: 1.15; letter-spacing: -.01em; margin-bottom: .75rem; }
.stat__label2 { font-size: var(--fs-sm); color: var(--ink-600); }

.aid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.footnote { margin-top: 1.5rem; text-align: right; font-size: .6875rem; color: var(--ink-500); }
#scholarships .stat { border-top-color: rgba(255, 255, 255, .38); }
#scholarships .stat__value,
#scholarships .stat__label { color: var(--white); }
#scholarships .aid {
  background: #027272;
  box-shadow: none;
}
#scholarships .aid .h5 { color: var(--white); }
#scholarships .aid .body-sm { color: rgba(255, 255, 255, .78); }
#scholarships .footnote { color: rgba(255, 255, 255, .62); }

/* ---------- Career outcomes ---------- */
#careers {
  background: #eaf7f7;
}
#careers .h2 { margin-bottom: 1rem; }
.career-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
}
.career-outcome {
  min-width: 0;
  padding: 1.5rem 1rem;
  border: 1px solid #e3e8e6;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(16, 40, 38, .03);
}
#careers h3.career-outcome__title {
  margin-bottom: .375rem;
  color: var(--ink-800);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.4;
}
.career-outcome p {
  color: var(--ink-500);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

/* ---------- Transfer ---------- */
#transfer { padding-block: clamp(3rem, 2rem + 3.5vw, 4.5rem); }
#transfer .h2 { margin-bottom: .75rem; }

/* ---------- Journey ---------- */
#journey { background: #eaf7f7; }
#journey .section__intro { max-width: 900px; margin-bottom: 1.5rem; font-size: var(--fs-sm); line-height: 1.65; }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.journey {
  min-width: 0;
  padding: 1.125rem;
  border: 1px solid #dce8e5;
  border-right-color: var(--teal-300);
  border-radius: var(--radius);
  background: var(--white);
}
.journey__year {
  display: inline-flex;
    align-items: center;
    margin-bottom: .625rem;
    padding: 0.35rem .65rem;
    border-radius: 999px;
    background: var(--teal-700);
    color: var(--white);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}
.journey .h5 { margin-bottom: .5rem; font-size: 1.25rem; line-height: 1.4; }
.journey .body-sm { font-size: .900rem; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: flex; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain;
  margin-top: 2rem; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.quote-grid::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 calc((100% - 1.5rem) / 2); scroll-snap-align: start; }
.quote blockquote p {
  font-size: 1.25rem;
  line-height: 1.6; color: var(--ink-800); margin-bottom: 1.5rem;
}
.quote figcaption { display: flex; flex-direction: column; gap: .25rem; }
.quote__name { font-size: .8125rem; font-weight: 600; color: var(--teal-500); }
.quote__meta { font-size: .6875rem; color: var(--ink-500); }
#students .quote blockquote p { color: rgba(255, 255, 255, .96); }
#students .quote__name { color: var(--white); }
#students .quote__meta { color: rgba(255, 255, 255, .72); }
#students .quote__author { flex-direction: row; align-items: center; gap: .875rem; }
#students .quote__meta-block { display: flex; flex-direction: column; gap: .15rem; }
#students .faculty-slider__button {
  display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--white); color: var(--teal-500);
}
#students .faculty-slider__button::before {
  content: ""; width: .5rem; height: .5rem;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
#students .faculty-slider__button[data-slider-direction="previous"]::before { transform: rotate(-135deg); }
#students .quote__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  object-fit: cover;
}
#students .quote__avatar--male { object-position: 35% 20%; }
#students .quote__avatar--female { object-position: center; }

/* ---------- Recruiters ---------- */
.recruiter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem 1rem; margin-top: 2rem; }
.recruiter-grid li {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .5rem .75rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-size: .75rem; font-weight: 600; color: var(--ink-800);
  text-align: center; line-height: 1.3;
}
#recruiters {
	
}

/* ---------- Gallery ---------- */
.section--life { background-color: #f5f7f5; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 17vw, 230px);
  gap: clamp(.75rem, 1.4vw, 1.25rem);
  margin-top: 2rem;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--teal-100); }
.gallery__tall { grid-row: span 2; }
.gallery__wide { grid-column: span 2; grid-row: span 2; }

/* ---------- FAQ ---------- */
.section--faq { padding-top: calc(var(--section-y) + 1rem); }
.section--faq .h2 { margin-bottom: 1.75rem; }

/* ---------- CTA ---------- */
.cta .h2 { margin-bottom: .5rem; }
.cta .body { font-size: var(--fs-sm); margin-bottom: 1.75rem; }
/* Keep semantic h3 headings at the requested size despite utility classes. */
h3,
h3.h4,
h3.h5,
h3.philosophy__title,
h3.faculty__name { font-size: 24px; }
