/* Load after the original page stylesheet. Original variables are unchanged. */
[hidden] { display: none !important; }
html { scroll-padding-block-start: 94px; }
body { overflow-wrap: anywhere; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 14px; z-index: 100; }
.skip-link:focus { inset-block-start: 14px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.language-switch { font-size: .82rem; font-weight: 750; white-space: nowrap; }
.brand { direction: ltr; flex-shrink: 0; }
.navlinks a::after { left: auto; inset-inline-start: 0; }
.menu-btn { min-width: 44px; min-height: 44px; }
.mobile-cta { display: none; }
.footer-heading { margin: 0 0 12px; font-size: .8rem; }
.copyright { color: var(--muted); }
.footer-grid a { overflow-wrap: anywhere; }
.hero .eyebrow { color: var(--lime); }
.journey-age { margin-block: 18px; }
.program-grid { list-style: none; padding-inline-start: 0; margin-block-end: 0; }
.program > a { display: block; height: 100%; }
.prerequisite-badge, .pending-badge {
  position: static; inset: auto; display: inline-block; max-width: 100%;
  margin-block: 8px; margin-inline-end: 8px; font-size: .7rem; line-height: 1.55;
  letter-spacing: normal; white-space: normal;
}
.pending-badge { background: var(--lime); color: var(--bg); }
.stats > .pending-badge { grid-column: 1 / -1; justify-self: start; margin: 18px 24px; }
.section:not(#home) .program .learn { color: #15468e; }
.section:not(#home) .stats { --text: #f5f7fb; --muted: #b8c3d6; color: var(--text); }
.section .cta h2 { font-size: 1.25rem; margin: 0; }
.section:not(#home) .cta { --text: #f5f7fb; --muted: #b8c3d6; }
.section:not(#home) .cta :is(h2, h3) { color: var(--text); }
.section:not(#home) .cta .btn.ghost { background: transparent; border-color: #5a769d; color: var(--text); }
.project-group { margin-block-start: 30px; }
.project-group .project-strip { margin-block-start: 18px; }
.project-strip figure { margin: 0; }
.project-strip figcaption { padding: 12px; font-size: .82rem; }
.project-strip img { display: block; }
.stat { border-right: 0; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.checklist li::before { margin-right: 0; margin-inline-end: 10px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 18px; }
summary { cursor: pointer; font-weight: 800; }
details.about-card > p { margin-block-end: 0; }
.details-list { margin: 0; }
.details-list > div { padding-block: 14px; border-block-end: 1px solid var(--line); }
.details-list dt { font-weight: 800; }
.details-list dd { margin: 8px 0 0; margin-inline-start: 0; }
.levels[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-wrap {
  max-width: 780px; margin-inline: auto; padding: 36px;
  border: 1px solid var(--line); border-radius: 24px;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
label, legend { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; }
input, select, textarea {
  width: 100%; padding: 14px 15px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--text); background: transparent;
}
textarea { min-height: 120px; resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkbox-label { display: flex; align-items: baseline; gap: 10px; font-weight: 400; }
.checkbox-label input { width: auto; flex-shrink: 0; }
.note { color: var(--muted); font-size: .8rem; }
[aria-busy="true"] button { cursor: wait; }
[dir="rtl"] body { font-family: Inter, Arial, Tahoma, sans-serif; }
[dir="rtl"] :is(.eyebrow, .hero h1, .page-hero h1, .section h2) { letter-spacing: normal; }
[dir="rtl"] .program-image .age { left: auto; inset-inline-start: 12px; }
[dir="rtl"] :is(.hero-grid, .page-hero-grid, .program-body, .about-grid, .footer-grid) { text-align: start; }
[dir="rtl"] .skills li::before { margin-right: 0; margin-inline-end: 8px; }
@media (max-width: 980px) {
  .navlinks, .contact-mini { display: none; }
  .menu-btn { display: block; }
  .navlinks.open {
    display: flex; position: absolute; top: 74px; inset-inline: 0;
    padding: 18px 4%; background: var(--bg); flex-direction: column;
    align-items: flex-start; gap: 18px; border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 900px) {
  .levels[data-columns="2"] { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-actions { gap: 8px; }
  .grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-wrap { padding: 24px 18px; border-radius: 18px; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 14px; inset-inline: 12px;
    z-index: 40; box-shadow: 0 18px 55px rgba(0,0,0,.35);
  }
  body { padding-bottom: 76px; }
  .stat:nth-child(2) { border-inline-end: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
