/* ===== Akademically — custom styles (only what Tailwind utilities can't do inline) ===== */

:root {
  --navy: #262261;
  --cyan: #20b6e8;
  --cyan-dark: #149fce;
  --skybg: #def2fb;
  --transition-fast: .18s ease;
  --transition-base: .25s ease;
  --transition-menu: .32s cubic-bezier(.4, 0, .2, 1);
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-header: 0 8px 24px -18px rgba(38, 34, 97, .45);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Freeze marquee/animations when ?audit=1 */
html.audit-mode .marquee__track {
  animation: none !important;
  transform: none !important;
}

/* Home / light page heroes — filled by hero-bg.png */
.home-hero,
.about-hero,
.page-hero {
  position: relative;
  overflow: visible;
  background: none;
  z-index: 2;
}

.home-hero {
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  overflow-x: clip;
}

.home-hero__imgwrap {
  max-width: 100%;
  min-width: 0;
}

.home-hero__img {
  display: block;
  width: min(240px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .home-hero__img {
    width: min(312px, 100%);
  }
}

@media (min-width: 1024px) {
  .home-hero__img {
    width: min(400px, 100%);
  }
}

@media (min-width: 1024px) {
  .home-hero {
    min-height: 36rem;
  }
}

.home-hero__wave,
.hero-wave {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.home-hero .max-w-site,
.about-hero > .max-w-site,
.page-hero > .max-w-site {
  position: relative;
  z-index: 2;
}

.home-hero .max-w-site {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.home-hero__grid {
  flex: 1;
  display: grid;
  align-items: stretch;
  width: 100%;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.home-hero__copy .btn-cyan {
  width: auto;
  align-self: flex-start;
}

/* Hero photo anchors to bottom and overflows below the section */
@media (min-width: 1024px) {
  .home-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .home-hero__imgwrap {
    align-self: end;
    position: relative;
    z-index: 2;
    margin-bottom: -4.5rem;
    pointer-events: none;
  }

  .home-hero__img {
    display: block;
    position: relative;
    z-index: 2;
  }
}

/* Gap between hero and Quick Quote */
.home-quote {
  position: relative;
  z-index: 3;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .home-quote {
    margin-top: 4.5rem;
    padding-top: 2rem;
  }
}

/* Services: 5 on top, remaining centered below (approved layout) */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.services-grid>.service-card {
  width: 100%;
}

@media (min-width: 640px) {
  .services-grid>.service-card {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .services-grid>.service-card {
    width: calc((100% - 4 * 1.5rem) / 5);
  }
}

.services-section {
  background: #f7f8fa;
}

.expertise-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('../images/home/expertise-bg.png') center / cover no-repeat;
}

.expertise-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(222, 242, 251, .62);
}

/* Strength 3+2 centered pills */
.strength-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 46rem;
  margin-inline: auto;
}

.strength-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.strength-row .strength-pill {
  flex: 1 1 10.5rem;
  max-width: 14rem;
}

.strength-row--2 {
  max-width: 30rem;
}

.home-strength {
  overflow: visible;
}

.home-strength__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-strength__inner {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 1.75rem;
    padding-right: 0.5rem;
  }
}

.strength-mark {
  display: none;
  margin: 0;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 18rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  .strength-mark {
    display: block;
  }
}

.strength-mark img,
.strength-mark__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 18rem;
}

/* Home footer — inset navy panel with rounded top (approved) */
.home-footer__panel {
  background: var(--navy);
  border-radius: 1.5rem 1.5rem 0 0;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* ---------- Reusable component classes ---------- */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--cyan);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: .625rem;
  padding: .625rem 1.5rem;
  box-shadow: 0 6px 14px -8px rgba(32, 182, 232, .55);
  transition: background-color .2s ease, transform .15s ease;
}

.btn-cyan:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
}

.btn-cyan:active {
  transform: translateY(0);
}

.section-eyebrow {
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  font-size: .875rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.15;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* Logo mark */
.logo-mark {
  position: relative;
  display: inline-flex;
}

.logo-mark .spark {
  position: absolute;
  top: -2px;
  right: -6px;
}

/* Trust badges (hero) */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: #f1f8fc;
  border: 1px solid #d7ecf7;
  border-radius: 999px;
  padding: .4rem .85rem;
}

.trust-badge .dot {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--cyan);
}

/* Form */
.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: .5rem;
  font-size: .95rem;
}

.form-input {
  width: 100%;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .8rem 1rem;
  font-size: .95rem;
  color: #334155;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input::placeholder {
  color: #9aa5b1;
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32, 182, 232, .15);
}

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: .75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px -2px rgba(38, 34, 97, .07);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  box-shadow: 0 3px 8px -5px rgba(38, 34, 97, .1);
  transform: translateY(-4px);
  border-color: #d7ecf7;
}

.service-icon {
  font-size: 1.9rem;
  display: inline-block;
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-top: .85rem;
  font-size: 1.1rem;
}

.service-text {
  margin-top: .5rem;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.5;
}

/* Strength pills */
.strength-pill {
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 1.25rem 1.25rem;
  text-align: center;
  min-width: 0;
  flex: 1 1 8rem;
}

@media (min-width: 640px) {
  .strength-pill {
    padding: 1.6rem 1.75rem;
    min-width: min(10.5rem, 100%);
  }
}

.strength-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--cyan);
  font-size: 2.35rem;
  line-height: 1;
}

.strength-label {
  display: block;
  margin-top: .55rem;
  color: #e2e8f0;
  font-size: 1.05rem;
}

/* Expertise tags */
.tag-pill {
  background: #fff;
  border: 1px solid #eef1f5;
  color: var(--navy);
  border-radius: .5rem;
  padding: .65rem 1.1rem;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 4px 10px -8px rgba(38, 34, 97, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}

.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -10px rgba(38, 34, 97, .4);
}

/* Achievement cards */
.achieve-card {
  background: #312d70;
  border-radius: 1rem;
  padding: 1.8rem 1rem;
  text-align: center;
}

.achieve-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.achieve-label {
  display: block;
  margin-top: .6rem;
  color: #e2e8f0;
  font-size: .95rem;
}

/* Portfolio card + gradebook mock */
.portfolio-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px -10px rgba(38, 34, 97, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(38, 34, 97, .4);
}

.portfolio-card__thumb {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.gradebook {
  background: #fff;
  border-bottom: 1px solid #eef1f5;
  padding-bottom: .5rem;
  height: 190px;
  overflow: hidden;
}

.gb-bar {
  background: #f1f5f9;
  font-size: .55rem;
  color: #334155;
  padding: .35rem .5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.gb-dot {
  width: 22px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 2px;
  display: inline-block;
}

.gb-nav {
  background: var(--navy);
  color: #fff;
  font-size: .5rem;
  padding: .3rem .5rem;
}

.gb-title {
  font-weight: 700;
  color: #0f172a;
  font-size: .8rem;
  padding: .4rem .5rem 0;
}

.gb-rows {
  padding: .4rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.gb-rows span {
  height: 8px;
  background: #eef2f6;
  border-radius: 2px;
}

.gb-rows span:nth-child(2) {
  width: 92%;
}

.gb-rows span:nth-child(3) {
  width: 80%;
}

.gb-rows span:nth-child(4) {
  width: 88%;
}

.grade-badge {
  position: absolute;
  top: 0;
  right: 18px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: .68rem;
  line-height: 1.2;
  padding: .5rem .7rem 1rem;
  border-radius: 0 0 999px 999px;
}

.grade-badge strong {
  font-size: .95rem;
}

/* Course cards */
.course-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(38, 34, 97, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(38, 34, 97, .45);
}

.course-meta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* Tools — one bordered panel: logo grid + copy (matches approved design) */
.tools-panel {
  display: grid;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 1024px) {
  .tools-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e7eb;
}

.tool-cell {
  height: 108px;
  display: grid;
  place-items: center;
  background: #fff;
}

.tools-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .tools-copy {
    padding: 2.75rem 3.25rem;
    border-top: none;
    border-left: 1px solid #e5e7eb;
  }
}

/* Testimonials */
.testi-slide {
  flex: 0 0 100%;
  padding: 0 .5rem;
}

@media (min-width:768px) {
  .testi-slide {
    flex-basis: 33.3333%;
  }
}

.testi-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
}

.stars {
  color: #facc15;
  letter-spacing: .15em;
  font-size: 1.5rem;
}

.testi-text {
  margin-top: 1rem;
  color: #475569;
  font-size: .95rem;
  line-height: 1.55;
}

.testi-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  margin: 1.5rem auto .75rem;
  border: 3px solid #eef2ff;
}

