:root {
  --jeel-night: #010816;
  --jeel-navy: #061633;
  --jeel-royal: #0b2a67;
  --jeel-gold: #d99a10;
  --jeel-sun: #f7c948;
  --jeel-green: #075c24;
  --jeel-red: #d90f1d;
  --jeel-sky: #12a8dc;
  --jeel-cream: #fff8ea;
  --jeel-paper: #fffdf8;
  --jeel-ink: #071229;
  --jeel-muted: #59677f;
  --jeel-border: rgba(6, 22, 51, 0.13);
  --jeel-shadow: 0 24px 70px rgba(1, 8, 22, 0.14);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  background: var(--jeel-paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--jeel-ink);
  font-family: "Noto Kufi Arabic", "Readex Pro", Tahoma, Arial, sans-serif;
  background:
    linear-gradient(120deg, rgba(18, 168, 220, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(217, 15, 29, 0.06), transparent 24%),
    radial-gradient(circle at 50% -20%, rgba(247, 201, 72, 0.22), transparent 34%),
    var(--jeel-paper);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

main,
section,
article,
aside,
header,
footer,
nav,
div {
  min-width: 0;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(217, 154, 16, 0.28);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 34px rgba(1, 8, 22, 0.08);
}

.top-ribbon {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 7px 16px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--jeel-red), var(--jeel-gold), var(--jeel-green), var(--jeel-royal));
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.brand-mark,
.smart-nav-actions,
.motion-toolbar,
.hero-actions,
.footer-bottom,
.developer-band,
.media-carousel-head,
.experience-head,
.article-meta,
.post-meta,
.center-line {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  min-width: 190px;
}

.brand-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(217, 154, 16, 0.25));
}

.brand-mark strong {
  display: block;
  color: var(--jeel-navy);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 900;
  line-height: 1.25;
}

.brand-mark small {
  display: block;
  color: var(--jeel-green);
  font-size: 10px;
  font-weight: 800;
}

.nav-center {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  color: var(--jeel-green);
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}

.header-meta span {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-meta span:not(:last-child):after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-inline-start: 10px;
  border-radius: 50%;
  background: var(--jeel-gold);
  vertical-align: middle;
}

.nav-links {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  overflow: hidden;
  white-space: nowrap;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: var(--jeel-navy);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.nav-links a:hover {
  color: var(--jeel-green);
  background: rgba(217, 154, 16, 0.08);
}

.smart-nav-actions,
.motion-toolbar {
  justify-content: flex-end;
  gap: 8px;
}

.header-actions,
.desktop-quick-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.desktop-quick-tools {
  gap: 6px;
}

.desktop-quick-tools .date-pill {
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
}

.desktop-quick-tools .primary-action.compact {
  min-height: 38px;
  padding: 8px 12px;
}

.mobile-menu-trigger {
  display: none;
}

.motion-toolbar {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 12px;
  flex-wrap: wrap;
}

.nav-action,
.icon-action,
.motion-switch,
.date-pill,
.primary-action,
.secondary-action,
.read-more,
.search-panel button,
.admission-form button,
.developer-hero a,
.developer-split a,
.developer-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 0;
  font-weight: 900;
}

.nav-action,
.primary-action {
  min-height: 46px;
  padding: 11px 16px;
  color: white;
  background: linear-gradient(135deg, var(--jeel-green), var(--jeel-navy));
  box-shadow: 0 18px 36px rgba(7, 92, 36, 0.2);
}

.icon-action,
.secondary-action,
.date-pill,
.motion-switch {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--jeel-navy);
  background: white;
  border: 1px solid rgba(217, 154, 16, 0.32);
}

.dropdown-content,
.search-popover,
.dialog-content {
  z-index: 80;
  color: var(--jeel-ink);
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(217, 154, 16, 0.28);
  border-radius: 8px;
  box-shadow: var(--jeel-shadow);
}

