/* =========================================================
   NCS TRAINING & INTERNSHIP — additive styles
   Single-accent, editorial layout on top of css/main.css tokens.
   One color does interactive work (var(--primary)) across the
   site body. The hero + vision sections use a scoped indigo/
   cyan/amber accent pair (matching nextchapterskills.com's own
   motion language) — intentionally local to those two sections.
   ========================================================= */

/* ── Department filter tabs (used on /programs and /mentors) ── */
.dept-tabs {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 3.5rem;
}
.dept-tab {
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-3);
  transition: var(--transition); cursor: pointer;
}
.dept-tab:hover { border-color: var(--border-dark); color: var(--ink); }
.dept-tab.active { color: #fff; border-color: var(--primary); background: var(--primary); }

/* ── Program matrix ── */
.program-matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .program-matrix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .program-matrix-grid { grid-template-columns: 1fr; } }

.program-card {
  display: flex; flex-direction: column; padding: 1.85rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: var(--transition); text-align: left;
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.program-card-dept {
  display: inline-block; align-self: flex-start; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 1rem;
}
.program-card-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.program-card-mentor { font-size: 0.82rem; color: var(--ink-3); margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.program-card-cta { margin-top: 1.1rem; font-size: 0.85rem; font-weight: 700; color: var(--primary); }

.matrix-section-heading {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
  margin: 4rem 0 1.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border);
}
.matrix-section-heading:first-of-type { margin-top: 0; }

/* ── Train / Develop / Deploy step flow ── */
.tdd-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
@media (max-width: 860px) { .tdd-flow { grid-template-columns: 1fr; } }
.tdd-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem; position: relative;
}
.tdd-step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--primary);
  opacity: 0.7; margin-bottom: 1.5rem; display: block;
}
.tdd-step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.75rem; }
.tdd-step-desc { font-size: 0.92rem; color: var(--ink-3); line-height: 1.7; }
.tdd-arrow {
  display: none; position: absolute; top: 50%; right: -1.85rem; transform: translateY(-50%);
  color: var(--ink-4); font-size: 1.3rem;
}
@media (min-width: 861px) { .tdd-step:not(:last-child) .tdd-arrow { display: block; } }

/* ── Program detail page ── */
.pd-hero-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 1.25rem;
}
.pd-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-block { margin-bottom: 2.25rem; }
.pd-block-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.6rem; display: block; }
.pd-block-text { font-size: 1rem; color: var(--ink-2); line-height: 1.75; }
.pd-side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.25rem; }
.pd-side-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.5rem; }
.pd-side-value { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.pd-side-sub { font-size: 0.82rem; color: var(--ink-3); margin-top: 0.25rem; }

/* ── Mentor directory ── */
.mentor-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .mentor-directory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mentor-directory-grid { grid-template-columns: 1fr; } }
.mentor-dir-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; text-align: left; transition: var(--transition);
}
.mentor-dir-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.mentor-company-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
  color: var(--primary); background: var(--blue-light); padding: 6px 14px; border-radius: var(--radius-md);
  margin-bottom: 1.1rem; letter-spacing: -0.01em;
}
.mentor-dir-logo-wrap { display: flex; align-items: center; height: 34px; margin-bottom: 1.1rem; }
.mentor-dir-logo { max-height: 34px; max-width: 130px; width: auto; object-fit: contain; object-position: left center; }
.mentor-dir-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.25rem; }
.mentor-dir-role { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 0.9rem; }
.mentor-dir-domain { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.mentor-dir-note { font-size: 0.85rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 1.1rem; }

/* ── Collaboration section (landing page) ── */
.collab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .collab-grid { grid-template-columns: repeat(2, 1fr); } }
.collab-logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--surface); border-radius: var(--radius-lg); padding: 2rem 1rem; gap: 1.1rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.collab-logo-tile:hover { border-color: var(--primary); }
.collab-logo-tile img { height: 34px; max-width: 120px; object-fit: contain; }
.collab-logo-tile span { font-size: 0.78rem; font-weight: 600; color: var(--ink-3); text-align: center; }
.collab-college-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: var(--transition); }
.collab-college-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.collab-college-card img { width: 100%; height: 190px; object-fit: cover; filter: grayscale(0.15); }
.collab-college-body { padding: 1.5rem; }
.collab-college-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 0.5rem; }
.collab-college-note { font-size: 0.85rem; color: var(--ink-3); line-height: 1.6; }