.testi-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f172a;
}

.testi-date {
  color: #64748b;
  font-size: .85rem;
}

.carousel-arrow {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
  transition: background-color .15s ease, color .15s ease;
}

.carousel-arrow:hover {
  background: var(--cyan);
  color: #fff;
}

/* University logos */
.uni-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  min-height: 48px;
}

/* FAQ */
.faq-item {
  background: #f8f8f8;
  border: 1px solid transparent;
  border-radius: .75rem;
  box-shadow: none;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #334155;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: #64748b;
  display: inline-block;
  line-height: 1;
  transition: transform .25s ease, color .2s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a p {
  padding: 0 1.5rem 1.4rem;
  color: #64748b;
  line-height: 1.6;
}

/* How We Help Veterans — bottom half-circle sits behind LMS */
.how-veterans-help {
  overflow: hidden;
  margin-top: 4rem;
  padding-bottom: 3.5rem;
  z-index: 0;
}

@media (min-width: 1024px) {
  .how-veterans-help {
    overflow: visible;
    margin-top: 6rem;
    padding-bottom: 9rem;
  }
}

.how-veterans-help__arc {
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 0;
  pointer-events: none;
  background: #262261;
}

/* Align with LMS Expertise second column (60% logos band) */
@media (min-width: 1024px) {
  .how-veterans-help__arc {
    left: 70%;
  }
}

.how-veterans-help + .lms-expertise {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .how-veterans-help + .lms-expertise {
    padding-bottom: 5rem;
  }
}

/* LMS Expertise — full-width band, 40% / 60% columns */
.lms-expertise {
  padding: 2rem 0;
}

.lms-expertise:has(+ .veteran) {
  padding-bottom: 0;
}

.lms-expertise + .veteran {
  margin-top: 0;
}

.lms-expertise__grid {
  display: grid;
}

.lms-expertise__title,
.lms-expertise__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  min-height: 0;
}

@media (min-width: 1024px) {
  .lms-expertise__grid {
    grid-template-columns: 40% 60%;
  }

  .lms-expertise__title,
  .lms-expertise__logos {
    padding: 5rem 3.5rem;
    min-height: 30rem;
  }
}

/* LMS */
.lms-expertise__logos .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 2rem;
}

@media (min-width: 640px) {
  .lms-expertise__logos .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 3.5rem;
  }
}

.lms-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  color: #334155;
  font-size: .95rem;
  font-weight: 600;
  min-width: 0;
  text-align: center;
}

@media (min-width: 640px) {
  .lms-item {
    font-size: 1.125rem;
  }
}

.lms-badge {
  font-size: 1.6rem;
  line-height: 1;
  height: 34px;
  display: grid;
  place-items: center;
}

/* Footer */
.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #cbd5e1;
  transition: background-color .15s ease, color .15s ease;
}

.social-btn:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.footer-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: .05em;
  font-size: .85rem;
}

.dot-cyan {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--cyan);
  display: inline-block;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  color: #e2e8f0;
  font-size: 1.05rem;
  transition: color .15s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.pay-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: .3rem;
  padding: .3rem .45rem;
}

/* ---------- Marquee ---------- */
/* Announcement marquee — stay above page content; clip wide track */
.announce-bar {
  position: relative;
  z-index: 60;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__group>span {
  padding: 0 1.75rem;
  white-space: nowrap;
}

.marquee__star {
  color: #fff;
  opacity: .9;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Global a11y / layout hardening ---------- */
/* Offset in-page anchors so the 80px sticky header never covers targets */
html {
  scroll-padding-top: 5.5rem;
  /* clip does not break position:sticky the way overflow-x:hidden does */
  overflow-x: clip;
  max-width: 100%;
}

/* Safety net against accidental horizontal scroll (root causes still fixed per-section) */
body {
  overflow-x: clip;
  max-width: 100%;
}

/* Visible keyboard focus for all interactive elements (mouse users unaffected) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inputs already show a ring; avoid doubling the outline on them */
.form-input:focus-visible {
  outline: none;
}

/* ================= ABOUT PAGE ================= */

/* Breadcrumb */
.crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: #64748b;
  font-size: .95rem;
  max-width: 100%;
}

.crumb a {
  color: #64748b;
}

.crumb a[aria-label="Home"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -0.35rem 0;
}

.crumb a:not([aria-label="Home"]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.35rem;
}

.crumb a:hover {
  color: var(--cyan);
}

.crumb span {
  word-break: break-word;
}

/* About hero photo stack */
.hero-stack {
  position: relative;
  height: 420px;
}

.hero-stack img {
  position: absolute;
  border-radius: 1rem;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .5);
  object-fit: cover;
}

.hero-stack .hs-back-l {
  width: 270px; 
  left: 2%;
  top: 50%;
  filter: grayscale(1);
  z-index: 1;
  transform: translateY(-50%);
}

.hero-stack .hs-back-r {
  width: 270px;  
  right: 2%;
  top: 50%;
  filter: grayscale(1);
  z-index: 5;
  transform: translateY(-50% );
}

.hero-stack .hs-front {
  width: 330px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

@media (max-width:640px) {
  .hero-stack {
    height: 340px;
  }

  .hero-stack .hs-front {
    width: 220px;
    height: 300px;
  }

  .hero-stack .hs-back-l,
  .hero-stack .hs-back-r {
    width: 130px;
    height: 220px;
  }
}

/* Our Story section */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-section__sidebg {
  display: none;
}

@media (min-width: 1024px) {
  .story-section__sidebg {
    display: block;
    position: absolute;
    left: 0;
    bottom: 10px;
    width: min(12vw, 150px);
    height: auto;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
}

.story-section__inner {
  position: relative;
  z-index: 1;
}

.story-media {
  display: flex;
  justify-content: center;
}

.story-media__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

/* Metrics clipboard cards */
.metric-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 2.5px solid var(--navy);
  border-radius: 1rem;
  padding: 3.6rem 1.35rem 2rem;
  text-align: center;
  margin-top: 48px;
}

.metric-card .metric-top {
  position: absolute;
  top: -48px;
  left: -2.5px;
  right: -2.5px;
  width: auto;
  height: 96px;
  box-sizing: border-box;
}

.metric-card .metric-cap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background: var(--navy);
  border-radius: 1rem 1rem 0 0;
  box-sizing: border-box;
}

.metric-card .metric-bump {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: var(--navy);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
}

.metric-card .metric-bump svg {
  width: 44px;
  height: 44px;
}

.metric-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  line-height: 1;
}

.metric-label {
  display: block;
  color: var(--navy);
  margin-top: .65rem;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  line-height: 1.35;
}

/* Our Mission — mobile: visual + copy; desktop: full band bg + HTML copy */
.mission {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  min-height: 320px;
}

.mission__band {
  display: none;
}

.mission__curve {
  display: none;
}