.dropdown-content {
  width: 290px;
  max-height: min(520px, calc(100vh - 120px));
  overflow: auto;
  padding: 8px;
}

.search-popover {
  width: min(330px, calc(100vw - 24px));
  padding: 16px;
}

.dialog-content {
  width: min(540px, calc(100vw - 28px));
  max-height: min(740px, calc(100vh - 28px));
  overflow: auto;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: rgba(1, 8, 22, 0.58);
  backdrop-filter: blur(10px);
}

.mobile-menu-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 94;
  width: min(410px, calc(100vw - 24px));
  overflow: auto;
  padding: 22px;
  color: var(--jeel-ink);
  background: linear-gradient(145deg, rgba(255, 248, 234, 0.98), rgba(230, 248, 255, 0.96)), white;
  border-left: 1px solid rgba(217, 154, 16, 0.36);
  box-shadow: -28px 0 80px rgba(1, 8, 22, 0.24);
}

.mobile-menu-head {
  position: relative;
  padding: 18px 54px 18px 16px;
  color: white;
  background: linear-gradient(135deg, rgba(6, 22, 51, 0.97), rgba(7, 92, 36, 0.9)), var(--jeel-navy);
  border: 1px solid rgba(247, 201, 72, 0.28);
  border-radius: 8px;
}

.mobile-menu-head [data-radix-dialog-title] {
  margin: 0 0 6px;
  color: var(--jeel-sun);
  font-size: 20px;
  font-weight: 900;
}

.mobile-menu-head [data-radix-dialog-description] {
  margin: 0;
  color: #e9f5ff;
  font-size: 13px;
  line-height: 1.8;
}

