/* =========================================================
   responsive.css — breakpoints (desktop-first)
   1199 / 1023 (nav collapse) / 767 (tablet→mobile) / 479
   ========================================================= */

/* ---------- ≤ 1199px : small desktop ---------- */
@media (max-width: 1199px) {
  .nav, .nav__list { gap: 1.25rem; }
  .nav__link { font-size: .8125rem; }
  .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- ≤ 1023px : tablet, collapsed nav ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block; padding: .875rem 0; font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.25rem; min-height: 48px; font-size: .8125rem; }
  body.nav-open { overflow: hidden; }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
    min-height: 0;
    padding-block: 3.5rem 2.5rem;
  }
  .hero__content {
    width: 100%;
    max-width: 610px;
    align-self: stretch;
    padding-top: 0;
  }
  .admission-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
    gap: 2rem;
  }
  .apply-card {
    justify-self: stretch;
    align-self: flex-start;
    max-width: 348px;
  }

  .faculty-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recruiter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partner-names { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- ≤ 767px : mobile ---------- */
@media (max-width: 767px) {
  .admission-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .admission-media {
    max-width: none;
  }
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .reason-card {
    min-height: 0;
  }
  .credit-transfer__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .credit-transfer__media {
    height: auto;
    aspect-ratio: 575 / 380;
  }
  .transfer-undergraduate {
    padding-block: 2rem 0;
  }
  .transfer-undergraduate > .container {
    max-width: none;
  }
  .transfer-eligibility {
    padding: 1rem;
  }
  .transfer-list,
  .transfer-text {
    font-size: .9375rem;
  }
  .transfer-subheading {
    font-size: 1.0625rem;
  }
  .transfer-policy {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }
  .transfer-policy__content {
    min-height: 92px;
    padding: 1rem;
  }
  .transfer-policy__content .h2 {
    font-size: 1.5rem;
  }
  .transfer-policy__media {
    height: 150px;
  }
  .site-header .header__inner { min-height: 64px; }
  .brand img { width: 124px; }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    min-height: 0;
    padding-block: 2.75rem 2.5rem;
    gap: 2rem;
  }
  .hero__content {
    width: 100%;
    max-width: none;
    align-self: stretch;
    padding-top: 0;
  }
  .hero__eyebrow { font-size: .8125rem; margin-bottom: 1.25rem; }
  .hero__title { font-size: clamp(2.25rem, 10vw, 3rem); }
  
  .hero__lead { font-size: 1rem; }
  .hero__stats { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .hero__dates { grid-template-columns: repeat(1, 1fr); width: 100%; border-radius: 10px; padding: .75rem; }
  .hero__dates .hero__stat { min-height: 88px; padding: .75rem .625rem; }
  .hero__dates .hero__stat dt { white-space: normal; }
  .hero__dates .hero__stat dd {  white-space: normal; }
  .apply-card { justify-self: stretch; align-self: stretch; max-width: none; }
  .apply-card__title { text-align: center; padding:.875rem; font-size: 1.125rem; }
  .input { height: 44px; font-size: 1rem; } /* 16px prevents iOS zoom */
  .captcha { height: 44px; }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  #about .split__media, #approach .split__media { order: 0; }
  .eligibility-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .eligibility-media { aspect-ratio: 4 / 3; }
  .eligibility-media .media-img { height: 100%; }
	
.application-process-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  /*.application-process-media { aspect-ratio: 4 / 3; }*/
  .application-process-media .media-img { height: 100%; }
	
	
  .approach-layout { grid-template-columns: 1fr; }
  #approach .h2 { font-size: 2rem; }
  #approach .media-img { min-height: 0; aspect-ratio: 3 / 2; }
  .pillar {
    grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem;
    padding-block: 1.5rem; font-size: var(--fs-sm); line-height: 1.4;
  }
  .pillar:first-child { padding-top: .5rem; }

  .degree-grid, .aid-grid, .journey-grid, .stat-row { grid-template-columns: 1fr; }
  .degree { min-height: 0; }
  .career-outcomes { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faculty-grid {
    display: flex; gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: 0; margin-bottom: .5rem; padding: 0 0 1rem;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .faculty-grid::-webkit-scrollbar { display: none; }
  .faculty { flex: 0 0 82%; scroll-snap-align: start; }
  .faculty-toggle-wrap { display: none; }
  .faculty-slider-controls { display: flex; gap: .375rem; margin: 0 0 1.5rem; }
  .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(--teal-500); color: var(--white);
  }
  .faculty-slider__button::before {
    content: ""; width: .5rem; height: .5rem;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }
  .faculty-slider__button[data-slider-direction="previous"]::before { transform: rotate(-135deg); }
  .faculty-slider__button:disabled { opacity: .45; cursor: default; }
  #students .quote-grid { gap: .75rem; margin: 2rem 0 .5rem; }
  #students .quote { flex-basis: 100%; }
  #students .quote blockquote p { font-size: .9375rem; line-height: 1.5; }
  #students .quote-slider-controls { margin: 0 0 1.5rem; }
  .recruiter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .partner-names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .partner-names li:last-child { grid-column: 1 / -1; justify-self: center; max-width: 180px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; grid-auto-flow: row; }
  .gallery img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
  .gallery__tall, .gallery__wide { grid-column: auto; grid-row: auto; }

  .tabs {
    display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; min-height: 48px; padding: .75rem 1.125rem; scroll-snap-align: start; }
  .faq-category { display: block; margin-bottom: 1.5rem; }
  .faq-category__select-wrap { display: block; position: relative; }
  .faq-category__select-wrap::after {
    content: ""; position: absolute; top: 50%; right: 1rem;
    width: .5rem; height: .5rem; border-right: 1.5px solid var(--white);
    border-bottom: 1.5px solid var(--white); transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  .faq-category__select {
    width: 100%; min-height: 48px; padding: .75rem 2.5rem .75rem 1rem;
    appearance: none; border: 0; border-radius: var(--radius-sm);
    background: #027272; color: var(--white);
    font-size: .875rem; font-weight: 600;
  }
  .faq-category.is-enhanced .faq-category__select { display: none; }
  .faq-category__custom[hidden], .faq-category__options[hidden] { display: none; }
  .faq-category__custom { display: block; position: relative; width: 100%; }
  .faq-category__trigger {
    width: 100%; min-height: 48px; padding: .75rem 2.5rem .75rem 1rem;
    border: 0; border-radius: var(--radius-sm);
    background: #027272; color: var(--white);
    font-size: .875rem; font-weight: 600; text-align: left;
  }
  .faq-category__options {
    position: absolute; top: 100%; left: 0; z-index: 5;
    display: flex; flex-direction: column;
    width: 100%; overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: #027272;
  }
  .faq-category__option {
    width: 100%; min-width: 0; padding: .5rem 1rem;
    color: var(--white); text-align: left;
    overflow-wrap: anywhere;
  }
  .faq-category__option:hover,
  .faq-category__option[aria-selected="true"] { background: #006a66; }
  .faq-category__trigger:focus-visible,
  .faq-category__option:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; }
  .faq-category__select:focus-visible { outline: none; box-shadow: var(--ring); }

  .acc__q { padding: 1rem; font-size: .875rem; }
  .acc__a { padding: 0 1rem 1rem; }
  .acc__a p { font-size: .875rem; }

  .footnote { text-align: right; }
	.footnote2 { text-align: left; }
  .cta { padding-block: 2.5rem; }
  .cta .h2 {
    max-width: 20ch;
    margin-inline: auto;
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  }
  .cta .body { max-width: 42rem; }
  .cta .btn--white {
    max-width: 100%;
    min-height: 48px;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-sm);
    color: #111;
    font-size: .875rem;
    letter-spacing: 0;
  }
  .cta .btn--white:hover { color: #111; }
  .footer__inner {
    flex-direction: column; align-items: center; justify-content: center;
    padding-block: 1.25rem 5.5rem; text-align: center;
  }
  .footer__meta { justify-content: center; }

  .mobile-apply {
    display: inline-flex;
    position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 90; min-height: 48px;
    box-shadow: 0 8px 24px rgba(0, 60, 56, .3);
    transform: translateY(150%);
    transition: transform .3s var(--ease), background-color .2s var(--ease);
  }
  .mobile-apply.is-visible { transform: none; }
}

@media (min-width: 768px) {
  .faculty-slider-controls { display: none; }
}

/* ---------- ≤ 479px : small mobile ---------- */
@media (max-width: 479px) {
  .brand img { width: 124px; }
  .hero__title br { display: none; }
  .hero__inner {
    gap: 1.5rem;
    padding: 1.5rem 1rem 1.25rem;
  }
  .hero__eyebrow {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: .75rem;
  }
  .hero__title {
      font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.01em;
    margin-bottom: 1.25rem;
  }
  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: .625rem;
  }
  .hero__lead {
    line-height: 1.55;
    margin-bottom: 1rem;
  }
 
  .hero__dates .hero__stat {
    min-height: 68px;
    padding: .5rem 1.35rem;
  }
  .hero__dates .hero__stat dt {
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 500;
  }
  .hero__dates .hero__stat dd {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .apply-card__title {
    padding: .625rem .5rem;
    font-size: 1.25rem;
  }
  .apply-form {
    gap: .375rem;
    padding: .625rem;
  }
  .input {
    height: 36px;
    font-size: .6875rem;
  }
  .check {
    font-size: .625rem;
  }
  .apply-form__submit {
    min-height: 36px;
    font-size: .75rem;
  }
  .apply-form__links a {
    font-size: .5625rem;
  }
  .journey-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: .75rem; }
  .field--split { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
  .section > .container > .btn { width: 100%; }
  .section.cta > .container > .btn { width: auto; }
}

/* ---------- ≥ 1440px : wide ---------- */
@media (min-width: 1440px) {
  .hero__inner { min-height: 760px; }
}
