@font-face {
  font-family: Shuffah Display;
  src: url(dm-sans.woff2) format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

.sj2-site {
  --sj-ink: #102a4c;
  --sj-muted: #425974;
  --sj-blue: #075ab8;
  --sj-deep: #10366d;
  --sj-sky: #eaf4ff;
  --sj-line: #d6e5f3;
  --sj-gold: #ffde7d;
  --sj-radius: 18px;
  --sj-serif-free: "Shuffah Display", system-ui, sans-serif;
  container: sj2 / inline-size;
  isolation: isolate;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  color: var(--sj-ink);
  font-size: 1rem;
  line-height: 1.62;
}
.sj2-site *, .sj2-site *::before, .sj2-site *::after { box-sizing: border-box; }
.sj2-site [hidden] { display: none !important; }
.sj2-site h2, .sj2-site h3, .sj2-site p, .sj2-site figure, .sj2-site ul { margin: 0; }
.sj2-site h2, .sj2-site h3 { font-family: var(--sj-serif-free); font-weight: 750; color: inherit; letter-spacing: -.045em; }
.sj2-site h2 { font-size: clamp(1.8rem, 5cqi, 3rem); line-height: 1.08; }
.sj2-site h3 { font-size: clamp(1.16rem, 2.8cqi, 1.42rem); line-height: 1.2; }
.sj2-site img { display: block; width: 100%; max-width: 100%; }
.sj2-site button, .sj2-site input { font: inherit; }
.sj2-site a { text-underline-offset: .16em; }
.sj2-site :focus-visible { outline: 3px solid #0073cc; outline-offset: 3px; }
.sj2-site .sj2-hero :focus-visible, .sj2-site .sj2-contact :focus-visible { outline-color: var(--sj-gold); }
.sj2-site [id] { scroll-margin-top: 105px; }

.sj2-site .sj2-hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: clamp(14px, 3cqi, 29px);
  background: #0856ac;
  color: white;
  box-shadow: 0 15px 38px #06489b29;
}
.sj2-site .sj2-hero-copy {
  position: relative;
  isolation: isolate;
  padding: clamp(1.25rem, 5.5cqi, 3.2rem);
  background: radial-gradient(ellipse at 15% 2%, #0879db 0%, transparent 55%), linear-gradient(147deg, #0759b6, #0e326d 90%);
}
.sj2-site .sj2-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 46px, #a6d7ff20 47px 48px);
  mask-image: linear-gradient(140deg, #000, transparent 68%);
}
.sj2-site .sj2-signature {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin-bottom: clamp(1rem, 2.75cqi, 1.85rem);
  color: white;
}
.sj2-site .sj2-signature > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #ffffff17;
  border: 1px solid #ffffff54;
  border-radius: 12px;
}
.sj2-site .sj2-signature img { width: 28px; height: 28px; object-fit: contain; }
.sj2-site .sj2-signature strong, .sj2-site .sj2-signature small { display: block; }
.sj2-site .sj2-signature strong { font: 750 1rem/1.15 var(--sj-serif-free); }
.sj2-site .sj2-signature small { margin-top: .15rem; color: #dbeaff; font-size: .8rem; }
.sj2-site .sj2-period {
  width: fit-content;
  padding: .2rem .65rem;
  border: 1px solid #b2d7ff72;
  border-radius: 999px;
  background: #d2eaff14;
  color: #fff;
  font-size: .86rem;
  font-weight: 650;
}
.sj2-site .sj2-hero h2 { font-size: clamp(2.4rem, 7.6cqi, 5rem); line-height: .99; color: #fff; letter-spacing: -.067em; margin: .2em 0 .28em; }
.sj2-site .sj2-hero h2 em { font-style: normal; color: var(--sj-gold); }
.sj2-site .sj2-hero-copy > p:not(.sj2-period) { color: #eaf4ff; max-width: 38ch; font-size: clamp(1rem, 2.2cqi, 1.16rem); }
.sj2-site .sj2-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1.15rem; }
.sj2-site .sj2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .57rem .95rem;
  border: 1px solid transparent;
  border-radius: .63rem;
  text-align: center;
  text-decoration: none;
  font: 750 .92rem/1.25 var(--sj-serif-free);
  transition: background-color .18s, border-color .18s;
}
.sj2-site .sj2-gold { color: #302508; background: var(--sj-gold); }
.sj2-site .sj2-gold:hover { background: #ffe9ab; }
.sj2-site .sj2-ghost { border-color: #d3e6ffa8; background: #fff1; color: #fff; }
.sj2-site .sj2-ghost:hover { background: #fff3; }
.sj2-site .sj2-blue { background: var(--sj-blue); color: #fff; }
.sj2-site .sj2-blue:hover { background: var(--sj-deep); }
.sj2-site .sj2-outline { border-color: #a9c7e9; background: #fff; color: var(--sj-deep); }
.sj2-site .sj2-outline:hover { border-color: #76a8db; background: #ebf5ff; }

.sj2-site .sj2-gallery { position: relative; min-width: 0; aspect-ratio: 1.52; background: #163760; isolation: isolate; }
.sj2-site .sj2-gallery figure { position: absolute; inset: 0; }
.sj2-site .sj2-gallery figure::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg, #071d3bd9, transparent 44%); pointer-events: none; }
.sj2-site .sj2-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.sj2-site .sj2-gallery figcaption { position: absolute; z-index: 1; left: .9rem; right: 7.7rem; bottom: 1.28rem; color: white; font: 700 .9rem/1.32 var(--sj-serif-free); }
.sj2-site .sj2-gallery-controls {
  position: absolute;
  z-index: 2;
  bottom: .7rem;
  right: .7rem;
  display: flex;
  align-items: center;
  gap: .15rem;
  border: 1px solid #d3e6ff60;
  border-radius: .8rem;
  background: #0a2b54ee;
  color: white;
}
.sj2-site .sj2-gallery-controls button {
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: .72rem;
  padding: 0;
  width: 38px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.sj2-site .sj2-gallery-controls button:hover { background: #ffffff23; }
.sj2-site .sj2-gallery-controls span { white-space: nowrap; color: white; font-size: .8rem; font-weight: 700; }

.sj2-site .sj2-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .85rem;
}
.sj2-site .sj2-jump a {
  display: grid;
  gap: .14rem;
  padding: .63rem .72rem;
  border-radius: 12px;
  border: 1px solid var(--sj-line);
  background: #f5faff;
  color: var(--sj-deep);
  text-decoration: none;
  line-height: 1.28;
}
.sj2-site .sj2-jump a:hover { background: #e9f4ff; border-color: #9ac6ec; }
.sj2-site .sj2-jump strong { font-family: var(--sj-serif-free); font-weight: 750; font-size: .92rem; }
.sj2-site .sj2-jump span { color: var(--sj-muted); font-size: .86rem; }

.sj2-site .sj2-section { margin-block: clamp(2.65rem, 6.8cqi, 5.4rem); }
.sj2-site .sj2-heading { margin-bottom: 1.15rem; }
.sj2-site .sj2-heading p { color: var(--sj-muted); margin-top: .42rem; max-width: 64ch; }
.sj2-site .sj2-heading-line { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .8rem 1.15rem; }
.sj2-site .sj2-tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .28rem; background: #edf5ff; border: 1px solid var(--sj-line); padding: .28rem; border-radius: 14px; margin-bottom: .7rem; }
.sj2-site .sj2-tablist button {
  min-height: 56px;
  padding: .45rem .25rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--sj-deep);
  text-align: center;
  cursor: pointer;
  line-height: 1.19;
}
.sj2-site .sj2-tablist button strong { display: block; font: 750 clamp(.81rem, 2.9cqi, 1rem)/1.2 var(--sj-serif-free); }
.sj2-site .sj2-tablist button span { display: block; font-size: .78rem; margin-top: .15rem; color: var(--sj-muted); }
.sj2-site .sj2-tablist button:hover { background: #fff8; }
.sj2-site .sj2-tablist button[aria-selected="true"] { background: #fff; border-color: #a9c9ec; box-shadow: 0 2px 9px #2e689211; }
.sj2-site .sj2-program { display: flex; flex-direction: column; border: 1px solid var(--sj-line); border-radius: var(--sj-radius); overflow: hidden; background: white; }
.sj2-site .sj2-program + .sj2-program { margin-top: .7rem; }
.sj2-site .sj2-program figure { min-width: 0; aspect-ratio: 2.02; background: #e1f0ff; }
.sj2-site .sj2-program img { height: 100%; object-fit: cover; }
.sj2-site .sj2-program-copy { padding: clamp(1rem, 4.25cqi, 2rem); }
.sj2-site .sj2-kicker { color: var(--sj-blue); font: 750 .88rem/1.2 var(--sj-serif-free); }
.sj2-site .sj2-program h3 { margin-block: .18em .27em; font-size: clamp(1.45rem, 3.6cqi, 2.25rem); }
.sj2-site .sj2-program p:not(.sj2-kicker), .sj2-site .sj2-program li { color: var(--sj-muted); }
.sj2-site .sj2-program ul { display: grid; gap: .34rem; margin-top: .72rem; padding-left: 1.25rem; list-style-type: disc; }
.sj2-site .sj2-program li::marker { color: #0874c6; }

.sj2-site .sj2-life {
  padding: clamp(.95rem, 4.2cqi, 2.5rem);
  background: linear-gradient(130deg, #edf7ff, #f7fbff);
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-radius);
}
.sj2-site .sj2-life-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 1fr);
  gap: .65rem;
  overflow-x: auto;
  padding: .15rem .14rem .65rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: #79a5d1 #dceafa;
}
.sj2-site .sj2-life-grid article {
  scroll-snap-align: start;
  border-radius: .9rem;
  border: 1px solid var(--sj-line);
  overflow: hidden;
  background: #fff;
}
.sj2-site .sj2-life-grid img { aspect-ratio: 1.52; object-fit: cover; }
.sj2-site .sj2-life-grid article > div { padding: .8rem .87rem .96rem; }
.sj2-site .sj2-life-grid p { color: var(--sj-muted); margin-top: .3rem; }

.sj2-site .sj2-admission-grid { display: grid; gap: 1rem 1.45rem; }
.sj2-site .sj2-timeline { counter-reset: sj2-steps; margin: 0; padding: 0; list-style: none; }
.sj2-site .sj2-timeline > li { position: relative; counter-increment: sj2-steps; padding: .28rem 0 1.05rem 3rem; }
.sj2-site .sj2-timeline > li::before {
  content: counter(sj2-steps);
  position: absolute;
  left: 0;
  top: .25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .55rem;
  background: var(--sj-blue);
  color: #fff;
  font: 750 .95rem/1 var(--sj-serif-free);
}
.sj2-site .sj2-timeline > li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; bottom: -.8rem; left: .97rem; border-left: 2px dashed #abc8e7; }
.sj2-site .sj2-timeline p { color: var(--sj-muted); margin-top: .25rem; }
.sj2-site .sj2-checklist { padding: clamp(.95rem, 4cqi, 1.55rem); border: 1px solid #e9d5a0; border-radius: var(--sj-radius); background: #fff8e7; }
.sj2-site .sj2-checklist p { color: var(--sj-muted); margin-top: .25rem; }
.sj2-site .sj2-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; align-items: center; margin: .8rem 0 .35rem; }
.sj2-site .sj2-progress label { grid-column: span 2; color: var(--sj-deep); font-size: .85rem; font-weight: 700; }
.sj2-site .sj2-progress progress { appearance: none; width: 100%; height: .55rem; border: 0; border-radius: .45rem; background: #f0e2b9; color: var(--sj-blue); }
.sj2-site progress::-webkit-progress-bar { border-radius: .45rem; background: #f0e2b9; }
.sj2-site progress::-webkit-progress-value { border-radius: .45rem; background: var(--sj-blue); }
.sj2-site progress::-moz-progress-bar { border-radius: .45rem; background: var(--sj-blue); }
.sj2-site .sj2-progress span { color: var(--sj-deep); font-size: .83rem; font-weight: 750; }
.sj2-site .sj2-check { display: flex; flex-direction: row; align-items: flex-start; gap: .62rem; cursor: pointer; padding-block: .55rem; border-bottom: 1px solid #e8dbb6; margin: 0; }
.sj2-site .sj2-check:last-child { border-bottom: 0; padding-bottom: 0; }
.sj2-site .sj2-check input { appearance: auto; accent-color: var(--sj-blue); width: 1.12rem; height: 1.12rem; flex: 0 0 1.12rem; margin: .19rem 0 0; }
.sj2-site .sj2-check strong, .sj2-site .sj2-check small { display: block; }
.sj2-site .sj2-check small { color: var(--sj-muted); font-size: .9rem; line-height: 1.45; }

.sj2-site .sj2-faq > div:last-child { display: grid; gap: .5rem; }
.sj2-site .sj2-faq details { border: 1px solid var(--sj-line); border-radius: .7rem; padding-inline: .85rem; background: #fff; }
.sj2-site .sj2-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .6rem; cursor: pointer; min-height: 46px; padding-block: .45rem; font: 750 1rem/1.3 var(--sj-serif-free); }
.sj2-site .sj2-faq summary::-webkit-details-marker { display: none; }
.sj2-site .sj2-faq summary::after { content: "+"; color: var(--sj-blue); font-size: 1.5rem; font-weight: 400; }
.sj2-site .sj2-faq details[open] summary::after { content: "−"; }
.sj2-site .sj2-faq details p { color: var(--sj-muted); padding-bottom: .7rem; }

.sj2-site .sj2-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  padding: clamp(1.1rem, 5cqi, 2.4rem);
  border-radius: var(--sj-radius);
  background: linear-gradient(112deg, #10396f, #0860ba);
  color: #fff;
}
.sj2-site .sj2-contact h2 { font-size: clamp(1.6rem, 4cqi, 2.65rem); }
.sj2-site .sj2-contact p { color: #e9f3ff; margin-top: .35rem; }

@container sj2 (min-width: 560px) {
  .sj2-site .sj2-jump { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
  .sj2-site .sj2-life-grid { grid-auto-columns: minmax(48%, 1fr); }
}

@container sj2 (min-width: 780px) {
  .sj2-site .sj2-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 466px; }
  .sj2-site .sj2-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.75rem, 4.5cqi, 3.45rem); }
  .sj2-site .sj2-hero h2 { font-size: clamp(3.1rem, 6cqi, 5rem); }
  .sj2-site .sj2-gallery { min-height: 100%; aspect-ratio: auto; }
  .sj2-site .sj2-gallery img { object-position: 62% center; }
  .sj2-site .sj2-gallery figcaption { bottom: 1.55rem; left: 1.2rem; }
  .sj2-site .sj2-gallery-controls { bottom: 1rem; right: 1rem; }
  .sj2-site .sj2-jump { gap: .7rem; }
  .sj2-site .sj2-jump a { padding: .82rem .9rem; }
  .sj2-site .sj2-program { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
  .sj2-site .sj2-program figure { position: relative; aspect-ratio: auto; }
  .sj2-site .sj2-program img { position: absolute; inset: 0; }
  .sj2-site .sj2-life-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; }
  .sj2-site .sj2-admission-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: start; }
  .sj2-site .sj2-faq { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); align-items: start; gap: 1.6rem; }
}

@media (max-width: 420px) {
  .sj2-site .sj2-gallery-controls button { width: 34px; }
  .sj2-site .sj2-hero .sj2-actions .sj2-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .sj2-site * { transition: none !important; }
}