.mobile-menu-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.mobile-menu-links {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.mobile-menu-links a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  overflow: hidden;
  color: var(--jeel-navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 154, 16, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(1, 8, 22, 0.06);
}

.mobile-menu-links a:before {
  content: "";
  position: absolute;
  inset-block: 12px;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(var(--jeel-gold), var(--jeel-sky), var(--jeel-green));
  border-radius: 999px;
}

.mobile-menu-links strong {
  font-size: 15px;
  font-weight: 900;
}

.mobile-menu-links small {
  color: var(--jeel-muted);
  font-size: 12px;
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.mobile-menu-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  color: white;
  background: linear-gradient(135deg, var(--jeel-green), var(--jeel-navy));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  --social-color: var(--jeel-royal);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: white;
  background: linear-gradient(135deg, var(--social-color), var(--jeel-navy));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(1, 8, 22, 0.16);
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(1, 8, 22, 0.22);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.facebook {
  --social-color: #1877f2;
}

.social-link.instagram {
  --social-color: #e4405f;
}

.social-link.x,
.social-link.tiktok {
  --social-color: #111827;
}

.social-link.linkedin {
  --social-color: #0a66c2;
}

.social-link.youtube {
  --social-color: #ff0033;
}

.social-link.whatsapp {
  --social-color: #22c55e;
}

.social-link.mail {
  --social-color: var(--jeel-gold);
}

.social-links.with-labels {
  align-items: stretch;
}

.social-links.with-labels .social-link {
  width: auto;
  min-width: 172px;
  height: auto;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 13px;
  text-align: start;
}

.social-links.with-labels span,
.social-links.with-labels strong,
.social-links.with-labels small {
  display: block;
}

.social-links.with-labels strong {
  color: white;
  font-size: 13px;
  line-height: 1.4;
}

.social-links.with-labels small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  direction: ltr;
}

.mobile-social-links {
  justify-content: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(6, 22, 51, 0.1);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  width: min(1320px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: clamp(28px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(217, 154, 16, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 248, 234, 0.96), rgba(255, 255, 255, 0.84)),
    linear-gradient(145deg, rgba(217, 154, 16, 0.2), rgba(18, 168, 220, 0.15), rgba(7, 92, 36, 0.12));
  box-shadow: var(--jeel-shadow);
}

.hero-stage:after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -1;
  height: 124px;
  background: linear-gradient(90deg, var(--jeel-royal), var(--jeel-sky), var(--jeel-green), var(--jeel-gold));
  clip-path: polygon(0 38%, 12% 55%, 25% 42%, 39% 62%, 52% 44%, 67% 60%, 82% 40%, 100% 55%, 100% 100%, 0 100%);
  opacity: 0.2;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 22px 0 16px;
  color: var(--jeel-navy);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--jeel-green);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.8;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.hero-proof-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-proof-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--jeel-navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(217, 154, 16, 0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.crest-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.crest-orbit > img {
  position: relative;
  z-index: 2;
  width: min(420px, 88vw);
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(1, 8, 22, 0.24));
}

.hero-kinetic-panel,
.live-status-dock,
.hero-banner-strip,
.hero-metric,
.about-band,
.school-info-band,
.featured-article,
.experience-lab,
.media-carousel-section,
.gateway-grid a,
.program-preview-grid article,
.post-card,
.feed-column,
.branch-card,
.dense-page-grid article,
.archive-card,
.principles-grid article,
.program-deep-grid article,
.branch-directory article,
.facilities-grid-page article,
.student-affairs-grid article,
.developer-services article,
.documentation-panel,
.admission-note,
.student-highlights,
.policy-shell,
.article-shell {
  border: 1px solid var(--jeel-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(1, 8, 22, 0.08);
}

.hero-kinetic-panel {
  position: absolute;
  z-index: 4;
  inset-inline-start: 2%;
  bottom: 36px;
  width: min(330px, 80%);
  padding: 15px 18px;
  color: white;
  background: linear-gradient(135deg, var(--jeel-navy), #06224e 58%, var(--jeel-green));
  border-color: rgba(247, 201, 72, 0.54);
}

.crest-label {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 12px 14px;
  color: var(--jeel-navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 154, 16, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(1, 8, 22, 0.13);
}

.crest-label strong {
  color: var(--jeel-green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.crest-label span {
  color: var(--jeel-muted);
  font-size: 11px;
  font-weight: 900;
}

.crest-label-top {
  inset-block-start: 24px;
  inset-inline-end: 10px;
}

.crest-label-side {
  inset-block-start: 44%;
  inset-inline-start: 0;
}

.hero-banner-strip {
  width: min(920px, 100%);
  margin: 26px auto 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.audience-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 420px));
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
}

.audience-badges article {
  display: grid;
  grid-template-columns: 98px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 124px;
  padding: 12px;
  color: white;
  background: linear-gradient(135deg, rgba(6, 22, 51, 0.94), rgba(7, 92, 36, 0.86));
  border: 1px solid rgba(247, 201, 72, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(1, 8, 22, 0.18);
}

.audience-badges article:nth-child(2) {
  background: linear-gradient(135deg, rgba(6, 22, 51, 0.96), rgba(11, 42, 103, 0.9));
}

.audience-badges img {
  width: 98px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(1, 8, 22, 0.18);
}

.audience-badges strong {
  display: block;
  color: var(--jeel-sun);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.audience-badges span {
  display: block;
  color: #dce9ff;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.8;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-metric {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.hero-metric strong {
  color: var(--jeel-navy);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
}

.hero-metric span,
.section-heading p,
.school-info-band p,
.featured-copy p,
.post-card p,
.feed-column p,
.branch-card p,
.archive-card p,
.policy-shell p,
.article-shell p {
  color: var(--jeel-muted);
  line-height: 2;
}

.content-section,
.about-band,
.school-info-band,
.featured-article,
.magazine-section,
.experience-lab,
.media-carousel-section {
  width: min(1240px, calc(100% - 28px));
  margin: clamp(42px, 7vw, 96px) auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading > span {
  color: var(--jeel-green);
  font-weight: 900;
}

.section-heading h2 {
  margin: 8px 0 10px;
  color: var(--jeel-navy);
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.32;
}

.about-band,
.school-info-band,
.featured-article,
.experience-lab,
.media-carousel-section,
.magazine-section {
  padding: clamp(24px, 4vw, 42px);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 30px;
  color: white;
  background: linear-gradient(135deg, rgba(6, 22, 51, 0.96), rgba(7, 92, 36, 0.9));
}

.about-band h2,
.school-info-band h2,
.featured-copy h2,
.developer-hero h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.35;
}

.value-grid,
.gateway-grid,
.program-preview-grid,
.blog-grid,
.feed-columns,
.branch-grid,
.dense-page-grid,
.archive-grid,
.principles-grid,
.program-deep-grid,
.branch-directory,
.facilities-grid-page,
.student-affairs-grid,
.developer-services > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gateway-grid a,
.program-preview-grid article,
.post-card,
.feed-column,
.branch-card,
.dense-page-grid article,
.archive-card,
.principles-grid article,
.program-deep-grid article,
.branch-directory article,
.facilities-grid-page article,
.student-affairs-grid article,
.developer-services article,
.documentation-panel,
.admission-note,
.student-highlights,
.policy-shell,
.article-shell {
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.gateway-grid strong,
.post-card h3,
.feed-column h3,
.branch-card h3,
.program-preview-grid h3,
.archive-card h2,
.dense-page-grid h2,
.developer-services h3 {
  color: var(--jeel-navy);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
}

.featured-article,
.school-info-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 248, 234, 0.92), rgba(255, 255, 255, 0.86));
}

.featured-visual,
.story-layout {
  position: relative;
  display: grid;
  place-items: center;
}

.magazine-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  color: white;
  background: linear-gradient(135deg, var(--jeel-navy), #08234d);
}

.popular-panel,
.category-panel {
  padding: 24px;
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-list a {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.subpage-main,
.article-main {
  width: min(1180px, calc(100% - 28px));
  margin: 44px auto 90px;
}

.rich-page-hero,
.result-column,
.category-directory article,
.contact-shell article,
.branch-contact-card article,
.not-found-panel,
.loading-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--jeel-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(1, 8, 22, 0.07);
}

.rich-page-hero {
  margin-bottom: 28px;
  padding: clamp(24px, 5vw, 52px);
  background: linear-gradient(135deg, rgba(255, 248, 234, 0.94), rgba(230, 248, 255, 0.82)), white;
}

.mini-stat-grid,
.search-results-suite,
.category-directory,
.contact-shell,
.branch-contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat-grid div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--jeel-border);
  border-radius: 8px;
}

.mini-stat-grid strong {
  color: var(--jeel-green);
  font-size: 30px;
  font-weight: 900;
}

.mini-stat-grid span,
.result-column small,
.category-directory p,
.contact-shell p,
.branch-contact-card span,
.not-found-panel p,
.loading-panel p {
  color: var(--jeel-muted);
  line-height: 1.9;
}

.section-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 24px;
  margin: 28px 0;
  padding: clamp(24px, 4vw, 42px);
  color: white;
  background: linear-gradient(135deg, rgba(6, 22, 51, 0.96), rgba(7, 92, 36, 0.9));
  border-radius: 8px;
}

.section-feature-panel h2 {
  color: white;
  font-size: clamp(28px, 4vw, 48px);
}

.section-feature-panel p {
  color: #e9f5ff;
  line-height: 2;
}

.section-feature-panel li {
  padding: 12px 14px;
  color: var(--jeel-navy);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.8;
}

.section-timeline {
  display: grid;
  gap: 14px;
  margin: 32px 0;
}

.section-timeline article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--jeel-border);
  border-radius: 8px;
}

