:root {
  --navy: #172b6e;
  --blue: #2a4a9c;
  --cyan: #1fb5d8;
  --gold: #dcc96f;
  --bg: #f6f8fc;
  --ink: #151f3d;
  --muted: #6b7590;
  --line: #e3e8f2;
  --tint: #e6f6fb;
  --card-shadow: 0 1px 2px rgba(21, 31, 61, 0.04), 0 6px 18px rgba(21, 31, 61, 0.06);
  --card-shadow-hover: 0 3px 8px rgba(21, 31, 61, 0.07), 0 14px 30px rgba(21, 31, 61, 0.12);
  --font: "Inter", "Noto Sans Bengali", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  font: 400 0.95rem/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}
h3 {
  font-size: 1rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.muted {
  color: var(--muted);
}
.sr {
  position: absolute;
  left: -9999px;
}
.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  flex: none;
}

/* top strip + nav */
.strip {
  background: var(--navy);
  color: #dfe6fa;
  font-size: 0.75rem;
}
.strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.strip .ses {
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 0.4rem;
  margin-left: 1rem;
}
#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.logo b {
  display: block;
  font-size: 0.95rem;
  line-height: 1.1;
}
.logo small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.03em;
}
.nav {
  display: flex;
  gap: 0.25rem;
  background: #eef1f8;
  border-radius: 10px;
  padding: 0.3rem;
}
.nav a {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.88rem;
}
.nav a:hover {
  background: #e2e8f5;
}
.nav a[aria-current] {
  background: #fff;
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.toggle {
  display: none;
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font: 600 0.88rem var(--font);
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn.cyan {
  background: var(--cyan);
  border-color: var(--cyan);
}
.btn.white {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.btn.ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn.line {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.block {
  width: 100%;
}

/* heroes */
.hero {
  position: relative;
  background: linear-gradient(
      115deg,
      rgba(23, 43, 110, 0.96),
      rgba(42, 74, 156, 0.85)
    ),
    var(--navy);
  color: #fff;
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}
.hero::before,
.phead::before {
  content: "π  ∑  Δ  θ  λ  φ";
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 44px;
  background: var(--bg);
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}
.hero-in {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.hero-copy {
  flex: 1 1 58%;
  min-width: 0;
}
.hero-art {
  flex: 0 1 38%;
  width: 38%;
  max-width: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: #eaf4ff;
  box-shadow: 0 24px 55px rgba(7, 18, 55, 0.24);
}
.hero-art img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}
.hero h1 {
  max-width: 12em;
  color: #fff;
}
.sub {
  max-width: 31rem;
  font-size: 1.05rem;
  color: #dbe4fb;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
}
.stats dt {
  font-size: 1.5rem;
  font-weight: 700;
}
.stats dd {
  margin: 0;
  font-size: 0.8rem;
  color: #c5d1f2;
}
.ficon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 10px;
  background: var(--tint);
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 700;
}
.phead {
  position: relative;
  background: linear-gradient(115deg, var(--navy), #1f3a86);
  color: #fff;
  padding: 2.5rem 0 2.75rem;
  overflow: hidden;
}
.phead .wrap {
  position: relative;
}
.phead h1 {
  color: #fff;
  margin-bottom: 0.3rem;
}
.phead p {
  color: #dbe4fb;
  margin-bottom: 0.8rem;
}
.crumb {
  font-size: 0.78rem;
  color: var(--cyan) !important;
}
.rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* sections */
.sec {
  padding: 4rem 0;
}
.sec.white {
  background: #fff;
}
.sec.navy {
  background: var(--navy);
  color: #fff;
}
.sec.navy h2 {
  color: #fff;
}
.shead {
  text-align: center;
  margin-bottom: 2rem;
}
.shead p:last-child {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto;
}
.navy .shead p:last-child {
  color: #b9c6ea;
}
.kick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem !important;
}
.kick::before,
.kick::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.kick.left {
  justify-content: flex-start;
}
.kick.left::before {
  display: none;
}
.more {
  text-align: center;
  margin: 2rem 0 0;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover,
.n:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.card .body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.catalog-card {
  height: 420px;
}
.catalog-card > .catalog-image {
  width: 100%;
  height: 60%;
  min-height: 0;
  flex: 0 0 60%;
  aspect-ratio: auto;
  overflow: hidden;
}
.catalog-card > .catalog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-card > .catalog-details {
  height: 40%;
  min-height: 0;
  flex: 0 0 40%;
  overflow: hidden;
  padding: 0.55rem 0.9rem;
}
.catalog-details > h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0.15rem 0 0.2rem;
}
.catalog-details > p:not(.row):not(.date) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0.15rem 0;
}
.program-card-details > .row {
  margin: 0;
}
.program-card-details > .link,
.resource-card-details > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.resource-card-details > .tags {
  flex-wrap: nowrap;
  max-height: 1.5rem;
  overflow: hidden;
}
.resource-card-details > .tags .tag {
  flex-shrink: 0;
  white-space: nowrap;
}
.catalog-card.resource-card {
  height: 390px;
  border-radius: 16px;
  transition: none;
}
.catalog-card.resource-card:hover {
  transform: none;
  box-shadow: var(--card-shadow);
}
.resource-card > .catalog-image {
  height: 55%;
  flex-basis: 55%;
}
.resource-card > .catalog-details {
  height: 45%;
  flex-basis: 45%;
  gap: 0.35rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.resource-card-details > .resource-subject {
  overflow: hidden;
  margin: 0;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.resource-card .resource-card-details > h3 {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 1.02rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-card-extra {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 0;
  margin-top: 0.2rem;
}
.resource-card-extra > .tags {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.4rem;
  max-height: none;
}
.resource-card-extra > .tags .tag {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.resource-card-extra > .tags .resource-class-years {
  margin-right: auto;
}
.resource-card-extra > .tags .resource-publication-year {
  margin-left: auto;
}
.resource-card-extra > .btn {
  align-self: stretch;
  min-height: 42px;
  margin-top: auto;
  padding: 0.55rem 0.8rem;
}
.class-card-details {
  padding: 0.45rem 0.8rem;
}
.catalog-card .class-card-details > h3 {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0.1rem 0;
}
.class-card-details > .class-card-description {
  min-height: 0;
  overflow: hidden;
}
.class-card-description > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.1rem 0;
}
.class-card-details > .date {
  margin: 0.1rem 0;
}
.class-card-details .btnrow.one {
  padding-top: 0.25rem;
}
.card p {
  color: var(--muted);
  font-size: 0.86rem;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.tag {
  display: inline-block;
  background: var(--tint);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  border-radius: 6px;
}
.tag.plain {
  background: #eef1f8;
  color: var(--ink);
}
.tag.sm {
  font-size: 0.7rem;
  background: #eef1f8;
  color: var(--ink);
  font-weight: 500;
}
.tag.ex {
  background: var(--tint);
  color: var(--blue);
}
.link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.link.cy {
  color: var(--cyan);
}
.thumb {
  position: relative;
  aspect-ratio: 16/8;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  border-radius: 6px;
}
.home-notice-card {
  min-height: 190px;
}
.notice-overview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.notice-overview-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}
.notice-c h3 {
  margin: 1.15rem 0 0.6rem;
}
.notice-overview-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: auto 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.notice-overview-note .i {
  margin-top: 0.15rem;
  color: var(--blue);
}
.yc {
  min-height: 330px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.yc::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -42px;
  top: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 181, 216, 0.13), rgba(31, 181, 216, 0));
}
.yc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.yc .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: #fff;
  border-radius: 13px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(42, 74, 156, 0.2);
}
.yc-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.yc > h3 {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
}
.yc-subject-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}
.yc-subjects {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.45rem;
  min-height: 3.9rem;
}
.yc-subject {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.65rem;
  border: 1px solid #dfe7f6;
  border-radius: 999px;
  background: #f6f8fc;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.35;
}
.yc-more {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}
.yc-count {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: auto 0 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.yc-count strong {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}
.yc-count span {
  color: var(--muted);
  font-size: 0.76rem;
}
.yc .btn {
  justify-content: space-between;
  margin-top: 0;
}
.leadership-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 2rem;
}
.leadership-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.leadership-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.leadership-card-reverse {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
.leadership-card-reverse .leadership-portrait {
  grid-column: 2;
  grid-row: 1;
}
.leadership-card-reverse .leadership-message {
  grid-column: 1;
  grid-row: 1;
}
.leadership-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 0;
  padding: 0;
  background: linear-gradient(145deg, #203c8d, #14245e);
  color: #fff;
}
.leadership-portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leadership-portrait-president {
  background: linear-gradient(145deg, #1c777c, #174a68);
}
.leadership-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.leadership-role {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.leadership-message h3 {
  margin: 0.55rem 0 0.2rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}
.leadership-affiliation {
  color: var(--muted);
  font-size: 0.88rem;
}
.leadership-guidance {
  position: relative;
  margin-top: 0.8rem;
  padding: 1.7rem 1.1rem 1rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: #f5f8fd;
}
.leadership-guidance::before {
  content: "“";
  position: absolute;
  top: 0.35rem;
  left: 1rem;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}
.leadership-guidance > span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.leadership-guidance p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.qy {
  padding: 1.1rem;
}
.qy h3 {
  margin: 0 0 0.8rem;
  color: var(--navy);
}
.qy-count {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.8rem 0 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.qy-count strong {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}
.qy-count span {
  color: var(--muted);
  font-size: 0.76rem;
}
.qy .btn {
  margin-top: auto;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.mini div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.mini b {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
.mini span {
  display: block;
}
.mini article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  color: var(--muted);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mini article:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 181, 216, 0.45);
  box-shadow: 0 12px 24px rgba(20, 36, 94, 0.08);
}
.mini article > .i {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cyan);
}
.mini article b {
  margin: 0.6rem 0 0.25rem;
}
.mini article > span {
  min-height: 2.6em;
  font-size: 0.72rem;
  line-height: 1.4;
}
.mini .community-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}
.mini .community-link span {
  transition: transform 0.2s ease;
}
.mini .community-link:hover span {
  transform: translateX(3px);
}
.community-art {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  border: 1px solid rgba(31, 181, 216, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(54, 101, 184, 0.56), transparent 48%),
    radial-gradient(ellipse at 82% 14%, rgba(31, 181, 216, 0.22), transparent 42%),
    linear-gradient(145deg, #101e50, #172e6c 56%, #10204f);
  box-shadow: 0 24px 55px rgba(20, 36, 94, 0.18);
}
.community-art::before,
.community-art::after {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #72d8e8;
  box-shadow: 0 0 0 8px rgba(31, 181, 216, 0.12), 0 0 28px rgba(31, 181, 216, 0.7);
  content: "";
}
.community-art::before {
  top: 20%;
  left: 17%;
}
.community-art::after {
  right: 16%;
  bottom: 20%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(220, 201, 111, 0.12), 0 0 26px rgba(220, 201, 111, 0.65);
}
.community-art-orbit {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.community-art-orbit-one {
  transform: rotate(-28deg) scaleY(0.55);
}
.community-art-orbit-two {
  transform: rotate(34deg) scaleY(0.55);
  border-color: rgba(220, 201, 111, 0.14);
}
.community-math-visual {
  z-index: 1;
  width: min(72%, 300px);
  border-color: rgba(255, 255, 255, 0.3);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.015) 68%);
  box-shadow: 0 0 70px rgba(31, 181, 216, 0.1);
}
.community-art-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 25, 67, 0.8);
  box-shadow: 0 10px 28px rgba(6, 14, 42, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}
.community-art-note > span {
  color: var(--gold);
  font-size: 0.64rem;
}
.community-art-note-top {
  top: 18%;
  right: 8%;
}
.community-art-note-bottom {
  bottom: 16%;
  left: 7%;
}
.photo {
  position: relative;
}
.photo img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.badge10 {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  margin: 0;
  background: var(--navy);
  color: #fff !important;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.78rem;
  max-width: 12rem;
}
.badge10 b {
  font-size: 1.6rem;
  color: var(--gold);
}

/* programs */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 43, 110, 0.08);
  margin-bottom: 1.5rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.featured[hidden] {
  display: none;
}
.featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.featured .body {
  min-height: 0;
  padding: 2rem;
  align-self: center;
  overflow-y: auto;
}
.featured h2 {
  font-size: 1.7rem;
}
.featured .meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}
.tag.feat {
  background: #f8f0cf;
  color: #7a5f00;
  border: 1px solid #eadb95;
}
.btns,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips {
  margin-bottom: 1.5rem;
}
.chips button,
.btns button {
  font: 500 0.84rem var(--font);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.chips button[aria-pressed="true"],
.btns button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btns button.ex[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
}

/* panels, filters */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
body[data-page="notes"] #resource-tabs + .qrow {
  margin-top: 1rem;
}
.flabel {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
select,
input[type="search"],
input[type="email"] {
  width: 100%;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.8rem;
  background: #fff;
  flex: 1;
}
.searchbox input {
  border: 0;
  padding: 0.65rem 0;
  outline: 0;
}
.searchbox:focus-within {
  outline: 3px solid var(--cyan);
}
.searchbox.big {
  margin-bottom: 1rem;
}
.nbar {
  display: grid;
  grid-template-columns: 1fr 190px 170px auto;
  gap: 0.75rem;
}
.nlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}
.n {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.dbox {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
  font-size: 1.3rem;
  font-weight: 700;
}
.dbox small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.n .tag {
  display: block;
  margin-bottom: 0.4rem;
  width: 100%;
}
.n h3 {
  margin-bottom: 0.2rem;
}
.n p {
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}
.n .row {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.n > button {
  grid-column: 2;
  justify-self: end;
}
.pdf {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  background: var(--tint);
  color: var(--blue);
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.seg button {
  font: 600 0.88rem var(--font);
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: #f4f6fb;
  border-radius: 8px;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.side {
  margin: 0;
}
.side #subject{
    margin-bottom: 1rem;
}

.cur {
  background: var(--tint);
  color: var(--blue);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.side label.flabel {
  margin-top: 0.5rem;
}
.slist {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.slist button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
.slist button[aria-pressed="true"] {
  background: #eef1f8;
  font-weight: 600;
}
.slist span {
  color: var(--muted);
  font-size: 0.75rem;
}
.plan {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 1rem;
}
.plan p {
  color: #c5d1f2;
  font-size: 0.78rem;
  margin: 0.2rem 0 0.35rem;
}
.plan-years {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.8rem;
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  color: #c5d1f2;
  font-size: 0.78rem;
}
.plan .btn {
  width: 100%;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.toolbar p {
  margin: 0;
}
.toolbar select {
  width: auto;
}
.vthumb {
  position: relative;
  aspect-ratio: 16/8;
  background: radial-gradient(circle at 30% 30%, #2d5a52, #173b3a 70%);
  color: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  letter-spacing: 0.3em;
  overflow: hidden;
}
.vthumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  letter-spacing: 0;
}
.dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 5px;
  letter-spacing: 0;
}
.card .btnrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.6rem;
}
.card h3 {
  margin: 0.6rem 0 0.3rem;
}
.card .tag {
  align-self: stretch;
  text-align: left;
}
.card .date {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.qrow {
  margin-bottom: 1rem;
}
.qrow.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 0;
}
.sum {
  margin: 0 0 1rem;
}
.qc {
  padding: 1.1rem;
}
.qc > h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.qi {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--tint);
  color: var(--blue);
  border-radius: 8px;
}
.code {
  background: #f8f0cf;
  border: 1px solid #eadb95;
  color: #5b4700;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
}
.qc .qcard-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.qc .qcard-meta-main {
  justify-content: space-between;
}
.qc .qcard-meta-type {
  justify-content: space-between;
}
.qc .qcard-meta .tag {
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qc .btnrow {
  margin-top: auto;
  grid-template-columns: 1fr;
}
.qc .btnrow .btn {
  width: 100%;
}
.question-tips {
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #bfe6f1;
  border-radius: 14px;
  background: linear-gradient(135deg, #eefaff 0%, #f8fbff 100%);
}
.question-tips h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.1rem;
}
.question-tips ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding-left: 1.25rem;
}
.question-tips li {
  padding-left: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.question-tips li::marker {
  color: var(--blue);
  font-weight: 700;
}
.question-tips strong {
  color: var(--ink);
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
}
.pager button {
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font: 500 0.85rem var(--font);
  cursor: pointer;
}
.pager .on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pager button:disabled {
  opacity: 0.4;
  cursor: default;
}
.pager span {
  align-self: center;
  color: var(--muted);
}

/* footer */
#site-footer {
  background: var(--navy);
  color: #dfe6fa;
  padding: 3.5rem 0 0;
  margin-top: 0;
}
.fcols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
#site-footer h3 {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#site-footer li {
  margin-bottom: 0.6rem;
}
#site-footer a:hover {
  text-decoration: underline;
}
#site-footer small {
  display: block;
  color: #9fb0dc;
  font-size: 0.8rem;
  line-height: 1.6;
}
#site-footer .em {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}
.social {
  display: flex;
  gap: 0.6rem;
  margin: 0.8rem 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.8rem;
}
.loc {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
}
.developer-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}
.developer-credit-copy p {
  margin: 0;
}
.developer-credit-label {
  margin-bottom: 0.3rem !important;
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.developer-credit-name {
  color: #f4f6ff;
  font-size: 0.88rem;
}
.developer-credit-name strong {
  font-weight: 600;
}
.developer-credit-role {
  margin-top: 0.2rem !important;
  color: #9fb0dc;
  font-size: 0.74rem;
}
.developer-credit-email {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #dfe6fa;
  font-size: 0.76rem;
  transition: background 180ms ease, border-color 180ms ease;
}
.developer-credit-email:hover {
  border-color: rgba(31, 181, 216, 0.5);
  background: rgba(31, 181, 216, 0.1);
  text-decoration: none !important;
}
.developer-credit-email svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}
.fbot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: #b9c6ea;
}
.fbot span:first-child {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.fbot img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.fbot nav {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about,
  .featured,
  .layout {
    grid-template-columns: 1fr;
  }
  .featured {
    grid-template-rows: 260px minmax(0, 1fr);
    min-height: 560px;
    height: auto;
  }
  .featured .body {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    overflow: visible;
  }
  .featured .body > .muted {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
  .featured .actions {
    flex-shrink: 0;
    margin-top: auto !important;
    padding-top: 0.5rem;
    margin-bottom: 0;
  }
  .leadership-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leadership-card-reverse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leadership-portrait > img {
    object-position: center top;
  }
  .hero-in {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-art {
    flex: 0 1 auto;
    width: min(100%, 380px);
    max-width: 380px;
    align-self: center;
  }
  .hero-art img {
    max-height: 420px;
  }
  .toggle {
    display: block;
  }
  .bar {
    position: relative;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    border-radius: 0 0 12px 12px;
    padding: 0.6rem;
  }
  .nav.open {
    display: flex;
  }
  .bar > .btn.cyan {
    display: none;
  }
  .nbar {
    grid-template-columns: 1fr 1fr;
  }
  .nbar .searchbox {
    grid-column: 1/-1;
  }
  .developer-credit {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 1rem;
  }
  .developer-credit-email {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .grid2,
  .grid3,
  .grid4,
  .fcols,
  .mini,
  .qrow.two {
    grid-template-columns: 1fr;
  }
  .community-art {
    min-height: 320px;
    border-radius: 18px;
  }
  .community-art-note-top {
    top: 12%;
    right: 5%;
  }
  .community-art-note-bottom {
    bottom: 10%;
    left: 5%;
  }
  .leadership-card {
    grid-template-columns: 1fr;
  }
  .featured {
    grid-template-rows: 210px minmax(0, 1fr);
    min-height: 0;
  }
  .featured .body {
    padding: 1.25rem;
  }
  .leadership-card-reverse .leadership-portrait,
  .leadership-card-reverse .leadership-message {
    grid-column: 1;
    grid-row: auto;
  }
  .leadership-portrait {
    aspect-ratio: 1;
    height: auto;
    align-self: start;
    min-height: 0;
  }
  .leadership-message {
    padding: 1.4rem;
  }
  .strip .wrap > span:last-child {
    display: none;
  }
  .n {
    grid-template-columns: 56px minmax(0, 1fr);
    min-width: 0;
    padding: 1rem;
  }
  .n .row {
    flex-wrap: wrap;
  }
  .n > :last-child {
    grid-column: 1/-1;
    justify-self: start;
  }
  .seg {
    grid-template-columns: 1fr 1fr;
  }
  .question-tips ol {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .stats {
    gap: 1.2rem;
  }
  .hero {
    padding: 3rem 0 5rem;
  }
  .hero-art {
    width: min(100%, 320px);
    border-radius: 20px;
  }
  .hero-art img {
    max-height: 360px;
  }
  .hero::before,
  .phead::before {
    font-size: 4rem;
  }
  .badge10 {
    left: 0.5rem;
  }
}
@media (max-width: 360px) {
  .nbar {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .featured,
  .n,
  .leadership-card {
    transition: none;
  }
  .card:hover,
  .featured:hover,
  .n:hover,
  .leadership-card:hover {
    transform: none;
  }
  .history-impact-card {
    transition: none;
  }
  .history-impact-card:hover {
    transform: none;
  }
}
.nav .join-m {
  display: none;
}
@media (max-width: 960px) {
  .nav .join-m {
    display: block;
    background: var(--cyan);
    color: #fff;
    text-align: center;
    font-weight: 600;
  }
}

/* ---- buttons that look like links, hidden attribute ---- */
[hidden] {
  display: none !important;
}
button.link {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* ---- modal (notice / question viewer) ---- */
body.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 60, 0.6);
}
.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 2rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  outline: 0;
  overflow: hidden;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.35rem;
  margin: 0.4rem 0 0.2rem;
  color: var(--navy);
}
.modal-head p {
  margin: 0;
}
.modal-x {
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal-body {
  padding: 1.2rem 1.4rem;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}
.modal-foot {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0.9rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.m-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.m-desc {
  white-space: pre-line;
  margin-bottom: 1.2rem;
  overflow-wrap: anywhere;
}
.m-figure {
  margin: 0 0 1.2rem;
}
.m-figure img {
  max-width: 100%;
  max-height: 60vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.m-pdf {
  height: min(65vh, 640px);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2f8;
}
.m-pdf object {
  width: 100%;
  height: 100%;
  display: block;
}
.m-pdf p {
  padding: 1.2rem;
  margin: 0;
}
.m-hint {
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
}
.m-hint a {
  color: var(--blue);
  font-weight: 600;
}
@media (max-width: 640px) {
  .modal {
    padding: 0;
  }
  .modal-panel {
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .modal-foot .btn {
    flex: 1 1 100%;
  }
  .m-pdf {
    height: 58vh;
  }
  .modal-head h2 {
    font-size: 1.15rem;
  }
}

/* question modal details */
.m-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem 1.2rem;
  margin: 0 0 1.2rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 10px;
}
.m-grid dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.m-grid dd {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

/* classes: real YouTube thumbnails + player */
button.vthumb {
  display: grid;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 16/9;
  font: inherit;
  background: #0e1a33;
}
.card .btnrow.one {
  grid-template-columns: 1fr;
}
.m-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.m-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.seg {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

/* programs: placeholders when a program has no image */
.thumb-ph,
.f-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.featured .f-ph {
  min-height: 280px;
}

/* history page */
.history-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 75% 45%, rgba(31, 181, 216, 0.18), transparent 38%), linear-gradient(120deg, #14245e, #24458e);
}
.history-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  min-height: 390px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.history-hero-copy {
  position: relative;
  z-index: 1;
}
.history-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: #d6e7fb;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.history-eyebrow span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}
.history-hero h1 {
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}
.history-lead {
  max-width: 34rem;
  margin: 0;
  color: #d9e4fa;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.history-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.7rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.history-hero-link span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}
.math-visual {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.015) 67%);
}
.math-visual::before,
.math-visual::after {
  position: absolute;
  content: "";
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.math-visual::after {
  inset: 28%;
  border-style: dashed;
  border-color: rgba(220, 201, 111, 0.5);
}
.math-orbit {
  position: absolute;
  inset: 20% 8%;
  border: 1px solid rgba(31, 181, 216, 0.48);
  border-radius: 50%;
  transform: rotate(-35deg);
}
.math-orbit-two {
  inset: 8% 20%;
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg);
}
.math-symbol,
.math-equation,
.math-coordinate {
  position: absolute;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.math-sigma {
  top: 16%;
  left: 22%;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.math-integral {
  top: 29%;
  right: 17%;
  color: #64d4eb;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}
.math-pi {
  bottom: 15%;
  left: 24%;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}
.math-equation {
  top: 47%;
  left: 20%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(17, 32, 82, 0.7);
  font-family: Georgia, serif;
  font-size: clamp(0.82rem, 2vw, 1.08rem);
}
.math-coordinate {
  right: 17%;
  bottom: 20%;
  color: #cad8f5;
  font-family: Georgia, serif;
  font-size: 0.85rem;
}
.math-dot {
  position: absolute;
  top: 27%;
  left: 69%;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(220, 201, 111, 0.14);
}
.history-intro {
  background: var(--bg);
}
.history-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}
.history-section-heading h2 {
  max-width: 22rem;
}
.history-prose {
  max-width: 45rem;
}
.history-prose > p {
  color: #515e79;
}
.history-note {
  margin: 1.3rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: #eaf6fb;
  color: #43516e !important;
  font-size: 0.84rem;
}
.history-note strong {
  color: var(--navy);
}
.history-journey {
  overflow: hidden;
}
.history-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.history-timeline::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.35rem;
  width: 1px;
  background: linear-gradient(var(--cyan), #dce4f1 80%, transparent);
  content: "";
}
.history-milestone {
  position: relative;
  display: flex;
  gap: 1rem;
  min-height: 158px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.history-step {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px #b9c7e5;
}
.history-phase {
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.history-milestone h3 {
  margin: 0.35rem 0 0.45rem;
  color: var(--navy);
}
.history-milestone p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.history-contribution {
  background: #f0f5fb;
}
.history-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.history-support-card {
  min-height: 185px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.history-card-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.95rem;
  place-items: center;
  border-radius: 9px;
  background: #e8f6fb;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.history-support-card h3 {
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.history-support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
}
.history-community-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}
.history-community-grid > div:last-child {
  max-width: 38rem;
}
.history-community-art {
  display: grid;
  min-height: 250px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(140deg, #192d70, #2d58a2);
  box-shadow: 0 18px 38px rgba(23, 43, 110, 0.16);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2.5rem;
}
.history-community-art span:nth-child(2),
.history-community-art span:nth-child(5) {
  color: var(--gold);
}
.history-community-art span:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 2;
}
.history-community-art span:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}
.history-vision {
  color: #fff;
  background: linear-gradient(115deg, #172b6e, #24458e);
}
.history-vision-inner {
  max-width: 850px;
  text-align: center;
}
.history-vision .kick {
  color: #76d8ea;
}
.history-vision h2 {
  color: #fff;
}
.history-vision-inner > p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: #d5e0fa;
  font-size: 1rem;
}
.history-impact {
  background: var(--bg);
}
.history-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.history-impact-card {
  display: grid;
  min-height: 190px;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.history-impact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.history-impact-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.35rem;
  place-items: center;
  border-radius: 10px;
  background: #e8f6fb;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.history-impact-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}
.history-impact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
@media (max-width: 960px) {
  .history-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.history-closing {
  padding: 3.5rem 0;
  background: #13245f;
  color: #fff;
  text-align: center;
}
.history-closing .wrap {
  display: grid;
  justify-items: center;
}
.history-closing-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.9rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
}
.history-closing p {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.45;
}
.history-closing .btn {
  color: var(--navy);
}
@media (max-width: 960px) {
  .history-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .history-hero-inner,
  .history-intro-grid,
  .history-community-grid {
    grid-template-columns: 1fr;
  }
  .history-hero-inner {
    gap: 1rem;
    padding-top: 2.8rem;
    padding-bottom: 2.3rem;
  }
  .math-visual {
    width: min(78vw, 300px);
  }
  .history-intro-grid {
    gap: 1rem;
  }
  .history-timeline,
  .history-impact-grid {
    grid-template-columns: 1fr;
  }
  .history-timeline::before {
    left: 1.35rem;
  }
  .history-support-grid {
    grid-template-columns: 1fr;
  }
  .history-support-card {
    min-height: 0;
  }
  .history-impact-card {
    min-height: 0;
  }
  .history-community-art {
    min-height: 190px;
  }
}

/* mission page */
.mission-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 78% 42%, rgba(31, 181, 216, 0.2), transparent 38%), linear-gradient(120deg, #14245e, #24458e);
}
.mission-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  min-height: 390px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.mission-hero-copy {
  position: relative;
  z-index: 1;
}
.mission-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: #d6e7fb;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.mission-eyebrow span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}
.mission-hero h1 {
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}
.mission-lead {
  max-width: 34rem;
  margin: 0;
  color: #d9e4fa;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.mission-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.7rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.mission-hero-link span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}
.mission-visual {
  position: relative;
  display: grid;
  width: min(100%, 370px);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.015) 68%);
}
.mission-visual-ring {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.mission-ring-two {
  inset: 26%;
  border-style: dashed;
  border-color: rgba(220, 201, 111, 0.5);
}
.mission-symbol {
  position: absolute;
  color: #fff;
  font-family: Georgia, serif;
}
.mission-sigma {
  top: 14%;
  left: 22%;
  color: var(--gold);
  font-size: 3rem;
}
.mission-pi {
  right: 16%;
  bottom: 19%;
  color: #72d8e8;
  font-size: 3rem;
}
.mission-integral {
  bottom: 17%;
  left: 20%;
  font-size: 3.2rem;
}
.mission-visual-equation {
  position: relative;
  z-index: 1;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(17, 32, 82, 0.78);
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}
.mission-visual-equation span {
  padding: 0 0.25rem;
  color: var(--gold);
}
.mission-student-dot {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(31, 181, 216, 0.14);
}
.mission-dot-one {
  top: 29%;
  right: 22%;
}
.mission-dot-two {
  bottom: 33%;
  left: 17%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(220, 201, 111, 0.14);
}
.mission-dot-three {
  right: 25%;
  bottom: 26%;
}
.mission-purpose {
  background: var(--bg);
}
.mission-purpose-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}
.mission-purpose-grid h2,
.mission-resource-copy h2,
.mission-collaboration-grid h2,
.mission-leadership-grid h2 {
  max-width: 25rem;
}
.mission-purpose-copy {
  max-width: 44rem;
}
.mission-purpose-copy p {
  color: #515e79;
}
.mission-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.mission-card {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.mission-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.mission-card-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 10px;
  background: #e8f6fb;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.mission-card h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.mission-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.mission-resources {
  background: #f0f5fb;
}
.mission-resource-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}
.mission-resource-copy > p:last-child {
  max-width: 29rem;
}
.mission-resource-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mission-resource-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.mission-resource-list li > span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: #e5f5f8;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}
.mission-resource-list strong,
.mission-resource-list small {
  display: block;
}
.mission-resource-list strong {
  color: var(--navy);
  font-size: 0.9rem;
}
.mission-resource-list small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.79rem;
}
.mission-collaboration-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}
.mission-collaboration-grid > div:last-child {
  max-width: 38rem;
}
.mission-collaboration-art {
  position: relative;
  display: grid;
  min-height: 270px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(140deg, #192d70, #2d58a2);
  box-shadow: 0 18px 38px rgba(23, 43, 110, 0.16);
}
.mission-collab-line {
  position: absolute;
  width: 62%;
  height: 62%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.mission-collab-line::before,
.mission-collab-line::after {
  position: absolute;
  content: "";
  inset: 14%;
  border: 1px dashed rgba(220, 201, 111, 0.5);
  border-radius: 50%;
}
.mission-collab-line::after {
  inset: 30%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.25);
}
.mission-collab-node,
.mission-collab-center {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, serif;
}
.mission-collab-node {
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(7, 18, 55, 0.2);
}
.mission-node-one {
  top: 16%;
  left: 30%;
}
.mission-node-two {
  top: 27%;
  right: 18%;
  color: var(--blue);
}
.mission-node-three {
  bottom: 16%;
  left: 26%;
  background: var(--gold);
}
.mission-node-four {
  right: 28%;
  bottom: 15%;
  background: #9ce2ec;
}
.mission-collab-center {
  width: 5rem;
  height: 5rem;
  background: rgba(17, 32, 82, 0.88);
  color: #fff;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.mission-activities {
  background: var(--bg);
}
.mission-activities-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}
.mission-activities-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.mission-activities-intro > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  border-radius: 12px;
  background: #e8f6fb;
  color: var(--blue);
  font-size: 1.7rem;
}
.mission-activities-intro p {
  margin: 0;
  color: #515e79;
  font-size: 0.9rem;
}
.mission-skills {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mission-skills li {
  padding: 0.55rem 0.85rem;
  border: 1px solid #dce5f3;
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}
.mission-leadership-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}
.mission-leadership-mark {
  position: relative;
  display: grid;
  min-height: 240px;
  align-content: center;
  gap: 0.65rem;
  overflow: hidden;
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(140deg, #192d70, #2d58a2);
  color: #fff;
}
.mission-leadership-mark span {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
}
.mission-leadership-mark span:nth-child(2) {
  margin-left: 2rem;
  border-color: rgba(220, 201, 111, 0.55);
}
.mission-leadership-mark span:nth-child(3) {
  margin-left: 4rem;
}
.mission-leadership-mark b {
  position: absolute;
  right: 1.5rem;
  bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.13);
  font-size: 8rem;
  line-height: 1;
}
.mission-commitment {
  padding: 4rem 0;
  background: #f0f5fb;
}
.mission-commitment-inner {
  max-width: 820px;
  text-align: center;
}
.mission-commitment-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto 1rem;
  place-items: center;
  border: 1px solid #cad6ed;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 1.35rem;
}
.mission-commitment-inner h2 {
  color: var(--navy);
}
.mission-commitment-inner > p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
}
.mission-cta {
  padding: 4rem 0;
  background: linear-gradient(115deg, #172b6e, #24458e);
  color: #fff;
  text-align: center;
}
.mission-cta-inner {
  display: grid;
  justify-items: center;
}
.mission-cta-kicker {
  margin: 0 0 0.55rem;
  color: #86deec;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mission-cta h2 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.mission-cta-inner > p:not(.mission-cta-kicker) {
  max-width: 610px;
  margin-bottom: 1.4rem;
  color: #d5e0fa;
}
.mission-cta .btn {
  color: var(--navy);
}
@media (max-width: 960px) {
  .mission-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mission-hero-inner,
  .mission-purpose-grid,
  .mission-resource-grid,
  .mission-collaboration-grid,
  .mission-activities-layout,
  .mission-leadership-grid {
    grid-template-columns: 1fr;
  }
  .mission-hero-inner {
    gap: 1rem;
    padding-top: 2.8rem;
    padding-bottom: 2.3rem;
  }
  .mission-visual {
    width: min(78vw, 300px);
  }
  .mission-purpose-grid,
  .mission-resource-grid,
  .mission-collaboration-grid,
  .mission-leadership-grid {
    gap: 1.5rem;
  }
  .mission-card-grid {
    grid-template-columns: 1fr;
  }
  .mission-card {
    min-height: 0;
  }
  .mission-collaboration-art {
    min-height: 220px;
  }
  .mission-activities-layout {
    gap: 1rem;
  }
  .mission-commitment,
  .mission-cta {
    padding: 3rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mission-card,
  .mission-card:hover {
    transform: none;
    transition: none;
  }
  .mini article,
  .mini .community-link span {
    transition: none;
  }
}

/* Privacy policy and terms pages */
.legal-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 83% 12%, rgba(31, 181, 216, 0.24), transparent 36%),
    linear-gradient(120deg, #14245e, #24458e);
}
.legal-hero-inner {
  padding-top: clamp(3rem, 7vw, 5.2rem);
  padding-bottom: clamp(3rem, 7vw, 5.2rem);
}
.legal-eyebrow {
  margin: 0 0 0.7rem;
  color: #91e0ee;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin-bottom: 0.65rem;
  color: #fff;
}
.legal-hero-inner > p:not(.legal-eyebrow) {
  max-width: 42rem;
  margin-bottom: 1.3rem;
  color: #d9e4fa;
  font-size: clamp(1rem, 2vw, 1.12rem);
}
.legal-updated {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 25, 67, 0.3);
  font-size: 0.76rem;
}
.legal-content {
  background: var(--bg);
}
.legal-document {
  max-width: 900px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.legal-intro {
  margin: 0 0 1.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid #dce8f6;
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-size: 1rem;
}
.legal-section {
  margin-top: 1rem;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.legal-section h2,
.legal-contact h2 {
  margin-bottom: 0.7rem;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}
.legal-section p,
.legal-contact p {
  color: #4f5c79;
}
.legal-section p:last-child,
.legal-contact p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #4f5c79;
}
.legal-section li::marker {
  color: var(--cyan);
}
.legal-contact {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 1.6rem;
  border: 1px solid rgba(31, 181, 216, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, #edf9fc, #fff);
}
.legal-contact h2,
.legal-contact p {
  margin-bottom: 0.3rem;
}
.legal-contact > a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.legal-contact > a:hover {
  color: #147e9d;
}
@media (max-width: 640px) {
  .legal-document {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .legal-section,
  .legal-contact {
    padding: 1.15rem;
  }
}