.mission__photo {
  display: none;
}

.mission__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: stretch;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.mission__visual {
  display: block;
  margin: 0;
  padding: 0;
  min-height: 240px;
  background-color: var(--navy);
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.mission__visual-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  object-position: left center;
}

.mission__copy {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  align-self: center;
}

.mission__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #fff;
}

.mission__eyebrow {
  margin-top: 1.5rem;
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.mission__text {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .mission {
    min-height: 0;
    background: transparent;
    overflow: visible;
  }

  .mission__band {
    display: block;
    width: 100%;
    aspect-ratio: 2667 / 837;
    min-height: 28rem;
    background: url('../images/about/mission-band.png') center / cover no-repeat;
  }

  .mission__inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    min-height: 0;
  }

  .mission__visual {
    display: none;
  }

  .mission__copy {
    grid-column: 2;
    text-align: center;
    padding: 2.5rem 2rem;
    overflow: visible;
  }

  .mission__title {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .mission__eyebrow {
    font-size: 1.35rem;
  }

  .mission__text {
    font-size: 1.125rem;
  }
}

/* Core values cards */
.value-card {
  text-align: center;
}

.value-card img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 16px 34px -22px rgba(15, 23, 42, .4);
}

.value-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--cyan);
  font-size: 1.5rem;
  margin-top: 1.25rem;
  line-height: 1.15;
}

.value-text {
  color: #475569;
  margin-top: .65rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

/* Our Approach */
.approach-section {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
}

.approach-section__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #fff;
}

.approach-section__subtitle {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.05rem;
  opacity: .92;
}

.approach-widget {
  margin-top: 3rem;
  text-align: left;
}

.approach-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  align-items: stretch;
  margin-bottom: .75rem;
}

.approach-tab {
  border: 0;
  border-radius: 1.15rem;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  background: #1e1b52;
  transition: background-color .2s ease, color .2s ease, border-radius .2s ease;
  width: 100%;
  aspect-ratio: auto;
  min-height: 5.5rem;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
}

.approach-tab .at-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--cyan);
}

.approach-tab .at-name {
  display: block;
  margin-top: .45rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
}

.approach-tab.is-active {
  background: #fff;
  border-radius: 1.15rem;
  z-index: 1;
}

.approach-tab.is-active::after {
  display: none;
}

.approach-tab.is-active .at-num,
.approach-tab.is-active .at-name {
  color: var(--navy);
}

.approach-panel {
  background: #fff;
  border-radius: 1.15rem;
  padding: 2rem 1.5rem 2.25rem;
  color: var(--navy);
}

.approach-panel h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.3;
}

.approach-panel p {
  color: #3b3f5c;
  margin-top: 1rem;
  line-height: 1.7;
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .approach-section {
    padding: 5.5rem 0;
  }

  .approach-section__title {
    font-size: 2.75rem;
  }

  .approach-section__subtitle {
    font-size: 1.125rem;
  }

  .approach-widget {
    margin-top: 3.5rem;
  }

  .approach-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-bottom: .85rem;
  }

  .approach-tab {
    padding: 1.5rem 1.25rem;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .approach-tab .at-num {
    font-size: 4.75rem;
  }

  .approach-tab .at-name {
    font-size: 1.4rem;
  }

  .approach-tab.is-active {
    border-radius: 1.15rem 1.15rem 0 0;
  }

  .approach-tab.is-active::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: .85rem;
    background: #fff;
  }

  .approach-panel {
    border-radius: 1.25rem;
    padding: 2.75rem 3rem 3rem;
  }

  .approach-panel[data-active="1"] {
    border-top-left-radius: 0;
    border-top-right-radius: 1.25rem;
  }

  .approach-panel[data-active="2"],
  .approach-panel[data-active="3"] {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
  }

  .approach-panel[data-active="4"] {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 0;
  }

  .approach-panel h3 {
    font-size: 1.5rem;
  }

  .approach-panel p {
    font-size: 1.05rem;
  }
}

/* Headline + Card One trio */
.headline-band {
  background: #fff;
  padding: 3.5rem 0 4rem;
  overflow: visible;
}

.headline-band__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 0;
}

.headline-band__copy {
  text-align: left;
  position: relative;
  z-index: 2;
}

.headline-band__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--navy);
}

.headline-band__copy p {
  margin-top: 1.15rem;
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  max-width: 28rem;
}

.headline-band__media {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -2rem;
}

.headline-band__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

.headline-band__cards {
  position: relative;
  z-index: 2;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.info-card {
  background: var(--navy);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.85rem 1.6rem 2.1rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.2;
}

.info-card p {
  color: #fff;
  margin-top: 1rem;
  line-height: 1.65;
  font-size: .98rem;
  opacity: .95;
}

@media (min-width: 768px) {
  .headline-band__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .headline-band {
    padding: 4.5rem 0 5.5rem;
  }

  .headline-band__grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 2rem 1.5rem;
    align-items: end;
    min-height: 420px;
  }

  .headline-band__title {
    font-size: 3rem;
  }

  .headline-band__copy {
    align-self: center;
    padding-bottom: 5rem;
  }

  .headline-band__copy p {
    font-size: 1.05rem;
  }

  .headline-band__media {
    justify-content: flex-end;
    align-items: flex-end;
    align-self: end;
    min-height: 480px;
    margin-bottom: -5rem;
  }

  .headline-band__img {
    width: 100%;
    max-width: 680px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    margin-right: 0;
  }

  .headline-band__cards {
    margin-top: -3rem;
    gap: 1.75rem;
  }

  .info-card {
    padding: 2.15rem 1.85rem 2.4rem;
    border-radius: 1.35rem;
  }

  .info-card h3 {
    font-size: 1.75rem;
  }

  .info-card p {
    font-size: 1.02rem;
  }
}

/* Veteran band */
.veteran {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(35, 32, 72, .72), rgba(35, 32, 72, .72)), url('../images/general/veteran-banner.jpg') center/cover;
}

@media (min-width: 1024px) {
  .veteran {
    min-height: 600px;
  }
}

/* Orange CTA */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #e8791f;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  transition: background-color .2s ease;
}

.btn-orange:hover {
  background: #cf6a15;
}

/* CTA band — image pushes up and crosses the section */
.cta-band {
  position: relative;
  overflow: visible;
  border-radius: 1.5rem;
}

.cta-band__media {
  position: relative;
  z-index: 2;
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
}

.cta-band__img {
  display: block;
  width: 100%;
  height: calc(100% + 3.5rem);
  min-height: 19.5rem;
  margin-top: -3.5rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
  position: relative;
}

.cta-band__img--contain {
  width: auto;
  max-width: 22rem;
  height: auto;
  min-height: 0;
  object-fit: contain;
  margin-top: -3.5rem;
}

@media (min-width: 1024px) {
  .cta-band__media {
    min-height: 20rem;
  }

  .cta-band__img {
    height: calc(100% + 3rem);
    min-height: 23rem;
    margin-top: -3rem;
  }

  .cta-band__img--contain {
    max-width: 26rem;
    margin-top: -3rem;
  }
}