.section-timeline article > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--jeel-navy);
  background: linear-gradient(135deg, var(--jeel-sun), var(--jeel-gold));
  border-radius: 8px;
  font-weight: 900;
}

.section-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.section-related a,
.result-column > a,
.category-directory article > a,
.contact-shell a,
.branch-contact-card a {
  display: grid;
  gap: 6px;
  padding: 13px;
  color: var(--jeel-navy);
  background: rgba(18, 168, 220, 0.08);
  border: 1px solid rgba(18, 168, 220, 0.2);
  border-radius: 8px;
  font-weight: 900;
}

.not-found-page,
.loading-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
}

.not-found-panel,
.loading-panel {
  text-align: center;
  width: 100%;
  padding: clamp(28px, 6vw, 64px);
}

.policy-shell ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.policy-shell li {
  padding: 12px 16px;
  color: var(--jeel-navy);
  background: rgba(247, 201, 72, 0.12);
  border: 1px solid rgba(217, 154, 16, 0.2);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.9;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.policy-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 13px;
  color: var(--jeel-navy);
  background: white;
  border: 1px solid var(--jeel-border);
  border-radius: 8px;
  font-weight: 900;
}

.footer-shell {
  margin-top: 80px;
  padding: 44px max(18px, calc((100vw - 1240px) / 2)) 22px;
  color: white;
  background: linear-gradient(135deg, rgba(1, 8, 22, 0.98), rgba(6, 22, 51, 0.96));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(160px, 0.55fr));
  gap: 28px;
}