/* ── Compliance / trust notes ── */
.compliance-note {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--border); padding: 6px 14px; border-radius: var(--radius-pill);
}
.compliance-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.credential-note { font-size: 0.85rem; color: var(--ink-3); line-height: 1.6; }

/* ── Vision flow (landing page: Students → Mentorship → Real Projects → Industry Readiness) ── */
.vision-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
.vision-flow-step {
  flex: 1 1 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem; text-align: center; position: relative; min-width: 200px;
}
.vision-flow-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; background: var(--blue-light);
}
.vision-flow-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 0.5rem; }
.vision-flow-desc { font-size: 0.82rem; color: var(--ink-3); line-height: 1.55; }
.vision-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--ink-4); font-size: 1.3rem; padding: 0 0.5rem; flex: 0 0 auto; }
@media (max-width: 900px) { .vision-flow-arrow { display: none; } .vision-flow-step { flex: 1 1 100%; } }

/* ── Apply form ── */
.apply-form-card { max-width: 560px; margin: 0 auto; padding: 2.5rem; }
@media (max-width: 480px) { .apply-form-card { padding: 1.75rem 1.35rem; } }
.apply-success { text-align: center; padding: 3rem 1.5rem; }
.apply-success-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.3rem; font-weight: 700;
}

/* ── Info tiles (contact page — replaces emoji icon cards) ── */
.info-tile-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}

/* ── Stat row (hero) ── */
.ncs-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.ncs-stat-grid .stat-number { color: var(--ink); }

/* ── Shared section rhythm ── */
.eyebrow-line { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 1rem; }
.eyebrow-line::before, .eyebrow-line::after { content: ''; width: 24px; height: 1px; background: var(--border-dark); }

/* ── Mobile nav polish ── */
@media (max-width: 900px) {
  .nav-cta-wrap { display: none; }
}

/* =========================================================
   HERO — aurora glow + gradient accent + tilt card stack
   Scoped local accents (not used elsewhere on the site).
   ========================================================= */
:root {
  --hero-indigo: #6d5ffa;
  --hero-cyan: #22d3ee;
  --hero-amber: #f59e0b;
}