/* CTA lift band — bottom-aligned large image, scroll reveal (all pages) */
.cta-band--lift {
  overflow: visible;
  opacity: 0;
  transform: translate3d(0, 3.5rem, 0);
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.cta-band--lift.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (min-width: 1024px) {
  .cta-band--lift {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-band__media--lift {
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.cta-band__img--lift {
  display: block;
  width: auto;
  max-width: min(100%, 56rem);
  height: auto;
  min-height: 0;
  margin-top: -3rem;
  margin-bottom: 0;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  align-self: flex-end;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .cta-band__media--lift {
    min-height: 0;
  }

  .cta-band__img--lift {
    max-width: min(100%, 76rem);
    margin-top: -18rem;
  }
}

html.audit-mode .cta-band--lift {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band--lift {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* General CTA (general/cta.png) — image flush to band top & bottom, no overlap */
.cta-band--general {
  overflow: hidden;
  align-items: stretch;
}

.cta-band--general.cta-band--lift {
  overflow: hidden;
}

.cta-band__media--general {
  align-items: stretch;
  justify-content: stretch;
  min-height: 14rem;
  overflow: hidden;
  padding: 0;
}

.cta-band__img--general {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  align-self: stretch;
  position: static;
}

@media (min-width: 1024px) {
  .cta-band--general {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band__media--general {
    min-height: 0;
  }

  .cta-band--general .cta-band__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

.cta-band--general .btn-orange {
  width: auto;
  align-self: flex-start;
}

/* ================= SERVICES PAGE ================= */

/* Hero photo cluster */
.svc-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.svc-cluster img {
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 12px 30px -16px rgba(15, 23, 42, .35);
}

.grad-cap-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  position: relative;
  z-index: 2;
}

.grad-cap {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.grad-band__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin-inline: auto;
}

.grad-students {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(340px, 70%);
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  max-height: none;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .grad-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .grad-band {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 17.5rem;
  }

  .grad-cap-wrap {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .grad-band__copy {
    max-width: 34rem;
    padding-inline: 1rem;
  }

  .grad-students {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: clamp(300px, 34vw, 400px);
    max-height: none;
    height: 100%;
    margin: 0;
    z-index: 1;
    pointer-events: none;
  }
}

.svc-cluster .c1 {
  width: 168px;
  height: 168px;
}

.svc-cluster .c2 {
  width: 231px;
  height: 231px;
}

.svc-cluster .c3 {
  width: 168px;
  height: 168px;
}

.svc-cluster .c4 {
  width: 157px;
  height: 157px;
}

.svc-cluster .c5 {
  width: 122px;
  height: 122px;
}

.svc-cluster .c6 {
  width: 153px;
  height: 153px;
}

@media (min-width:1024px) {
  .svc-cluster {
    position: relative;
    height: 480px;
    display: block;
  }

  .svc-cluster img {
    position: absolute;
  }

  .svc-cluster .c1 {
    top: 100px;
    left: 2%;
  }

  .svc-cluster .c2 {
    width: 231px;
    height: 231px;
    top: 50px;
    left: 26%;
  }

  .svc-cluster .c3 {
    top: 30px;
    right: 8%;
  }

  .svc-cluster .c4 {
    top: 260px;
    left: 20%;
  }

  .svc-cluster .c5 {
    top: 290px;
    left: 44%;
  }

  .svc-cluster .c6 {
    top: 220px;
    right: 6%;
  }
}

/* Graduation band */
.grad-band {
  position: relative;
  background: var(--navy);
  border-radius: 1.5rem;
  overflow: hidden;
}

.grad-star {
  position: absolute;
  color: #fff;
  opacity: .18;
  font-size: 1.4rem;
  z-index: 2;
}

/* Solutions tab bar */
.solutions-tabs-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
  .solutions-tabs-wrap {
    justify-content: center;
  }
}

.solutions-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: .25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: .4rem;
  box-shadow: 0 8px 24px -18px rgba(38, 34, 97, .4);
  min-width: max-content;
  margin-inline: auto;
}

.solution-tab {
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: #64748b;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.solution-tab:hover {
  color: var(--navy);
}

.solution-tab.is-active {
  background: var(--navy);
  color: #fff;
}

/* Service detail block */
.svc-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.svc-subhead {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
}

.svc-callout {
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
}

.svc-callout.tint {
  background: #e8f6fc;
}

.svc-callout.white {
  background: #fff;
  box-shadow: 0 12px 30px -20px rgba(38, 34, 97, .35);
}

.svc-callout h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.15rem;
}

.svc-callout p {
  color: #334155;
  margin-top: .6rem;
  line-height: 1.55;
  font-size: .95rem;
}

.svc-img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .45);
}

/* Check pills */
.check-pill {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  border-radius: 1rem;
  padding: .75rem 1.1rem;
  font-size: .95rem;
  color: var(--navy);
}

@media (min-width: 640px) {
  .check-pill {
    align-items: center;
    border-radius: 999px;
  }
}

.check-pill.tint {
  background: #e8f6fc;
}

.check-pill.white {
  background: #fff;
  box-shadow: 0 8px 20px -16px rgba(38, 34, 97, .4);
}

.check-pill svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--navy);
}

/* ================= RESOURCES PAGE ================= */

/* Hero arch images */
.arch-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.arch {
  width: 170px;
  height: 360px;
  border-radius: 130px 130px 130px 130px;
  object-fit: cover;
  box-shadow: 0 22px 46px -24px rgba(15, 23, 42, .5);
}

.arch.mid {
  margin-top: 60px;
}

@media (max-width:640px) {
  .arch {
    width: 96px;
    height: 220px;
    border-radius: 70px;
  }

  .arch.mid {
    margin-top: 34px;
  }
}

/* Sparkle backdrop text block */
.sparkle-band {
  position: relative;
  overflow: hidden;
}

.sparkle-band .sp {
  position: absolute;
  color: #c9cee6;
  font-size: 1.6rem;
}

/* Sidebar widgets */
.side-card {
  background: #f6f7fb;
  border-radius: 1rem;
  padding: 1.5rem;
}

.side-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.1rem;
}

.cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  border-bottom: 1px solid #e6e8ef;
  font-size: .98rem;
  color: #475569;
  cursor: pointer;
}

.cat-row:last-child {
  border-bottom: 0;
}

.cat-row:hover {
  color: var(--cyan);
}

.cat-row.is-active {
  color: var(--cyan);
  font-weight: 700;
}

.cat-row.is-active .cat-count {
  color: var(--cyan);
}

.cat-count {
  color: #94a3b8;
}

.tag-chip {
  display: inline-block;
  color: #475569;
  font-size: .9rem;
}

.tag-sep {
  color: #cbd5e1;
  padding: 0 .4rem;
}

.recent-item {
  display: flex;
  gap: .85rem;
  padding: .7rem 0;
}

.recent-item img {
  width: 60px;
  height: 60px;
  border-radius: .6rem;
  object-fit: cover;
  flex: none;
}

.recent-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: .92rem;
  line-height: 1.3;
}

.recent-item time {
  color: #94a3b8;
  font-size: .8rem;
}

/* Search bar */
.res-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: .5rem .5rem .5rem 1.25rem;
  box-shadow: 0 8px 24px -18px rgba(38, 34, 97, .35);
}

.res-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: #334155;
  background: transparent;
  padding: .6rem 0;
}

.res-search button {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #fff;
  border-radius: .85rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #f1f5f9;
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .9rem;
  color: #475569;
}

.filter-chip button {
  color: #94a3b8;
}

/* Resource cards */
.res-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #edf0f5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(38, 34, 97, .35);
}

@media (min-width:640px) {
  .res-card {
    grid-template-columns: 230px 1fr;
  }
}

.res-card>img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.res-meta {
  color: #64748b;
  font-size: .9rem;
}

.res-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.4rem;
  margin-top: .4rem;
}

.res-body {
  color: #64748b;
  margin-top: .65rem;
  line-height: 1.55;
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  padding: .7rem 1.3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .15s ease, color .15s ease;
}

.btn-outline-navy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.pager a {
  color: var(--navy);
}

.pager a:hover {
  color: var(--cyan);
}

.pager .is-active {
  color: var(--cyan);
}

/* ================= RESOURCE PAGE ================= */

/* Resource hero — arch-wrap pinned to section top (top: 0) */
.page-hero--resource > .max-w-site {
  position: relative;
  z-index: 2;
}