.footer-grid img {
  width: min(420px, 100%);
  height: auto;
  padding: 10px;
  background: white;
  border-radius: 8px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #dce9ff;
}

.footer-social-links,
.developer-social-links {
  margin-top: 18px;
}

.developer-social-links {
  margin-bottom: 18px;
}

.developer-social-links.social-links.with-labels .social-link {
  min-width: min(210px, 100%);
}

.footer-grid .social-link {
  display: inline-flex;
  margin: 0;
  color: white;
}

.footer-grid h3,
.developer-band strong {
  color: var(--jeel-sun);
}

.developer-band {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(18, 168, 220, 0.09)), rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 201, 72, 0.24);
  border-radius: 8px;
}

.developer-band > div,
.developer-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.developer-identity img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 5px;
  background: white;
  border: 1px solid rgba(217, 154, 16, 0.32);
  border-radius: 8px;
}

.developer-logo-stage {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(247, 201, 72, 0.36);
  border-radius: 8px;
}

.developer-logo-stage img {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-bottom {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
  .nav-shell {
    min-height: 62px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: stretch;
    padding: 6px 0;
  }

  .nav-center,
  .desktop-quick-tools {
    display: none;
  }

  .smart-nav-actions {
    justify-content: flex-end;
  }

  .hero-content,
  .about-band,
  .school-info-band,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .gateway-grid,
  .program-preview-grid,
  .blog-grid,
  .feed-columns,
  .branch-grid,
  .dense-page-grid,
  .archive-grid,
  .principles-grid,
  .program-deep-grid,
  .branch-directory,
  .facilities-grid-page,
  .student-affairs-grid,
  .developer-services > div,
  .footer-grid,
  .hero-metrics-grid,
  .audience-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-ribbon {
    display: none;
  }

  .nav-shell,
  .motion-toolbar,
  .hero-stage,
  .content-section,
  .about-band,
  .school-info-band,
  .featured-article,
  .magazine-section,
  .experience-lab,
  .media-carousel-section,
  .subpage-main,
  .article-main {
    width: calc(100% - 18px);
  }

  .nav-shell {
    min-height: 56px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: stretch;
    gap: 8px;
    padding: 5px 0;
  }

  .brand-mark {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .brand-mark strong {
    font-size: 14px;
  }

  .brand-mark small,
  .nav-links {
    display: none;
  }

  .desktop-explore-trigger {
    display: none;
  }

  .mobile-menu-trigger {
    display: inline-flex;
  }

  .smart-nav-actions {
    justify-content: flex-end;
    gap: 5px;
  }

  .header-actions {
    gap: 5px;
  }

  .smart-nav-actions .nav-action span,
  .smart-nav-actions .nav-action svg:last-child {
    display: none;
  }

  .nav-action,
  .icon-action {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .dropdown-content,
  .search-popover,
  .dialog-content {
    width: calc(100vw - 20px);
  }

  .mobile-menu-content {
    width: min(390px, calc(100vw - 14px));
    padding: 16px;
  }

  .mobile-menu-links {
    gap: 8px;
  }

  .mobile-social-links .social-link {
    width: 40px;
    height: 40px;
  }

  .motion-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 8px;
  }

  .motion-toolbar .primary-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .date-pill,
  .motion-switch {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    font-size: 11px;
    padding: 7px 9px;
  }

  .hero-stage {
    padding: 22px 14px;
    margin-top: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(31px, 11.5vw, 48px);
    line-height: 1.28;
    margin-top: 14px;
  }

  .hero-copy p {
    font-size: 17px;
    line-height: 1.8;
  }

  .hero-proof-grid span {
    flex: 1 1 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
  }

  .crest-orbit {
    min-height: auto;
    margin-top: 14px;
  }

  .crest-orbit > img {
    width: min(270px, 76vw);
  }

  .hero-kinetic-panel {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .hero-metrics-grid,
  .audience-badges,
  .mini-stat-grid,
  .section-related > div,
  .search-results-suite,
  .category-directory,
  .contact-shell,
  .branch-contact-card,
  .gateway-grid,
  .program-preview-grid,
  .blog-grid,
  .feed-columns,
  .branch-grid,
  .dense-page-grid,
  .archive-grid,
  .principles-grid,
  .program-deep-grid,
  .branch-directory,
  .facilities-grid-page,
  .student-affairs-grid,
  .developer-services > div,
  .footer-grid,
  .magazine-section,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .about-band,
  .school-info-band,
  .featured-article,
  .experience-lab,
  .media-carousel-section,
  .magazine-section,
  .rich-page-hero,
  .article-shell,
  .policy-shell,
  .documentation-panel,
  .admission-note,
  .student-highlights,
  .developer-hero,
  .developer-split article,
  .developer-tags {
    padding: 18px;
  }

  .audience-badges article {
    grid-template-columns: 72px 1fr;
    min-height: 104px;
    padding: 10px;
  }

  .audience-badges img {
    width: 72px;
  }

  .hero-metric {
    min-height: 94px;
  }

  .hero-metric strong {
    font-size: 30px;
  }

  .experience-head,
  .media-carousel-head,
  .footer-bottom,
  .developer-band {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .experience-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .experience-tabs button {
    flex: 0 0 auto;
    min-width: 108px;
  }

  .experience-card,
  .developer-hero,
  .developer-split,
  .documentation-panel.split,
  .section-feature-panel {
    grid-template-columns: 1fr;
  }

  .media-slide {
    flex-basis: min(292px, 86vw);
    min-height: 210px;
    padding: 18px;
  }

  .developer-logo-stage {
    min-height: 240px;
  }

  .developer-logo-stage img {
    width: min(230px, 78vw);
  }

  .developer-hero a,
  .developer-split a {
    width: 100%;
  }

  .developer-identity img {
    width: 54px;
    height: 54px;
  }

  .section-timeline article,
  .search-panel.prominent {
    grid-template-columns: 1fr;
  }

  .filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-row a {
    flex: 0 0 auto;
  }

  .footer-shell {
    margin-top: 48px;
    padding-inline: 14px;
  }
}

@media (max-width: 420px) {
  .brand-mark strong {
    font-size: 13px;
  }

  .hero-stage,
  .about-band,
  .school-info-band,
  .featured-article,
  .content-section,
  .experience-lab,
  .media-carousel-section,
  .magazine-section,
  .subpage-main,
  .article-main {
    width: calc(100% - 12px);
  }

  .hero-stage {
    padding: 18px 10px;
  }

  .nav-shell,
  .motion-toolbar {
    width: calc(100% - 12px);
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .primary-action,
  .secondary-action,
  .read-more {
    min-height: 44px;
    padding-inline: 12px;
  }
}