.ncs-hero { position: relative; overflow: hidden; }
.ncs-hero-aurora {
  position: absolute; inset: -10% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 22% 15%, rgba(109,95,250,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 8%, rgba(34,211,238,0.13), transparent 60%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(1.5%, 2%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .ncs-hero-aurora { animation: none; } }

.gradient-text-hero {
  background: linear-gradient(120deg, var(--hero-indigo), var(--hero-cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--hero-indigo);
}

/* Tilted stacked-card visual */
.hero-tilt-stage { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 6 / 5; }
.hero-tilt-card {
  position: absolute; inset: 0; border-radius: var(--radius-xl); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-lg); padding: 1.4rem;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.hero-tilt-card--back  { transform: translate(4%, 8%) rotate(-4deg); opacity: 0.85; }
.hero-tilt-card--mid   { transform: translate(-3%, 3%) rotate(2.5deg); opacity: 0.95; }
.hero-tilt-card--front { transform: translate(0,0) rotate(-1deg); display: flex; flex-direction: column; justify-content: space-between; }
.hero-tilt-stage.js-tilt:hover .hero-tilt-card--back  { transform: translate(5%, 9%) rotate(-6deg); }
.hero-tilt-stage.js-tilt:hover .hero-tilt-card--mid   { transform: translate(-4%, 4%) rotate(3.5deg); }
.hero-tilt-card-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.hero-tilt-card-title { margin-top: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.hero-tilt-bar { height: 8px; border-radius: 5px; background: rgba(10,9,8,0.06); margin-top: 0.55rem; }
.hero-tilt-card--front .hero-tilt-card-label { color: var(--hero-indigo); }
.hero-tilt-card--front .hero-tilt-bar { background: rgba(109,95,250,0.15); }

.hero-chip-row { display: flex; flex-wrap: wrap; gap: 6px; max-width: 62%; }
.hero-chip {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.62rem; font-weight: 700;
  color: var(--hero-indigo); background: rgba(109,95,250,0.08); border: 1px solid rgba(109,95,250,0.22);
  opacity: 0; animation: chip-fly 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes chip-fly { from { opacity: 0; transform: translate(-14px, 10px); } to { opacity: 1; transform: translate(0,0); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; opacity: 1; } }

.hero-ring { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.hero-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-ring circle.ring-progress {
  stroke-dasharray: 163; stroke-dashoffset: 163;
  animation: ring-draw 1.2s 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes ring-draw { to { stroke-dashoffset: 20; } }
@media (prefers-reduced-motion: reduce) { .hero-ring circle.ring-progress { animation: none; stroke-dashoffset: 20; } }
.hero-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--ink); }

/* =========================================================
   VISION SECTION — waffle dot chart + radial stat ring
   ========================================================= */
.vision2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .vision2-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; } }
.vision2-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hero-cyan); display: block; margin-bottom: 1rem; }
.vision2-heading { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; margin-bottom: 1rem; }
.vision2-body { color: var(--ink-3); max-width: 480px; }
@media (max-width: 900px) { .vision2-body { margin: 0 auto; } }

.vision2-visual { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.waffle-grid { display: grid; grid-template-columns: repeat(10, minmax(0,1fr)); gap: 3px; width: 168px; }
.waffle-dot { width: 12px; height: 12px; border-radius: 3px; opacity: 0; animation: waffle-in 0.4s ease forwards; }
@keyframes waffle-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .waffle-dot { animation: none; opacity: 1; } }
.waffle-legend { display: flex; gap: 1.25rem; margin-top: 0.9rem; font-size: 0.75rem; color: var(--ink-3); flex-wrap: wrap; }
.waffle-legend span { display: inline-flex; align-items: center; gap: 6px; }
.waffle-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

.stat-ring-big { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.stat-ring-big svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat-ring-big circle.ring-progress-big {
  stroke-dasharray: 214; stroke-dashoffset: 214;
  animation: ring-draw-big 1.4s 0.3s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes ring-draw-big { to { stroke-dashoffset: 44; } }
@media (prefers-reduced-motion: reduce) { .stat-ring-big circle.ring-progress-big { animation: none; stroke-dashoffset: 44; } }
.stat-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.stat-ring-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, var(--hero-indigo), var(--hero-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-ring-sub { margin-top: 2px; font-size: 0.6rem; line-height: 1.2; max-width: 6rem; color: var(--ink-4); }

/* =========================================================
   FAQ WIDGET — floating launcher + panel (all pages)
   ========================================================= */
.faq-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  cursor: pointer; border: none; transition: var(--transition);
}
.faq-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.faq-fab svg { width: 24px; height: 24px; }
.faq-fab .faq-fab-close { display: none; }
.faq-fab.open .faq-fab-chat { display: none; }
.faq-fab.open .faq-fab-close { display: block; }

.faq-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 1199;
  width: 340px; max-width: calc(100vw - 44px); max-height: min(520px, 70vh);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.98); pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.faq-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.faq-panel-header { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-panel-header h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.faq-panel-header p { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.faq-panel-body { flex: 1; overflow-y: auto; padding: 0.5rem 0.75rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 0.85rem 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; background: none; border: none; cursor: pointer;
}
.faq-q:hover { color: var(--ink); }
.faq-q .faq-caret { flex-shrink: 0; transition: transform 0.2s ease; color: var(--ink-4); }
.faq-item.open .faq-q .faq-caret { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p { padding: 0 0.5rem 0.9rem; font-size: 0.8rem; color: var(--ink-3); line-height: 1.6; }
.faq-panel-footer { padding: 0.85rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; background: var(--bg-alt); }
.faq-cta {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px; border-radius: var(--radius-md); font-size: 0.76rem; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); transition: var(--transition);
}
.faq-cta:hover { border-color: var(--primary); color: var(--primary); }
.faq-cta svg { width: 15px; height: 15px; }
@media (max-width: 480px) {
  .faq-panel { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .faq-fab { right: 16px; bottom: 16px; }
}

/* Hero: align visual to the top of the text column, not vertical-center */
.ncs-hero .hero-split { align-items: start; }
@media (max-width: 900px) { .ncs-hero .hero-split { align-items: center; } }

/* Hero domain matrix — fills the blank space on the front tilt card */
.hero-domain-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 1.1rem; }
.hero-domain-cell {
  display: flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 600; color: var(--ink-3);
  background: var(--bg-alt); border-radius: 7px; padding: 6px 8px;
}
.hero-domain-cell .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hero-indigo); flex-shrink: 0; }

/* =========================================================
   Interactive department accordion cards
   ========================================================= */
.dept-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 700px) { .dept-card-grid { grid-template-columns: 1fr; } }
.dept-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.dept-card:hover { border-color: var(--primary); }
.dept-card-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left;
}
.dept-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.dept-card-count { font-size: 0.75rem; font-weight: 600; color: var(--ink-4); white-space: nowrap; margin-left: auto; margin-right: 0.75rem; }
.dept-card-caret { flex-shrink: 0; color: var(--ink-4); transition: transform 0.25s ease; }
.dept-card.open .dept-card-caret { transform: rotate(180deg); }
.dept-card-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.dept-card.open .dept-card-body { max-height: 600px; }
.dept-card-body-inner { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--border); padding-top: 1.1rem; }
.dept-card-programs { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1rem; }
.dept-card-programs a { font-size: 0.85rem; color: var(--ink-2); font-weight: 500; transition: color 0.2s; }
.dept-card-programs a:hover { color: var(--primary); }
.dept-card-mentors { font-size: 0.78rem; color: var(--ink-4); padding-top: 0.85rem; border-top: 1px dashed var(--border); }
.dept-card-mentors strong { color: var(--ink-3); font-weight: 600; }