.page-hero--resource .page-hero__body {
  position: relative;
  z-index: 2;
}

.page-hero--resource .arch-wrap {
  position: absolute;
  top: 0;
  right: 1rem;
  left: auto;
  z-index: 1;
  width: min(52%, 19rem);
  margin: 0;
}

@media (min-width: 640px) {
  .page-hero--resource .arch-wrap {
    right: 1.5rem;
    width: min(50%, 26rem);
  }
}

@media (min-width: 1024px) {
  .page-hero--resource .page-hero__copy {
    width: 50%;
    max-width: 50%;
  }

  .page-hero--resource .arch-wrap {
    right: 0;
    width: 50%;
    max-width: 50%;
  }

  .page-hero--resource .page-hero__body {
    min-height: clamp(22rem, 36vw, 30rem);
  }
}

@media (max-width: 1023px) {
  .page-hero--resource .page-hero__body {
    padding-top: calc(min(46vw, 13rem) + 1.5rem);
  }
}

/* Arch (portal) image cards in hero */
.arch-card {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.arch-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.25rem);
  align-items: start;
  align-self: start;
  width: 100%;
  max-width: 100%;
}

/* Staggered arch columns — aligned to top of wrap, offset downward per design */
.arch-wrap > div {
  overflow: visible;
}

.arch-wrap div {
  margin-top: 0;
}



@media (max-width: 639px) {
  .page-hero--resource .arch-wrap {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(100%, 19rem);
  }
}

/* Decorative sparkle field */
.spark-field {
  position: relative;
}

.spark-field .sf {
  position: absolute;
  color: #c9cde6;
  font-size: 1.5rem;
}

/* Resource layout sidebar */
.side-box {
  background: #f4f6fa;
  border-radius: 1rem;
  padding: 1.5rem;
}

.side-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.15rem;
}

.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid #e6eaf0;
  color: #475569;
  cursor: pointer;
  transition: color .15s ease;
}

.cat-row:last-child {
  border-bottom: 0;
}

.cat-row:hover {
  color: var(--cyan);
}

.cat-row.is-active {
  color: var(--cyan);
  font-weight: 700;
}

.tag-chip {
  display: inline-block;
  color: #64748b;
  font-size: .92rem;
  padding: .35rem .1rem;
}

.tag-chip:hover {
  color: var(--cyan);
}

.recent-item {
  display: flex;
  gap: .85rem;
  padding: .85rem 0;
}

.recent-item img {
  width: 64px;
  height: 56px;
  border-radius: .5rem;
  object-fit: cover;
  flex: none;
}

.recent-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.3;
}

.recent-item time {
  color: #94a3b8;
  font-size: .8rem;
}

/* Search bar */
.res-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: .5rem .5rem .5rem 1.25rem;
  box-shadow: 0 8px 24px -18px rgba(38, 34, 97, .4);
}

.res-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: #334155;
  background: transparent;
}

.res-search button {
  background: var(--cyan);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: .85rem;
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color .2s ease;
}

.res-search button:hover {
  background: var(--cyan-dark);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .9rem;
}

.filter-chip button {
  color: #94a3b8;
}

.filter-chip button:hover {
  color: #334155;
}

/* Resource list card */
.res-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid #eef1f5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(38, 34, 97, .35);
}

@media (min-width:640px) {
  .res-card {
    grid-template-columns: 260px 1fr;
  }
}

.res-card>img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.res-meta {
  color: #64748b;
  font-size: .9rem;
}

.res-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.5rem;
  margin-top: .35rem;
}

.res-excerpt {
  color: #64748b;
  margin-top: .6rem;
  line-height: 1.55;
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #cbd5e1;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: .65rem 1.35rem;
  border-radius: .6rem;
  transition: border-color .15s ease, color .15s ease;
}

.btn-outline-navy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.pager a {
  color: var(--navy);
}

.pager a:hover {
  color: var(--cyan);
}

.pager .is-active {
  color: var(--cyan);
}

/* ================= VETERANS PAGE ================= */

/* Hero — approved Rectangle 7 / vet-hero (wave baked into art) */
.vet-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.vet-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(236, 240, 245, .22) 0%, rgba(236, 240, 245, .1) 42%, rgba(236, 240, 245, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.vet-hero > * {
  position: relative;
  z-index: 1;
}

/* Soft organic photo frame (design star/blob cutout) */
.blob-wrap {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .blob-wrap {
    margin-inline: 0;
  }
}

.blob-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  /* Star silhouette is baked into the design-extracted PNG */
  clip-path: none;
}

/* Big step numbers */
.big-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #bfe4f7;
  font-size: 4rem;
  line-height: 1;
}

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 999px;
  background: #cfeafb;
  z-index: 0;
}

/* ================= COURSE KNOWLEDGEBASE PAGE ================= */

/* Dark hero with image on the right */
.dark-hero {
  position: relative;
  overflow: hidden;
  background: #100d09;
  background-size: cover;
  background-position: right center;
}

.dark-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0b07 0%, rgba(13, 11, 7, .85) 42%, rgba(13, 11, 7, .25) 72%, rgba(13, 11, 7, .05) 100%);
  z-index: 0;
}

.dark-hero > * {
  position: relative;
  z-index: 1;
}

.crumb-light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #cbd5e1;
  font-size: .95rem;
}

.crumb-light a {
  color: #cbd5e1;
}

.crumb-light a:hover {
  color: #fff;
}

.crumb-light a[aria-label="Home"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -0.35rem 0;
}

/* Course search bar (navy square button) */
.catalog-search-block {
  width: 100%;
  max-width: 30rem;
}

@media (min-width: 1024px) {
  .catalog-search-block {
    justify-self: end;
    margin-left: auto;
  }
}

.course-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .9rem;
  padding: .4rem .4rem .4rem 1.25rem;
  box-shadow: 0 8px 24px -18px rgba(38, 34, 97, .4);
  min-height: 3.25rem;
}

@media (max-width: 767px) {
  .catalog-search-block {
    max-width: 100%;
  }
}

.course-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: #334155;
  background: transparent;
  min-height: 44px;
  min-width: 0;
}

.course-search button {
  background: var(--navy);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: .7rem;
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color .2s ease;
}

.course-search button:hover {
  background: #1e1a52;
}

/* Filter dropdown pills */
.filter-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 150px;
  min-height: 44px;
  border: 1px solid #d3e6f2;
  border-radius: .7rem;
  padding: .7rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease;
}

.filter-select:hover {
  border-color: var(--cyan);
}

.pill-outline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #bfe0f2;
  border-radius: .7rem;
  padding: .7rem 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .15s ease, color .15s ease;
}

.pill-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Sort select */
.sort-select {
  border: 1px solid #bfe0f2;
  border-radius: .7rem;
  padding: .6rem 2.2rem .6rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  appearance: none;
  cursor: pointer;
  min-height: 44px;
}

/* ================= COURSE DETAIL (inner) PAGE ================= */

/* Pill tab bar (Overview / Keywords / Discussions / Resources) */
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
}

.pill-tab {
  padding: .7rem 1.75rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #64748b;
  transition: color .15s ease, background-color .15s ease;
}

.pill-tab:hover {
  color: var(--navy);
}

.pill-tab.is-active {
  background: var(--navy);
  color: #fff;
}

/* Content panel */
.content-panel {
  background: #f6f7f9;
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem;
}

@media (min-width: 640px) {
  .content-panel {
    padding: 2rem 2.25rem;
  }
}

.content-panel h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.6rem;
}

.content-panel h2+p {
  margin-top: 1rem;
}

.content-panel p {
  color: #475569;
  line-height: 1.7;
}

.content-panel .block+.block {
  margin-top: 2.25rem;
}

