/* =========================================================================
   shared.css — cross-page section styles
   Loaded alongside styles.css on pages that reuse:
   - Industry-Oriented Advanced Curriculum (IOC) year bands
   - Fees semester table + seat block + fee notes + fees brochure CTA
   - Scholarships + MacBook (laptop) + Payment/EMI cards
   - Program FAQ (pfaq)
   - Admission process (5-step)
   - Important dates
   - Parent trust
   - Program final CTA
   Pages that still have these styles inline keep working (inline wins if present);
   this file is the single future source of truth.
   ========================================================================= */

/* ---------- Safety net: prevent horizontal overflow ---------- */
body { overflow-x: clip; }

/* ============ BRAND STRIP (company chips) ============ */
.brand-strip {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: .85rem .9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 209, 173, 0.16);
  background: linear-gradient(90deg, rgba(12, 7, 33, 0.92), rgba(26, 18, 48, 0.92), rgba(12, 7, 33, 0.92));
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  isolation: isolate;
}

.brand-strip::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 22% 30%, rgba(232, 106, 44, 0.16), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(122, 108, 207, 0.18), transparent 45%);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

.brand-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem .6rem;
}

.brand-strip--marquee {
  padding: .75rem 0;
}

.brand-strip__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.brand-strip__edge--l {
  left: 0;
  background: linear-gradient(90deg, rgba(12, 7, 33, 0.95), transparent);
}
.brand-strip__edge--r {
  right: 0;
  background: linear-gradient(-90deg, rgba(12, 7, 33, 0.95), transparent);
}

.brand-strip__track {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: max-content;
  padding: 0 .9rem;
  animation: brand-scroll 22s linear infinite;
  will-change: transform;
}

@keyframes brand-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.brand-strip--marquee:hover .brand-strip__track {
  animation-play-state: paused;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .78rem .42rem .48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.brand-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 209, 173, 0.4);
  transform: translateY(-1px);
}

.brand-chip img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.brand-chip span {
  font-family: Inter, system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 251, 247, 0.92);
}

@media (max-width: 720px) {
  .brand-strip {
    max-width: 100%;
    padding: .8rem .7rem;
  }

  .brand-strip__row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .brand-strip__row::-webkit-scrollbar { display: none; }

  .brand-strip__edge { width: 40px; }
  .brand-strip__track { padding: 0 .7rem; gap: .8rem; animation-duration: 18s; }
}