/* =========================================================
   Collaboration — photo-driven layout
   ========================================================= */
.collab-photo-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 800px) { .collab-photo-grid { grid-template-columns: 1fr; } }
.collab-photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end; background: #0a0908;
}
.collab-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collab-photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0) 35%, rgba(10,9,8,0.88) 100%);
}
.collab-photo-body { position: relative; z-index: 1; padding: 1.5rem; }
.collab-small-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.collab-small-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 148px; flex: 1; display: flex; align-items: flex-end; background: #0a0908; }
.collab-small-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collab-small-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0) 30%, rgba(10,9,8,0.9) 100%); }
.collab-photo-tag { position: relative; z-index: 1; padding: 1.1rem 1.25rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-cyan); }
.collab-photo-title { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.3; margin-top: 2px; }
.collab-small-card .collab-photo-title { font-size: 0.92rem; }
.collab-role-pill { display: inline-block; margin-top: 0.6rem; padding: 4px 11px; border-radius: var(--radius-pill); font-size: 0.65rem; font-weight: 700; background: rgba(34,211,238,0.18); color: var(--hero-cyan); }

.collab-row2 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
@media (max-width: 800px) { .collab-row2 { grid-template-columns: 1fr; } }
.collab-row2 .collab-photo-card { min-height: 180px; }
.collab-stat-card, .collab-cta-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: center;
}
.collab-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); }
.collab-stat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-top: 0.4rem; }
.collab-cta-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