/* Course meta (cyan icons) */
.meta-cyan {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy);
  font-size: .95rem;
}

.meta-cyan svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  flex: none;
}

/* White action button */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: .7rem;
  box-shadow: 0 10px 26px -16px rgba(38, 34, 97, .45);
  transition: transform .15s ease;
}

.btn-white:hover {
  transform: translateY(-1px);
}

/* Dark bookshelf CTA */
.dark-cta {
  position: relative;
  overflow: hidden;
  background: #241d16;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.dark-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, .6);
  z-index: 0;
}

.dark-cta>* {
  position: relative;
  z-index: 1;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #f2b90c;
  color: #1e1a52;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: .55rem;
  transition: background-color .2s ease;
}

.btn-yellow:hover {
  background: #dca908;
}

/* ================= CONTACT PAGE ================= */

/* Hero with darkened photo */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: #2b2b30;
  background-size: cover;
  background-position: center right;
  min-height: 22rem;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 37, 44, .55) 0%, rgba(38, 37, 44, .28) 48%, rgba(38, 37, 44, .12) 100%);
  z-index: 0;
}

.contact-hero > * {
  position: relative;
  z-index: 1;
}

/* Navy form card */
.form-card {
  background: var(--navy);
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width:640px) {
  .form-card {
    padding: 2.5rem;
  }
}

.form-card__row {
  align-items: start;
}

.form-card__field {
  min-width: 0;
  width: 100%;
}

.form-card label {
  display: block;
  color: #cdd2ec;
  font-size: .9rem;
  margin-bottom: .5rem;
  line-height: 1.3;
}

.field-white {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 3.05rem;
  background: #fff;
  border: 0;
  border-radius: .6rem;
  padding: 0 1rem;
  font-size: .95rem;
  line-height: 3.05rem;
  color: #334155;
  outline: none;
}

textarea.field-white {
  height: auto;
  line-height: 1.5;
  padding: .85rem 1rem;
}

.field-white::placeholder {
  color: #9aa5b1;
}

.field-white:focus {
  box-shadow: 0 0 0 3px rgba(32, 182, 232, .4);
}

.field-white--select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16' fill='none'%3E%3Cpath d='M6 1L1 6h10L6 1zM6 15l5-5H1l5 5z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 16px;
  padding-right: 2.5rem;
  color: #9aa5b1;
}

.field-white--select:has(option:checked:not([disabled])) {
  color: #334155;
}

.field-white--select option {
  color: #334155;
}

/* Phone box (flag/code + number) — same height as .field-white */
.phone-box {
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  height: 3.05rem;
  background: #fff;
  border-radius: .6rem;
  padding: 0 .15rem 0 .65rem;
  overflow: hidden;
}

.phone-box select {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 5.75rem;
  max-width: 5.75rem;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #334155;
  font-size: .875rem;
  line-height: 1;
  padding: 0 .35rem 0 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .1rem center;
  background-size: 10px 6px;
  padding-right: 1rem;
}

.phone-box input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 .75rem;
  font-size: .95rem;
  line-height: 1;
  color: #334155;
  background: transparent;
}

.phone-box input::placeholder {
  color: #9aa5b1;
}

.phone-box:focus-within {
  box-shadow: 0 0 0 3px rgba(32, 182, 232, .4);
}

/* Contact info line */
.contact-line {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem 0;
}

.contact-line .ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  flex: none;
}

.contact-line .ci-icon svg {
  width: 22px;
  height: 22px;
}

.contact-line span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

/* Sparkle accents (cyan-tinted) */
.spark-cyan {
  position: absolute;
  color: #bfe7f6;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .spark-cyan {
    font-size: inherit;
  }
}

/* Mobile nav touch targets — legacy selector kept for safety */
#mobileNav a,
.mobile-nav__link {
  min-height: 3rem;
  display: flex;
  align-items: center;
}

/* ================= MOBILE NAV (premium overlay) ================= */
.nav-toggle {
  position: relative;
  z-index: 72;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base);
}

.nav-toggle:hover {
  background: rgba(222, 242, 251, .65);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: transform var(--transition-menu), opacity var(--transition-base), top var(--transition-menu);
}

.nav-toggle__bar:nth-child(1) {
  top: calc(50% - 7px);
}

.nav-toggle__bar:nth-child(2) {
  top: 50%;
}

.nav-toggle__bar:nth-child(3) {
  top: calc(50% + 7px);
}