/* ============ Industry-Oriented Advanced Curriculum ============ */
.ioc {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  background: linear-gradient(180deg, var(--c-bg) 0%, #FFF9F1 60%, var(--c-bg) 100%);
}
.ioc::before {
  content: "CURRICULUM"; position: absolute; z-index: -1;
  top: 3%; right: -3%;
  font-size: clamp(5rem, 11vw, 13rem); font-weight: 800;
  letter-spacing: -0.06em; color: rgba(232,106,44,0.04);
  line-height: .85; pointer-events: none;
}
.ioc-head { text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
.ioc-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: -0.025em; line-height: 1.08;
  margin-top: .75rem;
}
.ioc-head h2 .hl {
  background: linear-gradient(120deg, var(--o-700), var(--o-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ioc-head p { color: var(--c-text-2); max-width: 60ch; margin: .85rem auto 0; font-size: 1rem; line-height: 1.55; }

.ioc-anchors-wrap {
  position: sticky;
  top: 68px;
  z-index: 30;
  display: flex; justify-content: center;
  margin-bottom: 2.5rem;
  pointer-events: none;
}
.ioc-anchors {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: .3rem;
  padding: .4rem;
  background: rgba(255, 251, 247, 0.85);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  box-shadow: 0 14px 36px -18px rgba(60, 30, 10, 0.25), 0 2px 6px rgba(60,30,10,0.04);
  pointer-events: auto;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.ioc-anchors.is-pinned {
  box-shadow: 0 20px 44px -22px rgba(60, 30, 10, 0.35), 0 2px 6px rgba(60,30,10,0.06);
  border-color: var(--c-line-2);
}
.ioc-anchors a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 700;
  color: var(--c-muted-2);
  letter-spacing: -0.005em;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.ioc-anchors a:hover { background: var(--c-cream); color: var(--c-text); }
.ioc-anchors a.is-active {
  background: linear-gradient(135deg, var(--o-500), var(--o-700));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(232,106,44,0.55);
}
.ioc-anchors a .n {
  font-family: var(--font-display);
  background: var(--c-bg);
  color: var(--o-700);
  width: 22px; height: 22px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
  border: 1.5px solid var(--o-200);
  transition: all var(--t) var(--ease);
}
.ioc-anchors a.is-active .n { background: #fff; color: var(--o-700); border-color: #fff; }
.ioc-anchors a:hover .n { background: #fff; border-color: var(--o-400); }

.year-band {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden; isolation: isolate;
  margin-bottom: 1.75rem;
  box-shadow: 0 14px 40px -24px rgba(60, 30, 10, 0.2);
  scroll-margin-top: 140px;
  min-width: 0;
}
.year-band::before {
  content: ""; position: absolute; z-index: -1;
  right: -15%; top: -20%;
  width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,106,44,0.1), transparent 65%);
  pointer-events: none;
}
.year-band.final {
  background: linear-gradient(180deg, #FFF6EF 0%, var(--c-surface) 100%);
  border-color: var(--o-200);
  box-shadow: 0 24px 60px -28px rgba(232,106,44,0.28);
}
.yb-head {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem; align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 1.75rem;
  min-width: 0;
}
.yb-head > * { min-width: 0; }
.yb-tile {
  width: 120px; height: 120px; border-radius: 24px;
  background: linear-gradient(160deg, #FFFBF7, #FFE8D6);
  border: 1px solid var(--o-100);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -14px rgba(232,106,44,0.3);
  flex-shrink: 0;
}
.yb-tile .num {
  font-family: var(--font-display);
  font-size: 2.7rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(135deg, var(--o-700), var(--o-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.yb-tile .lab { font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--o-700); margin-top: .5rem; }
.year-band.final .yb-tile .num {
  background: linear-gradient(135deg, #F5A623, var(--o-600));
  -webkit-background-clip: text; background-clip: text;
}
.yb-info .tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--o-700); background: var(--o-50);
  border: 1px solid var(--o-100);
  padding: .3rem .65rem; border-radius: 999px;
  margin-bottom: .55rem;
}
.yb-info h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; margin: 0 0 .35rem; }
.yb-info p { color: var(--c-text-2); font-size: .95rem; margin: 0; max-width: 62ch; line-height: 1.55; }
.yb-pill {
  background: #1D1B18; color: #FFE8D6;
  padding: .5rem .85rem; border-radius: 12px;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap;
}
.yb-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: #F5A623; box-shadow: 0 0 6px #F5A623; }
.year-band.final .yb-pill { background: linear-gradient(135deg, var(--o-600), var(--o-700)); color: #fff; }

.yb-section-label {
  display: flex; align-items: center; gap: .65rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--o-700); margin-bottom: 1rem;
}
.yb-section-label::before { content: ""; width: 22px; height: 1px; background: var(--o-500); }
.yb-section-label .count { color: var(--c-muted-2); font-weight: 700; letter-spacing: .04em; }

.yb-subjects {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.subj {
  position: relative;
  display: grid; grid-template-columns: 38px minmax(0, 1fr);
  gap: .75rem;
  padding: .9rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.subj:hover { background: var(--c-surface); border-color: var(--o-200); transform: translateY(-2px); }
.subj .si {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--o-50), #FFE8D6);
  border: 1px solid var(--o-100);
  color: var(--o-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.subj .si svg { width: 18px; height: 18px; }
.subj .st { font-size: .92rem; font-weight: 700; letter-spacing: -0.01em; color: var(--c-text); line-height: 1.2; }
.subj .sd { font-size: .78rem; color: var(--c-muted); margin-top: 3px; line-height: 1.35; }

.yb-stack {
  padding: 1.1rem 1.25rem;
  background: linear-gradient(100deg, #15130F, #1D1B18);
  color: #FFE8D6;
  border-radius: 14px;
  display: flex; flex-wrap: wrap; gap: .85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.yb-stack .label {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #FFD1AD; padding-right: .75rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stack-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFE8D6;
  font-size: .78rem; font-weight: 600;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.stack-chip:hover { background: rgba(244,138,79,0.14); border-color: rgba(244,138,79,0.35); transform: translateY(-1px); }
.stack-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o-400); }

.yb-milestones {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.milestone {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.milestone:hover { border-color: var(--o-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.milestone .mi {
  position: relative;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #FFE8D6 0%, #FFD1AD 55%, #F48A4F 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
}
.milestone .mi::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,0.35), transparent 70%),
    radial-gradient(50% 40% at 80% 85%, rgba(207,90,34,0.2), transparent 70%);
  pointer-events: none;
}
.milestone .mi::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  pointer-events: none;
}
.milestone .mi img { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; display: block; }
.milestone .mi .glyph {
  position: relative; z-index: 2;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(207,90,34,0.28);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.25);
}
.milestone .mi .glyph svg { width: 20px; height: 20px; }
.milestone .mi .badge {
  position: absolute; top: .45rem; left: .45rem; z-index: 4;
  font-size: .54rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .18rem .42rem; border-radius: 999px;
  background: rgba(15,13,10,0.55); color: #FFE8D6;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.milestone .mb { padding: .65rem .8rem .8rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.milestone .mt { font-size: .82rem; font-weight: 700; letter-spacing: -0.01em; color: var(--c-text); line-height: 1.25; }
.milestone .md { font-size: .7rem; color: var(--c-muted); line-height: 1.35; }
.milestone.p2 .mi { background: linear-gradient(135deg, #EFEBFF 0%, #C4B8FB 55%, #7A6CCF 100%); }
.milestone.p2 .mi .glyph { background: rgba(75,62,143,0.32); }
.milestone.p3 .mi { background: linear-gradient(135deg, #D7F2E4 0%, #A3D8BE 55%, #2F8F5F 100%); }
.milestone.p3 .mi .glyph { background: rgba(47,143,95,0.3); }
.milestone.p4 .mi { background: linear-gradient(135deg, #FFF2CF 0%, #F5D48A 55%, #B88714 100%); }
.milestone.p4 .mi .glyph { background: rgba(184,135,20,0.3); }

.y4-paths {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; margin-bottom: 1.75rem;
}
.y4-path {
  position: relative; padding: 1.25rem;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: 14px;
}
.y4-path .y4-head {
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  gap: .75rem; align-items: center;
  margin-bottom: .85rem; padding-bottom: .85rem;
  border-bottom: 1px dashed var(--c-line);
}
.y4-path .pi {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--o-500), var(--o-700));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.y4-path.research .pi { background: linear-gradient(135deg, #4B3E8F, #7A6CCF); }
.y4-path .pt { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--o-700); line-height: 1; }
.y4-path.research .pt { color: #4B3E8F; }
.y4-path .pname { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; color: var(--c-text); }
.y4-path ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.y4-path li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .88rem; color: var(--c-text-2); line-height: 1.5;
}
.y4-path li svg { color: var(--o-500); flex-shrink: 0; margin-top: 3px; }
.y4-path.research li svg { color: #4B3E8F; }

/* In-year "what you'll build" carousel */
.yb-build {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--c-line);
}
.yb-build-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.yb-build-head .yb-section-label { margin-bottom: 0; }
.yb-build-nav { display: inline-flex; gap: .35rem; }
.yb-build-nav button {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  color: var(--c-text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.yb-build-nav button:hover:not([disabled]) {
  background: var(--o-50); border-color: var(--o-200); color: var(--o-700);
  transform: translateY(-1px);
}
.yb-build-nav button[disabled] { opacity: .35; cursor: not-allowed; }
.yb-build-nav button svg { width: 16px; height: 16px; }

.yb-build-legend {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  font-size: .72rem; color: var(--c-muted);
}
.yb-build-legend span { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.yb-build-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.yb-build-legend .lg-proj::before { background: linear-gradient(135deg, var(--o-400), var(--o-600)); }
.yb-build-legend .lg-hack::before { background: linear-gradient(135deg, #F5A623, var(--o-500)); }
.yb-build-legend .lg-comp::before { background: linear-gradient(135deg, #4B3E8F, #7A6CCF); }

.yb-carousel {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -.5rem;
  padding: .25rem .5rem .75rem;
}
.yb-carousel::-webkit-scrollbar { display: none; }
.yb-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.6rem) / 3);
  gap: .8rem;
}
@media (max-width: 1000px) { .yb-carousel-track { grid-auto-columns: calc((100% - .8rem) / 2); } }
@media (max-width: 640px)  { .yb-carousel-track { grid-auto-columns: 88%; } }

.yb-card {
  position: relative;
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.yb-card:hover { border-color: var(--o-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.yb-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--o-500), var(--o-300)); z-index: 1;
}
.yb-card.hack::before { background: linear-gradient(180deg, #F5A623, var(--o-500)); }
.yb-card.comp::before { background: linear-gradient(180deg, #4B3E8F, #7A6CCF); }
.yb-card .bh {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .8rem 1rem .5rem 1.2rem;
}
.yb-card .bt {
  font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: 999px;
}
.yb-card.proj .bt { background: rgba(232,106,44,0.12); color: var(--o-700); }
.yb-card.hack .bt { background: rgba(245,166,35,0.14); color: #B88714; }
.yb-card.comp .bt { background: rgba(75,62,143,0.12); color: #4B3E8F; }
.yb-card .bi {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--o-50), #FFE8D6);
  border: 1px solid var(--o-100);
  color: var(--o-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.yb-card.hack .bi { background: linear-gradient(135deg, #FFF2CF, #FFE4A5); color: #B88714; border-color: #F5D48A; }
.yb-card.comp .bi { background: linear-gradient(135deg, #EFEBFF, #D5CCFA); color: #4B3E8F; border-color: rgba(75,62,143,0.2); }
.yb-card .bi svg { width: 14px; height: 14px; }
.yb-card .bb { padding: 0 1.2rem 1rem; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.yb-card h4 { font-size: .95rem; letter-spacing: -0.01em; margin: 0 0 .3rem; }
.yb-card p { font-size: .8rem; color: var(--c-text-2); margin: 0 0 .75rem; line-height: 1.45; }
.yb-card .bg {
  display: flex; flex-wrap: wrap; gap: .3rem;
  margin-top: auto; padding-top: .65rem;
  border-top: 1px dashed var(--c-line);
}
.yb-card .bg span {
  font-size: .66rem; font-weight: 600;
  padding: .2rem .5rem; border-radius: 999px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  color: var(--c-text-2);
}

/* ============ FEES + SEAT BLOCK + NOTES ============ */
.fees-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-cream) 100%);
  position: relative; overflow: hidden;
}
.fees-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: end; gap: 2rem;
  margin-bottom: 2.5rem;
}
.fees-head > div { min-width: 0; }
.fees-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.1;
  margin: .5rem 0 0; max-width: 22ch;
}
.fees-head h2 .hl {
  background: linear-gradient(120deg, var(--o-700), var(--o-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fees-head p { max-width: 48ch; color: var(--c-text-2); font-size: 1rem; margin: 0; }

.fees-grid { display: grid; gap: 1.25rem; min-width: 0; }
.fees-grid > * { min-width: 0; }
.fees-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.fees-cards-row > * { min-width: 0; }

/* Seat-block callout */
.seatblock {
  position: relative;
  background: linear-gradient(135deg, #1D1B18 0%, #2a1e14 100%);
  color: #FFFBF7;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem;
  overflow: hidden; isolation: isolate;
}
.seatblock::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at 20% 30%, rgba(244,138,79,0.22), transparent 60%);
}
.seatblock .sb-ic {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #F5A623, var(--o-600));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(232,106,44,0.55);
  flex-shrink: 0;
}
.seatblock .sb-ic svg { width: 22px; height: 22px; }
.seatblock .sb-body { position: relative; z-index: 1; flex: 1 1 240px; min-width: 0; }
.seatblock .sb-lab {
  font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #FFD1AD;
}
.seatblock .sb-t { font-size: 1rem; font-weight: 700; color: #fff; margin-top: 3px; line-height: 1.3; letter-spacing: -0.005em; }
.seatblock .sb-amt {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #FFE8D6, #F5A623);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.seatblock .sb-amt .sub {
  display: block;
  font-family: var(--font-sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .06em; color: #A69D8D;
  -webkit-text-fill-color: #A69D8D;
  margin-top: 4px;
}
.seatblock .sb-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #FFE8D6;
  font-size: .82rem; font-weight: 700;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.seatblock .sb-cta:hover { background: rgba(244,138,79,0.18); color: #fff; border-color: rgba(244,138,79,0.35); }

/* Semester fees block */
.sem-fees {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  min-width: 0;
}
.sem-fees-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: 1rem;
  margin-bottom: 1.2rem;
}
.sem-fees-head > div { min-width: 0; }
.sem-fees-head .label {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--o-700);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .5rem;
}
.sem-fees-head .label::before { content: ""; width: 22px; height: 1px; background: var(--o-500); }
.sem-fees-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.sem-fees-head .legend {
  display: inline-flex; gap: .7rem;
  font-size: .7rem; color: var(--c-muted); font-weight: 600;
  flex-wrap: wrap; justify-content: flex-end;
}
.sem-fees-head .legend span { display: inline-flex; align-items: center; gap: .35rem; }
.sem-fees-head .legend span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; }
.sem-fees-head .legend .lg-tu::before { background: var(--o-500); }
.sem-fees-head .legend .lg-cb::before { background: #F5A623; }
.sem-fees-head .legend .lg-hm::before { background: #4B3E8F; }

.sem-table-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-2) transparent;
  position: relative;
}
.sem-table-wrap::-webkit-scrollbar { height: 8px; }
.sem-table-wrap::-webkit-scrollbar-thumb { background: var(--c-line-2); border-radius: 999px; }
.sem-table-wrap::-webkit-scrollbar-track { background: transparent; }
.sem-table {
  display: grid;
  grid-template-columns: minmax(180px, 1.7fr) repeat(8, minmax(84px, 1fr));
  min-width: 820px;
  font-size: .88rem;
}
.sem-table .sh {
  padding: .8rem .85rem;
  font-size: .78rem; font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--c-text);
  background: var(--o-50);
  border-bottom: 1px solid var(--o-100);
  text-align: right;
  display: flex; align-items: center; justify-content: flex-end;
}
.sem-table .sh.first {
  text-align: left; justify-content: flex-start;
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: -0.01em;
  color: var(--c-text);
}
.sem-table .cell {
  padding: .7rem .85rem;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: flex-end;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}
.sem-table .cell.rl {
  justify-content: flex-start; text-align: left;
  font-weight: 600; letter-spacing: -0.005em;
  color: var(--c-text);
  background: var(--c-bg);
  border-right: 1px solid var(--c-line);
}
.sem-table .cell.rl.italic { font-style: italic; color: var(--c-text-2); font-weight: 500; }
.sem-table .cell.italic-row {
  background: #FFF6EF;
  font-style: italic;
  color: var(--c-text-2);
}
.sem-table .cell.total-row {
  background: linear-gradient(100deg, #FFF6EF, #FFE8D6);
  font-weight: 800;
  color: var(--c-text);
  font-size: .95rem;
  border-top: 2px solid var(--o-200);
  border-bottom: 0;
}
.sem-table .cell.total-row.rl {
  background: linear-gradient(100deg, #FFF6EF, #FFE8D6);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--o-700);
  letter-spacing: -0.01em;
}
.sem-table .cell.empty { color: var(--c-muted-2); font-style: italic; font-size: .78rem; }
.sem-table .cell.empty::before { content: "—"; }

.sem-total {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(100deg, #FFF6EF 0%, #FFE8D6 100%);
  border: 1px solid var(--o-100);
  border-radius: 12px;
  margin-top: 1rem;
}
.sem-total .tt { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--o-700); }
.sem-total .tv {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
  margin-top: .35rem;
  background: linear-gradient(135deg, var(--c-text), var(--o-700));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.sem-total .tv .sub {
  display: block;
  font-family: var(--font-sans); font-size: .68rem; font-weight: 500; color: var(--c-muted);
  -webkit-text-fill-color: var(--c-muted);
  margin-top: 4px;
}

.fee-notes {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--o-500);
  border-radius: 12px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.fee-notes .fn-lab {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--o-700);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .75rem;
}
.fee-notes .fn-lab svg { color: var(--o-500); }
.fee-notes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.fee-notes li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr);
  gap: .55rem;
  font-size: .85rem; color: var(--c-text-2); line-height: 1.5;
}
.fee-notes li svg { color: var(--o-500); flex-shrink: 0; margin-top: 3px; }
.fee-notes li strong { color: var(--c-text); font-weight: 700; }

/* Scholarship card family */
.sch-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-width: 0; overflow: hidden; word-break: break-word;
}
.sch-head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line);
  min-width: 0;
}
.sch-head > div { min-width: 0; flex: 1; }
.sch-head .sic {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--o-400), var(--o-600));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -8px rgba(232,106,44,0.5);
  flex-shrink: 0;
}
.sch-head .sic svg { width: 20px; height: 20px; }
.sch-head h3 { font-size: 1.05rem; letter-spacing: -0.015em; margin: 0; }
.sch-head .sub { font-size: .76rem; color: var(--c-muted); margin-top: 2px; }
.sch-tiers {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.sch-tier {
  padding: .95rem .85rem;
  background: linear-gradient(160deg, var(--c-bg), #FFF6EF);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  position: relative;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.sch-tier:hover { border-color: var(--o-200); transform: translateY(-2px); }
.sch-tier .pct {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--o-700), var(--o-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; display: flex; align-items: baseline; gap: 1px;
}
.sch-tier .pct .u { font-size: .78rem; -webkit-text-fill-color: var(--o-500); color: var(--o-500); }
.sch-tier .tname { font-size: .8rem; font-weight: 700; margin-top: .35rem; color: var(--c-text); letter-spacing: -0.005em; }
.sch-tier .tcrit { font-size: .68rem; color: var(--c-muted); margin-top: 2px; line-height: 1.3; }
.sch-tier.special {
  background: linear-gradient(160deg, #FFE1E8, #FFC6D6);
  border-color: #FFA7C0;
}
.sch-tier.special .pct {
  background: linear-gradient(135deg, #C71D5F, #E94F8E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sch-tier.special .pct .u { color: #C71D5F; -webkit-text-fill-color: #C71D5F; }
.sch-tier.special .tname { color: #6E0E37; }
.sch-tier.special .tcrit { color: #883254; }
.sch-tier.special .badge {
  position: absolute; top: .5rem; right: .5rem;
  font-size: .52rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .18rem .4rem; border-radius: 999px;
  background: #C71D5F; color: #fff;
}

/* Laptop card */
.laptop-card {
  background: linear-gradient(135deg, #1D1B18 0%, #2a1e14 100%);
  color: #FFFBF7;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.laptop-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 15% 30%, rgba(244,138,79,0.2), transparent 60%);
  pointer-events: none;
}
.laptop-card .lic {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, #F5A623, var(--o-600));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(232,106,44,0.6);
  flex-shrink: 0;
}
.laptop-card .lic svg { width: 24px; height: 24px; }
.laptop-card .lbody { position: relative; z-index: 1; min-width: 0; }
.laptop-card .lt { font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin: 0 0 .3rem; }
.laptop-card .lp { font-size: .88rem; color: rgba(255,255,255,0.72); margin: 0; line-height: 1.5; }
.laptop-card .llink {
  position: relative; z-index: 1;
  font-size: .82rem; font-weight: 700;
  color: #FFD1AD;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.laptop-card .llink:hover { background: rgba(244,138,79,0.14); color: #fff; }

/* Brochure CTA strip */
.fees-brochure {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(100deg, var(--c-surface) 0%, #FFF2E4 100%);
  border: 1px solid var(--o-100);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem; align-items: center;
  position: relative; overflow: hidden;
}
.fees-brochure::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 240px at 100% 0%, rgba(232,106,44,0.12), transparent 65%);
}
.fees-brochure .fb-ic {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--o-400), var(--o-600));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(232,106,44,0.55);
  flex-shrink: 0;
}
.fees-brochure .fb-ic svg { width: 26px; height: 26px; }
.fees-brochure .fb-body { position: relative; z-index: 1; min-width: 0; }
.fees-brochure h4 { font-size: 1.1rem; letter-spacing: -0.015em; margin: 0 0 .3rem; }
.fees-brochure p { margin: 0; font-size: .88rem; color: var(--c-text-2); line-height: 1.5; max-width: 52ch; }
.fees-brochure p strong { color: var(--c-text); font-weight: 700; }
.fees-brochure .fb-cta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }

/* ============ Program FAQ ============ */
.pfaq { padding: clamp(4rem, 7vw, 6rem) 0; }
.pfaq-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.pfaq-head h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.02em; margin-top: .75rem;
}
.pfaq-head h2 .hl {
  background: linear-gradient(120deg, var(--o-700), var(--o-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pfaq-list { max-width: 820px; margin: 0 auto; }

/* ============ Program Final CTA (dark full-bleed) ============ */
.program-final-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: linear-gradient(135deg, #1D1B18 0%, #2a1e14 50%, #1D1B18 100%);
  color: #FFFBF7;
  position: relative; overflow: hidden; isolation: isolate;
}
.program-final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 20% 30%, rgba(244,138,79,0.22), transparent 60%),
    radial-gradient(600px 350px at 80% 70%, rgba(232,106,44,0.16), transparent 60%);
  pointer-events: none;
}
.program-final-cta::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.pfinal-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem; align-items: center;
}
.pfinal-inner .eyebrow {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #FFD1AD;
}
.pfinal-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.025em; line-height: 1.08;
  margin: .85rem 0 .75rem;
}
.pfinal-inner h2 .hl {
  background: linear-gradient(120deg, #F5A623, #F48A4F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pfinal-inner p { color: rgba(255,255,255,0.72); margin: 0; font-size: 1rem; line-height: 1.55; max-width: 54ch; }
.pfinal-actions {
  display: flex; flex-direction: column; gap: .6rem;
  align-items: stretch;
}
.pfinal-actions .btn-primary {
  background: #fff; color: var(--c-text);
  box-shadow: 0 16px 40px -18px rgba(255,255,255,0.3);
}
.pfinal-actions .btn-primary:hover { background: var(--o-400); color: #fff; }
.pfinal-actions .btn-secondary {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.pfinal-actions .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.pfinal-meta { display: flex; gap: 1.2rem; margin-top: 1.5rem; color: rgba(255,255,255,0.6); font-size: .82rem; }
.pfinal-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.pfinal-meta svg { color: #F5A623; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .yb-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .fees-head { grid-template-columns: 1fr; gap: 1rem; }
  .fees-cards-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fees-brochure { grid-template-columns: auto minmax(0, 1fr); }
  .fees-brochure .fb-cta { grid-column: 1 / -1; justify-content: flex-start; }
  .yb-head { grid-template-columns: 96px minmax(0, 1fr); }
  .yb-pill { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }
  .yb-tile { width: 96px; height: 96px; border-radius: 20px; }
  .yb-tile .num { font-size: 2.2rem; }
  .y4-paths { grid-template-columns: 1fr; }
  .pfinal-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 760px) {
  .fees-section { padding: clamp(3rem, 8vw, 4.5rem) 0; }
  .sem-fees { padding: 1.1rem; }
  .sem-fees-head { grid-template-columns: 1fr; gap: .6rem; }
  .sem-fees-head .legend { justify-content: flex-start; }
  .sem-fees-head h3 { font-size: 1.15rem; }
  .sem-table { min-width: 640px; font-size: .78rem; }
  .sem-table .sh, .sem-table .cell { padding: .5rem .55rem; }
  .sem-table .cell.total-row { font-size: .85rem; }
  .sem-total { grid-template-columns: 1fr; gap: .6rem; padding: .85rem; }
  .sem-total .tv { font-size: 1.2rem; }
  .seatblock { padding: 1.1rem 1.15rem; gap: .75rem; }
  .seatblock .sb-ic { width: 40px; height: 40px; }
  .seatblock .sb-t { font-size: .92rem; }
  .seatblock .sb-amt { font-size: 1.35rem; }
  .fee-notes { padding: 1rem 1.1rem; }
  .fee-notes li { font-size: .82rem; }
  .fees-brochure { grid-template-columns: 1fr; text-align: left; padding: 1.2rem; }
  .fees-brochure .fb-cta { justify-content: flex-start; }
  .fees-brochure p { font-size: .84rem; }
  .sch-card { padding: 1.25rem; }
  .laptop-card { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 640px) {
  .yb-head { grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; }
  .yb-tile { width: 72px; height: 72px; border-radius: 16px; }
  .yb-tile .num { font-size: 1.6rem; }
  .yb-tile .lab { font-size: .52rem; }
  .yb-subjects, .yb-milestones { grid-template-columns: 1fr; }
  .ioc-anchors a { padding: .5rem .75rem; font-size: .8rem; }
  .ioc-anchors a .n { width: 20px; height: 20px; font-size: .66rem; }
  .yb-build-head { gap: .65rem; }
  .yb-build-legend { display: none; }
}
@media (max-width: 520px) {
  .fees-cards-row { grid-template-columns: 1fr; }
  .sem-table { min-width: 560px; font-size: .74rem; }
  .sem-table .sh, .sem-table .cell { padding: .45rem .5rem; }
  .sem-fees { padding: .9rem; }
  .sch-tiers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .year-band, .milestone, .yb-card, .sch-tier { transition: none !important; }
}

/* ============ DATES JOURNEY STRIP (shared: program.html, admission-test.html) ============ */
.dates-band {
  position: relative;
  padding: clamp(3.25rem, 5.5vw, 5rem) 0;
  background: linear-gradient(180deg, #1A1230 0%, #2A1F4A 55%, #3B2F6A 100%);
  color: #fff;
  overflow: hidden; isolation: isolate;
}
.dates-band::before, .dates-band::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  filter: blur(80px); opacity: .5;
}
.dates-band::before { top: -40%; left: -10%; width: 400px; height: 400px; background: rgba(232,106,44,0.35); border-radius: 50%; }
.dates-band::after  { bottom: -40%; right: -10%; width: 400px; height: 400px; background: rgba(122,108,207,0.4); border-radius: 50%; }
.dates-band .dates-head { text-align: center; margin-bottom: 2.5rem; }
.dates-band .dates-head .eyebrow { color: #FFB366; }
.dates-band .dates-head .eyebrow .dot { background: #FFB366; }
.dates-band .dates-head h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 .6rem; }
.dates-band .dates-head h2 .hl { background: linear-gradient(120deg, #FFB366, #FFDFCB); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dates-band .dates-head p { color: rgba(255,255,255,0.7); max-width: 56ch; margin: 0 auto; font-size: .92rem; }

.dates-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.dates-journey::before {
  content: "";
  position: absolute;
  top: 42px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.date-card {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.15rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, border-color .18s ease;
}
.date-card:hover { transform: translateY(-3px); border-color: rgba(255,179,102,0.5); }
.date-card .dc-top {
  display: flex; align-items: center; gap: .55rem;
  margin-bottom: .65rem;
}
.date-card .dc-dot {
  width: 14px; height: 14px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}
.date-card.c-coral .dc-dot { background: #FF7A59; box-shadow: 0 0 0 3px rgba(255,122,89,0.25); }
.date-card.c-amber .dc-dot { background: #F5A623; box-shadow: 0 0 0 3px rgba(245,166,35,0.25); }
.date-card.c-mint  .dc-dot { background: #7ED0A8; box-shadow: 0 0 0 3px rgba(126,208,168,0.25); }
.date-card.c-lilac .dc-dot { background: #B298EE; box-shadow: 0 0 0 3px rgba(178,152,238,0.25); }
.date-card .dc-step {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.date-card h3 {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 .3rem;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.date-card.c-coral h3 { color: #FFC9B8; }
.date-card.c-amber h3 { color: #FFE0A8; }
.date-card.c-mint  h3 { color: #C8EFD7; }
.date-card.c-lilac h3 { color: #E2D5FF; }
.date-card p {
  font-size: .82rem; line-height: 1.5;
  color: rgba(255,255,255,0.78); margin: 0;
}
.date-card .dc-badge {
  display: inline-block;
  margin-top: .7rem;
  font-size: .72rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 900px) {
  .dates-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .dates-journey::before { display: none; }
}
@media (max-width: 500px) {
  .dates-journey { grid-template-columns: 1fr; }
  .date-card h3 { white-space: normal; }
}


/* =========================================================================
   IOC2 — Minimalist 4-year curriculum view (rail + tabbed panel)
   Used on program.html. Supersedes the older bulky `.ioc` / `.year-band` UI.
   ========================================================================= */
.ioc2 {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(232, 106, 44, 0.08), transparent 65%),
    linear-gradient(180deg, var(--c-bg) 0%, #FFF9F1 60%, var(--c-bg) 100%);
  /* clip contains the radial bleed horizontally without killing `position: sticky`
     on descendants the way overflow:hidden does. */
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

.ioc2-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.ioc2-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: .7rem 0 .6rem;
  color: var(--c-text, #1A1230);
  font-weight: 800;
}
.ioc2-head .hl {
  background: linear-gradient(120deg, var(--o-700, #CF5A22), var(--o-400, #F48A4F));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ioc2-head p {
  color: var(--c-text-2, #4A4360);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
  margin-left: auto; margin-right: auto;
}

/* --- 2-col layout: vertical year rail + content panel --- */
.ioc2-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

/* --- Rail: vertical year timeline — stays fixed while inside the section --- */
.ioc2-rail {
  position: sticky;
  top: 88px;
  align-self: start; /* important: grid items stretch by default, which breaks sticky */
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem 0;
  z-index: 1;
}
.ioc2-rail__track {
  position: absolute;
  left: 19px;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(232, 106, 44, 0.35) 0%,
    rgba(232, 106, 44, 0.15) 70%,
    rgba(232, 106, 44, 0) 100%);
  border-radius: 2px;
  pointer-events: none;
}

.ioc2-year {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: .75rem;
  padding: .9rem .7rem .9rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 12px;
  transition: background .25s ease;
}
.ioc2-year:hover { background: rgba(232, 106, 44, 0.06); }

.ioc2-year__dot {
  position: relative;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(232, 106, 44, 0.35);
  margin-left: 12px;
  flex-shrink: 0;
  z-index: 1;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ioc2-year.is-active .ioc2-year__dot {
  background: linear-gradient(135deg, #F48A4F, #E86A2C);
  border-color: transparent;
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(232, 106, 44, 0.14), 0 4px 12px -4px rgba(232, 106, 44, 0.5);
}
.ioc2-year__dot--final {
  border-color: rgba(245, 166, 35, 0.5);
}
.ioc2-year.is-active .ioc2-year__dot--final {
  background: linear-gradient(135deg, #F5A623, #E09419);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.16), 0 4px 12px -4px rgba(245, 166, 35, 0.5);
}

.ioc2-year__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ioc2-year__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted, #6B6480);
  transition: color .3s ease;
}
.ioc2-year.is-active .ioc2-year__num { color: var(--o-700, #CF5A22); }

.ioc2-year__theme {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: rgba(26, 18, 48, 0.55);
  line-height: 1.2;
  transition: color .3s ease;
}
.ioc2-year.is-active .ioc2-year__theme { color: var(--c-text, #1A1230); }

/* --- Right panels --- */
.ioc2-panels {
  position: relative;
  min-width: 0;
}
.ioc2-panel {
  background: var(--c-surface, #fff);
  border: 1px solid var(--c-line, rgba(26, 18, 48, 0.08));
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: 0 16px 40px -24px rgba(26, 18, 48, 0.18);
  animation: ioc2-fade .4s cubic-bezier(.2,.8,.3,1);
}
@keyframes ioc2-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ioc2-panel[hidden] { display: none; }

.ioc2-panel__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(26, 18, 48, 0.1);
}
.ioc2-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--o-700, #CF5A22);
  background: var(--o-50, #FFF4EA);
  border: 1px solid var(--o-100, rgba(232, 106, 44, 0.18));
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.ioc2-tag--final {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.14), rgba(232, 106, 44, 0.08));
  color: #C9791A;
  border-color: rgba(245, 166, 35, 0.35);
}
.ioc2-panel__head h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 .4rem;
  color: var(--c-text, #1A1230);
}
.ioc2-panel__head p {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--c-text-2, #4A4360);
  margin: 0;
  max-width: 62ch;
}

/* Stat strip */
.ioc2-stats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}
.ioc2-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: .7rem .85rem;
  background: var(--c-bg, #FFFBF7);
  border: 1px solid var(--c-line, rgba(26, 18, 48, 0.08));
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-muted, #6B6480);
  letter-spacing: .02em;
}
.ioc2-stats li strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--c-text, #1A1230);
  line-height: 1;
  background: linear-gradient(135deg, var(--o-700, #CF5A22), var(--o-500, #E86A2C));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Generic "block" containers inside the panel */
.ioc2-block { margin-top: 1.25rem; }
.ioc2-block:first-child { margin-top: 0; }
.ioc2-block__label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--o-700, #CF5A22);
  margin-bottom: .7rem;
}
.ioc2-block__label::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
}

/* Subjects — 3-col compact text grid (no big icon tiles) */
.ioc2-subjects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem .85rem;
}
.ioc2-s {
  padding: .6rem .75rem;
  border-left: 2px solid var(--o-300, rgba(232, 106, 44, 0.3));
  background: var(--c-bg, #FFFBF7);
  border-radius: 0 8px 8px 0;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.ioc2-s .t {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text, #1A1230);
  line-height: 1.25;
}
.ioc2-s .d {
  font-size: .72rem;
  color: var(--c-muted, #6B6480);
  line-height: 1.3;
}

/* Tech stack chips — flat, compact */
.ioc2-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.ioc2-stack span {
  display: inline-flex;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text, #1A1230);
  background: var(--c-cream, #FFF4EA);
  border: 1px solid rgba(232, 106, 44, 0.18);
}

/* Milestones as inline pills */
.ioc2-miles {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .75rem;
}
.ioc2-miles li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .8rem .5rem 2rem;
  border-radius: 10px;
  background: var(--c-bg, #FFFBF7);
  border: 1px solid rgba(26, 18, 48, 0.06);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text, #1A1230);
  line-height: 1.3;
}
.ioc2-miles li::before {
  content: "";
  position: absolute;
  left: .7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F48A4F, #E86A2C);
  box-shadow: 0 2px 6px -2px rgba(232, 106, 44, 0.5);
}
.ioc2-miles li::after {
  content: "✓";
  position: absolute;
  left: .92rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
}

/* "What you'll build" — image cards in a horizontal scroll rail */
.ioc2-block--build { margin-top: 1.5rem; }
.ioc2-build-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.ioc2-build-head .ioc2-block__label { margin-bottom: 0; }

.ioc2-build-nav {
  display: inline-flex;
  gap: .4rem;
}
.ioc2-build-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid rgba(26, 18, 48, 0.12);
  color: var(--c-text, #1A1230);
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(26, 18, 48, 0.18);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.ioc2-build-btn svg { width: 14px; height: 14px; }
.ioc2-build-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--o-500, #E86A2C);
  color: var(--o-700, #CF5A22);
}
.ioc2-build-btn:disabled { opacity: .35; cursor: default; }

.ioc2-build-rail {
  position: relative;
  margin: 0 -.25rem;
}
.ioc2-build-track {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .25rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ioc2-build-track::-webkit-scrollbar { display: none; }

/* Individual build card */
.ibc {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26, 18, 48, 0.08);
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px -10px rgba(26, 18, 48, 0.2);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.ibc:hover {
  transform: translateY(-3px);
  border-color: var(--ibc-accent, #E86A2C);
  box-shadow: 0 14px 26px -10px rgba(232, 106, 44, 0.28);
}

.ibc__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, var(--ibc-tint-soft, rgba(232, 106, 44, 0.35)) 0%, transparent 65%),
    linear-gradient(160deg, var(--ibc-tint-a, #2A1F4A) 0%, var(--ibc-tint-b, #120B26) 100%);
}
.ibc__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.ibc:hover .ibc__media img { transform: scale(1.04); }
/* Placeholder plus-icon shown only when the image is missing */
.ibc__glyph {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity .3s ease;
}
.ibc__glyph::before,
.ibc__glyph::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}
.ibc__glyph::before { width: 18px; height: 2px; }
.ibc__glyph::after  { width: 2px;  height: 18px; }
.ibc__media.no-img .ibc__glyph { opacity: 1; }

.ibc__body {
  padding: .7rem .85rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.ibc__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .35rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ibc-accent, #CF5A22);
  background: var(--ibc-accent-bg, rgba(232, 106, 44, 0.1));
  border: 1px solid var(--ibc-accent-border, rgba(232, 106, 44, 0.22));
}
.ibc__tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.ibc__body h4 {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--c-text, #1A1230);
}

/* Type variants (colour the tag + accent) */
.ibc.b-proj {
  --ibc-accent: #CF5A22;
  --ibc-accent-bg: rgba(232, 106, 44, 0.08);
  --ibc-accent-border: rgba(232, 106, 44, 0.22);
  --ibc-tint-a: #3A1F14; --ibc-tint-b: #1F0E1B;
  --ibc-tint-soft: rgba(232, 106, 44, 0.42);
}
.ibc.b-hack {
  --ibc-accent: #7A6CCF;
  --ibc-accent-bg: rgba(122, 108, 207, 0.1);
  --ibc-accent-border: rgba(122, 108, 207, 0.24);
  --ibc-tint-a: #2A1F4A; --ibc-tint-b: #120B26;
  --ibc-tint-soft: rgba(178, 152, 238, 0.4);
}
.ibc.b-comp {
  --ibc-accent: #0F8C9E;
  --ibc-accent-bg: rgba(15, 140, 158, 0.08);
  --ibc-accent-border: rgba(15, 140, 158, 0.24);
  --ibc-tint-a: #13363F; --ibc-tint-b: #0A1D22;
  --ibc-tint-soft: rgba(100, 200, 220, 0.38);
}

/* Year-4 path comparison */
.ioc2-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: .75rem 0 1.25rem;
}
.ioc2-path {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFF6EC, #FFEEDB);
  border: 1px solid rgba(232, 106, 44, 0.25);
}
.ioc2-path--research {
  background: linear-gradient(180deg, rgba(122, 108, 207, 0.06), rgba(122, 108, 207, 0.02));
  border-color: rgba(122, 108, 207, 0.25);
}
.ioc2-path__head { margin-bottom: .75rem; }
.ioc2-path__label {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--o-700, #CF5A22);
  margin-bottom: 2px;
}
.ioc2-path--research .ioc2-path__label { color: #7A6CCF; }
.ioc2-path__name {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--c-text, #1A1230);
  line-height: 1.3;
}
.ioc2-path ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ioc2-path ul li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .82rem;
  color: var(--c-text-2, #4A4360);
  line-height: 1.4;
}
.ioc2-path ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--o-600, #E86A2C);
}
.ioc2-path--research ul li::before { color: #7A6CCF; }

/* Responsive */
@media (max-width: 900px) {
  .ioc2-layout { grid-template-columns: 1fr; }
  .ioc2-rail {
    position: relative;
    top: 0;
    flex-direction: row;
    gap: .5rem;
    padding: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-line, rgba(26, 18, 48, 0.08));
    border-radius: 14px;
  }
  .ioc2-rail::-webkit-scrollbar { display: none; }
  .ioc2-rail__track { display: none; }
  .ioc2-year {
    grid-template-columns: auto auto;
    padding: .5rem .75rem;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .ioc2-year__dot { margin-left: 0; width: 10px; height: 10px; }
  .ioc2-year__theme { display: none; }
  .ioc2-year.is-active { background: var(--o-50, rgba(232, 106, 44, 0.08)); }
  .ioc2-subjects { grid-template-columns: 1fr 1fr; }
  .ioc2-stats { grid-template-columns: repeat(2, 1fr); }
  .ioc2-miles { grid-template-columns: 1fr; }
  .ioc2-paths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ioc2-subjects { grid-template-columns: 1fr; }
  .ioc2-panel { padding: 1.25rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ioc2-panel { animation: none; }
  .ioc2-year__dot { transition: none; }
}

/* =========================================================================
   SUCCESS STORIES CAROUSEL & CARDS
   Shared between index.html and success-stories.html
   ========================================================================= */

/* Header: copy left, prev/next buttons right */
.st-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  flex-wrap: wrap;
}
.st-head__text {
  max-width: 620px;
}
.st-head__text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: .5rem 0 .45rem;
  color: #1A1230;
}
.st-head__text .hl {
  background: linear-gradient(120deg, #E86A2C 0%, #F48A4F 60%, #B08CF0 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.st-head__text p {
  color: var(--c-text-2, #4A4360);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}

.st-nav { display: inline-flex; gap: .55rem; flex-shrink: 0; }
.st-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(26, 18, 48, 0.12);
  color: #1A1230;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(26, 18, 48, 0.2);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.st-btn svg { width: 18px; height: 18px; }
.st-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #E86A2C;
  color: #CF5A22;
  box-shadow: 0 10px 22px -8px rgba(232, 106, 44, 0.35);
}
.st-btn:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}
.st-btn--primary {
  background: linear-gradient(135deg, #F48A4F, #E86A2C);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px -8px rgba(232, 106, 44, 0.55);
}
.st-btn--primary:hover:not(:disabled) {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 14px 30px -8px rgba(232, 106, 44, 0.7);
}
.st-btn--primary:disabled { background: linear-gradient(135deg, #F48A4F, #E86A2C); }

/* Rail (contains edges + track). Break out of container so edges hit viewport. */
.st-rail {
  position: relative;
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2.5rem));
}
.st-rail__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 6vw, 5rem);
  z-index: 2;
  pointer-events: none;
}
.st-rail__edge--l { left: 0;  background: linear-gradient(90deg,  var(--c-bg, #FFFBF7), rgba(255, 251, 247, 0)); }
.st-rail__edge--r { right: 0; background: linear-gradient(-90deg, var(--c-bg, #FFFBF7), rgba(255, 251, 247, 0)); }

/* Scroll track */
.st-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: clamp(1rem, 4vw, 2.5rem);
  padding: .5rem clamp(1rem, 4vw, 2.5rem) 1.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.st-track::-webkit-scrollbar { display: none; }

/* Card */
.st-card {
  position: relative;
  flex: 0 0 clamp(240px, 22vw, 290px);
  background: #fff;
  border: 1px solid rgba(26, 18, 48, 0.06);
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow:
    0 12px 40px -20px rgba(26, 18, 48, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  display: flex;
  flex-direction: column;
  transition:
    transform .5s cubic-bezier(.2,.8,.3,1),
    box-shadow .5s cubic-bezier(.2,.8,.3,1),
    border-color .35s ease;
  will-change: transform;
}
.st-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232, 106, 44, 0), rgba(176, 140, 240, 0));
  opacity: 0;
  z-index: -1;
  transition: opacity .4s ease, background .4s ease;
  pointer-events: none;
}
.st-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 106, 44, 0.18);
  box-shadow:
    0 26px 60px -24px rgba(26, 18, 48, 0.3),
    0 10px 30px -12px rgba(232, 106, 44, 0.25),
    0 0 0 1px rgba(232, 106, 44, 0.12) inset;
}
.st-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(232, 106, 44, 0.25), rgba(176, 140, 240, 0.18));
  filter: blur(18px);
}

/* Media: large portrait (4:5 — tall but not full square) */
.st-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #2A1F4A 0%, #1A1230 60%, #3D2B5E 100%);
}
.st-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform .7s cubic-bezier(.2,.8,.3,1), filter .5s ease;
}
.st-card:hover .st-photo {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.02);
}
/* Initials fallback (visible only when photo is missing/hidden) */
.st-photo__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 209, 173, 0.55);
  letter-spacing: -0.04em;
  z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(232, 106, 44, 0.2), transparent 65%);
}

/* Company chip (top-left) */
.st-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem .35rem .35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1A1230;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 3;
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.st-card:hover .st-chip { transform: translateY(-2px); }
.st-chip__ico {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #fff;
  padding: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Decorative opening quote (bottom-right of media) */
.st-quote-mark {
  position: absolute;
  bottom: -.7rem;
  right: .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 700;
  color: #E86A2C;
  z-index: 3;
  text-shadow: 0 4px 12px rgba(232, 106, 44, 0.35);
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.st-card:hover .st-quote-mark {
  transform: translateY(-4px) rotate(-4deg);
}

/* Body */
.st-body {
  padding: .95rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.st-who h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #1A1230;
  margin: 0 0 2px;
  line-height: 1.2;
}
.st-who p {
  font-size: .74rem;
  color: var(--c-muted, #6B6480);
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.st-quote {
  font-size: .82rem;
  line-height: 1.45;
  color: #1A1230;
  margin: 0;
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.st-quote::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  margin-top: .6rem;
  background: linear-gradient(90deg, #E86A2C, #F48A4F);
  transition: width .4s cubic-bezier(.2,.8,.3,1);
}
.st-card:hover .st-quote::after {
  width: 56px;
}

.st-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .4rem;
  border-top: 1px dashed rgba(26, 18, 48, 0.1);
}
.st-batch {
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-muted, #6B6480);
}
.st-tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #CF5A22;
  background: linear-gradient(135deg, rgba(232, 106, 44, 0.12), rgba(244, 138, 79, 0.06));
  border: 1px solid rgba(232, 106, 44, 0.22);
  margin-left: auto;
}

/* Foot: see all link */
.st-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(.75rem, 1.5vw, 1.25rem);
}
.st-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .88rem;
  color: #CF5A22;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  background: rgba(232, 106, 44, 0.06);
  border: 1px solid rgba(232, 106, 44, 0.22);
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, gap .25s ease;
}
.st-more svg { width: 14px; height: 14px; transition: transform .25s ease; }
.st-more:hover {
  background: linear-gradient(135deg, rgba(232, 106, 44, 0.12), rgba(244, 138, 79, 0.08));
  border-color: rgba(232, 106, 44, 0.45);
  transform: translateY(-1px);
  gap: .75rem;
}
.st-more:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 768px) {
  .st-head { gap: 1.25rem; }
  .st-nav { align-self: flex-start; }
  .st-btn { width: 42px; height: 42px; }
  .st-btn svg { width: 16px; height: 16px; }
  .st-card { flex: 0 0 78vw; }
  .st-media { aspect-ratio: 4 / 3; }
  .st-quote-mark { font-size: 4rem; }
}
@media (max-width: 420px) {
  .st-card { flex: 0 0 84vw; }
}

@media (prefers-reduced-motion: reduce) {
  .st-card, .st-photo, .st-chip, .st-quote-mark, .st-quote::after { transition: none !important; }
  .st-card:hover { transform: none; }
  .st-card:hover .st-photo { transform: none; }
  .st-card:hover .st-quote-mark { transform: none; }
  .st-track { scroll-behavior: auto; }
}

/* Static grid for success stories */
.st-track--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  overflow: visible;
  padding: 0.5rem 0 2rem;
  scroll-snap-type: none;
}

.st-track--grid .st-card {
  flex: none;
  width: auto;
}

@media (max-width: 1024px) {
  .st-track--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .st-track--grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ── OTP Verification Modal (shared across pages) ── */
.cbat-otp-bd {
  position: fixed; inset: 0;
  background: rgba(12,7,33,.6);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.cbat-otp-bd.open { opacity: 1; pointer-events: auto; }

.cbat-otp-modal {
  background: #fff; border-radius: 20px;
  padding: 2rem 1.85rem 1.85rem;
  width: min(100%, 400px);
  box-shadow: 0 28px 70px rgba(12,7,33,.22), 0 6px 18px rgba(12,7,33,.1);
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform .24s cubic-bezier(.2,.7,.2,1);
}
.cbat-otp-bd.open .cbat-otp-modal { transform: translateY(0) scale(1); }

.cbat-otp-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(26,18,48,.06); color: #6B6480; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.cbat-otp-modal__close:hover { background: rgba(26,18,48,.12); color: #1A1230; }
.cbat-otp-modal__ic {
  width: 46px; height: 46px;
  background: linear-gradient(135deg,#E86A2C,#A84717);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: .9rem;
}
.cbat-otp-modal h4 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: #1A1230; margin: 0 0 .3rem; }
.cbat-otp-modal__sub { font-size: .875rem; color: #6B6480; margin: 0 0 1.4rem; line-height: 1.5; }
.cbat-otp-modal__sub strong { color: #1A1230; font-weight: 700; }

.cbat-otp-boxes { display: flex; gap: .45rem; margin-bottom: .85rem; }
.cbat-otp-boxes input {
  flex: 1; 
  max-width: 52px; 
  width: 100%;
  text-align: center;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .04em;
  padding: .7rem .2rem;
  border: 1.5px solid rgba(26,18,48,.14); border-radius: 10px;
  background: #FFFBF7; color: #1A1230;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -moz-appearance: textfield;
}
.cbat-otp-boxes input::-webkit-inner-spin-button,
.cbat-otp-boxes input::-webkit-outer-spin-button { appearance: none; }
.cbat-otp-boxes input:focus { outline: 0; border-color: #E86A2C; box-shadow: 0 0 0 4px rgba(232,106,44,.13); background: #fff; }
.cbat-otp-boxes input.is-error { border-color: #E35959; box-shadow: 0 0 0 4px rgba(227,89,89,.1); }

.cbat-otp-error.hidden { display: none; }
.cbat-otp-error {
  font-size: .82rem; color: #C94545;
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: .75rem; animation: cbat-shake .3s ease;
}
@keyframes cbat-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }

#cbatOtpTimer.hidden { display: none; }
.cbat-otp-resend { font-size: .82rem; color: #6B6480; margin-bottom: 1rem; min-height: 1.25rem; }
.cbat-otp-resend__btn.hidden { display: none; }
.cbat-otp-resend__btn {
  background: 0; border: 0; color: #E86A2C; font: inherit;
  font-size: .82rem; font-weight: 700; cursor: pointer; padding: 0;
}
.cbat-otp-resend__btn:hover { text-decoration: underline; }
.cbat-otp-resend__btn:disabled { color: #6B6480; cursor: default; text-decoration: none; }

.cbat-otp-verify-btn {
  width: 100%; padding: .85rem 1rem;
  background: linear-gradient(135deg,#E86A2C,#A84717);
  color: #fff; border: 0; border-radius: 999px;
  font-weight: 700; font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  transition: opacity .16s, transform .14s, box-shadow .14s;
  box-shadow: 0 8px 20px -10px rgba(232,106,44,.55);
}
.cbat-otp-verify-btn:hover:not(:disabled) { opacity: .93; transform: translateY(-1px); }
.cbat-otp-verify-btn:disabled { opacity: .6; cursor: wait; transform: none; }