/* Mobile: hamburger in header when closed; hide it once panel is open */
body.mobile-nav-open .nav-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__close {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.mobile-nav__close:hover {
  background: var(--skybg);
  color: var(--cyan);
}

.mobile-nav__close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.mobile-nav.is-open .mobile-nav__close {
  display: inline-flex;
}

.mobile-nav__inner {
  position: relative;
  min-height: 100%;
  padding: 5.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(38, 34, 97, .48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-menu), visibility var(--transition-menu);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(100%, 22.5rem);
  max-width: 100%;
  background: #fff;
  box-shadow: -16px 0 48px -24px rgba(38, 34, 97, .4);
  transform: translateX(105%);
  transition: transform var(--transition-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.mobile-nav__link {
  padding: .85rem 1rem;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  background: var(--skybg);
  color: var(--cyan);
}

.mobile-nav__link.is-active,
.mobile-nav__link[aria-current="page"] {
  background: var(--skybg);
  color: var(--cyan);
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (min-width: 1280px) {

  .nav-toggle,
  .mobile-nav,
  .mobile-nav-backdrop,
  .mobile-nav__close {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .nav-toggle__bar,
  .mobile-nav,
  .mobile-nav-backdrop {
    transition: none !important;
  }
}

/* Soften CTA lift on tablet mid-range */
@media (min-width: 640px) and (max-width: 1023px) {
  .cta-band__img--lift {
    margin-top: -6rem;
  }
}

/* ================= PORTFOLIO GRADEBOOK MODAL ================= */
.gb-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(15, 18, 40, .55);
  overflow-y: auto;
}

.gb-modal.is-open {
  display: flex;
}

.gb-modal__box {
  background: #fff;
  border-radius: 1rem;
  width: 100%;
  max-width: 920px;
  margin: auto;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
  position: relative;
  padding: 1.75rem 1.75rem 2rem;
  animation: gbPop .2s ease-out;
}

@keyframes gbPop {
  from {
    transform: translateY(12px);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.gb-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #475569;
  transition: background-color .15s ease, color .15s ease;
}

.gb-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.gb-modal__eyebrow {
  color: #64748b;
  font-size: .9rem;
}

.gb-modal__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.6rem;
  margin-top: .15rem;
}

/* Full gradebook (LMS screenshot recreation) */
.gbf {
  margin-top: 1.25rem;
  border: 1px solid #e5e8ef;
  border-radius: .75rem;
  overflow: hidden;
}

.gbf__top {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
}

.gbf__logo {
  width: 120px;
  height: 22px;
  border-radius: 4px;
  background: #e8edf3;
  filter: blur(.5px);
}

.gbf__title {
  font-size: 1.15rem;
  color: #1f2937;
  font-weight: 600;
  flex: 1;
}

.gbf__icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #475569;
}

.gbf__icons svg {
  width: 20px;
  height: 20px;
}

.gbf__avatar {
  width: 96px;
  height: 22px;
  border-radius: 999px;
  background: #f0c9c9;
  filter: blur(1px);
}

.gbf__nav {
  background: #1b3fae;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: .85rem 1.25rem;
  font-size: .92rem;
  font-weight: 600;
}

.gbf__nav span {
  white-space: nowrap;
}

.gbf__body {
  padding: 1.25rem 1.5rem 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gbf__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gbf__head h4 {
  font-size: 1.6rem;
  color: #1f2937;
  font-weight: 600;
}

.gbf__print {
  color: #1b6fd6;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.gbf table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: .9rem;
}

.gbf th {
  text-align: left;
  color: #475569;
  font-weight: 600;
  padding: .7rem .5rem;
  border-bottom: 1px solid #e5e8ef;
}

.gbf td {
  padding: .85rem .5rem;
  color: #334155;
  border-bottom: 1px solid #eef1f6;
}

.gbf tr.gbf-section td {
  background: #f7f8fb;
  font-weight: 600;
}

.gbf td.indent {
  padding-left: 2.5rem;
}

.gbf .col-pts,
.gbf .col-grade {
  width: 90px;
}

@media (max-width:640px) {
  .gbf__title {
    font-size: .95rem
  }

  .gbf__nav {
    gap: .75rem;
    font-size: .8rem
  }

  .gbf__body {
    padding: 1rem
  }

  .gbf td.indent {
    padding-left: 1rem
  }
}

/* Make portfolio cards look clickable */
.portfolio-card {
  cursor: pointer;
}


/* ---- Image logos wired from approved designs ---- */
.service-ic {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: darken;
}

/* Icon utilities (replace emoji glyphs) */
.icon-sm {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex-shrink: 0;
}

.crumb-light .icon-sm,
.crumb .icon-sm {
  width: 1rem;
  height: 1rem;
}

.social-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-grad {
  width: 3rem;
  height: 3rem;
}

/* Course meta line icons */
.course-meta svg {
  width: 1rem;
  height: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.course-meta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* Portfolio category label — grey in approved design */
.portfolio-cat {
  color: #94a3b8;
  font-size: .875rem;
}

.tool-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.lms-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 640px) {
  .lms-logo {
    height: 56px;
    max-width: 150px;
  }
}

.uni-logo img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: opacity .2s ease, filter .2s ease;
}

.uni-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ================= PREMIUM CSS MICRO-INTERACTIONS (layout-neutral) ================= */
/* Hover / focus / press only — no scroll-reveal or page-load JS required */

/* ================= SITE HEADER (sticky / fixed) ================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background-color: #fff;
  will-change: box-shadow;
  transition:
    box-shadow .3s ease,
    border-color .3s ease,
    background-color .3s ease;
}

/* After scroll past the announce bar — pinned to viewport (no CLS: spacer used) */
.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
  border-color: rgba(226, 232, 240, .95);
}

.site-header-spacer {
  display: none;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.site-header-spacer.is-active {
  display: block;
}

html.audit-mode .site-header,
html.audit-mode .site-header.is-scrolled {
  transition: none !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

/* ================= DESKTOP NAV CONSISTENCY ================= */
.site-header nav ul[class*="xl:flex"] a {
  border-radius: var(--radius-sm);
  padding: .25rem .15rem;
  transition: color var(--transition-base);
}

.site-header nav ul[class*="xl:flex"] a[aria-current="page"],
.site-header nav ul[class*="xl:flex"] a.text-cyan {
  color: var(--cyan);
}

/* Buttons — soft lift, shadow, press */
.btn-cyan,
.btn-orange,
.btn-white,
.btn-outline-navy,
.btn-yellow {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .18s ease;
}

.btn-cyan:hover,
.btn-orange:hover,
.btn-white:hover,
.btn-yellow:hover {
  transform: translateY(-2px);
}

.btn-outline-navy:hover {
  transform: translateY(-1px);
}

.btn-cyan:active,
.btn-orange:active,
.btn-white:active,
.btn-outline-navy:active,
.btn-yellow:active {
  transform: translateY(0) scale(.985);
}

.btn-cyan:hover {
  box-shadow: 0 10px 22px -10px rgba(32, 182, 232, .55);
}

.btn-orange:hover {
  box-shadow: 0 10px 22px -10px rgba(249, 115, 22, .45);
}

.btn-cyan:focus-visible,
.btn-orange:focus-visible,
.btn-white:focus-visible,
.btn-outline-navy:focus-visible,
.btn-yellow:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Cards — resting layout unchanged; hover uses transform/shadow only */
.value-card,
.res-card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.value-card:hover,
.res-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(38, 34, 97, .35);
}

/* Gentle media zoom (2–4%) — overflow clips; no layout shift */
.service-card .service-ic,
.portfolio-card__thumb,
.course-card img,
.value-card img,
.res-card > img,
.arch-card {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.service-card:hover .service-ic {
  transform: scale(1.04);
}

.portfolio-card:hover .portfolio-card__thumb,
.course-card:hover img,
.value-card:hover img,
.res-card:hover > img {
  transform: scale(1.03);
}

/* Form focus polish */
.form-input,
.field-white {
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.form-input:focus,
.field-white:focus {
  transform: translateY(-1px);
}

/* Header nav — soft color transition (Tailwind hover color remains) */
header ul a {
  transition: color .18s ease, background-color .18s ease;
}

/* Footer link hover */
footer a {
  transition: color .18s ease, opacity .18s ease;
}

footer a:hover {
  opacity: .85;
}

@media (prefers-reduced-motion: reduce) {
  .btn-cyan:hover,
  .btn-orange:hover,
  .btn-white:hover,
  .btn-yellow:hover,
  .btn-outline-navy:hover,
  .btn-cyan:active,
  .btn-orange:active,
  .btn-white:active,
  .btn-outline-navy:active,
  .btn-yellow:active,
  .course-card:hover,
  .value-card:hover,
  .res-card:hover,
  .service-card:hover .service-ic,
  .portfolio-card:hover .portfolio-card__thumb,
  .course-card:hover img,
  .value-card:hover img,
  .res-card:hover > img,
  .arch-wrap > div:hover .arch-card,
  .form-input:focus,
  .field-white:focus {
    transform: none;
  }
}

/* ================= CATALOG (filter / sort / search) ================= */

.catalog-item {
  transition: opacity .28s ease, transform .28s ease;
  will-change: opacity, transform;
}

.catalog-item.catalog-item--pending {
  pointer-events: none;
}

.catalog-item.catalog-item--hidden {
  display: none !important;
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed #cfe3f0;
  border-radius: 1rem;
  background: #f8fbfd;
}

.catalog-empty__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.35rem;
}

.catalog-empty__text {
  margin-top: .5rem;
  color: #64748b;
}

mark.catalog-mark {
  background: rgba(32, 182, 232, .22);
  color: inherit;
  border-radius: .2em;
  padding: 0 .1em;
}

.filter-dropdown {
  position: relative;
  display: inline-flex;
}

.filter-dropdown__menu {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  z-index: 40;
  min-width: 100%;
  max-height: 16rem;
  overflow: auto;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fff;
  border: 1px solid #d3e6f2;
  border-radius: .7rem;
  box-shadow: 0 16px 34px -22px rgba(38, 34, 97, .45);
}

.filter-dropdown__menu [role="option"] {
  padding: .55rem .75rem;
  border-radius: .45rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.filter-dropdown__menu [role="option"]:hover,
.filter-dropdown__menu [role="option"]:focus {
  outline: none;
  background: #eef7fc;
}

.filter-dropdown__menu [role="option"].is-selected {
  color: var(--cyan);
}

.filter-select.is-active {
  border-color: var(--cyan);
  color: var(--cyan);
}

.pill-outline.is-active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: #eef7fc;
}

.tag-chip.is-active {
  color: var(--cyan);
  font-weight: 600;
}

.cat-row:focus-visible,
.tag-chip:focus-visible,
.pill-outline:focus-visible,
.filter-select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.pager a.is-disabled {
  opacity: .35;
  pointer-events: none;
}

[data-catalog-loadmore].is-disabled {
  opacity: .5;
  pointer-events: none;
}

[data-catalog-chips]:empty,
[data-catalog-chips][hidden] {
  display: none;
}

.catalog-keyword-tags {
  gap: 0.5rem;
}

.catalog-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #bfe0f2;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.catalog-filter-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.catalog-filter-tag.is-active {
  background: #eef7fc;
  border-color: #bfe0f2;
  color: var(--cyan);
}

.catalog-filter-tag.is-active:hover {
  background: #e3f3fb;
  border-color: var(--cyan);
}

.catalog-filter-tag:active {
  background: #d9eef8;
}

.catalog-filter-tag button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  cursor: pointer;
  opacity: 0.85;
}

.catalog-filter-tag button:hover {
  opacity: 1;
}

.catalog-filter-tag button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

html.audit-mode .catalog-item {
  opacity: 1 !important;
  transform: none !important;
}

/* ================= RESPONSIVE HARDENING (final audit) ================= */

/* Prevent wide wordmark logos from forcing horizontal scroll on small screens */
.site-header nav > div > a[aria-label] img,
.site-header nav > div > a[href*="index"] img {
  max-width: min(11.5rem, 52vw);
  object-fit: contain;
  object-position: left center;
}

.site-header nav > div > a[aria-label],
.site-header nav > div > a.flex.items-center.gap-2.shrink-0 {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

/* Contain decorative hero backgrounds within the section box */
.home-hero__wave,
.hero-wave {
  max-width: 100%;
  pointer-events: none;
}

/* Lift CTA images — no negative overlap on narrow viewports */
@media (max-width: 639px) {
  .cta-band--lift .cta-band__img--lift {
    margin-top: 0;
    max-width: 100%;
  }

  .cta-band__img,
  .cta-band__img--contain {
    margin-top: 0;
    min-height: 0;
    height: auto;
  }
}

/* About hero photo stack — tighter on very small phones */
@media (max-width: 400px) {
  .hero-stack {
    height: 300px;
  }

  .hero-stack .hs-front {
    width: 180px;
    height: 250px;
  }

  .hero-stack .hs-back-l,
  .hero-stack .hs-back-r {
    width: 105px;
    height: 190px;
  }
}

/* Veterans stats row — comfortable spacing when 3-up */
@media (max-width: 479px) {
  .lms-expertise__logos .grid.grid-cols-3 {
    gap: 1rem 0.75rem;
  }

  .lms-item span {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

/* Gradebook modal — 44px close target, safe on small screens */
.gb-modal__close {
  width: 44px;
  height: 44px;
}

.gb-modal {
  padding: 1rem 0.75rem;
}

@media (max-width: 639px) {
  .gb-modal__box {
    padding: 1.25rem 1rem 1.5rem;
  }

  .gb-modal__title {
    font-size: 1.35rem;
    padding-right: 2.5rem;
  }
}

/* Captcha refresh — minimum touch target */
#captchaRefresh {
  min-width: 44px;
  min-height: 44px;
}

/* Resource sidebar + main — stack with full-width columns */
@media (max-width: 1023px) {
  #resources .grid.lg\:grid-cols-\[300px_1fr\],
  .page-hero--resource .page-hero__body {
    min-width: 0;
  }
}

/* Footer — balanced spacing when columns stack */
@media (max-width: 1023px) {
  footer .grid {
    gap: 2rem;
  }
}

/* Long headings / copy — prevent layout blowout */
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.crumb span,
.tag-chip,
.filter-select,
.pill-outline {
  overflow-wrap: normal;
  word-wrap: normal;
}

/* Media never exceeds its container (icons with explicit w/h excluded via max-width only) */
picture,
video,
iframe {
  max-width: 100%;
}

/* Safe minimum readable size on the smallest breakpoints */
@media (max-width: 359px) {
  .section-title {
    font-size: 1.65rem;
  }

  .btn-cyan,
  .btn-orange,
  .btn-white,
  .btn-outline-navy {
    padding-inline: 1.15rem;
  }
}

/* ================= MOBILE: PORTFOLIO / COURSES / RESOURCES ================= */

@media (max-width: 767px) {

  /* —— Shared dark hero (Portfolio + Courses) —— */
  .dark-hero {
    background-position: 72% center;
  }

  .dark-hero::before {
    background: linear-gradient(180deg, rgba(13, 11, 7, .94) 0%, rgba(13, 11, 7, .84) 50%, rgba(13, 11, 7, .62) 100%);
  }

  .dark-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.75rem);
  }

  .dark-hero .max-w-site {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* —— Catalog toolbar (Portfolio + Courses) —— */
  #catalogRoot > section.bg-skybg {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #catalogRoot > section.bg-skybg h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  #catalogRoot > section.bg-skybg .catalog-search-block {
    width: 100%;
    max-width: 100%;
  }

  #catalogRoot > section.bg-skybg .catalog-keyword-tags {
    width: 100%;
  }

  #catalogRoot > section.bg-skybg .catalog-filter-tag {
    flex: 0 1 auto;
  }

  #catalogRoot > section.pt-10 > div:first-child {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  #catalogRoot > section.pt-10 > div:first-child > .flex.flex-wrap {
    width: 100%;
  }

  #catalogRoot .filter-select {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
  }

  #catalogRoot > section.pt-10 > .mt-8.flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  #catalogRoot > section.pt-10 > .mt-8.flex label {
    width: 100%;
    justify-content: space-between;
  }

  #catalogRoot .sort-select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }

  /* —— Portfolio cards —— */
  .grade-badge {
    right: 10px;
    padding: 0.4rem 0.55rem 0.7rem;
  }

  .portfolio-card > .p-5,
  .course-card > .p-5 {
    padding: 1.15rem;
  }

  /* —— Course cards —— */
  .course-card .grid.grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .course-card .course-meta {
    min-width: 0;
    font-size: 0.875rem;
  }

  .course-card a[class*="rounded-xl"] {
    min-height: 44px;
  }

  [data-catalog-grid] {
    gap: 1.25rem;
  }

  /* —— Resources page —— */
  .page-hero--resource {
    overflow-x: clip;
  }

  .page-hero--resource .page-hero__body {
    padding-top: calc(min(48vw, 11.5rem) + 0.75rem);
  }

  .page-hero--resource .arch-wrap {
    width: min(88%, 16.5rem);
  }

  .page-hero--resource h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.35rem);
  }

  .page-hero--resource .hero-wave {
    max-width: 100%;
  }

  #resources .grid.lg\:grid-cols-\[300px_1fr\] {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  #resources .grid.lg\:grid-cols-\[300px_1fr\] > aside {
    order: 2;
  }

  #resources .grid.lg\:grid-cols-\[300px_1fr\] > div:not(aside) {
    order: 1;
  }

  #resources .section-title {
    margin-bottom: 2rem;
  }

  .res-search {
    min-height: 3.25rem;
  }

  .res-search input {
    min-height: 44px;
    min-width: 0;
  }

  .res-card > .p-6 {
    padding: 1.15rem;
  }

  .res-title {
    font-size: clamp(1.15rem, 5vw, 1.35rem);
    line-height: 1.25;
  }

  .res-meta {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .res-card .btn-outline-navy {
    min-height: 44px;
    justify-content: center;
  }

  .cat-row {
    min-height: 44px;
    align-items: center;
  }

  .tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.2rem 0.35rem;
  }

  .side-box {
    padding: 1.15rem;
  }

  .recent-item {
    align-items: flex-start;
  }

  .recent-item h4 {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .spark-field .sf {
    font-size: 1.1rem;
    opacity: 0.85;
  }
}

@media (max-width: 479px) {
  #catalogRoot .filter-select {
    flex: 1 1 100%;
  }

  .res-card .mt-5.flex.flex-wrap {
    flex-direction: column;
  }

  .res-card .btn-outline-navy {
    width: 100%;
  }
}